:root {
  --cream: #f7f2ed;
  --paper: #fffdfb;
  --ink: #1d1a18;
  --muted: #7d746e;
  --taupe: #9b887c;
  --rose: #d4b9ac;
  --line: rgba(29, 26, 24, .13);
  --shadow: 0 22px 70px rgba(35, 26, 20, .14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-weight: 300; }
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
.announcement { height: 34px; background: #2b2623; color: #f8f3ef; display: grid; place-items: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.site-header { height: 92px; padding: 0 4.5vw; display: flex; align-items: center; justify-content: space-between; background: rgba(255,253,251,.95); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); }
.brand img { height: 72px; width: auto; max-width: 270px; object-fit: contain; object-position: center; }
.desktop-nav { display: flex; gap: 34px; font-size: 13px; letter-spacing: .05em; }
.desktop-nav a { position: relative; padding: 8px 0; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: currentColor; transition: .3s; }
.desktop-nav a:hover::after { width: 100%; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.icon-button, .cart-button, .menu-button { border: 0; background: transparent; cursor: pointer; color: var(--ink); }
.icon-button { font-size: 25px; }
.cart-button { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; display: flex; gap: 8px; align-items: center; }
.cart-button span { min-width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: white; display: grid; place-items: center; }
.menu-button { display: none; font-size: 20px; }
.mobile-menu { display: none; }
.hero { min-height: calc(100vh - 126px); position: relative; overflow: hidden; display: flex; align-items: center; }
.hero-image { position: absolute; inset: 0; background-size: cover; background-position: center 28%; transform: scale(1.01); }
.hero-image-main { background-image: url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?auto=format&fit=crop&w=2000&q=88'); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,16,13,.72) 0%, rgba(20,16,13,.31) 48%, rgba(20,16,13,.02) 78%); }
.hero-content { position: relative; z-index: 2; color: white; max-width: 720px; margin-left: 8vw; padding: 70px 0; }
.eyebrow, .section-kicker { display: block; text-transform: uppercase; letter-spacing: .22em; font-size: 10px; font-weight: 500; margin-bottom: 22px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(58px, 7.4vw, 112px); line-height: .82; letter-spacing: -.035em; margin: 0 0 35px; }
.hero p { max-width: 520px; line-height: 1.8; font-size: 15px; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 38px; }
.button { min-height: 52px; padding: 0 27px; display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; text-transform: uppercase; letter-spacing: .13em; font-size: 10px; transition: .25s; }
.button-primary { background: var(--ink); color: white; }
.hero .button-primary { background: white; color: var(--ink); }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.14); }
.text-link { font-size: 12px; letter-spacing: .06em; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 5px; }
.text-link.dark { border-color: var(--ink); }
.hero-caption { position: absolute; right: 3vw; bottom: 42px; z-index: 2; color: white; transform: rotate(-90deg) translateX(100%); transform-origin: right bottom; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.editorial-strip { padding: 110px 7vw 65px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.editorial-strip h2, .story-content h2, .newsletter h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 5vw, 76px); line-height: .95; margin: 0; }
.editorial-strip p { max-width: 420px; color: var(--muted); line-height: 1.8; }
.products-section { padding: 0 5vw 120px; }
.filter-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 25px 0 34px; }
.categories { display: flex; gap: 25px; flex-wrap: wrap; }
.filter { border: 0; background: none; padding: 0 0 6px; cursor: pointer; color: var(--muted); font-size: 12px; }
.filter.active { color: var(--ink); border-bottom: 1px solid var(--ink); }
#sortProducts { border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 8px 25px 8px 0; color: var(--muted); font-size: 11px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 18px; }
.product-card { position: relative; }
.product-image-wrap { aspect-ratio: .76; overflow: hidden; background: var(--cream); position: relative; cursor: pointer; }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.product-card:hover .product-image { transform: scale(1.035); }
.product-badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.9); padding: 7px 10px; font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
.quick-add { position: absolute; left: 12px; right: 12px; bottom: 12px; min-height: 46px; border: 0; background: rgba(255,255,255,.94); text-transform: uppercase; font-size: 9px; letter-spacing: .14em; opacity: 0; transform: translateY(8px); transition: .3s; cursor: pointer; }
.product-card:hover .quick-add { opacity: 1; transform: translateY(0); }
.product-info { padding: 17px 2px; display: flex; justify-content: space-between; gap: 10px; }
.product-name { font-family: var(--serif); font-size: 22px; margin: 0 0 7px; font-weight: 500; }
.product-meta { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.product-price { font-size: 12px; white-space: nowrap; padding-top: 5px; }
.brand-story { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 760px; background: var(--cream); }
.story-image { background: url('https://images.unsplash.com/photo-1485968579580-b6d095142e6e?auto=format&fit=crop&w=1400&q=85') center/cover; }
.story-content { padding: 10vw 9vw; display: flex; flex-direction: column; justify-content: center; }
.story-content p { color: var(--muted); line-height: 1.9; max-width: 540px; }
.story-content .text-link { align-self: flex-start; margin-top: 25px; }
.benefits { display: grid; grid-template-columns: repeat(4,1fr); padding: 95px 5vw; border-bottom: 1px solid var(--line); }
.benefits article { padding: 0 35px; border-right: 1px solid var(--line); }
.benefits article:last-child { border: 0; }
.benefits span { color: var(--taupe); font-size: 10px; letter-spacing: .15em; }
.benefits h3 { font-family: var(--serif); font-size: 25px; font-weight: 500; margin: 22px 0 10px; }
.benefits p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.newsletter { text-align: center; padding: 120px 20px; background: #2b2623; color: white; }
.newsletter form { margin: 45px auto 12px; max-width: 600px; display: flex; border-bottom: 1px solid rgba(255,255,255,.5); }
.newsletter input { flex: 1; border: 0; background: transparent; color: white; padding: 17px 5px; outline: none; }
.newsletter input::placeholder { color: rgba(255,255,255,.55); }
.newsletter button { border: 0; background: none; color: white; text-transform: uppercase; font-size: 9px; letter-spacing: .18em; cursor: pointer; }
.form-feedback { min-height: 18px; font-size: 11px; color: #decfc7; }
footer { padding: 80px 5vw 25px; }
.footer-main { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 60px; padding-bottom: 65px; }
.footer-brand img { height: 120px; width: auto; max-width: 220px; object-fit: contain; }
.footer-brand p { max-width: 300px; color: var(--muted); line-height: 1.7; font-size: 12px; }
footer h4 { font-size: 10px; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 24px; }
footer a { display: block; color: var(--muted); font-size: 12px; margin: 12px 0; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; letter-spacing: .05em; }
.cart-drawer { position: fixed; right: 0; top: 0; height: 100vh; width: min(470px, 100%); background: var(--paper); z-index: 100; padding: 32px; transform: translateX(105%); transition: .4s cubic-bezier(.7,0,.2,1); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.cart-drawer.open { transform: translateX(0); }
.cart-header { display: flex; justify-content: space-between; align-items: start; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.cart-header h2 { font-family: var(--serif); font-size: 42px; font-weight: 400; margin: 0; }
.cart-header button, .modal-close { border: 0; background: none; font-size: 30px; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 0; }
.empty-cart { color: var(--muted); text-align: center; padding: 50px 0; font-size: 13px; }
.cart-item { display: grid; grid-template-columns: 82px 1fr auto; gap: 15px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 82px; height: 105px; object-fit: cover; }
.cart-item h4 { font-family: var(--serif); font-size: 20px; margin: 2px 0 8px; }
.cart-item p { font-size: 10px; color: var(--muted); margin: 4px 0; }
.quantity-controls { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.quantity-controls button { width: 24px; height: 24px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.remove-item { border: 0; background: none; font-size: 10px; color: var(--muted); cursor: pointer; align-self: start; }
.shipping-box { padding: 20px 0; border-top: 1px solid var(--line); }
.shipping-box label { text-transform: uppercase; font-size: 9px; letter-spacing: .14em; }
.shipping-box div { display: flex; margin-top: 10px; }
.shipping-box input { flex: 1; padding: 12px; border: 1px solid var(--line); outline: none; }
.shipping-box button { border: 0; background: var(--ink); color: white; padding: 0 18px; cursor: pointer; }
.shipping-box p { font-size: 11px; color: var(--muted); }
.cart-summary { border-top: 1px solid var(--line); padding-top: 18px; }
.cart-summary > div { display: flex; justify-content: space-between; font-size: 12px; margin: 8px 0; }
.cart-summary .total { margin-top: 17px; font-size: 16px; }
.checkout-button { width: 100%; margin-top: 18px; }
.cart-summary small { display: block; color: var(--muted); font-size: 9px; text-align: center; margin-top: 10px; line-height: 1.5; }
.backdrop { position: fixed; inset: 0; background: rgba(18,14,12,.45); z-index: 90; opacity: 0; pointer-events: none; transition: .3s; }
.backdrop.show { opacity: 1; pointer-events: auto; }
dialog { border: 0; padding: 0; box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(22,17,14,.55); backdrop-filter: blur(5px); }
.product-modal { width: min(960px, 92vw); max-height: 90vh; overflow-y: auto; }
.product-modal .modal-close, .search-modal .modal-close, .size-guide-modal .modal-close { position: absolute; right: 18px; top: 14px; z-index: 10; border: 0; background: none; font-size: 28px; cursor: pointer; color: var(--ink); }
.modal-product { display: grid; grid-template-columns: 1fr 1.05fr; }

/* Galeria PDP */
.pdp-gallery-wrap { display: flex; flex-direction: column; background: var(--cream); position: relative; }
.pdp-main-img-wrap { width: 100%; height: 520px; overflow: hidden; position: relative; }
.pdp-main-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.pdp-thumbnails { display: flex; gap: 8px; padding: 12px; overflow-x: auto; background: var(--paper); border-top: 1px solid var(--line); }
.pdp-thumbnail { width: 56px; height: 72px; object-fit: cover; border: 1px solid transparent; cursor: pointer; opacity: .7; transition: .2s; }
.pdp-thumbnail.active, .pdp-thumbnail:hover { border-color: var(--ink); opacity: 1; }

.modal-details { padding: 45px 40px; display: flex; flex-direction: column; justify-content: space-between; }
.modal-details h2 { font-family: var(--serif); font-size: 38px; font-weight: 400; margin: 6px 0 10px; line-height: 1.05; }
.modal-details .modal-price { font-size: 18px; font-weight: 500; margin-bottom: 18px; color: var(--ink); }
.modal-details .promotional-price { color: #b84a39; font-weight: 600; margin-right: 8px; }
.modal-details .original-price { text-decoration: line-through; color: var(--muted); font-size: 14px; }
.modal-details p.product-desc { color: var(--muted); line-height: 1.7; font-size: 13px; margin-bottom: 22px; }

/* Swatches de Cores */
.swatch-section { margin-bottom: 20px; }
.swatch-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 500; }
.color-swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.color-swatch-btn { width: 34px; height: 34px; border-radius: 50%; border: 2px solid white; outline: 1px solid var(--line); cursor: pointer; position: relative; transition: transform .2s, outline-color .2s; }
.color-swatch-btn:hover { transform: scale(1.1); }
.color-swatch-btn.selected { outline: 2px solid var(--ink); outline-offset: 2px; transform: scale(1.05); }

/* Seleção de Tamanhos e Estoque */
.size-section { margin-bottom: 24px; }
.size-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 500; }
.size-guide-link { font-size: 11px; text-transform: none; letter-spacing: 0; text-decoration: underline; color: var(--taupe); cursor: pointer; border: 0; background: none; padding: 0; }
.size-selector { display: flex; gap: 10px; flex-wrap: wrap; }
.size-selector button { width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); font-size: 12px; font-weight: 500; cursor: pointer; transition: .2s; position: relative; }
.size-selector button:hover:not(.out-of-stock) { border-color: var(--ink); }
.size-selector button.selected { background: var(--ink); color: white; border-color: var(--ink); }
.size-selector button.out-of-stock { opacity: .35; text-decoration: line-through; cursor: not-allowed; background: rgba(0,0,0,.03); border-style: dashed; }
.size-selector button.out-of-stock::after { content: "Esgotado"; position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: 8px; color: #b84a39; text-transform: uppercase; letter-spacing: 0; white-space: nowrap; font-weight: 400; text-decoration: none; display: none; }
.stock-badge { display: inline-block; font-size: 11px; color: #b84a39; margin-top: 6px; font-weight: 500; }

/* Ficha Técnica / Detalhes */
.product-specs { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 20px; font-size: 11px; color: var(--muted); line-height: 1.8; }
.product-specs strong { color: var(--ink); font-weight: 500; }

/* Tabela de Medidas (Modal Size Guide) */
.size-guide-modal { width: min(650px, 90vw); padding: 40px; }
.size-guide-modal h2 { font-family: var(--serif); font-size: 36px; margin: 0 0 10px; font-weight: 400; }
.size-guide-modal p { color: var(--muted); font-size: 12px; margin-bottom: 24px; }
.size-guide-table { width: 100%; border-collapse: collapse; margin-top: 15px; font-size: 12px; }
.size-guide-table th, .size-guide-table td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--line); }
.size-guide-table th { background: var(--cream); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.size-guide-table td:first-child { text-align: left; font-weight: 600; }

.search-modal { width: min(680px, 92vw); padding: 60px; }
.search-modal h2 { font-family: var(--serif); font-size: 48px; font-weight: 400; margin: 0 0 25px; }
.search-modal input { width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 14px 0; outline: 0; font-family: var(--serif); font-size: 24px; }
.search-result { display: flex; gap: 15px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.search-result img { width: 55px; height: 70px; object-fit: cover; }
.search-result h4 { margin: 0; font-family: var(--serif); font-size: 20px; }
.search-result span { font-size: 10px; color: var(--muted); }

@media (max-width: 980px) {
  .desktop-nav { display: none; }.menu-button { display: block; }.mobile-menu { position: fixed; top: 126px; left: 0; right: 0; background: var(--paper); z-index: 39; padding: 25px 5vw; border-bottom: 1px solid var(--line); transform: translateY(-150%); transition: .3s; display: grid; gap: 18px; }.mobile-menu.open { transform: translateY(0); }
  .product-grid { grid-template-columns: repeat(2,1fr); }.brand-story { grid-template-columns: 1fr; }.story-image { min-height: 600px; }.benefits { grid-template-columns: repeat(2,1fr); gap: 45px 0; }.benefits article:nth-child(2) { border: 0; }.footer-main { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 650px) {
  .announcement { font-size: 8px; text-align: center; padding: 0 10px; }.site-header { height: 76px; padding: 0 18px; }.brand img { height: 56px; width: auto; max-width: 180px; }.icon-button { display: none; }.mobile-menu { top: 110px; }.hero { min-height: 720px; align-items: end; }.hero-image { background-position: 62% center; }.hero-overlay { background: linear-gradient(0deg, rgba(18,14,11,.8) 0%, rgba(18,14,11,.15) 78%); }.hero-content { margin: 0; padding: 70px 24px; }.hero h1 { font-size: 57px; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }.hero-caption { display: none; }.editorial-strip { padding: 80px 24px 40px; display: block; }.editorial-strip p { margin-top: 25px; }.products-section { padding: 0 14px 80px; }.filter-row { align-items: flex-start; gap: 20px; flex-direction: column; }.categories { gap: 16px; }.product-grid { gap: 22px 9px; }.product-name { font-size: 18px; }.product-info { display: block; }.product-price { margin-top: 6px; }.quick-add { opacity: 1; transform: none; min-height: 40px; }.story-image { min-height: 480px; }.story-content { padding: 75px 26px; }.benefits { grid-template-columns: 1fr; padding: 70px 24px; gap: 0; }.benefits article { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 0; }.newsletter h2 { font-size: 42px; }.newsletter form { align-items: stretch; }.newsletter button { padding-left: 12px; }.footer-main { grid-template-columns: 1fr; gap: 35px; }.footer-bottom { flex-direction: column; gap: 12px; line-height: 1.6; }.cart-drawer { padding: 24px 18px; }.modal-product { grid-template-columns: 1fr; }.pdp-main-img-wrap { height: 380px; }.modal-details { padding: 25px 20px; }.search-modal, .size-guide-modal { padding: 35px 20px; }
}

