/*
Theme Name: Best Bet Ventures
Theme URI: https://bestbetventures.com
Author: Best Bet Ventures Limited
Author URI: https://bestbetventures.com
Description: Corporate WordPress theme for Best Bet Ventures Limited based on the 2026 Website Blueprint. Features ISONEM product portfolio, multi-language ready structure (English, French, Swahili), modern premium design with navy, emerald and gold branding. Scalable for future product divisions.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bestbet
Tags: corporate, business, custom-logo, custom-menu, featured-images, translation-ready, responsive-layout
*/

/* ==========================================================================
   CSS Variables - Brand Identity
   ========================================================================== */
:root {
  --navy: #0A2540;
  --navy-dark: #06182B;
  --navy-light: #1A3A5C;
  --emerald: #00A86B;
  --emerald-dark: #008C5A;
  --emerald-light: #00C17B;
  --gold: #D4AF37;
  --gold-light: #E8C547;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --light-gray: #F1F5F9;
  --medium-gray: #E2E8F0;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --shadow: 0 4px 6px -1px rgba(10, 37, 64, 0.08), 0 2px 4px -2px rgba(10, 37, 64, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(10, 37, 64, 0.1), 0 4px 6px -4px rgba(10, 37, 64, 0.08);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.25s ease;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --container: 1200px;
  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--emerald-dark);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 0.75em;
}

h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-lg {
  padding: 6rem 0;
}

.bg-light {
  background-color: var(--off-white);
}

.bg-navy {
  background-color: var(--navy);
  color: var(--white);
}

.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 {
  color: var(--white);
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}

.btn-primary:hover {
  background-color: var(--emerald-dark);
  border-color: var(--emerald-dark);
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background-color: var(--navy);
  color: var(--white);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

.site-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo {
  height: 52px;
  width: auto;
}

.site-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.main-navigation a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  border-radius: var(--radius);
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color: var(--emerald);
  background-color: rgba(0, 168, 107, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switcher {
  display: flex;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.lang-switcher a {
  color: var(--text-muted);
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
}

.lang-switcher a.active,
.lang-switcher a:hover {
  color: var(--emerald);
  background: rgba(0, 168, 107, 0.1);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--navy);
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Nav */
@media (max-width: 1024px) {
  .main-navigation {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
  }

  .main-navigation.active {
    display: flex;
  }

  .main-navigation ul {
    flex-direction: column;
    width: 100%;
  }

  .main-navigation a {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
  }

  .menu-toggle {
    display: block;
  }

  .header-actions .btn {
    display: none;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #0D3B2E 100%);
  color: var(--white);
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 30%, rgba(0, 168, 107, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: clamp(2.25rem, 5.5vw, 3.25rem);
}

.hero .tagline {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--emerald-light);
  margin-bottom: 1.25rem;
}

.hero .subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* ==========================================================================
   Cards & Grids
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card-link:hover {
  gap: 0.5rem;
}

/* Product Cards */
.product-card .card-image {
  height: 180px;
  background: linear-gradient(145deg, var(--light-gray), var(--medium-gray));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
}

.product-card .category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--emerald);
  margin-bottom: 0.35rem;
}

/* Feature / Why Us */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(0, 168, 107, 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  font-size: 1.35rem;
}

.feature-item h4 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  margin-bottom: 2.5rem;
  max-width: 700px;
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--emerald);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Industry / Service Blocks
   ========================================================================== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
}

.industry-card:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow);
}

.industry-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.industry-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   CTA Banners
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 1.75rem;
}

.cta-banner .btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* ==========================================================================
   Page Header (inner pages)
   ========================================================================== */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 3.5rem 0 2.75rem;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.page-header .breadcrumb a:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   Content / Prose
   ========================================================================== */
.prose {
  max-width: 800px;
}

.prose h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose h3 {
  margin-top: 1.5rem;
}

.prose ul, .prose ol {
  margin: 1rem 0 1rem 1.5rem;
  list-style: disc;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose ol {
  list-style: decimal;
}

.notice-box {
  background: rgba(0, 168, 107, 0.08);
  border-left: 4px solid var(--emerald);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.warning-box {
  background: rgba(212, 175, 55, 0.12);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

/* ==========================================================================
   Product Detail
   ========================================================================== */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .product-hero {
    grid-template-columns: 1fr;
  }
}

.product-gallery {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 500;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.product-meta span {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  background: rgba(0, 168, 107, 0.1);
  color: var(--emerald);
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: var(--transition);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.15);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.form-check input {
  margin-top: 0.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-brand .tagline-sm {
  color: var(--emerald-light);
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.925rem;
}

.footer-col a:hover {
  color: var(--emerald-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

.footer-langs a {
  margin-right: 0.75rem;
}

/* ==========================================================================
   Misc
   ========================================================================== */
.divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  background: rgba(0, 168, 107, 0.12);
  color: var(--emerald);
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--emerald);
  color: white;
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   Home Slider
   ========================================================================== */
.home-slider {
  position: relative;
  width: 100%;
  height: clamp(480px, 70vh, 720px);
  overflow: hidden;
  background: var(--navy-dark);
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  display: flex;
  align-items: center;
}

.slider-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(6, 24, 43, 0.88) 0%, rgba(10, 37, 64, 0.72) 45%, rgba(10, 37, 64, 0.45) 100%);
  z-index: 1;
}

.slider-slide .container {
  position: relative;
  z-index: 2;
}

.slider-content {
  max-width: 720px;
  color: var(--white);
}

.slider-content h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.slider-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.slider-description p {
  margin-bottom: 0.75rem;
}

.slider-description p:last-child {
  margin-bottom: 0;
}

/* Slider navigation */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(10, 37, 64, 0.5);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.slider-btn:hover {
  background: var(--emerald);
  border-color: var(--emerald);
}

.slider-prev {
  left: 1.25rem;
}

.slider-next {
  right: 1.25rem;
}

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.slider-dot.is-active,
.slider-dot:hover {
  background: var(--gold);
  transform: scale(1.2);
}

/* Fallback hero (when no slides) keeps existing styles */
.hero-fallback {
  /* inherits .hero styles */
}

/* ==========================================================================
   Product Image Slider
   ========================================================================== */
.product-slider {
  position: relative;
  width: 100%;
}

.product-slider-track {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.product-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

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

.product-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-slider-btn:hover {
  background: var(--emerald);
  color: white;
}

.product-slider-btn.prev {
  left: 0.75rem;
}

.product-slider-btn.next {
  right: 0.75rem;
}

.product-slider-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.product-thumb {
  width: 64px;
  height: 64px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: none;
  transition: var(--transition);
  opacity: 0.7;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-thumb.is-active,
.product-thumb:hover {
  border-color: var(--emerald);
  opacity: 1;
}

.product-gallery-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Product card image improvements */
.card-image-link {
  display: block;
  overflow: hidden;
}

.card-image-link img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card-image-link:hover img {
  transform: scale(1.05);
}

.card-image-placeholder {
  height: 220px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Responsive slider adjustments */
@media (max-width: 768px) {
  .home-slider {
    height: auto;
    min-height: 520px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .slider-prev {
    left: 0.5rem;
  }

  .slider-next {
    right: 0.5rem;
  }

  .slider-content h1 {
    font-size: 1.75rem;
  }

  .product-slider-thumbs {
    justify-content: center;
  }
}
