/* ═══════════════════════════════════════════════════════════
   CARDSHIELD PRO — Shield Template CSS
   ═══════════════════════════════════════════════════════════ */

/* ── RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:     #1a1a2e;
  --accent:      #e94560;
  --accent-dark: #c73652;
  --light:       #f8f9fa;
  --gray:        #6c757d;
  --border:      #e9ecef;
  --white:       #ffffff;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow-md:   0 4px 24px rgba(0,0,0,.12);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.16);
  --radius:      10px;
  --radius-lg:   16px;
  --font:        'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition:  .25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HEADER ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

.site-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.site-logo span {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -.5px;
}

/* Nav */
.site-nav { display: flex; gap: 32px; }
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── HERO / BANNER ─────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 480px;
  padding: 60px 24px;
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(233,69,96,.2);
  border: 1px solid rgba(233,69,96,.5);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ff8fa3;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero p {
  font-size: 18px;
  opacity: .85;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233,69,96,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ── SECTION ───────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--light); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--gray);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto;
}
.section-line {
  width: 48px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ── FEATURES BAR ──────────────────────────────────────────── */
.features-bar {
  background: var(--primary);
  padding: 32px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}
.feature-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.feature-item h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.feature-item p {
  font-size: 12px;
  opacity: .65;
}

/* ── PRODUCTS GRID ─────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-img-wrap {
  position: relative;
  padding-top: 68%;
  background: var(--light);
  overflow: hidden;
}
.product-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

.product-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 40px;
}
.product-placeholder span { font-size: 13px; margin-top: 8px; }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.product-body { padding: 20px; }
.product-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-body p {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 20px;
}
.product-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}
.product-price span { font-size: 14px; font-weight: 500; color: var(--gray); }

.btn-cart {
  padding: 10px 20px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.btn-cart:hover {
  background: var(--accent);
  transform: scale(1.05);
}

/* ── ABOUT STRIP ───────────────────────────────────────────── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800;
  margin-bottom: 16px;
}
.about-text p { color: var(--gray); margin-bottom: 20px; line-height: 1.8; }
.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  display: block;
}
.stat-label { font-size: 12px; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--light);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img img { width: 100%; height: 320px; object-fit: cover; }

/* ── TRUST BADGES ──────────────────────────────────────────── */
.trust-bar {
  background: #fff8e1;
  border-top: 1px solid #f0d060;
  border-bottom: 1px solid #f0d060;
  padding: 16px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 40px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #7a5c00;
}
.trust-item span { font-size: 18px; }

/* ── FOOTER ────────────────────────────────────────────────── */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .site-logo { margin-bottom: 16px; }
.footer-brand .site-logo span { color: var(--white); }
.footer-brand p { font-size: 13px; line-height: 1.7; margin-bottom: 20px; }

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 12px;
  color: rgba(255,255,255,.7);
}
.footer-contact p em { flex-shrink: 0; }

/* Payment icons */
.payment-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.pay-icon {
  padding: 4px 10px;
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  letter-spacing: .5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }
.footer-legal { display: flex; gap: 20px; }

/* ── INNER PAGE HERO ───────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #16213e 100%);
  padding: 56px 0;
  text-align: center;
  color: var(--white);
}
.page-hero h1 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 8px;
}
.page-hero p { opacity: .7; font-size: 15px; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  opacity: .6;
  margin-top: 12px;
}
.breadcrumb a:hover { opacity: 1; }

/* ── LEGAL CONTENT ─────────────────────────────────────────── */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px;
}
.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--primary);
}
.legal-content h3 { font-size: 16px; font-weight: 600; margin: 24px 0 8px; }
.legal-content p  { color: var(--gray); line-height: 1.8; margin-bottom: 16px; }
.legal-content ul { margin: 0 0 16px 24px; list-style: disc; }
.legal-content ul li { color: var(--gray); margin-bottom: 8px; line-height: 1.7; }
.legal-meta {
  padding: 16px 20px;
  background: var(--light);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 32px;
  border-left: 4px solid var(--accent);
}

/* ── CONTACT PAGE ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
}
.contact-info h2 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.contact-info p  { color: var(--gray); margin-bottom: 28px; }

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.contact-item p  { font-size: 14px; color: var(--gray); margin: 0; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-size: 18px; font-weight: 700; margin-bottom: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font);
  transition: border-color var(--transition);
  outline: none;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(233,69,96,.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit { width: 100%; padding: 14px; font-size: 15px; border: none; }

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  background: #d1fae5;
  border-radius: var(--radius);
  color: #065f46;
  font-weight: 600;
  margin-top: 16px;
}

/* ── TOAST NOTIFICATION ────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 24px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all .3s ease;
  z-index: 9999;
  max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── BACK TO TOP ───────────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  transform: scale(0);
  transition: all var(--transition);
  border: none;
  box-shadow: var(--shadow-md);
  z-index: 999;
}
.back-top.visible { opacity: 1; transform: scale(1); }
.back-top:hover { background: var(--accent-dark); transform: scale(1.1); }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-strip { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 70px 0 0;
    background: var(--white);
    padding: 32px 24px;
    gap: 24px;
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }
  .site-nav.open a { font-size: 18px; }
  .menu-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 360px; }
  .hero-content { min-height: 360px; }
  .about-stats { gap: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}
