/**
 * Cozy Storefront Design System (Dawn 15.4.1 Inspired)
 * Applied cleanly over Botiga without editing parent theme files.
 */

:root {
    --cozy-bg: #ffffff;
    --cozy-surface: #f3f3f3;
    --cozy-surface-alt: #f8f8f7;
    --cozy-ink: #121212;
    --cozy-ink-muted: #555555;
    --cozy-ink-soft: #757575;
    --cozy-border: #e5e5e5;
    --cozy-border-strong: rgba(18, 18, 18, 0.25);
    --cozy-star: #f5a623;
    --cozy-page-width: 1520px;
    --cozy-font-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html {
    overflow-x: clip;
}

body.cozy-storefront {
    background-color: var(--cozy-bg);
    color: var(--cozy-ink);
    font-family: var(--cozy-font-sans);
    font-size: 15px;
    line-height: 1.55;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

body.cozy-storefront h1,
body.cozy-storefront h2,
body.cozy-storefront h3,
body.cozy-storefront h4,
body.cozy-storefront h5,
body.cozy-storefront h6 {
    font-family: var(--cozy-font-sans);
    font-weight: 400;
    color: var(--cozy-ink);
    letter-spacing: -0.015em;
}

body.cozy-storefront a {
    color: var(--cozy-ink);
}

/* Wider Editorial Container aligned to Dawn page width */
body.cozy-storefront .container,
body.cozy-storefront .bhfb .container {
    max-width: var(--cozy-page-width);
    padding-left: clamp(16px, 3vw, 48px);
    padding-right: clamp(16px, 3vw, 48px);
}

/* ==========================================================================
   1. ANNOUNCEMENT BAR + STICKY HEADER + MAX MEGA MENU
   ========================================================================== */

body.cozy-storefront .bhfb-above_header_row {
    background-color: var(--cozy-ink);
    color: var(--cozy-bg);
    min-height: 36px !important;
    padding: 6px 0 !important;
    display: flex;
    align-items: center;
}

body.cozy-storefront .bhfb-above_header_row .bhfb-row,
body.cozy-storefront .bhfb-above_header_row .bhfb-column-1 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.cozy-storefront .bhfb-above_header_row .bhfb-component-html {
    width: 100%;
    text-align: center;
    justify-content: center !important;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cozy-bg);
    line-height: 1.4;
}

body.cozy-storefront .bhfb-above_header_row .bhfb-component-html p {
    margin: 0 !important;
    text-align: center !important;
}

body.cozy-storefront .bhfb-above_header_row a {
    color: var(--cozy-bg);
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.cozy-storefront .bhfb-main_header_row {
    background-color: var(--cozy-bg);
    border-bottom: none;
    min-height: 56px !important;
    padding-top: 8px;
    padding-bottom: 4px;
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

body.cozy-storefront .bhfb-below_header_row {
    background-color: var(--cozy-bg);
    border-bottom: 1px solid #ececec;
    position: relative;
    z-index: 95;
    transition: box-shadow 0.2s ease;
}

body.cozy-storefront .bhfb-header.is-sticky .bhfb-above_header_row,
body.cozy-storefront .sticky-header-active .bhfb-above_header_row {
    display: none;
}

body.cozy-storefront .sticky-header-active .bhfb-below_header_row,
body.cozy-storefront .bhfb-header.is-sticky .bhfb-below_header_row {
    box-shadow: 0 8px 24px rgba(18, 18, 18, 0.06);
}

body.cozy-storefront .bhfb-desktop .bhfb-main_header_row .container-fluid,
body.cozy-storefront .bhfb-desktop .bhfb-below_header_row .container-fluid {
    max-width: var(--cozy-page-width);
    margin: 0 auto;
    padding-left: clamp(16px, 3vw, 48px);
    padding-right: clamp(16px, 3vw, 48px);
}

body.cozy-storefront .bhfb-main_header_row .bhfb-column-2 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

body.cozy-storefront .bhfb-header .site-branding:has(.custom-logo) .site-title {
    display: none;
}

body.cozy-storefront .bhfb-header .site-branding .custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

body.cozy-storefront .bhfb-header .site-branding .custom-logo {
    height: 22px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
}

@media (max-width: 767px) {
    body.cozy-storefront .bhfb-header .site-branding .custom-logo {
        height: 17px;
    }
}

body.cozy-storefront .bhfb-header .site-branding .site-title {
    margin: 0;
    line-height: 1.1;
}

body.cozy-storefront .bhfb-header .site-branding .site-title a {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cozy-ink);
    text-decoration: none;
    white-space: nowrap;
}

body.cozy-storefront .bhfb-header .site-branding .site-description {
    display: none;
}

/* Header Action Icons */
body.cozy-storefront .bhfb-header .header-item {
    gap: 20px;
}

body.cozy-storefront .bhfb-header .header-search svg,
body.cozy-storefront .bhfb-header .header-account svg,
body.cozy-storefront .bhfb-header .site-header-cart svg {
    fill: var(--cozy-ink);
    color: var(--cozy-ink);
}

body.cozy-storefront .bhfb-header .site-header-cart .cart-contents .count-number {
    background-color: var(--cozy-ink);
    color: var(--cozy-bg);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 500;
}

/* Header Search Bar Overlay */
body.cozy-storefront .header-search-form.active {
    background: var(--cozy-bg);
    border-bottom: 1px solid var(--cozy-border);
    box-shadow: 0 12px 30px rgba(18, 18, 18, 0.08);
}

body.cozy-storefront .header-search-form input[type="search"],
body.cozy-storefront .header-search-form .search-field {
    border-radius: 0;
    border: 1px solid var(--cozy-border-strong);
    padding: 12px 16px;
    font-size: 15px;
    color: var(--cozy-ink);
    background: var(--cozy-bg);
}

/* Max Mega Menu Overrides (Dawn 2nd-Row Left-Aligned Nav + Full-Screen Flat Panel) */
@media (min-width: 1025px) {
    body.cozy-storefront .bhfb-below_header_row .bhfb-component-menu {
        width: 100%;
    }

    body.cozy-storefront #mega-menu-wrap-primary #mega-menu-primary {
        display: flex !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap;
        margin-left: -12px !important;
    }
}

body.cozy-storefront #mega-menu-wrap-primary,
body.cozy-storefront #mega-menu-wrap-primary #mega-menu-primary {
    background: transparent !important;
}

body.cozy-storefront #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    font-family: var(--cozy-font-sans) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: 0.015em !important;
    color: rgba(18, 18, 18, 0.78) !important;
    background: transparent !important;
    padding: 0 12px !important;
    height: 42px !important;
    line-height: 42px !important;
    position: relative;
}

body.cozy-storefront #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link,
body.cozy-storefront #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover {
    color: var(--cozy-ink) !important;
}

body.cozy-storefront #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 9px;
    height: 1px;
    background-color: var(--cozy-ink);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.2s ease;
}

body.cozy-storefront #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link::after,
body.cozy-storefront #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover::after {
    transform: scaleX(1);
}

body.cozy-storefront #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link > span.mega-indicator::after {
    transition: transform 0.2s ease;
    font-size: 12px;
    margin-left: 4px;
}

body.cozy-storefront #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link > span.mega-indicator::after {
    transform: rotate(180deg);
}

body.cozy-storefront #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu {
    background: var(--cozy-bg) !important;
    border: none !important;
    border-top: 1px solid #ececec !important;
    border-bottom: 1px solid #e5e5e5 !important;
    box-shadow: 0 20px 44px rgba(18, 18, 18, 0.06) !important;
    padding-top: 32px !important;
    padding-bottom: 42px !important;
    border-radius: 0 !important;
}

body.cozy-storefront #mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link {
    color: var(--cozy-ink-muted) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    padding: 3px 0 !important;
    background: transparent !important;
}

body.cozy-storefront #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
    color: var(--cozy-ink) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    margin-bottom: 10px !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

body.cozy-storefront #mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link:hover {
    color: var(--cozy-ink) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* ==========================================================================
   2. GLOBAL SQUARE BUTTONS & CONTROLS (DAWN 0PX / PILL VARIANT TOKENS)
   ========================================================================== */

body.cozy-storefront .cozy-btn,
body.cozy-storefront .wp-block-button__link,
body.cozy-storefront .button.alt,
body.cozy-storefront .woocommerce a.button,
body.cozy-storefront .woocommerce button.button,
body.cozy-storefront .woocommerce input.button {
    border-radius: 0;
    font-family: var(--cozy-font-sans);
    font-weight: 400;
    letter-spacing: 0.04em;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cozy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 28px;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--cozy-ink);
}

.cozy-btn--dark {
    background-color: var(--cozy-ink);
    color: var(--cozy-bg) !important;
}

.cozy-btn--dark:hover {
    background-color: #2b2b2b;
}

.cozy-btn--light {
    background-color: var(--cozy-bg);
    color: var(--cozy-ink) !important;
    border-color: var(--cozy-bg);
}

.cozy-btn--light:hover {
    background-color: var(--cozy-surface);
}

.cozy-btn--outline-light {
    background-color: transparent;
    color: var(--cozy-bg) !important;
    border-color: var(--cozy-bg);
}

.cozy-btn--outline-light:hover {
    background-color: rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   3. HOMEPAGE EDITORIAL SECTIONS
   ========================================================================== */

body.home.cozy-storefront .site-main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.home.cozy-storefront .content-wrapper {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.home.cozy-storefront .entry-header {
    display: none;
}

/* Edge-to-Edge Hero Cover */
.cozy-hero-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
}

.cozy-hero-bleed .wp-block-cover,
.cozy-hero-cover {
    min-height: clamp(420px, 47.65vw, 680px);
    padding: clamp(28px, 4vw, 56px) clamp(16px, 3vw, 48px) !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
}

/* Home Page Full-Bleed Editorial Hero Stage */
body.home.cozy-storefront .content-wrapper {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.home.cozy-storefront .entry-header {
    display: none !important;
}

body.home.cozy-storefront .entry-content,
body.home.cozy-storefront .site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

body.home.cozy-storefront .cozy-hero-bleed {
    position: relative !important;
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
    overflow: hidden;
    background-color: #181818;
}

.cozy-hero-stage {
    position: relative;
    width: 100%;
    height: clamp(460px, 47.65vw, 680px);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
}

.cozy-hero-img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: 50% 35%;
    display: block;
    z-index: 0;
}

.cozy-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.02) 38%, rgba(18, 18, 18, 0.52) 100%);
    z-index: 1;
    pointer-events: none;
}

.cozy-hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--cozy-page-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 3vw, 48px) clamp(36px, 4.2vw, 60px);
}

.cozy-hero-copy {
    max-width: 600px;
    text-align: left;
    padding: 0;
}

.cozy-hero-eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.cozy-hero-title {
    margin: 0 0 12px !important;
    font-size: clamp(32px, 3.6vw, 52px) !important;
    line-height: 1.08 !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em;
    color: #ffffff !important;
}

.cozy-hero-subtitle {
    margin: 0 0 22px;
    font-size: clamp(14px, 1.15vw, 17px);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

.cozy-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cozy-btn--hero-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 174px;
    min-height: 46px;
    padding: 12px 26px;
    background-color: #ffffff !important;
    color: #121212 !important;
    border: 1px solid #ffffff !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.cozy-btn--hero-light:hover {
    background-color: #f3f3f3 !important;
    color: #121212 !important;
}

/* Section Rhythm */
.cozy-section {
    padding: clamp(40px, 5vw, 72px) 0;
}

.cozy-section--compact {
    padding: clamp(28px, 3.5vw, 48px) 0;
}

.cozy-section__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.cozy-section__title {
    margin: 0;
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 400;
    letter-spacing: -0.015em;
    color: var(--cozy-ink);
}

.cozy-section__link {
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--cozy-ink);
    border-bottom: 1px solid var(--cozy-ink);
    padding-bottom: 2px;
    white-space: nowrap;
}

.cozy-section__link:hover {
    opacity: 0.7;
}

.cozy-section__footer {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

/* 5-Col Collections Grid */
.cozy-collections-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.cozy-collection-card {
    display: block;
    text-decoration: none;
    color: var(--cozy-ink);
}

.cozy-collection-card__media {
    aspect-ratio: 1 / 1.05;
    background-color: #f4f4f4;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}

.cozy-collection-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    mix-blend-mode: multiply;
    display: block;
    transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cozy-collection-card:hover .cozy-collection-card__media img {
    transform: scale(1.04);
}

.cozy-collection-card__title {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    color: var(--cozy-ink);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cozy-collection-card__arrow {
    transition: transform 0.2s ease;
    font-size: 14px;
}

.cozy-collection-card:hover .cozy-collection-card__arrow {
    transform: translateX(4px);
}

/* 2-Col Editorial Split Banners */
.cozy-split-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cozy-split-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    aspect-ratio: 4 / 4.1;
    overflow: hidden;
    background-color: var(--cozy-surface);
    text-decoration: none;
    padding: clamp(24px, 3vw, 44px);
}

.cozy-split-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cozy-split-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.02) 35%, rgba(18, 18, 18, 0.62) 100%);
    z-index: 1;
}

.cozy-split-card:hover .cozy-split-card__img {
    transform: scale(1.04);
}

.cozy-split-card__content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 420px;
}

.cozy-split-card__eyebrow {
    margin: 0 0 6px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.cozy-split-card__title {
    margin: 0 0 14px;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 400;
    color: #ffffff !important;
}

/* Dawn Surface Trust Band */
.cozy-trust-strip {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: var(--cozy-surface);
    border-top: 1px solid var(--cozy-border);
    border-bottom: 1px solid var(--cozy-border);
    padding: 40px 0;
}

.cozy-trust-strip__grid {
    max-width: var(--cozy-page-width);
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 48px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.cozy-trust-item {
    border-left: 1px solid var(--cozy-border);
    padding-left: 20px;
}

.cozy-trust-item:first-child {
    border-left: none;
    padding-left: 0;
}

.cozy-trust-item__title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 500;
    color: var(--cozy-ink);
}

.cozy-trust-item__desc {
    margin: 0;
    font-size: 13px;
    color: var(--cozy-ink-muted);
    line-height: 1.5;
}

/* ==========================================================================
   4. SHARED PRODUCT CARD & GRIDS (HOME + SHOP/COLLECTIONS + SEARCH + RELATED)
   ========================================================================== */

body.cozy-storefront ul.products,
.cozy-products-shortcode ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 32px 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.cozy-storefront ul.products::before,
body.cozy-storefront ul.products::after {
    display: none !important;
    content: none !important;
}

body.cozy-storefront .cozy-products-shortcode--cols-5 ul.products {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

body.cozy-storefront ul.products li.product {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    text-align: left !important;
    background: transparent;
}

body.cozy-storefront ul.products li.product > a.woocommerce-LoopProduct-link {
    order: 1;
    display: block;
    width: 100%;
    text-decoration: none;
}

body.cozy-storefront ul.products li.product .loop-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.15;
    background-color: #f6f6f6;
    overflow: hidden;
    border-radius: 0 !important;
    margin: 0 0 12px 0 !important;
}

body.cozy-storefront ul.products li.product .loop-image-wrap img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: top center;
    mix-blend-mode: multiply;
    display: block;
    transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
    border-radius: 0 !important;
}

body.cozy-storefront ul.products li.product .loop-image-wrap img.cozy-secondary-img {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 2;
    mix-blend-mode: normal;
    background-color: #f6f6f6;
    pointer-events: none;
}

body.cozy-storefront ul.products li.product:not(.is-swatch-preview):hover .loop-image-wrap:has(.cozy-secondary-img) img.cozy-secondary-img,
body.cozy-storefront ul.products li.product:not(.is-swatch-preview) .loop-image-wrap:hover:has(.cozy-secondary-img) img.cozy-secondary-img {
    opacity: 1 !important;
    transform: scale(1.03);
}

body.cozy-storefront ul.products li.product:not(.is-swatch-preview):hover .loop-image-wrap:has(.cozy-secondary-img) > img:not(.cozy-secondary-img),
body.cozy-storefront ul.products li.product:not(.is-swatch-preview) .loop-image-wrap:hover:has(.cozy-secondary-img) > img:not(.cozy-secondary-img) {
    opacity: 0 !important;
}

body.cozy-storefront ul.products li.product:hover .loop-image-wrap > img:not(.cozy-secondary-img),
body.cozy-storefront ul.products li.product.is-swatch-preview:hover .loop-image-wrap > img:not(.cozy-secondary-img) {
    opacity: 1;
    transform: scale(1.03);
}

/* Remove busy floating Select Options buttons from cards to match Dawn clean photo surface */
body.cozy-storefront ul.products li.product .loop-button-wrap {
    display: none !important;
}

/* Dawn Sale Badge Pill (Title case "Sale" matching target) */
body.cozy-storefront ul.products li.product .loop-image-wrap .onsale,
body.cozy-storefront .cozy-pdp-sale-pill {
    background-color: var(--cozy-ink) !important;
    color: var(--cozy-bg) !important;
    border-radius: 40px !important;
    padding: 5px 12px !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    line-height: 1.2 !important;
    min-height: auto !important;
    min-width: auto !important;
    box-shadow: none !important;
}

body.cozy-storefront ul.products li.product .loop-image-wrap .onsale {
    position: absolute !important;
    top: auto !important;
    right: auto !important;
    bottom: 10px !important;
    left: 10px !important;
    margin: 0 !important;
    z-index: 3 !important;
}

body.cozy-storefront ul.products li.product .woocommerce-loop-product__title {
    order: 2;
    width: 100%;
    margin: 0 0 6px 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.cozy-storefront ul.products li.product .botiga-wc-loop-product__title {
    color: var(--cozy-ink) !important;
    text-decoration: none;
}

body.cozy-storefront ul.products li.product:hover .botiga-wc-loop-product__title {
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.cozy-storefront ul.products li.product .price {
    order: 3;
    width: 100%;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--cozy-ink) !important;
    text-align: left !important;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

body.cozy-storefront ul.products li.product .price del {
    color: var(--cozy-ink-soft);
    opacity: 0.75;
    font-size: 13px;
}

body.cozy-storefront ul.products li.product .price ins {
    background: transparent !important;
    text-decoration: none;
    font-weight: 500;
    color: var(--cozy-ink);
}

/* Card Color Swatches (Large 36px full-bleed circular studio photos below Title & Price matching Dawn) */
.cozy-card-swatches {
    order: 4;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 10px 0 0 0;
    padding: 3px 4px;
    min-height: 42px;
}

.cozy-card-swatch {
    appearance: none;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #d4d4d4;
    background: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.15s ease, outline-color 0.15s ease;
}

.cozy-card-swatch__inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    overflow: hidden;
    background-color: #f3f3f3;
}

.cozy-card-swatch__inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    mix-blend-mode: multiply;
    display: block;
}

.cozy-card-swatch:hover,
.cozy-card-swatch.is-active {
    border-color: var(--cozy-ink);
    outline: 1.5px solid var(--cozy-ink);
    outline-offset: 2px;
    box-shadow: none;
}

.cozy-card-swatch-more {
    font-size: 12px;
    color: var(--cozy-ink-soft);
    margin-left: 2px;
}

/* ==========================================================================
   5. ARCHIVE / COLLECTION / SEARCH LISTING PAGE
   ========================================================================== */

body.cozy-storefront.woocommerce-page .woocommerce-breadcrumb {
    font-size: 12px;
    color: var(--cozy-ink-soft);
    margin: 18px 0 6px;
}

body.cozy-storefront.woocommerce-page .woocommerce-breadcrumb a {
    color: var(--cozy-ink-soft);
    text-decoration: none;
}

body.cozy-storefront.woocommerce-page .woocommerce-breadcrumb a:hover {
    color: var(--cozy-ink);
    text-decoration: underline;
}

/* Botiga Outer WooCommerce Page Header (Left-Aligned Editorial Style matching Dawn) */
body.cozy-storefront .woocommerce-page-header {
    padding: 20px 0 14px !important;
    margin-bottom: 0 !important;
    background-color: var(--cozy-bg) !important;
    text-align: left !important;
}

body.cozy-storefront .woocommerce-page-header > .container,
body.cozy-storefront .woocommerce-page-header > .container > * {
    text-align: left !important;
}

body.cozy-storefront .woocommerce-page-header + .content-wrapper {
    margin-top: 8px !important;
}

body.cozy-storefront .woocommerce-page-header h1.woocommerce-products-header__title,
body.cozy-storefront .woocommerce-products-header__title,
body.cozy-storefront.search .page-title {
    font-size: clamp(26px, 2.6vw, 38px) !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    margin: 4px 0 6px 0 !important;
    text-align: left !important;
}

body.cozy-storefront .woocommerce-page-header .term-description,
body.cozy-storefront .woocommerce-page-header .page-description,
body.cozy-storefront .woocommerce-products-header .term-description {
    margin: 4px 0 0 !important;
    max-width: 720px;
    color: var(--cozy-ink-muted) !important;
    font-size: 14px;
    text-align: left !important;
}

body.cozy-storefront .woocommerce-products-header {
    text-align: left !important;
    padding: 0 !important;
    margin-bottom: 8px !important;
    border-bottom: none !important;
}

/* Subcategory Pill Rail */
.cozy-subcat-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px 0;
}

.cozy-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 40px;
    border: 1px solid #d4d4d4;
    background-color: var(--cozy-bg);
    color: var(--cozy-ink);
    font-size: 12px;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cozy-pill:hover {
    border-color: var(--cozy-ink);
}

.cozy-pill.is-active {
    background-color: var(--cozy-ink);
    color: var(--cozy-bg);
    border-color: var(--cozy-ink);
}

/* Single-Row Minimalist Filter + Sort Toolbar (Dawn 15.4.1 Style) */
body.cozy-storefront .woocommerce-sorting-wrapper {
    margin: 8px 0 24px 0 !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #ececec !important;
}

body.cozy-storefront .woocommerce-sorting-wrapper > .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px 20px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.cozy-storefront .woocommerce-sorting-wrapper .botiga-sorting-left,
body.cozy-storefront .woocommerce-sorting-wrapper .botiga-sorting-right {
    width: auto !important;
    max-width: none !important;
    flex: 0 1 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.cozy-storefront .botiga-sorting-left-inner,
body.cozy-storefront .botiga-sorting-right-inner {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center !important;
    gap: 14px;
}

.cozy-toolbar-label {
    font-size: 13px;
    color: var(--cozy-ink-muted);
    margin-right: 2px;
    white-space: nowrap;
}

.cozy-toolbar-count {
    font-size: 13px;
    color: var(--cozy-ink-muted);
    white-space: nowrap;
    margin-left: 8px;
}

.cozy-facet-form {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 0;
}

body.cozy-storefront .woocommerce-sorting-wrapper select.cozy-facet-select,
body.cozy-storefront .woocommerce-sorting-wrapper .woocommerce-ordering select.orderby {
    width: auto !important;
    max-width: 190px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    display: inline-block !important;
    border: none !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    background-position: right 2px center !important;
    background-size: 10px 10px !important;
    padding: 4px 20px 4px 0 !important;
    margin: 0 !important;
    color: var(--cozy-ink) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    box-shadow: none !important;
    cursor: pointer;
}

body.cozy-storefront .woocommerce-sorting-wrapper select.cozy-facet-select:hover,
body.cozy-storefront .woocommerce-sorting-wrapper .woocommerce-ordering select.orderby:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.cozy-storefront .woocommerce-sorting-wrapper select.cozy-facet-select:focus,
body.cozy-storefront .woocommerce-sorting-wrapper .woocommerce-ordering select.orderby:focus {
    outline: none !important;
    box-shadow: none !important;
}

.cozy-active-filters-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: -12px 0 22px 0;
}

.cozy-active-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 40px;
    background-color: var(--cozy-surface);
    color: var(--cozy-ink);
    font-size: 12px;
    text-decoration: none;
}

.cozy-active-chip:hover {
    background-color: #e4e4e4;
}

.cozy-clear-filters {
    font-size: 12px;
    color: var(--cozy-ink-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.cozy-storefront .woocommerce-result-count {
    margin: 0 !important;
    font-size: 13px;
    color: var(--cozy-ink-soft);
}

/* Pagination */
body.cozy-storefront nav.woocommerce-pagination {
    margin-top: 48px;
    margin-bottom: 24px;
    text-align: center;
}

body.cozy-storefront nav.woocommerce-pagination ul.page-numbers {
    display: inline-flex;
    gap: 6px;
    border: none;
}

body.cozy-storefront nav.woocommerce-pagination ul.page-numbers li a,
body.cozy-storefront nav.woocommerce-pagination ul.page-numbers li span {
    min-width: 40px;
    height: 40px;
    line-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--cozy-border);
    border-radius: 0;
    color: var(--cozy-ink);
    background: var(--cozy-bg);
    font-size: 13px;
    text-decoration: none;
}

body.cozy-storefront nav.woocommerce-pagination ul.page-numbers li span.current {
    background-color: var(--cozy-ink);
    color: var(--cozy-bg);
    border-color: var(--cozy-ink);
}

/* ==========================================================================
   6. PRODUCT DETAIL PAGE (PDP)
   ========================================================================== */

body.cozy-storefront.single-product .content-wrapper {
    margin-top: 20px !important;
    margin-bottom: 40px !important;
}

body.cozy-storefront.single-product #primary.site-main {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

body.cozy-storefront.single-product .product-gallery-summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.88fr) !important;
    gap: clamp(32px, 4.5vw, 68px) !important;
    align-items: start;
    margin-top: 12px;
}

/* Remove floating Sale badge covering the gallery image in favor of inline price pill */
body.cozy-storefront.single-product .product-gallery-summary > .onsale {
    display: none !important;
}

body.cozy-storefront.single-product .product-gallery-summary .woocommerce-product-gallery,
body.cozy-storefront.single-product .product-gallery-summary .entry-summary {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.cozy-storefront.single-product .woocommerce-product-gallery {
    position: sticky;
    top: 96px;
    background-color: var(--cozy-bg);
}

body.cozy-storefront.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid #e2e2e2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-indent: 0 !important;
    box-shadow: 0 2px 8px rgba(18, 18, 18, 0.06);
    z-index: 20 !important;
}

body.cozy-storefront.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger img {
    width: 15px !important;
    height: 15px !important;
    filter: grayscale(1) contrast(1.4);
    opacity: 0.78;
}

body.cozy-storefront.single-product .woocommerce-product-gallery .flex-viewport,
body.cozy-storefront.single-product .woocommerce-product-gallery__image {
    background-color: #f6f6f6;
    border-radius: 0;
}

body.cozy-storefront.single-product .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    mix-blend-mode: multiply;
    display: block;
}

body.cozy-storefront.single-product .woocommerce-product-gallery .flex-control-thumbs:not(.botiga-slides) {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.cozy-storefront.single-product .woocommerce-product-gallery .flex-control-thumbs:not(.botiga-slides) li {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: #f6f6f6;
}

body.cozy-storefront.single-product .woocommerce-product-gallery .flex-control-thumbs img {
    opacity: 0.86;
    border: 1px solid #e6e6e6;
    padding: 0 !important;
    transition: opacity 0.2s ease, border-color 0.2s ease;
    aspect-ratio: 4 / 4.4;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

body.cozy-storefront.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
body.cozy-storefront.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover {
    opacity: 1;
    border: 1.5px solid var(--cozy-ink);
}

body.cozy-storefront.single-product .entry-summary h1.product_title {
    font-size: clamp(22px, 1.85vw, 28px) !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    margin: 0 0 12px 0 !important;
    color: var(--cozy-ink);
}

body.cozy-storefront.single-product .entry-summary p.price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 19px !important;
    font-weight: 400;
    color: var(--cozy-ink);
    margin: 0 0 22px 0 !important;
}

body.cozy-storefront.single-product .entry-summary p.price del {
    color: var(--cozy-ink-soft);
    font-size: 15px;
}

body.cozy-storefront.single-product .entry-summary p.price ins {
    background: transparent !important;
    text-decoration: none;
    font-weight: 500;
}

/* Variation Swatches Overrides (Note: .woo-variation-swatches is ON <body> itself!) */
body.cozy-storefront.single-product table.variations {
    margin: 0 0 12px 0 !important;
    width: 100%;
    border: none !important;
}

body.cozy-storefront.single-product table.variations tbody tr {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

body.cozy-storefront.single-product table.variations th.label {
    padding: 0 !important;
    text-align: left;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cozy-ink);
    display: flex;
    align-items: center;
    gap: 8px;
}

body.cozy-storefront.single-product table.variations th.label .woo-selected-variation-item-name {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--cozy-ink-muted);
}

body.cozy-storefront.single-product table.variations td.value {
    padding: 0 !important;
}

body.cozy-storefront.woo-variation-swatches .variable-items-wrapper,
body.cozy-storefront .woo-variation-swatches .variable-items-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 4px !important;
}

/* Color thumbnail swatches -> Large 48px full-bleed circular studio discs (edge-to-edge photo + crisp outer selection ring) */
body.cozy-storefront.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:has(.variable-item-image),
body.cozy-storefront .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:has(.variable-item-image) {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 1px solid #d4d4d4 !important;
    background-color: var(--cozy-bg) !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

body.cozy-storefront.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:has(.variable-item-image) .variable-item-contents,
body.cozy-storefront .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:has(.variable-item-image) .variable-item-contents {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background-color: #f4f4f4 !important;
}

body.cozy-storefront.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item .variable-item-image,
body.cozy-storefront .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item .variable-item-image {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center 20% !important;
    display: block !important;
    margin: 0 !important;
    mix-blend-mode: multiply;
}

body.cozy-storefront.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:has(.variable-item-image):hover,
body.cozy-storefront .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:has(.variable-item-image):hover {
    border-color: #757575 !important;
    outline: 1px solid #757575 !important;
    outline-offset: 2px !important;
    box-shadow: none !important;
}

body.cozy-storefront.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item.selected:has(.variable-item-image),
body.cozy-storefront .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item.selected:has(.variable-item-image) {
    border: 1px solid var(--cozy-ink) !important;
    outline: 1.5px solid var(--cozy-ink) !important;
    outline-offset: 2px !important;
    box-shadow: none !important;
}

body.cozy-storefront.woo-variation-swatches .variable-items-wrapper .variable-item.selected:has(.variable-item-image) .variable-item-contents::before,
body.cozy-storefront .woo-variation-swatches .variable-items-wrapper .variable-item.selected:has(.variable-item-image) .variable-item-contents::before {
    display: none !important;
    content: none !important;
}

/* Size / Inseam pill swatches -> Dawn 40px pills (zero clipping for REGULAR / XXS) */
body.cozy-storefront.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:not(:has(.variable-item-image)),
body.cozy-storefront .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:not(:has(.variable-item-image)),
body.cozy-storefront.woo-variation-swatches .wvs-style-rounded.variable-items-wrapper .variable-item.button-variable-item:not(:has(.variable-item-image)),
body.cozy-storefront .woo-variation-swatches .wvs-style-rounded.variable-items-wrapper .variable-item.button-variable-item:not(:has(.variable-item-image)) {
    width: auto !important;
    min-width: 52px !important;
    max-width: none !important;
    height: auto !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 8px 18px !important;
    border-radius: 40px !important;
    border: 1px solid #d4d4d4 !important;
    background-color: var(--cozy-bg) !important;
    color: var(--cozy-ink) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

body.cozy-storefront.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:not(:has(.variable-item-image)):hover,
body.cozy-storefront .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:not(:has(.variable-item-image)):hover {
    border-color: var(--cozy-ink) !important;
    box-shadow: none !important;
}

body.cozy-storefront.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item.selected:not(:has(.variable-item-image)),
body.cozy-storefront .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item.selected:not(:has(.variable-item-image)) {
    background-color: var(--cozy-ink) !important;
    color: var(--cozy-bg) !important;
    border-color: var(--cozy-ink) !important;
    box-shadow: none !important;
}

/* Force inner wrappers & spans inside rounded/pill button items to stay rectangular & overflow-visible */
body.cozy-storefront.woo-variation-swatches .wvs-style-rounded.variable-items-wrapper .variable-item:not(.radio-variable-item) .variable-item-span,
body.cozy-storefront .woo-variation-swatches .wvs-style-rounded.variable-items-wrapper .variable-item:not(.radio-variable-item) .variable-item-span,
body.cozy-storefront.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item .variable-item-span,
body.cozy-storefront .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item .variable-item-span {
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    overflow: visible !important;
    clip-path: none !important;
    line-height: 1.25 !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

body.cozy-storefront.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:not(:has(.variable-item-image)) .variable-item-contents,
body.cozy-storefront .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:not(:has(.variable-item-image)) .variable-item-contents {
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    overflow: visible !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.cozy-storefront.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item.selected:not(:has(.variable-item-image)) .variable-item-span,
body.cozy-storefront .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item.selected:not(:has(.variable-item-image)) .variable-item-span {
    color: var(--cozy-bg) !important;
}

body.cozy-storefront.single-product .reset_variations,
body.cozy-storefront.single-product .woocommerce-variation-availability,
body.cozy-storefront.single-product .entry-summary p.stock {
    display: none !important;
}

body.cozy-storefront.single-product table.variations tbody tr:last-child {
    margin-bottom: 4px;
}

body.cozy-storefront.single-product .woocommerce-variation.single_variation {
    margin: 0 !important;
}

/* Quantity + Stacked CTA Buttons (WPC Buy Now aware via :has(.wpc-buy-now-button)) */
body.cozy-storefront.single-product .woocommerce-variation-add-to-cart,
body.cozy-storefront.single-product form.cart:not(.variations_form) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 18px;
}

body.cozy-storefront.single-product .botiga-single-addtocart-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    flex: none !important;
    margin-top: 0 !important;
}

body.cozy-storefront.single-product .quantity {
    width: 132px !important;
    height: 48px !important;
    float: none !important;
    margin: 0 !important;
    border: 1px solid var(--cozy-border-strong) !important;
    border-radius: 0 !important;
    background: var(--cozy-bg) !important;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}

body.cozy-storefront.single-product .quantity input.qty {
    border: none !important;
    background: transparent !important;
    height: 46px !important;
    font-size: 14px;
    color: var(--cozy-ink);
}

body.cozy-storefront.single-product button.single_add_to_cart_button {
    flex: none;
    width: 100% !important;
    min-height: 48px;
    margin: 0 !important;
    background-color: var(--cozy-ink) !important;
    color: var(--cozy-bg) !important;
    border: 1px solid var(--cozy-ink) !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
}

body.cozy-storefront.single-product button.single_add_to_cart_button:hover {
    background-color: #2c2c2c !important;
}

body.cozy-storefront.single-product form.cart:has(.wpc-buy-now-button) button.single_add_to_cart_button {
    background-color: var(--cozy-bg) !important;
    color: var(--cozy-ink) !important;
}

body.cozy-storefront.single-product form.cart:has(.wpc-buy-now-button) button.single_add_to_cart_button:hover {
    background-color: var(--cozy-surface) !important;
    box-shadow: inset 0 0 0 1px var(--cozy-ink);
}

body.cozy-storefront.single-product form.cart .wpc-buy-now-wrap {
    width: 100% !important;
    flex: none !important;
    margin-top: 0 !important;
}

body.cozy-storefront.single-product form.cart .wpc-buy-now-button {
    width: 100% !important;
    min-height: 48px !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

/* PDP Summary Dawn Accordions */
.cozy-pdp-accordions {
    margin-top: 28px;
    border-top: 1px solid var(--cozy-border);
}

.cozy-accordion {
    border-bottom: 1px solid var(--cozy-border);
}

.cozy-accordion summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--cozy-ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.cozy-accordion summary::-webkit-details-marker {
    display: none;
}

.cozy-accordion__icon {
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.2s ease;
}

.cozy-accordion[open] .cozy-accordion__icon {
    transform: rotate(45deg);
}

.cozy-accordion__content {
    padding: 0 0 18px 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--cozy-ink-muted);
}

.cozy-accordion__content p:last-child,
.cozy-accordion__content ul:last-child {
    margin-bottom: 0;
}

/* Hide noisy SEO tags & SKU clutter */
body.cozy-storefront.single-product .product_meta {
    display: none !important;
}

/* Reviews Section Band (#f3f3f3 surface + white 16px cards) */
body.cozy-storefront.single-product .woocommerce-tabs {
    margin-top: 56px;
    padding: 40px 0;
    background-color: var(--cozy-surface);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-top: 1px solid var(--cozy-border);
    border-bottom: 1px solid var(--cozy-border);
}

body.cozy-storefront.single-product .woocommerce-tabs > .wc-tabs {
    max-width: var(--cozy-page-width);
    margin: 0 auto 24px !important;
    padding: 0 clamp(16px, 3vw, 48px) !important;
    border-bottom: 1px solid #dfdfdf !important;
}

body.cozy-storefront.single-product .woocommerce-tabs > .woocommerce-Tabs-panel {
    max-width: var(--cozy-page-width);
    margin: 0 auto !important;
    padding: 0 clamp(16px, 3vw, 48px) !important;
    background: transparent !important;
    border: none !important;
}

body.cozy-storefront.single-product #reviews #comments .commentlist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    padding: 0;
    margin: 20px 0;
}

body.cozy-storefront.single-product #reviews #comments .commentlist li {
    background: var(--cozy-bg);
    border-radius: 16px;
    border: 1px solid #ececec;
    padding: 20px;
    margin: 0;
}

body.cozy-storefront .star-rating span::before,
body.cozy-storefront p.stars a {
    color: var(--cozy-star) !important;
}

body.cozy-storefront.single-product .related.products {
    margin-top: 56px;
    margin-bottom: 40px;
}

body.cozy-storefront.single-product .related.products > h2 {
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 400;
    text-align: left;
    margin-bottom: 24px;
}

/* ==========================================================================
   7. MINIMALIST WHITE FOOTER
   ========================================================================== */

body.cozy-storefront .bhfb-footer {
    background-color: var(--cozy-bg);
    border-top: 1px solid var(--cozy-border);
    color: var(--cozy-ink);
}

body.cozy-storefront .bhfb-main_footer_row {
    padding: 56px 0 40px;
}

body.cozy-storefront .bhfb-footer .widget-title,
body.cozy-storefront .cozy-footer-heading {
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cozy-ink);
    margin: 0 0 16px 0 !important;
}

body.cozy-storefront .bhfb-footer ul.cozy-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.cozy-storefront .bhfb-footer ul.cozy-footer-links li {
    margin-bottom: 10px;
}

body.cozy-storefront .bhfb-footer ul.cozy-footer-links a {
    font-size: 13px;
    color: var(--cozy-ink-muted);
    text-decoration: none;
}

body.cozy-storefront .bhfb-footer ul.cozy-footer-links a:hover {
    color: var(--cozy-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cozy-newsletter-form {
    display: flex;
    border: 1px solid var(--cozy-border-strong);
    background: var(--cozy-bg);
    margin-top: 12px;
}

.cozy-newsletter-form input[type="email"] {
    flex: 1 1 auto;
    border: none !important;
    padding: 11px 14px;
    font-size: 13px;
    color: var(--cozy-ink);
    background: transparent;
    outline: none;
}

.cozy-newsletter-form button {
    border: none;
    background: var(--cozy-ink);
    color: var(--cozy-bg);
    padding: 0 16px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 0;
}

.cozy-newsletter-msg {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--cozy-ink-muted);
}

body.cozy-storefront .bhfb-below_footer_row {
    border-top: 1px solid var(--cozy-border);
    padding: 18px 0;
    font-size: 12px;
    color: var(--cozy-ink-soft);
}

body.cozy-storefront .bhfb-below_footer_row .bhfb-column-1,
body.cozy-storefront .bhfb-below_footer_row .bhfb-component-copyright,
body.cozy-storefront .bhfb-below_footer_row .botiga-credits {
    width: 100%;
}

body.cozy-storefront .cozy-below-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    width: 100%;
}

body.cozy-storefront .cozy-below-footer-bar__copy {
    flex: 1 1 auto;
    min-width: 0;
}

body.cozy-storefront .cozy-footer-payment {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

body.cozy-storefront .cozy-footer-payment__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

body.cozy-storefront .cozy-footer-payment__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    flex: 0 0 auto;
}

body.cozy-storefront .cozy-footer-payment__item svg {
    display: block;
    width: 38px;
    height: 24px;
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS & MOBILE DRAWER (TABLET <= 1024px, MOBILE <= 767px)
   ========================================================================== */

/* WP Admin Bar offset fix for Botiga sticky header in 601px-782px mobile/tablet band */
@media (min-width: 601px) and (max-width: 782px) {
    body.cozy-storefront.admin-bar .bhfb-header.has-sticky-header.sticky-row-all,
    body.cozy-storefront.admin-bar.sticky-header-active .bhfb-header.has-sticky-header.sticky-row-main-header-row {
        top: 46px !important;
    }
}

@media (max-width: 782px) {
    body.cozy-storefront.admin-bar:not(.cozy-drawer-docked) .botiga-offcanvas-menu {
        top: 46px !important;
        height: calc(100vh - 46px) !important;
    }
}

/* Mobile Offcanvas Navigation Drawer (Docked below Sticky Header + Dual Mode: Accordion / Dawn Slide-in Drill-down) */
body.cozy-storefront .bhfb-header.bhfb-mobile {
    background-color: var(--cozy-bg);
}

body.cozy-storefront .bhfb-component-mobile_hamburger .menu-toggle .cozy-toggle-close {
    display: none;
    width: 20px;
    height: 20px;
    color: var(--cozy-ink);
}

body.cozy-storefront.mobile-menu-visible .bhfb-component-mobile_hamburger .menu-toggle i.ws-svg-icon {
    display: none !important;
}

body.cozy-storefront.mobile-menu-visible .bhfb-component-mobile_hamburger .menu-toggle .cozy-toggle-close {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

body.cozy-storefront.cozy-drawer-docked.mobile-menu-visible:before {
    top: var(--cozy-drawer-top, 88px) !important;
    background-color: rgba(18, 18, 18, 0.42) !important;
    z-index: 99990 !important;
}

body.cozy-storefront.cozy-drawer-docked.mobile-menu-visible .bhfb-header.bhfb-mobile {
    z-index: 99996 !important;
}

body.cozy-storefront .bhfb-mobile_offcanvas.botiga-offcanvas-menu {
    width: min(88vw, 390px) !important;
    max-width: 390px !important;
    padding: 58px 22px 32px !important;
    background-color: var(--cozy-bg) !important;
    color: var(--cozy-ink) !important;
    box-shadow: 4px 12px 32px rgba(18, 18, 18, 0.14) !important;
    z-index: 99994 !important;
}

body.cozy-storefront.cozy-drawer-docked .bhfb-mobile_offcanvas.botiga-offcanvas-menu {
    top: var(--cozy-drawer-top, 88px) !important;
    height: calc(100vh - var(--cozy-drawer-top, 88px)) !important;
    height: calc(100dvh - var(--cozy-drawer-top, 88px)) !important;
    padding: 8px 0 24px !important;
    border-top: 1px solid #f0f0f0 !important;
    overflow-y: auto;
}

body.cozy-storefront.cozy-drawer-docked.cozy-mobile-menu--drilldown .bhfb-mobile_offcanvas.botiga-offcanvas-menu {
    padding: 0 !important;
    overflow: hidden !important;
}

body.cozy-storefront.cozy-drawer-docked .botiga-offcanvas-menu .mobile-menu-close {
    display: none !important;
}

body.cozy-storefront .botiga-offcanvas-menu .mobile-menu-close {
    top: 12px !important;
    right: 16px !important;
    width: 38px !important;
    height: 38px !important;
    color: var(--cozy-ink) !important;
    outline: none !important;
}

body.cozy-storefront .botiga-offcanvas-menu .mobile-menu-close:focus-visible {
    outline: 1px solid var(--cozy-ink) !important;
    outline-offset: 2px;
}

body.cozy-storefront .botiga-offcanvas-menu .mobile-menu-close svg {
    fill: var(--cozy-ink) !important;
    width: 14px !important;
    height: 14px !important;
    overflow: visible !important;
}

body.cozy-storefront .botiga-offcanvas-menu .bhfb-mobile-offcanvas-rows,
body.cozy-storefront .botiga-offcanvas-menu .bhfb-mobile-offcanvas-rows > .container,
body.cozy-storefront .botiga-offcanvas-menu .bhfb-mobile-offcanvas-rows > .container > .bhfb-row,
body.cozy-storefront .botiga-offcanvas-menu .bhfb-mobile-offcanvas-col,
body.cozy-storefront .botiga-offcanvas-menu .bhfb-component-mobile_offcanvas_menu,
body.cozy-storefront .botiga-offcanvas-menu .mobile-offcanvas-menu-content {
    height: 100%;
    width: 100%;
}

body.cozy-storefront .botiga-offcanvas-menu .bhfb-mobile-offcanvas-col {
    gap: 0 !important;
    align-items: stretch !important;
}

body.cozy-storefront .botiga-offcanvas-menu .mobile-offcanvas-menu-content {
    display: flex;
    flex-direction: column;
}

body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile,
body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile .menu-main-menu-container {
    width: 100% !important;
}

body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile ul#mobile-menu,
body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile ul.menu,
body.cozy-storefront .botiga-offcanvas-menu ul.botiga-dropdown-ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    display: block !important;
}

body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile ul.menu > li.menu-item,
body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile ul.botiga-dropdown-ul > li.menu-item {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 22px !important;
    background: transparent !important;
    border-top: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile ul.menu > li.menu-item:last-child {
    border-bottom: none !important;
}

body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile li.menu-item > a,
body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile li.menu-item > a.botiga-dropdown-link {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: calc(100% - 44px) !important;
    padding: 15px 8px 15px 0 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    color: var(--cozy-ink) !important;
    text-decoration: none !important;
    text-align: left !important;
    display: block !important;
}

body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile li.menu-item:not(.menu-item-has-children) > a,
body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile li.menu-item:not(.menu-item-has-children) > a.botiga-dropdown-link {
    max-width: 100% !important;
}

body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile .dropdown-symbol {
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    cursor: pointer !important;
    pointer-events: none !important;
    position: static !important;
    left: auto !important;
    margin: 0 !important;
    padding: 0 2px 0 0 !important;
}

body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile .dropdown-symbol svg {
    width: 12px !important;
    height: 12px !important;
    fill: var(--cozy-ink) !important;
    transition: transform 0.2s ease !important;
}

body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile li:has(> ul.sub-menu.toggled) > .dropdown-symbol svg,
body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile li.cozy-sub-open > .dropdown-symbol svg {
    transform: rotate(180deg) !important;
}

body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile ul.sub-menu {
    flex: 0 0 100% !important;
    width: 100% !important;
    display: none !important;
    margin: 0 0 10px 4px !important;
    padding: 2px 0 4px 16px !important;
    list-style: none !important;
    background: transparent !important;
    border: none !important;
    border-left: 1px solid #e6e6e6 !important;
    box-shadow: none !important;
}

body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile ul.sub-menu.toggled {
    display: block !important;
}

body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile ul.sub-menu li.menu-item,
body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile ul.sub-menu li {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile ul.sub-menu li > a,
body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile ul.sub-menu li > a.botiga-dropdown-link {
    font-size: 14.5px !important;
    font-weight: 400 !important;
    color: #3a3a3a !important;
    padding: 10px 8px 10px 0 !important;
}

body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile ul.sub-menu li.menu-item-has-children > a {
    font-weight: 500 !important;
    color: var(--cozy-ink) !important;
}

body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile ul.sub-menu li.cozy-sub-shopall > a {
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: var(--cozy-ink) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-decoration-color: #c2c2c2;
}

body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile ul.sub-menu .dropdown-symbol {
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
}

body.cozy-storefront .botiga-offcanvas-menu #site-navigation-mobile ul.sub-menu ul.sub-menu {
    margin: 2px 0 8px 4px !important;
    padding: 0 0 4px 14px !important;
}

.cozy-drawer-account {
    margin-top: auto;
    padding: 16px 22px 10px;
    border-top: 1px solid #ececec;
}

.cozy-drawer-account__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 400;
    color: var(--cozy-ink) !important;
    text-decoration: none !important;
    padding: 6px 0;
}

/* Mode 2: Dawn-style Slide-in Drill-down Drawer */
body.cozy-storefront.cozy-mobile-menu--drilldown.cozy-drill-ready .botiga-offcanvas-menu #site-navigation-mobile {
    display: none !important;
}

.cozy-drill-stage {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
    overflow: hidden;
    background: var(--cozy-bg);
}

.cozy-drill-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--cozy-bg);
    transform: translateX(100%);
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    padding: 12px 0 24px;
    z-index: 1;
}

.cozy-drill-panel.is-subpanel {
    padding-top: 0;
}

.cozy-drill-panel.is-active {
    transform: translateX(0);
    z-index: 3;
}

.cozy-drill-panel.is-under {
    transform: translateX(-28%);
    z-index: 2;
    pointer-events: none;
}

.cozy-drill-back {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    margin: 0 0 6px;
    background: #f5f5f5;
    border: none;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--cozy-ink);
    text-align: left;
    cursor: pointer;
    flex-shrink: 0;
}

.cozy-drill-back:active {
    background: #ececec;
}

.cozy-drill-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.cozy-drill-item {
    margin: 0;
    padding: 0;
}

.cozy-drill-row {
    width: 100%;
    min-height: 48px;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--cozy-ink) !important;
    background: transparent;
    border: none;
    text-align: left;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 140ms ease;
}

.cozy-drill-row:hover,
.cozy-drill-row:active {
    background-color: #f7f7f7;
}

.cozy-drill-row--shopall {
    margin-top: 4px;
    font-size: 14.5px;
    color: #444 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-decoration-color: #c2c2c2;
}

.cozy-drill-arrow {
    flex: 0 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    color: var(--cozy-ink);
}

.cozy-drill-panel .cozy-drawer-account {
    margin-top: auto;
    padding: 18px 22px 6px;
    border-top: 1px solid #f0f0f0;
}

body.cozy-storefront .botiga-offcanvas-menu .bhfb-component-search,
body.cozy-storefront .botiga-offcanvas-menu .bhfb-component-woo_icons {
    padding-top: 10px;
}

body.cozy-storefront .botiga-offcanvas-menu .header-item {
    gap: 18px;
}

@media (max-width: 1024px) {
    /* Mobile Announcement Bar + Centered 1-Row Header */
    body.cozy-storefront .bhfb-mobile .bhfb-above_header_row {
        min-height: 32px !important;
        padding: 5px 12px !important;
    }

    body.cozy-storefront .bhfb-mobile .bhfb-above_header_row .bhfb-component-html p {
        font-size: 11px !important;
        letter-spacing: 0.05em !important;
        line-height: 1.3 !important;
    }

    body.cozy-storefront .bhfb-mobile .bhfb-main_header_row {
        min-height: 54px !important;
        padding-top: 6px !important;
        padding-bottom: 6px !important;
        border-bottom: 1px solid #ececec !important;
    }

    body.cozy-storefront .bhfb-mobile .bhfb-main_header_row .container-fluid {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    body.cozy-storefront .bhfb-mobile .bhfb-main_header_row .bhfb-row.bhfb-cols-3 {
        grid-template-columns: 56px minmax(0, 1fr) 72px !important;
        align-items: center !important;
    }

    body.cozy-storefront .bhfb-mobile .custom-logo-link img,
    body.cozy-storefront .bhfb-mobile img.custom-logo {
        max-width: 168px !important;
        width: auto !important;
        max-height: 22px !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block;
    }

    body.cozy-storefront .bhfb-mobile .bhfb-column-1 {
        justify-content: flex-start !important;
    }

    body.cozy-storefront .bhfb-mobile .bhfb-column-2 {
        justify-content: center !important;
    }

    body.cozy-storefront .bhfb-mobile .bhfb-column-3 {
        justify-content: flex-end !important;
        gap: 14px !important;
    }

    body.cozy-storefront .bhfb-component-mobile_hamburger .menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: flex-start;
        width: 36px;
        height: 36px;
        padding: 0;
        color: var(--cozy-ink) !important;
    }

    body.cozy-storefront .bhfb-component-mobile_hamburger .menu-toggle svg {
        fill: var(--cozy-ink) !important;
        width: 20px !important;
        height: 14px !important;
    }

    body.cozy-storefront .bhfb-mobile .bhfb-main_header_row .header-item {
        margin-right: 0 !important;
        gap: 14px !important;
    }

    body.cozy-storefront .bhfb-mobile .bhfb-main_header_row .bhfb-component-search + .bhfb-component-woo_icons {
        margin-left: 12px !important;
    }

    body.cozy-storefront .bhfb-mobile .bhfb-component-search svg,
    body.cozy-storefront .bhfb-mobile .bhfb-component-woo_icons svg {
        width: 20px !important;
        height: 20px !important;
    }

    /* Hide account icon in compact top mobile bar (accessible inside mobile menu drawer) */
    body.cozy-storefront .bhfb-mobile .bhfb-main_header_row .wc-account-link,
    body.cozy-storefront .bhfb-mobile .bhfb-main_header_row .header-account {
        display: none !important;
    }

    body.cozy-storefront .bhfb-mobile .header-search-form {
        padding: 10px 16px !important;
    }

    /* Home Grids */
    .cozy-collections-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.cozy-storefront .cozy-products-shortcode--cols-5 ul.products,
    body.cozy-storefront ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .cozy-trust-strip__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* PDP Stack Single Column <= 1024px */
    body.cozy-storefront.single-product .content-wrapper {
        margin-top: 10px !important;
        margin-bottom: 32px !important;
    }

    body.cozy-storefront.single-product .product-gallery-summary {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px !important;
        margin-top: 6px !important;
    }

    body.cozy-storefront.single-product .woocommerce-product-gallery {
        position: relative !important;
        top: auto !important;
        margin-bottom: 0 !important;
    }

    body.cozy-storefront.single-product .product-gallery-summary .entry-summary {
        padding-left: 0 !important;
        margin-top: 0 !important;
    }
}

@media (max-width: 767px) {
    body.cozy-storefront .container,
    body.cozy-storefront .bhfb .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Hero Mobile Stage (Compact Centered Layout matching Dawn Mobile) */
    .cozy-hero-stage {
        height: clamp(250px, 66vw, 310px) !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .cozy-hero-img {
        object-position: center 25% !important;
    }

    .cozy-hero-scrim {
        background: rgba(18, 18, 18, 0.28) !important;
    }

    .cozy-hero-overlay {
        padding: 16px 18px !important;
        display: flex;
        justify-content: center;
    }

    .cozy-hero-copy {
        text-align: center !important;
        max-width: 100%;
        margin: 0 auto;
    }

    .cozy-hero-title {
        font-size: clamp(24px, 6.8vw, 30px) !important;
        margin-bottom: 6px !important;
    }

    .cozy-hero-subtitle {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin-bottom: 14px !important;
    }

    .cozy-hero-actions {
        justify-content: center !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
    }

    .cozy-btn--hero-light {
        flex: 1 1 0;
        min-width: 0;
        max-width: 168px;
        min-height: 40px;
        padding: 10px 12px;
        font-size: 12.5px !important;
        white-space: nowrap;
    }

    /* Home Sections */
    .cozy-section {
        padding: 28px 0;
    }

    .cozy-section__header {
        margin-bottom: 14px;
    }

    .cozy-collections-grid {
        display: grid;
        grid-template-columns: none !important;
        grid-auto-flow: column;
        grid-auto-columns: calc(43.5% - 4px);
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .cozy-collections-grid::-webkit-scrollbar {
        display: none;
    }

    .cozy-collection-card {
        scroll-snap-align: start;
    }

    .cozy-collection-card__title {
        font-size: 14px;
    }

    body.cozy-storefront .cozy-products-shortcode--cols-5 ul.products,
    body.cozy-storefront ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 22px 12px !important;
    }

    body.cozy-storefront ul.products li.product .woocommerce-loop-product__title {
        font-size: 13px !important;
    }

    body.cozy-storefront ul.products li.product .price {
        font-size: 13px !important;
    }

    .cozy-card-swatches {
        gap: 8px;
        margin-top: 8px;
        padding: 3px 4px;
        min-height: 36px;
    }

    .cozy-card-swatch {
        width: 30px;
        height: 30px;
        padding: 0;
    }

    .cozy-split-grid,
    .cozy-trust-strip__grid {
        grid-template-columns: 1fr;
    }

    .cozy-split-card {
        aspect-ratio: 4 / 4.2;
    }

    .cozy-trust-item {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--cozy-border);
        padding-top: 16px;
    }

    .cozy-trust-item:first-child {
        border-top: none;
        padding-top: 0;
    }

    /* Archive / Collection / Search Mobile */
    body.cozy-storefront.woocommerce-page .woocommerce-breadcrumb {
        margin: 10px 0 4px !important;
        font-size: 11px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.cozy-storefront .woocommerce-page-header {
        padding: 14px 0 10px !important;
    }

    body.cozy-storefront .woocommerce-page-header h1.woocommerce-products-header__title,
    body.cozy-storefront .woocommerce-products-header__title,
    body.cozy-storefront.search .page-title {
        font-size: 24px !important;
    }

    .cozy-subcat-rail {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        margin-bottom: 14px;
    }

    .cozy-subcat-rail::-webkit-scrollbar {
        display: none;
    }

    .cozy-pill {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    body.cozy-storefront .woocommerce-sorting-wrapper {
        margin: 4px 0 18px 0 !important;
        padding: 10px 0 !important;
    }

    body.cozy-storefront .woocommerce-sorting-wrapper > .row {
        gap: 10px 12px !important;
    }

    body.cozy-storefront .botiga-sorting-left-inner,
    body.cozy-storefront .botiga-sorting-right-inner {
        gap: 8px 10px !important;
    }

    body.cozy-storefront .woocommerce-sorting-wrapper select.cozy-facet-select,
    body.cozy-storefront .woocommerce-sorting-wrapper .woocommerce-ordering select.orderby {
        max-width: 130px !important;
        font-size: 12px !important;
    }

    /* Mobile PDP Polish (Matching Dawn Target Mobile PDP) */
    body.cozy-storefront.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
        top: 10px !important;
        right: 10px !important;
        width: 32px !important;
        height: 32px !important;
    }

    body.cozy-storefront.single-product .woocommerce-product-gallery .flex-control-thumbs:not(.botiga-slides) {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 10px !important;
        margin-top: 10px !important;
        padding-bottom: 2px !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body.cozy-storefront.single-product .woocommerce-product-gallery .flex-control-thumbs:not(.botiga-slides)::-webkit-scrollbar {
        display: none;
    }

    body.cozy-storefront.single-product .woocommerce-product-gallery .flex-control-thumbs:not(.botiga-slides) li {
        flex: 0 0 calc((100% - 20px) / 3) !important;
        width: calc((100% - 20px) / 3) !important;
        min-width: 0 !important;
        scroll-snap-align: start;
    }

    body.cozy-storefront.single-product .entry-summary h1.product_title {
        font-size: 21px !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
    }

    body.cozy-storefront.single-product .entry-summary p.price {
        font-size: 17px !important;
        margin-bottom: 18px !important;
    }

    body.cozy-storefront.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:has(.variable-item-image),
    body.cozy-storefront .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:has(.variable-item-image) {
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
    }

    body.cozy-storefront.single-product .woocommerce-variation-add-to-cart,
    body.cozy-storefront.single-product form.cart:not(.variations_form) {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        margin-top: 16px !important;
    }

    body.cozy-storefront.single-product .quantity {
        width: 132px !important;
        height: 46px !important;
    }

    body.cozy-storefront.single-product button.single_add_to_cart_button {
        flex: none !important;
        width: 100% !important;
        min-height: 48px !important;
    }

    body.cozy-storefront.single-product form.cart .wpc-buy-now-button {
        flex: none !important;
        width: 100% !important;
        min-height: 48px !important;
    }

    body.cozy-storefront.single-product .woocommerce-tabs {
        margin-top: 36px;
        padding: 28px 0;
    }

    body.cozy-storefront.single-product #reviews #comments .commentlist {
        grid-template-columns: 1fr !important;
    }

    body.cozy-storefront.single-product .related.products {
        margin-top: 36px;
    }

    /* Footer Mobile */
    body.cozy-storefront .bhfb-main_footer_row {
        padding: 36px 0 28px;
    }

    body.cozy-storefront .bhfb-below_footer_row {
        min-height: auto;
        padding: 20px 0 24px;
    }

    body.cozy-storefront .cozy-below-footer-bar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 14px;
    }

    body.cozy-storefront .cozy-footer-payment,
    body.cozy-storefront .cozy-footer-payment__list {
        justify-content: center;
    }
}

/* ==========================================================================
   11. SLIDE-OVER CART DRAWER (DAWN STYLE)
   ========================================================================== */

body.cozy-storefront.cozy-cart-mode--drawer #site-header-cart .widget_shopping_cart,
body.cozy-storefront.cozy-cart-mode--drawer .site-header-cart .widget_shopping_cart {
    display: none !important;
}

body.cozy-storefront.cozy-cart-drawer-open {
    overflow: hidden !important;
}

.cozy-cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 100020;
    pointer-events: none;
    visibility: hidden;
}

.cozy-cart-drawer.is-open {
    pointer-events: auto;
    visibility: visible;
}

.cozy-cart-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 18, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cozy-cart-drawer.is-open .cozy-cart-drawer__backdrop {
    opacity: 1;
}

.cozy-cart-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 100vw);
    background: #ffffff;
    box-shadow: -8px 0 28px rgba(0, 0, 0, 0.14);
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
}

body.admin-bar .cozy-cart-drawer__panel {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .cozy-cart-drawer__panel {
        top: 46px;
    }
}

.cozy-cart-drawer.is-open .cozy-cart-drawer__panel {
    transform: translateX(0);
}

.cozy-cart-drawer__surface {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.cozy-cart-drawer__surface.is-busy {
    opacity: 0.65;
    pointer-events: none;
}

.cozy-cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 14px;
}

.cozy-cart-drawer__title {
    margin: 0 !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    color: #121212 !important;
    letter-spacing: -0.01em;
}

.cozy-cart-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    margin-right: -8px;
    border: 0 !important;
    background: transparent !important;
    color: #121212 !important;
    cursor: pointer;
}

.cozy-cart-drawer__close:hover {
    opacity: 0.7;
}

.cozy-cart-drawer__columns {
    display: flex;
    justify-content: space-between;
    padding: 0 24px 10px;
    border-bottom: 1px solid #e8e8e8;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: #757575;
    text-transform: uppercase;
}

.cozy-cart-drawer__items {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 0 24px;
}

.cozy-cart-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: start;
}

.cozy-cart-item__media {
    display: block;
    width: 76px;
    height: 88px;
    background: #f6f6f6;
    overflow: hidden;
}

.cozy-cart-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: multiply;
}

.cozy-cart-item__details {
    min-width: 0;
}

.cozy-cart-item__title {
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.38;
    color: #121212 !important;
    text-decoration: none !important;
    margin-bottom: 4px;
    word-break: break-word;
}

.cozy-cart-item__title:hover {
    text-decoration: underline !important;
}

.cozy-cart-item__unit-price {
    font-size: 13px;
    color: #444444;
    line-height: 1.4;
    margin-bottom: 4px;
}

.cozy-cart-item__attrs {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 10px;
}

.cozy-cart-item__attr {
    font-size: 12px;
    line-height: 1.35;
    color: #6e6e6e;
}

.cozy-cart-item__controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.cozy-cart-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #121212;
    height: 36px;
    background: #ffffff;
}

.cozy-cart-qty__btn {
    width: 30px;
    height: 100%;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #121212 !important;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cozy-cart-qty__input {
    width: 34px !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #121212 !important;
    font-size: 13px !important;
    text-align: center !important;
    -moz-appearance: textfield;
}

.cozy-cart-qty__input::-webkit-outer-spin-button,
.cozy-cart-qty__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cozy-cart-item__remove {
    width: 28px;
    height: 28px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #6e6e6e !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cozy-cart-item__remove:hover {
    color: #121212 !important;
}

.cozy-cart-item__total {
    font-size: 14px;
    font-weight: 400;
    color: #121212;
    white-space: nowrap;
    line-height: 1.38;
}

.cozy-cart-drawer__footer {
    padding: 18px 24px 24px;
    border-top: 1px solid #e8e8e8;
    background: #ffffff;
}

.cozy-cart-drawer__subtotal-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.cozy-cart-drawer__subtotal-label {
    font-size: 15px;
    font-weight: 500;
    color: #121212;
}

.cozy-cart-drawer__subtotal-value {
    font-size: 16px;
    font-weight: 500;
    color: #121212;
}

.cozy-cart-drawer__tax-note {
    margin: 6px 0 16px !important;
    font-size: 12px;
    line-height: 1.45;
    color: #6e6e6e;
}

.cozy-cart-drawer__actions {
    margin: 0 !important;
}

a.button.cozy-cart-drawer__checkout,
.cozy-cart-drawer__checkout {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 46px !important;
    padding: 0 20px !important;
    background: #121212 !important;
    color: #ffffff !important;
    border: 1px solid #121212 !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: none !important;
}

a.button.cozy-cart-drawer__checkout:hover,
.cozy-cart-drawer__checkout:hover {
    background: #2b2b2b !important;
    color: #ffffff !important;
}

.cozy-cart-drawer__empty {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 24px;
    text-align: center;
}

.cozy-cart-drawer__empty-title {
    margin: 0 0 20px !important;
    font-size: 20px;
    font-weight: 400;
    color: #121212;
}

.cozy-cart-drawer__continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 196px;
    height: 44px;
    padding: 0 24px;
    background: #121212 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 400;
}
