/* ==========================================================================
   FishTolls - E-Commerce CSS System
   Style: WordPress / WooCommerce Fishing Tackle Store
   Palette: Aquatic / Marine / Deep Ocean & Coral Accents
   Code Quality: 10+ Years Senior Frontend Engineering Standards
   ========================================================================== */

:root {
  /* Aquatic / Fishing Color Palette */
  --navy-deep: #081c33;
  --navy-primary: #0b2545;
  --navy-light: #134074;
  --teal-ocean: #028090;
  --teal-accent: #00a896;
  --teal-subtle: #e6f6f7;
  --coral-sale: #e63946;
  --coral-dark: #c1121f;
  --amber-gold: #f4a261;
  --amber-bright: #e76f51;

  /* Neutrals & Surfaces */
  --bg-page: #f2f6f9;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #dce5ec;
  --border-light: #eef2f6;

  /* Typography Colors */
  --text-main: #14213d;
  --text-muted: #596a7a;
  --text-light: #8899a6;
  --text-white: #ffffff;

  /* Shadows & Radius */
  --shadow-sm: 0 2px 4px rgba(11, 37, 69, 0.05);
  --shadow-md: 0 4px 14px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 10px 30px rgba(11, 37, 69, 0.12);
  --shadow-float: 0 16px 36px rgba(11, 37, 69, 0.16);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --container-width: 1240px;
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-main);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font: inherit;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   Header & Top Bar (WooCommerce Inspired)
   ========================================================================== */
.topbar {
  background: var(--navy-deep);
  color: #cbd5e1;
  font-size: 0.825rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  fill: var(--teal-accent);
}

.topbar-badge {
  background: rgba(0, 168, 150, 0.2);
  color: var(--teal-accent);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  border: 1px solid rgba(0, 168, 150, 0.3);
}

.topbar a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Main Brand Header */
.main-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: relative;
  z-index: 100;
}

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

/* Brand Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--navy-primary) 0%, var(--teal-ocean) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(2, 128, 144, 0.3);
}

.brand-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.brand-title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy-deep);
  line-height: 1.15;
}

.brand-title span {
  color: var(--teal-ocean);
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Header Search Form */
.header-search {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 11px 48px 11px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.925rem;
  background: var(--bg-surface-alt);
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--teal-ocean);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(2, 128, 144, 0.12);
}

.search-submit-btn {
  position: absolute;
  right: 6px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--teal-ocean);
  color: #ffffff;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.search-submit-btn:hover {
  background: var(--navy-primary);
}

.search-submit-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Header Actions & Hotline */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-support {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.support-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--teal-subtle);
  color: var(--teal-ocean);
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.support-text-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.support-phone {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-deep);
}

/* Header Cart Button */
.cart-button {
  background: var(--navy-deep);
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.18);
}

.cart-button:hover {
  background: var(--teal-ocean);
  transform: translateY(-1px);
}

.cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-icon-wrap svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.cart-count-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--coral-sale);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(230, 57, 70, 0.4);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy-deep);
}

.mobile-nav-toggle svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* ==========================================================================
   Navigation Menu (WordPress WooCommerce Navigation Bar)
   ========================================================================== */
.navigation-bar {
  background: var(--navy-primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 99;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-menu {
  display: flex;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 15px 18px;
  color: #f1f5f9;
  font-size: 0.925rem;
  font-weight: 600;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--teal-accent);
}

.nav-link-badge {
  background: var(--coral-sale);
  color: #ffffff;
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  font-weight: 700;
}

.nav-hot-offer {
  color: #ffd166 !important;
}

.nav-right-callout {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.nav-right-callout svg {
  width: 16px;
  height: 16px;
  fill: var(--teal-accent);
}

/* ==========================================================================
   Buttons & UI Elements (WordPress Style)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.25;
}

.btn-primary {
  background: var(--teal-ocean);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 128, 144, 0.3);
}

.btn-primary:hover {
  background: #016976;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 128, 144, 0.4);
}

.btn-accent {
  background: var(--coral-sale);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(230, 57, 70, 0.35);
}

.btn-accent:hover {
  background: var(--coral-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 57, 70, 0.45);
}

.btn-navy {
  background: var(--navy-primary);
  color: #ffffff;
}

.btn-navy:hover {
  background: var(--navy-deep);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy-deep);
  border: 1.5px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--navy-primary);
  background: rgba(11, 37, 69, 0.04);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--navy-deep);
  border-color: #ffffff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(8, 28, 51, 0.92) 0%, rgba(11, 37, 69, 0.86) 100%),
              url('../img/hero-fishing.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 70px 0 85px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 168, 150, 0.25);
  border: 1px solid rgba(0, 168, 150, 0.5);
  color: #38ef7d;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: #00d2d3;
}

.hero-lede {
  font-size: 1.125rem;
  color: #e2e8f0;
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 38px;
}

.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-number {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.hero-stat-desc {
  font-size: 0.775rem;
  color: #94a3b8;
  margin-top: 4px;
}

/* Hero Right: Featured Deal Card (Type A Card) */
.hero-deal-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
}

.hero-deal-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--coral-sale);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  z-index: 2;
  box-shadow: 0 4px 8px rgba(230, 57, 70, 0.3);
}

.hero-deal-image-wrap {
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--bg-surface-alt);
}

.hero-deal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.hero-deal-card:hover .hero-deal-image-wrap img {
  transform: scale(1.04);
}

.deal-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.deal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 10px;
  line-height: 1.3;
}

.deal-prices {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.deal-current-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--coral-sale);
}

.deal-old-price {
  font-size: 1.05rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.deal-save-pill {
  background: #fee2e2;
  color: var(--coral-sale);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.stock-indicator {
  margin-bottom: 16px;
}

.stock-bar {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 4px;
}

.stock-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-ocean), var(--coral-sale));
  border-radius: var(--radius-full);
}

.stock-text {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--coral-sale);
}

/* ==========================================================================
   Trust Bar / Service Guarantees
   ========================================================================== */
.trust-strip {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--teal-subtle);
  color: var(--teal-ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon-box svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.trust-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.25;
}

.trust-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   Section Structures & Headers
   ========================================================================== */
.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-head-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px auto;
}

.eyebrow {
  display: inline-block;
  color: var(--teal-ocean);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ==========================================================================
   Category Grid
   ========================================================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: block;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-ocean);
}

.category-media {
  height: 170px;
  overflow: hidden;
  position: relative;
}

.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .category-media img {
  transform: scale(1.08);
}

.category-info {
  padding: 16px;
  text-align: center;
}

.category-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 4px;
}

.category-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Product Cards (3 Distinct Styles for WooCommerce Authenticity)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Style 1: Standard WooCommerce Product Card */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  border-color: var(--teal-ocean);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-badge-wrap {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.badge {
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-sale {
  background: var(--coral-sale);
  color: #ffffff;
}

.badge-new {
  background: var(--teal-ocean);
  color: #ffffff;
}

.badge-top {
  background: var(--amber-bright);
  color: #ffffff;
}

.product-media {
  position: relative;
  height: 220px;
  background: var(--bg-surface-alt);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.06);
}

.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.35;
  margin-bottom: 8px;
  min-height: 42px;
}

.product-title a:hover {
  color: var(--teal-ocean);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.8rem;
}

.stars {
  color: #f59e0b;
  letter-spacing: 1px;
}

.rating-count {
  color: var(--text-light);
}

.product-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.price-current {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-deep);
}

.price-current.has-sale {
  color: var(--coral-sale);
}

.price-old {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.btn-quick-buy {
  background: var(--teal-subtle);
  color: var(--teal-ocean);
  border: 1px solid rgba(2, 128, 144, 0.2);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-quick-buy:hover {
  background: var(--teal-ocean);
  color: #ffffff;
}

.btn-add-cart-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--navy-primary);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-add-cart-icon:hover {
  background: var(--teal-accent);
}

.btn-add-cart-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Style 2: Combo / Bundle Deal Card (Type B Card) */
.combo-card {
  background: #ffffff;
  border: 2px solid #bfe3e7;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.combo-card::before {
  content: "ТОП КОМБО ОФЕРТА";
  position: absolute;
  top: 14px;
  right: -55px;
  transform: rotate(45deg);
  background: var(--coral-sale);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 60px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  letter-spacing: 0.5px;
}

.combo-media {
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface-alt);
}

.combo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.combo-content h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 10px;
}

.combo-list {
  margin-bottom: 18px;
}

.combo-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.combo-list li svg {
  width: 16px;
  height: 16px;
  fill: var(--teal-accent);
  flex-shrink: 0;
}

.combo-pricing {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

/* ==========================================================================
   Reviews & Testimonials
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.review-user-name {
  font-weight: 700;
  color: var(--navy-deep);
  font-size: 0.95rem;
}

.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--teal-ocean);
  font-weight: 600;
}

.review-text {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.review-target-fish {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-light);
  background: var(--bg-surface-alt);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  align-self: flex-start;
}

/* ==========================================================================
   Blog / Angler Journal Preview
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-ocean);
}

.blog-media {
  height: 190px;
  overflow: hidden;
}

.blog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-media img {
  transform: scale(1.05);
}

.blog-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  font-size: 0.775rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.blog-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.35;
  margin-bottom: 10px;
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

.blog-read-more {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--teal-ocean);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Quick Buy / 1-Click Order Modal (STRICTLY NAME & PHONE ONLY)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 28, 51, 0.7);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-backdrop.is-open {
  display: flex;
  opacity: 1;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-float);
  overflow: hidden;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-backdrop.is-open .modal-box {
  transform: translateY(0);
}

.modal-header {
  background: var(--navy-deep);
  color: #ffffff;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header-title {
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-body {
  padding: 24px;
}

.modal-product-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-surface-alt);
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.modal-product-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.modal-product-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-deep);
  line-height: 1.25;
}

.modal-product-price {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--coral-sale);
  margin-top: 4px;
}

/* Strictly 2 Inputs Form */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.form-label span.req {
  color: var(--coral-sale);
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background: #ffffff;
  color: var(--text-main);
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--teal-ocean);
  box-shadow: 0 0 0 3px rgba(2, 128, 144, 0.15);
}

.form-input.is-invalid {
  border-color: var(--coral-sale);
  background: #fff5f5;
}

.form-helper {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.quick-order-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.quick-order-guarantee svg {
  width: 16px;
  height: 16px;
  fill: #16a34a;
  flex-shrink: 0;
}

/* ==========================================================================
   Slide-out Cart Drawer
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 28, 51, 0.6);
  backdrop-filter: blur(2px);
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-drawer-overlay.is-active {
  visibility: visible;
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: #ffffff;
  box-shadow: -4px 0 25px rgba(0,0,0,0.15);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-overlay.is-active .cart-drawer {
  right: 0;
}

.cart-drawer-head {
  background: var(--navy-deep);
  color: #ffffff;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.cart-drawer-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.cart-drawer-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

.cart-empty-message {
  text-align: center;
  padding: 40px 10px;
  color: var(--text-muted);
}

.cart-item-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
}

.cart-item-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-surface-alt);
}

.cart-item-info {
  line-height: 1.3;
}

.cart-item-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--coral-sale);
  font-weight: 700;
}

.cart-item-qty-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 6px;
}

.qty-btn {
  background: var(--bg-surface-alt);
  border: none;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
}

.qty-val {
  width: 28px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 4px;
}

.cart-item-remove:hover {
  color: var(--coral-sale);
}

.cart-drawer-footer {
  padding: 20px;
  background: var(--bg-surface-alt);
  border-top: 1px solid var(--border-color);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-deep);
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
  margin-bottom: 16px;
}

/* ==========================================================================
   WordPress Style Footer & Compliance Legal Bars
   ========================================================================== */
.site-footer {
  background: var(--navy-deep);
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-top: auto;
  border-top: 4px solid var(--teal-ocean);
}

.footer-top {
  padding: 60px 0 45px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--teal-accent);
}

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 20px;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.875rem;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-row svg {
  width: 16px;
  height: 16px;
  fill: var(--teal-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links-list a {
  color: #94a3b8;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links-list a::before {
  content: '›';
  color: var(--teal-accent);
  font-weight: 700;
}

.footer-links-list a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* Mandatory Google Ads & Bulgarian E-Commerce Legal Bar */
.footer-legal-bar {
  background: #061527;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  font-size: 0.775rem;
  color: #94a3b8;
  line-height: 1.6;
}

.legal-info-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
}

.legal-info-item strong {
  color: #cbd5e1;
}

.footer-bottom {
  padding: 18px 0;
  font-size: 0.8rem;
  color: #64748b;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.payment-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.725rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   GDPR Cookie Consent Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  border-top: 3px solid var(--teal-ocean);
  z-index: 9999;
  padding: 16px 0;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--teal-ocean);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ==========================================================================
   Catalog, Product Detail & Static Pages Extra Styling
   ========================================================================== */
.page-header {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-primary) 100%);
  color: #ffffff;
  padding: 40px 0;
  margin-bottom: 40px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.825rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

.breadcrumbs a:hover {
  color: #ffffff;
}

.breadcrumbs span.current {
  color: var(--teal-accent);
}

.page-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
}

/* Catalog Layout with Filter Sidebar */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

.filter-sidebar {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  height: fit-content;
}

.filter-group {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 12px;
}

.filter-list li {
  margin-bottom: 8px;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
}

.filter-checkbox-label:hover {
  color: var(--teal-ocean);
}

.filter-checkbox-label input {
  margin-right: 8px;
  accent-color: var(--teal-ocean);
}

/* Product Detail Page Gallery & Tabs */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
  background: #ffffff;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.product-gallery-main {
  height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface-alt);
  margin-bottom: 12px;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-sku {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 6px;
}

.product-detail-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.25;
  margin-bottom: 12px;
}

.stock-tag-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #065f46;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.product-detail-price-box {
  background: var(--bg-surface-alt);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.product-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-top: 16px;
}

.product-spec-table tr {
  border-bottom: 1px solid var(--border-light);
}

.product-spec-table td {
  padding: 10px 0;
}

.product-spec-table td:first-child {
  color: var(--text-muted);
  width: 40%;
}

.product-spec-table td:last-child {
  font-weight: 600;
  color: var(--navy-deep);
}

/* Legal Policy Articles */
.policy-content-card {
  background: #ffffff;
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 60px;
  line-height: 1.8;
  color: #334155;
}

.policy-content-card h2 {
  color: var(--navy-deep);
  font-size: 1.45rem;
  font-weight: 800;
  margin: 32px 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--teal-subtle);
}

.policy-content-card h2:first-child {
  margin-top: 0;
}

.policy-content-card h3 {
  color: var(--navy-light);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 20px 0 8px 0;
}

.policy-content-card p {
  margin-bottom: 16px;
}

.policy-content-card ul {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 18px;
}

.policy-content-card li {
  margin-bottom: 8px;
}

.policy-alert {
  background: #f0f9ff;
  border-left: 4px solid var(--teal-ocean);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  font-size: 0.9rem;
}

/* Thank you page styles */
.thank-you-card {
  max-width: 680px;
  margin: 40px auto 60px auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.thank-you-icon {
  width: 72px;
  height: 72px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.thank-you-icon svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

.order-code-box {
  background: var(--bg-surface-alt);
  border: 2px dashed var(--teal-ocean);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: inline-block;
  margin: 20px 0;
}

.order-code-label {
  font-size: 0.775rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.order-code-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: 1px;
}
