/* ==========================================================================
   ZADVEOKA GLOBAL — Shared Design System
   Applied to ALL pages (shop, product, about, faq, contact)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
  --z-primary: #284086;
  --z-primary-dark: #1E3068;
  --z-primary-darker: #0E1A3A;
  --z-accent: #D4A04A;
  --z-accent-hover: #C08E35;
  --z-accent-glow: rgba(212,160,74,.25);
  --z-text: #0f172a;
  --z-text-muted: #64748b;
  --z-text-light: #94a3b8;
  --z-surface: #F8FAFC;
  --z-surface-warm: #FAF8F4;
  --z-surface-cool: #F0F4F8;
  --z-white: #FFFFFF;
  --z-success: #10B981;
  --z-border: #e2e8f0;
  --z-shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --z-shadow-sm: 0 2px 8px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.04);
  --z-shadow-md: 0 4px 20px rgba(0,0,0,.07), 0 2px 6px rgba(0,0,0,.04);
  --z-shadow-lg: 0 16px 48px rgba(0,0,0,.1), 0 4px 12px rgba(0,0,0,.05);
  --z-shadow-xl: 0 24px 64px rgba(0,0,0,.14), 0 8px 20px rgba(0,0,0,.06);
  --z-radius: 16px;
  --z-radius-sm: 10px;
  --z-radius-xs: 6px;
  --z-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --z-max-w: 1280px;
  --z-transition: all .35s cubic-bezier(.25,.46,.45,.94);
  --z-transition-fast: all .2s cubic-bezier(.4,0,.2,1);
  --z-transition-smooth: all .5s cubic-bezier(.16,1,.3,1);
}

/* --- Base Reset for Zadveoka pages --- */
.zad-page { font-family: var(--z-font); color: var(--z-text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.zad-page *, .zad-page *::before, .zad-page *::after { box-sizing: border-box; }
.zad-page img { max-width: 100%; height: auto; display: block; }
.zad-page a { text-decoration: none; color: inherit; transition: var(--z-transition); }
.zad-page h1,.zad-page h2,.zad-page h3,.zad-page h4,.zad-page h5 {
  font-family: var(--z-font); font-weight: 700; line-height: 1.2; color: var(--z-text); margin: 0;
}

/* --- Layout --- */
.zad-container { max-width: var(--z-max-w); margin: 0 auto; padding: 0 24px; }
.zad-section { padding: 90px 0; position: relative; }

/* --- Page Hero --- */
.zad-page-hero {
  background: var(--z-surface-cool); padding: 80px 0 60px; text-align: center;
}
.zad-page-hero .zad-breadcrumb {
  font-size: 13px; color: var(--z-text-muted); margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.zad-page-hero .zad-breadcrumb a { color: var(--z-primary); }
.zad-page-hero .zad-breadcrumb a:hover { text-decoration: underline; }
.zad-page-hero .zad-breadcrumb .sep { color: var(--z-text-light); }
.zad-page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -1px; margin-bottom: 14px;
}
.zad-page-hero h1 em { font-style: normal; color: var(--z-primary); }
.zad-page-hero .zad-hero-subtitle {
  font-size: 1rem; color: var(--z-text-muted); max-width: 560px; margin: 0 auto; line-height: 1.7;
}

/* --- Buttons --- */
.zad-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 36px; font-size: 13px; font-weight: 700; font-family: var(--z-font);
  text-transform: uppercase; letter-spacing: 2px; border-radius: var(--z-radius-xs);
  border: 2px solid transparent; cursor: pointer; transition: var(--z-transition);
  position: relative; overflow: hidden; line-height: 1;
}
.zad-btn-primary {
  background: var(--z-primary); color: var(--z-white); border-color: var(--z-primary);
}
.zad-btn-primary:hover {
  background: var(--z-primary-dark); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(40,64,134,.2);
}
.zad-btn-outline-dark {
  background: transparent; color: var(--z-text); border: 1.5px solid var(--z-border);
}
.zad-btn-outline-dark:hover {
  border-color: var(--z-primary); color: var(--z-primary); transform: translateY(-2px);
}
.zad-btn-accent {
  background: linear-gradient(135deg, var(--z-accent), #C9923A);
  color: #1a1000; border-color: var(--z-accent);
  box-shadow: 0 4px 16px var(--z-accent-glow);
}
.zad-btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--z-accent-glow);
  filter: brightness(1.05);
}

/* --- Trust Bar --- */
.zad-trust-bar {
  background: var(--z-primary-darker); padding: 16px 0; overflow: hidden;
}
.zad-trust-bar-inner {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.8);
  text-transform: uppercase; letter-spacing: 1.5px;
}
.zad-trust-bar-inner span { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.zad-trust-bar-inner svg { width: 16px; height: 16px; opacity: .7; }

/* --- Section Headers --- */
.zad-section-header { text-align: center; margin-bottom: 48px; }
.zad-section-header h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); letter-spacing: -.5px; margin-bottom: 10px; }
.zad-section-header .zad-divider { width: 40px; height: 3px; background: var(--z-primary); margin: 12px auto; border-radius: 2px; }
.zad-section-header p { font-size: .95rem; color: var(--z-text-muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }

.zad-section-header-split {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 36px; gap: 24px;
}
.zad-section-header-split h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -.5px; margin-bottom: 4px; }
.zad-section-header-split p { font-size: .9rem; color: var(--z-text-muted); margin: 0; }

/* --- Product Card (shared) --- */
.zad-product-card {
  background: var(--z-white); border-radius: 14px; overflow: hidden;
  border: none; transition: var(--z-transition-smooth); position: relative; box-shadow: none;
}
.zad-product-card:hover {
  transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.07);
}
.zad-product-card-img {
  position: relative; aspect-ratio: 4/4; overflow: hidden; background: var(--z-surface-cool);
}
.zad-product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.zad-product-card:hover .zad-product-card-img img { transform: scale(1.05); }
.zad-product-card-badge {
  position: absolute; top: 14px; left: 14px; padding: 6px 14px; font-size: 10px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px;
  border-radius: var(--z-radius-xs); z-index: 2;
}
.zad-badge-sale { background: rgba(239,68,68,.9); color: var(--z-white); }
.zad-badge-new { background: rgba(40,64,134,.9); color: var(--z-white); }
.zad-product-card-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 20px;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.3) 100%);
  opacity: 0; transition: var(--z-transition-smooth);
}
.zad-product-card:hover .zad-product-card-overlay { opacity: 1; }
.zad-product-card-overlay a {
  padding: 11px 28px; background: var(--z-white); color: var(--z-text);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  border-radius: var(--z-radius-xs); transform: translateY(8px);
  transition: var(--z-transition);
}
.zad-product-card:hover .zad-product-card-overlay a { transform: translateY(0); }
.zad-product-card-overlay a:hover { background: var(--z-primary); color: var(--z-white); }
.zad-product-card-info { padding: 18px 6px 6px; }
.zad-product-card-name {
  font-size: .9rem; font-weight: 500; margin-bottom: 6px; color: var(--z-text); line-height: 1.4;
}
.zad-product-card-price { font-size: .95rem; font-weight: 700; color: var(--z-primary); letter-spacing: -.2px; }
.zad-product-card-price del { color: var(--z-text-light); font-weight: 400; font-size: .85rem; margin-right: 6px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .zad-section-header-split { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .zad-section { padding: 60px 0; }
  .zad-page-hero { padding: 56px 0 40px; }
  .zad-trust-bar-inner { gap: 20px; font-size: 11px; }
}
@media (max-width: 480px) {
  .zad-container { padding: 0 16px; }
}
