/* ===================================================
   DS Móveis e Decorações — Design System
   Paleta: Off White #F7F5F2, Bege #E8DCCF, Marrom #5A3E36, Terracota #C46A4A
   Tipografia: Playfair Display (headings) + Poppins (body)
   =================================================== */

/* ── Reset & Base ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #FFFFFF;
    --beige: #E8DCCF;
    --beige-light: #F7F5F2;
    --beige-mid: #E8DCCF;
    --brown: #5A3E36;
    --brown-dark: #3A2820;
    --gold: #C46A4A;
    --brown-light: #7A5C54;
    --brown-hover: #3A2820;
    --header-bg: #F7F5F2;
    --header-text: #ffffff;
    --green-whatsapp: #25D366;
    --green-whatsapp-hover: #1EBE57;
    --text-primary: #2E2E2E;
    --text-secondary: #6B5A4E;
    --text-light: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 2px 8px rgba(90, 62, 54, 0.06);
    --shadow-md: 0 4px 20px rgba(90, 62, 54, 0.1);
    --shadow-lg: 0 8px 40px rgba(90, 62, 54, 0.14);
    --shadow-xl: 0 16px 60px rgba(90, 62, 54, 0.18);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --t-fast: 200ms ease;
    --t-normal: 300ms ease;
    --t-slow: 400ms ease;
    --t-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --shadow-glow-gold: 0 4px 20px rgba(196, 106, 74, 0.35);
    --shadow-glow-brown: 0 4px 20px rgba(58, 40, 32, 0.35);
    --header-h: 80px;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

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

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--t-fast);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--t-normal);
    white-space: nowrap;
    text-align: center;
    justify-content: center;
    line-height: 1.4;
}

.btn--primary {
    background: var(--gold);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.btn--primary::before,
.btn--whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
    pointer-events: none;
}

.btn--primary:hover::before,
.btn--whatsapp:hover::before {
    left: 130%;
}

.btn--primary:hover {
    background: var(--brown);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--light {
    background: var(--white);
    color: var(--brown-dark);
}

.btn--light:hover {
    background: var(--beige);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--brown);
    border: 2px solid var(--brown);
}

.btn--outline:hover {
    background: var(--brown);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--whatsapp {
    background: var(--green-whatsapp);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.btn--whatsapp:hover {
    background: var(--green-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn--large {
    padding: 18px 44px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

/* ── Section Shared ── */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brown);
    margin-bottom: 14px;
    position: relative;
    padding: 6px 16px;
    background: rgba(92, 64, 51, 0.08);
    border-radius: 30px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 16px;
    color: var(--text-primary);
    position: relative;
}

.section-header .section-title::after {
    content: '';
    display: block;
    margin: 8px auto 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-header:hover .section-title::after {
    width: 80px;
}

.section-title--left {
    text-align: left;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--left {
    transform: translateX(-30px);
}

.reveal--left.visible {
    transform: translateX(0);
}

.reveal--right {
    transform: translateX(30px);
}

.reveal--right.visible {
    transform: translateX(0);
}

.reveal--scale {
    transform: scale(0.92);
}

.reveal--scale.visible {
    transform: scale(1);
}

.reveal--delay-1 {
    transition-delay: 0.15s;
}

.reveal--delay-2 {
    transition-delay: 0.3s;
}

.reveal--delay-3 {
    transition-delay: 0.45s;
}

/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background var(--t-normal), box-shadow var(--t-normal), height var(--t-normal);
    height: var(--header-h);
}

.header.scrolled {
    background: rgba(247, 245, 242, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    height: 70px;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}

.header__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header__logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: height var(--t-normal), filter var(--t-normal);
    filter: brightness(0) invert(1);
}

.header.scrolled .header__logo img {
    height: 50px;
    filter: none;
}

.header__nav {
    display: flex;
    align-items: center;
}

.header__menu {
    display: flex;
    gap: 36px;
}

.header__link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--header-text);
    position: relative;
    padding: 4px 0;
    transition: color var(--t-fast);
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--t-normal);
    border-radius: 1px;
}

.header__link:hover::after {
    width: 100%;
}

.header.scrolled .header__link {
    color: var(--brown);
}

.header.scrolled .header__link:hover {
    color: var(--gold);
}

.header__cta {
    padding: 10px 24px;
    font-size: 0.88rem;
}

.header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.header__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--header-text);
    border-radius: 2px;
    transition: all var(--t-normal);
}

.header.scrolled .header__toggle span {
    background: var(--brown);
}

.header__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__toggle.active span:nth-child(2) {
    opacity: 0;
}

.header__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--brown-dark);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(62, 39, 35, 0.55) 0%,
            rgba(92, 64, 51, 0.3) 50%,
            rgba(62, 39, 35, 0.6) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 60px;
    padding: 160px 24px 100px;
}

.hero__badge {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.06);
}

.hero__title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    color: var(--white);
    margin-bottom: 22px;
    line-height: 1.15;
    max-width: 600px;
}

.hero__title .highlight {
    color: var(--beige);
    font-style: italic;
}

.hero__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    flex-direction: column;
    gap: 28px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    vertical-align: middle;
}

.hero__stat-plus {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    color: var(--beige);
    vertical-align: middle;
}

.hero__stat-label {
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
    font-weight: 500;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.2rem;
    animation: bounceDown 2s ease infinite;
}

@keyframes bounceDown {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(10px);
    }

    60% {
        transform: translateX(-50%) translateY(5px);
    }
}

/* ═══════════════════════════════════════════════════════
   CATEGORIES
   ═══════════════════════════════════════════════════════ */
.categories {
    padding: 100px 0;
    background: var(--white);
}

.categories__carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.categories__track-wrapper {
    flex: 1;
    overflow: hidden;
}

.categories__track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
}

.categories__arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(92, 64, 51, 0.15);
    background: var(--white);
    color: var(--brown);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all var(--t-fast);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.categories__arrow:hover {
    background: var(--brown);
    color: var(--white);
    border-color: var(--brown);
}

.category-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s cubic-bezier(.34, 1.2, .64, 1), box-shadow 0.3s ease;
    border: 1px solid rgba(92, 64, 51, 0.08);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(62, 39, 35, .15);
}

.category-card__img {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.category-card__img svg,
.category-card__img img {
    width: 100%;
    height: 100%;
    transition: transform var(--t-slow);
    object-fit: cover;
}

.category-card__img img {
    opacity: 0;
    transition: opacity 0.35s ease, transform var(--t-slow);
}

.category-card__img img.img-loaded {
    opacity: 1;
}

.category-card:hover .category-card__img svg,
.category-card:hover .category-card__img img {
    transform: scale(1.06);
}

.category-card__body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.category-card__name {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.category-card__action {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brown);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--t-fast);
    margin-top: auto;
}

.category-card:hover .category-card__action {
    gap: 10px;
}

/* ═══════════════════════════════════════════════════════
   PRODUCTS
   ═══════════════════════════════════════════════════════ */
.products {
    padding: 100px 0;
    background: var(--beige-light);
}

.products__carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.products__track-wrapper {
    flex: 1;
    overflow: hidden;
}

.products__track {
    display: flex;
    gap: 28px;
    transition: transform 0.45s ease;
}

.products__arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(92, 64, 51, 0.15);
    background: var(--white);
    color: var(--brown);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all var(--t-fast);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.products__arrow:hover {
    background: var(--brown);
    color: var(--white);
    border-color: var(--brown);
}

.products__footer {
    text-align: center;
    margin-top: 48px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s cubic-bezier(.34, 1.2, .64, 1), box-shadow 0.3s ease;
    border: 1px solid rgba(92, 64, 51, 0.06);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(62, 39, 35, .15);
}

.product-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5/4;
    background-color: #f5f5f5;
}

.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--t-slow);
}

.product-card:hover .product-card__img img {
    transform: scale(1.05);
}

.product-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--beige-mid);
    font-size: 2.5rem;
    color: rgba(92, 64, 51, 0.2);
}

.product-card__img svg {
    width: 100%;
    height: 100%;
    transition: transform var(--t-slow);
}

.product-card:hover .product-card__img svg {
    transform: scale(1.05);
}

.product-card:hover .product-card__img img {
    transform: scale(1.05);
}

.product-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--brown);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card__name {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.product-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .btn--outline {
    width: 100%;
    padding: 12px;
    font-size: 0.88rem;
}

/* ═══════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════ */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about__image svg {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.about__experience {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--brown);
    color: var(--white);
    padding: 14px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.about__experience-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.about__experience-text {
    font-size: 0.82rem;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.3;
}

.about__content .section-tag {
    margin-bottom: 16px;
}

.about__content .section-title {
    margin-bottom: 24px;
}

.about__text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about__text strong {
    color: var(--text-primary);
}

.about__highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 28px 0 32px;
}

.about__highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-primary);
}

.about__highlight-item i {
    color: var(--brown);
    font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════
   FEATURES (DIFERENCIAIS)
   ═══════════════════════════════════════════════════════ */
.features {
    padding: 100px 0;
    background: var(--beige-light);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s cubic-bezier(.34, 1.2, .64, 1), box-shadow 0.3s ease;
    border: 1px solid rgba(92, 64, 51, 0.06);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: var(--gold);
    transition: left 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover::before {
    left: 0;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(62, 39, 35, .15);
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(92, 64, 51, 0.08);
    border-radius: var(--radius-sm);
    margin: 0 auto 20px;
    font-size: 1.4rem;
    color: var(--brown);
    transition: background var(--t-normal), color var(--t-normal), transform var(--t-normal), box-shadow var(--t-normal);
}

.feature-card:hover .feature-card__icon {
    background: var(--brown);
    color: var(--white);
    transform: rotate(-5deg) scale(1.1);
    box-shadow: var(--shadow-glow-brown);
}

.feature-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════ */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    padding: 36px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(92, 64, 51, 0.08);
    transition: transform 0.35s cubic-bezier(.34, 1.2, .64, 1), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    right: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 7rem;
    color: var(--gold);
    opacity: 0.07;
    line-height: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover::before {
    opacity: 0.12;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 36px rgba(62, 39, 35, .12);
}

.testimonial-card__stars {
    display: flex;
    gap: 3px;
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 0.9rem;
}

.testimonial-card:hover .testimonial-card__stars i {
    animation: star-wave 0.4s ease both;
}

.testimonial-card:hover .testimonial-card__stars i:nth-child(1) { animation-delay: 0s; }
.testimonial-card:hover .testimonial-card__stars i:nth-child(2) { animation-delay: 0.06s; }
.testimonial-card:hover .testimonial-card__stars i:nth-child(3) { animation-delay: 0.12s; }
.testimonial-card:hover .testimonial-card__stars i:nth-child(4) { animation-delay: 0.18s; }
.testimonial-card:hover .testimonial-card__stars i:nth-child(5) { animation-delay: 0.24s; }

@keyframes star-wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.testimonial-card__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brown);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-card__name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.testimonial-card__location {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════ */
.cta {
    padding: 100px 0;
    background: var(--brown-dark);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(92, 64, 51, 0.4), transparent 70%),
        radial-gradient(circle at 75% 20%, rgba(196, 106, 74, 0.15), transparent 55%);
    animation: cta-glow 6s ease-in-out infinite alternate;
}

@keyframes cta-glow {
    0%   { opacity: 0.8; }
    100% { opacity: 1; }
}

.cta__inner {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta__icon {
    width: 80px;
    height: 80px;
    background: rgba(37, 211, 102, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 2rem;
    color: var(--green-whatsapp);
}

.cta__title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta__text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 36px;
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════ */
.contact {
    padding: 100px 0;
    background: var(--beige-light);
}

.contact__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(92, 64, 51, 0.06);
    transition: transform 0.35s cubic-bezier(.34, 1.2, .64, 1), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-card:hover::after {
    width: 60%;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 36px rgba(62, 39, 35, .12);
}

.contact-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(92, 64, 51, 0.08);
    border-radius: var(--radius-sm);
    margin: 0 auto 16px;
    font-size: 1.3rem;
    color: var(--brown);
    transition: transform var(--t-normal), box-shadow var(--t-normal), background var(--t-normal);
}

.contact-card:hover .contact-card__icon {
    transform: scale(1.12);
    box-shadow: var(--shadow-glow-brown);
    background: rgba(92, 64, 51, 0.14);
}

.contact-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-card__info {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
    background: var(--brown-dark);
    color: var(--text-light);
    padding-top: 70px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 50px;
}

.footer__logo {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer__desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer__social {
    display: flex;
    gap: 14px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--t-normal);
}

.footer__social a:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-gold);
}

.footer__heading {
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 22px;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a,
.footer__links li {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--t-fast);
}

.footer__links a:hover {
    color: var(--white);
}

.footer__links--contact li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__links--contact i {
    width: 16px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ═══════════════════════════════════════════════════════
   PAGE HERO (subpages)
   ═══════════════════════════════════════════════════════ */
.header--solid {
    background: var(--brown-dark);
    box-shadow: var(--shadow-md);
}

.header__logo-text {
    color: var(--header-text);
}

.header--solid .header__logo-text {
    color: var(--header-text);
}

.header.scrolled .header__logo-text {
    color: var(--header-text);
}

.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
    color: var(--white);
}

.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.page-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--t-fast);
}

.page-hero__breadcrumb a:hover {
    color: var(--white);
}

.page-hero__breadcrumb i {
    font-size: 0.65rem;
}

.page-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.page-hero__desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════════════ */
.gallery {
    padding: 60px 0 100px;
    background: var(--beige-light);
    min-height: 60vh;
}

.gallery__selects {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.gallery__select {
    border: 1px solid var(--beige-mid, #EDE8E3);
    border-radius: 8px;
    padding: 8px 36px 8px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235C4033' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.gallery__select:hover {
    border-color: var(--brown);
}

.gallery__select:focus {
    outline: none;
    border-color: var(--brown);
    box-shadow: 0 0 0 3px rgba(92, 64, 51, 0.12);
}

.gallery__info {
    margin-bottom: 28px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.gallery__loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.gallery__loading i {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--brown);
}

.gallery__empty {
    text-align: center;
    padding: 80px 20px;
}

.gallery__empty i {
    font-size: 3rem;
    color: var(--brown-light);
    margin-bottom: 20px;
}

.gallery__empty h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.gallery__empty p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Gallery Card */
.gallery-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s cubic-bezier(.34, 1.2, .64, 1), box-shadow 0.3s ease;
    border: 1px solid rgba(92, 64, 51, 0.06);
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(62, 39, 35, .15);
}

.gallery-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--beige-mid);
}

.gallery-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.35s ease, transform var(--t-slow);
}

.gallery-card__img img.img-loaded {
    opacity: 1;
}

.gallery-card:hover .gallery-card__img img {
    transform: scale(1.08);
}

.gallery-card__eye {
    position: absolute;
    inset: 0;
    background: rgba(58, 40, 32, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.gallery-card__eye i {
    font-size: 1.6rem;
    color: #fff;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-card:hover .gallery-card__eye {
    opacity: 1;
}

.gallery-card:hover .gallery-card__eye i {
    transform: scale(1);
}

.gallery-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--beige-mid);
}

.gallery-card__placeholder i {
    font-size: 3rem;
    color: rgba(92, 64, 51, 0.2);
}

.gallery-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--brown);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.gallery-card__cat {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(62, 39, 35, 0.75);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.gallery-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gallery-card__name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    transition: color var(--t-fast);
}

.gallery-card:hover .gallery-card__name {
    color: var(--brown);
}

.gallery-card__desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-card__price {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 16px;
}

.gallery-card__detail {
    margin-top: auto;
}

.gallery-card .btn--outline {
    width: 100%;
    padding: 12px;
    font-size: 0.85rem;
}

/* Gallery Carousel */
.gallery-carousel {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.gallery-carousel__track {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-carousel__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-carousel__slide.active {
    opacity: 1;
}

/* Override gallery-card__img img.img-loaded that would make all slides visible */
.gallery-card__img .gallery-carousel__slide:not(.active) {
    opacity: 0;
}

.gallery-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--brown-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity var(--t-fast);
    z-index: 2;
}

.gallery-card:hover .gallery-carousel__btn {
    opacity: 1;
}

.gallery-carousel__btn--prev {
    left: 8px;
}

.gallery-carousel__btn--next {
    right: 8px;
}

.gallery-carousel__btn:hover {
    background: var(--white);
}

.gallery-carousel__dots {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.gallery-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background var(--t-fast), transform var(--t-fast);
}

.gallery-carousel__dot.active {
    background: var(--white);
    transform: scale(1.25);
}

.gallery-carousel__counter {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 10px;
    z-index: 2;
}

/* ═══════════════════════════════════════════════════════
   WHATSAPP FLOAT
   ═══════════════════════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: var(--green-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    z-index: 900;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float__pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: pulsate 2s ease-out infinite;
    pointer-events: none;
}

@keyframes pulsate {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 1024px (Tablet Landscape)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .products__track {
        gap: 20px;
    }

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

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

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

    .footer__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }

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

    .about__inner {
        gap: 40px;
    }

    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__title {
        max-width: 100%;
    }

    .hero__subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        flex-direction: row;
        justify-content: center;
        gap: 40px;
        margin: 0 auto;
    }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 768px (Tablet Portrait)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    :root {
        --header-h: 70px;
    }

    .header__cta span {
        display: none;
    }

    .header__cta {
        padding: 10px 14px;
    }

    .header__toggle {
        display: flex;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 85vw);
        height: 100dvh;
        background: linear-gradient(175deg, #2A1810 0%, #3E2723 55%, #5C4033 100%);
        flex-direction: column;
        justify-content: flex-start;
        padding: 0;
        transition: right var(--t-normal);
        box-shadow: -6px 0 50px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        overflow-y: auto;
    }

    /* Overlay cobre apenas o conteúdo, não o painel do menu */
    .header__nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: min(300px, 85vw);
        background: rgba(0, 0, 0, 0.6);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--t-normal);
        z-index: -1;
    }

    .header__nav.active {
        right: 0;
    }

    .header__nav.active::before {
        opacity: 1;
        pointer-events: auto;
    }

    .header__menu {
        flex-direction: column;
        gap: 0;
        padding: 80px 0 32px;
    }

    .header__link {
        color: rgba(255, 255, 255, 0.8);
        font-size: 1rem;
        padding: 17px 32px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        display: block;
        letter-spacing: 0.2px;
        transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
    }

    .header__link:hover {
        color: #C46A4A;
        background: rgba(255, 255, 255, 0.06);
        padding-left: 40px;
    }

    .header__link--active {
        color: #C46A4A !important;
    }

    .header__link::after {
        display: none;
    }

    .header__toggle.active span {
        background: var(--white);
    }

    .header__logo img {
        height: 70px;
    }

    .header.scrolled .header__logo img {
        height: 44px;
    }

    .about__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__highlights {
        grid-template-columns: 1fr;
    }

    .section-title--left {
        text-align: center;
    }

    .about__content .section-tag {
        text-align: center;
        display: block;
    }

    .about__content {
        text-align: center;
    }

    .about__content .btn {
        margin: 0 auto;
    }

    .hero__content {
        padding: 140px 24px 80px;
    }

    .hero__stats {
        flex-direction: row;
        gap: 24px;
        padding: 24px;
    }

    .hero__stat-number {
        font-size: 1.8rem;
    }

    .categories {
        padding: 80px 0;
    }

    .products {
        padding: 80px 0;
    }

    .about {
        padding: 80px 0;
    }

    .features {
        padding: 80px 0;
    }

    .testimonials {
        padding: 80px 0;
    }

    .cta {
        padding: 80px 0;
    }

    .contact {
        padding: 80px 0;
    }

    .gallery {
        padding: 40px 0 80px;
    }

    .page-hero {
        padding: 110px 0 40px;
    }

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 480px (Mobile)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    :root {
        --header-h: 64px;
    }

    .container {
        padding: 0 16px;
    }

    /* Esconde o botão WhatsApp do header — o float já cumpre esse papel */
    .header__cta {
        display: none;
    }

    /* Esconde tooltip do WhatsApp float em mobile */
    .whatsapp-float__label {
        display: none;
    }

    /* Gallery controls: ajusta ao header menor */
    .gallery__controls {
        top: 64px;
    }

    .header__logo img {
        height: 56px;
    }

    .header.scrolled .header__logo img {
        height: 40px;
    }

    .hero__content {
        padding: 120px 16px 60px;
    }

    .hero__title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__stats {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .hero__stat-number {
        font-size: 1.6rem;
    }

    .categories__arrow {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .products__track {
        gap: 16px;
    }

    .products__arrow {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .features__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .feature-card__icon {
        width: 56px;
        height: 56px;
        font-size: 1.2rem;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card::before {
        font-size: 5rem;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer__logo {
        height: 64px;
    }

    .about__experience-number {
        font-size: 1.7rem;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__links--contact li {
        justify-content: center;
    }

    .footer__links--contact a {
        justify-content: center;
    }

    .footer__col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .btn--large {
        padding: 16px 32px;
        font-size: 1rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 1.4rem;
    }

    .back-to-top {
        right: 20px;
        bottom: 86px;
    }

    .categories {
        padding: 60px 0;
    }

    .products {
        padding: 60px 0;
    }

    .about {
        padding: 60px 0;
    }

    .features {
        padding: 60px 0;
    }

    .testimonials {
        padding: 60px 0;
    }

    .cta {
        padding: 60px 0;
    }

    .contact {
        padding: 60px 0;
    }

    .gallery__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery__selects {
        gap: 8px;
    }

    .gallery__select {
        font-size: 0.82rem;
        padding: 7px 32px 7px 12px;
    }

    .page-hero {
        padding: 100px 0 32px;
    }

    .page-hero__title {
        font-size: 1.8rem;
    }

    .page-hero__desc {
        font-size: 0.92rem;
    }

    .gallery {
        padding: 32px 0 60px;
    }
}

/* ═══════════════════════════════════════════════════════
   PRODUCTS HERO GRID (assimétrico)
   ═══════════════════════════════════════════════════════ */
.products__hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 20px;
}

/* Card genérico */
.phc {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--beige-mid);
    display: block;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.phc--large { grid-row: 1 / 3; height: 520px; }
.phc--small { height: 250px; }
.phc--single { grid-column: 1 / -1; height: 400px; }

/* Imagem */
.phc__img-wrap { position: absolute; inset: 0; overflow: hidden; }
.phc__img { width: 100%; height: 100%; object-fit: cover; object-position: center center; opacity: 0; transition: opacity 0.35s ease, transform 0.55s ease; display: block; }
.phc__img.img-loaded { opacity: 1; }
.phc:hover .phc__img { transform: scale(1.04); }
.phc__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--beige-mid); }
.phc__placeholder i { font-size: 3.5rem; color: rgba(92,64,51,0.18); }

/* Overlay gradiente */
.phc__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,18,14,0.88) 0%, rgba(30,18,14,0.25) 40%, transparent 75%); transition: background 0.3s ease; }
.phc--small .phc__overlay { background: linear-gradient(to top, rgba(30,18,14,0.92) 0%, rgba(30,18,14,0.5) 38%, transparent 62%); }
.phc:hover .phc__overlay { background: linear-gradient(to top, rgba(30,18,14,0.94) 0%, rgba(30,18,14,0.35) 45%, transparent 78%); }

/* Conteúdo */
.phc__body { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 22px; display: flex; flex-direction: column; align-items: flex-start; }
.phc--large .phc__body { padding: 32px 28px; }
.phc__cat { display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); margin-bottom: 8px; }
.phc__name { color: #fff; font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.2; margin-bottom: 10px; }
.phc--large .phc__name { font-size: 1.7rem; }
.phc--small .phc__name { font-size: 1.05rem; margin-bottom: 6px; }
.phc__price { color: rgba(255,255,255,0.8); font-size: 0.92rem; font-weight: 600; margin-top: 4px; margin-bottom: 14px; }
.phc--large .phc__price { font-size: 1.05rem; }
.phc__price--consult { color: var(--gold); }
.phc__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 0; background: rgba(255,255,255,0.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 0.85rem; font-weight: 600; padding: 10px 20px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); transition: all 0.25s ease; font-family: 'Poppins', sans-serif; }
.phc:hover .phc__cta { background: var(--gold); border-color: var(--gold); color: var(--brown-dark); }

/* Badge destaque */
.phc__badge { position: absolute; top: 16px; left: 16px; background: var(--gold); color: var(--brown-dark); font-size: 0.67rem; font-weight: 700; padding: 5px 14px; border-radius: 30px; text-transform: uppercase; letter-spacing: 1px; z-index: 1; }

@media (max-width: 768px) {
    .products__hero-grid { grid-template-columns: 1fr; grid-template-rows: none; }
    .phc--large { grid-row: auto; height: 340px; }
    .phc--small { height: 220px; }
    .phc--single { height: 300px; }
}
@media (max-width: 480px) {
    .phc--large { height: 270px; }
    .phc--small { height: 200px; }
    .phc--single { height: 260px; }
}

/* ═══════════════════════════════════════════════════════
   HOW IT WORKS — Como Funciona
   ═══════════════════════════════════════════════════════ */
.how-it-works {
    padding: 100px 0;
    background: var(--beige-light);
    position: relative;
    overflow: hidden;
}

.how-it-works__steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.hiw-step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 0 24px;
    position: relative;
}

.hiw-step__num {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: var(--gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    user-select: none;
    box-shadow: 0 4px 14px rgba(196, 106, 74, 0.4);
}

.hiw-step__icon-wrap {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.9rem;
    color: var(--brown);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(92,64,51,0.07);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(.34,1.2,.64,1), box-shadow 0.3s ease;
}

.hiw-step:hover .hiw-step__icon-wrap {
    background: var(--brown);
    color: #fff;
    transform: translateY(-6px) scale(1.06);
    box-shadow: var(--shadow-lg);
}

.hiw-step__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.hiw-step__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.hiw-connector {
    display: flex;
    align-items: center;
    padding-top: 68px;
    flex-shrink: 0;
    color: rgba(92,64,51,0.2);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .how-it-works { padding: 80px 0; }
    .how-it-works__steps { flex-direction: column; align-items: center; gap: 8px; }
    .hiw-step { max-width: 100%; padding: 0; }
    .hiw-connector { padding: 0; transform: rotate(90deg); }
}

@media (max-width: 480px) {
    .how-it-works { padding: 60px 0; }
}

/* ═══════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════ */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    align-items: center;
    width: max-content;
    max-width: calc(100vw - 32px);
}
.toast {
    background: var(--white);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(62,39,35,0.18);
    pointer-events: all;
    animation: toast-in 0.35s cubic-bezier(.34,1.2,.64,1) both;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    border-left: 4px solid var(--brown);
    min-width: 240px;
    max-width: 360px;
}
.toast--success { border-left-color: #22c55e; }
.toast--error { border-left-color: #ef4444; }
.toast.removing { animation: toast-out 0.3s ease forwards; }
.toast__icon { font-size: 1.1rem; flex-shrink: 0; color: var(--brown); }
.toast--success .toast__icon { color: #22c55e; }
.toast--error .toast__icon { color: #ef4444; }
.toast__msg { flex: 1; color: var(--text-primary); line-height: 1.4; }
.toast__action { background: none; border: none; cursor: pointer; color: var(--brown); font-weight: 700; font-size: 0.83rem; padding: 0 0 0 6px; text-decoration: underline; white-space: nowrap; font-family: 'Poppins', sans-serif; }
.toast__close { background: none; border: none; cursor: pointer; color: var(--text-secondary); padding: 0 0 0 8px; font-size: 0.82rem; flex-shrink: 0; }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(0.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(0.94); } }


/* ═══════════════════════════════════════════════════════
   WHATSAPP FLOAT — tooltip label
   ═══════════════════════════════════════════════════════ */
.whatsapp-float__label {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: var(--brown-dark);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.whatsapp-float__label::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--brown-dark);
}
.whatsapp-float:hover .whatsapp-float__label { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ═══════════════════════════════════════════════════════
   GALLERY — sticky controls bar
   ═══════════════════════════════════════════════════════ */
.gallery__controls {
    position: sticky;
    top: var(--header-h, 70px);
    z-index: 100;
    background: var(--beige-light);
    padding-top: 16px;
    padding-bottom: 4px;
    transition: box-shadow 0.25s ease;
}
.gallery__controls.stuck {
    box-shadow: 0 4px 20px rgba(62,39,35,0.09);
}
.gallery__search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, color 0.15s ease;
}
.gallery__search-clear.visible { opacity: 1; pointer-events: all; }
.gallery__search-clear:hover { color: var(--brown); }

/* ── Inline form field error ── */
.field-error { border-color: rgba(239,68,68,0.7) !important; }
.field-error-msg {
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 4px;
    display: block;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 320px (Small Mobile)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .hero__badge {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .hero__stat-number {
        font-size: 1.4rem;
    }

    .category-card__body {
        padding: 16px;
    }

    .product-card__body {
        padding: 20px 18px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-card__icon {
        width: 52px;
        height: 52px;
        font-size: 1.1rem;
    }

    .testimonial-card {
        padding: 28px 22px;
    }

    .testimonial-card::before {
        font-size: 4rem;
    }

    .contact-card {
        padding: 28px 20px;
    }

    .about__experience-number {
        font-size: 1.6rem;
    }

    .footer__logo {
        height: 60px;
    }
}

/* ═══════════════════════════════════════════════════════
   CART BUTTON (header)
   ═══════════════════════════════════════════════════════ */
.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(90, 62, 54, 0.08);
    border: none;
    cursor: pointer;
    color: var(--brown);
    font-size: 1.1rem;
    transition: background var(--t-fast), color var(--t-fast);
    flex-shrink: 0;
}

.cart-btn:hover {
    background: var(--brown);
    color: #fff;
}

/* Cabeçalho transparente sobre o hero escuro (home, topo): ícone branco */
.header:not(.scrolled):not(.header--solid) .cart-btn {
    background: rgba(255, 255, 255, 0.08);
    color: var(--header-text);
}

.header:not(.scrolled):not(.header--solid) .cart-btn:hover {
    background: var(--header-text);
    color: var(--header-bg);
}

/* Cabeçalho sólido escuro (produtos/tecidos): ícone branco */
.header--solid .cart-btn {
    background: rgba(255, 255, 255, 0.08);
    color: var(--header-text);
}

.header--solid .cart-btn:hover {
    background: var(--header-text);
    color: var(--header-bg);
}

.cart-btn__badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--gold);
    color: var(--header-bg);
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: transform 0.25s cubic-bezier(.34,1.4,.64,1);
}

.header.scrolled .cart-btn__badge {
    background: var(--gold);
    color: var(--header-bg);
}

/* ═══════════════════════════════════════════════════════
   PRODUCT DETAIL MODAL
   ═══════════════════════════════════════════════════════ */
.pd-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 18, 14, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.pd-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

body.pd-open {
    overflow: hidden;
}

.pd-modal {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 960px;
    height: 90vh;
    max-height: 90vh;
    display: grid;
    grid-template-columns: 55% 45%;
    grid-template-rows: 1fr;
    overflow: hidden;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(30, 18, 14, 0.12),
        0 24px 64px rgba(30, 18, 14, 0.18);
    transform: translateY(32px) scale(0.96);
    transition: transform 380ms cubic-bezier(0.34, 1.22, 0.64, 1);
}

.pd-overlay.open .pd-modal {
    transform: translateY(0) scale(1);
}

/* Botão fechar */
.pd-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(92, 64, 51, 0.12);
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all var(--t-fast);
}

.pd-close:hover {
    background: var(--brown-dark);
    color: var(--white);
    transform: rotate(90deg) scale(1.08);
    border-color: var(--brown-dark);
    box-shadow: 0 4px 14px rgba(62, 39, 35, 0.3);
}

.pd-close:active {
    transform: rotate(90deg) scale(0.96);
}

/* ── Lado da galeria ── */
.pd-gallery {
    background: linear-gradient(160deg, #F2EDE6 0%, #EAE3DA 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.pd-gallery__main {
    flex: 1;
    min-height: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pd-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: zoom-in;
}

.pd-gallery__main img:hover {
    transform: scale(1.03);
}

.pd-gallery__zoom-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(62, 39, 35, 0.75);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 2;
}

.pd-gallery__main:hover .pd-gallery__zoom-hint {
    opacity: 1;
}

.pd-gallery__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--brown-light);
    opacity: 0.25;
}

.pd-gallery__thumbs {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(92, 64, 51, 0.2) transparent;
    flex-shrink: 0;
    background: rgba(62, 39, 35, 0.04);
    border-top: 1px solid rgba(92, 64, 51, 0.08);
}

.pd-gallery__thumbs::-webkit-scrollbar {
    height: 4px;
}

.pd-gallery__thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.pd-gallery__thumbs::-webkit-scrollbar-thumb {
    background: rgba(92, 64, 51, 0.2);
    border-radius: 2px;
}

.pd-gallery__thumb {
    width: 64px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.55;
    transition: all 200ms ease;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.pd-gallery__thumb:hover {
    opacity: 0.8;
    border-color: rgba(92, 64, 51, 0.4);
    transform: translateY(-2px) scale(1.04);
}

.pd-gallery__thumb.active {
    opacity: 1;
    border-color: var(--brown);
    box-shadow: 0 0 0 3px rgba(92, 64, 51, 0.15), 0 4px 10px rgba(92, 64, 51, 0.18);
    transform: translateY(-2px);
}

/* ── Lado das informações ── */
.pd-info {
    padding: 28px 26px 22px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(92, 64, 51, 0.15) transparent;
}

.pd-info::-webkit-scrollbar {
    width: 4px;
}

.pd-info::-webkit-scrollbar-thumb {
    background: rgba(92, 64, 51, 0.15);
    border-radius: 2px;
}

/* Header do lado informações */
.pd-info__header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pd-info__cat {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brown);
    background: linear-gradient(135deg, rgba(92, 64, 51, 0.1) 0%, rgba(92, 64, 51, 0.06) 100%);
    padding: 5px 12px;
    border-radius: 30px;
    border: 1px solid rgba(92, 64, 51, 0.15);
}

.pd-info__name {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.22;
    letter-spacing: -0.3px;
}

/* Seção de preço */
.pd-info__price-section {
    background: linear-gradient(135deg, rgba(92, 64, 51, 0.05) 0%, rgba(92, 64, 51, 0.02) 100%);
    border: 1px solid rgba(92, 64, 51, 0.1);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}

.pd-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pd-price__label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    opacity: 0.7;
}

.pd-price__value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--brown);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.pd-price-consult {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brown);
    font-weight: 600;
    font-size: 1rem;
}

.pd-price-consult i {
    font-size: 1.05rem;
    opacity: 0.75;
}

/* Descrição */
.pd-info__desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    border-bottom: 1px solid rgba(92, 64, 51, 0.07);
    padding-bottom: 14px;
}

/* Option pills */
.pd-opts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pd-opts__label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-secondary);
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.pd-opts__hint {
    font-size: 0.65rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-secondary);
    opacity: 0.7;
}

.pd-opts__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.pd-pill {
    padding: 6px 16px;
    border-radius: 30px;
    border: 1.5px solid rgba(92, 64, 51, 0.18);
    background: var(--white);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--t-fast);
    font-family: 'Poppins', sans-serif;
    line-height: 1.4;
    letter-spacing: 0.1px;
}

.pd-pill:hover {
    border-color: var(--brown);
    color: var(--brown);
    background: rgba(92, 64, 51, 0.04);
    transform: translateY(-1px);
}

.pd-pill.active {
    background: var(--brown);
    border-color: var(--brown);
    color: var(--white);
    box-shadow: 0 3px 10px rgba(92, 64, 51, 0.25);
    transform: translateY(-1px);
}

/* Confirm WhatsApp modal */
.confirm-overlay {
    position: fixed; inset: 0; z-index: 2100;
    background: rgba(0,0,0,0.45); backdrop-filter: blur(3px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.confirm-overlay.open { opacity: 1; pointer-events: all; }
.confirm-modal {
    background: var(--white); border-radius: 18px;
    width: min(460px, 92vw); padding: 0;
    box-shadow: 0 24px 64px rgba(0,0,0,0.18);
    transform: translateY(16px) scale(0.97);
    transition: transform 0.22s cubic-bezier(.34,1.56,.64,1);
    overflow: hidden;
}
.confirm-overlay.open .confirm-modal { transform: translateY(0) scale(1); }
.confirm-modal__header {
    display: flex; align-items: center; gap: 10px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--beige-mid, #EDE8E3);
}
.confirm-modal__title { font-size: 1rem; font-weight: 700; flex: 1; margin: 0; }
.confirm-modal__close {
    background: none; border: none; cursor: pointer;
    color: var(--text-secondary); font-size: 1rem; padding: 4px;
}
.confirm-modal__body {
    padding: 18px 20px; max-height: 50vh; overflow-y: auto;
    display: flex; flex-direction: column; gap: 10px;
}
.confirm-item {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 8px; font-size: 0.92rem;
}
.confirm-item strong { font-weight: 600; }
.confirm-item__qty {
    font-size: 0.82rem; color: var(--text-secondary);
    white-space: nowrap;
}
.confirm-opts {
    display: flex; flex-direction: column; gap: 2px;
    font-size: 0.8rem; color: var(--text-secondary);
    padding-left: 10px; border-left: 2px solid var(--beige-mid, #EDE8E3);
}
.confirm-total {
    margin-top: 4px; padding-top: 12px;
    border-top: 1px dashed var(--beige-mid, #EDE8E3);
    font-size: 0.9rem; text-align: right;
}
.confirm-total strong { color: var(--brown); font-size: 1.1rem; }
.confirm-modal__obs {
    padding: 0 20px 12px;
}
.confirm-modal__obs-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 6px;
}
.confirm-modal__obs-wrap {
    position: relative;
}
.confirm-modal__obs-input {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid var(--beige-mid, #EDE8E3);
    border-radius: 10px;
    padding: 10px 12px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: var(--text-primary);
    resize: none;
    min-height: 72px;
    outline: none;
    transition: border-color 0.15s;
    background: #fff;
}
.confirm-modal__obs-input:focus {
    border-color: var(--brown-light, #A1887F);
}
.confirm-modal__obs-count {
    position: absolute;
    bottom: 6px;
    right: 10px;
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-family: 'Poppins', sans-serif;
    pointer-events: none;
}

.confirm-modal__footer {
    display: flex; gap: 10px; padding: 14px 20px;
    border-top: 1px solid var(--beige-mid, #EDE8E3);
    background: var(--beige-light, #FAF8F5);
}
.confirm-modal__btn-cancel {
    flex: 1; padding: 10px; border-radius: 10px;
    border: 1.5px solid rgba(92,64,51,0.2); background: white;
    font-size: 0.88rem; font-weight: 600; cursor: pointer;
    color: var(--text-primary); font-family: 'Poppins', sans-serif;
    transition: all 0.15s;
}
.confirm-modal__btn-cancel:hover { border-color: var(--brown); color: var(--brown); }
.confirm-modal__btn-confirm {
    flex: 2; padding: 10px 16px; border-radius: 10px;
    border: none; background: #25D366; color: white;
    font-size: 0.88rem; font-weight: 700; cursor: pointer;
    font-family: 'Poppins', sans-serif; display: flex;
    align-items: center; justify-content: center; gap: 8px;
    transition: background 0.15s;
}
.confirm-modal__btn-confirm:hover { background: #1ebe5c; }

/* Validation error message */
@keyframes fadeIn { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }

/* Fabric two-step selector */
.pd-fabric-step {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-fabric-colors {
    border-left: 3px solid rgba(92, 64, 51, 0.15);
    padding-left: 14px;
    animation: fabricColorsIn 0.2s ease;
}

@keyframes fabricColorsIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Frete — acordeão via <details> */
.pd-frete {
    background: linear-gradient(135deg, #F8F5F0 0%, rgba(92, 64, 51, 0.04) 100%);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(92, 64, 51, 0.1);
    overflow: hidden;
    transition: background var(--t-fast);
}

.pd-frete[open] {
    background: linear-gradient(135deg, #F3EEE7 0%, rgba(92, 64, 51, 0.06) 100%);
}

.pd-frete__label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brown);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.pd-frete__label::-webkit-details-marker {
    display: none;
}

.pd-frete__label::marker {
    display: none;
}

.pd-frete__label span {
    flex: 1;
}

.pd-frete__chevron {
    font-size: 0.7rem;
    color: var(--brown);
    opacity: 0.6;
    transition: transform var(--t-fast);
}

.pd-frete[open] .pd-frete__chevron {
    transform: rotate(180deg);
}

.pd-frete__body {
    padding: 0 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pd-frete__row {
    display: flex;
    gap: 8px;
}

.pd-frete__cep {
    flex: 1;
    padding: 10px 13px;
    border: 1.5px solid rgba(92, 64, 51, 0.18);
    border-radius: 8px;
    font-size: 0.88rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    background: var(--white);
    color: var(--text-primary);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.pd-frete__cep::placeholder {
    color: rgba(92, 64, 51, 0.35);
}

.pd-frete__cep:focus {
    border-color: var(--brown);
    box-shadow: 0 0 0 3px rgba(92, 64, 51, 0.1);
}

.pd-frete__btn {
    padding: 10px 16px;
    background: var(--brown);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 0.83rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all var(--t-fast);
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.pd-frete__btn:hover {
    background: var(--brown-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(62, 39, 35, 0.2);
}

.pd-frete__btn:active {
    transform: translateY(0);
}

.pd-frete__result {
    font-size: 0.82rem;
    line-height: 1.5;
}

.frete-ok {
    color: #2e7d32;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.frete-err {
    color: #c62828;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.frete-info {
    color: var(--text-secondary);
}

.frete-loading {
    color: var(--text-secondary);
}

/* Ações */
.pd-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 2px;
}

.pd-qty {
    display: flex;
    align-items: center;
    border: 1.5px solid rgba(92, 64, 51, 0.18);
    border-radius: 10px;
    overflow: hidden;
    background: var(--beige-light);
    flex-shrink: 0;
}

.pd-qty__btn {
    width: 38px;
    height: 42px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    color: var(--brown);
    font-family: 'Poppins', sans-serif;
    transition: all var(--t-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-qty__btn:first-child {
    border-right: 1px solid rgba(92, 64, 51, 0.12);
}

.pd-qty__btn:last-child {
    border-left: 1px solid rgba(92, 64, 51, 0.12);
}

.pd-qty__btn:hover {
    background: rgba(92, 64, 51, 0.1);
    color: var(--brown-dark);
}

.pd-qty__btn:active {
    transform: scale(0.92);
}

.pd-qty__val {
    min-width: 40px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1;
}

/* Botão adicionar ao carrinho */
.pd-add {
    flex: 1;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.3px;
    transition: all var(--t-fast);
    box-shadow: 0 2px 8px rgba(62, 39, 35, 0.2);
}

.pd-add:hover {
    background: linear-gradient(135deg, var(--brown-hover) 0%, #2d1b17 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(62, 39, 35, 0.28);
}

.pd-add:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(62, 39, 35, 0.2);
}

/* Botão WhatsApp */
.pd-wa {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #25D366 0%, #1EBE57 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.3px;
    transition: all var(--t-fast);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
}

.pd-wa i {
    font-size: 1.05rem;
}

.pd-wa:hover {
    background: linear-gradient(135deg, #1EBE57 0%, #17A349 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.32);
}

.pd-wa:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.2);
}

/* ═══════════════════════════════════════════════════════
   CART SIDEBAR
   ═══════════════════════════════════════════════════════ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1900;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-normal);
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

body.cart-open {
    overflow: hidden;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    background: var(--white);
    z-index: 1950;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--t-normal);
    box-shadow: var(--shadow-xl);
}

.cart-sidebar.open {
    transform: translateX(0);
}

.cart-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--beige-mid);
    flex-shrink: 0;
}

.cart-sidebar__title {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.cart-sidebar__close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--beige-light);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: background var(--t-fast);
}

.cart-sidebar__close:hover {
    background: var(--beige-mid);
}

.cart-sidebar__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-empty {
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-secondary);
    padding: 60px 0;
}

.cart-empty i {
    font-size: 2.5rem;
    opacity: 0.3;
}

.cart-empty p {
    font-size: 0.9rem;
}

/* Cart item */
.cart-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--beige-light);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item__img {
    width: 68px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.cart-item__img--empty {
    width: 68px;
    height: 56px;
    border-radius: 8px;
    background: var(--beige-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brown-light);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cart-item__img-fallback {
    width: 68px;
    height: 56px;
    border-radius: 8px;
    background: var(--beige-light, #F5F0EB);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brown-light, #A1887F);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.cart-item__info {
    flex: 1;
    min-width: 0;
}

.cart-item__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.cart-item__opts {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.cart-item__price {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brown);
}

.cart-item__controls {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.cart-item__qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid var(--beige-mid);
    background: var(--beige-light);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    transition: background var(--t-fast);
}

.cart-item__qty-btn:hover {
    background: var(--beige-mid);
}

.cart-item__qty {
    min-width: 24px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
}

.cart-item__remove {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.75rem;
    color: #c62828;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    transition: background var(--t-fast);
}

.cart-item__remove:hover {
    background: #ffebee;
}

/* Cart footer */
.cart-sidebar__footer {
    padding: 16px 24px;
    border-top: 1px solid var(--beige-mid);
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.cart-subtotal,
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.cart-total {
    font-size: 1rem;
    font-weight: 700;
}

.cart-frete {
    margin: 4px 0;
}

.cart-whatsapp {
    width: 100%;
    padding: 13px;
    background: var(--green-whatsapp);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background var(--t-fast);
}

.cart-whatsapp:hover {
    background: var(--green-whatsapp-hover);
}

/* ═══════════════════════════════════════════════════════
   PRODUCT CARD — missing styles
   ═══════════════════════════════════════════════════════ */
.product-card__cat {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--brown);
    margin-bottom: 8px;
    display: block;
    opacity: 0.8;
}

.product-card__price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brown);
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(92, 64, 51, 0.07);
}

.product-card__cta {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brown);
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    transition: gap var(--t-fast);
}

.product-card:hover .product-card__cta {
    gap: 9px;
}

/* ═══════════════════════════════════════════════════════
   GALLERY TOOLBAR (search + sort)
   ═══════════════════════════════════════════════════════ */
.gallery__toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.gallery__search {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.gallery__search input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 2px solid rgba(92, 64, 51, 0.12);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    background: var(--white);
    color: var(--text-primary);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.gallery__search input:focus {
    border-color: var(--brown);
    box-shadow: 0 0 0 3px rgba(92, 64, 51, 0.08);
}

.gallery__search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.82rem;
    pointer-events: none;
}

.gallery__sort {
    padding: 10px 36px 10px 14px;
    border: 2px solid rgba(92, 64, 51, 0.12);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--white);
    outline: none;
    cursor: pointer;
    min-width: 180px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B5A4E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: border-color var(--t-fast);
}

.gallery__sort:focus {
    border-color: var(--brown);
}

/* ═══════════════════════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--brown);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    z-index: 800;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity var(--t-normal), transform var(--t-normal), background var(--t-fast), box-shadow var(--t-fast);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--brown-dark);
    transform: translateY(-3px) scale(1.06);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 88px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    .gallery__toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .gallery__sort {
        min-width: unset;
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Cart
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
    }

    .cart-btn {
        margin-right: 4px;
    }

    .pd-modal {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        height: 95vh;
        max-height: 95vh;
        border-radius: 16px 16px 0 0;
        align-self: flex-end;
    }

    .pd-gallery {
        max-height: 40vh;
        min-height: 0;
        overflow: hidden;
    }

    .pd-info {
        padding: 20px;
        overflow-y: auto;
        overflow-x: hidden;
        min-height: 0;
        -webkit-overflow-scrolling: touch;
    }

    .pd-info__name {
        font-size: 1.3rem;
    }

    .pd-price__value {
        font-size: 1.5rem;
    }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 480px (Modal de produto + Tecidos + Filtros)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    /* Modal: fullscreen bottom sheet */
    .pd-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .pd-modal {
        border-radius: 20px 20px 0 0;
        height: 92dvh;
        max-height: 92dvh;
        width: 100%;
        grid-template-rows: auto 1fr;
        transform: translateY(32px) scale(1);
    }

    .pd-overlay.open .pd-modal {
        transform: translateY(0) scale(1);
    }

    /* Galeria maior no mobile para imagem ser visível */
    .pd-gallery {
        max-height: 48vh;
        min-height: 240px;
        overflow: hidden;
    }

    .pd-gallery__thumb {
        width: 60px;
        height: 50px;
    }

    /* Preview do tecido selecionado compacto */
    .pd-fabric-preview {
        flex-direction: row;
        gap: 10px;
        padding: 10px 12px;
    }

    .pd-fabric-preview__img {
        width: 56px;
        height: 56px;
    }

    /* Info do produto */
    .pd-info {
        padding: 16px;
        gap: 10px;
    }

    .pd-info__name {
        font-size: 1.1rem;
    }

    .pd-price__value {
        font-size: 1.35rem;
    }

    /* Pills de opção (tecido etc) — wrap e tamanho adequado para toque */
    .pd-opts__pills {
        gap: 8px;
    }

    .pd-pill {
        padding: 10px 14px;
        font-size: 0.82rem;
    }

    /* Botões de ação do modal */
    .pd-actions {
        gap: 8px;
    }

    /* Cards de produto: imagem um pouco menor */
    .gallery-card__img {
        aspect-ratio: 3/2;
    }

    /* Cart sidebar full-screen no mobile */
    .cart-sidebar {
        width: 100%;
        border-radius: 0;
    }

    .cart-sidebar__header {
        padding: 16px 20px;
    }

    .cart-sidebar__body {
        padding: 12px 16px;
    }

    .cart-sidebar__footer {
        padding: 12px 16px;
    }

    /* Touch targets maiores nos botões do carrinho */
    .cart-item__qty-btn,
    .cart-item__remove {
        width: 40px;
        height: 40px;
    }

    /* WhatsApp float menor para não atrapalhar */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        bottom: 18px;
        right: 18px;
    }

    .back-to-top {
        bottom: 82px;
        right: 18px;
        width: 38px;
        height: 38px;
        font-size: 0.8rem;
    }

    /* Galeria de produtos: gap menor */
    .gallery__grid {
        gap: 16px;
    }

    /* Frete calculator */
    .pd-frete {
        flex-direction: column;
        gap: 8px;
    }

    .pd-frete input,
    .pd-frete button {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 360px (Telas muito pequenas)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 360px) {
    .pd-gallery {
        max-height: 42vh;
        min-height: 210px;
    }

    .pd-info {
        padding: 12px;
        gap: 8px;
    }

    .pd-info__name {
        font-size: 1rem;
    }

    .pd-pill {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .page-hero__title {
        font-size: 1.5rem;
    }

    .page-hero__desc {
        font-size: 0.85rem;
    }

    .gallery__grid {
        gap: 14px;
    }

    .gallery__controls {
        top: 64px;
    }

    .gallery__select {
        font-size: 0.78rem;
        padding: 6px 28px 6px 10px;
    }

    .lightbox__nav {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    /* Frete em 360px */
    .pd-frete {
        flex-direction: column;
        gap: 8px;
    }

    .confirm-modal__obs-input {
        min-height: 60px;
    }
}

/* ══════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 5, 3, 0.93);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.lightbox-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
    user-select: none;
}

.lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 1;
}

.lightbox__close:hover {
    background: rgba(255,255,255,0.22);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 1;
}

.lightbox__nav:hover {
    background: rgba(255,255,255,0.22);
}

.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

.lightbox__counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
}


/* ══════════════════════════════════════════
   SKELETON NO MODAL DE DETALHE
═══════════════════════════════════════════ */
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.pd-gallery__main--loading::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--beige-light, #F5F0EB) 25%, var(--beige-mid, #EDE8E3) 50%, var(--beige-light, #F5F0EB) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    z-index: 1;
}

.pd-gallery__main--loading img {
    opacity: 0;
}

/* ══════════════════════════════════════════
   PILLS DE COR DE TECIDO
═══════════════════════════════════════════ */
.pd-pill--color {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pd-pill__dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.12);
    flex-shrink: 0;
}

/* ══════════════════════════════════════════
   ESTADO VAZIO COM SUGESTÕES
═══════════════════════════════════════════ */
.gallery__empty-suggestions {
    margin: 12px 0 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.gallery__empty-suggestions span {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-family: 'Poppins', sans-serif;
}

.gallery__empty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.gallery__empty-tag {
    padding: 6px 16px;
    border-radius: 20px;
    border: 1.5px solid var(--brown-light, #A1887F);
    background: transparent;
    color: var(--brown, #5C4033);
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.gallery__empty-tag:hover {
    background: var(--brown, #5C4033);
    color: #fff;
}