:root {
  --navy: #0b2341;
  --navy-soft: #173553;
  --gold: #b79a62;
  --gold-dark: #927846;
  --cream: #f4f0e8;
  --cream-2: #faf8f4;
  --surface: #ffffff;
  --text: #242a31;
  --muted: #73777c;
  --line: #e7e1d7;
  --success: #486b57;
  --danger: #a54b4b;
  --shadow: 0 18px 50px rgba(20, 28, 38, .08);
  --shadow-sm: 0 8px 24px rgba(20, 28, 38, .06);
  --radius: 18px;
  --max: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  background: var(--cream-2);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.muted { color: var(--muted); }
.section { padding: 76px 0; }
.section-sm { padding: 46px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head h2 { margin-bottom: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { font-size: clamp(2.55rem, 5.2vw, 5.4rem); line-height: .98; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.05; letter-spacing: -.035em; }
h3 { line-height: 1.3; }

/* Header */
.topbar { background: var(--navy); color: rgba(255,255,255,.78); font-size: .75rem; }
.topbar-inner { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.topbar-list { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.topbar a:hover { color: #fff; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231,225,215,.9);
}
.header-main {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 88px;
}
.logo { display: block; }
.logo img { width: 208px; height: auto; }
.search-wrap { position: relative; }
.search-box {
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: .2s ease;
}
.search-box:focus-within { border-color: #c8b690; box-shadow: 0 0 0 4px rgba(183,154,98,.12); }
.search-box svg { margin-left: 20px; color: var(--navy); }
.search-box input { width: 100%; height: 52px; border: 0; outline: 0; background: transparent; padding: 0 14px; color: var(--text); }
.search-submit { height: 44px; margin-right: 4px; border: 0; border-radius: 999px; padding: 0 22px; background: var(--navy); color: #fff; font-weight: 750; }
.search-submit:hover { background: var(--navy-soft); }
.search-results {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(11,35,65,.16);
  padding: 9px;
  max-height: 430px;
  overflow: auto;
}
.search-results.open { display: block; }
.search-result { display: grid; grid-template-columns: 64px 1fr auto; gap: 13px; align-items: center; padding: 10px; border-radius: 13px; }
.search-result:hover { background: var(--cream-2); }
.search-result img { width: 64px; height: 54px; object-fit: cover; border-radius: 10px; }
.search-result strong { display: block; font-size: .9rem; }
.search-result small { color: var(--muted); }
.search-result b { color: var(--navy); white-space: nowrap; }
.header-actions { display: flex; gap: 8px; }
.header-action {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 110px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: .2s ease;
}
.header-action:hover { border-color: #cfc6b8; box-shadow: var(--shadow-sm); }
.header-action svg { color: var(--navy); }
.header-action small { display: block; color: var(--muted); font-size: .66rem; }
.header-action strong { display: block; font-size: .82rem; }
.cart-badge { position: absolute; left: 27px; top: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center; background: var(--gold); color: #fff; font-size: .65rem; font-weight: 900; border: 2px solid #fff; }
.category-nav { border-top: 1px solid #f1ede7; }
.category-nav-inner { display: flex; align-items: center; justify-content: center; gap: 26px; height: 48px; overflow: auto; scrollbar-width: none; }
.category-nav-inner::-webkit-scrollbar { display: none; }
.category-nav a { font-size: .8rem; font-weight: 700; color: #4c5259; white-space: nowrap; }
.category-nav a:hover, .category-nav a.active { color: var(--navy); }
.all-categories { display: flex !important; align-items: center; gap: 7px; color: var(--navy) !important; }
.mobile-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 12px; width: 42px; height: 42px; place-items: center; color: var(--navy); }
.mobile-menu { display: none; background: #fff; border-top: 1px solid var(--line); padding: 10px 18px 20px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: flex; align-items: center; justify-content: space-between; padding: 13px 3px; border-bottom: 1px solid #f1ede7; font-weight: 700; }

/* Buttons */
.button-row { display: flex; gap: 11px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 750; transition: .2s ease; }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-secondary { background: transparent; border-color: rgba(11,35,65,.28); color: var(--navy); }
.btn-secondary:hover { background: rgba(11,35,65,.05); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); transform: translateY(-1px); }
.btn-light { background: #fff; border-color: var(--line); color: var(--navy); }
.btn-light:hover { border-color: #cbbfae; }
.btn-block { width: 100%; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); }
.icon-btn:hover { border-color: #cbbfae; }

/* Home hero */
.hero { padding: 28px 0 12px; }
.hero-shell {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 570px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 26px;
}
.hero-copy { padding: 72px 64px; display: flex; flex-direction: column; justify-content: center; }
.hero-copy h1 { max-width: 720px; color: var(--navy); margin: 20px 0 22px; }
.hero-copy p { max-width: 620px; font-size: 1.06rem; color: #62676c; margin-bottom: 30px; }
.hero-visual { position: relative; min-height: 570px; }
.hero-photo { position: absolute; inset: 0; margin: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244,240,232,.16), transparent 30%); }
.hero-card {
  position: absolute;
  z-index: 2;
  left: 26px;
  bottom: 26px;
  max-width: 280px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 15px;
  padding: 15px 17px;
  box-shadow: var(--shadow);
  color: var(--navy);
  font-size: .82rem;
  font-weight: 750;
}
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.benefit { display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 17px; }
.benefit-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--navy); flex: none; }
.benefit strong { display: block; font-size: .88rem; }
.benefit small { color: var(--muted); }

/* Cards */
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.category-card { background: #fff; border: 1px solid var(--line); border-radius: 17px; overflow: hidden; transition: .22s ease; }
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.category-card img { width: 100%; aspect-ratio: 1.25; object-fit: cover; filter: saturate(.8); transition: .25s; }
.category-card:hover img { transform: scale(1.025); filter: saturate(1); }
.category-card-body { padding: 15px 15px 17px; }
.category-card h3 { font-size: .98rem; margin-bottom: 4px; color: var(--navy); }
.category-card p { font-size: .76rem; color: var(--muted); margin: 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: .22s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-media { position: relative; overflow: hidden; background: #eeeae3; }
.product-media img { width: 100%; aspect-ratio: 1.15; object-fit: cover; transition: .35s ease; filter: saturate(.82); }
.product-card:hover .product-media img { transform: scale(1.035); filter: saturate(1); }
.product-badge { position: absolute; left: 12px; top: 12px; background: rgba(11,35,65,.9); color: #fff; border-radius: 999px; padding: 6px 10px; font-size: .65rem; font-weight: 800; }
.favorite-btn { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: #6f7479; box-shadow: var(--shadow-sm); }
.favorite-btn.active { color: var(--danger); }
.favorite-btn.active svg { fill: currentColor; }
.product-body { padding: 17px; }
.product-brand { font-size: .66rem; color: var(--gold-dark); font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.product-title { font-size: .97rem; margin: 6px 0 7px; min-height: 48px; }
.product-title a:hover { color: var(--navy); }
.product-short { font-size: .76rem; color: var(--muted); min-height: 38px; margin-bottom: 13px; }
.price-line { display: flex; align-items: end; gap: 8px; margin-bottom: 13px; }
.price { font-size: 1.18rem; font-weight: 900; color: var(--navy); }
.old-price { font-size: .74rem; color: #999; text-decoration: line-through; }
.product-actions { display: flex; gap: 8px; }
.product-actions .btn { flex: 1; min-height: 42px; padding-inline: 12px; font-size: .8rem; }
.quick-view { width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 50%; display: grid; place-items: center; color: var(--navy); }
.stock { color: var(--success); font-size: .75rem; font-weight: 750; }

/* Editorial / campaigns */
.campaign-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.campaign { position: relative; min-height: 360px; overflow: hidden; border-radius: 20px; background: #1e2d3f; color: #fff; }
.campaign > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); }
.campaign::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,18,31,.06), rgba(6,18,31,.82)); }
.campaign-content { position: absolute; z-index: 2; inset: auto 24px 24px; }
.campaign .eyebrow { color: #e7d4ae; }
.campaign h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.75rem; font-weight: 500; margin: 14px 0 9px; }
.campaign p { color: rgba(255,255,255,.78); font-size: .88rem; }
.campaign a { font-weight: 800; font-size: .82rem; }
.quote-panel { display: grid; grid-template-columns: .86fr 1.14fr; gap: 48px; padding: 50px; background: var(--cream); border: 1px solid var(--line); border-radius: 24px; }
.quote-panel h2 { color: var(--navy); margin: 15px 0; }
.quote-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; font-size: .88rem; color: #4e555b; }
.quote-form, .panel-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.brand-chip { min-height: 72px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: #7a7e82; font-family: Georgia, serif; font-size: 1.05rem; }
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.blog-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.blog-cover { aspect-ratio: 1.35; background: #e5dfd5; overflow: hidden; }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); transition: .3s; }
.blog-card:hover .blog-cover img { transform: scale(1.03); filter: saturate(1); }
.blog-body { padding: 19px; }
.blog-body small { color: var(--gold-dark); font-weight: 800; }
.blog-body h3 { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 500; margin: 8px 0; color: var(--navy); }
.blog-body p { color: var(--muted); font-size: .82rem; }
.blog-body a { font-size: .8rem; color: var(--navy); }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .77rem; font-weight: 750; color: #434a50; }
.field input, .field select, .field textarea, .coupon input, .range-row input, .newsletter-form input, .catalog-controls select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--text);
  outline: 0;
}
.field input, .field select { height: 48px; padding: 0 14px; }
.field textarea { min-height: 118px; padding: 13px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .coupon input:focus, .range-row input:focus, .newsletter-form input:focus { border-color: #c3ae84; box-shadow: 0 0 0 4px rgba(183,154,98,.1); }

/* Inner pages */
.page-hero { padding: 44px 0 50px; background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero h1 { color: var(--navy); font-size: clamp(2.5rem, 4vw, 4.4rem); margin: 14px 0 10px; }
.page-hero p { max-width: 700px; color: #656a70; margin-bottom: 0; }
.breadcrumbs { color: #7c7f82; font-size: .76rem; }
.breadcrumbs a:hover { color: var(--navy); }
.catalog-layout { display: grid; grid-template-columns: 255px 1fr; gap: 34px; align-items: start; }
.filter-panel { position: sticky; top: 160px; border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 20px; }
.filter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.filter-head button { border: 0; background: transparent; color: var(--gold-dark); font-size: .75rem; font-weight: 750; }
.filter-group { border-top: 1px solid #eee9e1; padding: 18px 0 4px; }
.filter-group h3 { font-size: .83rem; margin-bottom: 12px; color: var(--navy); }
.check-row { display: flex; gap: 9px; align-items: center; padding: 5px 0; font-size: .79rem; color: #545a60; }
.check-row input { accent-color: var(--navy); }
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.range-row input { height: 42px; padding: 0 10px; min-width: 0; }
.catalog-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.catalog-controls { display: flex; align-items: center; gap: 8px; }
.catalog-controls select { height: 42px; padding: 0 34px 0 12px; }
.view-btn, .page-btn { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); }
.view-btn.active, .page-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.filter-mobile-btn { display: none; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.drawer-backdrop { display: none; position: fixed; inset: 0; z-index: 70; background: rgba(11,22,35,.42); }
.drawer { position: fixed; top: 0; bottom: 0; left: -340px; z-index: 80; width: min(330px, 90vw); background: #fff; padding: 20px; overflow: auto; transition: .25s ease; }
.drawer.open { left: 0; }
.drawer-backdrop.open { display: block; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; margin-top: 28px; align-items: start; }
.gallery-main { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #eeeae3; }
.gallery-main img { width: 100%; aspect-ratio: 1.05; object-fit: cover; }
.thumb-row { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 82px; height: 72px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.thumb.active { border-color: var(--gold); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .76rem; }
.rating { display: flex; align-items: center; gap: 3px; color: var(--gold-dark); margin: 14px 0; }
.detail-title { color: var(--navy); font-size: clamp(2.15rem, 3.7vw, 4rem); margin-bottom: 14px; }
.detail-short { color: #64696e; font-size: 1rem; }
.detail-price { display: flex; align-items: center; gap: 13px; margin: 20px 0; }
.detail-price strong { font-size: 2rem; color: var(--navy); }
.detail-price del { color: #999; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.feature-item { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: #4d545a; }
.feature-item svg { color: var(--success); }
.purchase-box { margin-top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.purchase-row { display: grid; grid-template-columns: 122px 1fr; gap: 10px; }
.quantity { display: grid; grid-template-columns: 38px 1fr 38px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.quantity button { border: 0; background: transparent; color: var(--navy); }
.quantity input { width: 100%; min-width: 0; border: 0; text-align: center; outline: 0; background: transparent; }
.secondary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 9px; }
.trust-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 15px; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1; min-width: 100px; min-height: 42px; border: 1px solid var(--line); border-radius: 12px; color: #60666c; font-size: .7rem; }
.tabs { margin-top: 46px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.tab-buttons { display: flex; overflow: auto; border-bottom: 1px solid var(--line); }
.tab-btn { min-height: 54px; padding: 0 20px; border: 0; background: transparent; color: #676d72; font-weight: 750; white-space: nowrap; }
.tab-btn.active { color: var(--navy); box-shadow: inset 0 -2px var(--gold); }
.tab-content { display: none; padding: 27px; }
.tab-content.active { display: block; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 12px; border-bottom: 1px solid #eee9e1; }
.spec-table td:first-child { width: 32%; font-weight: 750; color: var(--navy); }

/* Cart */
.cart-layout { display: grid; grid-template-columns: 1fr 370px; gap: 30px; align-items: start; }
.cart-list { display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 130px 1fr auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 15px; }
.cart-item > img { width: 130px; height: 110px; object-fit: cover; border-radius: 13px; }
.cart-item h3 { margin-bottom: 5px; font-size: 1rem; }
.cart-item p { color: var(--muted); font-size: .78rem; margin-bottom: 7px; }
.cart-item-right { text-align: right; }
.cart-item-right > strong { display: block; color: var(--navy); margin-bottom: 14px; }
.cart-actions { display: flex; justify-content: flex-end; gap: 8px; }
.cart-actions .quantity { width: 120px; height: 40px; }
.summary-card { position: sticky; top: 160px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.summary-card h2 { font-size: 1.65rem; color: var(--navy); }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; color: #62686d; font-size: .86rem; }
.summary-row.total { margin-top: 10px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--navy); font-size: 1rem; }
.coupon { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 13px 0; }
.coupon input { height: 44px; padding: 0 12px; }
.empty-state { padding: 55px 25px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.empty-state svg { color: var(--gold); }

/* Account / contact */
.account-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.account-nav { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.account-user { padding: 22px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.avatar { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 50%; background: var(--cream); color: var(--navy); font-weight: 900; }
.account-nav button { width: 100%; padding: 13px 18px; border: 0; border-bottom: 1px solid #f1ede7; background: #fff; text-align: left; color: #555c62; }
.account-nav button:hover, .account-nav button.active { background: var(--cream); color: var(--navy); }
.account-panel { display: none; }
.account-panel.active { display: block; }
.dashboard-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 16px; }
.dashboard-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.dashboard-card strong { display: block; margin-top: 7px; color: var(--navy); font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.panel-card h2 { color: var(--navy); font-size: 1.85rem; }
.order-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.order-table th, .order-table td { padding: 12px 10px; border-bottom: 1px solid #eee9e1; text-align: left; }
.order-table th { color: #73787d; font-size: .72rem; }
.status-pill { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #edf3ee; color: #486b57; font-weight: 750; font-size: .7rem; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-card { display: flex; gap: 13px; min-height: 140px; padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.contact-card-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--cream); color: var(--navy); }
.contact-card h3 { margin-bottom: 7px; color: var(--navy); font-size: .95rem; }
.contact-card p { color: var(--muted); font-size: .8rem; }
.map-card { position: relative; min-height: 270px; margin-top: 13px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg, #e7e2d8, #f8f6f1); }
.map-card::before { content: ""; position: absolute; inset: 0; opacity: .48; background-image: linear-gradient(30deg, transparent 45%, #c6bca9 46% 48%, transparent 49%), linear-gradient(110deg, transparent 45%, #d6cdbd 46% 48%, transparent 49%); background-size: 80px 80px, 110px 110px; }
.map-pin-center { position: absolute; inset: 0; display: grid; place-items: center; color: var(--navy); font-weight: 850; }

/* Footer */
.newsletter { padding: 48px 0; background: var(--cream); border-top: 1px solid var(--line); }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.newsletter h2 { margin-bottom: 6px; color: var(--navy); font-size: clamp(1.8rem, 3vw, 2.65rem); }
.newsletter p { margin-bottom: 0; color: var(--muted); }
.newsletter-form { display: grid; grid-template-columns: minmax(250px, 380px) auto; gap: 8px; }
.newsletter-form input { height: 48px; padding: 0 15px; }
.site-footer { background: #0d1f34; color: rgba(255,255,255,.72); padding: 58px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 34px; }
.footer-logo { width: 190px; filter: brightness(0) invert(1); opacity: .94; margin-bottom: 18px; }
.footer-grid p { max-width: 390px; font-size: .8rem; }
.footer-grid h3 { color: #fff; font-size: .87rem; margin-bottom: 15px; }
.footer-grid > div > a { display: block; margin: 8px 0; font-size: .77rem; }
.footer-grid a:hover { color: #fff; }
.footer-contact { display: grid; gap: 10px; font-size: .76rem; }
.footer-contact > div { display: flex; gap: 9px; align-items: flex-start; }
.footer-contact svg { flex: none; color: #d8c08f; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .7rem; }
.payment-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.payment-badge { padding: 5px 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 6px; color: rgba(255,255,255,.82); }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; display: flex; align-items: center; gap: 9px; padding: 13px 17px; border-radius: 14px; background: var(--navy); color: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.22); transform: translateY(20px); opacity: 0; pointer-events: none; transition: .22s; }
.toast.show { transform: translateY(0); opacity: 1; }

/* Responsive */
@media (max-width: 1180px) {
  .header-main { grid-template-columns: 190px 1fr auto; gap: 16px; }
  .logo img { width: 180px; }
  .header-action { min-width: 48px; padding: 10px; }
  .header-action div { display: none; }
  .cart-badge { left: 25px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .footer-grid > div:nth-child(4), .footer-grid > div:nth-child(5) { margin-top: 10px; }
}

@media (max-width: 900px) {
  .topbar-list:first-child span:not(:first-child) { display: none; }
  .topbar-list:last-child a:not(:last-child) { display: none; }
  .header-main { grid-template-columns: 44px 1fr auto; min-height: 72px; }
  .mobile-toggle { display: grid; }
  .logo img { width: 165px; }
  .search-wrap { grid-column: 1 / -1; grid-row: 2; padding-bottom: 14px; }
  .category-nav { display: none; }
  .hero-shell { grid-template-columns: 1fr; }
  .hero-copy { padding: 56px 42px; }
  .hero-visual { min-height: 430px; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .campaign-grid { grid-template-columns: 1fr; }
  .campaign { min-height: 330px; }
  .quote-panel { grid-template-columns: 1fr; padding: 36px; }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-panel { display: none; }
  .filter-mobile-btn { display: inline-flex; }
  .product-detail { grid-template-columns: 1fr; gap: 34px; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { display: flex; overflow-x: auto; }
  .account-user { min-width: 230px; }
  .account-nav button { min-width: 145px; border-right: 1px solid #f1ede7; border-bottom: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .newsletter-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .section { padding: 56px 0; }
  .section-head { align-items: flex-start; flex-direction: column; margin-bottom: 22px; }
  .section-head .btn { min-height: 40px; }
  .topbar { display: none; }
  .header-main { gap: 10px; }
  .logo img { width: 145px; }
  .header-actions { gap: 4px; }
  .header-action { min-width: 42px; border: 0; padding: 8px; }
  .cart-badge { left: 23px; top: 2px; }
  .search-box input { height: 48px; }
  .search-submit { display: none; }
  .hero { padding-top: 12px; }
  .hero-shell { border-radius: 20px; }
  .hero-copy { padding: 44px 25px; }
  .hero-copy h1 { font-size: clamp(2.45rem, 12vw, 3.65rem); }
  .hero-copy p { font-size: .94rem; }
  .hero-visual { min-height: 340px; }
  .hero-card { left: 14px; right: 14px; bottom: 14px; max-width: none; }
  .benefits { grid-template-columns: 1fr; }
  .benefit { padding: 14px; }
  .category-grid { display: flex; overflow-x: auto; gap: 12px; padding-bottom: 5px; scroll-snap-type: x mandatory; }
  .category-card { min-width: 210px; scroll-snap-align: start; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-card { border-radius: 15px; }
  .product-body { padding: 13px; }
  .product-title { min-height: 44px; font-size: .86rem; }
  .product-short { display: none; }
  .product-media img { aspect-ratio: 1.03; }
  .product-actions .quick-view { display: none; }
  .product-actions .btn { font-size: .72rem; min-height: 39px; }
  .price { font-size: 1rem; }
  .old-price { display: none; }
  .product-badge { left: 8px; top: 8px; font-size: .58rem; padding: 5px 7px; }
  .favorite-btn { right: 8px; top: 8px; width: 33px; height: 33px; }
  .quote-panel { padding: 25px; border-radius: 19px; }
  .quote-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 34px 0 38px; }
  .catalog-top { align-items: flex-start; flex-direction: column; }
  .catalog-controls { width: 100%; overflow-x: auto; }
  .catalog-controls select { flex: 1; min-width: 170px; }
  .feature-list { grid-template-columns: 1fr; }
  .purchase-row { grid-template-columns: 1fr; }
  .purchase-row .quantity { width: 125px; min-height: 43px; }
  .secondary-actions { grid-template-columns: 1fr; }
  .tab-content { padding: 20px; }
  .cart-item { grid-template-columns: 90px 1fr; gap: 12px; }
  .cart-item > img { width: 90px; height: 90px; }
  .cart-item-right { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .cart-item-right > strong { margin-bottom: 0; }
  .dashboard-cards { grid-template-columns: 1fr 1fr; }
  .order-table { display: block; overflow-x: auto; white-space: nowrap; }
  .contact-cards { grid-template-columns: 1fr; }
  .newsletter-form { width: 100%; grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .toast { left: 12px; right: 12px; bottom: 12px; }
}

@media (max-width: 380px) {
  .logo img { width: 125px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-short { display: block; min-height: 0; }
}

.product-actions{margin-top:12px}
