﻿/* ─── Fonts ─────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'CharlesWright';
  src: url('/assets/fonts/CharlesWright-Bold.woff2') format('woff2'),
       url('/assets/fonts/CharlesWright-Bold.woff')  format('woff');
  font-weight: 700;
  font-display: swap;
}

/* ─── Variables ─────────────────────────────────────────────────────────── */
:root {
  --green:        #169B62;
  --green-dark:   #0e7a4e;
  --green-light:  #e6f7f0;
  --green-xlt:    #f3fbf7;
  --black:        #111111;
  --black-mid:    #1e1e1e;
  --header-bg:    #111111;
  --topbar-bg:    #000000;
  --text:         #1a1a1a;
  --text-mid:     #444444;
  --text-muted:   #6b7280;
  --text-light:   #9ca3af;
  --border:       #e8e8e8;
  --border-dark:  #d0d0d0;
  --surface:      #f8f9fa;
  --white:        #ffffff;
  --error:        #dc2626;
  --error-bg:     #fef2f2;
  --gold:         #e6b800;
  --radius-sm:    4px;
  --radius:       8px;
  --radius-lg:    12px;
  --shadow-xs:    0 1px 2px rgba(0,0,0,.06);
  --shadow-sm:    0 2px 6px rgba(0,0,0,.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.14);
  --t:            140ms ease;
}

/* ─── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 15px; line-height: 1.6; color: var(--text); background: var(--white); }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
ul   { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { line-height: 1.2; }

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container  { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section    { padding: 64px 0; }
.section-sm { padding: 40px 0; }

/* ─── Top info bar (below header) ───────────────────────────────────────── */
.top-bar { background: #f2f2f2; border-bottom: 1px solid #e0e0e0; color: #555; font-size: 12px; padding: 7px 0; }
.top-bar-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.top-bar-item { margin-left: 0 !important; }
.top-bar-item a { color: #555; }
.top-bar-item a:hover { color: var(--black); text-decoration: none; }
.top-bar-sep { color: #bbb; }
.top-bar-countdown strong { color: var(--black); font-weight: 700; letter-spacing: .5px; }

/* ─── Header ─────────────────────────────────────────────────────────────── */
.site-header { background: var(--header-bg); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #2a2a2a; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 56px; display: flex; align-items: center; gap: 16px; }
.site-logo { flex-shrink: 0; }
.site-logo:hover { text-decoration: none; }
.site-logo img { display: block; height: 32px; width: auto; }

.main-nav { flex: 1; display: flex; gap: 0; }
.main-nav a { padding: 6px 12px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; color: #ccc; transition: background var(--t), color var(--t); white-space: nowrap; }
.main-nav a:hover { background: rgba(255,255,255,.08); color: var(--white); text-decoration: none; }
.main-nav a.active { color: var(--white); background: rgba(22,155,98,.22); }

.header-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.basket-btn { position: relative; display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--radius-sm); color: #ccc; font-size: 13px; font-weight: 500; transition: color var(--t), background var(--t); }
.basket-btn:hover { color: var(--white); background: rgba(255,255,255,.08); text-decoration: none; }
.basket-count { min-width: 18px; height: 18px; background: var(--green); color: var(--white); font-size: 11px; font-weight: 700; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }

.hamburger { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.hamburger span { display: block; width: 20px; height: 2px; background: #ccc; border-radius: 2px; }

.mobile-nav { display: none; flex-direction: column; background: var(--black-mid); border-bottom: 1px solid #333; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 11px 20px; font-size: 14px; color: #ccc; border-bottom: 1px solid #333; }
.mobile-nav a:hover { color: var(--white); background: rgba(255,255,255,.05); text-decoration: none; }
.mobile-nav hr { border: none; border-top: 1px solid #444; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; text-decoration: none !important; white-space: nowrap; transition: background var(--t), box-shadow var(--t); cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); box-shadow: 0 4px 16px rgba(22,155,98,.35); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn:disabled { opacity: .45; pointer-events: none; }

/* ─── Trust bar ──────────────────────────────────────────────────────────── */
.trust-bar { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 9px 0; }
.trust-bar-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; gap: 8px 28px; justify-content: center; align-items: center; flex-wrap: wrap; }
.trust-item-inline { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-mid); white-space: nowrap; text-transform: uppercase; letter-spacing: .3px; }
.trust-item-inline svg { color: var(--green); flex-shrink: 0; }

/* ─── Section header ─────────────────────────────────────────────────────── */
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 800; margin-bottom: 8px; }
.section-head p { font-size: 15px; color: var(--text-muted); max-width: 520px; margin: 0 auto; }

/* ─── Homepage hero ──────────────────────────────────────────────────────── */
.home-hero { background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 60%, #222 100%); padding: 56px 0 48px; color: var(--white); }
.home-hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-text h1 { font-size: clamp(28px, 4vw, 46px); font-weight: 900; line-height: 1.1; margin-bottom: 14px; }
.hero-text h1 em { color: var(--green); font-style: normal; }
.hero-text p { font-size: 17px; color: #aaa; margin-bottom: 24px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-proof { font-size: 12px; color: #777; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-proof span::before { content: '✓ '; color: var(--green); font-weight: 700; }
.hero-canvas-box { background: #1a1a1a; border: 1px solid #333; border-radius: var(--radius-lg); padding: 24px 20px; }
.hero-canvas-inner { background: #2a2a2a; border-radius: var(--radius); padding: 20px 12px; display: flex; justify-content: center; align-items: center; }

/* ─── Product grid ───────────────────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.product-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--t), transform var(--t), border-color var(--t); display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #ccc; text-decoration: none; color: inherit; }
.product-card-img { background: var(--surface); padding: 24px 16px; display: flex; align-items: center; justify-content: center; min-height: 90px; }
.product-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-card-name { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.product-card-desc { font-size: 12px; color: var(--text-muted); flex: 1; margin-bottom: 12px; line-height: 1.55; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 20px; font-weight: 800; color: var(--green); }
.product-price-note { font-size: 11px; color: var(--text-muted); }
.badge { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.badge-green  { background: var(--green-light); color: var(--green-dark); }
.badge-gold   { background: #FEF3C7; color: #92400E; }
.badge-blue   { background: #EFF6FF; color: #1E40AF; }
.badge-orange { background: #FFF7ED; color: #C2410C; }

/* ─── Plate chip ─────────────────────────────────────────────────────────── */
.plate-chip { font-family: 'CharlesWright', monospace; background: #fff; border: 2px solid #888; border-radius: 4px; padding: 4px 12px; font-size: 20px; font-weight: 700; letter-spacing: 1.5px; color: #000; display: inline-block; }

/* ─── Steps ──────────────────────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.step-item { text-align: center; }
.step-icon-wrap { width: 48px; height: 48px; background: var(--green-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 20px; }
.step-num { font-size: 10px; font-weight: 800; color: var(--green); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 5px; }
.step-item h3 { font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.step-item p  { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* ─── Trust cards ────────────────────────────────────────────────────────── */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.trust-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 14px; text-align: center; }
.trust-card-icon { font-size: 26px; margin-bottom: 8px; }
.trust-card h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.trust-card p  { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ─── Basket ──────────────────────────────────────────────────────────────── */
.basket-empty { text-align: center; padding: 72px 20px; }
.basket-layout { display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: start; }
.basket-table { width: 100%; border-collapse: collapse; }
.basket-table th { text-align: left; padding: 9px 12px; background: var(--surface); font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); border-bottom: 2px solid var(--border); }
.basket-table td { padding: 14px 12px; border-bottom: 1px solid var(--border); vertical-align: top; font-size: 14px; }
.basket-reg { font-family: 'CharlesWright', monospace; font-size: 18px; font-weight: 700; letter-spacing: 1px; }
.basket-summary-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.summary-total { font-size: 18px; font-weight: 800; border-top: 2px solid var(--border); padding-top: 10px; margin-top: 4px; }

/* ─── Checkout ───────────────────────────────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: start; padding: 36px 0 72px; }
.checkout-block { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 14px; }
.checkout-block h2 { font-size: 16px; font-weight: 700; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 12px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.form-input { width: 100%; padding: 9px 12px; border: 1.5px solid var(--border-dark); border-radius: var(--radius-sm); font-size: 14px; color: var(--text); transition: border-color var(--t); }
.form-input:focus { outline: none; border-color: var(--green); }

/* ─── Breadcrumb ─────────────────────────────────────────────────────────── */
.breadcrumb { padding: 10px 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.breadcrumb li { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-muted); }
.breadcrumb li a { color: var(--text-muted); }
.breadcrumb li a:hover { color: var(--green); }
.breadcrumb li[aria-current] { color: var(--text); font-weight: 500; }

/* ─── Content pages ──────────────────────────────────────────────────────── */
.content-page { padding: 36px 0 72px; }
.content-page h1 { font-size: clamp(22px, 3vw, 34px); font-weight: 800; margin-bottom: 10px; }
.content-page .lead { font-size: 17px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.7; max-width: 620px; }
.content-body h2 { font-size: 20px; font-weight: 700; margin: 28px 0 9px; }
.content-body h3 { font-size: 16px; font-weight: 600; margin: 18px 0 7px; }
.content-body p  { margin-bottom: 13px; line-height: 1.75; font-size: 15px; }
.content-body ul, .content-body ol { margin: 0 0 13px 18px; }
.content-body li { margin-bottom: 5px; line-height: 1.65; }
.content-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13px; overflow-x: auto; display: block; }
.content-body th { background: var(--surface); padding: 8px 12px; text-align: left; font-weight: 600; border: 1px solid var(--border); }
.content-body td { padding: 8px 12px; border: 1px solid var(--border); }
.content-body tr:nth-child(even) td { background: var(--surface); }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; padding: 14px 0; font-size: 14px; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.faq-q::after { content: '+'; font-size: 20px; font-weight: 300; color: var(--green); transition: transform var(--t); flex-shrink: 0; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 12px; font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ─── Alerts ─────────────────────────────────────────────────────────────── */
.alert { padding: 11px 14px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 14px; }
.alert-success { background: var(--green-light); border-left: 3px solid var(--green); color: var(--green-dark); }
.alert-error   { background: var(--error-bg); border-left: 3px solid var(--error); color: var(--error); }
.alert-info    { background: #EFF6FF; border-left: 3px solid #3B82F6; color: #1E40AF; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: #111; color: #888; margin-top: 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 52px 20px 40px; display: grid; grid-template-columns: 2.2fr 1.8fr 1.4fr; gap: 52px; }
.footer-logo-link { display: inline-block; margin-bottom: 18px; }
.footer-logo-link img { height: 26px; width: auto; display: block; }
.footer-about { font-size: 12px; line-height: 1.75; color: #777; margin-bottom: 8px; }
.footer-about strong { color: #ccc; }
.footer-contact { font-size: 12px; }
.footer-contact a { color: #999; }
.footer-contact a:hover { color: var(--white); text-decoration: none; }

.footer-trust-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #bbb; margin-bottom: 13px; line-height: 1.4; }
.footer-trust-item svg { flex-shrink: 0; margin-top: 1px; }

.footer-links h4 { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #f0f0f0; margin-bottom: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 0; }
.footer-links a { font-size: 12px; color: #777; padding: 3px 0; }
.footer-links a:hover { color: var(--white); text-decoration: none; }

.footer-questions-title { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--white); margin-bottom: 14px; }
.footer-questions p { font-size: 12px; color: #888; line-height: 1.7; margin-bottom: 4px; }
.footer-hours { font-size: 13px; font-weight: 600; color: #ccc; }
.footer-phone { font-size: 16px; font-weight: 700; color: var(--white); }
.footer-phone:hover { text-decoration: none; color: #f5c400; }
.footer-contact-link { display: inline-block; margin-top: 10px; font-size: 12px; color: #777; text-decoration: underline; }
.footer-contact-link:hover { color: var(--white); }

.footer-bottom { border-top: 1px solid #222; }
.footer-bottom-inner { max-width: 1200px; margin: 0 auto; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-bottom p { font-size: 11px; color: #555; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { font-size: 11px; color: #555; }
.footer-bottom-links a:hover { color: #999; text-decoration: none; }

/* ─── Hero banner (picture + absolute overlay — premium plates pattern) ───── */
.hero-img { position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-img .hero-bg { height: auto; display: block; width: 100%; }
.hero-img .hero-text { position: absolute; top: 40px; left: 80px; width: 100%; z-index: 1; }
.banner-desktop { width: 100%; max-width: 420px; height: auto; display: block; }
@media (max-width: 768px) {
  .banner-desktop { display: none; }
  .hero-img .hero-text { display: none; }
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .basket-layout, .checkout-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .home-hero-inner { grid-template-columns: 1fr; }
  .hero-canvas-box { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
