/* ============================================================
   Fédération Nationale de Pêche — stylesheet
   ============================================================ */
:root {
  --navy:      #143a73;
  --navy-d:    #0f2a57;
  --navy-dd:   #0a1f43;
  --blue:      #1f5aa6;
  --blue-ic:   #2f6fbf;
  --blue-soft: #eaf1fb;
  --ink:       #122a4f;
  --muted:     #5d6b84;
  --muted-2:   #8593a9;
  --line:      #e6ebf3;
  --line-2:    #d8e1ee;
  --soft:      #f4f7fc;
  --soft-2:    #eef3fa;
  --white:     #fff;
  --star:      #f5c542;
  --ok:        #1f9d6b;
  --danger:    #d8503f;
  --radius:    14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 42, 79, .06);
  --shadow:    0 12px 30px rgba(16, 42, 79, .10);
  --shadow-lg: 0 24px 60px rgba(16, 42, 79, .18);
  --container: 1200px;
  --header-h:  74px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
input, select, textarea { font-family: inherit; font-size: 15px; }
:focus-visible { outline: 3px solid rgba(47, 111, 191, .45); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.uc { text-transform: uppercase; letter-spacing: .08em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* -------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 14px; letter-spacing: .02em;
  padding: 13px 22px; border-radius: var(--radius-sm);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-d); box-shadow: 0 10px 22px rgba(20, 58, 115, .25); }
.btn-accent { background: var(--blue); color: #fff; }
.btn-accent:hover { background: #1a4f93; }
.btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--blue-ic); color: var(--blue); background: #fbfdff; }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.32); }
.btn-light:hover { background: rgba(255,255,255,.2); }
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 16px 26px; font-size: 15px; }
.btn-spread { justify-content: space-between; }

/* -------------------------------- Header -------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, #173f7c 0%, #11305f 100%);
  color: #fff;
  box-shadow: 0 2px 0 rgba(255,255,255,.05) inset, 0 6px 24px rgba(8, 24, 52, .18);
}
.header-inner { display: flex; align-items: center; gap: 26px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  color: #cfe0f6;
}
.brand-mark svg { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .t1 { font-size: 10px; letter-spacing: .12em; font-weight: 600; color: #b9cdea; text-transform: uppercase; }
.brand-text .t2 { font-size: 18px; font-weight: 800; letter-spacing: .02em; color: #fff; }

.main-nav { display: flex; align-items: center; gap: 28px; margin-left: 8px; }
.nav-link {
  position: relative; color: #e7eefb; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; padding: 6px 0;
  display: inline-flex; align-items: center; gap: 6px; transition: color .15s ease;
}
.nav-link svg { width: 15px; height: 15px; opacity: .85; transition: transform .2s ease; }
.nav-link:hover { color: #fff; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: #7fb0ee; border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: #fff; }

.has-dropdown { position: relative; }
.has-dropdown:hover .nav-link svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; color: var(--ink); border-radius: 14px; padding: 10px; min-width: 280px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease; z-index: 80;
}
.has-dropdown:hover .dropdown, .dropdown:hover { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.dd-item { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: 10px; transition: background .15s ease; }
.dd-item:hover { background: var(--soft); }
.dd-item svg { width: 20px; height: 20px; color: var(--blue-ic); margin-top: 2px; flex: none; }
.dd-item .dd-t { font-weight: 700; font-size: 14px; }
.dd-item .dd-d { font-size: 12.5px; color: var(--muted); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hsep { width: 1px; height: 28px; background: rgba(255,255,255,.18); margin: 0 6px; }
.icon-link {
  display: inline-flex; align-items: center; gap: 9px; color: #eaf1fc; font-size: 13px; font-weight: 600;
  padding: 9px 12px; border-radius: 10px; transition: background .15s ease; text-transform: uppercase; letter-spacing: .04em;
}
.icon-link svg { width: 22px; height: 22px; }
.icon-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.cart-link { position: relative; }
.cart-count {
  position: absolute; top: 2px; left: 26px; min-width: 18px; height: 18px; padding: 0 5px;
  background: #ff7a3d; color: #fff; font-size: 11px; font-weight: 800; border-radius: 999px;
  display: grid; place-items: center; box-shadow: 0 0 0 2px #11305f;
}
.cart-link .cart-label { display: inline; }

.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; color: #fff; padding: 9px 10px; border-radius: 10px; font-weight: 700; font-size: 13px; }
.lang-btn:hover { background: rgba(255,255,255,.1); }
.lang-btn .flag { width: 22px; height: 15px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.lang-btn svg.chev { width: 14px; height: 14px; opacity: .8; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); background: #fff; color: var(--ink);
  border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 6px; min-width: 150px; z-index: 80;
}
.lang-menu[hidden] { display: none; }
.lang-opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.lang-opt:hover { background: var(--soft); }
.lang-opt.active { color: var(--blue); }
.lang-opt .flag { width: 22px; height: 15px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2); }
.flag { display: inline-block; overflow: hidden; border-radius: 3px; flex: none; }
.flag svg { width: 100%; height: 100%; display: block; }
.flag-lg { width: 44px; height: 30px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line-2); }
svg.ic-lg { width: 46px; height: 46px; }

/* Mobile menu toggle */
.hamburger { display: none; color: #fff; padding: 8px; border-radius: 9px; }
.hamburger svg { width: 26px; height: 26px; }
.hamburger:hover { background: rgba(255,255,255,.1); }

/* -------------------------------- Hero -------------------------------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(1200px 500px at -10% -20%, #eef4fc 0%, rgba(238,244,252,0) 55%),
  linear-gradient(180deg, #fff 0%, #fbfcfe 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 40px; align-items: center; padding: 56px 0 64px; }
.hero-left { max-width: 620px; }

.kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.kicker-line { width: 46px; height: 3px; background: var(--navy); border-radius: 3px; }
.kicker-text { font-size: 13px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .1em; }
.hero-title { font-size: clamp(40px, 5.2vw, 62px); line-height: 1.02; color: var(--ink); text-transform: uppercase; letter-spacing: -.015em; max-width: 520px; }
.hero-sub { margin-top: 20px; font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 30ch; line-height: 1.5; }

.choose-label { margin: 30px 0 14px; font-size: 13px; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: .1em; }
.license-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 560px; }
.license-card {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 16px 16px; background: #fff; border: 1px solid var(--line); border-radius: 13px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; width: 100%;
}
.license-card:hover { transform: translateY(-3px); border-color: var(--blue-ic); box-shadow: var(--shadow); }
.lc-icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; color: var(--blue-ic); }
.lc-icon svg { width: 34px; height: 34px; stroke-width: 1.6; }
.lc-body { min-width: 0; flex: 1; }
.lc-title { display: block; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.18; }
.lc-cap { display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 3px; }
.lc-arrow { flex: none; color: #c2cde0; transition: transform .16s ease, color .16s ease; }
.lc-arrow svg { width: 20px; height: 20px; }
.license-card:hover .lc-arrow { color: var(--blue); transform: translateX(3px); }

.view-all { margin-top: 18px; max-width: fit-content; text-transform: uppercase; letter-spacing: .08em; }

/* Hero media */
.hero-media {
  position: relative;
  min-height: 600px;
  height: 100%;
  border-radius: 50% 0 0 50% / 50% 0 0 50%;
  overflow: hidden;
  margin-right: calc(-28px - max(0px, (100vw - var(--container)) / 2));
  box-shadow: -10px 20px 60px rgba(16, 42, 79, .16);
}
.hero-media .media-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }

/* -------------------------------- Feature badges -------------------------------- */
.features { border-top: 1px solid var(--line); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { display: flex; gap: 14px; padding: 26px 28px; }
.feature + .feature { border-left: 1px solid var(--line); }
.feat-icon { color: var(--navy); flex: none; }
.feat-icon svg { width: 30px; height: 30px; }
.feat-t { font-size: 13px; font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: .05em; }
.feat-d { font-size: 12.5px; color: var(--muted); margin-top: 5px; line-height: 1.45; }

/* -------------------------------- Trust bar -------------------------------- */
.trust { background: var(--soft); border-top: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { display: flex; gap: 16px; align-items: center; padding: 26px 28px; }
.trust-item + .trust-item { border-left: 1px solid var(--line-2); }
.trust-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; color: var(--navy); }
.trust-ic svg { width: 30px; height: 30px; }
.trust-t { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.trust-d { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* -------------------------------- Generic page -------------------------------- */
.page { padding: 44px 0 72px; min-height: 60vh; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs svg { width: 14px; height: 14px; opacity: .6; }
.page-head { margin-bottom: 28px; }
.page-head h1 { font-size: clamp(30px, 3.6vw, 42px); }
.page-head p { margin-top: 12px; color: var(--muted); font-size: 17px; max-width: 60ch; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }

/* Catalog grid (all licenses) */
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.cat-card.popular { border-color: #c7dbf6; box-shadow: 0 10px 30px rgba(31, 90, 166, .12); }
.ribbon {
  position: absolute; top: 16px; right: 16px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px;
}
.cat-ic { width: 52px; height: 52px; border-radius: 13px; background: var(--blue-soft); color: var(--blue-ic); display: grid; place-items: center; margin-bottom: 16px; }
.cat-ic svg { width: 30px; height: 30px; }
.cat-card h3 { font-size: 19px; }
.cat-card .cat-sub { color: var(--muted-2); font-size: 13px; margin-top: 3px; font-weight: 600; }
.cat-card .cat-desc { color: var(--muted); font-size: 14px; margin-top: 12px; line-height: 1.5; flex: 1; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 16px; }
.price { font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price-per { font-size: 13px; color: var(--muted); font-weight: 600; }
.cat-actions { display: flex; gap: 10px; }
.cat-actions .btn { flex: 1; padding: 12px 14px; }

/* Product detail */
.detail-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.detail-media { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 360px; box-shadow: var(--shadow); }
.detail-ic { width: 64px; height: 64px; border-radius: 16px; background: var(--blue-soft); color: var(--blue-ic); display: grid; place-items: center; margin-bottom: 18px; }
.detail-ic svg { width: 38px; height: 38px; }
.detail-info h1 { font-size: clamp(28px, 3vw, 38px); }
.detail-info .sub { color: var(--muted-2); font-weight: 600; margin-top: 6px; }
.detail-info .lead { color: var(--muted); font-size: 16px; margin-top: 16px; line-height: 1.6; }
.buy-card { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--soft); }
.buy-card .price-row { margin-top: 0; }
.feature-list { margin-top: 8px; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: #2c3a55; }
.feature-list svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 1px; }
.included-title { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin: 26px 0 14px; color: var(--navy); }

/* -------------------------------- Cart drawer -------------------------------- */
.overlay { position: fixed; inset: 0; background: rgba(10, 24, 48, .5); backdrop-filter: blur(2px); z-index: 90; opacity: 0; transition: opacity .25s ease; }
.overlay.show { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 92vw; background: #fff; z-index: 95;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  box-shadow: var(--shadow-lg);
}
.drawer.show { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 18px; }
.drawer-head .close { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.drawer-head .close:hover { background: var(--soft); color: var(--ink); }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 22px; }
.drawer-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.drawer-empty svg { width: 64px; height: 64px; color: var(--line-2); margin: 0 auto 16px; }
.cart-line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line .cl-ic { width: 46px; height: 46px; border-radius: 11px; background: var(--blue-soft); color: var(--blue-ic); display: grid; place-items: center; flex: none; }
.cart-line .cl-ic svg { width: 26px; height: 26px; }
.cl-main { flex: 1; min-width: 0; }
.cl-title { font-weight: 700; font-size: 14.5px; }
.cl-price { color: var(--muted); font-size: 13px; margin-top: 2px; }
.cl-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--navy); font-weight: 700; }
.qty button:hover { background: var(--soft); }
.qty span { min-width: 30px; text-align: center; font-weight: 700; font-size: 14px; }
.cl-remove { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.cl-remove:hover { color: var(--danger); }
.cl-remove svg { width: 15px; height: 15px; }
.cl-line-total { font-weight: 800; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 22px; background: var(--soft); }
.foot-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.foot-row .lbl { color: var(--muted); font-size: 14px; }
.foot-row.total .lbl { color: var(--ink); font-weight: 700; font-size: 16px; }
.foot-row.total .val { font-size: 24px; font-weight: 800; }
.foot-note { font-size: 12px; color: var(--muted-2); margin: 4px 0 14px; display: flex; align-items: center; gap: 6px; }
.foot-note svg { width: 14px; height: 14px; }

/* -------------------------------- Cart page -------------------------------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.cart-items { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-items .cart-line { padding: 20px; margin: 0; }
.cart-items .cart-line:last-child { border-bottom: none; }
.summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--soft); position: sticky; top: 96px; }
.summary h3 { font-size: 18px; margin-bottom: 18px; }
.summary .foot-row { margin-bottom: 12px; }

/* -------------------------------- Forms -------------------------------- */
.form-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-ic); box-shadow: 0 0 0 3px rgba(47, 111, 191, .15); }
.field .hint { font-size: 12px; color: var(--muted-2); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-aside { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 30px; }
.form-aside h3 { color: #fff; font-size: 20px; }
.form-aside p { color: #cdddf3; margin-top: 12px; font-size: 14.5px; line-height: 1.6; }
.form-aside ul { margin-top: 18px; display: grid; gap: 12px; }
.form-aside li { display: flex; gap: 10px; font-size: 14px; color: #e7f0fc; }
.form-aside svg { width: 19px; height: 19px; color: #8fc0ff; flex: none; }
.notice { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.notice.ok { background: #e7f6ef; color: #157048; }
.notice svg { width: 20px; height: 20px; flex: none; }

/* FAQ */
.faq { max-width: 820px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; text-align: left; padding: 18px 20px; font-weight: 700; font-size: 15.5px; }
.faq-q:hover { background: var(--soft); }
.faq-q svg { width: 20px; height: 20px; color: var(--blue-ic); flex: none; transition: transform .2s ease; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.faq-item.open .faq-a { padding: 0 20px 20px; max-height: 320px; }

.help-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 44px; }
.help-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.help-card .h-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-ic); display: grid; place-items: center; margin-bottom: 14px; }
.help-card .h-ic svg { width: 26px; height: 26px; }
.help-card h3 { font-size: 17px; }
.help-card p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.help-card .h-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--blue); font-weight: 700; font-size: 14px; }
.help-card .h-link svg { width: 16px; height: 16px; }

/* Practical info sections */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.info-card .i-ic { width: 50px; height: 50px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-ic); display: grid; place-items: center; margin-bottom: 16px; }
.info-card .i-ic svg { width: 28px; height: 28px; }
.info-card h3 { font-size: 19px; }
.info-card p { color: var(--muted); margin-top: 10px; font-size: 14.5px; line-height: 1.6; }

/* -------------------------------- Footer -------------------------------- */
.site-footer { background: linear-gradient(180deg, #11305f 0%, #0a1f43 100%); color: #c6d4ea; margin-top: 10px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding: 56px 0 40px; }
.footer-brand .brand-text .t1 { color: #9fb6d9; }
.footer-brand p { margin-top: 16px; font-size: 14px; color: #9fb2d0; max-width: 34ch; line-height: 1.6; }
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #cdddf3; transition: background .15s ease; }
.foot-social a:hover { background: rgba(255,255,255,.16); }
.foot-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: 14px; color: #aebfda; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: #8ea4c6; }
.pay-badges { display: flex; align-items: center; gap: 10px; }
.pay-badges .pay { height: 26px; padding: 0 8px; border-radius: 5px; background: #fff; display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; color: #1a2c4e; letter-spacing: .02em; }

/* -------------------------------- Toast -------------------------------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 12px; z-index: 120;
  display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; box-shadow: var(--shadow-lg);
  opacity: 0; transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { width: 20px; height: 20px; color: #6ee7a8; }

/* -------------------------------- Mobile menu panel -------------------------------- */
.mobile-menu { display: none; }

/* -------------------------------- Responsive -------------------------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { min-height: 380px; border-radius: 26px; order: -1; }
  .hero-left { max-width: none; }
  .hero-title { max-width: none; }
  .hero-sub { max-width: 48ch; }
  .license-grid, .view-all { max-width: none; }
  .detail-grid { grid-template-columns: 1fr; gap: 26px; }
  .cart-layout { grid-template-columns: 1fr; }
  .form-wrap { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .help-cards, .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .main-nav { display: none; }
  .header-actions { gap: 2px; }
  .header-actions .icon-link .label-text { display: none; }
  .header-actions .hsep { display: none; }
  .header-actions .icon-link:not(.cart-link) { display: none; }
  .hamburger { display: inline-flex; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(3) { border-left: none; }
  .feature { border-top: 1px solid var(--line); }
  .feature:nth-child(1), .feature:nth-child(2) { border-top: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: none; border-top: 1px solid var(--line-2); }

  /* mobile menu panel */
  .mobile-menu { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: #fff; z-index: 55; padding: 18px 22px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease; }
  .mobile-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-menu a { display: flex; align-items: center; gap: 12px; padding: 15px 6px; font-weight: 700; font-size: 16px; border-bottom: 1px solid var(--line); color: var(--ink); }
  .mobile-menu a svg { width: 22px; height: 22px; color: var(--blue-ic); }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .hero-grid { padding: 32px 0 40px; }
  .license-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature { border-left: none !important; border-top: 1px solid var(--line); }
  .feature:first-child { border-top: none; }
  .catalog { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .brand-text .t2 { font-size: 16px; }
  .cart-count { box-shadow: 0 0 0 2px #143a73; }
}
