/* Base theme tokens & shared chrome (moved from layout inline styles) */
:root {
    --theme-color: #111111;
    --theme-color2: #D9A441;
    --color-dark: #111111;
    --color-white: #FFFFFF;
    --body-color: #333333;
    --border-info-color: #d6d6d6;
    --ll-primary: #111111;
    --ll-gold: #D9A441;
    --ll-surface: #FFFFFF;
    --ll-muted: #777777;
    --ll-border: #d6d6d6;
}

body {
    background: #FFFFFF;
    color: #111111;
}

a {
    color: inherit;
}

.theme-btn,
.theme-btn:hover,
.shop-btn,
.shop-btn:hover {
    background: #111111;
    border-color: #111111;
    color: #FFFFFF !important;
}

.theme-btn::before,
.theme-btn::after {
    background: #333333;
}

.ll-status {
    border-left: 4px solid #111111;
    margin: 24px auto 0;
    max-width: 1180px;
    padding: 14px 18px;
}

.ll-status--success {
    background: #eef7f1;
    border-color: #4C8C63;
}

.ll-status--error {
    background: #fff0f0;
    border-color: #c54b4b;
}

.ll-focus:focus,
.ll-focus-visible:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Shared storefront component styles: product cards & quickview modal */
.product-item {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
        transition: transform .2s ease;
    }

    .product-item:hover {
        transform: none;
        border-color: transparent;
        box-shadow: none;
    }

    .product-slider2 .product-item,
    .item-2 .product-item,
    .shop-item-wrap .product-item {
        height: 100%;
        min-height: 0;
    }

    .product-img {
        position: relative;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: var(--ll-card-image-ratio, 1 / 1);
        padding: 0 !important;
        background: #FFFFFF !important;
        border: 0;
        border-radius: 0;
        overflow: hidden;
        display: flex;
        align-items: stretch;
        justify-content: center;
    }

    .product-img > a {
        display: block;
        width: 100%;
        height: 100%;
        background: #FFFFFF;
    }

    .product-img img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform .45s ease;
    }

    .product-img.product-img-empty {
        border: 1px solid #E6E0D6;
        background: #FFFFFF !important;
        align-items: center;
    }

    .product-img.product-img-empty > a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 30px;
    }

    .product-img.product-img-empty img {
        width: min(78%, 230px);
        height: auto;
        max-height: 180px;
        object-fit: contain;
    }

    /* 1px border over the media area on hover (Focal border-on-hover). */
    .ll-standard-product-card:hover .product-img,
    .ll-standard-product-card:focus-within .product-img {
        box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .82);
    }

    .ll-standard-product-card:hover .product-img img,
    .ll-standard-product-card:focus-within .product-img img {
        transform: scale(1.025);
    }

    /* Quick View overlay pinned to the bottom of the image, shown on hover. */
    .ll-card-hover-action {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 10;
        padding: 12px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(4px);
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .ll-standard-product-card:hover .ll-card-hover-action,
    .ll-standard-product-card:focus-within .ll-card-hover-action {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .ll-card-quickview {
        display: block;
        width: 100%;
        height: 44px;
        padding: 4px 14px;
        border: 1px solid #000000;
        border-radius: 0;
        background: rgba(244, 244, 244, .88);
        color: #000000;
        font-family: var(--ll-font-sans, "Museo Sans", Arial, sans-serif);
        font-size: 15px;
        font-weight: 300;
        letter-spacing: normal;
        line-height: 1;
        cursor: pointer;
        transition: background-color .15s ease, color .15s ease;
    }

    .ll-card-quickview:hover {
        background: #FFFFFF;
    }

    .ll-card-quickview:focus-visible {
        outline: 1px solid #111111;
        outline-offset: 2px;
    }

    @media (hover: none) {
        .ll-card-hover-action {
            opacity: 1;
            visibility: visible;
        }
    }

    .product-img.product-img-empty .ll-card-hover-action {
        display: none;
    }

    .product-content {
        display: block;
        flex: 0 0 auto;
        align-items: start;
        min-height: 0;
        margin-top: 0;
        padding: 22px 8px 0;
        background: transparent;
    }

    .product-info {
        display: flex;
        flex: 0 0 auto;
        min-height: 0;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        min-width: 0;
        text-align: center;
    }

    .product-title {
        min-height: 0;
        margin: 0 0 5px;
        font-size: 18px !important;
        line-height: 1.35 !important;
    }

    .product-title a {
        display: block;
        overflow: visible;
        color: #000000;
        font-size: 18px !important;
        font-weight: 300;
        letter-spacing: normal;
        line-height: 1.35 !important;
        text-overflow: clip;
    }

    .product-title a:hover {
        color: #000000;
        text-decoration: underline;
        text-underline-offset: 4px;
        text-decoration-thickness: 1px;
    }

    .product-rate {
        display: none;
    }

    .product-price {
        margin: 0;
        line-height: 1.35;
    }

    .product-price span {
        color: #000000;
        font-size: 18px;
        font-weight: 300;
        letter-spacing: normal;
    }

    /* Legacy quick-view button below the price is gone; keep old class inert. */
    .product-cart-btn {
        display: none !important;
    }

    /* Sold-out chip, 8px inside the top-left corner of the image. */
    .product-item.ll-standard-product-card .ll-product-badges {
        position: absolute;
        top: 8px;
        left: 8px;
        z-index: 5;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        max-width: calc(100% - 16px);
    }

    .product-item.ll-standard-product-card .product-img .type,
    .product-img .type {
        position: absolute !important;
        top: 8px !important;
        left: 8px !important;
        right: auto !important;
        bottom: auto !important;
        z-index: 5;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        height: auto;
        padding: 4px 10px;
        border-radius: 0;
        background: #111111 !important;
        color: #FFFFFF;
        font-size: 14px;
        font-weight: 300;
        letter-spacing: normal;
        line-height: 1.5;
        text-transform: none;
    }

    .product-item.ll-standard-product-card .ll-product-badges .type {
        position: relative !important;
        top: auto !important;
        left: auto !important;
    }

    .product-item.ll-standard-product-card .product-img .ll-product-tag {
        max-width: 100%;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, .42);
        background: var(--ll-product-tag-color, #741044) !important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .product-item.ll-standard-product-card .product-action-wrap,
    .product-item.ll-standard-product-card:hover .product-action-wrap {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .product-item:not(.ll-standard-product-card) .product-action-wrap {
        position: absolute;
        right: 12px;
        bottom: 12px;
        left: 12px;
        z-index: 10;
        display: block !important;
        width: auto;
        height: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(4px);
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .product-item:not(.ll-standard-product-card):hover .product-action-wrap,
    .product-item:not(.ll-standard-product-card):focus-within .product-action-wrap {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .product-item:not(.ll-standard-product-card) .product-action {
        display: block;
        width: 100%;
        height: auto;
    }

    .product-item:not(.ll-standard-product-card) .product-action a {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        height: 44px !important;
        border: 1px solid #111111;
        border-radius: 0 !important;
        background: rgba(244, 244, 244, .88) !important;
        color: #000000 !important;
        font-size: 0 !important;
        font-weight: 300;
        line-height: 1;
        box-shadow: none !important;
    }

    .product-item:not(.ll-standard-product-card) .product-action a::after {
        content: "Quick View";
        color: #000000;
        font-family: var(--ll-font-sans, "Museo Sans", Arial, sans-serif);
        font-size: 15px;
        font-weight: 300;
        line-height: 1;
    }

    .product-item:not(.ll-standard-product-card) .product-action a i {
        display: none !important;
    }

    .product-item:not(.ll-standard-product-card) .product-action a:hover {
        background: #ffffff !important;
    }

    @media (max-width: 767px) {
        .product-content {
            min-height: 84px;
            padding: 12px 2px 4px;
        }

        .product-title,
        .product-title a {
            font-size: 15px !important;
            line-height: 1.3 !important;
        }

        .product-price span {
            font-size: 15px;
        }

        .ll-card-hover-action {
            padding: 7px;
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .ll-card-quickview {
            height: 36px;
            padding-inline: 8px;
            font-size: 13px;
        }
    }

/* Quickview modal */
.ll-product-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ll-product-tag-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border: 1px solid color-mix(in srgb, var(--ll-product-tag-color, #741044) 42%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--ll-product-tag-color, #741044) 9%, #ffffff);
    color: var(--ll-product-tag-color, #741044);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.ll-quickview-tags {
    margin-top: 10px;
}

.ll-quickview-tags[hidden] {
    display: none;
}

.ll-product-detail-tags {
    margin: -4px 0 16px;
}

.ll-cart-item__tags {
    margin: 9px 0 6px;
}

.ll-quickview .modal-dialog {
            max-width: 790px;
        }


        .ll-quickview .modal-content {
            border: 0;
            border-radius: 0;
            background: #F1F1F1;
            box-shadow: none;
        }


        .ll-quickview .modal-body {
            position: relative;
            padding: 18px;
        }


        .ll-quickview-shell {
            display: grid;
            grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
            gap: 28px;
        }


        .ll-quickview-image {
            width: 100%;
            aspect-ratio: 1 / 1.28;
            background: #FFFFFF;
            overflow: hidden;
        }


        .ll-quickview-image img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            object-position: center;
        }


        .ll-quickview-content {
            padding: 4px 0 0;
            color: #111111;
        }


        .ll-quickview-close {
            position: absolute;
            top: 20px;
            right: 20px;
            z-index: 2;
            width: 32px;
            height: 32px;
            border: 0;
            color: #111111;
            background: transparent;
            font-size: 30px;
            font-weight: 300;
            line-height: 1;
        }


        .ll-quickview-title {
            max-width: calc(100% - 44px);
            margin: 0 0 10px;
            color: #111111;
            font-family: Georgia, 'Times New Roman', serif;
            font-size: clamp(31px, 3vw, 45px);
            font-weight: 400;
            line-height: 1.04;
            letter-spacing: 0;
        }


        .ll-quickview-brand {
            margin-bottom: 22px;
            color: #4C4C4C;
            font-size: 18px;
            font-weight: 300;
        }


        .ll-quickview-price {
            margin-bottom: 12px;
            color: #111111;
            font-size: 20px;
            font-weight: 400;
        }


        .ll-quickview-price[aria-busy="true"] {
            opacity: .6;
        }


        .ll-quickview-price-note {
            margin: -2px 0 14px;
            color: #741044;
            font-size: 14px;
            font-weight: 500;
            line-height: 1.45;
        }


        .ll-quickview-details {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 24px;
            color: #111111;
            border-bottom: 1px solid #111111;
            font-size: 17px;
            font-weight: 300;
            line-height: 1.25;
        }


        .ll-quickview-divider {
            margin: 0 0 26px;
            border: 0;
            border-top: 1px solid #CFCFCF;
        }


        .ll-quickview-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 8px 18px;
            margin: 0 0 22px;
            padding: 0;
            color: #555555;
            list-style: none;
            font-size: 13px;
            letter-spacing: .6px;
            text-transform: uppercase;
        }


        .ll-quickview-meta strong {
            color: #111111;
            font-weight: 400;
        }


        .ll-quickview-quantity-label {
            margin-bottom: 10px;
            color: #111111;
            font-size: 17px;
            font-weight: 300;
        }


        .ll-quickview-quantity {
            display: inline-grid;
            grid-template-columns: 46px 44px 46px;
            height: 44px;
            margin-bottom: 28px;
            border: 1px solid #CFCFCF;
        }


        .ll-quickview-quantity button,
        .ll-quickview-quantity input {
            width: 100%;
            border: 0;
            color: #111111;
            background: transparent;
            text-align: center;
            font-size: 20px;
            font-weight: 300;
        }


        .ll-quickview-quantity input {
            font-size: 17px;
        }


        .ll-quickview-copy {
            margin-bottom: 24px;
            color: #111111;
            font-size: 18px;
            font-weight: 300;
            line-height: 1.55;
        }


        .ll-quickview-copy.is-empty {
            display: none;
        }


        .ll-quickview-copy strong {
            font-weight: 500;
        }


        .ll-quickview-add {
            width: 100%;
            min-height: 54px;
            border: 1px solid #111111;
            color: #FFFFFF;
            background: #000000;
            font-size: 18px;
            font-weight: 300;
            transition: all .2s ease;
        }


        .ll-quickview-add:hover:not(:disabled) {
            color: #111111;
            background: #FFFFFF;
        }


        .ll-quickview-add:disabled {
            cursor: not-allowed;
            opacity: .55;
        }


        @media (max-width: 767px) {
            .ll-quickview .modal-dialog {
                max-width: calc(100% - 24px);
                margin: 12px auto;
            }


            .ll-quickview .modal-body {
                padding: 14px;
            }


            .ll-quickview-shell {
                grid-template-columns: 1fr;
                gap: 22px;
            }


            .ll-quickview-image {
                aspect-ratio: 1 / .86;
            }


            .ll-quickview-title {
                font-size: 32px;
            }
}

/* Promotional pricing: struck-through regular price, sale chip, savings note. */
.product-price.is-discounted,
.product-list-price.is-discounted,
.ll-quickview-price.is-discounted {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.product-price del,
.product-list-price del,
.ll-quickview-price del,
.ll-price del {
    color: rgba(17, 17, 17, .66);
    font-size: 15px;
    font-weight: 300;
    text-decoration: line-through;
}

.ll-product-sale-inline {
    color: #9c1a1a;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ll-product-sale-inline[hidden] {
    display: none;
}

.product-item.ll-standard-product-card .product-img .ll-product-sale {
    border: 1px solid rgba(255, 255, 255, .42);
    background: #9c1a1a !important;
}

/* Progressive loading states shared by homepage, catalogue, search, and recommendations. */
@keyframes ll-skeleton-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.ll-skeleton,
.product-img.is-media-loading::before {
    background: linear-gradient(100deg, #f1efec 25%, #faf9f7 42%, #f1efec 59%);
    background-size: 220% 100%;
    animation: ll-skeleton-shimmer 1.35s ease-in-out infinite;
}

.product-img.is-media-loading::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.product-img.is-media-loading img {
    opacity: 0;
}

.product-img.is-media-loaded img {
    opacity: 1;
    transition: opacity .28s ease, transform .45s ease;
}

.product-img .ll-product-badges,
.product-img .product-action {
    z-index: 2;
}

.ll-product-section.ll-has-skeleton {
    position: relative;
    min-height: var(--ll-skeleton-height, 480px);
    overflow: hidden;
}

.ll-product-section.ll-has-skeleton.is-async-loading {
    opacity: 1;
}

.ll-product-section.ll-has-skeleton > :not(.ll-listing-skeleton) {
    visibility: hidden;
}

.ll-listing-skeleton {
    position: absolute;
    inset: 0;
    z-index: 5;
    padding: 0;
    background: #fff;
}

.ll-product-grid-skeleton {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 34px);
}

.ll-product-skeleton-card {
    min-width: 0;
}

.ll-product-skeleton-media {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.ll-product-skeleton-copy {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 18px 8% 0;
}

.ll-product-skeleton-line {
    width: 78%;
    height: 13px;
}

.ll-product-skeleton-line:last-child {
    width: 42%;
}

.ll-search-results[aria-busy="true"] {
    pointer-events: none;
}

.ll-search-skeleton-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 12px 0;
}

.ll-search-skeleton-media {
    width: 72px;
    aspect-ratio: 1;
}

.ll-search-skeleton-copy {
    display: grid;
    gap: 10px;
}

.ll-search-skeleton-copy .ll-skeleton {
    width: 72%;
    height: 12px;
}

.ll-search-skeleton-copy .ll-skeleton:last-child {
    width: 38%;
}

@media (max-width: 991px) {
    .ll-product-grid-skeleton {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ll-product-grid-skeleton {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 10px;
    }

    .ll-product-skeleton-copy {
        padding-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ll-skeleton,
    .product-img.is-media-loading::before {
        animation: none;
        background: #f1efec;
    }
}
