/* ==========================================================================
   RENASSENZA THEME - Main CSS
   Tema WooCommerce exclusivo para Renassenza
   ========================================================================== */

/* ==========================================================================
   1. CSS VARIABLES (Design Tokens)
   ========================================================================== */
:root {
    /* Fonts (Shopify: Montserrat) */
    --font-body: 'Montserrat', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-accent: 'Montserrat', sans-serif;
    --font-paragraph: 'Montserrat', sans-serif;

    /* Font Weights */
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    /* Font Sizes (Shopify scale) */
    --font-size--2xs: 0.625rem;
    --font-size--xs: 0.8125rem;
    --font-size--sm: 0.875rem;
    --font-size--md: 1rem;
    --font-size--lg: 1.125rem;
    --font-size--xl: 1.25rem;

    /* Colors - Scheme 1 (Default) */
    --color-background: #ffffff;
    --color-foreground: #000000;
    --color-foreground-heading: #000000;
    --color-primary: #000000;
    --color-primary-hover: #000000;
    --color-border: rgba(121, 121, 121, 0.28);
    --color-shadow: #000000;

    /* Button Primary (Green #16c789) */
    --btn-primary-bg: #16c789;
    --btn-primary-text: #ffffff;
    --btn-primary-border: #16c789;
    --btn-primary-hover-bg: #14b67d;
    --btn-primary-hover-text: #ffffff;

    /* Button Secondary */
    --btn-secondary-bg: #ffffff;
    --btn-secondary-text: #000000;
    --btn-secondary-border: #000000;

    /* Input */
    --input-bg: rgba(0,0,0,0.05);
    --input-text: #000000;
    --input-border: transparent;

    /* Variant Picker */
    --variant-bg: #ffffff;
    --variant-text: #000000;
    --variant-border: #e6e6e6;
    --variant-selected-border: #16c789;
    --variant-selected-text: #16c789;

    /* Prices (Shopify exact) */
    --color-price: #000000;
    --color-price-compare: #1d1d1d;
    --color-price-sale: #000000;
    --preco-cor: #000000;
    --precocortado-cor: #1d1d1d;
    --precoparcela-cor: #000000;

    /* Badge Sale - Desconto lateral verde */
    --desconto-lado-fundo: #10ab1f;
    --desconto-lado-fonte: #fff;
    --arredonda-label-desconto: 4px;
    --badge-sale-bg: #16c789;
    --badge-sale-text: #ffffff;

    /* Badge Sold Out */
    --badge-soldout-bg: #000000;
    --badge-soldout-text: #ffffff;
    --corfundoesgotado: #000;
    --cortextoesgotado: #fff;

    /* Frete Grátis FULL */
    --corfretefulltexto: #15b358;
    --corfretefullicone: #15b358;
    --corbordafull: #15b358;
    --arredondafull: 5px;

    /* Free Shipping Bar */
    --shipping-bar-color: #ff7d00;
    --shipping-icon-color: #28a745;

    /* Cart / Add to Cart */
    --add-to-cart-bg: #16c789;
    --add-to-cart-text: #ffffff;
    --fundoadd: #16c789;
    --fonteadd: #fff;
    --reco-btn-bg: #16c789;
    --reco-btn-text: #ffffff;

    /* PIX / Envio */
    --pix-envio-fundo: #ffffff;
    --pix-envio-textdesc: #201F1F;
    --pix-envio-textnopix: #5E5E5E;
    --pix-envio-simb: #01b47c;
    --pix-envio-enviofundo: #01b47c;
    --pix-envio-enviotexto: #fff;
    --pix-envio-bordageral: 7px;
    --pix-envio-bordaenvio: 15px;

    /* Layout */
    --page-width: 120rem;
    --page-width-narrow: 90rem;
    --content-width: 42rem;
    --header-height: 70px;
    --announcement-height: 40px;

    /* Drawer */
    --drawer-width: 95vw;
    --drawer-max-width: 500px;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* Border Radius (Shopify exact) */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --radius-pill: 9999px;
    --radius-btn: 10px;

    /* Text Colors */
    --color-text: #000000;
    --color-text-secondary: #6b6b6b;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --speed-fast: 0.125s;
    --speed-normal: 0.2s;
    --speed-slow: 0.3s;
    --transition-fast: 0.125s ease-in-out;

    /* Z-Index */
    --z-header: 10;
    --z-drawer: 1001;
    --z-overlay: 1000;
    --z-notification: 1010;
    --z-mobile-menu: 16;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-foreground);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

main.content-for-layout {
    flex: 1;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

svg {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: 16px !important; /* Prevents iOS zoom */
    color: inherit;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    overflow-wrap: break-word;
}

p {
    overflow-wrap: break-word;
}

hr {
    border: none;
    border-top: 1px solid var(--color-border);
}

/* ==========================================================================
   3. LAYOUT UTILITIES
   ========================================================================== */
.page-width {
    max-width: var(--page-width);
    margin: 0 auto;
    padding-inline: 20px;
}

@media (min-width: 768px) {
    .page-width {
        padding-inline: 40px;
    }
}

@media (min-width: 1200px) {
    .page-width {
        padding-inline: 60px;
    }
}

.visually-hidden {
    position: absolute !important;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

/* ==========================================================================
   4. ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
    width: 100%;
    padding: 10px 0;
    text-align: center;
    z-index: var(--z-header);
}

.announcement-bar__text {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: var(--fw-bold);
    letter-spacing: 0;
    margin: 0;
}

/* ==========================================================================
   5. HEADER (Clone Shopify: Logo esquerda | vazio | conta+carrinho direita)
   ========================================================================== */

.site-header {
    position: relative;
    z-index: var(--z-header);
    background: var(--color-background);
}

.site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 20px;
    gap: 16px;
}

.site-header__left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.site-header__center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-header__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.site-header__logo a,
.site-header__logo-text {
    display: inline-flex;
    align-items: center;
}

.site-header__logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-header__logo img,
.site-header__logo .custom-logo {
    height: 22px !important;
    max-height: 22px !important;
    width: auto !important;
    max-width: 120px !important;
    object-fit: contain !important;
}

@media (max-width: 767px) {
    .site-header__logo img,
    .site-header__logo .custom-logo {
        height: 18px !important;
        max-height: 18px !important;
    }
}

.site-header__logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: var(--fw-semibold);
    letter-spacing: 0;
    color: var(--color-foreground);
}

.header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    position: relative;
    color: var(--color-foreground);
    transition: opacity var(--speed-fast) ease;
    background: none;
    border: none;
    cursor: pointer;
}

.header-action svg {
    width: 22px;
    height: 22px;
}

.header-action:hover {
    opacity: 0.7;
}

/* Cart Bubble (Shopify style) */
.cart-bubble {
    position: absolute;
    top: -2px;
    right: -6px;
    width: 17px;
    height: 17px;
    pointer-events: none;
}

.cart-bubble__background {
    position: absolute;
    inset: 0;
    background: var(--btn-primary-bg);
    border-radius: 50%;
}

.cart-bubble__text {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 10px;
    font-weight: var(--fw-bold);
    color: var(--btn-primary-text);
    line-height: 1;
}

.header-divider {
    border-top: 1px solid var(--color-border);
    width: 100%;
}

/* ==========================================================================
   5b. NAVIGATION MENU (Desktop + Mobile)
   ========================================================================== */

/* Desktop Navigation */
.site-header__nav {
    display: none;
    flex: 1;
    justify-content: center;
}

.site-header__nav .menu-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header__nav .menu-list .menu-item > a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: var(--fw-semibold);
    color: var(--color-foreground);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    transition: background var(--speed-fast) ease, color var(--speed-fast) ease;
    white-space: nowrap;
}

.site-header__nav .menu-list .menu-item > a:hover {
    background: rgba(0,0,0,0.05);
}

.site-header__nav .menu-list .menu-item.current-menu-item > a,
.site-header__nav .menu-list .menu-item.current_page_item > a {
    color: var(--btn-primary-bg);
}

/* Submenu (dropdown) */
.site-header__nav .menu-list .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 200px;
    z-index: calc(var(--z-header) + 1);
}

.site-header__nav .menu-list .menu-item {
    position: relative;
}

.site-header__nav .menu-list .menu-item:hover > .sub-menu {
    display: block;
}

.site-header__nav .menu-list .sub-menu .menu-item > a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: var(--fw-medium);
    text-transform: none;
    letter-spacing: 0;
    border-radius: 0;
}

.site-header__nav .menu-list .sub-menu .menu-item > a:hover {
    background: rgba(0,0,0,0.03);
    color: var(--btn-primary-bg);
}

/* ==========================================================================
   6. HERO SLIDESHOW
   ========================================================================== */
.hero-slideshow {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slideshow__track {
    display: flex;
    transition: transform 0.5s var(--ease-out);
}

.hero-slideshow__slide {
    min-width: 100%;
    position: relative;
}

.hero-slideshow__slide img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-slideshow__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: #f5f5f5;
    color: #666;
    text-align: center;
    padding: 40px;
}

.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background var(--speed-fast) ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.slideshow-arrow:hover {
    background: #ffffff;
}

.slideshow-arrow--prev { left: 16px; }
.slideshow-arrow--next { right: 16px; }

/* ==========================================================================
   7. PRODUCT CAROUSEL SECTION
   ========================================================================== */
.product-carousel-section {
    padding-block: max(20px, calc(1 * 48px));
}

.product-carousel-section__header {
    display: flex;
    align-items: last baseline;
    justify-content: center;
    gap: 12px;
    margin-bottom: max(24px, 28px);
}

.product-carousel-section__title {
    font-family: var(--font-heading), sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0em;
    text-transform: none;
    color: var(--color-text);
    margin: 0;
}

.product-carousel-section__link {
    font-size: 0.875rem;
    color: var(--color-text);
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.product-carousel-section__link:hover {
    opacity: 0.7;
}

.product-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.product-carousel__track {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
    width: 100%;
}

.product-carousel__track .product-card {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

@media (min-width: 768px) {
    .product-carousel__track {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .product-carousel__track {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 8px;
    }
}

.carousel-arrow {
    display: none;
}

/* ==========================================================================
   8. HOME BANNER
   ========================================================================== */
.home-banner {
    width: 100%;
    overflow: hidden;
}

.home-banner__image {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   9. PRODUCT CARD (Clone exato Shopify "Sabino Padraozin")
   ========================================================================== */
.product-card {
    position: relative;
    overflow: hidden;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    min-width: 0;
    max-width: 100%;
}

@media (any-pointer: fine) {
    .product-card:hover {
        transform: scale(1.02);
    }
}

.product-card__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
    gap: 4px;
}

/* Imagem 4:5 (Shopify portrait) */
.product-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #f9f9f9;
    border-radius: 6px 6px 0 0;
    width: 100%;
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
    max-width: 100%;
}

.product-card__image--hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-card:hover .product-card__image--primary {
    opacity: 0;
}

.product-card:hover .product-card__image--hover {
    opacity: 1;
}

/* Badge de desconto (Shopify lateral verde) */
.product-card__badge-sale {
    position: absolute;
    top: 8px;
    left: 0;
    z-index: 2;
    background: var(--desconto-lado-fundo, #10ab1f);
    color: var(--desconto-lado-fonte, #fff);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 0 var(--arredonda-label-desconto, 4px) var(--arredonda-label-desconto, 4px) 0;
    line-height: 1.2;
}

/* Título */
.product-card__title-wrap {
    padding: 8px 4px 0;
    text-align: center;
}

.product-card__title {
    font-family: var(--font-body);
    font-size: var(--font-size--sm, 0.875rem);
    font-weight: var(--fw-regular);
    line-height: 2;
    text-transform: uppercase;
    color: var(--color-foreground);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4em;
}

/* Avaliações no card */
.product-card__rating {
    text-align: center;
    padding: 2px 4px 0;
    font-size: 12px;
    line-height: 1;
    min-height: 18px;
}
.product-card__rating .ryviu-widget-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

/* Preço */
.product-card__price-wrap {
    padding: 6px 4px 0;
    text-align: center;
    font-family: var(--font-accent);
    font-size: 1.25rem;
    font-weight: var(--fw-semibold);
    line-height: 1.3;
}

.product-card__price {
    color: var(--preco-cor, #000000);
}

.product-card__compare-at-price {
    font-size: 0.875rem;
    color: var(--precocortado-cor, #1d1d1d);
    text-decoration: line-through;
    margin-left: 6px;
}

/* Frete Grátis FULL Badge (SVG exato do Shopify) */
.badge-frete {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 4px 10px;
    text-align: center;
    margin-top: auto;
}

.badge-frete__text {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--corfretefulltexto, #15b358);
    border: 1.5px dashed var(--corbordafull, #15b358);
    border-radius: var(--arredondafull, 5px);
    padding: 2px 8px;
    line-height: 1.3;
}

.badge-frete__icon-full {
    width: 41px !important;
    height: 13px !important;
    max-width: 41px !important;
    max-height: 13px !important;
    fill: var(--corfretefullicone, #15b358);
    flex-shrink: 0;
    display: inline-block;
}

/* ==========================================================================
   10. PRICE STYLES (Global)
   ========================================================================== */
.price--sale {
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 1.5rem;
    color: #000000;
    line-height: 1.4;
}

.price--regular {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #1d1d1d;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    opacity: 0.4;
}

.price--current {
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 1.5rem;
    color: #000000;
    line-height: 1.4;
}

.price--large {
    font-size: 1.5rem !important;
}

.price--compare {
    font-size: 0.9375rem !important;
    font-weight: 400;
    opacity: 0.4;
    text-decoration-thickness: 1.5px;
}

/* ==========================================================================
   11. BADGES
   ========================================================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 0.8125rem;
    font-weight: var(--fw-bold);
    border-radius: 20px;
    line-height: 1.2;
}

.badge--sale {
    background: #10ab1f !important;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 6px;
    border-radius: 4px;
    vertical-align: middle;
}

/* Shopify exact: discount__percentage */
.discount__percentage {
    padding: 4px 6px !important;
    border-radius: 4px !important;
    position: relative;
    top: -2px;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    color: #fff !important;
    background: #10ab1f !important;
    line-height: 1.2;
    align-items: center;
    margin-left: 6px;
}

/* Badge dentro da galeria do card */
.product-card__media .badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
}

/* ==========================================================================
   12. BUTTONS (Global)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: var(--fw-semibold);
    font-size: 1rem;
    line-height: 1;
    border: 0;
    border-radius: var(--radius-btn);
    padding: 16px 24px;
    min-height: 44px;
    transition: all var(--speed-fast) ease-in-out;
    cursor: pointer;
    text-decoration: none;
}

.btn--primary {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: none;
}

.btn--primary:hover {
    background-color: var(--btn-primary-hover-bg);
    color: var(--btn-primary-hover-text);
}

.btn--secondary {
    background-color: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    border: 1px solid var(--btn-secondary-border);
}

.btn--full {
    width: 100%;
}

.btn--add-to-cart {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 17px;
    font-weight: 600;
    padding: 10px 30px 7px;
    border-radius: 10px;
    min-height: 56px;
    line-height: 1.15;
    background: #28a745;
    color: #ffffff;
    letter-spacing: 0.01em;
    gap: 1px;
    text-align: center;
}

.btn--add-to-cart:hover {
    background: #008157;
}

.btn__trust {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 9.5px;
    font-weight: 400;
    color: rgba(255,255,255,.7);
    letter-spacing: 0.03em;
    line-height: 1;
    margin-top: 1px;
    width: 100%;
}

.btn__trust svg {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
}

@media (max-width: 999px) {
    .btn--add-to-cart {
        font-size: 15px;
        min-height: 52px;
    }
    .btn__trust {
        font-size: 8.5px;
    }
}

.btn--add-to-cart.is-loading {
    opacity: 0.7;
    pointer-events: none;
    cursor: not-allowed;
}

.btn--add-to-cart.is-loading .btn__text {
    display: none;
}

.btn--add-to-cart.is-loading .btn__trust {
    display: none;
}

.btn--add-to-cart.is-loading .btn__loading {
    display: inline !important;
}

.btn--add-to-cart .btn__loading {
    display: none;
}

.btn--checkout {
    font-weight: var(--fw-semibold);
    font-size: 1rem;
    min-height: 52px;
}

/* ==========================================================================
   13. SINGLE PRODUCT PAGE
   ========================================================================== */
.single-product-page {
    padding: 17px 0 20px;
    overflow-x: hidden;
    max-width: 100%;
}

/* --- Breadcrumbs --- */
.breadcrumb {
    margin-bottom: 14px;
    font-size: 0.8rem;
    color: #888;
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
    align-items: center;
}

.breadcrumb__item::after {
    content: '/';
    margin: 0 8px;
    color: #ccc;
    font-size: 0.75rem;
}

.breadcrumb__item:last-child::after {
    display: none;
}

.breadcrumb__item a {
    color: #888;
    text-decoration: none;
    transition: color 0.15s;
}

.breadcrumb__item a:hover {
    color: #333;
    text-decoration: underline;
}

.breadcrumb__item--current {
    color: #444;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

@media (max-width: 899px) {
    .breadcrumb {
        margin-bottom: 10px;
        padding-inline: 4px;
    }
    .breadcrumb__item--current {
        max-width: 160px;
    }
}

/* --- Scarcity bar --- */
.scarcity-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    margin-bottom: 10px;
    background: #fff8f0;
    border: 1px solid #ffe0c2;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #7c4a1d;
    line-height: 1.3;
}

.scarcity-bar svg {
    flex-shrink: 0;
}

.scarcity-bar__text strong {
    color: #c2410c;
    font-weight: 700;
}

/* trust badge agora embutido no botão — ver .btn__trust */

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    max-width: 100%;
    overflow: hidden;
}

@media (max-width: 899px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* No mobile: galeria primeiro, depois detalhes */
    .product-grid__media {
        order: 1;
        max-width: 100%;
        overflow: hidden;
    }
    .product-grid__details {
        order: 2;
        margin-top: 16px;
        max-width: 100%;
        overflow: hidden;
    }
    .product-details {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Product Gallery */
.product-gallery__main {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #f9f9f9;
    margin-bottom: 12px;
}

.product-gallery__main-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.product-gallery__thumbs-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 32px;
}

/* Hide padding when arrows are not present */
.product-gallery__thumbs-wrapper:not(:has(.gallery-arrow)) {
    padding: 0;
}

.product-gallery__thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE/Edge */
}

.product-gallery__thumbs::-webkit-scrollbar {
    display: none;                  /* Chrome/Safari */
}

/* Setas de navegação dos thumbnails */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    color: #333;
    padding: 0;
    transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    z-index: 5;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
}

.gallery-arrow--prev {
    left: 0;
}

.gallery-arrow--next {
    right: 0;
}

.gallery-arrow:hover {
    background: #f5f5f5;
    border-color: #999;
}

.product-gallery__thumb {
    width: 66px;
    height: 66px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    transition: border-color var(--speed-fast) ease;
    background: #f9f9f9;
}

.product-gallery__thumb.is-active {
    border-color: var(--color-foreground);
}

.product-gallery__thumb:hover {
    border-color: var(--color-foreground);
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* ============ PRODUCT DESCRIPTION SECTION (abaixo do grid) ============ */
.product-description-section {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

/* ========== SEÇÃO DE AVALIAÇÕES — LAYOUT MODERNO ========== */

/* --- Section container --- */
.rv {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid #eaeaea;
    width: 100%;
    font-family: var(--font-body);
}

/* --- Header --- */
.rv-head__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-foreground);
    margin: 0 0 24px 0;
    letter-spacing: -0.3px;
}

/* --- Summary (nota + barras) --- */
.rv-summary {
    display: flex !important;
    align-items: stretch !important;
    gap: 0;
    margin-bottom: 28px;
    background: #f9f9f9;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.rv-summary__left {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 28px 36px;
    min-width: 160px;
    border-right: 1px solid #eee;
    gap: 6px;
}

.rv-summary__avg {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--color-foreground);
    line-height: 1;
    letter-spacing: -1px;
}

.rv-summary__stars {
    display: flex;
    align-items: center;
    gap: 1px;
}

.rv-summary__count {
    font-size: 13px;
    color: #888;
    margin-top: 2px;
}

.rv-summary__bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 28px;
    justify-content: center;
}

.rv-bar {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rv-bar__label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    width: 14px;
    text-align: right;
    flex-shrink: 0;
}

.rv-bar__star {
    flex-shrink: 0;
}

.rv-bar__track {
    flex: 1;
    height: 8px;
    background: #e8e8e8;
    border-radius: 99px;
    overflow: hidden;
}

.rv-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, #f5a623, #f7b84e);
    border-radius: 99px;
    transition: width 0.4s ease;
}

.rv-bar__pct {
    font-size: 12px;
    color: #999;
    width: 32px;
    text-align: right;
    flex-shrink: 0;
}

/* --- Photo Gallery --- */
.rv-gallery {
    margin-bottom: 24px;
}

.rv-gallery__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    margin: 0 0 12px 0;
}

.rv-gallery__badge {
    background: #f0f0f0;
    color: #666;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
}

.rv-gallery__strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.rv-gallery__strip::-webkit-scrollbar {
    height: 4px;
}

.rv-gallery__strip::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.rv-gallery__item {
    flex-shrink: 0;
    width: 76px !important;
    height: 76px !important;
    border-radius: 10px;
    overflow: hidden !important;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
    box-sizing: border-box;
}

.rv-gallery__item:hover {
    border-color: #f5a623;
    transform: scale(1.05);
}

.rv-gallery__item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.rv-gallery__more {
    flex-shrink: 0;
    width: 76px;
    height: 76px;
    border-radius: 10px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #888;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.rv-gallery__more:hover {
    background: #e5e5e5;
}

/* --- Filtros --- */
.rv-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.rv-filter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 99px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.rv-filter:hover {
    border-color: #bbb;
    background: #fafafa;
}

.rv-filter--active {
    background: var(--color-foreground);
    color: #fff;
    border-color: var(--color-foreground);
}

.rv-filter--active:hover {
    background: var(--color-foreground);
    color: #fff;
}

/* --- Review Cards --- */
.rv-list {
    display: flex;
    flex-direction: column;
}

.rv-card {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    animation: rvFadeIn 0.3s ease;
}

@keyframes rvFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.rv-card:last-child {
    border-bottom: none;
}

.rv-card__header {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
}

.rv-card__avatar {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    font-family: var(--font-heading);
    flex-shrink: 0 !important;
    letter-spacing: 0;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

.rv-card__info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.rv-card__name {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-foreground);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    line-height: 1.3;
}

.rv-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 500;
    color: #28a745;
    background: #eafbef;
    padding: 1px 8px;
    border-radius: 99px;
}

.rv-card__badge svg {
    flex-shrink: 0;
}

.rv-card__rating-line {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rv-card__sep {
    color: #ccc;
    font-size: 12px;
}

.rv-card__date {
    font-size: 12px;
    color: #999;
}

.rv-card__body {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.65;
    color: #444;
    padding-left: 50px;
}

.rv-card__photos {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px;
    margin-top: 10px;
    padding-left: 46px;
}

.rv-card__photo {
    width: 100px !important;
    height: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    display: block !important;
    cursor: pointer;
    border: 1px solid #eee;
    transition: transform 0.15s, box-shadow 0.15s;
    box-sizing: border-box !important;
}

.rv-card__photo:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.rv-card__photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* --- Stars (SVG) --- */
.rv-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.rv-star {
    display: block;
}

/* --- Load More --- */
.rv-more-wrap {
    text-align: center;
    margin-top: 24px;
    padding-top: 4px;
}

.rv-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 11px 28px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-foreground);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.rv-more-btn:hover {
    background: var(--color-foreground);
    color: #fff;
    border-color: var(--color-foreground);
}

.rv-more-btn:hover svg {
    stroke: #fff;
}

.rv-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.rv-more-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #ddd;
    border-top-color: var(--color-foreground);
    border-radius: 50%;
    animation: rvSpin 0.6s linear infinite;
}

@keyframes rvSpin {
    to { transform: rotate(360deg); }
}

/* --- Empty State --- */
.rv-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 48px 0;
    text-align: center;
}

.rv-empty p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

/* --- Form --- */
.rv-form-section {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid #f0f0f0;
}

.rv-form-section__title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: var(--color-foreground);
}

.rv-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 480px;
}

.rv-form__rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rv-form__rating label {
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.rv-form__stars {
    display: inline-flex;
    gap: 2px;
}

.rv-form__star {
    cursor: pointer;
    transition: transform 0.15s;
    line-height: 0;
}

.rv-form__star:hover {
    transform: scale(1.2);
}

.rv-form__star.selected {
    transform: scale(1.1);
}

.rv-form__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rv-form__field label {
    font-size: 13px;
    font-weight: 500;
    color: #555;
}

.rv-form__field label span {
    color: #aaa;
    font-weight: 400;
}

.rv-form__field input,
.rv-form__field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--color-foreground);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.rv-form__field input:focus,
.rv-form__field textarea:focus {
    outline: none;
    border-color: var(--color-foreground);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.rv-form__field textarea {
    resize: vertical;
    min-height: 72px;
}

.rv-form__submit {
    background: var(--color-foreground);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    align-self: flex-start;
}

.rv-form__submit:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.rv-form__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    padding: 36px 0;
}

.rv-form__success strong {
    font-size: 16px;
    color: #28a745;
}

.rv-form__success p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* --- Lightbox --- */
.rv-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rv-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(4px);
}

.rv-lightbox__content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rv-lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.rv-lightbox__close {
    position: fixed;
    top: 16px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 2;
    line-height: 1;
}

.rv-lightbox__close:hover {
    background: rgba(255,255,255,0.25);
}

.rv-lightbox__prev,
.rv-lightbox__next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 2;
}

.rv-lightbox__prev { left: 16px; }
.rv-lightbox__next { right: 16px; }

.rv-lightbox__prev:hover,
.rv-lightbox__next:hover {
    background: rgba(255,255,255,0.25);
}

/* --- Mobile --- */
@media (max-width: 640px) {
    .rv-summary {
        flex-direction: column;
    }

    .rv-summary__left {
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .rv-summary__avg {
        font-size: 40px;
    }

    .rv-summary__bars {
        padding: 16px 20px;
    }

    .rv-card__body,
    .rv-card__photos {
        padding-left: 0;
    }

    .rv-card__photo {
        width: 80px !important;
        height: 80px !important;
    }

    .rv-gallery__item {
        width: 64px;
        height: 64px;
    }

    .rv-gallery__more {
        width: 64px;
        height: 64px;
        font-size: 13px;
    }

    .rv-filters {
        gap: 6px;
    }

    .rv-filter {
        padding: 5px 12px;
        font-size: 12px;
    }

    .rv-form {
        max-width: 100%;
    }

    .rv-lightbox__prev { left: 8px; }
    .rv-lightbox__next { right: 8px; }
}

/* Data relativa dos reviews */
.renassenza-review-date {
    color: #999;
    font-size: 0.8em;
    font-weight: 400;
}

/* Esconder WooCommerce review padrão quando existir layout custom */
.product-reviews-section {
    display: none !important;
}

@media (min-width: 900px) {
    /* Desktop: description restrita a ~50% (mesma largura da coluna da galeria) */
    .product-description-section {
        max-width: calc(50% - 24px);
    }
}

@media (max-width: 899px) {
    /* Mobile: description tem margem de respiro */
    .product-description-section {
        margin-top: 24px;
        padding-top: 16px;
    }
}

.product-description__title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 38px;
    color: var(--color-foreground);
    letter-spacing: 0;
}

/* Product Description (conteúdo) */
.product-description {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4;
}

.product-description h2,
.product-description h3 {
    font-family: var(--font-heading);
    line-height: 1.25;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.product-description h2 {
    font-size: 2rem;
    font-weight: 600;
}

.product-description h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
}

.product-description p {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 12px;
}

.product-description ul,
.product-description ol {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: var(--space-md);
}

.product-description table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-md) 0;
}

.product-description table th,
.product-description table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
}

.product-description table th {
    font-weight: 600;
    background: #f9f9f9;
}

.product-description li {
    margin-bottom: 6px;
    font-size: 0.875rem;
    line-height: 1.4;
}

.product-description hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: var(--space-lg) 0;
}

.product-description img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.product-description strong,
.product-description b {
    font-weight: 700;
    color: var(--color-foreground);
}

/* Product Details (coluna direita) */
.product-grid__details {
    position: relative;
    overflow: hidden;
    min-width: 0;
}

/* Desktop: add border/card to gallery and details like Shopify */
@media (min-width: 900px) {
    .product-grid__media {
        border: 1px solid var(--color-border);
        border-radius: 8px;
        padding: 24px;
    }
    .product-grid__details {
        border: 1px solid var(--color-border);
        border-radius: 8px;
        padding: 24px;
    }
    .product-details {
        padding-left: 0 !important;
    }
}

.sticky-buy-box {
    position: sticky;
    top: 20px;
}

@media (max-width: 899px) {
    .sticky-buy-box {
        position: static;
    }
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 0 0 40px;
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 1200px) {
    .product-details {
        padding-left: 20px;
    }
}

@media (max-width: 899px) {
    .product-details {
        padding-left: 0;
    }
}

/* Labels */
.product-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 5px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: var(--arredonda-label-desconto, 4px);
}

.label--envio-nacional {
    background: #ffffff;
    color: #009b3a;
    border: 1px solid #009b3a;
}

.label__flag {
    font-size: 0.75rem;
}

.label--vendidos {
    background: #f5f5f5;
    color: #a7a5a5;
    border: none;
}

.label--mais-vendido {
    background: #000000;
    color: #ffffff;
    border: none;
}

/* Title */
.product-details__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0;
    color: var(--color-foreground);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

/* Rating stars abaixo do título */
.product-details__rating {
    margin: 4px 0 2px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}
.product-details__rating .ryviu-total-review,
.product-details__rating .ryviu-widget-total {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.product-details__rating:empty {
    display: none;
}
/* Rating inline (WooCommerce nativo) */
.star-rating-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.star-rating-inline .star-rating {
    font-size: 13px;
    margin: 0;
}
.star-rating-inline .rating-count {
    font-size: 13px;
    color: #666;
}
/* Review images no front-end */
.review-images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.review-images a {
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}
.review-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details__divider {
    border-top: 1px solid var(--color-border);
}

/* Price Row */
.product-details__price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Product Form Variants Container */
.product-form__variants {
    margin-bottom: 12px;
}

/* ==========================================================================
   14. VARIANT PICKER
   ========================================================================== */
.variant-picker {
    margin-bottom: 8px;
}

.variant-picker__label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--color-foreground);
}

.variant-picker__label strong {
    font-weight: 600;
}

.variant-picker__options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-swatch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    padding: 0;
    overflow: hidden;
}

.variant-swatch:hover {
    border-color: rgba(0, 0, 0, 0.4);
}

.variant-swatch.is-selected {
    border-color: var(--color-foreground);
    box-shadow: 0 0 0 1px var(--color-foreground);
}

.variant-swatch--image {
    width: 80px;
    height: 80px;
}

.variant-swatch--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    border-radius: 0;
}

.variant-swatch--text {
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 50px;
    text-align: center;
    border-radius: 5px;
}

.variant-swatch__text {
    font-size: 0.75rem;
}

/* ==========================================================================
   15. FRETE GRÁTIS BOX (estilo Shopify — .fretefundo com logo Correios)
   ========================================================================== */
.fretefundo {
    display: flex;
    align-items: center;
    border-radius: 5px;
    padding: 6px 8px 6px 3px;
    color: #a9a9a9;
    border: 1px solid #bdbdbd70;
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    box-sizing: border-box;
}

.fretefundo > img {
    flex-shrink: 0;
    width: 38px !important;
    height: auto !important;
    padding: 4px !important;
    margin: 0 2px 0 2px !important;
}

.ttl-frete {
    flex-grow: 1;
    font-size: 12px;
    line-height: 1.25;
    margin: 0;
    color: #5e5e5e;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.ip-frete {
    display: inline;
    color: #000000;
    font-size: 12px;
}

@media (max-width: 640px) {
    .fretefundo { margin-top: 10px; }
    .fretefundo > img { width: 34px !important; }
    .fretefundo > p > span { font-size: 11px; }
}

/* ==========================================================================
   15b. DEVOLUÇÃO GARANTIDA BOX (estilo Shopify — .offer-box)
   ========================================================================== */
.offer-box {
    display: flex;
    padding: 6px 8px 6px 3px;
    width: 100%;
    max-width: 100%;
    border: 1px solid #bdbdbd70;
    border-radius: 6px;
    align-items: center;
    background: #ffffff;
    box-sizing: border-box;
}

.offer-box__icon {
    flex-shrink: 0;
    line-height: 0;
}

.offer-box__media {
    background: #16c789;
    margin: 0 6px;
    border-radius: 34px;
    padding: 5px;
    width: 28px;
    height: 28px;
}

.offer-box__media,
.offer-box__media * {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

.offer-box__body {
    line-height: 1.25;
    color: #000000;
    min-width: 0;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.offer-box__title {
    margin: 0 0 .15em;
    font-size: 12px;
    font-weight: 600;
}

.offer-box__text p {
    margin: 0;
    font-size: 12px;
    color: #5e5e5e;
}

/* ==========================================================================
   16. PAYMENT BADGES (estilo Shopify — bandeiras inline SVG)
   ========================================================================== */
.payment-badges {
    text-align: center;
    border: 1px solid #ebebeb;
    border-radius: 5px;
    padding: 20px 10px 10px;
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.payment-badges__title {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    display: inline-block;
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 0 10px;
    white-space: nowrap;
    color: var(--color-foreground, #000);
}

.payment-list2 {
    text-align: center;
    line-height: 0;
    font-size: 0;
    margin: 0 auto;
    max-width: 100%;
}

.cartoes {
    display: inline-block !important;
    height: auto !important;
    margin: 2px 3px 5px !important;
    border-radius: 4px;
    vertical-align: middle;
    width: 38px !important;
}

@media (max-width: 768px) {
    .cartoes {
        width: 36px !important;
        margin: 2px 2px 4px !important;
    }
}

/* ==========================================================================
   17. PRODUCT FORM
   ========================================================================== */
.product-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ==========================================================================
   18. CART DRAWER
   ========================================================================== */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-overlay);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--speed-normal) ease, visibility var(--speed-normal) ease;
}

.cart-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Desktop: drawer largo com 2 colunas (reco + carrinho) */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 860px;
    max-width: 92vw;
    height: 100dvh;
    background: var(--color-background);
    z-index: var(--z-drawer);
    transform: translateX(100%);
    transition: transform var(--speed-slow) var(--ease-out);
    border: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}

.cart-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
}

/* Mobile: drawer full width */
@media (max-width: 899px) {
    .cart-drawer {
        width: 100vw;
        max-width: 100vw;
    }
}

.cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.cart-drawer__title {
    font-size: 1.375rem;
    font-weight: var(--fw-semibold);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-drawer__count {
    font-size: 0.8125rem;
    font-weight: var(--fw-regular);
    background: rgba(0, 0, 0, 0.06);
    padding: 2px 10px;
    border-radius: var(--radius-pill);
}

.cart-drawer__close {
    font-size: 1.5rem;
    line-height: 1;
    padding: 8px;
    color: var(--color-foreground);
    cursor: pointer;
    transition: opacity 0.15s;
}

.cart-drawer__close:hover {
    opacity: 0.6;
}

.cart-drawer__body {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

/* ===================== Recomendações (coluna esquerda) ===================== */
.cart-drawer__recommendations {
    width: 300px;
    min-width: 300px;
    flex-shrink: 0;
    border-right: 1px solid var(--color-border);
    overflow-y: auto;
    padding: 20px 16px;
    background: #fafafa;
}

/* Desktop: reco list is vertical column */
.cart-drawer__reco-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Mobile carousel nav - hidden by default */
.cart-drawer__reco-nav {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

/* ===== Mobile: empilha colunas + recos vira carousel ===== */
@media (max-width: 899px) {
    .cart-drawer__body {
        flex-direction: column;
    }

    .cart-drawer__recommendations {
        width: 100%;
        min-width: unset;
        flex: 0 0 auto;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        overflow: visible;
        max-height: none;
        height: auto;
        padding: 14px 16px 8px;
        background: #fafafa;
    }

    .cart-drawer__reco-title {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }

    .cart-drawer__reco-list-wrap {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 100%;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    .cart-drawer__reco-list-wrap::-webkit-scrollbar { height: 0; }
    .cart-drawer__reco-list-wrap .cart-drawer__reco-item {
        scroll-snap-align: start;
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .cart-drawer__reco-nav {
        display: flex;
    }

    .cart-drawer__items-col {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }
}

.cart-drawer__reco-title {
    font-size: 0.8125rem;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
    letter-spacing: 0.08em;
    color: #333;
}

.cart-drawer__reco-item {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.cart-drawer__reco-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cart-drawer__reco-link {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
}

.cart-drawer__reco-link:hover {
    opacity: 0.85;
}

.cart-drawer__reco-link img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.cart-drawer__reco-info {
    flex: 1;
    min-width: 0;
}

.cart-drawer__reco-name {
    font-size: 0.8125rem;
    font-weight: var(--fw-regular);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
    color: #1a1a1a;
}

.cart-drawer__reco-prices {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.cart-drawer__reco-prices .price--sale {
    font-size: 0.8125rem;
    font-weight: var(--fw-semibold);
    color: #1a1a1a;
}

.cart-drawer__reco-prices .price--regular {
    font-size: 0.75rem;
    color: #999;
}

.btn--reco-add {
    display: block;
    width: 80%;
    margin: 0 auto;
    text-align: center;
    padding: 8px 12px;
    font-size: 0.8125rem;
    font-weight: var(--fw-semibold);
    background: var(--reco-btn-bg);
    color: var(--reco-btn-text);
    border-radius: 10px;
    min-height: 36px;
    transition: opacity 0.15s ease, transform 0.15s ease;
    cursor: pointer;
    border: none;
}

.btn--reco-add:hover {
    opacity: 0.95;
    transform: scale(1.05);
}

.btn--reco-options {
    background: var(--reco-btn-bg);
    color: var(--reco-btn-text);
    border: none;
    text-decoration: none;
}

.reco-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.15s;
    flex-shrink: 0;
}

.reco-arrow:hover {
    opacity: 0.8;
}

.reco-dots {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.reco-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    padding: 0;
}

.reco-dot.is-active {
    background: rgba(0, 0, 0, 0.7);
}

/* ===================== Itens do carrinho (coluna direita) ===================== */
.cart-drawer__items-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0;
    min-width: 0;
}

.cart-drawer__items {
    flex: 1;
    padding: 0 24px;
}

.cart-drawer-item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    grid-template-rows: auto auto;
    gap: 4px 14px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    align-items: start;
}

.cart-drawer-item:last-child {
    border-bottom: none;
}

.cart-drawer-item__image {
    grid-row: 1 / 3;
}

.cart-drawer-item__image img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-drawer-item__info {
    min-width: 0;
}

.cart-drawer-item__name {
    font-size: 0.8125rem;
    font-weight: var(--fw-regular);
    line-height: 1.35;
    display: block;
    color: #1a1a1a;
}

.cart-drawer-item__variant {
    font-size: 0.75rem;
    color: #888;
    display: block;
    margin-top: 2px;
}

.cart-drawer-item__prices {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 4px;
}

.cart-drawer-item__prices .price--sale {
    font-size: 0.8125rem;
    font-weight: var(--fw-semibold);
    color: #1a1a1a;
}

.cart-drawer-item__prices .price--regular {
    font-size: 0.75rem;
    color: #999;
}

.cart-drawer-item__price-side {
    font-weight: var(--fw-semibold);
    font-size: 0.875rem;
    text-align: right;
    color: #1a1a1a;
    white-space: nowrap;
}

.cart-drawer-item__controls {
    grid-column: 2 / 4;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.cart-drawer-item__remove {
    color: #bbb;
    padding: 4px;
    transition: color 0.15s;
    cursor: pointer;
    background: none;
    border: none;
}

.cart-drawer-item__remove:hover {
    color: #333;
}

/* ===================== Drawer Footer ===================== */
.cart-drawer__footer {
    margin-top: auto;
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--color-border);
    background: var(--color-background);
}

.cart-drawer__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9375rem;
    font-weight: var(--fw-regular);
}

.cart-drawer__total strong {
    font-size: 1.35rem;
    font-weight: var(--fw-semibold);
}

.cart-drawer__footer .btn--checkout {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 0.9375rem;
    font-weight: var(--fw-semibold);
    border-radius: 10px;
    background: #28a745;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.15s ease;
    border: none;
    cursor: pointer;
}

.cart-drawer__footer .btn--checkout:hover {
    background: #008157;
}

/* ==========================================================================
   19. QUANTITY SELECTOR
   ========================================================================== */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.quantity-selector__btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background var(--speed-fast) ease;
}

.quantity-selector__btn:hover {
    background: #f5f5f5;
}

.quantity-selector__input {
    width: 40px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    font-size: 0.875rem !important;
    font-weight: var(--fw-medium);
    -moz-appearance: textfield;
}

.quantity-selector__input::-webkit-outer-spin-button,
.quantity-selector__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-selector--small .quantity-selector__btn {
    width: 30px;
    height: 30px;
    font-size: 0.875rem;
}

.quantity-selector--small .quantity-selector__input {
    width: 34px;
    height: 30px;
    font-size: 0.8125rem !important;
}

/* ==========================================================================
   20. SHIPPING BAR (Frete Grátis)
   ========================================================================== */
.shipping-bar {
    margin: 12px 0;
}

.shipping-bar__text {
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 8px;
}

.shipping-bar__track {
    position: relative;
    height: 8px;
    background: #e0e0e0;
    border-radius: var(--radius-pill);
    overflow: visible;
}

.shipping-bar__progress {
    height: 100%;
    background: linear-gradient(to right, var(--shipping-bar-color), #ff9800);
    border-radius: var(--radius-pill);
    transition: width 0.5s var(--ease-out);
}

.shipping-bar__icon {
    position: absolute;
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #666;
    border: 1px solid #ccc;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
    transition: all var(--speed-normal) ease;
}

.shipping-bar__icon svg {
    width: 14px;
    height: 14px;
}

.shipping-bar__icon.achieved {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
    box-shadow: 0 0 10px rgba(40,167,69,0.5);
}

.shipping-bar__icon.achieved svg {
    fill: #fff;
}

/* ==========================================================================
   21. CART PAGE
   ========================================================================== */
.cart-page {
    padding: var(--space-2xl) 0;
    max-width: var(--page-width);
    margin: 0 auto;
    padding-left: 25px;
    padding-right: 25px;
}

.cart-page__empty {
    text-align: center;
    padding: 60px 0 30px;
}

.cart-page__empty-icon {
    margin-bottom: 20px;
}

.cart-page__empty h2 {
    margin-bottom: 16px;
    font-size: 2rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cart-page__empty p {
    margin-bottom: 24px;
    color: #666;
    font-size: 1.1rem;
}

.cart-page__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

@media (max-width: 899px) {
    .cart-page__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.cart-page__title {
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    margin-bottom: 24px;
}

.cart-page__count {
    font-size: 0.875rem;
    font-weight: var(--fw-regular);
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    margin-left: 4px;
}

/* Cart Items */
.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 12px 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

@media (max-width: 599px) {
    .cart-item {
        grid-template-columns: 80px 1fr auto;
        gap: 8px 12px;
    }
    .cart-item__total {
        grid-column: 2 / 4;
    }
}

.cart-item__image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

@media (max-width: 599px) {
    .cart-item__image img {
        width: 80px;
        height: 80px;
    }
}

.cart-item__name {
    font-size: 0.9375rem;
    font-weight: var(--fw-medium);
    display: block;
    margin-bottom: 4px;
    line-height: 1.3;
}

.cart-item__variant {
    font-size: 0.8125rem;
    color: #666;
    display: block;
    margin-bottom: 4px;
}

.cart-item__prices {
    display: flex;
    gap: 8px;
    align-items: center;
}

.cart-item__price {
    font-size: 0.875rem;
    font-weight: var(--fw-semibold);
}

.cart-item__price--compare {
    font-size: 0.8125rem;
    color: #999;
}

.cart-item__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-item__remove {
    color: #999;
    padding: 4px;
}

.cart-item__remove:hover {
    color: var(--color-foreground);
}

.cart-item__total {
    font-weight: var(--fw-semibold);
    font-size: 1rem;
    text-align: right;
    white-space: nowrap;
}

/* Cart Summary */
.cart-summary-box {
    background: rgba(0,0,0,0.03);
    border-radius: var(--radius-sm);
    padding: 24px;
}

.cart-summary-box__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 0;
    font-size: 0.9375rem;
}

.cart-summary-box__price {
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
}

.cart-summary-box__note {
    font-size: 0.8125rem;
    color: #666;
    text-align: center;
    margin-bottom: 16px;
}

.cart-summary-box__note a {
    color: inherit;
    text-decoration: underline;
}

/* Cart Recommendations */
.cart-recommendations {
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
}

.cart-recommendations__title {
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-lg);
}

/* ==========================================================================
   22. PRODUCT GRID (Shop / Recomendações)
   ========================================================================== */
.product-grid--4,
.product-grid--shop {
    display: grid;
    gap: 16px;
}

.product-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.product-grid--shop {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 899px) {
    .product-grid--4,
    .product-grid--shop {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 479px) {
    .product-grid--4,
    .product-grid--shop {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* ==========================================================================
   23. SHOP PAGE
   ========================================================================== */
.shop-page {
    padding: var(--space-2xl) 0;
}

.shop-page__header {
    margin-bottom: var(--space-lg);
}

.shop-page__title {
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
}

.shop-page__divider {
    margin-top: 12px;
}

.shop-page__empty {
    text-align: center;
    padding: 80px 0;
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    gap: 16px;
}

.shop-toolbar select {
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-background);
    font-size: 0.875rem;
}

.shop-toolbar__count {
    font-size: 0.8125rem;
    color: #666;
}

.shop-pagination {
    padding: var(--space-2xl) 0;
    text-align: center;
}

.shop-pagination .woocommerce-pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.shop-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    font-size: 0.875rem;
    transition: all var(--speed-fast) ease;
}

.shop-pagination .page-numbers.current,
.shop-pagination .page-numbers:hover {
    background: var(--color-foreground);
    color: var(--color-background);
    border-color: var(--color-foreground);
}

/* ==========================================================================
   24. FOOTER
   ========================================================================== */
.site-footer {
    margin-top: auto;
}

.footer-divider {
    border-top: 1px solid var(--color-border);
}

.site-footer__inner {
    padding: max(20px, 32px) 0 16px;
}

.site-footer__columns {
    display: flex;
    gap: 52px;
    flex-wrap: wrap;
    padding-bottom: 32px;
}

@media (max-width: 599px) {
    .site-footer__columns {
        flex-direction: column;
        gap: var(--space-lg);
    }
}

.footer-column__title {
    font-size: 0.875rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer-column__email {
    font-size: 0.875rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-policies-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-policies-menu a {
    font-size: 0.875rem;
    color: #444;
    transition: color var(--speed-fast) ease;
}

.footer-policies-menu a:hover {
    color: var(--color-foreground);
}

.site-footer__copyright {
    border-top: 1px solid #f0f0f0;
    padding-top: var(--space-md);
    text-align: center;
}

.site-footer__copyright p {
    font-size: 0.75rem;
    color: #999;
}

/* ==========================================================================
   25. PAGE CONTENT
   ========================================================================== */
.page-content {
    padding: var(--space-2xl) 0;
}

@media (max-width: 767px) {
    .page-content.page-width {
        padding-inline: 28px;
    }
}

.page-content__title {
    font-size: 2rem;
    margin-bottom: var(--space-lg);
}

.page-content__body {
    font-size: 1rem;
    line-height: 1.7;
    max-width: var(--content-width);
}

.page-content__body h2 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
}

.page-content__body h3 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.75rem;
}

.page-content__body p {
    margin-bottom: 1rem;
}

.page-content__body ul,
.page-content__body ol {
    margin: 0 0 1rem 1.5rem;
}

.page-content__body a {
    color: var(--btn-primary-bg);
    text-decoration: underline;
}

/* ==========================================================================
   26. WOOCOMMERCE OVERRIDES (see also section 31)
   ========================================================================== */
.woocommerce-notices-wrapper {
    margin-bottom: 16px;
}

/* ==========================================================================
   27. SCROLLBAR
   ========================================================================== */
* {
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

*::-webkit-scrollbar {
    width: 6px;
}

*::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

/* ==========================================================================
   28. BODY SCROLL LOCK (Cart Drawer open)
   ========================================================================== */
body.drawer-open {
    overflow: hidden;
}

/* ==========================================================================
   29. LOADING STATE
   ========================================================================== */
.btn.is-loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.is-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   30. RESPONSIVE UTILITIES
   ========================================================================== */
@media (max-width: 767px) {
    .hide-mobile { display: none !important; }
}

@media (min-width: 768px) {
    .hide-desktop { display: none !important; }
}

/* ==========================================================================
   31. MISSING SELECTORS & FIXES (Audit)
   ========================================================================== */

/* Announcement bar inner layout */
.announcement-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

/* Cart drawer content wrapper */
.cart-drawer__content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Cart drawer empty state */
.cart-drawer__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    text-align: center;
    flex: 1;
    gap: var(--space-md);
    color: var(--color-text-secondary);
}

.cart-drawer__empty p {
    font-size: 14px;
    margin: 0;
}

/* Product grid media column */
.product-grid__media {
    position: relative;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

/* Product gallery parent */
.product-gallery {
    position: relative;
    width: 100%;
}

/* Variant picker selected value */
.variant-picker__selected {
    font-weight: var(--fw-bold);
}

/* Cart page columns */
.cart-page__items {
    flex: 1;
    min-width: 0;
}

.cart-page__summary {
    position: sticky;
    top: 20px;
    align-self: start;
}

@media (max-width: 899px) {
    .cart-page__summary {
        position: static;
    }
}

/* Cart items container */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* Cart item info */
.cart-item__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

/* Shop toolbar layout */
.shop-toolbar__left {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.shop-toolbar__right {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Footer columns base */
.footer-column {
    min-width: 0;
}

.footer-column--contact {
    flex: 1;
}

.footer-column--policies {
    flex: 1;
}

/* Hero slideshow placeholder */
.hero-slideshow__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    background: #f5f5f5;
    color: #999;
    font-size: 14px;
    text-align: center;
    padding: var(--space-lg);
}

/* WooCommerce overrides: notices styling */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    font-family: var(--font-body);
    font-size: 14px;
    padding: 12px 16px;
    margin-bottom: var(--space-md);
    border-radius: var(--radius-sm);
    list-style: none;
}

.woocommerce-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.woocommerce-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.woocommerce-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.woocommerce-error li {
    list-style: none;
}

/* WooCommerce ordering select */
.woocommerce-ordering select {
    font-family: var(--font-body);
    font-size: 13px;
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff;
    cursor: pointer;
    appearance: auto;
}

/* Fix: WooCommerce default button styling override */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    font-family: var(--font-body);
    font-weight: var(--fw-bold);
    border-radius: var(--radius-btn);
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition-fast);
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: var(--color-primary-hover);
}

/* Cart drawer layout handled in main section */

/* Fix: Home banner full-width */
.home-banner {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.home-banner__link {
    display: block;
    line-height: 0;
}

.home-banner__image {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   32. COLLECTION BANNER (Archive Page)
   ========================================================================== */
.collection-banner {
    width: 100%;
    overflow: hidden;
    margin-bottom: var(--space-md);
    border-radius: var(--radius-sm);
}

.collection-banner__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px;
}

/* ==========================================================================
   33. COLLECTION LIST PAGE (All Collections)
   ========================================================================== */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    padding: var(--space-lg) 0;
}

.collection-card {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: flex-end;
    background: #f5f5f5;
    transition: var(--transition-fast);
}

.collection-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.collection-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.collection-card:hover .collection-card__image {
    transform: scale(1.05);
}

.collection-card__overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: var(--space-md);
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: #fff;
}

.collection-card__title {
    font-size: 18px;
    font-weight: var(--fw-bold);
    margin: 0 0 4px;
}

.collection-card__count {
    font-size: 13px;
    opacity: 0.8;
}

@media (max-width: 767px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
}

@media (max-width: 479px) {
    .collections-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   34. 404 PAGE
   ========================================================================== */
.error-404 {
    padding: var(--space-3xl) 0;
}

.error-404__inner {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.error-404__title {
    font-size: 120px;
    font-weight: var(--fw-extrabold);
    line-height: 1;
    color: var(--color-foreground);
    margin-bottom: var(--space-md);
}

.error-404__text {
    font-size: 24px;
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-sm);
}

.error-404__desc {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

.error-404__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   35. SEARCH RESULTS
   ========================================================================== */
.search-result-card {
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: box-shadow var(--speed-fast) ease;
}

.search-result-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.search-result-card__title a {
    font-size: 15px;
    font-weight: var(--fw-semibold);
    color: var(--color-foreground);
    text-decoration: none;
}

.search-result-card__title a:hover {
    color: var(--btn-primary-bg);
}

.search-result-card__excerpt {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-top: var(--space-xs);
}

/* ==========================================================================
   36. WOOCOMMERCE OVERRIDES (Remove defaults, match Shopify)
   ========================================================================== */

/* --- Remove "Leia mais" / "Add to cart" buttons from product loops --- */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.added_to_cart,
.woocommerce .product .add_to_cart_button,
.woocommerce .product .ajax_add_to_cart,
a.button.product_type_variable,
a.button.product_type_simple {
    display: none !important;
}

/* --- WooCommerce default product loop - force our card style --- */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce ul.products li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 899px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 479px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* --- WooCommerce notices styling --- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    max-width: var(--page-width);
    margin-left: auto;
    margin-right: auto;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: var(--radius-sm);
}

.woocommerce-message {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.woocommerce-info {
    background: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.woocommerce-error {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    list-style: none;
    padding-left: 20px;
}

/* --- WooCommerce default cart block override --- */
.wc-block-cart,
.wp-block-woocommerce-cart {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 25px;
}

/* --- Cart page heading --- */
.cart-page h2,
.woocommerce-cart h1,
.woocommerce-cart .entry-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: var(--space-lg);
}

/* --- Empty Cart Styling --- */
.cart-page__empty,
.wc-block-cart__empty-cart__title,
.cart-empty {
    text-align: center;
    padding: 60px 25px;
}

.cart-page__empty h2 {
    font-size: 2rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
}

.woocommerce-cart .woocommerce-info,
.cart-empty + .woocommerce-info {
    text-align: center;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    color: var(--color-foreground);
}

/* Return to shop button */
.woocommerce .return-to-shop a.button,
.wc-block-cart .wc-block-cart__return-to-shop-block a,
.wc-block-cart__empty-cart__title + .wp-block-buttons a {
    display: inline-block;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text) !important;
    border: none;
    padding: 14px 32px;
    font-size: 0.875rem;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: var(--radius-btn);
}

.woocommerce .return-to-shop a.button:hover,
.wc-block-cart .wc-block-cart__return-to-shop-block a:hover {
    background: var(--btn-primary-hover-bg);
}

/* --- Cross-sells / Related products override --- */
.cross-sells,
.woocommerce .cross-sells,
.related.products {
    max-width: var(--page-width);
    margin: var(--space-xl) auto;
    padding: 0 25px;
}

.cross-sells h2,
.related.products h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: var(--space-lg);
}

/* --- WooCommerce "New in store" block override --- */
.wp-block-woocommerce-product-new .wc-block-grid__products,
.wc-block-grid .wc-block-grid__products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.wc-block-grid .wc-block-grid__product {
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.wc-block-grid .wc-block-grid__product-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.wc-block-grid .wc-block-grid__product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wc-block-grid .wc-block-grid__product-title {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: var(--fw-regular);
    text-transform: uppercase;
    text-align: center;
    padding: 10px 8px 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wc-block-grid .wc-block-grid__product-price {
    text-align: center;
    padding: 0 8px 12px;
    font-family: var(--font-accent);
    font-weight: var(--fw-semibold);
}

/* Hide "add to cart" / "Leia mais" button in grid blocks */
.wc-block-grid .wc-block-grid__product-add-to-cart,
.wc-block-grid .wp-block-button,
.wc-block-grid .wc-block-grid__product-add-to-cart .wp-block-button__link {
    display: none !important;
}

/* Hide star rating in blocks */
.wc-block-grid .wc-block-grid__product-rating {
    display: none !important;
}

@media (max-width: 899px) {
    .wp-block-woocommerce-product-new .wc-block-grid__products,
    .wc-block-grid .wc-block-grid__products {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- WooCommerce block headings --- */
.wc-block-cart .wp-block-heading,
.woocommerce-cart .wp-block-heading {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Product page width constraint --- */
.woocommerce-page .page-width,
.woocommerce .page-width {
    max-width: var(--page-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 25px;
    padding-right: 25px;
}

/* --- Cart Recommendations (from our custom cart.php) --- */
.cart-recommendations {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.cart-recommendations__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: var(--space-lg);
}

/* --- Force product links to be clickable --- */
.product-card__link,
.wc-block-grid__product a {
    text-decoration: none;
    color: inherit;
}

.product-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 4px;
}

.product-card__link:hover {
    text-decoration: none;
    color: inherit;
}

/* --- WooCommerce cart page table override (classic shortcode) --- */
.woocommerce-cart .woocommerce {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 25px;
}
