:root {
    --brown-950: #321812;
    --brown-900: #4d271f;
    --brown-800: #64382d;
    --brown-700: #795044;
    --brown-600: #8e6a5f;
    --rose-600: #b66f6b;
    --rose-500: #cc8e88;
    --rose-300: #e4bdb7;
    --rose-200: #ead5cd;
    --rose-100: #f3e6e0;
    --gold-500: #c99b55;
    --gold-300: #e1bd73;
    --cream: #fbf7f3;
    --paper: #fffaf6;
    --white: #ffffff;
    --success: #247252;
    --danger: #a23939;
    --warning: #9a641f;
    --shadow-sm: 0 10px 35px rgba(77, 39, 31, .07);
    --shadow-lg: 0 28px 80px rgba(77, 39, 31, .14);
    --radius: 24px;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--brown-900); font-family: var(--sans); line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.menu-open, body.admin-menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow-container { width: min(920px, calc(100% - 40px)); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow { display: block; color: var(--rose-600); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.button { min-height: 44px; padding: 0 21px; border: 1px solid transparent; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: var(--brown-900); background: transparent; font-weight: 750; font-size: .9rem; transition: transform .2s, background-color .2s, border-color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(201,155,85,.42); outline-offset: 3px; }
.button-primary { background: var(--brown-900); color: var(--white); box-shadow: 0 12px 25px rgba(77,39,31,.14); }
.button-primary:hover { background: var(--brown-800); box-shadow: 0 15px 32px rgba(77,39,31,.2); }
.button-outline { border-color: rgba(77,39,31,.2); background: var(--white); }
.button-outline:hover { border-color: rgba(77,39,31,.4); background: var(--paper); }
.button-soft { background: rgba(255,255,255,.62); border-color: rgba(77,39,31,.12); }
.button-soft:hover { background: var(--white); }
.button-light { background: var(--white); color: var(--brown-900); }
.button-whatsapp { color: #fff; background: #247a52; }
.button-large { min-height: 52px; padding-inline: 28px; font-size: .98rem; }
.button-block { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.back-link { display: inline-flex; margin-bottom: 20px; color: var(--brown-600); font-size: .85rem; font-weight: 750; }
.back-link:hover { color: var(--rose-600); }

/* Public header */
.site-header { position: sticky; top: 0; z-index: 50; height: 80px; border-bottom: 1px solid rgba(77,39,31,.1); background: rgba(255,250,246,.91); backdrop-filter: blur(18px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; border: 1px solid rgba(201,155,85,.48); box-shadow: 0 5px 16px rgba(77,39,31,.1); }
.brand span { display: flex; flex-direction: column; }
.brand strong { font-family: var(--serif); font-size: 1.48rem; line-height: 1; letter-spacing: -.035em; }
.brand small { margin-top: 5px; color: var(--brown-600); font-size: .54rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.main-nav a { position: relative; padding-block: 8px; color: var(--brown-700); font-size: .86rem; font-weight: 700; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 1px; height: 2px; border-radius: 3px; background: var(--rose-600); transition: right .2s; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.account-link { min-height: 42px; padding: 0 11px; border-radius: 99px; display: flex; align-items: center; gap: 7px; color: var(--brown-700); font-size: .8rem; font-weight: 750; }
.account-link:hover { background: var(--rose-100); }
.account-icon { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid rgba(77,39,31,.25); border-radius: 50%; color: var(--rose-500); font-size: .42rem; }
.cart-link { position: relative; min-height: 44px; padding: 0 18px; border-radius: 99px; display: flex; align-items: center; gap: 9px; background: var(--brown-900); color: var(--white); font-size: .82rem; font-weight: 800; }
.cart-link:hover { background: var(--brown-800); }
.cart-label { display: flex; align-items: center; gap: 8px; }
.cart-icon { width: 20px; height: 20px; flex: 0 0 auto; }
.cart-count { position: absolute; top: -6px; right: -5px; min-width: 22px; height: 22px; padding: 0 5px; border: 2px solid var(--paper); border-radius: 99px; display: grid; place-items: center; background: var(--rose-600); color: white; font-size: .65rem; }
.menu-button { display: none; width: 43px; height: 43px; padding: 10px; border: 0; border-radius: 50%; background: transparent; }
.menu-button span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--brown-900); transition: transform .2s, opacity .2s; }

/* Homepage */
.hero { position: relative; min-height: 700px; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -3; background: radial-gradient(circle at 85% 18%, rgba(228,189,183,.62), transparent 28%), radial-gradient(circle at 65% 80%, rgba(225,189,115,.16), transparent 27%), linear-gradient(125deg, #fffaf6 0%, #fbf7f3 48%, #f2dfd7 100%); }
.hero-grid { min-height: 700px; padding-block: 70px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.hero-copy { position: relative; z-index: 2; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid rgba(182,111,107,.24); border-radius: 99px; background: rgba(255,255,255,.65); color: var(--brown-700); font-size: .74rem; font-weight: 800; box-shadow: var(--shadow-sm); }
.hero h1 { max-width: 720px; margin: 26px 0 0; font-family: var(--serif); font-size: clamp(4rem, 7vw, 6.8rem); font-weight: 500; line-height: .87; letter-spacing: -.065em; }
.hero h1 em { display: block; margin-top: 14px; color: var(--rose-600); font-weight: 400; }
.hero-copy > p { max-width: 585px; margin: 28px 0 0; color: var(--brown-600); font-size: 1.05rem; line-height: 1.8; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.trust-list { margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 13px 23px; list-style: none; color: var(--brown-600); font-size: .76rem; font-weight: 650; }
.trust-list li::before { content: '✓'; width: 20px; height: 20px; margin-right: 7px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(201,155,85,.17); color: #9a702f; }
.hero-visual { position: relative; width: min(100%, 530px); justify-self: end; }
.hero-logo { position: relative; aspect-ratio: 1; padding: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.82); border-radius: 47%; background: var(--rose-200); box-shadow: 0 38px 100px rgba(77,39,31,.18); }
.hero-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 45%; }
.hero-orbit { position: absolute; z-index: -1; border: 1px solid rgba(201,155,85,.22); border-radius: 50%; pointer-events: none; }
.hero-orbit-one { width: 560px; height: 560px; right: 4%; top: 10%; }
.hero-orbit-two { width: 650px; height: 650px; right: .5%; top: 3.5%; border-color: rgba(182,111,107,.13); }
.floating-card { position: absolute; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.8); border-radius: 17px; box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); }
.floating-heart { left: -40px; bottom: -20px; padding: 15px 18px; background: rgba(255,255,255,.92); }
.floating-heart > span { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--rose-100); color: var(--rose-600); font-size: 1.35rem; }
.floating-card div { display: flex; flex-direction: column; }
.floating-card strong { font-family: var(--serif); font-size: 1rem; }
.floating-card small { color: var(--brown-600); font-size: .66rem; }
.floating-stars { right: -24px; top: 36px; padding: 13px 15px; display: flex; flex-direction: column; align-items: flex-start; background: var(--brown-900); color: var(--white); }
.floating-stars strong { color: var(--gold-300); font-family: var(--sans); font-size: .74rem; letter-spacing: .12em; }
.floating-stars small { color: rgba(255,255,255,.66); }
.steps { background: var(--brown-900); color: var(--paper); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.steps article { position: relative; min-height: 245px; padding: 42px 38px; border-right: 1px solid rgba(255,255,255,.1); }
.steps article:last-child { border-right: 0; }
.step-number { position: absolute; top: 24px; right: 28px; color: rgba(255,255,255,.045); font-family: var(--serif); font-size: 4.5rem; line-height: 1; }
.step-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(225,189,115,.28); border-radius: 12px; color: var(--gold-300); }
.steps h2 { margin: 25px 0 7px; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
.steps p { max-width: 295px; margin: 0; color: rgba(255,255,255,.61); font-size: .83rem; line-height: 1.7; }
.catalog-section { padding: 105px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 42px; }
.section-heading h2 { max-width: 650px; margin: 13px 0 0; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.5rem); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }
.section-heading > p { max-width: 420px; margin: 0; color: var(--brown-600); font-size: .86rem; line-height: 1.8; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 21px; }
.product-grid-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { overflow: hidden; border: 1px solid rgba(77,39,31,.1); border-radius: 27px; background: var(--white); box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 25px 60px rgba(77,39,31,.12); }
.product-image { position: relative; aspect-ratio: 4 / 3; display: block; overflow: hidden; background: var(--rose-200); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.product-card:hover .product-image img { transform: scale(1.045); }
.product-badge { position: absolute; top: 14px; left: 14px; padding: 6px 11px; border-radius: 99px; background: rgba(255,255,255,.91); color: var(--brown-700); font-size: .58rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 5px 20px rgba(77,39,31,.1); }
.product-content { padding: 20px; }
.product-category { color: var(--rose-600); font-size: .58rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.product-card h3 { min-height: 54px; margin: 8px 0 5px; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.16; }
.product-card h3 a:hover { color: var(--rose-600); }
.product-card p { min-height: 58px; margin: 0; color: var(--brown-600); font-size: .72rem; line-height: 1.65; }
.product-footer { margin-top: 17px; padding-top: 15px; border-top: 1px solid rgba(77,39,31,.08); display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.product-footer > div { display: flex; flex-direction: column; }
.product-footer small { color: var(--brown-600); font-size: .59rem; }
.product-footer strong { font-family: var(--serif); font-size: 1.22rem; }
.add-button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--brown-900); color: white; font-size: 1.5rem; line-height: 1; transition: background .2s, transform .2s; }
.add-button:hover { background: var(--rose-600); transform: rotate(4deg) scale(1.04); }
.section-action { margin-top: 36px; text-align: center; }
.occasion-section { padding: 0 0 100px; }
.occasion-card { min-height: 260px; padding: 48px 55px; border-radius: 38px; display: flex; align-items: center; justify-content: space-between; gap: 40px; background: radial-gradient(circle at 92% 12%, rgba(225,189,115,.22), transparent 32%), var(--brown-900); color: white; box-shadow: var(--shadow-lg); }
.occasion-card .eyebrow { color: var(--gold-300); }
.occasion-card h2 { max-width: 700px; margin: 14px 0 0; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.7rem); font-weight: 500; line-height: 1.05; letter-spacing: -.04em; }

/* Shared pages and forms */
.page-hero { padding: 76px 0 60px; border-bottom: 1px solid rgba(77,39,31,.08); background: radial-gradient(circle at 82% 5%, rgba(228,189,183,.62), transparent 30%), linear-gradient(130deg, var(--paper), #f7eee8); }
.page-hero-inner { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.page-hero h1, .compact-hero h1 { max-width: 760px; margin: 13px 0 0; font-family: var(--serif); font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 500; line-height: .98; letter-spacing: -.055em; }
.page-hero p { max-width: 400px; margin: 0; color: var(--brown-600); font-size: .88rem; line-height: 1.8; }
.compact-hero { padding: 55px 0; }
.compact-hero h1 { font-size: clamp(2.7rem, 5vw, 4.4rem); }
.simple-page { min-height: 60vh; padding: 80px 0; }
.catalog-page { padding: 42px 0 100px; }
.catalog-search { max-width: 610px; margin-bottom: 28px; }
.catalog-search label { min-height: 52px; padding: 5px 6px 5px 18px; border: 1px solid rgba(77,39,31,.13); border-radius: 99px; display: flex; background: white; box-shadow: var(--shadow-sm); }
.catalog-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--brown-900); }
.catalog-search button { padding: 0 21px; border: 0; border-radius: 99px; background: var(--brown-900); color: white; font-weight: 750; }
.category-tabs { padding-bottom: 2px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tabs a { flex: 0 0 auto; padding: 10px 16px; border: 1px solid rgba(77,39,31,.12); border-radius: 99px; background: rgba(255,255,255,.55); color: var(--brown-600); font-size: .75rem; font-weight: 750; }
.category-tabs a.active, .category-tabs a:hover { border-color: var(--brown-900); background: var(--brown-900); color: white; }
.catalog-result-line { margin: 26px 0 24px; display: flex; justify-content: space-between; align-items: center; color: var(--brown-600); font-size: .78rem; }
.catalog-result-line a { color: var(--rose-600); font-weight: 750; }
.empty-state { min-height: 330px; padding: 42px; border: 1px dashed rgba(77,39,31,.19); border-radius: 30px; display: grid; place-items: center; align-content: center; text-align: center; background: rgba(255,255,255,.46); }
.empty-state.large { min-height: 470px; }
.empty-state > span { width: 58px; height: 58px; margin-bottom: 18px; border-radius: 18px; display: grid; place-items: center; background: var(--rose-200); color: var(--rose-600); font-size: 1.5rem; }
.empty-state h1, .empty-state h2, .empty-state h3 { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.empty-state p { max-width: 450px; margin: 9px 0 22px; color: var(--brown-600); }
.field { display: flex; flex-direction: column; gap: 7px; color: var(--brown-700); font-size: .73rem; font-weight: 800; }
.field input, .field textarea, .field select, .admin-filters input, .admin-filters select { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid rgba(77,39,31,.16); border-radius: 12px; background: white; color: var(--brown-900); outline: 0; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; line-height: 1.55; }
.field input[type=file] { padding: 10px; }
.field input:focus, .field textarea:focus, .field select:focus, .admin-filters input:focus, .admin-filters select:focus { border-color: var(--rose-500); box-shadow: 0 0 0 3px rgba(204,142,136,.15); }
.field small { color: var(--brown-600); font-weight: 500; line-height: 1.45; }
.field-wide { grid-column: 1 / -1; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.alert { margin-bottom: 22px; padding: 14px 16px; border: 1px solid transparent; border-radius: 14px; font-size: .8rem; line-height: 1.6; }
.alert ul { margin: 7px 0 0; padding-left: 19px; }
.alert a { text-decoration: underline; font-weight: 750; }
.alert-error { border-color: rgba(162,57,57,.18); background: #fff0ef; color: #872f2f; }
.alert-success { border-color: rgba(36,114,82,.18); background: #edf8f2; color: #1f694b; }
.alert-info { border-color: rgba(84,111,145,.17); background: #eef5fb; color: #365f82; }
.toast-stack { position: fixed; z-index: 100; top: 94px; right: 20px; width: min(380px, calc(100% - 40px)); display: grid; gap: 10px; }
.toast { padding: 13px 14px 13px 17px; border: 1px solid rgba(77,39,31,.12); border-radius: 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: white; box-shadow: var(--shadow-lg); color: var(--brown-800); font-size: .78rem; animation: toast-in .25s ease both; }
.toast-success { border-left: 4px solid var(--success); }
.toast-error { border-left: 4px solid var(--danger); }
.toast-info { border-left: 4px solid #46739b; }
.toast button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--rose-100); color: var(--brown-700); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } }

/* Product detail */
.product-detail-page { padding: 68px 0 105px; }
.product-detail-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 68px; align-items: start; }
.product-gallery, .product-detail-copy { min-width: 0; }
.product-detail-image { overflow: hidden; aspect-ratio: 5 / 4; border-radius: 36px; background: var(--rose-200); box-shadow: var(--shadow-lg); }
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbnails { margin-top: 14px; padding: 3px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; }
.product-gallery-thumbnail { width: 84px; flex: 0 0 84px; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 13px; background: var(--rose-200); opacity: .68; transition: border-color .2s, opacity .2s, transform .2s; }
.product-gallery-thumbnail:hover { opacity: 1; transform: translateY(-1px); }
.product-gallery-thumbnail[aria-pressed="true"] { border-color: var(--rose-600); opacity: 1; box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px rgba(182,111,107,.2); }
.product-gallery-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-copy h1 { margin: 12px 0 18px; overflow-wrap: anywhere; font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.7rem); font-weight: 500; line-height: .98; letter-spacing: -.055em; }
.product-detail-description { color: var(--brown-600); line-height: 1.85; }
.detail-price { margin: 28px 0; padding: 22px 0; border-block: 1px solid rgba(77,39,31,.1); display: grid; grid-template-columns: 1fr auto; align-items: end; }
.detail-price small, .detail-price span { color: var(--brown-600); font-size: .69rem; }
.detail-price strong { grid-row: 1 / 3; grid-column: 2; font-family: var(--serif); font-size: 2rem; }
.detail-add-form { display: flex; align-items: end; gap: 12px; }
.detail-add-form label { width: 105px; display: flex; flex-direction: column; gap: 6px; color: var(--brown-600); font-size: .68rem; font-weight: 750; }
.detail-add-form input { width: 100%; min-height: 52px; padding: 10px; border: 1px solid rgba(77,39,31,.16); border-radius: 14px; background: white; text-align: center; }
.detail-notice { margin-top: 28px; padding: 17px 19px; border-radius: 16px; background: var(--rose-100); }
.detail-notice strong { font-family: var(--serif); }
.detail-notice p { margin: 4px 0 0; color: var(--brown-600); font-size: .72rem; line-height: 1.6; }

/* Cart and checkout */
.cart-page, .checkout-page, .account-page { padding: 55px 0 100px; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 34px; align-items: start; }
.cart-list { display: grid; gap: 13px; }
.cart-item { position: relative; padding: 14px; border: 1px solid rgba(77,39,31,.1); border-radius: 22px; display: grid; grid-template-columns: 115px 1fr 110px 100px; align-items: center; gap: 17px; background: white; box-shadow: var(--shadow-sm); }
.cart-item > img { width: 115px; height: 90px; border-radius: 15px; object-fit: cover; background: var(--rose-200); }
.cart-item-info span { color: var(--rose-600); font-size: .58rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.cart-item-info h2 { margin: 5px 0 3px; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.cart-item-info small { color: var(--brown-600); font-size: .67rem; }
.quantity-field { display: flex; flex-direction: column; gap: 5px; color: var(--brown-600); font-size: .62rem; font-weight: 750; }
.quantity-field input { width: 80px; min-height: 39px; padding: 6px; border: 1px solid rgba(77,39,31,.14); border-radius: 10px; text-align: center; }
.cart-subtotal { text-align: right; font-family: var(--serif); font-size: 1.08rem; }
.text-button { position: absolute; right: 15px; bottom: 10px; padding: 0; border: 0; background: transparent; color: var(--danger); font-size: .62rem; font-weight: 750; }
.cart-list-actions { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.cart-list-actions > a { color: var(--brown-600); font-size: .76rem; font-weight: 750; }
.cart-summary, .checkout-summary { position: sticky; top: 104px; padding: 28px; border: 1px solid rgba(77,39,31,.1); border-radius: 27px; background: white; box-shadow: var(--shadow-sm); }
.cart-summary h2, .checkout-summary h2 { margin: 9px 0 22px; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.summary-line, .checkout-total { padding: 18px 0; border-block: 1px solid rgba(77,39,31,.09); display: flex; justify-content: space-between; align-items: end; }
.summary-line span, .checkout-total span { color: var(--brown-600); font-size: .74rem; }
.summary-line strong, .checkout-total strong { font-family: var(--serif); font-size: 1.6rem; }
.cart-summary > p { margin: 20px 0; color: var(--brown-600); font-size: .72rem; line-height: 1.65; }
.cart-summary > small { display: block; margin-top: 12px; color: var(--brown-600); text-align: center; font-size: .59rem; }
.checkout-layout { display: grid; grid-template-columns: 1fr 390px; gap: 34px; align-items: start; }
.checkout-form { padding: 34px; border: 1px solid rgba(77,39,31,.1); border-radius: 28px; background: white; box-shadow: var(--shadow-sm); }
.checkout-form fieldset + fieldset { margin-top: 38px; padding-top: 33px; border-top: 1px solid rgba(77,39,31,.09); }
.checkout-form legend { margin-bottom: 6px; font-family: var(--serif); font-size: 1.55rem; }
.checkout-form legend span { width: 31px; height: 31px; margin-right: 8px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--brown-900); color: white; font-family: var(--sans); font-size: .7rem; }
.fieldset-intro { margin: 0 0 20px 42px; color: var(--brown-600); font-size: .72rem; }
.checkout-form .form-grid { margin-top: 21px; }
.login-hint { margin: 15px 0 0; color: var(--brown-600); font-size: .72rem; }
.login-hint a { color: var(--rose-600); font-weight: 750; }
.checkout-form > .button { margin-top: 27px; }
.form-disclaimer { margin: 11px 0 0; color: var(--brown-600); text-align: center; font-size: .61rem; }
.signed-customer { margin-bottom: 28px; padding: 17px 20px; border-radius: 17px; display: flex; flex-direction: column; background: var(--rose-100); }
.signed-customer span, .signed-customer small { color: var(--brown-600); font-size: .64rem; }
.signed-customer strong { margin: 3px 0; font-family: var(--serif); font-size: 1.2rem; }
.checkout-items { display: grid; gap: 12px; max-height: 390px; overflow: auto; }
.checkout-items > div { display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 11px; }
.checkout-items img { width: 55px; height: 55px; border-radius: 12px; object-fit: cover; }
.checkout-items p { min-width: 0; margin: 0; display: flex; flex-direction: column; }
.checkout-items p strong { overflow: hidden; font-family: var(--serif); font-size: .89rem; text-overflow: ellipsis; white-space: nowrap; }
.checkout-items p span, .checkout-items b { color: var(--brown-600); font-size: .63rem; }
.checkout-summary > a { display: inline-block; margin-top: 18px; color: var(--rose-600); font-size: .72rem; font-weight: 750; }

/* Customer account */
.auth-section { min-height: 650px; padding: 70px 20px 100px; display: grid; place-items: center; background: radial-gradient(circle at 80% 10%, rgba(228,189,183,.55), transparent 30%); }
.auth-card { width: min(470px, 100%); padding: 38px; border: 1px solid rgba(77,39,31,.1); border-radius: 30px; background: white; box-shadow: var(--shadow-lg); }
.auth-heading h1 { margin: 10px 0; font-family: var(--serif); font-size: 2.7rem; font-weight: 500; letter-spacing: -.04em; }
.auth-heading p { margin: 0 0 25px; color: var(--brown-600); font-size: .78rem; line-height: 1.7; }
.auth-form { display: grid; gap: 17px; }
.auth-note { margin: 18px 0 0; color: var(--brown-600); text-align: center; font-size: .68rem; }
.account-hero { padding: 65px 0; background: var(--brown-900); color: white; }
.account-hero-inner { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.account-hero .eyebrow { color: var(--gold-300); }
.account-hero h1 { margin: 9px 0 4px; font-family: var(--serif); font-size: 4rem; font-weight: 500; letter-spacing: -.05em; }
.account-hero p { margin: 0; color: rgba(255,255,255,.62); }
.account-profile { min-width: 280px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; display: flex; flex-direction: column; background: rgba(255,255,255,.05); }
.account-profile strong { font-family: var(--serif); }
.account-profile span { color: rgba(255,255,255,.58); font-size: .7rem; }
.account-profile a { margin-top: 10px; color: var(--gold-300); font-size: .68rem; font-weight: 750; }
.account-heading { margin-bottom: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.account-heading h2 { margin: 0; font-family: var(--serif); font-size: 2.2rem; font-weight: 500; }
.quote-list { display: grid; gap: 13px; }
.quote-card { padding: 21px 24px; border: 1px solid rgba(77,39,31,.1); border-radius: 20px; display: grid; grid-template-columns: 1.5fr .65fr .65fr 25px; align-items: center; gap: 20px; background: white; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.quote-card:hover { transform: translateY(-2px); box-shadow: 0 20px 45px rgba(77,39,31,.1); }
.quote-card h3 { margin: 9px 0 2px; font-family: var(--serif); font-size: 1.35rem; }
.quote-card p, .quote-card small { margin: 0; color: var(--brown-600); font-size: .68rem; }
.quote-card > div { display: flex; flex-direction: column; }
.quote-card > div > strong { margin-top: 4px; }
.quote-arrow { color: var(--rose-600); font-size: 1.3rem; }
.status { width: fit-content; padding: 5px 9px; border-radius: 99px; display: inline-flex; align-items: center; background: var(--rose-100); color: var(--brown-700); font-size: .58rem; font-weight: 850; white-space: nowrap; }
.status-novo { background: #f9e5df; color: #965348; }
.status-em_analise { background: #fff2d8; color: #8b631e; }
.status-enviado { background: #e7f1fb; color: #3e668c; }
.status-aprovado { background: #e4f4eb; color: #276e50; }
.status-cancelado { background: #f0eeee; color: #756d6a; }
.quote-detail-page { padding: 65px 0 100px; }
.quote-detail-head { margin-bottom: 25px; padding: 28px 31px; border-radius: 25px; display: flex; justify-content: space-between; align-items: end; gap: 25px; background: var(--brown-900); color: white; }
.quote-detail-head h1 { margin: 10px 0 3px; font-family: var(--serif); font-size: 2.5rem; font-weight: 500; }
.quote-detail-head p, .quote-detail-head small { margin: 0; color: rgba(255,255,255,.6); font-size: .7rem; }
.quote-detail-head > div:last-child { display: flex; flex-direction: column; text-align: right; }
.quote-detail-head > div:last-child strong { font-family: var(--serif); font-size: 2rem; }
.quote-detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.detail-panel { padding: 27px; border: 1px solid rgba(77,39,31,.1); border-radius: 23px; background: white; box-shadow: var(--shadow-sm); }
.detail-panel h2 { margin: 0 0 20px; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.line-items { display: grid; gap: 14px; }
.line-items > div { padding-bottom: 14px; border-bottom: 1px solid rgba(77,39,31,.08); display: flex; justify-content: space-between; gap: 16px; }
.line-items p { margin: 0; display: flex; flex-direction: column; }
.line-items span { color: var(--brown-600); font-size: .68rem; }
.detail-panel dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.detail-panel dl div { display: flex; flex-direction: column; }
.detail-panel dt { color: var(--brown-600); font-size: .63rem; font-weight: 750; }
.detail-panel dd { margin: 3px 0 0; font-size: .82rem; }
.success-page { min-height: 720px; padding: 75px 20px 110px; display: grid; place-items: center; background: radial-gradient(circle at 50% 20%, rgba(228,189,183,.5), transparent 35%); }
.success-card { width: min(660px, 100%); padding: 45px; border: 1px solid rgba(77,39,31,.1); border-radius: 35px; background: white; text-align: center; box-shadow: var(--shadow-lg); }
.success-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: #e4f4eb; color: var(--success); font-size: 2rem; }
.success-card h1 { margin: 12px 0; font-family: var(--serif); font-size: 3rem; font-weight: 500; line-height: 1; }
.success-card > p { color: var(--brown-600); font-size: .83rem; line-height: 1.75; }
.protocol-card { margin: 27px 0; padding: 20px; border-radius: 18px; display: flex; flex-direction: column; background: var(--rose-100); }
.protocol-card small, .protocol-card span { color: var(--brown-600); font-size: .65rem; }
.protocol-card strong { margin: 4px 0; font-family: var(--serif); font-size: 1.7rem; }
.success-card .button-row { justify-content: center; }

/* Footer */
.site-footer { padding: 60px 0 22px; background: var(--rose-200); }
.footer-main { padding-bottom: 40px; border-bottom: 1px solid rgba(77,39,31,.14); display: grid; grid-template-columns: 1fr 1.25fr .7fr; align-items: center; gap: 45px; }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { font-family: var(--serif); font-size: 1.6rem; }
.footer-brand span { color: var(--brown-600); font-size: .6rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.footer-statement { margin: 0; font-family: var(--serif); font-size: 1.7rem; line-height: 1.25; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; color: var(--brown-600); font-size: .73rem; }
.footer-contact a { color: var(--brown-900); font-weight: 750; }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; color: var(--brown-600); font-size: .64rem; }

/* Installer */
.install-page { min-height: 100vh; background: radial-gradient(circle at 20% 10%, rgba(228,189,183,.55), transparent 30%), var(--cream); }
.install-shell { min-height: 100vh; padding: 45px 20px; display: grid; place-items: center; }
.install-card { width: min(760px, 100%); padding: 38px; border: 1px solid rgba(77,39,31,.1); border-radius: 32px; background: white; box-shadow: var(--shadow-lg); }
.install-brand { margin-bottom: 28px; padding-bottom: 23px; border-bottom: 1px solid rgba(77,39,31,.09); display: flex; align-items: center; gap: 16px; }
.install-brand img { width: 72px; height: 72px; border-radius: 50%; }
.install-brand span { color: var(--rose-600); font-size: .65rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.install-brand h1 { margin: 2px 0 0; font-family: var(--serif); font-size: 2.1rem; line-height: 1; }
.install-intro h2, .install-success h2 { margin: 9px 0; font-family: var(--serif); font-size: 2.5rem; font-weight: 500; }
.install-intro > p, .install-success > p { color: var(--brown-600); font-size: .8rem; }
.install-form { margin-top: 28px; display: grid; gap: 30px; }
.install-form fieldset { padding-top: 24px; border-top: 1px solid rgba(77,39,31,.09); }
.install-form legend { margin-bottom: 18px; font-family: var(--serif); font-size: 1.3rem; }
.install-success { padding-block: 10px; text-align: center; }
.install-success .button-row { margin-top: 25px; justify-content: center; }
.security-note { margin-top: 22px !important; font-size: .66rem !important; }

/* Admin */
.admin-body { min-height: 100vh; background: #f6f1ed; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 70; width: 255px; padding: 23px 17px; display: flex; flex-direction: column; background: var(--brown-900); color: white; }
.admin-brand { padding: 0 7px 24px; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 12px; }
.admin-brand img { width: 49px; height: 49px; border-radius: 50%; }
.admin-brand span { display: flex; flex-direction: column; }
.admin-brand strong { font-family: var(--serif); font-size: 1.25rem; }
.admin-brand small { color: rgba(255,255,255,.48); font-size: .53rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.admin-nav { margin-top: 26px; display: grid; gap: 6px; }
.admin-nav a { min-height: 45px; padding: 0 13px; border-radius: 12px; display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,.62); font-size: .78rem; font-weight: 700; }
.admin-nav a span { width: 20px; color: var(--gold-300); text-align: center; font-size: 1rem; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.1); color: white; }
.admin-sidebar-footer { margin-top: auto; padding: 17px 10px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; color: rgba(255,255,255,.54); font-size: .65rem; font-weight: 700; }
.admin-app { min-height: 100vh; margin-left: 255px; }
.admin-topbar { position: sticky; top: 0; z-index: 45; height: 74px; padding: 0 34px; border-bottom: 1px solid rgba(77,39,31,.09); display: flex; align-items: center; justify-content: space-between; background: rgba(255,250,247,.92); backdrop-filter: blur(15px); }
.admin-topbar > div { display: flex; flex-direction: column; }
.admin-topbar small { color: var(--brown-600); font-size: .56rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.admin-topbar strong { font-family: var(--serif); font-size: 1.13rem; }
.admin-user { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--rose-200); color: var(--brown-800); font-size: .62rem; font-weight: 850; }
.admin-menu-button { display: none; width: 39px; height: 39px; border: 1px solid rgba(77,39,31,.13); border-radius: 10px; background: white; }
.admin-content { width: min(1280px, calc(100% - 64px)); margin: 0 auto; padding: 42px 0 70px; }
.admin-flashes { width: min(1280px, calc(100% - 64px)); margin: 22px auto -16px; }
.admin-page-heading { margin-bottom: 28px; display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.admin-page-heading h1 { margin: 7px 0 3px; font-family: var(--serif); font-size: 3rem; font-weight: 500; letter-spacing: -.045em; }
.admin-page-heading p { margin: 0; color: var(--brown-600); font-size: .75rem; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.stat-card { min-height: 155px; padding: 20px; border: 1px solid rgba(77,39,31,.1); border-radius: 22px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.stat-card.rose { background: #ead2cd; color: #78413e; }
.stat-card.gold { background: #eadbbd; color: #775724; }
.stat-card.brown { background: var(--brown-900); color: white; }
.stat-card.cream { background: white; }
.stat-card > span { font-size: .62rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; opacity: .68; }
.stat-card strong { margin-top: auto; font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.stat-card small { opacity: .62; font-size: .62rem; }
.admin-panel { margin-top: 22px; padding: 24px; border: 1px solid rgba(77,39,31,.09); border-radius: 23px; background: white; box-shadow: var(--shadow-sm); }
.panel-heading { margin-bottom: 20px; display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.panel-heading h2 { margin: 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.panel-heading p { margin: 3px 0 0; color: var(--brown-600); font-size: .65rem; }
.panel-heading > a { color: var(--rose-600); font-size: .68rem; font-weight: 750; }
.panel-heading > strong { font-family: var(--serif); font-size: 1.4rem; }
.responsive-table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { padding: 11px 12px; border-bottom: 1px solid rgba(77,39,31,.1); color: var(--brown-600); text-align: left; font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
td { padding: 13px 12px; border-bottom: 1px solid rgba(77,39,31,.07); color: var(--brown-700); font-size: .73rem; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
td > strong, td > small { display: block; }
td > small { margin-top: 2px; color: var(--brown-600); font-size: .6rem; }
.table-action { color: var(--rose-600); font-weight: 800; }
.product-cell { min-width: 210px; display: flex; align-items: center; gap: 11px; }
.product-cell img { width: 49px; height: 49px; border-radius: 11px; object-fit: cover; }
.product-cell div { display: flex; flex-direction: column; }
.product-cell small { max-width: 190px; overflow: hidden; color: var(--brown-600); font-size: .59rem; text-overflow: ellipsis; white-space: nowrap; }
.table-actions { display: flex; align-items: center; gap: 8px; }
.table-actions form { margin: 0; }
.table-actions a, .table-actions button, .category-actions a, .category-actions button { padding: 0; border: 0; background: transparent; color: var(--brown-700); font-size: .62rem; font-weight: 750; white-space: nowrap; }
.table-actions a:hover, .table-actions button:hover, .category-actions a:hover, .category-actions button:hover { color: var(--rose-600); }
.table-actions .danger, .category-actions .danger { color: var(--danger); }
.admin-empty { min-height: 250px; display: grid; place-items: center; align-content: center; text-align: center; }
.admin-empty > span { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--rose-100); color: var(--rose-600); font-size: 1.3rem; }
.admin-empty h3 { margin: 13px 0 3px; font-family: var(--serif); font-size: 1.35rem; }
.admin-empty p { margin: 0; color: var(--brown-600); font-size: .68rem; }
.admin-filters { margin-bottom: 20px; display: grid; grid-template-columns: minmax(220px, 1fr) 200px auto; gap: 10px; }
.admin-filters input, .admin-filters select { min-height: 43px; }
.admin-two-column { display: grid; grid-template-columns: 360px 1fr; gap: 20px; align-items: start; }
.admin-two-column .admin-panel { margin-top: 0; }
.sticky-panel { position: sticky; top: 95px; }
.stack-form { display: grid; gap: 16px; }
.category-admin-list { display: grid; gap: 9px; }
.category-admin-list article { padding: 14px; border: 1px solid rgba(77,39,31,.09); border-radius: 16px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 13px; }
.category-symbol { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--rose-100); color: var(--rose-600); }
.category-admin-list h3 { margin: 0; font-family: var(--serif); font-size: 1rem; }
.category-admin-list p { margin: 2px 0; color: var(--brown-600); font-size: .62rem; }
.category-admin-list small { color: var(--brown-600); font-size: .57rem; }
.category-actions { display: flex; gap: 8px; }
.category-actions form { margin: 0; }
.admin-form-card { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.admin-form-main, .admin-form-side { padding: 27px; border: 1px solid rgba(77,39,31,.09); border-radius: 23px; background: white; box-shadow: var(--shadow-sm); }
.admin-form-main legend { margin-bottom: 22px; font-family: var(--serif); font-size: 1.5rem; }
.admin-form-side { position: sticky; top: 95px; display: grid; gap: 14px; }
.image-preview { width: 100%; aspect-ratio: 4 / 3; border-radius: 17px; object-fit: cover; background: var(--rose-100); }
.admin-image-picker input[type=file] { background: var(--paper); border-style: dashed; }
.image-selection-summary { min-height: 18px; color: var(--success); font-size: .68rem; }
.admin-current-images { padding-top: 4px; }
.admin-image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 12px; }
.admin-image-card { overflow: hidden; border: 1px solid rgba(77,39,31,.11); border-radius: 15px; background: var(--paper); }
.admin-image-card-primary { border-color: rgba(182,111,107,.45); box-shadow: 0 0 0 2px rgba(182,111,107,.08); }
.admin-image-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--rose-100); }
.admin-image-card > div { padding: 10px; display: grid; gap: 7px; }
.admin-image-card strong { color: var(--rose-600); font-size: .66rem; }
.admin-image-card label { display: flex; align-items: center; gap: 6px; color: var(--brown-700); font-size: .62rem; font-weight: 700; cursor: pointer; }
.admin-image-card input { width: 15px; height: 15px; accent-color: var(--brown-900); }
.admin-image-filename { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-new-images[hidden], .image-preview[hidden], .admin-image-card [hidden] { display: none; }
.switch-row { padding: 13px; border: 1px solid rgba(77,39,31,.09); border-radius: 13px; display: flex; align-items: center; gap: 11px; cursor: pointer; }
.switch-row input { width: 18px; height: 18px; accent-color: var(--brown-900); }
.switch-row span { display: flex; flex-direction: column; }
.switch-row strong { font-size: .72rem; }
.switch-row small { color: var(--brown-600); font-size: .58rem; }
.settings-note { padding: 18px; border-radius: 16px; background: var(--rose-100); }
.settings-note strong { font-family: var(--serif); }
.settings-note p { margin: 5px 0 0; color: var(--brown-600); font-size: .66rem; line-height: 1.6; }
.admin-quote-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.admin-quote-grid .admin-panel:first-child { margin-top: 0; }
.admin-quote-grid aside .admin-panel:first-child { margin-top: 0; }
.admin-line-items { display: grid; gap: 8px; }
.admin-line-items > div { padding: 12px 0; border-bottom: 1px solid rgba(77,39,31,.08); display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; }
.admin-line-items > div:last-child { border-bottom: 0; }
.admin-line-items > div > span { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--rose-100); color: var(--rose-600); font-size: .64rem; font-weight: 800; }
.admin-line-items p { margin: 0; display: flex; flex-direction: column; }
.admin-line-items p strong { font-size: .76rem; }
.admin-line-items p small { color: var(--brown-600); font-size: .59rem; }
.admin-line-items b { font-size: .72rem; }
.admin-detail-list { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.admin-detail-list div { display: flex; flex-direction: column; }
.admin-detail-list .wide { grid-column: 1 / -1; }
.admin-detail-list dt { color: var(--brown-600); font-size: .58rem; font-weight: 800; text-transform: uppercase; }
.admin-detail-list dd { margin: 4px 0 0; font-size: .75rem; line-height: 1.6; }
.customer-card { display: flex; align-items: center; gap: 12px; }
.customer-card > span { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--rose-100); color: var(--rose-600); font-family: var(--serif); font-size: 1.2rem; }
.customer-card > div { min-width: 0; display: flex; flex-direction: column; }
.customer-card a { overflow: hidden; color: var(--brown-600); font-size: .62rem; text-overflow: ellipsis; }
.admin-login-page { min-height: 100vh; background: radial-gradient(circle at 15% 10%, rgba(228,189,183,.62), transparent 32%), var(--cream); }
.admin-login-shell { min-height: 100vh; padding: 35px 20px; display: grid; place-items: center; }
.admin-login-card { width: min(440px, 100%); padding: 37px; border: 1px solid rgba(77,39,31,.1); border-radius: 29px; background: white; box-shadow: var(--shadow-lg); }
.login-logo { margin-bottom: 28px; display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 1.5rem; }
.login-logo img { width: 70px; height: 70px; border-radius: 50%; }
.admin-login-card h1 { margin: 8px 0; font-family: var(--serif); font-size: 2.5rem; font-weight: 500; }
.admin-login-card > div > p { margin: 0 0 22px; color: var(--brown-600); font-size: .72rem; }
.back-site { margin-top: 20px; display: block; color: var(--brown-600); text-align: center; font-size: .68rem; }

@media (max-width: 1060px) {
    .main-nav { gap: 18px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-grid { gap: 35px; }
    .hero h1 { font-size: clamp(3.7rem, 8vw, 5.5rem); }
    .hero-orbit { display: none; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr 330px; }
    .admin-sidebar { width: 225px; }
    .admin-app { margin-left: 225px; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-content, .admin-flashes { width: min(100% - 40px, 1280px); }
    .admin-form-card { grid-template-columns: 1fr 260px; }
}

@media (max-width: 820px) {
    .container { width: min(100% - 32px, 1180px); }
    .main-nav { position: fixed; inset: 80px 0 auto; padding: 15px 20px 25px; border-bottom: 1px solid rgba(77,39,31,.1); display: grid; gap: 0; background: var(--paper); box-shadow: var(--shadow-lg); transform: translateY(-130%); opacity: 0; pointer-events: none; transition: transform .25s, opacity .25s; }
    .menu-open .main-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .main-nav a { padding: 13px 8px; border-bottom: 1px solid rgba(77,39,31,.08); }
    .main-nav a::after { display: none; }
    .menu-button { display: block; }
    .menu-open .menu-button span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .menu-open .menu-button span:nth-child(2) { opacity: 0; }
    .menu-open .menu-button span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .account-link span:last-child { display: none; }
    .hero-grid { min-height: auto; padding: 60px 0 90px; grid-template-columns: 1fr; }
    .hero-copy { text-align: center; }
    .hero-copy > p { margin-inline: auto; }
    .hero-actions, .trust-list { justify-content: center; }
    .hero-visual { width: min(78vw, 500px); justify-self: center; }
    .floating-heart { left: -20px; }
    .steps-grid { grid-template-columns: 1fr; }
    .steps article { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
    .steps article:last-child { border-bottom: 0; }
    .section-heading, .page-hero-inner { align-items: start; flex-direction: column; gap: 20px; }
    .section-heading > p, .page-hero p { max-width: 600px; }
    .occasion-card { align-items: flex-start; flex-direction: column; }
    .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .cart-summary, .checkout-summary { position: static; }
    .cart-item { grid-template-columns: 95px 1fr 90px; }
    .cart-item > img { width: 95px; height: 80px; }
    .cart-subtotal { grid-column: 3; grid-row: 2; }
    .quote-detail-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-statement { grid-column: 1 / -1; grid-row: 1; }
    .admin-sidebar { width: 255px; transform: translateX(-105%); transition: transform .25s; box-shadow: var(--shadow-lg); }
    .admin-menu-open .admin-sidebar { transform: translateX(0); }
    .admin-app { margin-left: 0; }
    .admin-menu-button { display: block; }
    .admin-topbar { padding: 0 20px; }
    .admin-content, .admin-flashes { width: min(100% - 32px, 1280px); }
    .admin-form-card, .admin-quote-grid, .admin-two-column { grid-template-columns: 1fr; }
    .admin-form-side, .sticky-panel { position: static; }
}

@media (max-width: 580px) {
    .container, .narrow-container { width: min(100% - 24px, 1180px); }
    .site-header { height: 70px; }
    .brand img { width: 44px; height: 44px; }
    .brand strong { font-size: 1.25rem; }
    .brand small { display: none; }
    .main-nav { top: 70px; }
    .account-link { display: none; }
    .cart-link { width: 48px; min-width: 48px; padding: 0; justify-content: center; }
    .cart-label > span { display: none; }
    .cart-icon { width: 23px; height: 23px; }
    .hero-grid { padding: 45px 0 75px; }
    .hero h1 { font-size: 3.5rem; }
    .hero-copy > p { font-size: .9rem; }
    .hero-actions .button { width: 100%; }
    .trust-list { display: none; }
    .hero-visual { width: 84vw; margin-top: 15px; }
    .floating-heart { left: -8px; bottom: -28px; padding: 11px; }
    .floating-heart > span { width: 35px; height: 35px; }
    .floating-heart strong { font-size: .83rem; }
    .floating-stars { right: -8px; top: 18px; }
    .steps article { padding: 34px 23px; }
    .catalog-section { padding: 75px 0; }
    .section-heading h2, .page-hero h1, .compact-hero h1 { font-size: 2.8rem; }
    .product-grid, .product-grid-wide { grid-template-columns: 1fr; }
    .product-card h3, .product-card p { min-height: auto; }
    .occasion-section { padding-bottom: 70px; }
    .occasion-card { padding: 35px 27px; border-radius: 27px; }
    .page-hero { padding: 50px 0 42px; }
    .catalog-page { padding-bottom: 70px; }
    .product-detail-page { padding: 35px 0 75px; }
    .product-detail-image { border-radius: 25px; }
    .product-gallery-thumbnail { width: 72px; flex-basis: 72px; border-radius: 11px; }
    .product-detail-copy h1 { font-size: 2.9rem; }
    .detail-add-form { align-items: stretch; flex-direction: column; }
    .detail-add-form label { width: 100%; }
    .detail-price { grid-template-columns: 1fr; }
    .detail-price strong { grid: auto; margin: 6px 0; }
    .cart-page, .checkout-page, .account-page { padding: 35px 0 75px; }
    .cart-item { padding: 12px; grid-template-columns: 75px 1fr; gap: 10px; }
    .cart-item > img { width: 75px; height: 70px; }
    .quantity-field { grid-column: 1; grid-row: 2; }
    .cart-subtotal { grid-column: 2; grid-row: 2; align-self: end; }
    .text-button { bottom: 12px; }
    .cart-list-actions { align-items: stretch; flex-direction: column; }
    .cart-list-actions .button { width: 100%; }
    .checkout-form, .auth-card, .success-card, .install-card { padding: 25px 20px; border-radius: 23px; }
    .form-grid { grid-template-columns: 1fr; }
    .field-wide { grid-column: auto; }
    .account-hero { padding: 45px 0; }
    .account-hero-inner { align-items: stretch; flex-direction: column; }
    .account-hero h1 { font-size: 3rem; }
    .account-profile { min-width: 0; }
    .account-heading { align-items: flex-start; flex-direction: column; }
    .quote-card { grid-template-columns: 1fr 1fr; }
    .quote-card > div:first-child { grid-column: 1 / -1; }
    .quote-arrow { display: none; }
    .quote-detail-head { align-items: flex-start; flex-direction: column; }
    .quote-detail-head > div:last-child { text-align: left; }
    .detail-panel dl { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 28px; }
    .footer-statement { grid-column: auto; grid-row: auto; }
    .footer-contact { align-items: flex-start; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
    .install-form .form-grid { grid-template-columns: 1fr; }
    .install-intro h2, .install-success h2 { font-size: 2.1rem; }
    .admin-content { padding-top: 28px; }
    .admin-page-heading { align-items: stretch; flex-direction: column; }
    .admin-page-heading h1 { font-size: 2.45rem; }
    .stat-grid { grid-template-columns: 1fr; }
    .stat-card { min-height: 130px; }
    .admin-panel, .admin-form-main, .admin-form-side { padding: 18px; border-radius: 18px; }
    .admin-filters { grid-template-columns: 1fr; }
    .category-admin-list article { grid-template-columns: 40px 1fr; }
    .category-actions { grid-column: 1 / -1; justify-content: flex-end; }
    .admin-detail-list { grid-template-columns: 1fr; }
    .admin-login-card { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
