* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --gold: #c9a236; --gold-dark: #a88b2a; --gold-pale: #f4efe2;
  --dark: #17130a; --ink: #2b2416; --grey: #6e6656; --line: #e8e2d2;
  --bg: #fbf9f4; --white: #fff;
}
html { scroll-behavior: smooth; }
body { font-family: "Poppins", -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.7; font-size: 15px; }
h1, h2, h3, .brand, .section-head { font-family: "Playfair Display", Georgia, serif; }
a { color: var(--gold-dark); text-decoration: none; }
main { min-height: 60vh; }
.center { text-align: center; margin-top: 22px; }
.fineprint { font-size: 12px; color: var(--grey); }
.mono { font-family: ui-monospace, Menlo, monospace; font-size: 12px; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--dark); color: #cfc6ae; font-size: 12.5px; }
.topbar a { color: #cfc6ae; }
.topbar-inner { max-width: 1280px; margin: 0 auto; padding: 7px 20px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.topbar-note { color: var(--gold); letter-spacing: 0.4px; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 14px rgba(23, 19, 10, 0.05); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 26px; }
.brand { font-size: 26px; font-weight: 700; color: var(--dark); line-height: 1.1; display: flex; flex-direction: column; }
.brand em { color: var(--gold); font-style: normal; display: inline; }
.brand-sub { font-family: "Poppins", sans-serif; font-size: 9.5px; letter-spacing: 4px; color: var(--grey); font-weight: 500; }

.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.main-nav > a, .nav-item > a { display: block; padding: 10px 13px; color: var(--ink); font-weight: 500; font-size: 14px; border-radius: 6px; white-space: nowrap; }
.main-nav > a:hover, .nav-item > a:hover { color: var(--gold-dark); background: var(--gold-pale); }
.caret { font-size: 10px; color: var(--grey); }
.nav-item { position: relative; }
.mega { position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 0 0 10px 10px; box-shadow: 0 18px 40px rgba(23,19,10,0.13); padding: 22px 26px; display: none; gap: 34px; min-width: 260px; z-index: 110; }
.nav-item:hover .mega, .nav-item:focus-within .mega { display: flex; }
.mega-col { min-width: 200px; }
.mega-head { display: block; font-weight: 600; color: var(--dark); margin-bottom: 9px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.mega-head span { color: var(--grey); font-weight: 400; font-size: 12px; }
.mega-link { display: block; padding: 5px 0; color: var(--ink); font-size: 13.5px; }
.mega-link:hover { color: var(--gold-dark); padding-left: 4px; transition: padding 0.15s; }
.mega-more { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--gold-dark); }
.mega-empty { color: var(--grey); font-size: 13px; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.search { display: flex; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--bg); }
.search input { border: none; background: transparent; padding: 8px 14px; width: 150px; font-size: 13px; outline: none; }
.search button { border: none; background: transparent; padding: 0 12px; cursor: pointer; font-size: 13px; }
.currency-switch { display: inline-flex; flex: none; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 3px; gap: 2px; }
.currency-switch a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 28px; border-radius: 16px; font-size: 14px; font-weight: 600; color: var(--grey); white-space: nowrap; line-height: 1; transition: background 0.2s, color 0.2s; }
.currency-switch a:hover { color: var(--gold-dark); }
.currency-switch a.on { background: var(--gold); color: #fff; box-shadow: 0 2px 6px rgba(201, 162, 54, 0.4); }
.charge-note { background: var(--gold-pale); border-radius: 8px; padding: 10px 12px; }
.account-link { font-size: 13.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.account-link:hover { color: var(--gold-dark); }
.account-link.muted { color: var(--grey); }
.btn-small { background: var(--gold); color: #fff !important; padding: 8px 16px; border-radius: 20px; }
.btn-small:hover { background: var(--gold-dark); }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; font-size: 18px; border-radius: 8px; padding: 6px 12px; cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-block; background: var(--gold); color: #fff; padding: 14px 34px; border-radius: 8px; font-weight: 600; border: none; font-size: 15.5px; cursor: pointer; letter-spacing: 0.3px; transition: background 0.2s, transform 0.1s; }
.btn:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn:disabled { background: #ccc; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; border: 1.5px solid var(--gold); color: var(--gold-dark); }
.btn.ghost:hover { background: var(--gold-pale); }
.btn.light { background: #fff; color: var(--dark); }
.btn.full { width: 100%; }
.btn.big { font-size: 17px; padding: 16px 40px; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 500px at 70% -10%, #3a3016 0%, transparent 60%), linear-gradient(160deg, var(--dark) 0%, #2b2310 70%, #3a2f14 100%); color: #f3eeda; padding: 84px 20px 66px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: -40px 0; opacity: 0.35; }
.hero-bg-track { display: flex; gap: 18px; height: 100%; width: max-content; animation: heropan 70s linear infinite; align-items: center; }
.hero-tile { width: 240px; height: 240px; flex: none; border-radius: 16px; overflow: hidden; transform: rotate(-4deg); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hero-tile:nth-child(even) { transform: rotate(3deg) translateY(46px); }
.hero-tile img { width: 100%; height: 100%; object-fit: cover; }
@keyframes heropan { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(23,19,10,0.93) 15%, rgba(30,24,10,0.82) 55%, rgba(38,30,14,0.9) 100%); }
.hero-inner { max-width: 1100px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.hero-kicker { letter-spacing: 5px; font-size: 11.5px; color: var(--gold); margin-bottom: 18px; font-weight: 500; }
.hero h1 { font-size: 50px; line-height: 1.15; margin-bottom: 20px; color: #fff; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-sub { max-width: 720px; margin: 0 auto 30px; color: #d8d0b8; font-size: 16px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-cta .ghost { border-color: #6b5d33; color: #e8dfc2; }
.hero-stats { display: flex; justify-content: center; gap: 54px; margin-top: 52px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 26px; color: var(--gold); font-family: "Playfair Display", serif; }
.hero-stats span { font-size: 12.5px; color: #b9b092; letter-spacing: 0.5px; }

/* ---------- home sections ---------- */
.home-section { max-width: 1280px; margin: 0 auto; padding: 56px 20px 10px; }
.section-head { font-size: 32px; text-align: center; margin-bottom: 8px; color: var(--dark); }
.section-head em { color: var(--gold); font-style: italic; }
.section-sub { text-align: center; color: var(--grey); margin-bottom: 30px; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 400px)); gap: 24px; margin-top: 26px; justify-content: center; }
.cat-card { position: relative; border-radius: 14px; overflow: hidden; display: block; box-shadow: 0 8px 26px rgba(23,19,10,0.09); }
.cat-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform 0.35s; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card-body { position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px; background: linear-gradient(transparent, rgba(23,19,10,0.85)); color: #fff; display: flex; flex-direction: column; }
.cat-name { font-family: "Playfair Display", serif; font-size: 22px; font-weight: 600; }
.cat-count { font-size: 13px; color: var(--gold); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; margin-top: 26px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--ink); transition: box-shadow 0.25s, transform 0.15s; display: block; }
.card:hover { box-shadow: 0 14px 34px rgba(23,19,10,0.12); transform: translateY(-3px); }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.card-img { position: relative; display: block; background: #fff; }
.card-img img { background: #fff; }
.card-img .alt { position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s; }
.card:hover .card-img .alt { opacity: 1; }
.cat-card img { background: #fff; }

.cad-proof { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 16px 18px; margin: 16px 0; }
.cad-proof h3 { font-size: 16px; margin-bottom: 6px; }
.cad-proof p { font-size: 13px; color: var(--grey); margin-bottom: 10px; }
.cad-shots { display: flex; gap: 10px; flex-wrap: wrap; }
.cad-shots img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; border: 1.5px solid var(--line); cursor: pointer; background: #fff; }
.cad-shots img:hover { border-color: var(--gold); }
.noimg { width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: var(--gold-pale); color: var(--grey); font-size: 13px; }
.noimg.big { aspect-ratio: 4/3; border-radius: 12px; }
.card-body { padding: 14px 16px 16px; }
.card-cat { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey); }
.card-name { font-weight: 600; font-size: 15px; margin-top: 3px; }
.card-price { color: var(--gold-dark); font-weight: 700; margin-top: 5px; font-size: 16px; }
.card-tag { font-size: 12px; color: var(--grey); margin-top: 3px; }
.empty-note { text-align: center; color: var(--grey); padding: 50px 0; }

.how { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: none; }
.steps { max-width: 1280px; margin: 26px auto 46px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; padding: 0 20px; }
.step { text-align: center; padding: 26px 18px; }
.step-no { display: inline-flex; width: 46px; height: 46px; border-radius: 50%; background: var(--gold-pale); color: var(--gold-dark); align-items: center; justify-content: center; font-family: "Playfair Display", serif; font-size: 21px; font-weight: 700; margin-bottom: 14px; border: 1.5px solid var(--gold); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--grey); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin: 26px 0 46px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 13.5px; color: var(--grey); }

.faq-strip { max-width: 860px; padding-bottom: 40px; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 15px 20px; margin-bottom: 10px; }
details summary { font-weight: 600; cursor: pointer; font-size: 14.5px; }
details p { margin-top: 10px; color: var(--grey); font-size: 14px; }

.cta-band { background: linear-gradient(120deg, var(--dark), #3a2f14); color: #fff; text-align: center; padding: 56px 20px; margin-top: 56px; margin-bottom: -60px; border-bottom: 1px solid #3a331f; }
.cta-band h2 { font-size: 30px; margin-bottom: 20px; }

/* ---------- shop ---------- */
.shop-page, .product-page, .checkout-page, .account-page { max-width: 1280px; margin: 0 auto; padding: 26px 20px 60px; }
.crumbs { font-size: 12.5px; color: var(--grey); margin-bottom: 16px; }
.crumbs span { color: var(--ink); }
.shop-head h1 { font-size: 30px; }
.shop-head .count { font-size: 15px; color: var(--grey); font-family: "Poppins", sans-serif; }
.shop-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 6px; }
.chip { border: 1px solid var(--line); background: var(--white); border-radius: 20px; padding: 7px 16px; font-size: 13px; color: var(--ink); }
.chip.on, .chip:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.chip.small { padding: 5px 13px; font-size: 12px; }
.shop-filters.subs { margin-top: 2px; }
.mega-count { color: var(--grey); font-size: 11.5px; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 34px; }
.pager a { border: 1px solid var(--line); background: #fff; padding: 7px 14px; border-radius: 8px; font-size: 14px; }
.pager a.on { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ---------- product ---------- */
.product-cols { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; }
.product-media img#mainImage { width: 100%; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(23,19,10,0.08); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; border: 1.5px solid var(--line); cursor: pointer; }
.thumbs img:hover { border-color: var(--gold); }
.media-head { margin: 20px 0 10px; font-size: 17px; }
.product-media video { width: 100%; border-radius: 14px; border: 1px solid var(--line); }
.product-info .cat { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--grey); }
.product-info h1 { font-size: 34px; margin: 6px 0 10px; }
.product-info .price { font-size: 30px; color: var(--gold-dark); font-weight: 700; margin-bottom: 14px; font-family: "Playfair Display", serif; }
.product-info .price span { font-size: 13px; color: var(--grey); font-weight: 400; font-family: "Poppins", sans-serif; }
.product-info .desc { color: var(--grey); margin-bottom: 18px; }
.spec { width: 100%; border-collapse: collapse; margin-bottom: 18px; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.spec th, .spec td { text-align: left; padding: 10px 14px; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.spec th { width: 34%; color: var(--grey); font-weight: 500; background: var(--gold-pale); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: none; }
.nonrefund-box { background: #fdf8ec; border: 1px solid #e0c98a; border-radius: 10px; padding: 14px 16px; font-size: 13.5px; margin: 16px 0; }
.trust-row { font-size: 12.5px; color: var(--grey); margin-top: 14px; }

/* ---------- checkout ---------- */
.checkout-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; align-items: start; }
.checkout-form, .order-summary, .auth-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 30px; box-shadow: 0 8px 26px rgba(23,19,10,0.06); }
.checkout-form h1 { font-size: 26px; margin-bottom: 14px; }
.login-nudge { background: var(--gold-pale); border-radius: 8px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 16px; }
.checkout-form label, .auth-card label { display: block; margin-bottom: 16px; font-weight: 500; font-size: 13.5px; }
.checkout-form input:not([type="checkbox"]), .auth-card input { width: 100%; padding: 12px 14px; border: 1px solid #d5cdb8; border-radius: 8px; margin-top: 6px; font-size: 15px; background: var(--bg); }
.checkout-form input:focus, .auth-card input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.hint { color: var(--grey); font-weight: 400; font-size: 11.5px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 13px !important; }
.check input { margin-top: 3px; }
.pay-msg { color: #c62828; font-size: 14px; margin-top: 12px; }
.order-summary img { width: 100%; border-radius: 10px; }
.sum-name { font-weight: 600; margin-top: 12px; font-size: 16px; }
.sum-type { color: var(--grey); font-size: 13px; margin-bottom: 10px; }
.sum-table { width: 100%; border-collapse: collapse; margin: 8px 0; }
.sum-table td { padding: 8px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }
.sum-table td:last-child { text-align: right; }
.sum-total td { font-weight: 700; font-size: 16px; color: var(--gold-dark); border-bottom: none; }

/* ---------- auth & account ---------- */
.auth-page { display: flex; justify-content: center; padding: 60px 16px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-sub { color: var(--grey); font-size: 13.5px; margin-bottom: 18px; }
.auth-links { margin-top: 14px; font-size: 13.5px; }
.form-error { background: #fdecec; border: 1px solid #e6b3b3; color: #9c2222; border-radius: 8px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px; }
.form-ok { background: #edf7ee; border: 1px solid #b5d8b7; color: #23662a; border-radius: 8px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px; }

.account-page h1 { font-size: 30px; margin-bottom: 20px; }
.account-cols { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; }
.account-side { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.account-profile { text-align: center; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 14px; }
.avatar { width: 62px; height: 62px; border-radius: 50%; background: var(--gold); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; font-family: "Playfair Display", serif; margin: 0 auto 10px; }
.acc-name { font-weight: 600; }
.side-link { display: block; padding: 8px 0; font-size: 14px; color: var(--ink); border-bottom: 1px dashed var(--line); }
.side-link:hover { color: var(--gold-dark); }
.account-main { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.account-main h2 { font-size: 21px; margin-bottom: 16px; }
.orders-table-wrap { overflow-x: auto; }
.orders-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.orders-table th { text-align: left; background: var(--gold-pale); padding: 10px 12px; font-weight: 600; }
.orders-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.orders-table .actions a { display: inline-block; margin-right: 12px; font-weight: 500; font-size: 13px; }
.status { padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.status.ok { background: #edf7ee; color: #23662a; }
.status.bad { background: #fdecec; color: #9c2222; }
.status.wait { background: #fdf8ec; color: #8a6d1a; }

/* ---------- results ---------- */
.result-page { text-align: center; padding: 60px 16px; max-width: 640px; margin: 0 auto; }
.result-icon { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; font-size: 36px; color: #fff; }
.result-icon.ok { background: #2e7d32; }
.result-icon.bad { background: #c62828; }
.result-icon.wait { background: #b58f1f; }
.result-page h1 { margin-bottom: 12px; font-size: 30px; }
.result-page p { margin-bottom: 10px; }

/* ---------- policies ---------- */
.policy { max-width: 860px; margin: 30px auto 60px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 40px 44px; }
.policy h1 { margin-bottom: 6px; font-size: 30px; }
.policy .meta { color: var(--grey); font-size: 13px; margin-bottom: 20px; }
.policy h2 { font-size: 20px; margin: 24px 0 8px; }
.policy ul { padding-left: 22px; margin-bottom: 10px; }
.policy li { margin-bottom: 7px; font-size: 14.5px; }
.policy p { font-size: 14.5px; margin-bottom: 10px; }
.about-page .lead { font-size: 16.5px; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: #cfc6ae; margin-top: 60px; padding: 46px 24px 20px; }
.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 30px; max-width: 1280px; margin: 0 auto; }
.footer-brand { font-family: "Playfair Display", serif; font-size: 22px; color: #fff; margin-bottom: 10px; }
.footer-brand em { color: var(--gold); font-style: normal; }
.site-footer h4 { color: var(--gold); margin-bottom: 12px; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.site-footer a { display: block; color: #cfc6ae; margin-bottom: 7px; font-size: 13.5px; }
.site-footer a:hover { color: var(--gold); }
.site-footer p { font-size: 13.5px; margin-bottom: 8px; }
.site-footer .fineprint { color: #948b6f; }
.footer-bottom { max-width: 1280px; margin: 30px auto 0; padding-top: 18px; font-size: 12.5px; color: #948b6f; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; position: relative; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 88px; height: 2px; background: var(--gold); border-radius: 2px; opacity: 0.7; }

/* ---------- admin ---------- */
.admin-nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; background: var(--dark); border-radius: 10px; padding: 10px 16px; margin-bottom: 22px; }
.admin-badge { background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; padding: 3px 10px; border-radius: 12px; margin-right: 8px; }
.admin-nav a { color: #cfc6ae; padding: 6px 12px; border-radius: 6px; font-size: 14px; }
.admin-nav a.on, .admin-nav a:hover { background: #3a2f14; color: var(--gold); }
.admin-link { color: var(--gold-dark) !important; font-weight: 600; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.stat-card { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 18px 20px; }
.stat-card strong { display: block; font-size: 24px; font-family: "Playfair Display", serif; color: var(--dark); }
.stat-card span { font-size: 12.5px; color: var(--grey); }
.admin-search { display: flex; gap: 8px; margin-left: auto; }
.admin-search input { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 13px; min-width: 210px; }
.admin-thumb { width: 54px; height: 54px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.admin-input { width: 100%; min-width: 180px; border: 1px solid #d5cdb8; border-radius: 6px; padding: 7px 9px; font-size: 13px; }
.admin-input.small { min-width: 130px; }
.admin-input.tiny { min-width: 84px; width: 92px; }

/* ---------- animations ---------- */
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-inner > * { animation: riseIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.18s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.32s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.46s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.6s; }

@keyframes goldShimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
.hero h1 em { background: linear-gradient(100deg, var(--gold) 20%, #f7e7a9 40%, var(--gold) 60%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: goldShimmer 4.5s linear infinite; }

.hero-sparkles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-sparkles span { position: absolute; color: var(--gold); opacity: 0; animation: twinkle 3.6s ease-in-out infinite; font-size: 14px; text-shadow: 0 0 12px #f7e7a9; }
.hero-sparkles span:nth-child(1) { top: 18%; left: 12%; animation-delay: 0s; }
.hero-sparkles span:nth-child(2) { top: 30%; right: 14%; animation-delay: 0.7s; font-size: 20px; }
.hero-sparkles span:nth-child(3) { top: 64%; left: 20%; animation-delay: 1.3s; font-size: 11px; }
.hero-sparkles span:nth-child(4) { top: 74%; right: 24%; animation-delay: 1.9s; }
.hero-sparkles span:nth-child(5) { top: 12%; left: 46%; animation-delay: 2.5s; font-size: 17px; }
.hero-sparkles span:nth-child(6) { top: 52%; right: 44%; animation-delay: 3.1s; font-size: 10px; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); } 50% { opacity: 0.95; transform: scale(1.15) rotate(45deg); } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

.section-head { position: relative; padding-bottom: 14px; }
.section-head::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) scaleX(0); width: 74px; height: 2.5px; background: var(--gold); border-radius: 2px; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s; transform-origin: center; }
.section-head.reveal.in::after, .home-section:hover .section-head::after { transform: translateX(-50%) scaleX(1); }

.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%; background: linear-gradient(105deg, transparent, rgba(255,255,255,0.4), transparent); transform: skewX(-20deg); transition: left 0.55s ease; }
.btn:hover::after { left: 130%; }

.card img, .cat-card img { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s; }
.card:hover .card-img > img:first-child { transform: scale(1.06); }

@keyframes ctaGlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta-band { background: linear-gradient(120deg, var(--dark), #3a2f14, #17130a, #4a3b17); background-size: 300% 300%; animation: ctaGlow 12s ease infinite; }

@media (prefers-reduced-motion: reduce) {
  .hero-inner > *, .hero h1 em, .hero-sparkles span, .cta-band, .hero-bg-track { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0,0,0,0.12); }
  .main-nav.open { display: flex; }
  .mega { position: static; display: none; box-shadow: none; border: none; border-left: 3px solid var(--gold); border-radius: 0; padding: 6px 14px; flex-direction: column; gap: 10px; }
  .nav-item:hover .mega, .nav-item:focus-within .mega { display: flex; }
  .nav-toggle { display: block; }
  .search input { width: 110px; }
  .product-cols, .checkout-cols, .account-cols { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 54px 16px 44px; }
  .hero h1 { font-size: 27px; }
  .hero-stats { gap: 26px; }
  .section-head { font-size: 24px; }
  .policy { padding: 24px 18px; }
  .footer-cols { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; gap: 10px; }
  .search { order: 3; flex: 1; }
}
