:root {
  color-scheme: light;
  --ink: #201a19;
  --muted: #817875;
  --paper: #faf8f5;
  --cream: #f2eee8;
  --gold: #b68d5d;
  --gold-dark: #987044;
  --line: #e9e3dc;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.announcement { padding: 10px 16px; background: var(--ink); color: #f8f3ed; text-align: center; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.site-header { position: sticky; z-index: 5; top: 0; display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 22px; padding: 0 7%; border-bottom: 1px solid rgba(32,26,25,.08); background: rgba(250,248,245,.96); backdrop-filter: blur(14px); }
.brand { display: inline-flex; flex-direction: column; gap: 3px; white-space: nowrap; }
.brand strong { font-family: var(--serif); font-size: 20px; letter-spacing: .13em; }
.brand span { color: var(--muted); font-size: 9px; letter-spacing: .27em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: clamp(18px,3vw,44px); }
.nav-links a { position: relative; padding: 9px 0; color: #504846; font-size: 12px; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-dark); }
.nav-links a.active::after { position: absolute; right: 0; bottom: 1px; left: 0; height: 1px; background: var(--gold); content: ""; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-link { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: .2s; }
.icon-link:hover { border-color: var(--gold); color: var(--gold-dark); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: none; font-size: 23px; }
.hero { position: relative; display: flex; min-height: min(670px,76vw); align-items: center; overflow: hidden; background: #332c29; color: #fff; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,18,17,.76) 0%, rgba(22,18,17,.40) 46%, rgba(22,18,17,.04) 100%), linear-gradient(0deg,rgba(22,18,17,.15),transparent 40%); content: ""; }
.hero-copy { position: relative; z-index: 1; width: min(650px,80%); margin-left: 10%; padding: 90px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 1px; background: currentColor; content: ""; }
.hero h1 { max-width: 570px; margin: 24px 0 16px; font-family: var(--serif); font-size: clamp(42px,7vw,76px); font-weight: 500; line-height: 1.06; }
.hero-copy > p { max-width: 445px; margin: 0; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.9; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border: 1px solid var(--gold); background: var(--gold); color: white; cursor: pointer; font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; transition: background .2s,border .2s,transform .2s; }
.button:hover { transform: translateY(-2px); border-color: var(--gold-dark); background: var(--gold-dark); }
.button-outline { border-color: rgba(255,255,255,.7); background: transparent; }
.hero .button { margin-top: 32px; }
.trust-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding: 23px 7%; border-bottom: 1px solid var(--line); background: #fff; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 12px; color: #554e4b; font-size: 11px; letter-spacing: .06em; }
.trust-item span:first-child { color: var(--gold-dark); font-size: 19px; }
.section { padding: 90px 7%; }
.section-heading { max-width: 580px; margin: 0 auto 38px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section-heading h2 { margin: 13px 0 10px; font-family: var(--serif); font-size: clamp(30px,4vw,44px); font-weight: 500; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.category-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; max-width: 1100px; margin: auto; }
.category-card { position: relative; display: flex; min-height: 345px; align-items: end; overflow: hidden; background: #342e2b; color: white; }
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .76; transition: transform .5s; }
.category-card:hover img { transform: scale(1.04); }
.category-card::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent,rgba(16,13,12,.7)); content: ""; }
.category-card-copy { position: relative; z-index: 1; padding: 28px; }
.category-card-copy h3 { margin: 0 0 7px; font-family: var(--serif); font-size: 33px; font-weight: 500; }
.category-card-copy span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.product-section { padding: 85px 7%; background: white; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px 18px; max-width: 1280px; margin: auto; }
.product-card { min-width: 0; }
.product-photo { position: relative; height: clamp(205px,26vw,330px); overflow: hidden; background: var(--cream); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card:hover .product-photo img { transform: scale(1.04); }
.product-tag { position: absolute; top: 12px; left: 12px; padding: 7px 9px; background: white; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.product-info { padding: 15px 2px 0; }
.product-name { margin: 0 0 6px; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.product-desc { min-height: 36px; margin: 0 0 9px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.product-size { color: var(--muted); font-size: 10px; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 13px; }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; font-size: 14px; font-weight: 600; }
.old-price { color: #a8a09c; font-size: 11px; font-weight: 400; text-decoration: line-through; }
.product-order { display: inline-flex; align-items: center; gap: 6px; padding: 9px 10px; border: 1px solid var(--line); background: transparent; font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.product-order:hover { border-color: var(--gold); color: var(--gold-dark); }
.empty-products { grid-column: 1/-1; padding: 36px; color: var(--muted); text-align: center; }
.promo-banner { display: flex; min-height: 300px; align-items: center; justify-content: center; padding: 55px 20px; background: var(--ink); color: white; text-align: center; }
.promo-banner h2 { margin: 14px 0; font-family: var(--serif); font-size: clamp(32px,5vw,52px); font-weight: 500; }
.promo-banner p { margin: 0; color: #d0c7bd; font-size: 13px; }
.promo-banner .button { margin-top: 23px; }
.page-intro { padding: 75px 20px 65px; background: var(--cream); text-align: center; }
.page-intro .eyebrow { justify-content: center; }
.page-intro h1 { margin: 14px 0 8px; font-family: var(--serif); font-size: clamp(38px,6vw,58px); font-weight: 500; }
.page-intro p { margin: 0; color: var(--muted); font-size: 13px; }
.catalog-section { padding-top: 55px; }
.catalog-toolbar { display: flex; max-width: 1280px; align-items: center; justify-content: space-between; margin: 0 auto 28px; color: var(--muted); font-size: 12px; }
.catalog-toolbar select { padding: 10px 34px 10px 12px; border: 1px solid var(--line); background: white; color: var(--ink); }
.footer { padding: 52px 7% 24px; background: #1d1817; color: white; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; max-width: 1150px; margin: auto; }
.footer .brand span { color: #b7aaa0; }
.footer-about { max-width: 320px; margin: 17px 0 0; color: #c5bbb4; font-size: 12px; line-height: 1.8; }
.footer h3 { margin: 0 0 16px; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.footer-links { display: grid; gap: 11px; color: #c5bbb4; font-size: 12px; }
.footer-bottom { max-width: 1150px; margin: 40px auto 0; padding-top: 18px; border-top: 1px solid #403734; color: #a99d95; font-size: 10px; text-align: center; }
.whatsapp-float { position: fixed; z-index: 4; right: 23px; bottom: 23px; display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: #25d366; box-shadow: 0 6px 24px #0003; color: white; font-size: 25px; }
.whatsapp-float:hover { background: #20b95a; }

.admin-page { min-height: 100vh; background: #f4f1ed; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 5%; background: #211a18; color: white; }
.admin-topbar .brand span { color: #b7aaa0; }
.admin-shell { max-width: 1190px; margin: auto; padding: 38px 24px 70px; }
.admin-shell > h1 { margin: 0 0 6px; font-family: var(--serif); font-weight: 500; }
.admin-subtitle { margin: 0 0 28px; color: var(--muted); font-size: 13px; }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.admin-tab { padding: 12px 17px; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer; color: var(--muted); font-size: 12px; }
.admin-tab.active { border-color: var(--gold); color: var(--ink); }
.admin-panel { padding: 25px; border: 1px solid var(--line); background: white; }
.admin-panel h2 { margin: 0 0 20px; font-family: var(--serif); font-size: 23px; font-weight: 500; }
.admin-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.field { display: grid; gap: 7px; color: #554e4b; font-size: 11px; }
.field.full { grid-column: 1/-1; }
.field input,.field textarea,.field select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 0; background: white; color: var(--ink); outline: none; }
.field input:focus,.field textarea:focus,.field select:focus { border-color: var(--gold); }
.field textarea { min-height: 95px; resize: vertical; }
.field input[type=file] { padding: 8px; }
.field-note { color: var(--muted); font-size: 10px; line-height: 1.5; }
.check-field { display: flex; align-items: center; gap: 8px; color: #554e4b; font-size: 12px; }
.admin-actions { display: flex; align-items: center; gap: 12px; margin-top: 21px; }
.admin-button { min-height: 41px; padding: 0 17px; border: 1px solid var(--gold); background: var(--gold); color: white; cursor: pointer; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.admin-button:hover { background: var(--gold-dark); }
.admin-button.secondary { border-color: var(--line); background: white; color: var(--ink); }
.admin-button.danger { border-color: #dfd1cd; background: white; color: #99453b; }
.admin-products { display: grid; gap: 10px; }
.admin-product-row { display: grid; grid-template-columns: 66px 1fr auto auto; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); }
.admin-product-row img { width: 66px; height: 66px; object-fit: cover; background: var(--cream); }
.admin-product-row strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-weight: 500; }
.admin-product-row span { color: var(--muted); font-size: 11px; }
.admin-product-actions { display: flex; gap: 8px; }
.notice { margin-top: 14px; padding: 12px; background: #f3eee5; color: #69543c; font-size: 12px; line-height: 1.6; }
.notice.error { background: #fff0ed; color: #963f33; }
.auth-card { width: min(440px,calc(100% - 32px)); margin: 11vh auto; padding: 35px; border: 1px solid var(--line); background: white; box-shadow: 0 16px 55px #211a1810; }
.auth-card .brand { margin-bottom: 26px; }
.auth-card h1 { margin: 0 0 8px; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.auth-card > p { margin: 0 0 22px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.auth-card .field { margin-bottom: 15px; }
.admin-preview { display: block; width: 100%; max-height: 220px; margin-top: 10px; object-fit: cover; background: var(--cream); }
.toast { position: fixed; z-index: 10; right: 22px; bottom: 22px; max-width: min(420px,calc(100% - 44px)); padding: 14px 18px; background: #211a18; box-shadow: 0 5px 25px #0002; color: white; font-size: 12px; }
.toast.error { background: #963f33; }

@media (max-width: 900px) {
  .site-header { padding-inline: 5%; }
  .nav-links { gap: 18px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-photo { height: clamp(230px,44vw,390px); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand-block { grid-column: 1/-1; }
}
@media (max-width: 650px) {
  .announcement { padding-block: 8px; font-size: 9px; letter-spacing: .12em; }
  .site-header { min-height: 66px; }
  .brand strong { font-size: 17px; }
  .brand span { font-size: 8px; }
  .menu-toggle { display: grid; place-items: center; }
  .header-actions { margin-left: auto; }
  .nav-links { position: absolute; top: 65px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 9px 6% 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .nav-links.open { display: grid; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links a.active::after { display: none; }
  .icon-link { width: 34px; height: 34px; }
  .hero { min-height: 610px; min-height: min(670px,calc(100svh - 70px)); }
  .hero-image { object-position: 59% center; }
  .hero::after { background: linear-gradient(90deg,rgba(22,18,17,.72),rgba(22,18,17,.25)),linear-gradient(0deg,rgba(22,18,17,.42),transparent 75%); }
  .hero-copy { width: 90%; margin-left: 6%; padding: 65px 0; }
  .hero h1 { font-size: clamp(43px,12vw,65px); }
  .hero-copy > p { font-size: 13px; }
  .trust-strip { grid-template-columns: 1fr; gap: 15px; padding-block: 19px; }
  .trust-item { justify-content: flex-start; }
  .section,.product-section { padding: 62px 6%; }
  .category-grid { grid-template-columns: 1fr; gap: 13px; }
  .category-card { min-height: 275px; }
  .product-grid { gap: 24px 12px; }
  .product-photo { height: clamp(185px,56vw,300px); }
  .product-info { padding-top: 11px; }
  .product-name { font-size: 17px; }
  .product-desc { font-size: 10px; }
  .product-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .product-order { font-size: 8px; }
  .page-intro { padding-block: 58px; }
  .catalog-section { padding-top: 38px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .footer-brand-block { grid-column: 1/-1; }
  .footer { padding: 42px 6% 22px; }
  .admin-shell { padding: 28px 15px 55px; }
  .admin-panel { padding: 18px; }
  .admin-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .admin-product-row { grid-template-columns: 52px 1fr; }
  .admin-product-row img { width: 52px; height: 60px; }
  .admin-product-actions { grid-column: 2; }
  .admin-product-price { grid-column: 2; }
  .admin-topbar { padding-inline: 5%; }
  .admin-topbar .icon-link { width: auto; padding: 0 10px; border-radius: 20px; font-size: 11px; }
  .auth-card { margin-top: 7vh; padding: 26px 22px; }
}
