/* Product (retail goods) widget set: product_highlights, product_fit, product_ingredients,
   product_usage, product_facts, product_trust, product_sticky_cta.
   Loaded through the lin-product-widgets handle when one of them renders. */

.lin-pw {
    --pw-primary: var(--primary-color, #093854);
    --pw-accent: var(--secondary-color, #e2222b);
    --pw-text: var(--dark-color, #1a1a1a);
    --pw-muted: rgba(9, 56, 84, 0.72);
    --pw-bg: #fbfaf3;
    --pw-bg-alt: #f0f2f5;
    --pw-highlight: var(--highlight-color, #ffeab8);
    --pw-line: rgba(9, 56, 84, 0.12);
    --pw-radius: 16px;
    --pw-shadow: 0 6px 24px rgba(9, 56, 84, 0.08);
    font-family: var(--global-font, "Manrope", sans-serif);
    color: var(--pw-text);
    width: 100%;
}

.lin-pw *,
.lin-pw *::before,
.lin-pw *::after {
    box-sizing: border-box;
}

/* :where() keeps these resets at zero specificity so every class rule below wins. */
:where(.lin-pw) p,
:where(.lin-pw) dl,
:where(.lin-pw) dt,
:where(.lin-pw) dd,
:where(.lin-pw) h2,
:where(.lin-pw) h3 {
    margin: 0;
}

:where(.lin-pw) p + p {
    margin-top: 0.75em;
}

:where(.lin-pw) ul,
:where(.lin-pw) ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Section header shared by every widget */
.lin-pw__head {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
}

.lin-pw__head--left {
    margin-left: 0;
    text-align: left;
}

.lin-pw__eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pw-accent);
}

.lin-pw__title {
    margin: 0;
    font-family: var(--primary-font, "Libre Caslon Text", serif);
    font-weight: 400;
    font-size: 34px;
    line-height: 1.2;
    color: var(--pw-primary);
}

.lin-pw__intro {
    margin: 14px auto 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--pw-muted);
}

.lin-pw__head--left .lin-pw__intro {
    margin-left: 0;
}

/* Pills / badges */
.lin-pw__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 28px;
}

.lin-pw__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--pw-highlight);
    color: var(--pw-primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

/* Card grid shared by highlights, ingredients, trust */
.lin-pw__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.lin-pw__grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.lin-pw__card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border: 1px solid var(--pw-line);
    border-radius: var(--pw-radius);
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
    .lin-pw__card:hover {
        transform: translateY(-3px);
        box-shadow: var(--pw-shadow);
    }
}

.lin-pw__card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--pw-bg);
    color: var(--pw-primary);
}

.lin-pw__card-icon .lin-pw-icon {
    width: 26px;
    height: 26px;
}

.lin-pw__card-title {
    margin: 0;
    font-family: var(--global-font, "Manrope", sans-serif) !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--pw-primary);
}

.lin-pw__card-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--pw-muted);
}

.lin-pw__tag + .lin-pw__card-title {
    margin-top: 8px;
}

.lin-pw__tag {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--pw-bg-alt);
    color: var(--pw-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Check / caution lists */
.lin-pw__list li {
    position: relative;
    padding: 10px 0 10px 34px;
    font-size: 15px;
    line-height: 1.55;
    border-bottom: 1px solid var(--pw-line);
}

.lin-pw__list li:last-child {
    border-bottom: 0;
}

.lin-pw__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--pw-primary) center / 12px no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
}

.lin-pw__list--caution li::before {
    background-color: var(--pw-highlight);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23093854' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v7M12 17h.01'/%3E%3C/svg%3E");
}

/* ---- product_fit ---- */
.lin-pw-fit__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.lin-pw-fit__col {
    padding: 24px 28px;
    border-radius: var(--pw-radius);
    background: #fff;
    border: 1px solid var(--pw-line);
}

.lin-pw-fit__col--caution {
    background: var(--pw-bg);
}

.lin-pw-fit__col-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    font-family: var(--global-font, "Manrope", sans-serif) !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pw-primary);
}

.lin-pw-fit__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 28px;
}

.lin-pw-fit__chip {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--pw-primary);
    color: var(--pw-primary);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.lin-pw__note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    margin-top: 20px;
    padding: 18px 24px;
    border-radius: var(--pw-radius);
    background: var(--pw-bg-alt);
    font-size: 15px;
    line-height: 1.55;
    color: var(--pw-primary);
}

.lin-pw__note-text {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1 1 320px;
}

.lin-pw__note-text .lin-pw-icon {
    flex: 0 0 auto;
    margin-top: 2px;
}

/* Buttons. Selectors carry the element name so they outrank hello-elementor's reset,
   which styles every `button` and `[type="button"]` and loads after this file. */
.lin-pw a.lin-pw__btn,
.lin-pw button.lin-pw__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    margin: 0;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid var(--pw-primary);
    background: var(--pw-primary);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lin-pw a.lin-pw__btn:hover,
.lin-pw button.lin-pw__btn:hover,
.lin-pw a.lin-pw__btn:focus-visible,
.lin-pw button.lin-pw__btn:focus-visible {
    background: #0c4a6e;
    border-color: #0c4a6e;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.lin-pw a.lin-pw__btn--ghost,
.lin-pw button.lin-pw__btn--ghost {
    background: transparent;
    color: var(--pw-primary);
}

.lin-pw a.lin-pw__btn--ghost:hover,
.lin-pw button.lin-pw__btn--ghost:hover {
    background: var(--pw-primary);
    border-color: var(--pw-primary);
    color: #fff;
}

.lin-pw a.lin-pw__btn--accent,
.lin-pw button.lin-pw__btn--accent {
    border-color: var(--pw-accent);
    background: var(--pw-accent);
}

.lin-pw a.lin-pw__btn--accent:hover,
.lin-pw button.lin-pw__btn--accent:hover {
    background: #c21c24;
    border-color: #c21c24;
}

/* ---- product_ingredients ---- */
.lin-pw-ingredients__full {
    margin-top: 20px;
    border-radius: var(--pw-radius);
    background: var(--pw-bg);
    padding: 0 24px;
}

.lin-pw-ingredients__full > summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: var(--pw-primary);
}

.lin-pw-ingredients__full > summary::-webkit-details-marker {
    display: none;
}

.lin-pw-ingredients__full > summary::after {
    content: "";
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.lin-pw-ingredients__full[open] > summary::after {
    transform: rotate(-135deg);
}

.lin-pw-ingredients__full > summary .lin-pw__summary-open,
.lin-pw-ingredients__full[open] > summary .lin-pw__summary-closed {
    display: none;
}

.lin-pw-ingredients__full[open] > summary .lin-pw__summary-open {
    display: inline;
}

.lin-pw-ingredients__full-text {
    padding: 0 0 20px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--pw-muted);
    word-break: break-word;
}

/* ---- product_usage ---- */
.lin-pw-usage__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.lin-pw-usage__steps {
    counter-reset: lin-pw-step;
}

.lin-pw-usage__step {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding: 0 0 24px;
}

.lin-pw-usage__step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 44px;
    bottom: 0;
    border-left: 2px dashed var(--pw-line);
}

.lin-pw-usage__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--pw-primary);
    color: #fff;
    font-family: var(--primary-font, "Libre Caslon Text", serif);
    font-size: 18px;
}

.lin-pw-usage__step-title {
    margin: 10px 0 6px;
    font-family: var(--global-font, "Manrope", sans-serif) !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--pw-primary);
}

.lin-pw-usage__step-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--pw-muted);
}

.lin-pw-usage__aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lin-pw-usage__tips {
    padding: 24px;
    border-radius: var(--pw-radius);
    background: var(--pw-bg);
}

.lin-pw-usage__tips-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px;
    font-family: var(--global-font, "Manrope", sans-serif) !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pw-primary);
}

.lin-pw-usage__warning {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--pw-radius);
    border: 1px solid rgba(226, 34, 43, 0.25);
    background: #fff5f5;
    font-size: 14px;
    line-height: 1.55;
    color: #8c1a20;
}

.lin-pw-usage__warning .lin-pw-icon {
    flex: 0 0 auto;
    color: var(--pw-accent);
}

/* ---- product_facts ---- */
.lin-pw-facts-wrap .lin-pw__facts-title {
    display: block;
    margin: 0 0 20px;
    text-align: center;
    font-family: var(--primary-font, "Libre Caslon Text", serif);
    font-weight: 400;
    font-size: 34px;
    line-height: 1.2;
    color: var(--pw-primary);
}

.lin-pw-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--pw-line);
    border-radius: var(--pw-radius);
    background: var(--pw-line);
    overflow: hidden;
}

.lin-pw-facts__item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    min-height: 84px;
    margin: 0;
    padding: 16px 20px;
    background: #fff;
}

.lin-pw-facts__label {
    display: block;
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pw-muted);
}

.lin-pw-facts__value {
    display: block;
    margin: 0;
    font-family: var(--global-font, "Manrope", sans-serif);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--pw-primary);
}

/* ---- product_trust ---- */
.lin-pw-trust {
    padding: 32px;
    border-radius: 24px;
    background: var(--pw-primary);
    color: #fff;
}

.lin-pw-trust .lin-pw__title,
.lin-pw-trust .lin-pw__intro {
    color: #fff;
}

.lin-pw-trust .lin-pw__intro {
    color: rgba(255, 255, 255, 0.78);
}

.lin-pw-trust__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.lin-pw-trust__item {
    display: flex;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.lin-pw-trust__item .lin-pw-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    color: var(--pw-highlight);
}

.lin-pw-trust__item-title {
    margin: 0 0 4px;
    font-family: var(--global-font, "Manrope", sans-serif) !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.lin-pw-trust__item-text {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

.lin-pw-trust__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 20px;
    margin-top: 24px;
    text-align: center;
}

.lin-pw-trust__cta-text {
    flex: 1 1 100%;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
}

.lin-pw-trust a.lin-pw__btn,
.lin-pw-trust button.lin-pw__btn {
    border-color: #fff;
    background: #fff;
    color: var(--pw-primary);
}

.lin-pw-trust a.lin-pw__btn:hover,
.lin-pw-trust button.lin-pw__btn:hover {
    background: var(--pw-highlight);
    border-color: var(--pw-highlight);
    color: var(--pw-primary);
}

.lin-pw-trust a.lin-pw__btn--ghost,
.lin-pw-trust button.lin-pw__btn--ghost {
    background: transparent;
    color: #fff;
}

.lin-pw-trust a.lin-pw__btn--ghost:hover,
.lin-pw-trust button.lin-pw__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

/* ---- product_sticky_cta ---- */
.lin-pw-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    display: none;
    align-items: center;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid var(--pw-line);
    box-shadow: 0 -8px 24px rgba(9, 56, 84, 0.12);
    transform: translateY(110%);
    transition: transform 0.25s ease;
}

.lin-pw-sticky.is-ready {
    display: flex;
}

.lin-pw-sticky.is-visible {
    transform: translateY(0);
}

.lin-pw-sticky__info {
    flex: 1 1 auto;
    min-width: 0;
}

.lin-pw-sticky__name {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 600;
    color: var(--pw-muted);
}

.lin-pw-sticky__price {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: var(--pw-primary);
}

.lin-pw-sticky__price del {
    margin-right: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--pw-muted);
}

.lin-pw-sticky__price ins {
    text-decoration: none;
}

.lin-pw-sticky button.lin-pw__btn {
    flex: 0 0 auto;
    min-height: 46px;
    padding-inline: 20px;
}

body.lin-pw-sticky-visible {
    padding-bottom: 76px;
}

@media (min-width: 992px) {
    .lin-pw-sticky--mobile-only {
        display: none !important;
    }

    body.lin-pw-sticky-visible {
        padding-bottom: 0;
    }
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .lin-pw__title,
    .lin-pw__facts-title {
        font-size: 28px;
    }

    .lin-pw-usage__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .lin-pw__head {
        margin-bottom: 24px;
    }

    .lin-pw__title,
    .lin-pw__facts-title {
        font-size: 24px;
    }

    .lin-pw__intro {
        font-size: 15px;
    }

    .lin-pw__badges {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: -16px;
        margin-right: -16px;
        padding: 0 16px 4px;
    }

    .lin-pw__badges::-webkit-scrollbar {
        display: none;
    }

    .lin-pw__grid,
    .lin-pw__grid--2 {
        grid-template-columns: 1fr;
    }

    .lin-pw__card {
        padding: 18px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .lin-pw__card-icon {
        width: 42px;
        height: 42px;
    }

    .lin-pw__card-body {
        flex: 1 1 200px;
    }

    .lin-pw-fit__columns {
        grid-template-columns: 1fr;
    }

    .lin-pw-fit__col {
        padding: 18px 20px;
    }

    .lin-pw__note {
        padding: 16px 18px;
    }

    .lin-pw__note a.lin-pw__btn {
        width: 100%;
    }

    .lin-pw-facts {
        grid-template-columns: repeat(2, 1fr);
    }

    .lin-pw-facts__item {
        min-height: 0;
        padding: 14px 16px;
    }

    .lin-pw-facts__value {
        font-size: 15px;
    }

    .lin-pw-trust {
        padding: 22px 18px;
    }

    .lin-pw-trust__items {
        grid-template-columns: 1fr;
    }

    .lin-pw-trust a.lin-pw__btn,
    .lin-pw-trust button.lin-pw__btn {
        width: 100%;
    }

    .lin-pw-ingredients__full {
        padding: 0 18px;
    }
}
