﻿/* WinX CCTV BD PDP — spacious boutique layout (WordPress-style, not compact) */
:root {
  --ink: #0b1220;
  --paper: #fafaf8;
  --muted: #6d7175;
  --line: #e8e8e8;
  --accent: #0e4c92;
  --accent-deep: #08356b;
  --ok: #16a34a;
  --danger: #b42318;
  --soft: #faf7f4;
  --radius: 14px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", Times, serif;
  --mono: ui-monospace, "SF Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-deep); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.96);
  position: sticky; top: 0; z-index: 40;
}
.site-header .bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 64px;
  gap: 12px;
}
.logo {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  line-height: 0;
}
.logo img {
  height: 28px;
  width: auto;
  display: block;
}
.tag {
  grid-column: 3;
  justify-self: end;
  margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff; background: var(--accent);
  padding: 6px 12px; border-radius: 999px;
}

/* PDP grid — spacious two column */
.pdp { padding-bottom: 12px; }
.pdp-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
  padding: 28px 0 36px;
}

@media (max-width: 900px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 28px; }
  .wrap { width: min(100% - 28px, var(--wrap)); }
}

/* Gallery */
.gallery-frame {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1;
}
.gallery-frame img {
  width: 100%; height: 100%; object-fit: cover;
}

.thumbs {
  display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap;
}
.thumb {
  width: 88px; height: 88px; padding: 0; border-radius: 12px;
  border: 2px solid var(--line); background: #fff; cursor: pointer;
  overflow: hidden; transition: border-color 0.15s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb:focus-visible { border-color: var(--ink); outline: none; }
.thumb.on { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(242,106,27,0.2); }

@media (min-width: 901px) {
  .thumb { width: 96px; height: 96px; }
}

/* Summary column — airy */
.summary-col { padding-top: 4px; }

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}

.summary-col h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4vw, 2.45rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.price {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
}

.pdp-short {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 42ch;
}

/* Free delivery bar */
.ship-strip { margin: 0 0 28px; }
.ship-bar {
  height: 10px; background: #ebe8e3; border-radius: 999px; overflow: hidden;
  margin-bottom: 10px;
}
.ship-bar span {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  box-shadow: 0 0 10px rgba(34,197,94,0.35);
  transition: width 0.4s ease;
}
.ship-strip .muted { margin: 0; font-size: 0.92rem; color: #3a3530; font-weight: 600; }

/* Product options (GOLD / SILVER / combo) */
.options-block { margin: 0 0 22px; }
.options-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.options-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.opt-pill {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: 999px;
  border: 1.5px solid #1a3a4a;
  background: #fff;
  color: #1a3a4a;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
  flex: 0 0 auto;
}
.opt-pill:hover { background: #f3f7f9; }
.opt-pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.opt-pill.on {
  background: #14303e;
  border-color: #14303e;
  color: #fff;
}
@media (min-width: 520px) {
  .opt-pill { font-size: 0.88rem; padding: 12px 18px; }
}

/* Quantity + order button on one row */
.buy-qty-row {
  margin: 0 0 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  width: 100%;
}
.buy-qty { margin: 0; flex: 0 0 auto; }
.buy-qty label {
  display: block; margin-bottom: 8px; font-size: 0.95rem; font-weight: 600;
}
.buy-cta {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 52px;
  margin-left: 8px;
}
@media (max-width: 480px) {
  .buy-qty-row { gap: 8px; }
  .qty {
    grid-template-columns: 42px 52px 42px;
    gap: 4px;
  }
  .qty input, .qty-btn { min-height: 46px; height: 46px; }
  .buy-cta {
    margin-left: 0;
    min-height: 50px;
    font-size: 0.95rem;
    padding-left: 8px;
    padding-right: 8px;
  }
}
.qty {
  display: inline-grid;
  grid-template-columns: 48px 64px 48px;
  gap: 8px; align-items: center;
}
.qty input {
  width: 100%; height: 48px; text-align: center;
  border: 1px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 1.05rem; background: #fff;
  -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn {
  height: 48px; width: 48px;
  border: 1px solid var(--line); background: #fff; border-radius: 12px;
  font-size: 1.25rem; cursor: pointer; color: var(--ink);
}
.qty-btn:hover { border-color: var(--ink); background: var(--soft); }
.qty-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* CTAs */
.buy-actions { display: grid; gap: 10px; margin: 0 0 28px; max-width: 420px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 14px 22px;
  border-radius: 12px; font-weight: 700; font-size: 1.02rem;
  border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }

.btn-outline {
  background: #fff; color: var(--accent); border-color: var(--accent);
}
.btn-outline:hover { background: #fff5ef; color: var(--accent-deep); }

.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }

/* Trust badges — slim soft cards */
.cat-line { margin: 0; }
.cat-line span { color: var(--ink); font-weight: 600; }

/* ── Homepage catalog ── */
.home-hero {
  padding: 36px 0 8px;
}
.home-hero h1 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  line-height: 1.2;
  font-weight: 600;
}
.home-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40ch;
}

.catalog { padding: 20px 0 12px; }
.catalog-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 18px; flex-wrap: wrap;
}
.catalog-head h2 {
  margin: 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
}
.catalog-head .muted { margin: 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 520px) {
  .product-grid { grid-template-columns: 1fr; }
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pc-media {
  display: block;
  aspect-ratio: 1;
  background: var(--soft);
  overflow: hidden;
}
.pc-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.25s ease;
}
.pc-media:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .pc-media:hover img { transform: none; }
}
.pc-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.pc-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}
.pc-title a { color: var(--ink); }
.pc-title a:hover { color: var(--accent-deep); }
.pc-price {
  margin: 0;
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-deep);
}
.pc-desc {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
  flex: 1;
}
.pc-cta {
  min-height: 44px;
  font-size: 0.95rem;
  margin-top: 4px;
}
.empty-msg { padding: 24px 0 8px; }
.empty-msg a { color: var(--accent-deep); text-decoration: underline; }

.home-trust-wrap { padding-bottom: 28px; }

.back-link {
  margin: 0 0 8px;
  font-size: 0.92rem;
}
.back-link a { color: var(--muted); }
.back-link a:hover { color: var(--ink); }

/* Description */
.desc-section { padding: 8px 0 28px; }
.desc-box {
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
  padding: 0;
}
.desc-box summary {
  list-style: none; cursor: pointer;
  padding: 22px 24px; font-size: 1.15rem; font-weight: 700;
  font-family: var(--serif);
}
.desc-box summary::-webkit-details-marker { display: none; }
.desc-box summary::after {
  content: "⌄"; float: right; font-weight: 400; color: var(--muted);
}
.desc-box[open] summary::after { content: "⌃"; }
.desc-full {
  padding: 0 24px 28px;
  color: var(--ink); font-size: 1rem; line-height: 1.7;
  max-width: 72ch;
}
.desc-full p { margin: 0 0 1em; }
.desc-full h3 {
  margin: 1.4em 0 0.55em;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.desc-full h3:first-child { margin-top: 0.2em; }
.desc-full ul {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
}
.desc-full li {
  margin-bottom: 0.4em;
  line-height: 1.55;
}
.desc-full li::marker { color: var(--accent); }
.desc-full strong { font-weight: 700; }

.attr-block {
  padding: 0 24px 28px;
  max-width: 72ch;
}
.attr-title {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}
.attr-list {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 14px 28px;
  font-size: 1rem;
}
.attr-list dt {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
}
.attr-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.45;
}
.attr-block {
  padding: 8px 24px 28px;
  max-width: 900px;
}

/* How it works */
/* ── How to order (modern) ── */
.howto {
  padding: 36px 0 8px;
}
.howto-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 28px;
}
.howto-eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.howto-head h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.howto-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}
.howto-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: none;
}
.howto-step {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  border: 1px solid #e4ebf3;
  border-radius: 18px;
  padding: 22px 20px 20px;
  box-shadow: 0 1px 2px rgba(15, 40, 80, 0.04), 0 10px 28px rgba(15, 40, 80, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.howto-step:hover {
  transform: translateY(-2px);
  border-color: #c9d8ea;
  box-shadow: 0 1px 2px rgba(15, 40, 80, 0.04), 0 16px 36px rgba(15, 40, 80, 0.08);
}
.howto-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.howto-num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(14, 76, 146, 0.22);
}
.howto-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(14, 76, 146, 0.08);
  color: var(--accent);
}
.howto-step h3 {
  margin: 0 0 6px;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.howto-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
@media (max-width: 820px) {
  .howto-steps { grid-template-columns: 1fr; }
  .howto { padding-top: 28px; }
}



/* Product page: center logo/icon in each benefit + perk card */
article .benefit {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
article .benefit-icon {
  margin-inline: auto;
}
article .benefit strong,
article .benefit span {
  text-align: center;
}
article .perks li {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
article .perk-icon {
  margin-inline: auto;
}
article .perks strong,
article .perks span {
  text-align: center;
}
@media (min-width: 901px) {
  article .benefit {
    padding: 18px 12px;
  }
  article .benefit strong {
    font-size: 0.95rem;
  }
  article .benefit span {
    font-size: 0.82rem;
  }
  article .perks li {
    padding: 10px 8px;
  }
  article .perks strong {
    font-size: 0.88rem;
  }
  article .perks span {
    font-size: 0.78rem;
  }
}

/* ── Benefits & perks (parallel + centered icons) ── */
.benefits {
  padding: 22px 0 28px;
}
.benefits-grid,
article .benefits-grid {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
article .benefits-grid {
  margin-top: 14px;
  gap: 10px;
}
.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 16px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e6edf5;
  box-shadow: 0 1px 2px rgba(15, 40, 80, 0.03);
}
.benefit-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-inline: auto;
}
.benefit-cod .benefit-icon,
.benefit-ship .benefit-icon,
.benefit-auth .benefit-icon {
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 16px rgba(14, 76, 146, 0.22);
}
.benefit-cod .benefit-icon { background: linear-gradient(145deg, #0e4c92 0%, #08356b 100%); }
.benefit-ship .benefit-icon { background: linear-gradient(145deg, #1565c0 0%, #0e4c92 100%); }
.benefit-auth .benefit-icon { background: linear-gradient(145deg, #1a7a4c 0%, #0f5c38 100%); }
.benefit strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-align: center;
}
.benefit span:not(.benefit-icon) {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
  line-height: 1.35;
}
article .benefit {
  padding: 14px 10px;
  gap: 8px;
}
article .benefit-icon {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}
article .benefit strong {
  font-size: 0.88rem;
}
article .benefit span:not(.benefit-icon) {
  font-size: 0.78rem;
}

.perks,
article .perks {
  list-style: none;
  margin: 0;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  background: linear-gradient(135deg, #0b2a52 0%, #0e4c92 55%, #1565c0 100%);
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 12px 28px rgba(11, 42, 82, 0.18);
}
article .perks {
  margin-top: 12px;
  padding: 12px;
  gap: 8px;
}
.perks li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 8px 6px;
}
.perk-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  margin-inline: auto;
}
.perks strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-align: center;
  max-width: 22ch;
  text-wrap: balance;
}
.perks span:not(.perk-icon) {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  opacity: 0.82;
  font-weight: 500;
  text-align: center;
  line-height: 1.35;
}
article .perks li {
  padding: 4px;
}
article .perks strong {
  font-size: 0.8rem;
  max-width: 22ch;
}
article .perks span:not(.perk-icon) {
  font-size: 0.72rem;
}
.nowrap {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .benefits-grid,
  article .benefits-grid {
    gap: 8px;
  }
  .benefit,
  article .benefit {
    padding: 12px 6px;
    gap: 8px;
  }
  .benefit-icon,
  article .benefit-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 10px;
  }
  .benefit strong,
  article .benefit strong {
    font-size: 0.75rem;
    line-height: 1.25;
  }
  .benefit span:not(.benefit-icon),
  article .benefit span:not(.benefit-icon) {
    font-size: 0.68rem;
    line-height: 1.25;
  }
  .perks,
  article .perks {
    gap: 6px;
    padding: 10px 8px;
  }
  .perks li,
  article .perks li {
    padding: 4px 2px;
    gap: 6px;
  }
  .perk-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
  .perks strong,
  article .perks strong {
    font-size: 0.72rem;
    line-height: 1.3;
    max-width: none;
  }
  .perks span:not(.perk-icon),
  article .perks span:not(.perk-icon) {
    font-size: 0.62rem;
    line-height: 1.25;
  }
}


.benefits {
  padding: 22px 0 28px;
}
.benefits-grid {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e6edf5;
  box-shadow: 0 1px 2px rgba(15, 40, 80, 0.03);
}
.benefit-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.benefit-cod .benefit-icon { background: rgba(14, 76, 146, 0.1); color: var(--accent); }
.benefit-ship .benefit-icon { background: rgba(14, 76, 146, 0.1); color: var(--accent); }
.benefit-auth .benefit-icon { background: rgba(22, 163, 74, 0.12); color: var(--ok); }
.benefit strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.benefit span {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}
@media (max-width: 820px) {
  .benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .benefit {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 8px;
    gap: 10px;
  }
  .benefit strong { font-size: 0.82rem; }
  .benefit span { font-size: 0.72rem; }
}

.perks {
  list-style: none;
  margin: 0;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: linear-gradient(135deg, #0b2a52 0%, #0e4c92 55%, #1565c0 100%);
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 12px 28px rgba(11, 42, 82, 0.18);
}
.perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 6px;
}
.perk-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.perks strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.perks span {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  opacity: 0.82;
  font-weight: 500;
}
@media (max-width: 820px) {
  .perks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 12px 8px;
  }
  .perks li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 6px 2px;
  }
  .perks strong { font-size: 0.72rem; line-height: 1.3; }
  .perks span { font-size: 0.65rem; line-height: 1.3; }
}
.cat-line { margin: 0; }
.cat-line span { color: var(--ink); font-weight: 600; }

/* ── Homepage catalog ── */
.home-hero {
  padding: 36px 0 8px;
}
.home-hero h1 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  line-height: 1.2;
  font-weight: 600;
}
.home-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40ch;
}

.catalog { padding: 20px 0 12px; }
.catalog-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 18px; flex-wrap: wrap;
}
.catalog-head h2 {
  margin: 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
}
.catalog-head .muted { margin: 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 520px) {
  .product-grid { grid-template-columns: 1fr; }
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pc-media {
  display: block;
  aspect-ratio: 1;
  background: var(--soft);
  overflow: hidden;
}
.pc-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.25s ease;
}
.pc-media:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .pc-media:hover img { transform: none; }
}
.pc-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.pc-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}
.pc-title a { color: var(--ink); }
.pc-title a:hover { color: var(--accent-deep); }
.pc-price {
  margin: 0;
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-deep);
}
.pc-desc {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
  flex: 1;
}
.pc-cta {
  min-height: 44px;
  font-size: 0.95rem;
  margin-top: 4px;
}
.empty-msg { padding: 24px 0 8px; }
.empty-msg a { color: var(--accent-deep); text-decoration: underline; }

.home-trust-wrap { padding-bottom: 28px; }

.back-link {
  margin: 0 0 8px;
  font-size: 0.92rem;
}
.back-link a { color: var(--muted); }
.back-link a:hover { color: var(--ink); }

/* Description */
.desc-section { padding: 8px 0 28px; }
.desc-box {
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
  padding: 0;
}
.desc-box summary {
  list-style: none; cursor: pointer;
  padding: 22px 24px; font-size: 1.15rem; font-weight: 700;
  font-family: var(--serif);
}
.desc-box summary::-webkit-details-marker { display: none; }
.desc-box summary::after {
  content: "⌄"; float: right; font-weight: 400; color: var(--muted);
}
.desc-box[open] summary::after { content: "⌃"; }
.desc-full {
  padding: 0 24px 28px;
  color: var(--ink); font-size: 1rem; line-height: 1.7;
  max-width: 72ch;
}
.desc-full p { margin: 0 0 1em; }
.desc-full h3 {
  margin: 1.4em 0 0.55em;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.desc-full h3:first-child { margin-top: 0.2em; }
.desc-full ul {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
}
.desc-full li {
  margin-bottom: 0.4em;
  line-height: 1.55;
}
.desc-full li::marker { color: var(--accent); }
.desc-full strong { font-weight: 700; }

.attr-block {
  padding: 0 24px 28px;
  max-width: 72ch;
}
.attr-title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
}
.attr-list {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) 1fr;
  gap: 10px 16px;
  font-size: 0.98rem;
}
.attr-list dt {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}
.attr-list dd {
  margin: 0;
  color: var(--ink);
}

/* How it works */
/* Order form — roomy card */
.order { padding: 12px 0 56px; }
.muted { color: var(--muted); font-size: 0.95rem; margin: 0 0 16px; }
.small { font-size: 0.88rem; }
.req { color: var(--danger); font-weight: 700; }

.order-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px 36px;
  max-width: 560px;
  box-shadow: 0 2px 0 rgba(20,20,20,0.02);
}
@media (max-width: 520px) {
  .order-card { padding: 24px 18px 28px; }
}
.order-card h2 {
  margin: 0 0 6px;
  font-family: var(--serif); font-size: 1.55rem; font-weight: 600;
}

form { margin-top: 20px; display: grid; gap: 18px; }

.hp {
  position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden;
}

.field { display: grid; gap: 8px; }
.field label { font-size: 0.95rem; font-weight: 600; }
.field input,
.field textarea,
.field select {
  width: 100%; min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #d2d5d9; border-radius: 14px;
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236d7175' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(242,106,27,0.18);
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa0a6; }

.summary {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: grid; gap: 10px;
  font-size: 1rem;
}
.summary .row {
  display: flex; justify-content: space-between; gap: 16px;
}
.summary .row span { color: var(--muted); }
.summary .row strong { font-weight: 600; text-align: right; }
.summary .total {
  font-size: 1.15rem; padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.summary .total strong {
  font-family: var(--mono); color: var(--accent-deep); font-size: 1.2rem;
}

.form-msg { margin: 0; font-size: 0.95rem; color: var(--danger); }
.form-msg.ok { color: var(--ok); }
.turnstile { min-height: 0; }

/* Confirmation */
.confirm {
  margin-top: 8px;
  padding: 8px 0 4px;
}
.confirm[hidden] { display: none; }
.confirm-card {
  text-align: center;
  background: linear-gradient(180deg, #f7fbf8 0%, #ffffff 48%);
  border: 1px solid #d5ebdd;
  border-radius: 20px;
  padding: 36px 22px 32px;
}
.ok-icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: 50%;
  background: #e6f6ec;
  color: var(--ok);
  display: grid; place-items: center;
  box-shadow: 0 0 0 8px rgba(22, 163, 74, 0.08);
}
.confirm-eyebrow {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ok);
}
.confirm h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.25;
}
.confirm-sub {
  margin: 0 0 6px;
  font-size: 0.92rem;
  color: var(--muted);
}
.order-num {
  font-family: var(--mono);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 18px;
  color: var(--ink);
  background: #fff;
  border: 1px dashed #c5d9cc;
  border-radius: 12px;
  padding: 12px 16px;
  display: inline-block;
}
.confirm-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 auto 16px;
  max-width: 360px;
}
.confirm-box .muted {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}
.confirm-note {
  margin: 0 auto;
  max-width: 36ch;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Footer — dark boutique */
.site-footer.ham-footer {
  border-top: none;
  background: #1a120e;
  color: #f5f0eb;
  text-align: left;
  padding: 0;
  font-size: 0.95rem;
}
.ham-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
  padding: 48px 0 36px;
}
@media (max-width: 800px) {
  .ham-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0 28px;
  }
}
.ham-f-title {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.ham-f-title::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--accent);
}
.ham-f-links {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.ham-f-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f5f0eb;
  text-decoration: none;
  font-size: 1rem;
}
.ham-f-links a:hover { color: var(--accent); }
.ham-f-ico {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--accent);
}
.ham-f-svc { display: grid; gap: 18px; margin-top: 18px; }
.ham-f-svc-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ham-f-svc-ico {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #3a2820;
  display: grid;
  place-items: center;
  color: #f0e6dc;
}
.ham-f-svc-ico svg { width: 20px; height: 20px; }
.ham-f-svc-row strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}
.ham-f-svc-row a,
.ham-f-svc-row span {
  color: #c9beb4;
  text-decoration: none;
  font-size: 0.95rem;
}
.ham-f-svc-row a:hover { color: var(--accent); }
.ham-f-note {
  margin: 20px 0 0;
  color: #9a8f86;
  font-size: 0.92rem;
}
.ham-f-payline {
  margin: 16px 0 14px;
  color: #f5f0eb;
  font-size: 1rem;
}
.ham-f-pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ham-f-pay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #2a1e18;
  border: 1px solid #3d2c24;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f5f0eb;
}
.ham-f-pay-mark {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
}
.ham-f-pay-mark.cod { background: #1a120e; border: 1px solid #5a4030; color: #0e4c92; }
.ham-f-pay-mark.bkash { background: #e2136e; }
.ham-f-pay-mark.nagad { background: #f58220; }
.ham-f-pay-mark.rocket { background: #8c3a9e; }
.ham-f-pay-mark.visa { background: #1a1f71; font-size: 0.65rem; letter-spacing: 0.04em; }
.ham-f-pay-mark.mc {
  min-width: 36px;
  background: linear-gradient(90deg, #eb001b 45%, #f79e1b 55%);
}
.ham-f-pay-cards { gap: 6px; }
.ham-f-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: #e8ddd4;
  font-size: 0.92rem;
  font-weight: 600;
}
.ham-f-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ham-f-trust .ham-f-ico { width: 16px; height: 16px; color: var(--accent); }
.ham-f-trust-sep {
  width: 1px;
  height: 16px;
  background: #5a4030;
}
.ham-footer-bottom {
  border-top: 1px solid #2f221c;
  padding: 18px 0 28px;
  text-align: center;
  color: #9a8f86;
  font-size: 0.9rem;
}
.ham-footer-bottom p { margin: 0 0 4px; }
.ham-footer-bottom strong { color: #f5f0eb; }
.ham-f-copy { font-size: 0.82rem; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .ship-bar span, .thumb { transition: none; }
}
