/* Buy Market Live - main stylesheet
   Colors and fonts are set here and used across the site. */
:root {
  --ink: #0E1330;
  --ink-2: #3D4466;
  --muted: #6B7290;
  --cobalt: #2B45E0;
  --cobalt-dark: #1C2FA8;
  --cobalt-soft: #E8ECFF;
  --lime: #C6F24E;
  --lime-dark: #A9D62E;
  --coral: #FF6B57;
  --bg: #F4F5FA;
  --paper: #FFFFFF;
  --line: #E1E4EF;
  --night: #0B1028;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(14, 19, 48, 0.08);
  --head: "Space Grotesk", Arial, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-decoration: none; }
a:hover { color: var(--cobalt-dark); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 5vw, 54px); letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.01em; }
h3 { font-size: 19px; }
p { margin: 0 0 14px; }
svg { width: 22px; height: 22px; flex-shrink: 0; }
.hidden { display: none !important; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.small { font-size: 14px; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--head); font-weight: 600; font-size: 16px; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-dark); color: var(--ink); }
.btn-block { width: 100%; margin-top: 10px; }
.text-link { font-weight: 700; font-family: var(--head); }
.text-link::after { content: " \2192"; }

.eyebrow {
  display: inline-block; font-family: var(--head); font-weight: 600; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 8px;
}
.eyebrow.light { color: var(--lime); }

/* Live dot */
.live-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--coral); box-shadow: 0 0 0 0 rgba(255, 107, 87, .6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 87, .6); }
  70% { box-shadow: 0 0 0 9px rgba(255, 107, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 87, 0); }
}

/* Top bar and header */
.topbar { background: var(--night); color: #C9CEE6; font-size: 14px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar a { color: #fff; }
.topbar-contact span { opacity: .4; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: 24px; height: 78px; }
.logo img { width: 230px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 8px 16px; border-radius: 999px; color: var(--ink);
  font-family: var(--head); font-weight: 500;
}
.main-nav a:hover { background: var(--cobalt-soft); }
.main-nav a.active { background: var(--ink); color: #fff; }
.cart-link {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; background: var(--lime); color: var(--ink);
}
.cart-link:hover { color: var(--ink); background: var(--lime-dark); }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--cobalt); color: #fff; font-size: 12px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid #fff;
}
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.section-head.center { justify-content: center; text-align: center; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--cobalt-soft), var(--paper)); padding: 70px 0 80px; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.live-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--ink);
}
.hl { color: var(--cobalt); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px; background: var(--lime); z-index: -1; border-radius: 4px; }
.hero h1 { position: relative; z-index: 1; margin: 18px 0; }
.lead { font-size: 18px; max-width: 540px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 34px; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 520px; }
.hero-stats li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.hero-stats strong { display: block; font-family: var(--head); font-size: 28px; color: var(--ink); line-height: 1.1; }
.hero-stats span { font-size: 14px; color: var(--muted); }
.hero-media { position: relative; }
.hero-media img { border-radius: 28px; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; box-shadow: 18px 18px 0 var(--cobalt); }
.live-badge {
  position: absolute; top: 20px; left: 20px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; font-family: var(--head); font-weight: 700; letter-spacing: .1em;
  padding: 8px 14px; border-radius: 999px; font-size: 13px;
}
.hero-note {
  position: absolute; left: -24px; bottom: 36px; display: flex; align-items: center; gap: 12px;
  background: var(--paper); border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: var(--shadow);
}
.hero-note > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.hero-note p { margin: 0; font-size: 14px; line-height: 1.35; }
.hero-note strong { display: block; color: var(--ink); font-family: var(--head); }

/* Perks */
.perks { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.perk { display: flex; gap: 14px; align-items: center; padding: 26px 20px; border-right: 1px solid var(--line); }
.perk:last-child { border-right: 0; }
.perk-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--cobalt-soft); color: var(--cobalt); flex-shrink: 0; }
.perk h3 { font-size: 16px; margin: 0 0 2px; }
.perk p { margin: 0; font-size: 14px; color: var(--muted); }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-tile { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.cat-img { position: relative; display: block; }
.cat-img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.cat-num { position: absolute; top: 12px; left: 12px; background: var(--lime); color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.cat-text { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; }
.cat-text strong { font-family: var(--head); font-size: 17px; }
.cat-text small { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product-img { display: block; background: #fff; padding: 18px; border-bottom: 1px solid var(--line); }
.product-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.product-cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt); margin: 0 0 6px; }
.product-body h3 { font-size: 16px; font-weight: 600; margin: 0 0 14px; min-height: 2.5em; }
.product-body h3 a { color: var(--ink); }
.product-body h3 a:hover { color: var(--cobalt); }
.product-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price { font-family: var(--head); font-weight: 700; font-size: 20px; color: var(--ink); }
.add-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px;
  border: 0; background: var(--ink); color: #fff; font-family: var(--head); font-weight: 600; font-size: 14px; cursor: pointer;
  transition: background .2s;
}
.add-btn svg { width: 18px; height: 18px; }
.add-btn:hover { background: var(--cobalt); }
.add-btn.added { background: var(--lime); color: var(--ink); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink); font-weight: 500; }
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--lime); color: var(--ink); font-size: 13px; font-weight: 700; display: grid; place-items: center;
}

/* Steps */
.steps-band { background: var(--night); }
.steps-band h2 { color: #fff; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 28px 24px; }
.step-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--lime); color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 18px; margin-bottom: 18px; }
.step h3 { color: #fff; }
.step p { color: #B7BDD9; margin: 0; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { margin: 0; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.testi-card::before { content: "\201C"; position: absolute; top: 6px; right: 22px; font-family: Georgia, serif; font-size: 80px; color: var(--cobalt-soft); line-height: 1; }
.stars { color: #F5A524; letter-spacing: 2px; margin-bottom: 12px; }
.testi-card blockquote { margin: 0 0 22px; color: var(--ink); font-size: 16px; }
.testi-card figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.testi-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.testi-card strong { display: block; color: var(--ink); font-family: var(--head); }
.testi-card small { color: var(--muted); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.blog-img { position: relative; display: block; }
.blog-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tag { position: absolute; top: 14px; left: 14px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; }
.tag.static { position: static; display: inline-block; background: var(--cobalt-soft); color: var(--cobalt); margin-bottom: 14px; }
.blog-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.blog-body h3 a { color: var(--ink); }
.blog-body h3 a:hover { color: var(--cobalt); }
.blog-body .text-link { margin-top: auto; }

/* Newsletter */
.newsletter { background: var(--cobalt); padding: 70px 0; }
.news-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.news-img img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.news-text h2 { color: #fff; }
.news-text p { color: #DDE3FF; }
.news-form { display: flex; gap: 10px; margin-top: 20px; }
.news-form input { flex: 1; min-width: 0; padding: 14px 20px; border-radius: 999px; border: 2px solid transparent; font: inherit; }
.news-form input:focus { outline: none; border-color: var(--lime); }
.newsletter .form-note { color: var(--lime); font-weight: 700; margin-top: 14px; }

/* Page banners */
.page-banner { background: var(--bg); padding: 60px 0; border-bottom: 1px solid var(--line); text-align: center; }
.page-banner p { max-width: 640px; margin: 0 auto; }
.page-banner h1 { margin: 10px 0 12px; font-size: clamp(30px, 4vw, 46px); }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--ink-2); }
.cat-banner { background: var(--cobalt-soft); padding: 40px 0; }
.cat-banner-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.cat-banner img { border-radius: var(--radius); width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.cat-banner h1 { margin: 8px 0 10px; font-size: clamp(30px, 4vw, 46px); }

/* Chips */
.chip-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-weight: 500; font-size: 15px; }
.chip:hover { border-color: var(--cobalt); color: var(--cobalt); }
.chip.active { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.shop-group { margin-bottom: 56px; }
.shop-group:last-child { margin-bottom: 0; }
.group-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 24px; }
.group-head h2 { font-size: 26px; margin: 0; }

/* Product detail */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pd-img { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.pd-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.pd-info .product-cat { display: inline-block; }
.pd-info h2 { font-size: clamp(26px, 3vw, 36px); }
.pd-price { font-family: var(--head); font-size: 30px; font-weight: 700; color: var(--cobalt); }
.pd-buy { display: flex; align-items: center; gap: 12px; margin: 24px 0; flex-wrap: wrap; }
.pd-buy label { font-weight: 700; color: var(--ink); }
.pd-buy input { width: 80px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; }
.pd-perks { list-style: none; padding: 20px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.pd-perks li { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.pd-perks svg { color: var(--cobalt); }
.notice { text-align: center; font-size: 18px; }

/* Cart and checkout */
.empty-box { text-align: center; max-width: 520px; margin: 0 auto; background: var(--bg); border-radius: var(--radius); padding: 50px 30px; }
.empty-icon { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--lime); color: var(--ink); margin-bottom: 16px; }
.empty-icon svg { width: 32px; height: 32px; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.cart-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.cart-table th { text-align: left; background: var(--bg); padding: 14px 16px; font-family: var(--head); color: var(--ink); font-size: 14px; }
.cart-table td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.cart-table img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.cart-table .name { color: var(--ink); font-weight: 600; }
.cart-table input { width: 64px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.remove-btn { background: none; border: 0; color: var(--coral); font-weight: 700; cursor: pointer; font: inherit; }
.summary { background: var(--bg); border-radius: var(--radius); padding: 26px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary-line.total { font-family: var(--head); font-weight: 700; font-size: 20px; color: var(--ink); border-bottom: 0; }
.radio { display: flex; gap: 8px; align-items: center; margin: 10px 0; font-size: 15px; }

/* Forms */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form-card label { display: block; font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 16px; }
.form-card input, .form-card textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font: inherit; background: var(--bg);
}
.form-card input:focus, .form-card textarea:focus { outline: 2px solid var(--cobalt); border-color: transparent; background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.three { grid-template-columns: repeat(3, 1fr); }
.form-note { color: var(--cobalt); font-weight: 700; margin-top: 14px; }
.center-card { text-align: center; }
.center-card .news-form input { border: 1px solid var(--line); background: var(--bg); margin: 0; }
.center-card .news-form { margin-top: 20px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 24px; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-list li { display: flex; gap: 14px; background: var(--bg); border-radius: var(--radius-sm); padding: 18px; }
.info-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--cobalt); color: #fff; flex-shrink: 0; }
.info-list h3 { font-size: 16px; margin: 0 0 4px; }
.info-list p { margin: 0; font-size: 14px; word-break: break-word; }

/* About values */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: var(--paper); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.value-num { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 34px; color: var(--cobalt); margin-bottom: 10px; }

/* Article */
.article-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.article-img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 24px; }
.article-lead { font-size: 19px; color: var(--ink); }
.article h2 { font-size: 24px; margin-top: 30px; }
.article .btn { margin-top: 20px; }
.sidebar { display: grid; gap: 24px; position: sticky; top: 100px; }
.side-box { background: var(--bg); border-radius: var(--radius); padding: 24px; }
.side-posts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.side-posts a { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.35; }
.side-posts img { width: 84px; height: 64px; object-fit: cover; border-radius: 10px; }
.side-cta { background: var(--night); }
.side-cta h3 { color: #fff; }
.side-cta p { color: #B7BDD9; }
.legal h2 { font-size: 22px; margin-top: 30px; }
.legal h2:first-child { margin-top: 0; }

/* Footer */
.site-footer { background: var(--night); color: #B7BDD9; padding: 64px 0 0; }
.foot-brand { display: grid; grid-template-columns: auto 1fr; gap: 10px 40px; align-items: center; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.foot-brand img { width: 230px; }
.foot-brand > p { margin: 0; }
.foot-contact { grid-column: 1 / -1; list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 14px 32px; }
.foot-contact li { display: flex; align-items: center; gap: 10px; }
.foot-contact svg { color: var(--lime); width: 20px; height: 20px; }
.foot-contact a, .site-footer a { color: #DDE1F5; }
.site-footer a:hover { color: var(--lime); }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 40px 0; }
.foot-col h4 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: 14px; }
.foot-bottom p { margin: 0; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); z-index: 100;
  background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; box-shadow: var(--shadow);
  transition: transform .3s, opacity .3s; max-width: calc(100% - 32px); font-size: 15px;
  opacity: 0; visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast a { color: var(--lime); font-weight: 700; margin-left: 6px; }

/* Responsive */
@media (max-width: 1024px) {
  .cat-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(2) { border-right: 0; }
  .perk:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-layout, .checkout-layout, .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 12px 20px 20px; }
  .header-in { position: relative; gap: 12px; }
  .cart-link { order: 2; }
  .menu-btn { order: 3; margin-left: 0; }
  .logo { margin-right: auto; }
  .hero-in, .split, .news-in, .pd, .contact-layout, .cat-banner-in { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { max-width: 520px; }
  .hero-note { left: 12px; }
  .cat-grid, .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .testi-grid, .blog-grid, .value-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-brand { grid-template-columns: 1fr; }
  .topbar .topbar-contact { display: none; }
  .topbar-in { justify-content: center; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .logo img { width: 180px; }
  .cat-grid, .product-grid, .product-grid.cols-3 { gap: 14px; }
  .product-img { padding: 10px; }
  .product-body { padding: 12px; }
  .product-foot { flex-direction: column; align-items: stretch; }
  .add-btn { justify-content: center; }
  .cat-text { padding: 12px; }
  .perks-grid, .steps-grid, .info-list, .form-row, .form-row.three { grid-template-columns: 1fr; }
  .perk { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .perk:last-child { border-bottom: 0; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero-stats li { padding: 10px; }
  .hero-stats strong { font-size: 22px; }
  .hero-media img { box-shadow: 10px 10px 0 var(--cobalt); }
  .news-form { flex-direction: column; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head.center { align-items: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .group-head { flex-direction: column; align-items: flex-start; gap: 4px; }
}
