/* =========================================
   2a. Hero Banner (Temporary Offer)
   ========================================= */

.ozg-hero-banner {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.ozg-hero-banner picture,
.ozg-hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================
   2. Hero Section — Figma Matched
   ========================================= */

.ozg-hero {
  position: relative;
  background-image: url('../images/home/homeHero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--oz-white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 580px;
}

/* Figma exact overlay gradient */
.ozg-hero-bg-overlay {
  position: absolute;
  inset: 0;
  /* Solid behind the text column, fading out so the store photo shows on the right */
  background: linear-gradient(90deg, var(--oz-dark) 0%, rgba(39, 62, 88, 0.92) 40%, rgba(39, 62, 88, 0.45) 75%, rgba(39, 62, 88, 0.15) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Main 50/50 two-column grid */
.ozg-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1350px;
  width: 100%;
  margin: 0 auto;
  padding: 56px 40px 40px;
  gap: 0;
  position: relative;
  z-index: 1;
  flex: 1;
}

/* ---- LEFT COLUMN ---- */
.ozg-hero-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-right: 20px;
}

/* Badge */

/* Headline */
.ozg-hero-title {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--oz-white);
  margin: 0;
}

.ozg-hero-title-red {
  color: var(--oz-primary);
  display: block;
}

.ozg-hero-title-accent {
  color: var(--oz-primary);
}

/* Sub-headlines + intro paragraph */
.ozg-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ozg-hero-copy p {
  margin: 0;
}

.ozg-hero-subtitle {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--oz-white);
}

.ozg-hero-tagline {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
}

.ozg-hero-text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin-top: 4px !important;
}

/* CTA Buttons */
.ozg-hero-buttons .ozg-btn-primary,
.ozg-hero-buttons .ozg-btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ozg-btn-arrow {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.ozg-hero-buttons a:hover .ozg-btn-arrow {
  transform: translateX(3px);
}

.ozg-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Horizontal Divider */
.ozg-hero-divider {
  width: 100%;
  max-width: 444px; /* Figma spec: max-width 444px */
  height: 1px;
  background: rgba(255, 255, 255, 0.3); /* Figma spec: #FFFFFF 30% */
  border: none;
}

.ozg-btn-primary {
  background-color: var(--oz-primary);
  color: var(--oz-white) !important;
  text-decoration: none !important;
  font-family: var(--font-body);
  font-size: 11.6px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 12px 24px;
  border-radius: 6px;
  transition: var(--transition-smooth);
  white-space: nowrap;
  line-height: 1;
}

.ozg-btn-primary:hover {
  background-color: var(--oz-primary-hover);
  transform: translateY(-1px);
}

.ozg-btn-secondary-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15); /* Figma spec: 1px #FFFFFF 15% */
  color: rgba(255, 255, 255, 0.55) !important; /* Figma spec: #FFFFFF 55% */
  text-decoration: none !important;
  font-family: var(--font-body);
  font-size: 11.1px; /* Figma spec: 11.1px */
  font-weight: 500; /* Figma spec: Medium (500) */
  letter-spacing: 0px; /* Figma spec: 0% */
  padding: 12px 24px; /* Updated to 12px top/bottom and 24px left/right */
  border-radius: 6px;
  transition: var(--transition-smooth);
  white-space: nowrap;
  line-height: 1;
}

.ozg-btn-secondary-outline:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.06);
}

/* Stats Row */
.ozg-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 4px;
}

.ozg-hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

.ozg-hero-stat:first-child {
  padding-left: 0;
}

.ozg-hero-stat-value {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--oz-white);
  line-height: 1;
}

.ozg-hero-stat-red {
  color: var(--oz-primary) !important; /* Matches Figma bright red var(--oz-primary) exactly */
}

.ozg-hero-stat-value sup {
  font-size: 16px;
  color: var(--oz-primary) !important;
  vertical-align: super;
}

.ozg-hero-stat-label {
  font-family: var(--font-body);
  font-size: 10px; /* Figma spec: Size 10px */
  font-weight: 400; /* Figma spec: Regular */
  color: rgba(255, 255, 255, 0.85); /* Figma spec: #FFFFFF 85% */
  margin-top: 3px;
  line-height: 1;
}

.ozg-hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.3); /* Figma spec: #FFFFFF 30% */
  flex-shrink: 0;
}

/* ---- RIGHT COLUMN (Product Image — 50%) ---- */

/* ---- BOTTOM TRUST BAR ---- */
.ozg-hero-trust-bar {
  width: 100%;
  background: rgba(255, 255, 255, 0.09); /* Figma spec: #FFFFFF 9% */
  border-bottom: 1px solid rgba(39, 62, 88, 0.11); /* Figma spec: 1px bottom border var(--oz-dark) 11% */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
  height: 83px; /* Figma spec: Height 83px */
  box-sizing: border-box;
}

.ozg-hero-trust-container {
  max-width: 1350px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-sizing: border-box;
}

.ozg-hero-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  box-sizing: border-box;
}

.ozg-hero-trust-item:last-child {
  border-right: none;
}

/* Icon Container Box (Figma: width 40, height 40, border-radius 8px, background #FFFFFF40) */
.ozg-hero-trust-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.25); /* Figma spec: #FFFFFF40 */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ozg-hero-trust-icon-box svg,
.ozg-hero-trust-icon-img {
  width: 24px; /* Figma spec: 24px icon size */
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.ozg-hero-trust-icon-box svg {
  color: var(--oz-white);
}

/* ---- Hero: Mobile (768px) ---- */
@media (max-width: 768px) {
  .ozg-hero {
    /* Fill the screen below the header (≈120px); 620px floor for short phones */
    min-height: 620px;
    min-height: max(620px, calc(100svh - 120px));
    text-align: left;
    padding: 0;
    background-position: center;
  }

  .ozg-hero-bg-overlay {
    background: linear-gradient(180deg, rgba(39, 62, 88, 0.95) 0%, rgba(39, 62, 88, 0.82) 100%);
  }

  .ozg-hero-inner {
    grid-template-columns: 1fr;
    align-content: center;
    padding: 56px 20px 44px;
    row-gap: 25px;
    column-gap: 0;
  }

  .ozg-hero-left {
    padding-right: 0;
    gap: 22px;
  }

  .ozg-hero-title {
    font-size: 40px;
    line-height: 1.05;
    letter-spacing: 0.3px;
  }

  .ozg-hero-subtitle {
    font-size: 16px;
  }

  .ozg-hero-tagline,
  .ozg-hero-text {
    font-size: 13.5px;
  }

  .ozg-hero-buttons {
    justify-content: flex-start;
  }

  .ozg-hero-divider {
    max-width: 100%;
  }

  .ozg-hero-stat-value {
    font-size: 24px;
    letter-spacing: 0;
  }

  .ozg-hero-stat-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.85);
  }
}

/* Responsive Trust Bar Mobile Carousel (width < 768px is mobile/tablet breakpoint) */
@media (max-width: 767px) {
  .ozg-hero-trust-bar {
    height: auto;
    padding: 0;
  }

  .ozg-hero-trust-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding: 0;
    scrollbar-width: none;
  }

  .ozg-hero-trust-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
  }

  .ozg-hero-trust-item {
    flex: 0 0 calc(100% / 1.8);
    scroll-snap-align: start;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: none;
    border-radius: 0;
    padding: 12px 16px;
    height: auto;
    box-shadow: none;
  }
}

.ozg-hero-trust-title {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--oz-white);
  line-height: 1.2;
}

.ozg-hero-trust-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.ozg-trust-bar {
  background-color: var(--oz-white);
  padding: 50px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.ozg-trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background-color: var(--oz-white);
  border-left: 3px solid var(--oz-primary);
  transition: var(--transition-smooth);
}

.ozg-trust-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.ozg-trust-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-bg);
  border-radius: 50%;
  color: var(--oz-primary);
  font-size: 20px;
}

.ozg-trust-info {
  display: flex;
  flex-direction: column;
}

.ozg-trust-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--oz-dark);
  margin: 0;
}

.ozg-trust-sub {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 400;
  color: var(--muted-text);
  margin: 0;
}

/* 4. Shop by Department (category carousel) */
.ozg-categories-section {
  padding: 56px 0 64px;
  background: var(--oz-white);
  overflow: hidden;
}

.ozg-categories-carousel-outer {
  width: 100%;
}

.ozg-cat-swiper {
  overflow: hidden;
  padding: 4px 2px 8px; /* room for the card shadow and hover lift */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ozg-cat-swiper.swiper-initialized {
  opacity: 1;
}

.ozg-cat-swiper .swiper-slide {
  height: auto;
  display: flex;
}

/* ---- Department card (matches the product card look) ---- */
.ozg-dept-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--oz-white);
  border: 1px solid #ECEDEF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(21, 25, 29, 0.06);
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ozg-dept-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(21, 25, 29, 0.12);
}

/* Image is ALWAYS square, whatever shape the uploaded photo is */
.ozg-dept-img {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: #F1F2F4;
  overflow: hidden;
}

.ozg-dept-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  transition: transform 0.35s ease;
}

.ozg-dept-card:hover .ozg-dept-img img {
  transform: scale(1.05);
}

/* No image at all: branded tile with the department's initial */
.ozg-dept-img--empty {
  background: linear-gradient(135deg, var(--oz-dark) 0%, var(--oz-black) 100%);
}

.ozg-dept-initial {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  color: var(--oz-primary);
}

.ozg-dept-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-grow: 1;
  padding: 14px 16px 16px;
}

.ozg-dept-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ozg-dept-name {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--oz-black);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ozg-dept-count {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #6B7280;
}

.ozg-dept-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #D4D7DC;
  color: var(--oz-black);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ozg-dept-card:hover .ozg-dept-arrow {
  background: var(--oz-primary);
  border-color: var(--oz-primary);
  color: var(--oz-white);
  transform: translateX(2px);
}

/* Carousel pagination dots — hidden on desktop, shown on mobile */
.ozg-cat-pagination {
  display: none !important;
  position: static !important;
  margin-top: 18px;
  justify-content: center;
  align-items: center;
}

.ozg-cat-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #D4D7DC;
  opacity: 1;
  border-radius: 999px;
  margin: 0 4px;
  transition: background 0.2s ease, width 0.2s ease;
}

.ozg-cat-pagination .swiper-pagination-bullet-active {
  width: 22px;
  background: var(--oz-primary);
}

@media (max-width: 767px) {
  .ozg-categories-section {
    padding: 40px 0 44px;
  }

  .ozg-cat-pagination {
    display: flex !important;
  }

  .ozg-dept-name {
    font-size: 17px;
  }

  .ozg-dept-arrow {
    width: 34px;
    height: 34px;
  }

  .ozg-dept-initial {
    font-size: 64px;
  }
}

.ozg-verif-accent {
  color: var(--oz-primary);
}

/* Shared section header helpers (used by Products, Comparison, etc.) */
.ozg-section-header {
  margin-bottom: 40px;
}

.ozg-section-badge {
  display: inline-block;
  background-color: rgba(39, 62, 88, 0.05);
  color: var(--oz-dark);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 1.2px;
  padding: 6px 8px;
  border-radius: 17px;
  margin-bottom: 10px;
}

.ozg-section-title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--oz-dark);
  margin: 0;
}

/* 6. Product Grid Section */
.ozg-products-section {
  padding: 80px 0;
  background-color: var(--oz-white);
}

/* Product card styles → moved to assets/css/products.css (globally loaded) */

.ozg-products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.ozg-products-viewall {
  border: 1px solid var(--oz-primary);
  color: var(--oz-primary);
  background-color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  padding: 8px 21px 8px 16px;
  border-radius: 6px;
  width: 182px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  transition: var(--transition-smooth);
}

.ozg-products-viewall:hover {
  background-color: var(--oz-primary);
  color: var(--oz-white);
}

.ozg-products-viewall:hover svg path {
  fill: #FFFFFF;
}

.ozg-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 7. Comparison Table */

/* Header */

/* Body cells */

/* No bottom border on last row — wrapper border handles it */

/* Highlighted (Ozgalore) column body cells */

/* Category label column */

/* Status items — icon + text rows */
.ozg-table-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 100%;
}

.ozg-status-green  { color: var(--success-green); }
.ozg-status-red    { color: var(--oz-primary); }
.ozg-status-orange { color: var(--oz-secondary); }
.ozg-status-muted  { color: var(--muted-text); }

/* "Limited" badge */
.ozg-status-limited {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 400;
  color: var(--oz-primary);
  line-height: 100%;
}

/* ---- Comparison table: mobile accordion ---- */

@media (max-width: 768px) {

  /* Hide all company columns by default on mobile */

  /* Show the active column */

  /* Make company headers look like toggles */

  /* Always show all headers in a row below each other on mobile */

  /* Rotate arrow when active */

  /* Restore table layout for body rows */

  /* Categories column becomes labels on mobile */
}

/* 8. Discreet Shipping & Hours */
.ozg-shipping-hours-section {
  background: var(--oz-dark);
  color: var(--oz-white);
  padding: 80px 0;
}

.ozg-shipping-hours-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.ozg-shipping-badge {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.ozg-shipping-badge-icon {
  font-size: 32px;
  color: var(--oz-primary);
}

.ozg-shipping-badge-title {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--oz-white);
}

.ozg-shipping-badge-desc {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
}

.ozg-hours-card {
  background-color: var(--oz-white);
  color: var(--oz-dark);
  border-radius: var(--border-radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.ozg-hours-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.ozg-hours-icon {
  color: var(--oz-primary);
  font-size: 18px;
}

.ozg-hours-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.ozg-hours-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ozg-hours-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 12px;
}

.ozg-hours-day {
  font-weight: 300;
  color: var(--oz-dark);
}

.ozg-hours-time {
  font-weight: 500;
  color: var(--oz-dark);
}

/* ---- Section padding & spacing: Mobile (768px) ---- */
@media (max-width: 768px) {
  .ozg-products-section,
  .ozg-shipping-hours-section {
    padding: 30px 0;
  }

  /* Universal container side padding on mobile */
  .container-custom,
  .ozg-header-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Mobile accordion */

  /* All section headers & internal margins */
  .ozg-section-header {
    margin-bottom: 20px;
  }

  .ozg-products-header {
    margin-bottom: 20px;
  }

  .ozg-section-title {
    font-size: 22px; /* minimum size for section titles */
    line-height: 1.15;
  }

  .ozg-products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .ozg-shipping-hours-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ozg-products-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 12px;
  }

  .ozg-products-viewall {
    padding: 7px 13px;
    width: auto;
    height: auto;
    white-space: nowrap;
    justify-self: end;
  }

  .ozg-products-viewall svg {
    width: 10px;
    height: 10px;
  }

  .ozg-section-badge {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--oz-dark);
    line-height: 1;
  }
}
