@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
  color-scheme: light;
  --cream: #fff8f5;
  --paper: #fffdfb;
  --blush: #f8e5e0;
  --pink: #e6aaa0;
  --rose: #bd716a;
  --berry: #761f32;
  --wine: #581526;
  --ink: #38252a;
  --muted: #8d7775;
  --line: #ead9d4;
  --green: #526e58;
  --shadow: 0 16px 48px rgba(100, 34, 48, .09);
  font-family: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.announcement { min-height: 34px; display: grid; place-items: center; padding: 6px 16px; background: var(--wine); color: #fff4f0; font-size: 11px; letter-spacing: .12em; text-align: center; }
.site-header { height: 94px; padding: 0 clamp(22px, 6vw, 88px); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: rgba(255, 253, 251, .95); border-bottom: 1px solid rgba(118, 31, 50, .08); position: relative; z-index: 3; }
.brand { width: 128px; height: 78px; display: flex; align-items: center; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3.2vw, 48px); margin-left: auto; margin-right: auto; }
.main-nav a, .back-to-shop { color: #6f5756; font-size: 12px; transition: color .2s; }
.main-nav a:hover, .back-to-shop:hover { color: var(--berry); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.icon-button { display: flex; align-items: center; gap: 6px; border: 0; padding: 8px 0; background: none; color: var(--berry); font-size: 12px; }
.icon-button>span:first-child { font-size: 22px; line-height: 1; }
.cart-count { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--berry); color: white; font-size: 10px; }
.admin-link { color: var(--muted); font-size: 10px; border-bottom: 1px solid var(--line); padding-bottom: 3px; }

.hero { position: relative; min-height: 540px; padding: 72px clamp(28px, 10.3vw, 150px); display: flex; align-items: center; overflow: hidden; background: linear-gradient(110deg, #f8e4de 0%, #fff3ef 48%, #f6d2ca 100%); }
.hero::before, .hero::after { content: ""; position: absolute; width: 340px; height: 340px; border: 1px solid rgba(118, 31, 50, .1); border-radius: 50%; pointer-events: none; }
.hero::before { top: -225px; left: 44%; }
.hero::after { bottom: -290px; left: 54%; width: 420px; height: 420px; }
.hero-copy { position: relative; z-index: 1; max-width: 510px; }
.eyebrow { color: var(--rose); font-size: 9px; font-weight: 700; letter-spacing: .19em; }
h1, h2, h3, p { margin-top: 0; }
.hero h1, .section-heading h2, .story h2, .payment-copy h2, .dialog-card h2, .admin-login-card h1, .admin-title-row h1 { margin: 18px 0 14px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(42px, 5vw, 67px); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; color: var(--wine); }
h1 em, h2 em { color: var(--rose); font-weight: 500; }
.hero-copy>p { max-width: 360px; color: #745d5b; font-size: 14px; line-height: 1.9; margin-bottom: 26px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; border-radius: 3px; padding: 0 22px; font-size: 11px; font-weight: 600; transition: .2s ease; }
.button-dark { background: var(--berry); color: #fff9f6; }
.button-dark:hover { background: var(--wine); transform: translateY(-1px); }
.button-outline { border-color: #d7bcb5; background: transparent; color: var(--berry); }
.button-outline:hover { background: var(--blush); }
.button-full { width: 100%; }
.button:disabled { opacity: .5; cursor: not-allowed; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 31px; color: #8e6e69; font-size: 10px; }
.note-heart { font-size: 20px; color: var(--rose); }
.hero-art { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); width: min(37vw, 430px); aspect-ratio: .86; border-radius: 48% 48% 46% 46% / 39% 39% 55% 55%; background: linear-gradient(0deg, rgba(80, 29, 34, .1), rgba(80, 29, 34, 0)), url("https://images.unsplash.com/photo-1539109136881-3be0616acf4b?auto=format&fit=crop&w=1100&q=88") center 30%/cover; box-shadow: 0 22px 45px rgba(101, 44, 49, .15); }
.hero-art::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 244, 238, .8); border-radius: inherit; }
.hero-sticker { position: absolute; right: -25px; bottom: 40px; width: 100px; height: 100px; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 50%; background: #fff9f6; color: var(--berry); box-shadow: var(--shadow); font-family: "Playfair Display", serif; font-size: 12px; z-index: 1; transform: rotate(9deg); }
.hero-sticker strong { line-height: 1.1; font-family: sans-serif; font-size: 27px; color: var(--rose); }
.hero-flower { position: absolute; color: rgba(138, 50, 64, .16); font-size: 100px; }
.flower-one { right: 4%; top: 6%; }
.flower-two { right: 45%; bottom: -24px; font-size: 65px; }

.benefits { display: flex; justify-content: center; gap: clamp(25px, 8vw, 110px); padding: 27px 24px; background: #fffdfb; border-bottom: 1px solid #f1e7e3; }
.benefits>div { display: flex; align-items: center; gap: 12px; }
.benefit-icon { color: var(--rose); font-size: 23px; }
.benefits strong, .benefits small { display: block; }
.benefits strong { color: var(--wine); font-size: 10px; font-weight: 600; }
.benefits small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.section-wrap { width: min(1120px, calc(100% - 48px)); margin: auto; }
.collection { padding-top: 88px; padding-bottom: 94px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 33px; }
.section-heading h2, .story h2, .payment-copy h2 { font-size: clamp(34px, 4vw, 47px); }
.section-heading>p { margin: 0 0 19px; color: var(--muted); font-size: 12px; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.filter-tabs { display: flex; gap: 7px; }
.filter-tab { border: 1px solid transparent; border-radius: 24px; padding: 9px 16px; background: transparent; color: #8d7775; font-size: 10px; }
.filter-tab.active { border-color: #e9cfc8; background: #fff; color: var(--berry); }
.search-box { width: 230px; height: 38px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); color: var(--rose); }
.search-box>span { font-size: 22px; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; }
.product-card { min-width: 0; }
.product-photo { position: relative; height: 340px; overflow: hidden; background: var(--blush); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-photo img { transform: scale(1.04); }
.product-badge { position: absolute; left: 12px; top: 12px; padding: 7px 10px; background: rgba(255, 253, 251, .9); color: var(--berry); font-size: 8px; letter-spacing: .08em; }
.quick-add { position: absolute; right: 12px; bottom: 12px; width: 37px; height: 37px; border: 0; border-radius: 50%; background: #fffdfb; color: var(--berry); font-size: 23px; box-shadow: 0 5px 16px rgba(49, 28, 29, .12); transition: .2s; }
.quick-add:hover { background: var(--berry); color: white; }
.product-info { padding: 15px 2px 0; }
.product-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--rose); font-size: 8px; letter-spacing: .1em; }
.product-meta span:last-child { color: #a48f8c; letter-spacing: 0; }
.product-info h3 { margin: 9px 0 5px; color: var(--wine); font-family: "Playfair Display", Georgia, serif; font-size: 19px; font-weight: 500; }
.product-info p { min-height: 31px; margin-bottom: 11px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.product-buy { display: flex; justify-content: space-between; align-items: center; }
.product-buy strong { color: var(--berry); font-size: 13px; }
.product-buy span { color: #a48f8c; font-size: 9px; }
.empty-state { padding: 28px 8px; color: var(--muted); text-align: center; font-size: 12px; }

.story { min-height: 390px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding-top: 55px; padding-bottom: 55px; border-top: 1px solid #eddfdb; }
.story-logo { display: grid; place-items: center; min-height: 290px; background: radial-gradient(ellipse, #fff 0%, #fff 49%, #f7e6e0 50%, #f7e6e0 100%); }
.story-logo img { width: 65%; max-height: 280px; object-fit: contain; }
.story-copy { max-width: 430px; }
.story h2 { margin: 14px 0 15px; }
.story-copy p { color: #806b69; font-size: 12px; line-height: 1.9; }
.text-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 8px; padding-bottom: 6px; border-bottom: 1px solid #d5aaa2; color: var(--berry); font-size: 10px; }
.payment-strip { min-height: 240px; display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 28px; margin-bottom: 24px; padding: 28px 8%; background: #f8e4df; }
.payment-copy { max-width: 540px; }
.payment-copy h2 { max-width: 440px; margin: 12px 0; }
.payment-copy>p { max-width: 390px; margin: 0 0 12px; color: #806b69; font-size: 11px; line-height: 1.8; }
.pix-discount { color: var(--berry); font-size: 11px; }
.payment-illustration { width: 220px; min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(118, 31, 50, .18); border-radius: 18px; background: linear-gradient(145deg, #fff8f5, #f1d2cb); color: var(--berry); box-shadow: 0 14px 28px rgba(94, 29, 46, .1); }
.payment-illustration>span:nth-child(2) { color: #806b69; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.payment-illustration>strong { font-family: "Playfair Display", Georgia, serif; font-size: 27px; font-weight: 500; }
.payment-illustration>small { padding: 6px 12px; border-radius: 20px; background: var(--berry); color: #fff8f5; font-size: 10px; letter-spacing: .1em; }
.pix-symbol { display: inline-grid; min-width: 42px; min-height: 30px; place-items: center; border-radius: 7px; background: var(--berry); color: #fff8f5; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.delivery-banner { display: flex; align-items: center; gap: 20px; margin-bottom: 78px; padding: 25px clamp(22px, 6vw, 72px); border: 1px solid #efddd7; background: #fffdfb; }
.delivery-icon { display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; border-radius: 50%; background: var(--berry); color: #fff8f5; font-size: 24px; }
.delivery-banner h2 { margin: 6px 0; color: var(--wine); font-family: "Playfair Display", Georgia, serif; font-size: 22px; font-weight: 500; }
.delivery-banner p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.checkout-pix { display: flex; align-items: center; gap: 11px; padding: 11px; border: 1px solid #eadbd6; background: #fffdfb; }
.checkout-pix>span:last-child strong, .checkout-pix>span:last-child small { display: block; }
.checkout-pix>span:last-child strong { color: var(--wine); font-size: 10px; }
.checkout-pix>span:last-child small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.payment-method-display { min-height: 36px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 7px 8px; border: 1px solid #eadbd6; background: #fffdfb; }
.payment-method-display span { color: #705957; font-size: 8px; }
.payment-method-display strong { color: var(--berry); font-size: 10px; }
.site-footer { display: flex; flex-direction: column; align-items: center; padding: 36px 20px 24px; background: var(--wine); color: #f7e9e4; text-align: center; }
.footer-brand { font-family: "Playfair Display", Georgia, serif; font-size: 22px; letter-spacing: .12em; }
.footer-brand span { color: #e6aaa0; }
.site-footer p { margin: 8px 0 20px; color: #d8b8b2; font-family: "Playfair Display", serif; font-size: 12px; font-style: italic; }
.site-footer small { color: #c9aaa5; font-size: 9px; }

.overlay { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; overflow-y: auto; padding: 24px; background: rgba(47, 21, 28, .52); backdrop-filter: blur(4px); }
.dialog-card { position: relative; width: min(100%, 430px); padding: 38px; background: var(--paper); box-shadow: 0 24px 80px rgba(37, 17, 24, .24); }
.dialog-close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; background: transparent; color: var(--berry); font-size: 25px; }
.dialog-flower { display: block; margin-bottom: 13px; color: var(--rose); font-size: 28px; }
.dialog-card h2 { margin: 12px 0 8px; font-size: 34px; }
.dialog-card>p { margin-bottom: 21px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.form-stack { display: flex; flex-direction: column; gap: 14px; }
.form-stack label, .checkout-form label { display: flex; flex-direction: column; gap: 7px; color: #705957; font-size: 10px; font-weight: 600; }
.form-stack input, .form-stack select, .form-stack textarea, .checkout-form select { width: 100%; min-height: 40px; border: 1px solid #eadbd6; border-radius: 2px; padding: 9px 11px; outline: 0; background: #fffdfb; color: var(--ink); font-size: 11px; font-weight: 400; }
.form-stack input:focus, .form-stack select:focus, .form-stack textarea:focus, .checkout-form select:focus { border-color: var(--rose); }
.form-stack textarea { resize: vertical; }
.form-note { margin: 13px 0 0 !important; color: #a48f8c !important; font-size: 9px !important; text-align: center; }
.cart-card { width: min(100%, 540px); max-height: min(90vh, 760px); overflow: auto; padding: 34px; }
.cart-card h2 { margin-bottom: 20px; }
.cart-items { max-height: 300px; overflow-y: auto; }
.cart-empty { padding: 30px 12px; color: var(--muted); font-size: 12px; line-height: 1.7; text-align: center; }
.cart-line { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 13px; align-items: center; padding: 12px 0; border-top: 1px solid #f0e5e1; }
.cart-line>img { width: 60px; height: 70px; object-fit: cover; background: var(--blush); }
.cart-line-copy strong, .cart-line-price { color: var(--wine); font-size: 11px; }
.cart-line-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.quantity-control { display: flex; align-items: center; gap: 10px; margin-top: 7px; }
.quantity-control button { width: 22px; height: 22px; border: 1px solid var(--line); background: white; color: var(--berry); }
.quantity-control span { min-width: 10px; text-align: center; font-size: 10px; }
.cart-totals { margin: 14px 0 20px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cart-totals>div { display: flex; justify-content: space-between; padding: 5px 0; color: var(--muted); font-size: 10px; }
.cart-totals strong { color: var(--ink); font-weight: 600; }
.cart-totals .cart-total { padding-top: 10px; color: var(--wine); font-size: 13px; }
.cart-totals .cart-total strong { color: var(--berry); font-size: 15px; }
.checkout-form { display: flex; flex-direction: column; gap: 12px; }
.checkout-form[hidden] { display: none; }
.checkout-form .form-note { margin-top: -3px !important; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 28px; max-width: calc(100% - 32px); padding: 13px 20px; transform: translate(-50%, 18px); border: 1px solid rgba(255,255,255,.25); background: var(--wine); color: white; box-shadow: var(--shadow); font-size: 11px; text-align: center; opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.visible { transform: translate(-50%, 0); opacity: 1; }

.admin-page { min-height: 100vh; background: #fbf5f2; }
.admin-header { height: 76px; }
.admin-header .brand { width: 112px; height: 68px; }
.admin-main { width: min(1180px, calc(100% - 44px)); margin: 46px auto 90px; }
.admin-login-card { width: min(100%, 420px); margin: 70px auto; padding: 42px; background: #fffdfb; box-shadow: var(--shadow); }
.admin-login-card h1, .admin-title-row h1 { margin: 12px 0; font-size: 36px; }
.admin-login-card>p { color: var(--muted); font-size: 11px; line-height: 1.7; }
.admin-login-card .demo-hint { margin: 20px 0 8px; padding: 11px; background: #fbf1ed; color: var(--berry); font-size: 10px; text-align: center; }
.admin-login-card .form-note { font-size: 9px; }
.admin-dashboard[hidden] { display: none; }
.admin-title-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.admin-title-row h1 { margin-bottom: 0; }
.dashboard-notice { margin-bottom: 20px; padding: 13px 16px; border-left: 3px solid var(--rose); background: #fff; color: #826d69; font-size: 10px; line-height: 1.6; }
.dashboard-notice strong { color: var(--berry); }
.dashboard-notice .button { min-height: 34px; margin: 8px 0 0 8px; padding: 0 12px; font-size: 9px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat-card { display: flex; flex-direction: column; gap: 8px; min-height: 110px; padding: 18px 20px; border: 1px solid #f0e3de; background: #fffdfb; }
.stat-card span { color: var(--muted); font-size: 10px; }
.stat-card strong { color: var(--berry); font-family: "Playfair Display", Georgia, serif; font-size: 24px; font-weight: 500; }
.stat-card small { color: #a48f8c; font-size: 9px; }
.admin-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.admin-panel { min-width: 0; padding: 22px; border: 1px solid #f0e3de; background: #fffdfb; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel-heading h2 { margin: 5px 0 0; color: var(--wine); font-family: "Playfair Display", Georgia, serif; font-size: 21px; font-weight: 500; }
.admin-form { gap: 11px; }
.admin-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.admin-form input, .admin-form select, .admin-form textarea { min-height: 36px; padding: 8px; font-size: 10px; }
.form-actions { display: flex; gap: 8px; }
.admin-form .button { min-height: 39px; font-size: 10px; }
.sale-discount-note { display: flex; align-items: center; padding: 8px; background: #fbf1ed; color: #8a6661; font-size: 9px; line-height: 1.5; }
.inventory-shortcut { margin-top: 14px; padding-top: 13px; border-top: 1px solid #f0e5e1; color: var(--muted); font-size: 9px; line-height: 1.6; }
.table-panel { margin-top: 18px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 10px 8px; border-bottom: 1px solid var(--line); color: #9a807d; font-size: 8px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
td { padding: 12px 8px; border-bottom: 1px solid #f3eae7; color: #735d5a; font-size: 10px; vertical-align: middle; }
td strong { color: var(--wine); font-size: 10px; }
td small { display: block; margin-top: 4px; color: #a48f8c; font-size: 8px; }
.table-actions { white-space: nowrap; }
.table-actions button, td button { border: 0; padding: 5px; background: transparent; color: var(--berry); font-size: 9px; text-decoration: underline; text-underline-offset: 3px; }
.table-actions .danger-action { margin-left: 5px; color: #a43e43; }
.table-empty { padding: 22px; text-align: center; color: var(--muted); }
.stock-low { color: #a43e43; font-weight: 700; }
.status-badge { display: inline-block; padding: 5px 8px; border-radius: 15px; font-size: 8px; white-space: nowrap; }
.status-received { background: #eaf1e9; color: var(--green); }
.status-pending { background: #fff0d9; color: #8d6227; }
.status-shipped { background: #e9f0f7; color: #496783; }

.account-page { min-height: 100vh; display: flex; flex-direction: column; }
.account-header { height: 82px; }
.account-main { width: min(1050px, calc(100% - 44px)); flex: 1; margin: 48px auto 76px; }
.account-auth { min-height: 550px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(35px, 8vw, 100px); }
.account-intro { max-width: 380px; }
.account-intro h1, .account-dashboard-heading h1 { margin: 14px 0; color: var(--wine); font-family: "Playfair Display", Georgia, serif; font-size: clamp(38px, 5vw, 55px); font-weight: 500; line-height: 1.1; }
.account-intro>p, .account-dashboard-heading>div>p { max-width: 320px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.account-auth-card { padding: clamp(24px, 4vw, 40px); border: 1px solid #f0e3de; background: var(--paper); box-shadow: var(--shadow); }
.account-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 25px; padding: 4px; background: #fbf1ed; }
.account-auth-tab { min-height: 37px; border: 0; background: transparent; color: var(--muted); font-size: 10px; }
.account-auth-tab.active { background: white; color: var(--berry); box-shadow: 0 2px 8px rgba(100, 34, 48, .08); }
.account-auth-card h2 { margin: 0 0 7px; color: var(--wine); font-family: "Playfair Display", Georgia, serif; font-size: 26px; font-weight: 500; }
.account-auth-card>section>p { margin-bottom: 20px; color: var(--muted); font-size: 10px; }
.account-auth-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.account-auth-card .form-stack { gap: 12px; }
.account-auth-card .form-stack input { min-height: 40px; }
.field-hint { margin-top: -8px; color: #a48f8c; font-size: 9px; }
.account-auth-card .form-note { margin-top: 20px !important; line-height: 1.6; }
.account-prompt { margin: 14px 0 0 !important; color: var(--muted); font-size: 10px !important; text-align: center; }
.account-prompt a { color: var(--berry); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.customer-dashboard { max-width: 970px; margin: 0 auto; }
.account-dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.account-dashboard-heading h1 { margin: 8px 0; font-size: 40px; }
.account-dashboard-heading>div>p { margin-bottom: 0; font-size: 10px; }
.account-heading-actions { display: flex; align-items: center; gap: 9px; }
.account-heading-actions .button { min-height: 40px; padding: 0 14px; font-size: 9px; }
.tracking-panel { padding: clamp(20px, 4vw, 38px); border: 1px solid #f0e3de; background: var(--paper); box-shadow: var(--shadow); }
.tracking-heading { margin-bottom: 22px; }
.tracking-heading h2 { margin: 9px 0 6px; color: var(--wine); font-family: "Playfair Display", Georgia, serif; font-size: 32px; font-weight: 500; }
.tracking-heading h2 em { color: var(--rose); }
.tracking-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.tracking-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.tracking-tab { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; border: 0; border-bottom: 2px solid transparent; padding: 7px; background: transparent; color: #8d7775; font-size: 10px; }
.tracking-tab.active { border-bottom-color: var(--berry); color: var(--berry); font-weight: 700; }
.tracking-tab span { display: inline-grid; min-width: 19px; height: 19px; place-items: center; border-radius: 50%; background: #f7e9e4; color: var(--berry); font-size: 9px; }
.tracking-content { min-height: 170px; }
.tracking-card { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid #f0e5e1; }
.tracking-card:last-child { border-bottom: 0; }
.tracking-card>img { width: 76px; height: 90px; object-fit: cover; background: var(--blush); }
.tracking-card-copy h3 { margin: 7px 0 4px; color: var(--wine); font-family: "Playfair Display", Georgia, serif; font-size: 17px; font-weight: 500; }
.tracking-card-copy p { margin: 0; color: var(--muted); font-size: 9px; }
.tracking-card>strong { color: var(--berry); font-size: 12px; }
.status-cart { background: #f4e9e5; color: var(--berry); }
.status-pending { background: #fff0d9; color: #8d6227; }
.status-shipped { background: #e9f0f7; color: #496783; }
.status-completed { background: #eaf1e9; color: var(--green); }
.tracking-order-card { margin-bottom: 12px; padding: 16px; border: 1px solid #f0e5e1; background: #fffdfa; }
.tracking-order-card:last-child { margin-bottom: 0; }
.tracking-order-top, .tracking-order-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.tracking-order-top>span:last-child { color: #a48f8c; font-size: 9px; }
.tracking-items { margin: 13px 0; padding: 0; list-style: none; }
.tracking-items li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: #735d5a; font-size: 10px; }
.tracking-items li span { color: var(--muted); }
.tracking-order-bottom { padding-top: 11px; border-top: 1px solid #f0e5e1; }
.tracking-order-bottom>span { color: var(--muted); font-size: 9px; }
.tracking-order-bottom>strong { color: var(--berry); font-size: 12px; white-space: nowrap; }
.tracking-empty { display: flex; min-height: 170px; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); text-align: center; }
.tracking-empty>span { color: var(--rose); font-size: 27px; }
.tracking-empty p { margin: 8px 0; font-size: 11px; }
.account-address-card { display: flex; align-items: center; gap: 13px; margin-top: 18px; padding: 17px 20px; border: 1px solid #f0e3de; background: #fffdfb; }
.account-address-card strong, .account-address-card small { display: block; }
.account-address-card strong { color: var(--wine); font-size: 10px; }
.account-address-card small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.legal-links { display: flex; justify-content: center; gap: 20px; margin: 0 0 17px; }
.legal-links a, .site-footer small a { color: #e5c4bd; font-size: 9px; text-decoration: underline; text-underline-offset: 3px; }
.legal-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--cream); }
.legal-main { width: min(820px, calc(100% - 40px)); flex: 1; margin: 58px auto 76px; }
.legal-main>h1 { margin: 12px 0 8px; color: var(--wine); font-family: "Playfair Display", Georgia, serif; font-size: clamp(36px, 5vw, 52px); font-weight: 500; line-height: 1.1; }
.legal-main>h1 em { color: var(--rose); }
.legal-updated { margin: 0 0 26px; color: var(--muted); font-size: 10px; }
.legal-alert { margin-bottom: 30px; padding: 15px 17px; border-left: 3px solid var(--rose); background: #f8e9e4; color: #785f5b; font-size: 11px; line-height: 1.8; }
.legal-alert strong { color: var(--berry); }
.legal-main section { margin: 0 0 27px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.legal-main section h2 { margin: 0 0 11px; color: var(--wine); font-family: "Playfair Display", Georgia, serif; font-size: 21px; font-weight: 500; }
.legal-main section p, .legal-main section li { color: #755f5c; font-size: 11px; line-height: 1.9; }
.legal-main section p { margin: 0 0 10px; }
.legal-main section p:last-child { margin-bottom: 0; }
.legal-main section ul { padding-left: 20px; }
.legal-main section a { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.legal-main code { padding: 2px 5px; background: #f4e9e5; color: var(--berry); font-size: 10px; }
.legal-back { margin-top: 5px; }

/* ===== v2 · componentes novos ===== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 10px 14px; background: var(--berry); color: #fff; font-size: 12px; }
.skip-link:focus { top: 10px; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
body.modal-open { overflow: hidden; }
.toast[data-tone="error"] { background: #8a2b35; }
.link-button { border: 0; padding: 0; background: none; color: var(--berry); font-size: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.button-danger { background: #a43e43; color: #fff; border-color: #a43e43; }
.button-danger:hover { background: #82292f; }

/* Aviso de privacidade */
.privacy-banner { position: fixed; z-index: 15; left: 16px; right: 16px; bottom: 16px; max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.privacy-banner p { margin: 0; color: #6f5756; font-size: 11px; line-height: 1.6; }
.privacy-banner strong { color: var(--wine); }
.privacy-banner a { color: var(--berry); text-decoration: underline; }
.privacy-banner .button { flex: 0 0 auto; min-height: 38px; }

/* WhatsApp */
.whatsapp-float { position: fixed; z-index: 9; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 30px; background: #2f7a4f; color: #fff; box-shadow: 0 10px 26px rgba(30, 70, 45, .3); font-size: 12px; font-weight: 600; transition: transform .2s; }
.whatsapp-float:hover { transform: translateY(-2px); }
.whatsapp-float span:first-child { font-size: 18px; line-height: 1; }
body:has(.privacy-banner) .whatsapp-float { bottom: 110px; }

/* Vitrine */
.toolbar-right { display: flex; align-items: center; gap: 16px; }
.sort-box select { height: 36px; border: 1px solid var(--line); border-radius: 18px; padding: 0 12px; background: #fff; color: var(--berry); font-size: 11px; }
.product-skeleton { height: 420px; background: linear-gradient(90deg, #f8ece8 25%, #fdf6f3 50%, #f8ece8 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.product-open { display: block; width: 100%; height: 100%; border: 0; padding: 0; background: none; }
.product-title-button { border: 0; padding: 0; background: none; color: inherit; font: inherit; text-align: left; }
.product-title-button:hover { color: var(--berry); }
.favorite-toggle { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 253, 251, .92); color: var(--berry); font-size: 17px; box-shadow: 0 4px 12px rgba(49, 28, 29, .1); }
.favorite-toggle.active { color: #c2405a; }
.badge-sale { background: var(--berry) !important; color: #fff !important; }
.badge-muted { background: rgba(80, 60, 60, .75) !important; color: #fff !important; }
.sold-out .product-photo img { filter: grayscale(.6); opacity: .7; }
.price-group { display: flex; align-items: baseline; gap: 7px; }
.price-group s, .product-dialog-price s { color: #a48f8c; font-size: 10px; }
.pix-price { display: block; margin-top: 4px; color: var(--green); font-size: 9px; font-weight: 600; }
.faq { padding: 10px 0 60px; }
.faq h2 { margin: 12px 0 18px; color: var(--wine); font-family: "Playfair Display", Georgia, serif; font-size: clamp(30px, 4vw, 40px); font-weight: 500; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 14px 4px; color: var(--wine); font-size: 13px; font-weight: 600; cursor: pointer; }
.faq details p { margin: 0 4px 16px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.faq details a { color: var(--berry); text-decoration: underline; }

/* Detalhe do produto */
.product-dialog { width: min(100%, 860px); display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 30px; }
.product-dialog-photo { background: var(--blush); min-height: 380px; }
.product-dialog-photo img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; }
.product-dialog-info h2 { margin: 10px 0 8px; }
.product-dialog-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin-bottom: 14px; }
.product-dialog-price strong { color: var(--berry); font-size: 22px; }
.product-dialog-price small { color: var(--green); font-size: 11px; font-weight: 600; }
.product-dialog-info>p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.size-picker, .delivery-options, .address-fields { margin: 0; padding: 0; border: 0; min-width: 0; }
.size-picker legend, .delivery-options legend, .address-fields legend { margin-bottom: 8px; color: #705957; font-size: 10px; font-weight: 600; }
.size-options { display: flex; flex-wrap: wrap; gap: 7px; }
.size-chip { position: relative; }
.size-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.size-chip span { display: inline-grid; min-width: 42px; min-height: 38px; place-items: center; padding: 0 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 12px; cursor: pointer; }
.size-chip input:checked + span { border-color: var(--berry); background: var(--berry); color: #fff; }
.size-chip input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }
.product-dialog-qty { display: flex; align-items: end; gap: 14px; }
.product-dialog-qty label { width: 110px; }
.product-dialog-qty small { padding-bottom: 12px; color: var(--muted); font-size: 10px; }

/* Checkout */
.choice { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 10px !important; margin-bottom: 7px; padding: 10px 11px; border: 1px solid #eadbd6; background: #fffdfb; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--berry); background: #fdf3f0; }
.choice input { width: auto !important; min-height: 0 !important; margin-top: 2px; accent-color: var(--berry); }
.choice strong, .choice small { display: block; }
.choice strong { color: var(--wine); font-size: 11px; }
.choice small { margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 400; }
.checkout-form textarea { width: 100%; border: 1px solid #eadbd6; padding: 9px 11px; background: #fffdfb; font-size: 11px; resize: vertical; }
.checkout-address { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 11px; background: #fbf1ed; color: #6f5756; font-size: 10px; line-height: 1.5; }
.checkout-address a { flex: 0 0 auto; color: var(--berry); font-weight: 700; text-decoration: underline; }
.checkout-warning { color: #8d4a27; font-weight: 600; }
.cart-remove { width: auto !important; border: 0 !important; margin-left: 6px; background: none !important; color: #a43e43 !important; font-size: 9px; text-decoration: underline; }
.order-card { width: min(100%, 500px); }
.order-summary p { color: #6f5756; font-size: 12px; line-height: 1.7; }
.order-total { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0; padding: 12px 14px; background: #fbf1ed; }
.order-total span { color: var(--muted); font-size: 11px; }
.order-total strong { color: var(--berry); font-size: 20px; }
.pix-key { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; margin-bottom: 12px; padding: 12px; border: 1px dashed var(--rose); }
.pix-key span { grid-column: 1 / -1; color: var(--muted); font-size: 10px; }
.pix-key code { overflow-wrap: anywhere; color: var(--wine); font-size: 13px; }
.pix-key .button { min-height: 34px; padding: 0 12px; }
.order-hint { padding: 10px 12px; background: #eaf1e9; color: var(--green) !important; }
.order-steps { margin: 12px 0; padding-left: 20px; color: #6f5756; font-size: 11px; line-height: 1.9; }
.order-actions { flex-wrap: wrap; margin-top: 16px; }
.order-actions .button { flex: 1 1 200px; }

/* Formulários e senha */
.password-field { position: relative; display: block; }
.password-field input { padding-right: 76px !important; }
.password-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; padding: 6px 8px; background: transparent; color: var(--berry); font-size: 10px; font-weight: 600; }
.strength-meter { display: flex; flex-direction: column; gap: 5px; margin-top: -6px; }
.strength-meter i { display: block; height: 4px; border-radius: 3px; background: #f0e3de; position: relative; overflow: hidden; }
.strength-meter i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: #c45656; transition: width .2s; }
.strength-meter[data-level="0"] i::after { width: 20%; }
.strength-meter[data-level="1"] i::after { width: 50%; background: #c48a3a; }
.strength-meter[data-level="2"] i::after { width: 75%; background: #7a9a5a; }
.strength-meter[data-level="3"] i::after { width: 100%; background: var(--green); }
.strength-meter span { color: var(--muted); font-size: 9px; min-height: 11px; }
.checkbox-line { flex-direction: row !important; align-items: flex-start; gap: 9px !important; font-weight: 400 !important; line-height: 1.5; }
.checkbox-line input { width: 16px !important; min-height: 16px !important; height: 16px; flex: 0 0 16px; margin: 1px 0 0; accent-color: var(--berry); }
.checkbox-line a { color: var(--berry); text-decoration: underline; }
.checkbox-line.compact { font-size: 10px; color: var(--muted); }
.address-fields { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; border-top: 1px solid #f0e5e1; }
.form-row-cep { align-items: end; }
.form-row-cep .field-hint { margin: 0 0 12px; }
.form-stack input[type="checkbox"], .form-stack input[type="radio"] { width: auto; min-height: 0; }
.form-stack input:user-invalid, .form-stack select:user-invalid { border-color: #d9a0a0; }

/* Conta do cliente */
.loading-state { padding: 80px 0; color: var(--muted); text-align: center; font-size: 12px; }
.account-perks { margin: 18px 0 0; padding: 0; list-style: none; color: #6f5756; font-size: 12px; line-height: 2; }
.terms-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding: 14px 16px; border-left: 3px solid var(--rose); background: #fff; color: #6f5756; font-size: 11px; line-height: 1.6; }
.terms-banner.warning { border-left-color: #c48a3a; background: #fff8ec; }
.terms-banner a { color: var(--berry); text-decoration: underline; }
.terms-banner .button { flex: 0 0 auto; min-height: 36px; }
.account-sections { display: flex; gap: 6px; margin-bottom: 16px; overflow-x: auto; }
.account-section-tab { flex: 0 0 auto; border: 1px solid transparent; border-radius: 20px; padding: 9px 16px; background: transparent; color: var(--muted); font-size: 11px; }
.account-section-tab.active { border-color: #e9cfc8; background: #fff; color: var(--berry); font-weight: 700; }
.account-form { max-width: 560px; }
.account-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.account-form .button { align-self: flex-start; }
.subtle-form { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.subtle-form h3 { margin: 0; color: var(--wine); font-family: "Playfair Display", Georgia, serif; font-size: 18px; font-weight: 500; }
.danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 16px; border: 1px solid #efc9c6; background: #fff7f6; }
.danger-zone.soft { border-color: #f0e3de; background: #fffdfb; }
.danger-zone strong, .danger-zone small { display: block; }
.danger-zone strong { color: var(--wine); font-size: 12px; }
.danger-zone small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.danger-zone .button { flex: 0 0 auto; min-height: 38px; }
.consent-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 10px; }
.consent-list div { padding: 12px; background: #fbf5f2; }
.consent-list dt { color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.consent-list dd { margin: 5px 0 0; color: var(--wine); font-size: 11px; }
.order-progress { display: grid; grid-template-columns: repeat(4, 1fr); margin: 14px 0 4px; padding: 0; list-style: none; counter-reset: step; }
.order-progress li { position: relative; padding-top: 18px; color: #b9a5a1; font-size: 9px; text-align: center; }
.order-progress li::before { content: ""; position: absolute; top: 4px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #eadbd6; z-index: 1; }
.order-progress li::after { content: ""; position: absolute; top: 8px; left: -50%; width: 100%; height: 2px; background: #eadbd6; }
.order-progress li:first-child::after { display: none; }
.order-progress li.done { color: var(--berry); font-weight: 600; }
.order-progress li.done::before, .order-progress li.done::after { background: var(--berry); }
.tracking-code { margin: 0 0 10px; color: #6f5756; font-size: 10px; }
.tracking-code code { padding: 2px 6px; background: #f4e9e5; color: var(--berry); }
.tracking-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tracking-actions .button { min-height: 36px; padding: 0 14px; font-size: 10px; }
.tracking-cta { padding-top: 14px; text-align: right; }
.tracking-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.status-canceled { background: #f1e6e6; color: #8a4a4f; }

/* Painel administrativo */
.admin-title-actions { display: flex; gap: 8px; }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.admin-toolbar .button { min-height: 34px; padding: 0 14px; font-size: 10px; }
.stat-card.highlight { border-color: var(--rose); background: #fdf3f0; }
.top-products { margin-bottom: 18px; }
.top-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: top; }
.top-list li { counter-increment: top; display: flex; flex-direction: column; gap: 4px; padding: 12px; background: #fbf5f2; font-size: 10px; color: #6f5756; }
.top-list li::before { content: counter(top) "º"; color: var(--rose); font-weight: 700; }
.top-list li.table-empty { grid-column: 1 / -1; }
.top-list li.table-empty::before { content: none; }
.top-list strong { color: var(--berry); }
.top-list small { color: var(--muted); }
.table-filters { display: flex; gap: 10px; margin-bottom: 12px; }
.table-filters input, .table-filters select { min-height: 36px; border: 1px solid #eadbd6; padding: 0 10px; background: #fffdfb; font-size: 11px; }
.table-filters input { flex: 1; max-width: 320px; }
.panel-heading .button { min-height: 34px; padding: 0 12px; font-size: 10px; }
.row-inactive td { opacity: .55; }
.table-product { display: flex; align-items: center; gap: 10px; }
.table-product img { width: 36px; height: 44px; object-fit: cover; background: var(--blush); }
.link-cell { font-weight: 700; }
.image-preview { width: 110px; height: 130px; background: var(--blush); }
.image-preview img { width: 100%; height: 100%; object-fit: cover; }
.inventory-shortcut { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.inventory-shortcut .button { min-height: 34px; padding: 0 12px; font-size: 10px; }
.order-detail-card { width: min(100%, 620px); max-height: 90vh; overflow: auto; }
.order-detail-card h2 { font-size: 28px; }
.order-detail-card>div>p { color: var(--muted); font-size: 11px; }
.detail-list { display: grid; gap: 8px; margin: 14px 0; }
.detail-list div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; font-size: 11px; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.order-detail-actions { flex-wrap: wrap; margin-top: 14px; }
#tracking-form { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.mfa-qr { width: 190px; height: 190px; margin: 8px auto; background: #fff; }
.security-ok { padding: 12px; background: #eaf1e9; color: var(--green); font-size: 12px; }
#mfa-status p, #mfa-enroll p { color: #6f5756; font-size: 11px; line-height: 1.7; }
.legacy-box summary { cursor: pointer; color: var(--berry); font-weight: 600; }
.legacy-box p { margin: 8px 0 0; }
.legal-main section h3 { margin: 16px 0 6px; color: var(--wine); font-size: 14px; }
.legal-main table { margin: 10px 0; }
.legal-main td, .legal-main th { font-size: 10px; vertical-align: top; }

@media (max-width: 850px) {
  .site-header { padding: 0 22px; gap: 16px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 10px; }
  .admin-link { display: none; }
  .hero { min-height: 490px; padding-left: 7vw; }
  .hero-art { right: 5%; width: 38vw; }
  .product-photo { height: 290px; }
}
@media (max-width: 620px) {
  .announcement { font-size: 9px; }
  .site-header { height: 74px; padding: 0 16px; gap: 9px; }
  .brand { width: 86px; height: 65px; }
  .main-nav { position: absolute; top: 74px; left: 0; right: 0; justify-content: center; gap: 25px; padding: 11px 8px; background: #fffdfb; border-bottom: 1px solid #f0e5e1; }
  .main-nav a { font-size: 9px; }
  .header-actions { gap: 12px; margin-left: auto; }
  .icon-button { gap: 3px; }
  .icon-button>span:first-child { font-size: 19px; }
  .action-label { font-size: 9px; }
  .cart-count { width: 16px; height: 16px; font-size: 8px; }
  .hero { min-height: 620px; align-items: flex-start; padding: 54px 27px 0; }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: 43px; }
  .hero-copy>p { max-width: 270px; font-size: 12px; }
  .hero-art { top: auto; right: 9%; bottom: -27px; width: 57vw; max-width: 290px; transform: none; aspect-ratio: .95; }
  .hero-sticker { right: -25px; bottom: 30px; width: 80px; height: 80px; font-size: 10px; }
  .hero-sticker strong { font-size: 22px; }
  .flower-one { top: 41%; right: 2%; font-size: 65px; }
  .flower-two { right: auto; left: 4%; bottom: 5%; font-size: 45px; }
  .benefits { justify-content: space-around; gap: 10px; padding: 17px 12px; }
  .benefits>div { gap: 6px; }
  .benefit-icon { font-size: 18px; }
  .benefits strong { font-size: 8px; }
  .benefits small { max-width: 100px; font-size: 7px; line-height: 1.4; }
  .section-wrap { width: calc(100% - 34px); }
  .collection { padding-top: 60px; padding-bottom: 60px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading h2, .story h2, .payment-copy h2 { font-size: 34px; }
  .section-heading>p { margin: 9px 0 0; font-size: 10px; }
  .shop-toolbar { align-items: flex-start; flex-direction: column; gap: 13px; }
  .filter-tabs { gap: 2px; }
  .filter-tab { padding: 8px 14px; font-size: 9px; }
  .search-box { width: 100%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .product-photo { height: clamp(190px, 60vw, 280px); }
  .product-info h3 { font-size: 16px; }
  .product-info p { min-height: 42px; font-size: 9px; }
  .product-buy strong { font-size: 11px; }
  .product-buy span { font-size: 8px; }
  .story { grid-template-columns: 1fr; gap: 30px; padding-top: 36px; padding-bottom: 45px; }
  .story-logo { min-height: 230px; }
  .story-logo img { width: 55%; max-height: 220px; }
  .story-copy { padding: 0 7px; }
  .story-copy p { font-size: 11px; }
  .payment-strip { min-height: 0; flex-direction: column; align-items: flex-start; gap: 19px; margin-top: 16px; margin-bottom: 16px; padding: 26px; }
  .payment-illustration { align-self: center; width: min(100%, 260px); }
  .delivery-banner { align-items: flex-start; gap: 12px; margin-bottom: 50px; padding: 20px 16px; }
  .delivery-icon { width: 42px; height: 42px; flex-basis: 42px; font-size: 20px; }
  .delivery-banner h2 { font-size: 18px; }
  .delivery-banner p { font-size: 9px; }
  .dialog-card { padding: 32px 24px; }
  .cart-card { padding: 30px 20px; }
  .cart-line { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 9px; }
  .cart-line>img { width: 48px; height: 58px; }
  .admin-header { height: 68px; }
  .admin-main { width: calc(100% - 28px); margin-top: 25px; }
  .admin-login-card { margin: 32px auto; padding: 30px 22px; }
  .admin-login-card h1, .admin-title-row h1 { font-size: 30px; }
  .admin-title-row { align-items: flex-start; }
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-title-row .button { min-height: 38px; padding: 0 12px; font-size: 9px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .stat-card { min-height: 94px; padding: 13px; }
  .stat-card strong { font-size: 21px; }
  .admin-columns { grid-template-columns: 1fr; gap: 12px; }
  .admin-panel { padding: 17px 13px; }
  .table-panel { margin-top: 12px; }
  .table-wrap { margin-right: -4px; }
  table { min-width: 560px; }
  th { font-size: 7px; }
  td { font-size: 9px; }
  .account-main { width: calc(100% - 30px); margin-top: 26px; }
  .account-auth { grid-template-columns: 1fr; gap: 12px; min-height: auto; }
  .account-intro { padding: 8px 5px 0; }
  .account-intro .dialog-flower { margin-bottom: 6px; }
  .account-intro h1 { margin: 8px 0; font-size: 37px; }
  .account-intro>p { margin-bottom: 10px; font-size: 10px; }
  .account-auth-card { padding: 21px 17px; }
  .account-auth-card .form-row { gap: 8px; }
  .account-dashboard-heading { align-items: flex-start; flex-direction: column; }
  .account-dashboard-heading h1 { font-size: 32px; }
  .account-heading-actions { width: 100%; }
  .account-heading-actions .button { flex: 1; }
  .tracking-panel { padding: 20px 14px; }
  .tracking-heading h2 { font-size: 26px; }
  .tracking-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 5px; }
  .tracking-tab { justify-content: flex-start; min-height: 43px; font-size: 9px; }
  .tracking-card { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px; }
  .tracking-card>img { width: 58px; height: 70px; }
  .tracking-card-copy h3 { font-size: 14px; }
  .tracking-card-copy p { font-size: 8px; }
  .tracking-card>strong { font-size: 10px; }
  .tracking-order-card { padding: 12px 10px; }
  .tracking-order-bottom>span { line-height: 1.5; }
  .legal-main { width: calc(100% - 34px); margin-top: 34px; }
  .legal-main section h2 { font-size: 19px; }
  .legal-main section p, .legal-main section li { font-size: 10px; }
  .legal-links { flex-wrap: wrap; gap: 10px 18px; }
  .toolbar-right { width: 100%; flex-direction: column-reverse; align-items: stretch; gap: 10px; }
  .sort-box select { width: 100%; }
  .filter-tabs { flex-wrap: wrap; }
  .product-dialog { grid-template-columns: 1fr; gap: 16px; padding: 24px 18px; }
  .product-dialog-photo { min-height: 0; height: 300px; }
  .privacy-banner { flex-direction: column; align-items: stretch; left: 10px; right: 10px; bottom: 10px; }
  .whatsapp-float { right: 12px; bottom: 12px; padding: 12px 14px; }
  .whatsapp-float-label { display: none; }
  body:has(.privacy-banner) .whatsapp-float { bottom: 170px; }
  .account-form .form-row { grid-template-columns: 1fr; }
  .terms-banner, .danger-zone { flex-direction: column; align-items: stretch; }
  .consent-list { grid-template-columns: 1fr; }
  .tracking-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-toolbar { flex-direction: column; align-items: stretch; }
  .admin-title-actions { flex-direction: column; }
  .top-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .table-filters { flex-direction: column; }
  .table-filters input { max-width: none; }
  .detail-list div { grid-template-columns: 1fr; gap: 2px; }
  .faq summary { font-size: 12px; }
}

.admin-shortcut { padding: 7px 12px; border: 1px solid var(--berry); border-radius: 18px; color: var(--berry); font-size: 11px; font-weight: 600; white-space: nowrap; }
.admin-shortcut:hover { background: var(--berry); color: #fff; }
@media (max-width: 620px) { .admin-shortcut { padding: 5px 9px; font-size: 9px; } }

/* ===== v3 · variações e conjuntos ===== */
.color-dots { display: flex; align-items: center; gap: 5px; margin: 2px 0 8px; }
.color-dot { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(56, 37, 42, .18); background: var(--swatch, #e8dcd8); }
.color-dots small { color: var(--muted); font-size: 9px; }
.picker-value { color: var(--ink); font-weight: 400; }
.mode-picker { margin: 0; padding: 0; border: 0; min-width: 0; }
.mode-picker legend { margin-bottom: 8px; color: #705957; font-size: 10px; font-weight: 600; }
.mode-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 7px; }
.mode-chip { position: relative; }
.mode-chip input, .swatch-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mode-chip span { display: block; height: 100%; padding: 9px 11px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.mode-chip strong, .mode-chip small { display: block; }
.mode-chip strong { color: var(--wine); font-size: 11px; }
.mode-chip small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.mode-chip input:checked + span { border-color: var(--berry); background: #fdf3f0; box-shadow: inset 0 0 0 1px var(--berry); }
.mode-chip input:focus-visible + span, .swatch-chip input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }
.swatch-chip span { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 12px 0 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 12px; cursor: pointer; }
.swatch-chip i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(56, 37, 42, .2); background: var(--swatch, #e8dcd8); }
.swatch-chip input:checked + span { border-color: var(--berry); box-shadow: inset 0 0 0 1px var(--berry); }
.unavailable span { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.cart-warning { color: #a43e43 !important; font-weight: 600; }

/* Editor de variações (painel) */
.variant-editor { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 14px; border: 1px solid #f0e3de; background: #fffaf8; min-width: 0; }
.variant-editor legend { padding: 0 6px; color: var(--wine); font-size: 11px; font-weight: 700; }
.editor-block { display: flex; flex-direction: column; gap: 8px; }
.editor-block>span { color: #705957; font-size: 10px; font-weight: 600; }
.editor-row { display: grid; gap: 8px; align-items: center; }
.color-row { grid-template-columns: 42px 1fr auto; }
.part-row { grid-template-columns: 1.4fr 1fr 1fr auto; }
.editor-row input[type="color"] { width: 42px; height: 36px; padding: 2px; border: 1px solid #eadbd6; background: #fff; }
.editor-row .row-remove { border: 0; background: none; color: #a43e43; font-size: 18px; padding: 0 6px; }
.editor-add { align-self: flex-start; border: 1px dashed var(--rose); padding: 6px 12px; background: #fff; color: var(--berry); font-size: 10px; }
.stock-grid { overflow-x: auto; }
.stock-grid table { min-width: 0; }
.stock-grid th, .stock-grid td { padding: 5px; text-align: center; }
.stock-grid th:first-child, .stock-grid td:first-child { text-align: left; }
.stock-grid input { width: 64px; min-height: 32px; padding: 4px 6px; border: 1px solid #eadbd6; background: #fff; text-align: center; font-size: 11px; }
.stock-grid .grid-swatch { display: inline-block; width: 11px; height: 11px; margin-right: 5px; border-radius: 50%; vertical-align: middle; background: var(--swatch, #e8dcd8); border: 1px solid rgba(56, 37, 42, .2); }
.stock-grid-total { color: var(--muted); font-size: 10px; }
.sale-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 620px) {
  .part-row { grid-template-columns: 1fr 1fr; }
  .sale-options { grid-template-columns: 1fr; }
}

/* v4: frete por região e pagamento InfinitePay */
.delivery-options-list { display: grid; gap: 8px; }
.delivery-options-list .form-note, .delivery-options-list .checkout-warning { margin: 0; font-size: 10px; line-height: 1.5; }
.cart-totals .cart-total-pix { padding-top: 2px; font-size: 11px; }
.cart-totals .cart-total-pix strong { color: var(--wine); font-size: 13px; }
.payment-alerts { margin: 0 0 14px; border-left-color: #c0623a; }
.payment-alerts ul { margin: 6px 0 0; padding-left: 18px; }
.payment-alerts a { color: var(--berry); }
.shipping-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; align-items: end; margin-bottom: 16px; }
.shipping-form[hidden] { display: none; }
.shipping-form label { display: grid; gap: 5px; }
.shipping-form .wide { grid-column: span 2; }
.shipping-form .form-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 850px) { .shipping-form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .shipping-form { grid-template-columns: 1fr; } .shipping-form .wide { grid-column: auto; } }
