/* =========================================================
   Scented Serenade – Cleaned Styles
   ========================================================= */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;700&family=Archivo:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@400;500;600&display=swap');

/* -------------------------
   Tokens
   ------------------------- */
:root {
    /* Layout */
    --site-gutter: clamp(12px, 2.6vw, 28px);

    /* Type families */
    --serif: 'Cormorant Garamond', serif;
    /* headings */
    --ui-sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    /* product titles */
    --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    /* body */

    /* Type sizing */
    --prod-title-size: 1.05rem;
    --prod-title-lh: 1.25;

    /* Brand */
    --plum: #6E2A5A;
    --plum-600: #5c244c;
    --plum-100: #f4eaf1;

    /* Buttons */
    --btn-plum: #4a243f;
    --btn-plum-hover: #6a3f7c;
    --btn-plum-pressed: #5a2c6a;
    --btn-plum-disabled: #cbbbd4;

    /* Footer */
    --footer-text: #2b2b30;
    --footer-muted: #6b7280;

    /* Testimonials */
    --t-star: 18px;
}

/* -------------------------
   Base / Typography
   ------------------------- */
html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--body);
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: .005em;
    color: #2c2c2c;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--serif);
    font-weight: 600;
    color: #3c2a4d;
    margin: 0 0 .5em;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p,
li,
a,
span {
    font-size: 1.2rem;
    line-height: 1.8;
}

.page-title {
    font-size: 2.4rem;
    font-weight: 600;
}

/* Product title typography (listings + PDP) */
.products-grid .product-item-link,
.products-list .product-item-link,
.product-item .product-item-name .product-item-link,
.product-item-name a,
.product-info-main .product.name,
.product-info-main .page-title-wrapper .page-title {
    font-family: var(--ui-sans);
    font-weight: 600;
    font-size: var(--prod-title-size);
    line-height: var(--prod-title-lh);
    letter-spacing: 0;
    text-transform: none;
    text-wrap: balance;
    hyphens: auto;
    word-break: break-word;
}

.products-grid .product-item-link,
.products-list .product-item-link {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(var(--prod-title-size)*var(--prod-title-lh)*2);
    color: #3c2a4d;
    text-decoration: none;
}

.products-grid .product-item-link:hover,
.products-list .product-item-link:hover {
    color: #4a243f;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Product card general tidy */
.product-item .product-item-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 12px 12px;
}

.product-item .price-box {
    margin-top: 2px;
}

.product-item .price {
    font-size: 1rem;
    font-weight: 600;
}

.product-item .product-item-name {
    max-width: none;
}

/* Images */
.product-image-photo {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    background: #fff;
    display: block;
}

/* PDP specifics */
.product-info-main .product.name {
    font-size: 1.6rem;
}

.product-info-main .price {
    font-size: 1.4rem;
}

/* Buttons – Add to cart (sitewide) */
.action.tocart,
.action.primary.tocart {
    background-color: var(--btn-plum);
    border-color: var(--btn-plum);
    color: #fff;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    letter-spacing: .04em;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .10);
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.action.tocart:hover,
.action.primary.tocart:hover {
    background-color: var(--btn-plum-hover);
    border-color: var(--btn-plum-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}

.action.tocart:focus,
.action.primary.tocart:focus,
.action.tocart:active,
.action.primary.tocart:active,
.action.tocart.loading,
.action.primary.tocart.loading,
.action.tocart.disabled,
.action.primary.tocart.disabled,
.action.tocart[disabled],
.action.primary.tocart[disabled] {
    background-color: var(--btn-plum-pressed) !important;
    border-color: var(--btn-plum-pressed) !important;
    color: #fff;
}

.action.tocart[disabled].disabled,
.action.primary.tocart[disabled].disabled {
    background-color: var(--btn-plum-disabled) !important;
    border-color: var(--btn-plum-disabled) !important;
}

.action.tocart.loading,
.action.primary.tocart.loading {
    position: relative;
}

.action.tocart.loading span,
.action.primary.tocart.loading span {
    visibility: hidden;
}

.action.tocart.loading::after,
.action.primary.tocart.loading::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Generic button link */
a.button {
    background: #d8b4a0;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background .3s ease;
}

a.button:hover {
    background: #c49a87;
}

/* -------------------------
   Header / Nav – full width + gutters
   ------------------------- */
body {
    overflow-x: hidden;
}

/* for 100vw trick */
.panel.wrapper,
.page-header .header.content,
.nav-sections,
.nav-sections .nav-sections-items,
.nav-sections .section-items,
.nav-sections .section-item-content,
.nav-sections .navigation {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    max-width: none !important;
}

.panel.wrapper>.panel,
.page-header .header.content,
.nav-sections .navigation {
    padding-inline: var(--site-gutter);
}

/* Mini-cart + Advanced Search plum */
.minicart-wrapper .action.showcart {
    color: var(--plum);
}

.minicart-wrapper .action.showcart:before {
    font-size: 26px;
    line-height: 1;
}

.minicart-wrapper .action.showcart .counter.qty {
    background: var(--plum);
    color: #fff;
    border-radius: 999px;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
}

.header .block-search .actions .action.advanced,
.header .block-search .actions a[href*="catalogsearch/advanced"] {
    color: var(--plum);
    text-decoration: none;
}

.header .block-search .actions .action.advanced:hover,
.header .block-search .actions a[href*="catalogsearch/advanced"]:hover {
    color: var(--plum-600);
    text-decoration: underline;
}

/* -------------------------
   Page Builder rows / Hero – full bleed
   ------------------------- */
.page-wrapper .page-main,
.page-wrapper .page-main .columns,
.page-wrapper .page-main .column.main {
    max-width: none !important;
    padding-left: 0;
    padding-right: 0;
}

.pagebuilder-row,
.pagebuilder-banner,
.pagebuilder-row-wrapper,
.pagebuilder-column-line,
.row-full-width,
.row-full-width .row-full-width-inner,
[data-content-type="row"][data-appearance="full-width"],
.pagebuilder-row[data-appearance="full-width"],
/* if hero inside static block/widget */
.page-main .column.main .block.widget,
.page-main .column.main .block-static-block {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    max-width: none !important;
}

.leo-contained {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 16px;
}

/* helper for inner copy */

/* Hero component */
.hero-banner {
    position: relative;
    text-align: center;
    font-family: var(--serif);
    color: #fff;
    overflow: hidden;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: clamp(360px, 55vh, 720px);
    display: block;
    object-fit: cover;
    object-position: center;
    filter: brightness(.7);
    position: relative;
    z-index: 1;
}

.hero-text-box {
    position: absolute;
    top: 40px;
    right: 40px;
    background: rgba(0, 0, 0, .5);
    padding: 30px 40px;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .3);
    text-align: left;
    z-index: 2;
}

.hero-text-box h1 {
    font-size: 2.8rem;
    color: #fff;
    margin: 0 0 20px;
}

.hero-text-box p {
    font-size: 1.2rem;
    color: #f0eae6;
    margin: 0 0 30px;
}

/* Candle “flicker” */
.flicker {
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 200, 150, .3) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
    animation: flicker 1.5s infinite;
}

.flicker-1 {
    top: 260px;
    left: 360px;
    animation-delay: 0s;
}

.flicker-2 {
    top: 300px;
    left: 550px;
    animation-delay: .3s;
}

/* (5500px looked accidental) */
@keyframes flicker {
    0% {
        opacity: .3;
        transform: scale(1);
    }

    25% {
        opacity: .5;
        transform: scale(1.05);
    }

    50% {
        opacity: .2;
        transform: scale(.98);
    }

    75% {
        opacity: .4;
        transform: scale(1.02);
    }

    100% {
        opacity: .3;
        transform: scale(1);
    }
}

/* -------------------------
   Featured Collections tiles
   ------------------------- */
.ss-tile {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.ss-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.ss-tile img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.ss-tile a:focus-visible {
    outline: 3px solid #caa8e2;
    outline-offset: 3px;
    border-radius: 16px;
}

.ss-tile.is-logo {
    background: #f6f2ee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ss-tile.is-logo img {
    object-fit: contain;
    padding: 8%;
}

.ss-caption-pill .pagebuilder-image-caption,
.ss-caption-pill figcaption {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #4a243f;
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .06em;
    line-height: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    pointer-events: none;
    z-index: 2;
}

.featured-collections {
    padding-inline: 16px;
}

.featured-collections .collections {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.featured-collections .ss-tile {
    margin: 0 !important;
}

/* -------------------------
   Seasonal section
   ------------------------- */
.seasonal {
    background: #f6f2ee;
    border-radius: 18px;
    overflow: hidden;
    padding: 22px;
    margin: 28px 0;
}

.seasonal-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 22px;
    align-items: center;
}

.seasonal-tag {
    display: inline-block;
    background: #4a243f;
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .05em;
    margin-bottom: 10px;
}

.seasonal h2 {
    margin: .25rem 0 .5rem;
    color: #3c2a4d;
}

.seasonal p {
    color: #5d4a60;
    max-width: 52ch;
}

.seasonal-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

.seasonal-ctas .button {
    margin-right: 10px;
}

.seasonal-ctas .button.ghost {
    background: transparent;
    color: #4a243f;
    border: 2px solid #4a243f;
    padding: 10px 22px;
}

.seasonal-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 18px;
}

.seasonal-tiles .tile {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    display: block;
    transition: transform .18s ease, box-shadow .18s ease;
}

.seasonal-tiles img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.seasonal-tiles .tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.seasonal-tiles .label {
    position: absolute;
    left: 12px;
    top: 12px;
    background: #4a243f;
    color: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .05em;
    pointer-events: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}

/* -------------------------
   Home – Bestsellers grid/card tweaks
   ------------------------- */
.home-bestsellers .product-items {
    gap: 18px;
}

.home-bestsellers .product-item {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
    transition: transform .16s ease, box-shadow .16s ease;
}

.home-bestsellers .product-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
}

.home-bestsellers .product-image-photo {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.home-bestsellers .product-item-link {
    font-weight: 600;
    color: #2c2c2c;
}

.home-bestsellers .price-box {
    margin-top: 4px;
}

.home-bestsellers .tocart {
    background: #4a243f;
    color: #fff;
    border-radius: 8px;
    padding: 10px 14px;
}

.home-bestsellers .tocart:hover {
    background: #6a3f7c;
}

.home-bestsellers .product-item-info {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 1;
}

.home-bestsellers .product-item-details {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.home-bestsellers .product-item-inner,
.home-bestsellers .product-item-actions {
    margin-top: auto;
}

.home-bestsellers .product-item-name,
.home-bestsellers .product-item-link {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    min-height: 2.6em;
}

.home-bestsellers .product-item-info::before {
    content: "Bestseller";
    position: absolute;
    top: 10px;
    left: 10px;
    background: #4a243f;
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .04em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    pointer-events: none;
    z-index: 5;
    opacity: 1 !important;
}

/* -------------------------
   Product Grids – DO NOT BREAK CAROUSELS
   ------------------------- */
/* Only gridify when NOT a slider */
.products-grid .product-items:not(.slick-slider):not(.owl-carousel):not(.swiper-wrapper) {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.products-grid .product-items:not(.slick-slider):not(.owl-carousel):not(.swiper-wrapper)>.product-item {
    width: auto !important;
    margin: 0 !important;
    box-sizing: border-box;
}

/* Let PB carousels control layout */
.pagebuilder-products .product-items {
    display: block !important;
    position: relative;
}

/* Carousel arrows – Slick (used by Magento PB) */
.pagebuilder-products .slick-slider .slick-arrow {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    z-index: 5;
    background: rgba(255, 255, 255, .95);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.pagebuilder-products .slick-prev {
    left: 8px;
}

.pagebuilder-products .slick-next {
    right: 8px;
}

.pagebuilder-products .slick-prev:before {
    content: '‹';
    color: #4a243f;
    font-size: 24px;
    line-height: 1;
    opacity: 1;
}

.pagebuilder-products .slick-next:before {
    content: '›';
    color: #4a243f;
    font-size: 24px;
    line-height: 1;
    opacity: 1;
}

/* Owl (if a theme uses it) */
.pagebuilder-products .owl-nav [class*="owl-"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    z-index: 5;
    background: rgba(255, 255, 255, .95);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.pagebuilder-products .owl-nav .owl-prev {
    left: 8px;
}

.pagebuilder-products .owl-nav .owl-next {
    right: 8px;
}

.pagebuilder-products .owl-nav .owl-prev:before {
    content: '‹';
    color: #4a243f;
    font-size: 24px;
}

.pagebuilder-products .owl-nav .owl-next:before {
    content: '›';
    color: #4a243f;
    font-size: 24px;
}

/* Swiper (fallback) */
.pagebuilder-products .swiper-button-prev,
.pagebuilder-products .swiper-button-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, .95);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    color: #4a243f;
}

/* -------------------------
   Category (PLP) – full width + banner
   ------------------------- */
.page-products .page-main,
.page-products .page-main .columns,
.page-products .page-main .columns .column.main,
.page-products .page-main .columns .sidebar {
    max-width: none !important;
    padding-left: 0;
    padding-right: 0;
}

.page-products .page-main .columns {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.page-products .page-main .columns .column.main,
.page-products .page-main .columns .sidebar {
    padding-inline: var(--site-gutter);
}

.page-products .category-view .category-image,
.page-products .category-view .category-image img {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    display: block;
    height: auto;
    object-fit: cover;
}

/* -------------------------
   Footer – full width + polish
   ------------------------- */
.page-footer,
.page-footer .footer.content {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    max-width: none !important;
}

.page-footer {
    background: #f7f5f3;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.page-footer .footer.content {
    padding-inline: var(--site-gutter);
}

.page-footer a,
.footer.content a {
    color: var(--plum);
    text-decoration: none;
}

.page-footer a:hover,
.footer.content a:hover {
    color: var(--plum-600);
    text-decoration: underline;
}

.page-footer .block.newsletter input[type="email"] {
    height: 38px;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
}

.page-footer .block.newsletter input[type="email"]::placeholder {
    color: var(--footer-muted);
}

.page-footer .block.newsletter .action.subscribe {
    height: 38px;
    line-height: 38px;
    background: var(--plum);
    border-color: var(--plum);
    color: #fff;
    border-radius: 10px;
    padding: 0 16px;
    font-weight: 700;
}

.page-footer .block.newsletter .action.subscribe:hover {
    background: var(--plum-600);
    border-color: var(--plum-600);
}

.page-footer .block.newsletter input[type="email"]:focus,
.page-footer .block.newsletter .action.subscribe:focus {
    outline: 2px solid var(--plum-100);
    box-shadow: 0 0 0 3px rgba(110, 42, 90, .25);
}

/* -------------------------
   Crafted by L.E.O. – layout polish
   ------------------------- */
.page-wrapper h1,
.page-wrapper h2 {
    font-family: var(--serif);
}

.page-wrapper p {
    font-family: var(--ui-sans);
    line-height: 1.7;
}

.page-wrapper .pagebuilder-button-primary {
    background-color: var(--plum);
    border-radius: 9999px;
    padding: .9rem 1.25rem;
}

.leo-split-row {
    margin: 64px 0;
}

.leo-cards-row {
    margin: 72px 0;
}

.leo-split-row .pagebuilder-column-group {
    column-gap: 28px;
    row-gap: 20px;
    align-items: flex-start;
}

.leo-col-image {
    padding: 10px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .07);
}

.leo-col-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.leo-col-text h2,
.leo-col-text h3 {
    margin: 0 0 .4rem;
}

.leo-col-text p {
    margin: 0 0 .9rem;
    line-height: 1.7;
}

.leo-card {
    background: #fff;
    border: 1px solid rgba(110, 42, 90, .10);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.leo-card:hover {
    transform: translateY(-2px);
    border-color: rgba(110, 42, 90, .22);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .10);
}

.leo-cards-row .pagebuilder-column-group {
    column-gap: 24px;
    row-gap: 20px;
}

.leo-split-row+.leo-cards-row {
    margin-top: 12px;
}

.leo-split-row+.leo-split-row {
    margin-top: 16px;
}

/* -------------------------
   Testimonials stars
   ------------------------- */
.home-testimonials .t-stars {
    display: flex;
    gap: 4px;
    align-items: center;
    line-height: 1;
}

.home-testimonials .t-stars svg {
    width: var(--t-star) !important;
    height: var(--t-star) !important;
    min-width: var(--t-star);
    min-height: var(--t-star);
    flex: 0 0 var(--t-star);
    display: inline-block;
    vertical-align: middle;
    max-width: none;
}

.home-testimonials .t-stars svg path {
    fill: #caa8e2;
}

/* -------------------------
   Responsive
   ------------------------- */
@media (max-width:1024px) {
    .collections {
        grid-template-columns: repeat(2, 1fr);
    }

    .seasonal-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width:600px) {

    .collections,
    .seasonal-tiles {
        grid-template-columns: 1fr;
    }
}

@media (max-width:640px) {
    :root {
        --prod-title-size: 1rem;
    }

    .product-item .product-item-name {
        max-width: 30ch;
    }

    .hero-text-box {
        top: auto;
        right: 50%;
        bottom: 30px;
        transform: translateX(50%);
        text-align: center;
        max-width: 90%;
        padding: 20px 22px;
    }

    .hero-text-box h1 {
        font-size: 2rem;
    }

    .hero-text-box p {
        font-size: 1rem;
    }

    .hero-text-box .button {
        padding: 12px 20px;
        font-size: .9rem;
    }
}

/* Full-width banner behind the header row */
.page-header .header.content {
    /* make this band full-bleed (you already stretched header via your CSS) */
    background: url('../images/web_header_banner.jpeg') right center / cover no-repeat;
    min-height: clamp(80px, 13vw, 140px);
    /* adjust to taste */
    padding-block: 16px;
    /* inner breathing room */
    position: relative;
    z-index: auto !important;
}

/* Keep the search/cart visible on top of the banner and readable */
.page-header .block-search,
.minicart-wrapper {
    position: relative;
    z-index: 2;
}

/* Optional: subtle white chip behind the search so it’s readable on any photo */
.page-header .block-search {
    background: rgba(255, 255, 255, .85);
    border-radius: 10px;
    padding: 6px;
}

/* Make the header logo link cover the banner */
.page-header,
.page-header .header.content {
    position: relative;
}

.page-header .logo {
    position: absolute;
    inset: 0;
    /* fill the header band */
    z-index: 1;
    /* below the search/cart (z-index:2) */
    text-decoration: none;
}

/* Hide the image but keep the link accessible */
/*.page-header .logo img {
    width: 1px;
    height: 1px;
    opacity: 0;
    position: absolute;
    left: -9999px;

} */

/* If you only want the LEFT half clickable, use this instead of inset:0 */
/* .page-header .logo{ top:0; bottom:0; left:0; right:50%; } */

/* ===================== FULL-WIDTH FOUNDATION (put at end) ===================== */

/* 0) Global helper */
:root {
    --site-gutter: clamp(12px, 2.6vw, 28px);
}

body {
    overflow-x: hidden;
}

/* prevents sideways scroll caused by 100vw trick */

/* 1) Remove core max-width on the main content stack */
.page-wrapper .page-main,
.page-wrapper .page-main .columns,
.page-wrapper .page-main .column.main {
    max-width: none !important;
    padding-left: 0;
    padding-right: 0;
}

/* 2) Make ALL Page Builder rows/banners escape the container (full-bleed) */
.pagebuilder-row,
.pagebuilder-row-wrapper,
.pagebuilder-banner,
.pagebuilder-column-line,
[data-content-type="row"][data-appearance="contained"],
[data-content-type="banner"][data-appearance="contained"] {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

/* Optional: a readable inner container for copy when needed */
.leo-contained {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: var(--site-gutter);
}

/* 3) Header + top panel + nav need stretching too */
.panel.wrapper,
.page-header .header.content,
.nav-sections,
.nav-sections .nav-sections-items,
.nav-sections .section-items,
.nav-sections .section-item-content,
.nav-sections .navigation {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.panel.wrapper>.panel,
.page-header .header.content,
.nav-sections .navigation {
    padding-inline: var(--site-gutter);
    /* add gutters inside full-bleed bars */
}

/* 4) Widgets/blocks used as hero rows should also be full-bleed */
.page-main .column.main .block.widget,
.page-main .column.main .block-static-block {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    max-width: none !important;
}

/* 5) Category (PLP) pages – columns + top category image */
.page-products .page-main,
.page-products .page-main .columns,
.page-products .page-main .columns .column.main,
.page-products .page-main .columns .sidebar {
    max-width: none !important;
    padding-left: 0;
    padding-right: 0;
}

.page-products .page-main .columns {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.page-products .category-view .category-image,
.page-products .category-view .category-image img {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    display: block;
}

/* 6) Footer */
.page-footer,
.page-footer .footer.content {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.page-footer .footer.content {
    padding-inline: var(--site-gutter);
}

/* ===================== END FULL-WIDTH FOUNDATION ===================== */

/* ================= HERO FULL-BLEED + PAGE GUTTERS — FINAL ================= */

/* Gutters for normal content */
:root {
    --site-gutter: clamp(12px, 2.6vw, 28px);
}

.page-wrapper .page-main .column.main {
    padding-inline: var(--site-gutter);
    box-sizing: border-box;
}

/* Prevent tiny horizontal scroll from 100vw trick */
body {
    overflow-x: hidden;
}

/* Full-bleed ONLY for first-level PB rows/banners/widgets + custom wrappers */
.page-main .column.main>.pagebuilder-row,
.page-main .column.main>.pagebuilder-row-wrapper,
.page-main .column.main>[data-content-type="row"],
.page-main .column.main>.pagebuilder-banner,
.page-main .column.main>[data-content-type="banner"],
.page-main .column.main>.block.widget,
.page-main .column.main>.block-static-block,
.hero-banner,
.row-full-width {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-inline: 0 !important;
    /* edge-to-edge */
}

/* Cancel the breakout on any nested PB content inside those sections */
.page-main .column.main>* .pagebuilder-row,
.page-main .column.main>* .pagebuilder-row-wrapper,
.page-main .column.main>* [data-content-type="row"],
.page-main .column.main>* .pagebuilder-banner,
.page-main .column.main>* [data-content-type="banner"] {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-inline: var(--site-gutter);
    /* put gutters back inside */
    box-sizing: border-box;
}

/* Hero images: nice crop edge-to-edge */
.hero-banner .hero-image,
.pagebuilder-banner .hero-image,
.page-main .column.main .pagebuilder-banner img {
    display: block;
    width: 100%;
    height: clamp(420px, 56vh, 780px);
    object-fit: cover;
    object-position: center;
}

/* ================= END HERO FULL-BLEED + PAGE GUTTERS ================= */

/* ==================== FINAL PATCH: gutters + safe full-bleed ==================== */

/* 0) One token for gutters */
:root {
    --site-gutter: clamp(12px, 2.6vw, 28px);
}

/* 1) Header/Nav/Footer keep their inner gutters */
.panel.wrapper>.panel,
.page-header .header.content,
.nav-sections .navigation,
.page-footer .footer.content {
    padding-left: var(--site-gutter) !important;
    padding-right: var(--site-gutter) !important;
    box-sizing: border-box;
}

/* 2) MAIN CONTENT: restore gutters with physical props (beats old rules) */
.page-wrapper .page-main .column.main {
    padding-left: var(--site-gutter) !important;
    padding-right: var(--site-gutter) !important;
    box-sizing: border-box;
}

/* 3) CANCEL global 100vw on Page Builder rows/banners by default */
.pagebuilder-row,
.pagebuilder-row-wrapper,
.pagebuilder-banner,
[data-content-type="row"],
[data-content-type="banner"] {
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    /* give inner content the same gutters as the page */
    padding-left: var(--site-gutter) !important;
    padding-right: var(--site-gutter) !important;
    box-sizing: border-box;
}

/* 4) Only the HERO should be edge-to-edge */
.hero-banner,
.row-full-width {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Nice, consistent hero crop */
.hero-banner .hero-image,
.pagebuilder-banner .hero-image,
.page-main .column.main .pagebuilder-banner img {
    display: block;
    width: 100%;
    height: clamp(420px, 56vh, 780px);
    object-fit: cover;
    object-position: center;
}

/* 5) Safety: avoid sideways scroll from any full-bleed sections */
html,
body {
    overflow-x: hidden;
}

/* ==================== /FINAL PATCH ==================== */

/* =================== SAFE FULL-BLEED + GUTTERS (FINAL) =================== */

/* 1) Default gutters for normal content everywhere */
:root {
    --site-gutter: clamp(12px, 2.6vw, 28px);
}

.page-wrapper .page-main .column.main {
    padding-inline: var(--site-gutter);
    box-sizing: border-box;
}

/* 2) CANCEL any previous "force full-bleed" on first-level PB rows/banners */
.page-main .column.main>[data-content-type="row"],
.page-main .column.main>[data-content-type="banner"],
.page-main .column.main>.pagebuilder-row,
.page-main .column.main>.pagebuilder-row-wrapper,
.page-main .column.main>.pagebuilder-banner {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-inline: var(--site-gutter) !important;
    /* keep readable gutters */
}

/* 3) Only make rows FULL-BLEED when they say so (or you opt in) */
.page-main .column.main>[data-appearance="full-width"],
.page-main .column.main>.leo-full,
/* optional helper class */
.hero-banner,
.row-full-width,
.row-full-width .row-full-width-inner {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-inline: 0 !important;
}

/* Full-bleed hero/banners: keep image nicely cropped */
.hero-banner .hero-image,
.page-main .column.main>[data-appearance="full-width"] img {
    display: block;
    width: 100%;
    height: clamp(420px, 56vh, 780px);
    object-fit: cover;
    object-position: center;
}

/* 4) CATEGORY (PLP) FIXES — restore wrapper to normal flow + gutters */
.page-products .page-main .columns {
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-inline: var(--site-gutter) !important;
    box-sizing: border-box;
}

/* keep one level of padding only (no double gutters) */
.page-products .page-main .columns .column.main,
.page-products .page-main .columns .sidebar {
    padding-inline: 0 !important;
}

/* category top image: true edge-to-edge, content stays guttered */
.page-products .category-view .category-image,
.page-products .category-view .category-image img {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    display: block;
    height: auto;
    object-fit: cover;
}

/* 5) Override: force a row to be contained even if set to full width */
.leo-contained {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-inline: var(--site-gutter) !important;
}

/* =================== END SAFE FULL-BLEED + GUTTERS =================== */
/* Testimonials layout + star alignment */
.home-testimonials .t-grid {
    display: grid;
    gap: 28px;
}

.home-testimonials .t-card {
    max-width: 980px;
    /* keeps each quote readable */
    margin: 0 auto;
    /* center the card */
    text-align: center;
    /* center the blockquote/caption text */
}

.home-testimonials .t-stars {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    /* ⭐ center the stars */
    margin: 0 auto 10px;
    /* center the block and add a little gap */
}

/* keep the star size + color you already use */
:root {
    --t-star: 18px;
}

.home-testimonials .t-stars svg {
    width: var(--t-star) !important;
    height: var(--t-star) !important;
    min-width: var(--t-star);
    min-height: var(--t-star);
}

.home-testimonials .t-stars svg path {
    fill: #caa8e2;
    /* lavender */
}

/* some nice spacing */
.home-testimonials blockquote {
    margin: 6px 0 14px;
    font-style: italic;
}

.home-testimonials .t-name {
    font-weight: 600;
}

.home-testimonials .t-meta {
    color: #6b6b75;
    margin-left: .35em;
}

/* === Full-width top utility bar (My Account / Wish List / Sign In) === */
.page-wrapper .panel.wrapper {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.page-wrapper .panel.wrapper>.panel {
    max-width: none !important;
    /* remove container cap */
    width: 100% !important;
    margin: 0 !important;
    /* kill auto-centering */
    box-sizing: border-box;
    padding-inline: var(--site-gutter);
    /* keep your page gutters */
}

/* (Optional) keep it above the banner if needed */
.page-wrapper .panel.wrapper {
    z-index: 5;
    position: relative;
}

/* ===================== FULL-WIDTH HEADER BANNER ===================== */

/* Minicart must sit above header/nav */
.minicart-wrapper {
    position: relative;
    z-index: 200;
}

/* Luma renders the flyout as .mage-dropdown-dialog / .block-minicart */
.minicart-wrapper .mage-dropdown-dialog,
.minicart-wrapper .block-minicart {
    position: absolute;
    z-index: 10050 !important;
    /* higher than your header/nav */
}

/* Keep nav/panel below minicart but above page content */
.nav-sections {
    position: relative;
    z-index: 50;
}

.panel.wrapper {
    position: relative;
    z-index: 40;
}

/* Links inside minicart */
.minicart-wrapper .product-item-name a,
.minicart-wrapper a {
    color: var(--plum);
    text-decoration: none;
}

.minicart-wrapper a:hover {
    color: var(--plum-600);
    text-decoration: underline;
}

/* "View and edit cart" link */
.minicart-wrapper .action.viewcart {
    background: transparent;
    border: 0;
    padding: 0;
    color: var(--plum);
}

.minicart-wrapper .action.viewcart:hover {
    color: var(--plum-600);
    text-decoration: underline;
}

/* Primary actions (Proceed to Checkout, Update, etc.) */
.minicart-wrapper .action.primary {
    background: var(--plum);
    border-color: var(--plum);
    color: #fff;
}

.minicart-wrapper .action.primary:hover {
    background: var(--plum-600);
    border-color: var(--plum-600);
}

/* Put Edit / Remove on their own row, not overlapped by name/options */
.minicart-items .product-item-details .actions {
    position: static;
    /* cancel any absolute positioning */
    display: flex;
    gap: 12px;
    margin-top: 6px;
    z-index: 2;
    /* just in case */
}

/* Make sure the details area doesn't clip anything */
.minicart-items .product-item-details {
    overflow: visible;
}

/* Header sits above the nav so its children (minicart) can overlap the nav */
.page-header {
    position: relative;
    z-index: 200;
}

/* Nav below header but above page content */
.nav-sections {
    position: relative;
    z-index: 150;
}

.panel.wrapper {
    position: relative;
    z-index: 140;
}

/* top bar */

/* The dropdown that opens */
.minicart-wrapper .mage-dropdown-dialog,
.minicart-wrapper .block-minicart {
    position: absolute;
    right: 0;
    z-index: 10050 !important;
    /* safely higher than header/nav */
}

/* /*  */
/* =========================
   HEADER — Search + Cart
   ========================= */
:root {
    --plum: #6E2A5A;
    --plum-600: #5c244c;
    --ink: #2b2b30;
}

/* SEARCH FIELD (Luma: .block-search) */
.header .block-search .control input#search,
.header .block-search input[type="text"] {
    height: 42px;
    /* bigger, easier to tap */
    padding: 0 44px 0 14px;
    /* room for the magnifier button */
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .08);
    font-size: 15px;
}

.header .block-search .control input#search::placeholder {
    color: #8a8d97;
}


/* Optional: Advanced Search link to plum (you already did this site-wide) */
.header .block-search .actions .action.advanced,
.header .block-search .actions a[href*="catalogsearch/advanced"] {
    color: var(--plum);
}

.header .block-search .actions .action.advanced:hover,
.header .block-search .actions a[href*="catalogsearch/advanced"]:hover {
    color: var(--plum-600);
    text-decoration: underline;
}

/* CART BUTTON (Luma: .minicart-wrapper .action.showcart) */
.minicart-wrapper .action.showcart {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--plum);
    color: #fff;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .08);
}

.minicart-wrapper .action.showcart:hover {
    background: var(--plum-600);
}

/* enlarge the cart icon */
.minicart-wrapper .action.showcart:before {
    font-size: 22px;
    line-height: 1;
}

/* COUNTER BUBBLE — size + perfect alignment */
.minicart-wrapper .action.showcart .counter.qty {
    position: absolute;
    right: -6px;
    top: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    /* handles 2-digit counts */
    border-radius: 999px;
    background: #fff;
    color: var(--plum);
    border: 2px solid var(--plum);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

/* Luma prints the number inside span.counter-number (but fall back to span) */
.minicart-wrapper .action.showcart .counter.qty .counter-number,
.minicart-wrapper .action.showcart .counter.qty span {
    font-size: 12px;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    .header .block-search .control input#search {
        height: 38px;
    }

    .header .block-search .action.search {
        width: 32px;
        height: 32px;
    }

    .minicart-wrapper .action.showcart {
        width: 40px;
        height: 40px;
    }
}

/* PDP: hide the big page title that sits above the gallery */
.catalog-product-view .column.main>.page-title-wrapper {
    display: none !important;
}

/* ===== Category (PLP) – Filter styling ===== */
.page-products .block.filter {
    background: #f6f2ee;
    border: 1px solid rgba(110, 42, 90, .08);
    border-radius: 14px;
    padding: 16px;
}

.page-products .block.filter .filter-options-item+.filter-options-item {
    border-top: 1px solid rgba(0, 0, 0, .06);
    margin-top: 10px;
    padding-top: 10px;
}

.page-products .block.filter .filter-options-title {
    color: var(--plum);
    font-weight: 700;
}

.page-products .block.filter .filter-options-content .item a {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    color: var(--ink);
    text-decoration: none;
}

.page-products .block.filter .filter-options-content .item a:hover {
    background: var(--plum-100);
    color: var(--plum-600);
}

.page-products .block.filter .count {
    color: #8b8b95;
    /* the (26) etc. */
}

/* current/active filters (“Now Shopping by…”) as little pills */
.page-products .block.filter .filter-current .item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 8px 8px 0;
    padding: 4px 10px;
    background: var(--plum-100);
    border-radius: 999px;
    color: var(--plum-600);
    font-weight: 600;
}

.page-products .block.filter .filter-current .action.remove {
    color: var(--plum-600);
    text-decoration: none;
}

/* radios/checkboxes in filters pick up brand colour */
.page-products .block.filter input[type="checkbox"],
.page-products .block.filter input[type="radio"] {
    accent-color: var(--plum);
}

/* ===== Category (PLP) – Pagination ===== */
.page-products .pages {
    margin-top: 12px;
}

.page-products .pages .items .item {
    margin-right: 6px;
}

.page-products .pages .items .item a,
.page-products .pages .items .item strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid rgba(110, 42, 90, .30);
    border-radius: 999px;
    font-weight: 700;
    color: var(--plum);
    text-decoration: none;
    background: #fff;
}

.page-products .pages .items .item a:hover {
    color: var(--plum-600);
    border-color: var(--plum-600);
    background: var(--plum-100);
}

.page-products .pages .items .item.current strong {
    background: var(--plum);
    color: #fff;
    border-color: var(--plum);
}

/* next/prev arrows match the pills */
.page-products .pages .action.next,
.page-products .pages .action.previous {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid var(--plum);
    background: var(--plum);
    color: #fff;
}

.page-products .pages .action.next:hover,
.page-products .pages .action.previous:hover {
    background: var(--plum-600);
    border-color: var(--plum-600);
}

/* Keep filter label + (count) on one line */
.page-products .block.filter .filter-options-content .item {
    display: flex;
    /* lay out label and count in one row */
    align-items: center;
    gap: 8px;
}

/* Label takes remaining space; truncate if it's too long */
.page-products .block.filter .filter-options-content .item>a {
    flex: 1 1 auto;
    min-width: 0;
    /* enables ellipsis */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Count never wraps and sits on the right
   (works whether it's inside or outside the <a>) */
.page-products .block.filter .filter-options-content .item .count,
.page-products .block.filter .filter-options-content .item a .count {
    flex: 0 0 auto;
    white-space: nowrap;
    margin-left: 6px;
}

/* ===== Layered nav filter rows: single line + right-aligned count ===== */

/* Each filter row */
.page-products .block.filter .filter-options-content .item {
    position: relative;
    /* so a sibling .count can anchor to this */
    display: block;
}

/* The clickable label */
.page-products .block.filter .filter-options-content .item>a {
    position: relative;
    /* so a child .count can anchor to this */
    display: block;
    padding: 10px 48px 10px 12px;
    /* reserve space on the right for (count) */
    overflow: hidden;
    /* enable ellipsis for long labels */
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 10px;
    /* keeps your branded selection pill look */
}

/* Count INSIDE the link (Luma default) */
.page-products .block.filter .filter-options-content .item>a .count {
    position: absolute !important;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    margin: 0;
}

/* Count as SIBLING of the link (some themes/extensions do this) */
.page-products .block.filter .filter-options-content .item>.count {
    position: absolute !important;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    margin: 0;
    pointer-events: none;
    /* keep the row/link clickable */
}

/* Brand plum for the "Advanced Search" link under the header search */
:root {
    --brand-plum: #7a2c6a;
}

/* ← your plum */

.page-header .action.advanced,
.page-header a[href*="catalogsearch/advanced"] {
    color: var(--brand-plum) !important;
}

.page-header .action.advanced:hover,
.page-header a[href*="catalogsearch/advanced"]:hover,
.page-header .action.advanced:focus,
.page-header a[href*="catalogsearch/advanced"]:focus,
.page-header .action.advanced:visited,
.page-header a[href*="catalogsearch/advanced"]:visited {
    color: var(--brand-plum) !important;
    text-decoration: underline;
}

@media (max-width:767px) {
    .page-header .header.content {
        /* narrow, light image (e.g., ~1200×300 WebP, <120KB) */
        background-image: url('../images/web_header_banner-2-Mobile.jpeg');
    }
}

/* ===== MOBILE HEADER LAYOUT (≤767px) ===== */
@media (max-width:767px) {
    .page-header .header.content {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        padding-block: 8px;
        background-position: center;
        background-size: cover;
    }

    /* order: burger | logo | cart | search full width */
    .nav-toggle {
        order: 1;
        z-index: 5;
    }

    .page-header .logo {
        order: 2;
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
    }

    .minicart-wrapper {
        order: 3;
    }

    .header .block-search {
        order: 4;
        flex: 0 0 100%;
    }

    /* show a real logo image; stop any overlay tricks on mobile */
    .page-header .logo {
        position: relative !important;
        inset: auto !important;
        z-index: 2 !important;
    }

    .page-header .logo img {
        position: static !important;
        opacity: 1 !important;
        height: 40px !important;
        width: auto;
    }
}

/* ===== MOBILE NAV DRAWER (≤1024px) ===== */
@media (max-width:1024px) {
    .page-header {
        position: relative;
        z-index: 400;
    }

    .nav-toggle {
        position: relative;
        z-index: 410;
    }

    .nav-toggle:before {
        color: var(--plum);
        font-size: 24px;
    }

    .nav-sections {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 86vw;
        max-width: 360px;
        background: #fff;
        overflow: auto;
        transform: translateX(-100%);
        transition: transform .25s ease;
        z-index: 390;
        margin: 0;
        padding: 0;
        box-shadow: 0 0 40px rgba(0, 0, 0, .18);
    }

    .nav-open .nav-sections,
    .nav-before-open .nav-sections {
        transform: translateX(0);
    }

    /* kill inner margins that cause the “purple shard” */
    .nav-sections .nav-sections-items,
    .nav-sections .section-items,
    .nav-sections .section-item-content,
    .nav-sections .navigation {
        margin: 0;
        padding: 0;
        width: 100%;
        background: transparent;
    }

    /* dim behind, but keep header clickable */
    .nav-open::before,
    .nav-before-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .35);
        z-index: 350;
    }

    /* safety: stop any 100vw spills */
    html,
    body {
        overflow-x: hidden !important;
    }
}

/* ===== CLEAN MOBILE HEADER + NAV ===== */

/* Keep header/nav contained on small screens */
@media (max-width:1024px) {

    .panel.wrapper,
    .page-header .header.content,
    .nav-sections,
    .nav-sections .navigation {
        width: auto !important;
        margin: 0 !important;
        padding: 0 var(--site-gutter) !important;
        box-sizing: border-box;
    }
}

/* Phone header: burger | logo | cart (row 1), search full width (row 2) */
@media (max-width:767px) {
    .page-header .header.content {
        display: grid;
        grid-template-columns: 40px 1fr 40px;
        align-items: center;
        gap: 10px;
        padding-block: 8px;
        background-position: center;
        background-size: cover;
    }

    .nav-toggle {
        grid-column: 1;
        justify-self: start;
        display: block !important;
        z-index: 410 !important;
    }

    .page-header .logo {
        grid-column: 2;
        justify-self: center;
        position: relative !important;
        inset: auto !important;
        z-index: 405 !important;
    }

    .page-header .logo img {
        position: static !important;
        opacity: 1 !important;
        height: 40px !important;
        width: auto;
    }

    .minicart-wrapper {
        grid-column: 3;
        justify-self: end;
        z-index: 410 !important;
    }

    .header .block-search {
        grid-column: 1 / -1;
        margin-top: 6px;
    }
}

/* Off-canvas drawer that stays clickable */
@media (max-width:1024px) {
    .page-header {
        position: relative;
        z-index: 400;
    }

    .nav-toggle:before {
        color: var(--plum);
        font-size: 24px;
    }

    .nav-sections {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 86vw;
        max-width: 360px;
        background: #fff;
        overflow: auto;
        transform: translateX(-100%);
        transition: transform .25s ease;
        z-index: 390;
        margin: 0;
        padding: 0;
        box-shadow: 0 0 40px rgba(0, 0, 0, .18);
    }

    .nav-open .nav-sections,
    .nav-before-open .nav-sections {
        transform: translateX(0);
    }

    /* remove inner offsets (“purple shard” problem) */
    .nav-sections .nav-sections-items,
    .nav-sections .section-items,
    .nav-sections .section-item-content,
    .nav-sections .navigation {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        background: transparent !important;
    }

    /* Dim page but DO NOT intercept taps (so menu items stay clickable) */
    .nav-open::before,
    .nav-before-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .35);
        z-index: 350;
        pointer-events: none;
        /* ← critical: prevents accidental close on tap */
    }

    html,
    body {
        overflow-x: hidden !important;
    }
}

/* ===== MOBILE NAV: force content visible + clickable (≤1024px) ===== */
@media (max-width:1024px) {

    /* Keep the drawer on top of the page-dim, but below header */
    .nav-sections {
        z-index: 390 !important;
    }

    .nav-open::before,
    .nav-before-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .35);
        z-index: 350;
        /* below .nav-sections */
        pointer-events: none;
        /* don't steal taps */
    }

    /* Luma’s mobile has "Menu / Account" tab switchers. Hide them and
     just show the Menu content so items don’t disappear. */
    .nav-sections .nav-sections-item-title {
        display: none !important;
    }

    /* .nav-sections .nav-sections-item-content {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    } */

    /* Zero out any inner offsets that push content off-canvas */
    .nav-sections .nav-sections-items,
    .nav-sections .section-items,
    .nav-sections .section-item-content,
    .nav-sections .navigation {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        background: transparent !important;
    }

    /* Make list rows tappable (in case a theme shrank them) */
    .nav-sections .navigation a {
        display: block;
        padding: 14px 16px;
        text-decoration: none;
    }

    .nav-sections .navigation li {
        border-bottom: 1px solid rgba(0, 0, 0, .08);
    }
}

/* ===== MOBILE NAV: make panel TOPMOST & always clickable ===== */
@media (max-width:1024px) {

    /* 0) Kill any custom dim overlays you/Theme added */
    .nav-open::before,
    .nav-before-open::before,
    .nav-open .page-wrapper::before,
    .nav-before-open .page-wrapper::before {
        content: none !important;
        display: none !important;
    }

    /* 1) Drawer sits ABOVE everything (including the header) when open */
    .page-header {
        z-index: 400 !important;
    }

    /* header still high */
    .nav-sections {
        position: fixed !important;
        top: 0;
        left: 0;
        height: 100vh;
        width: 86vw;
        max-width: 360px;
        background: #fff;
        overflow: auto;
        transform: translateX(-100%);
        transition: transform .25s ease;
        z-index: 5000 !important;
        /* ← higher than header/overlays */
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: 0 0 40px rgba(0, 0, 0, .18);
        pointer-events: auto !important;
    }

    .nav-open .nav-sections,
    .nav-before-open .nav-sections {
        transform: translateX(0);
    }

    /* 2) Ensure the MENU content is visible (not the Account tab only) */
    .nav-sections .nav-sections-item-title {
        display: none !important;
    }

    /* .nav-sections .nav-sections-item-content {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    } */

    .nav-sections .navigation {
        display: block !important;
    }

    /* 3) Remove inner offsets that created the left “shard” */
    .nav-sections .nav-sections-items,
    .nav-sections .section-items,
    .nav-sections .section-item-content,
    .nav-sections .navigation {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        background: transparent !important;
    }

    /* 4) Make links definitely tappable */
    .nav-sections .navigation a {
        display: block;
        padding: 14px 16px;
        text-decoration: none;
        pointer-events: auto !important;
    }

    .nav-sections * {
        pointer-events: auto !important;
    }

    /* belt & braces */
}

/* ===== MOBILE NAV — always show the Menu content (≤1024px) ===== */
@media (max-width:1024px) {

    /* Remove the tab headers and their space */
    .nav-sections .nav-sections-item-title,
    .nav-sections .nav-sections-items>.nav-sections-item-title {
        display: none !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
    }

    /* Force ALL tab contents to be visible blocks (Menu + Account),
     overriding any inline display:none or heights */
    /* .nav-sections .nav-sections-item-content {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        overflow: visible !important;
    } */

    /* .nav-sections .nav-sections-item-content[style*="display:none"] {
        display: block !important;
    } */

    /* The actual category tree */
    .nav-sections .navigation {
        display: block !important;
        height: auto !important;
    }

    /* Make rows clearly tappable */
    .nav-sections .navigation a {
        display: block;
        padding: 14px 16px;
        text-decoration: none;
    }

    /* Drawer on top & clickable */
    .nav-sections {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 86vw;
        max-width: 360px;
        background: #fff;
        transform: translateX(-100%);
        transition: transform .25s ease;
        z-index: 5000 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: 0 0 40px rgba(0, 0, 0, .18);
    }

    .nav-open .nav-sections,
    .nav-before-open .nav-sections {
        transform: translateX(0);
    }

    /* No overlay catching clicks */
    .nav-open::before,
    .nav-before-open::before,
    .nav-open .page-wrapper::before,
    .nav-before-open .page-wrapper::before {
        content: none !important;
        display: none !important;
    }

    html,
    body {
        overflow-x: hidden !important;
    }
}

/* ===== MOBILE NAV — simple, JS-free, always visible (≤1024px) ===== */
@media (max-width:1024px) {

    /* Drawer */
    .nav-sections {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 86vw;
        max-width: 360px;
        background: #fff;
        transform: translateX(-100%);
        transition: transform .25s ease;
        z-index: 5000;
        margin: 0;
        padding: 0;
        overflow: auto;
        box-shadow: 0 0 40px rgba(0, 0, 0, .18);
    }

    .nav-open .nav-sections,
    .nav-before-open .nav-sections {
        transform: translateX(0);
    }

    /* Remove/disable any dim overlays that can eat taps */
    .nav-open::before,
    .nav-before-open::before,
    .nav-open .page-wrapper::before,
    .nav-before-open .page-wrapper::before {
        content: none !important;
        display: none !important;
    }

    /* Hide the tab headers (“Menu / Account”) so no blank row shows */
    .nav-sections .nav-sections-item-title {
        display: none !important;
    }

    /* ← The key bit: ALWAYS show all tab contents (Menu AND Account) */
    .nav-sections .nav-sections-item-content {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        overflow: visible !important;
    }

    /* Make sure the category tree itself isn't hidden */
    .nav-sections .navigation {
        display: block !important;
    }

    /* Tappable rows */
    .nav-sections .navigation a {
        display: block;
        padding: 14px 16px;
        text-decoration: none;
    }

    /* Safety: remove any inner offsets that created left “shards” */
    .nav-sections .nav-sections-items,
    .nav-sections .section-items,
    .nav-sections .section-item-content,
    .nav-sections .navigation {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        background: transparent !important;
    }
}

/* ===== MOBILE NAV — make category text visible & tappable (≤1024px) ===== */
@media (max-width:1024px) {

    /* Ensure the menu pane is rendered */
    .nav-sections .navigation {
        display: block !important;
    }

    /* Reset list + rows */
    .nav-sections .navigation ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-sections .navigation li {
        border-bottom: 1px solid rgba(0, 0, 0, .08);
    }

    /* TOP-LEVEL LINKS (the “blank rows”) */
    .nav-sections .navigation .level0>a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 16px;
        background: #fff !important;
        color: #2b2b30 !important;
        /* ← key: visible text */
        text-decoration: none;
    }

    /* Make sure the text span itself inherits the color and is visible */
    .nav-sections .navigation .level0>a>span {
        color: inherit !important;
        opacity: 1 !important;
        visibility: visible !important;
        text-indent: 0 !important;
        clip: auto !important;
    }

    /* Move the jQuery-UI chevron to the far right and neutralise its sizing */
    .nav-sections .navigation .level0>a>.ui-menu-icon {
        position: static !important;
        margin-left: auto;
        width: auto;
        height: auto;
        transform: none !important;
    }

    /* Active/hover state in your colours */
    .nav-sections .navigation .level0>a:hover,
    .nav-sections .navigation .level0.current>a,
    .nav-sections .navigation .level0.active>a {
        background: var(--plum-100) !important;
        color: var(--plum-600) !important;
    }
}

/* ===== 1) Mobile nav: label left, chevron right, no overlap ===== */
@media (max-width:1024px) {

    /* Make each top-level row a flex row */
    .nav-sections .navigation .level0>a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding: 14px 16px;
        background: #fff !important;
        color: #2b2b30 !important;
        text-decoration: none;
    }

    /* Label span (NOT the icon) takes the left and fills width */
    .nav-sections .navigation .level0>a>span:not(.ui-menu-icon) {
        order: 1;
        flex: 1 1 auto;
        text-align: left !important;
        color: inherit !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Chevron sits on the far right, not over the text */
    .nav-sections .navigation .level0>a>.ui-menu-icon {
        order: 2;
        margin-left: auto;
        flex: 0 0 auto;
        width: auto;
        height: auto;
        position: static !important;
        transform: none !important;
    }

    /* Hover/active colours */
    .nav-sections .navigation .level0>a:hover,
    .nav-sections .navigation .level0.current>a,
    .nav-sections .navigation .level0.active>a {
        background: var(--plum-100) !important;
        color: var(--plum-600) !important;
    }
}

/* Seasonal CTA layout only */
.seasonal .seasonal-ctas {
    display: flex;
    flex-wrap: wrap;
    /* allow wrapping instead of overlap */
    gap: 12px;
    /* space between buttons */
    margin-top: 12px;
}

.seasonal .seasonal-ctas .button {
    flex: 1 1 220px;
    /* sit side-by-side when there’s room */
    text-align: center;
    min-width: 0;
    /* prevents iOS flex overflow */
}

/* On narrow phones, stack them full-width */
@media (max-width: 420px) {
    .seasonal .seasonal-ctas .button {
        flex: 1 0 100%;
    }
}

/* Contact page button colour */
.cms-contact-us .action.submit.primary,
.contact-index-index .action.submit.primary {
    background: #3A1D3E;
    border-color: #3A1D3E;
    color: #fff;
}

.cms-contact-us .action.submit.primary:hover,
.contact-index-index .action.submit.primary:hover {
    filter: brightness(1.1);
}

/* ===== MOBILE NAV: submenus ===== */

/* Desktop logo size ONLY — no stacking/overflow side-effects */
@media (min-width: 768px) {
    .page-header .logo {
        position: static !important;
        /* keep it in normal flow */
        inset: auto !important;
        display: inline-block;
    }

    .page-header .logo img {
        max-height: 100px;
        /* adjust: 56–72px usually looks good */
        height: auto;
        width: auto;
        display: block;
    }

    /* make sure the header never clips dropdowns */
    .page-header .header.content {
        overflow: visible !important;
    }
}

/* =================== CHECKOUT POLISH =================== */

/* 1) Postcode lookup row: keep input + button on one line, same height */
.checkout-shipping-address .form.form-shipping-address .field,
.checkout-index-index .form.form-shipping-address .field {
    /* scope to checkout only */
    /* nothing here, just bumping specificity below */
}

.checkout-shipping-address input[placeholder*="postcod" i] {
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 10px;
    box-sizing: border-box;
}

/* common “Find my Address” buttons used by lookup extensions */
.checkout-shipping-address .action.find,
.checkout-shipping-address .action.lookup,
.checkout-shipping-address .action.search,
.checkout-shipping-address .actions .action,
.checkout-shipping-address input[placeholder*="postcod" i]~.action {
    height: 40px;
    line-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    background: var(--plum);
    border-color: var(--plum);
    color: #fff;
    font-weight: 700;
}

/* put input + button on one row with a small gap */
.checkout-shipping-address input[placeholder*="postcod" i] {
    display: inline-block;
    vertical-align: middle;
    width: auto;
    /* prevent 100% width pushing the button down */
    max-width: 320px;
    /* tweak as desired */
    margin-right: 8px;
}

.checkout-shipping-address input[placeholder*="postcod" i]~.action {
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 640px) {

    /* let them stack nicely on small screens */
    .checkout-shipping-address input[placeholder*="postcod" i] {
        display: block;
        width: 100%;
        max-width: none;
        margin: 0 0 8px 0;
    }

    .checkout-shipping-address input[placeholder*="postcod" i]~.action {
        width: 100%;
    }
}

/* 2) Primary CTAs (Next, Place Order, Apply buttons) in plum */
.checkout-container .action.primary,
.cart-container .action.primary,
.cart-summary .action.primary,
.opc-estimated-wrapper .action.primary,
.payment-option-content .actions-toolbar .action.primary,
.opc-wrapper .button.action.primary {
    background: var(--plum) !important;
    border-color: var(--plum) !important;
    color: #fff !important;
    border-radius: 10px;
    font-weight: 700;
}

.checkout-container .action.primary:hover,
.cart-container .action.primary:hover,
.cart-summary .action.primary:hover,
.payment-option-content .actions-toolbar .action.primary:hover,
.opc-wrapper .button.action.primary:hover {
    background: var(--plum-600) !important;
    border-color: var(--plum-600) !important;
}

/* “Apply Discount Code” toggle link + caret */
.checkout-payment-method .payment-option .action.action-toggle,
.checkout-payment-method .payment-option .action.action-toggle:hover {
    color: var(--plum) !important;
    text-decoration: none;
}

.checkout-payment-method .payment-option .action.action-toggle:focus {
    outline: 2px solid var(--plum-100);
}

/* 3) Inputs (phone, address, etc.) focus/accents */
.checkout-container input[type="text"],
.checkout-container input[type="tel"],
.checkout-container input[type="email"],
.checkout-container select,
.checkout-container textarea {
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 10px;
}

.checkout-container input[type="text"]:focus,
.checkout-container input[type="tel"]:focus,
.checkout-container input[type="email"]:focus,
.checkout-container select:focus,
.checkout-container textarea:focus {
    border-color: var(--plum);
    box-shadow: 0 0 0 3px rgba(110, 42, 90, .18);
    outline: none;
}

/* radios/checkboxes in plum */
.checkout-container input[type="radio"],
.checkout-container input[type="checkbox"] {
    accent-color: var(--plum);
}

/* Coupon “Apply” btn specifically (some themes rename it) */
.payment-option-content .actions-toolbar .action.apply.primary {
    background: var(--plum) !important;
    border-color: var(--plum) !important;
}

.payment-option-content .actions-toolbar .action.apply.primary:hover {
    background: var(--plum-600) !important;
    border-color: var(--plum-600) !important;
}

/* ================= MOBILE PATCHES ================= */

/* 1) Search bar dropdown shouldn't span full width */
@media (max-width: 767px) {
    .header .block-search {
        width: 100%;
        max-width: 560px;
        /* contain it */
        margin: 6px auto 0;
        /* center */
        border-radius: 12px;
    }

    .header .block-search .control input#search {
        width: 100%;
    }
}

/* 2) Hamburger (nav-toggle) – make visible & branded */
@media (max-width: 1024px) {
    .nav-toggle {
        width: 40px;
        height: 40px;
        border-radius: 999px;
        background: var(--plum);
        /* solid chip */
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
    }

    .nav-toggle:before {
        color: #fff;
        font-size: 22px;
        line-height: 1;
    }

    .nav-toggle:hover {
        filter: brightness(1.05);
    }
}

/* 3) Hero “Explore collections” button alignment/shape */
.hero-banner .button,
.pagebuilder-banner .pagebuilder-button-primary,
.pagebuilder-banner a.action.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 12px 18px;
    border-radius: 9999px;
    background: var(--plum);
    border: none;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.hero-banner .button:hover {
    background: var(--plum-600);
}


/* 5) Mobile menu: narrower drawer, tap outside to close (no full cover) */
@media (max-width:1024px) {
    .nav-sections {
        width: 78vw !important;
        max-width: 340px;
    }

    /* show a dim backdrop that allows tapping to close */
    .nav-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .35);
        z-index: 300;
        pointer-events: auto;
        /* allow click */
    }
}

/* If your theme isn’t closing on backdrop tap, enable this simple pointer cursor */
@media (max-width:1024px) {
    .nav-open::before {
        cursor: pointer;
    }
}

/* 6) Filters on mobile – push below products (instead of above) */
@media (max-width: 767px) {
    .page-products .columns {
        display: flex;
        flex-direction: column;
    }

    .page-products .columns .sidebar {
        order: 3;
    }

    /* filters after grid */
    .page-products .columns .column.main {
        order: 1;
    }
}

/* Optional: hide filter panel by default, show a compact toggle button */
@media (max-width:767px) {
    .page-products .block.filter {
        display: none;
    }

    .page-products .toolbar-products {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .page-products .toolbar-products::after {
        content: "Filter";
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 12px;
        border-radius: 999px;
        background: var(--plum);
        color: #fff;
        font-weight: 700;
        cursor: pointer;
    }

    /* When Magento adds .filter-active to body, show panel (you can toggle via small JS) */
    body.filter-active .page-products .block.filter {
        display: block;
        margin-top: 10px;
    }
}

/* 7) Pagination – smaller pills on mobile */
@media (max-width:767px) {

    .page-products .pages .items .item a,
    .page-products .pages .items .item strong {
        min-width: 30px;
        height: 30px;
        padding: 0 8px;
        font-size: 12px;
    }

    .page-products .pages .action.next,
    .page-products .pages .action.previous {
        width: 30px;
        height: 30px;
    }
}

/* 8) “Be the first to review…” link – make plum, not blue */
.product-info-main .product-add-form .reviews-actions a,
.product-info-main .product.attribute.overview a,
.product-info-main .review-add a,
.product-info-main a[href*="review"] {
    color: var(--plum) !important;
    text-decoration: none;
}

.product-info-main .reviews-actions a:hover {
    color: var(--plum-600) !important;
    text-decoration: underline;
}

/* 9) Category filter counts and links – ensure plum/on-brand */
.page-products .block.filter .filter-options-content .item a {
    color: var(--ink);
}

.page-products .block.filter .filter-options-title {
    color: var(--plum);
}

/* 10) Make the search dropdown chip not collide with header elements */
@media (max-width:767px) {
    .page-header .header.content {
        display: grid;
        grid-template-columns: 40px 1fr 40px;
        gap: 10px;
    }

    .nav-toggle {
        grid-column: 1;
    }

    .page-header .logo {
        grid-column: 2;
        justify-self: center;
    }

    .minicart-wrapper {
        grid-column: 3;
        justify-self: end;
    }

    .header .block-search {
        grid-column: 1 / -1;
    }
}

/* ================= REMAINING MOBILE FIXES ================= */

/* B) SEARCH BAR: stop the full-bleed behaviour on mobile and center it */
@media (max-width: 767px) {

    .page-header .header.content .block.block-search,
    .page-header .block-search {
        width: auto !important;
        max-width: 560px !important;
        margin: 6px auto 0 !important;
        display: block !important;
    }

    .page-header .block-search .control input#search {
        width: 100% !important;
    }
}

/* C) CATEGORY GRID: stop “Add to Cart” collisions and keep rows aligned */
@media (max-width: 767px) {

    /* make each product card a tidy vertical flex stack */
    .products-grid .product-item-info {
        display: flex !important;
        flex-direction: column;
        height: 100%;
    }

    .products-grid .product-item-details {
        display: flex;
        flex-direction: column;
        gap: 6px;
        flex: 1 1 auto;
    }

    /* reserve space for the review row so cards stay same height whether review exists or not */
    .products-grid .product-reviews-summary,
    .product-item .reviews-actions {
        min-height: 20px;
        margin: 2px 0 0;
    }

    /* push the actions area to the bottom consistently */
    .products-grid .product-item-inner,
    .products-grid .product-item-actions {
        margin-top: auto !important;
    }

    /* make the add-to-cart a contained block (no overflow) */
    .products-grid .product-item .actions-primary {
        width: 100%;
    }

    .products-grid .product-item .actions-primary .action.tocart {
        display: block;
        width: 100%;
        max-width: 220px;
        /* optional: makes them smaller so they don't butt together */
        margin: 6px auto 0;
        /* center on mobile */
        border-radius: 999px;
    }

    /* when cards sit very tight, trim inner spacing a bit */
    .products-grid .product-item .product-item-details {
        padding: 0 8px 12px;
    }
}

/* D) REVIEW LINKS: make plum everywhere (PLP + PDP) */
.product-item .reviews-actions a,
.product-item .product-reviews-summary .reviews-actions a,
.product-info-main .reviews-actions a,
.product-info-main a[href*="review"] {
    color: var(--plum) !important;
    text-decoration: none;
}

.product-item .reviews-actions a:hover,
.product-info-main .reviews-actions a:hover {
    color: var(--plum-600) !important;
    text-decoration: underline;
}

/* E) HAMBURGER VISIBILITY (keeps your purple chip) */
@media (max-width:1024px) {
    .nav-toggle {
        width: 40px;
        height: 40px;
        border-radius: 999px;
        background: var(--plum) !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
    }

    .nav-toggle:before {
        color: #fff !important;
        font-size: 22px;
        line-height: 1;
    }
}

/* F) MENU DRAWER: narrower so you can still tap page behind to close */
@media (max-width:1024px) {
    .nav-sections {
        width: 78vw !important;
        max-width: 340px !important;
    }
}

/* G) HERO CTA: fix malformed “Explore Collections” button */
.hero-banner .pagebuilder-button-primary,
.hero-banner .button,
.pagebuilder-banner .pagebuilder-button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 12px 18px;
    border-radius: 9999px;
    background: var(--plum) !important;
    color: #fff !important;
    border: none;
    font-weight: 700;
    text-decoration: none;
}

.hero-banner .pagebuilder-button-primary:hover {
    background: var(--plum-600) !important;
}

/* Mobile: show Filter button + toggle the panel */
@media (max-width:767px) {
    .page-products .block.filter {
        display: none;
    }

    body.filter-active .page-products .block.filter {
        display: block;
        margin-top: 10px;
    }

    /* Style the new button */
    .m-filter-btn.action.primary {
        background: var(--plum);
        border-color: var(--plum);
        border-radius: 999px;
        padding: 8px 14px;
        font-weight: 700;
        margin-left: 10px;
    }

    .m-filter-btn.action.primary:hover {
        background: var(--plum-600);
        border-color: var(--plum-600);
    }
}

/* kill the pseudo Filter chip I added earlier */
.page-products .toolbar-products::after {
    content: none !important;
}

/* if your theme has a built-in small filter chip in the toolbar, hide it
   so we only keep the JS button below */
.page-products .toolbar-products .action-filter,
.page-products .toolbar-products .filter-toggle,
.page-products .toolbar-products .filter {
    display: none !important;
}

@media (max-width:767px) {
    .page-products .block.filter {
        display: none;
    }

    body.filter-active .page-products .block.filter {
        display: block;
        margin-top: 10px;
    }

    .m-filter-btn.action.primary {
        background: var(--plum);
        border-color: var(--plum);
        border-radius: 999px;
        padding: 8px 14px;
        font-weight: 700;
        margin-left: 10px;
    }

    .m-filter-btn.action.primary:hover {
        background: var(--plum-600);
        border-color: var(--plum-600);
    }
}

/* mobile search: pin the icon inside the input, no floating chip */
@media (max-width:767px) {
    .page-header .block-search {
        position: relative !important;
        background: transparent !important;
    }

    .page-header .block-search .control {
        position: relative !important;
    }

    .page-header .block-search .action.search {
        position: absolute !important;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        width: 34px;
        height: 34px;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 8px;
        z-index: 2;
    }

    .page-header .block-search .control input#search {
        width: 100% !important;
        padding-right: 46px !important;
        height: 42px;
        border-radius: 12px;
    }
}

@media (max-width: 767px) {

    /* tidy vertical stack */
    .products-grid .product-item-info {
        display: flex !important;
        flex-direction: column;
        height: 100%;
    }

    .products-grid .product-item-details {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    /* reserve review row height so cards align whether or not there’s a review */
    .products-grid .product-reviews-summary,
    .products-grid .reviews-actions {
        min-height: 18px;
        margin-top: 2px;
    }

    /* actions at bottom + full-width button */
    .products-grid .product-item-inner,
    .products-grid .product-item-actions {
        margin-top: auto !important;
    }

    .products-grid .product-item .actions-primary {
        padding: 0 6px;
    }

    .products-grid .product-item .actions-primary .action.tocart {
        display: block;
        width: 100%;
        /* full column */
        min-height: 36px;
        padding: 10px 12px;
        font-size: 13px;
        line-height: 1;
        letter-spacing: .02em;
        margin: 8px 0 0;
        border-radius: 999px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Mobile PLP buttons: smaller font, full column, no collisions */
@media (max-width: 767px) {
    .products-grid .product-item .actions-primary .action.tocart {
        display: block;
        width: 100%;
        min-height: 34px;
        padding: 8px 10px;
        font-size: 12.5px;
        line-height: 1;
        letter-spacing: .01em;
        margin: 8px 0 0;
        border-radius: 999px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* keep review row from changing card height */
    .products-grid .product-reviews-summary,
    .products-grid .reviews-actions {
        min-height: 18px;
        margin-top: 2px;
    }
}

/* Only show filter panel when toggled on phones */
@media (max-width: 767px) {

    .page-products .columns .sidebar .block.filter,
    .page-products .block.filter {
        display: none;
    }

    .page-products .columns .sidebar .block.filter.is-open,
    .page-products .block.filter.is-open {
        display: block;
        margin-top: 10px;
    }

    /* ensure only ONE “Filter” button shows (hide any theme one) */
    .page-products .toolbar-products .action-filter,
    .page-products .toolbar-products .filter-toggle {
        display: none !important;
    }
}

/* Mobile search: keep icon inside the input + don't overlap breadcrumbs */
@media (max-width: 767px) {
    .page-header .block-search {
        position: relative !important;
        background: transparent !important;
        margin-bottom: 6px;
    }

    .page-header .block-search .control {
        position: relative !important;
    }

    .page-header .block-search .action.search {
        position: absolute !important;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        width: 34px;
        height: 34px;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 8px;
        z-index: 2;
    }

    .page-header .block-search .action.search:before {
        /* some themes draw a bubble via :before */
        background: none !important;
        box-shadow: none !important;
    }

    .page-header .block-search .control input#search {
        width: 100% !important;
        padding-right: 46px !important;
        height: 42px;
        border-radius: 12px;
    }

    /* give breadcrumbs a tiny nudge below header */
    .breadcrumbs {
        margin-top: 4px;
    }
}

/* === FIX MOBILE SEARCH SUBMIT BUTTON === */

/* 0) Remove the white "chip" background we added earlier */
.page-header .block-search {
    background: transparent !important;
    padding: 0 !important;
    position: relative !important;
}

/* 1) Make the search field full-width and reserve space for the icon */
.page-header .block-search .control {
    position: relative !important;
}

.page-header .block-search .control input#search,
.page-header .block-search input[type="text"] {
    width: 100% !important;
    height: 42px !important;
    border-radius: 12px !important;
    padding-right: 46px !important;
    /* room for icon */
}

/* 2) Force ALL search submit buttons to sit inside the field (no chips) */
.page-header .header.content .block-search .action.search,
.minisearch .actions .action.search {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 2 !important;
}

/* 3) Hide any text label and rely on the icon glyph */
.page-header .block-search .action.search>span,
.minisearch .actions .action.search>span {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* 4) Make sure the icon shows and is sized correctly */
.page-header .block-search .action.search:before,
.minisearch .actions .action.search:before {
    font-size: 18px !important;
    line-height: 34px !important;
    opacity: 1 !important;
}

/* 5) Keep breadcrumbs clear of the search area */
.breadcrumbs {
    margin-top: 6px;
}

/* === SEARCH CHIP: push back & remove stray background === */

/* Keep the search block below the breadcrumbs layer */
.page-header .block-search {
    position: relative !important;
    z-index: 1 !important;
}

/* Breadcrumbs should sit above */
.breadcrumbs {
    position: relative;
    z-index: 3;
}

/* Place the submit button INSIDE the input and behind the crumbs */
.page-header .block-search .action.search,
.minisearch .actions .action.search {
    position: absolute !important;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 2;
    /* input is 2, crumbs are 3 */
}

/* Input reserves space for the icon */
.page-header .block-search .control {
    position: relative !important;
}

.page-header .block-search .control input#search,
.page-header .block-search input[type="text"] {
    width: 100% !important;
    height: 42px !important;
    border-radius: 12px !important;
    padding-right: 46px !important;
}

/* Nuke any “chip” drawn via pseudo-elements by the theme */
.page-header .block-search .action.search::after,
.page-header .block-search .action.search::before {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Keep the magnifier glyph visible (font-icon themes use :before) */
.page-header .block-search .action.search::before {
    font-size: 18px !important;
    line-height: 34px !important;
    opacity: 1 !important;
    color: inherit !important;
}

/* === FINAL: tame the mobile search chip === */
@media (max-width: 767px) {

    /* Keep the search block contained and centered */
    .page-header .block-search {
        position: relative !important;
        background: transparent !important;
        width: auto !important;
        max-width: 560px !important;
        margin: 6px auto 0 !important;
        padding: 0 !important;
        z-index: 1 !important;
        /* breadcrumbs will sit above if needed */
    }

    /* The field wrapper holds everything and CLIPS overflow */
    .page-header .block-search .control {
        position: relative !important;
        overflow: hidden !important;
        /* ← clips any stray “pill” edges */
        border-radius: 12px !important;
    }

    /* The input reserves room for the icon */
    .page-header .block-search .control input#search,
    .page-header .block-search input[type="text"] {
        width: 100% !important;
        height: 42px !important;
        padding-right: 46px !important;
        /* space for the icon */
        border-radius: 12px !important;
    }

    /* FORCE the submit button to the RIGHT, no background, no shadow */
    .page-header .block-search .actions .action.search,
    .page-header .block-search .action.search,
    .minisearch .actions .action.search {
        position: absolute !important;
        left: auto !important;
        /* ← cancel any left positioning */
        right: 8px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 8px !important;
        background: transparent !important;
        box-shadow: none !important;
        z-index: 2 !important;
        /* input is under, crumbs can be over */
    }

    /* Kill any decorative “pill” pseudo-elements some themes add */
    .page-header .block-search .action.search::after,
    .page-header .block-search .action.search::before {
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
    }

    /* Keep the magnifier glyph visible/centered if your theme uses :before icon-font */
    .page-header .block-search .action.search:before {
        font-size: 18px !important;
        line-height: 34px !important;
        opacity: 1 !important;
        color: inherit !important;
    }

    /* Accessibility: hide any text label inside the button */
    .page-header .block-search .action.search>span,
    .minisearch .actions .action.search>span {
        position: absolute !important;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    /* Breadcrumbs get a little breathing room below header */
    .breadcrumbs {
        position: relative;
        z-index: 3;
        margin-top: 6px;
    }
}

/* === SEARCH AUTOCOMPLETE ON TOP & PLACED UNDER INPUT === */
.page-header {
    overflow: visible !important;
}

/* safety */

.page-header .block-search {
    position: relative !important;
    z-index: 500 !important;
}

.page-header .block-search .control {
    position: relative !important;
    overflow: visible !important;
}

/* Luma/Magento uses .search-autocomplete */
.page-header .block-search .search-autocomplete,
.minisearch .search-autocomplete {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: calc(100% + 6px) !important;
    /* drops just below the input */
    z-index: 6000 !important;
    /* higher than hero/breadcrumbs */
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
    overflow: hidden;
}

/* list cosmetics (optional) */
.page-header .block-search .search-autocomplete ul {
    margin: 0;
    padding: 6px 0;
}

.page-header .block-search .search-autocomplete li {
    padding: 8px 12px;
}

.page-header .block-search .search-autocomplete li:hover {
    background: #f7f3f6;
}

/* === Search input + button: phone & tablet (≤1024px) === */
@media (max-width: 1024px) {
    .page-header .block-search {
        position: relative !important;
        background: transparent !important;
        width: auto !important;
        max-width: 640px !important;
        margin: 6px auto 0 !important;
        padding: 0 !important;
        z-index: 500 !important;
        /* sits above hero */
    }

    .page-header .block-search .control {
        position: relative !important;
        overflow: hidden !important;
        /* clip any chip edges */
        border-radius: 12px !important;
    }

    .page-header .block-search .control input#search,
    .page-header .block-search input[type="text"] {
        width: 100% !important;
        height: 42px !important;
        padding-right: 46px !important;
        /* room for icon */
        border-radius: 12px !important;
    }

    /* Force the submit to the RIGHT, no white chip */
    .page-header .block-search .actions .action.search,
    .page-header .block-search .action.search,
    .minisearch .actions .action.search {
        position: absolute !important;
        left: auto !important;
        /* cancel any left positioning */
        right: 8px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 8px !important;
        background: transparent !important;
        box-shadow: none !important;
        z-index: 2 !important;
    }

    /* Kill decorative pill drawn via pseudos at this breakpoint too */
    .page-header .block-search .action.search::before,
    .page-header .block-search .action.search::after {
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
    }

    .page-header .block-search .action.search>span,
    .minisearch .actions .action.search>span {
        position: absolute !important;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    /* Autocomplete dropdown above content and under input */
    .page-header {
        overflow: visible !important;
    }

    .page-header .block-search .search-autocomplete,
    .minisearch .search-autocomplete {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: calc(100% + 6px) !important;
        z-index: 6000 !important;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, .12);
        border-radius: 10px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
        overflow: hidden;
    }

    /* Breadcrumbs stay clear of the search area */
    .breadcrumbs {
        position: relative;
        z-index: 3;
        margin-top: 6px;
    }
}

/* ================= FOOTER TIDY ================= */
/* Social buttons—cap size so they don’t explode */
html body .page-footer .icons a {
    width: 38px !important;
    height: 38px !important;
    border-radius: 9999px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

html body .page-footer .icons :is(svg, img) {
    width: 20px !important;
    height: 20px !important;
    display: block;
}