/* ========================================
   FONT SETUP — QUESRIAL FAMILY
   ======================================== */

/* 1. Import the font (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');

/* 2. Apply globally */
:root {
  --font-primary: 'Questrial', sans-serif;
}

/* 3. Universal font inheritance */
html, body {
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 4. Apply to all text elements for consistency */
h1, h2, h3, h4, h5, h6,
p, a, span, button, input, textarea, select,
label, li, strong, em {
  font-family: var(--font-primary);
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Optional — ensure consistent button and form look */
button, input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
}

/* Optional — headings styling (optional visual tuning) */
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.2px;
}

/* ========================================
   4. ANNOUNCEMENT BAR - Updated Color Scheme
   ======================================== */
.announcement-bar {
  /* Local Variables */
  --primary: #1F6F78; /* Changed from brown #b58151 to teal */
  --white: #ffffff;
  --font-primary: 'Questrial', sans-serif;
  font-family: var(--font-primary);
  background: var(--primary);
  color: var(--white);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  z-index: 100;
  width: 100%;
}

/* Scrolling Content */
.announcement-content {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: scroll-seamless 20s linear infinite;
}

.announcement-content p {
  margin: 0;
  padding: 0 50px;
  display: inline-block;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-family: var(--font-primary);
  color: var(--white);
}

/* Divider Between Messages */
.announcement-content p::after {
  content: '|';
  margin-left: 50px;
  color: rgba(255, 255, 255, 0.6);
}

.announcement-content p:last-child::after {
  content: '';
}

/* Scroll Animation */
@keyframes scroll-seamless {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

/* Hover Effect: Pause Animation */
.announcement-bar:hover .announcement-content {
  animation-play-state: paused;
}

/* ------------------------------
   Responsive Styles
------------------------------ */
/* Tablets and Mobiles */
@media (max-width: 768px) {
  .announcement-bar {
    padding: 10px 0; /* slightly thicker */
  }
  .announcement-content p {
    padding: 0 30px;
    font-size: 13px;
  }
  .announcement-content p::after {
    margin-left: 30px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .announcement-bar {
    padding: 10px 0; /* increased from 6px → 10px for thicker look */
  }
  .announcement-content p {
    padding: 0 24px;
    font-size: 12px;
    letter-spacing: 0.3px;
  }
  .announcement-content p::after {
    margin-left: 24px;
  }
}

/* ========================================
   7. CATEGORY CAROUSEL SECTION
   ======================================== */

.category-carousel {
  /* Local Variables */
  --primary: #b58151;
  --white: #ffffff;
  --black: #000000;
  --gray: #6B7280;
  --border: #e6e6e6;
  --font-primary: 'Questrial', sans-serif;

  position: relative;
  width: 100%;
  padding: 48px 0 24px 0;
  background: var(--white);
  font-family: var(--font-primary);
}

/* Wrapper */
.category-carousel .carousel-wrapper {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 80px;
}

/* Horizontal Scroll Container */
#category-container.carousel-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  padding: 8px 0 12px 0;
  justify-content: flex-start;
}

#category-container.carousel-container::-webkit-scrollbar {
  display: none;
}

/* Category Card */
.category-item-link {
  flex: 0 0 auto;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  display: block;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 120px;
  padding: 4px;
}

/* Category Image - SQUARE with rounded corners */
.category-icon {
  width: 120px;
  height: 120px; /* Changed to match width for 1:1 ratio */
  border-radius: 20px; /* Rounded corners */
  overflow: hidden;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04),
              0 1px 4px rgba(0, 0, 0, 0.06);
  border: 0.5px solid var(--black); /* Very thin black border */
  transition: all 0.3s ease;
}

.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Category Name */
.category-item span {
  font-size: 0.95rem;
  font-weight: 500;
  color: #111111;
  text-align: center;
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 140px;
}

/* Navigation Arrows */
.category-carousel .carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  color: var(--primary);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.category-carousel .carousel-nav:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.05);
}

#category-nav-prev {
  left: 20px;
}

#category-nav-next {
  right: 20px;
}

/* Disabled Arrow */
.category-carousel .carousel-nav.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ------------------------------
   Unified Navigation Dots (Testimonials Style)
------------------------------ */

.category-carousel .carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 0;
}

.category-carousel .carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #E5E7EB;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-carousel .carousel-dot:hover {
  background: var(--primary);
  transform: scale(1.2);
}

.category-carousel .carousel-dot.active {
  background: var(--primary);
  width: 32px;
  height: 12px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(181, 129, 81, 0.3);
}

/* ------------------------------
   Responsive Styles
------------------------------ */

/* Tablets (768px–1023px) */
@media (max-width: 1023px) {
  .category-carousel .carousel-wrapper {
    padding: 0 40px;
  }

  .category-icon {
    width: 100px;
    height: 100px; /* Maintain 1:1 ratio */
    border: 0.5px solid var(--black); /* Very thin black border */
  }

  #category-container.carousel-container {
    gap: 16px;
  }

  .category-carousel .carousel-nav {
    width: 48px;
    height: 48px;
  }
}

/* Mobiles (max 767px) */
@media (max-width: 767px) {
  .category-carousel {
    padding: 24px 0 0 0;
  }

  .category-carousel .carousel-wrapper {
    padding: 0 20px;
  }

  .category-icon {
    width: 92px;
    height: 92px; /* Maintain 1:1 ratio */
    border: 0.5px solid var(--black); /* Very thin black border */
  }

  #category-container.carousel-container {
    gap: 12px;
  }

  .category-carousel .carousel-nav {
    display: none !important;
  }

  .category-item span {
    font-size: 0.875rem;
  }
}

/* Small Mobiles (max 480px) */
@media (max-width: 480px) {
  .category-carousel .carousel-wrapper {
    padding: 0 16px;
  }

  .category-icon {
    width: 84px;
    height: 84px; /* Maintain 1:1 ratio */
    border: 0.5px solid var(--black); /* Very thin black border */
  }

  #category-container.carousel-container {
    gap: 8px;
  }

  .category-item {
    min-width: 90px;
  }

  .category-item span {
    font-size: 0.825rem;
    max-width: 100px;
  }
}
/* ========================================
   HERO SLIDER - Updated with Matching Ratios
   ======================================== */
.hero-slider {
    position: relative;
    width: 100%;
    margin: 8px 0;
    padding: 0 16px;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    
    /* Desktop ratio maintained across all devices */
    aspect-ratio: 21/8;
}

.slide-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
    display: block;
}

.slide {
    position: relative;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Desktop Image - Default */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slide .desktop-image {
    display: block;
}

.slide .mobile-image {
    display: none;
}

/* ========================================
   NAVIGATION DOTS
   ======================================== */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
}

/* Inactive Dot */
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E5E7EB;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover Effect */
.dot:hover {
    background: #1F6F78;
    transform: scale(1.2);
}

/* Active Dot */
.dot.active {
    width: 32px;
    height: 12px;
    border-radius: 6px;
    background: #1F6F78;
    box-shadow: 0 2px 4px rgba(31, 111, 120, 0.2);
}

/* ========================================
   RESPONSIVE OPTIMIZATIONS
   IMPORTANT: All breakpoints maintain 21/8 aspect ratio
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-slider {
        padding: 0 24px;
    }
    
    .slider-container {
        aspect-ratio: 21/8; /* Same as desktop */
        border-radius: 14px;
    }
}

/* Mobile - Switch to Mobile Images BUT Keep Desktop Ratio */
@media (max-width: 768px) {
    .hero-slider {
        padding: 0 12px;
        margin: 6px 0;
    }
    
    .slider-container {
        aspect-ratio: 21/8; /* KEPT: Same as desktop for consistency */
        border-radius: 12px;
    }
    
    /* Hide desktop, show mobile images */
    .slide .desktop-image {
        display: none;
    }
    
    .slide .mobile-image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .slider-dots {
        padding: 14px 0;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .hero-slider {
        padding: 0 8px;
    }
    
    .slider-container {
        aspect-ratio: 21/8; /* Same as desktop */
        border-radius: 10px;
    }
    
    .slider-dots {
        gap: 8px;
        padding: 12px 0;
    }
}

/* Very Small Mobile */
@media (max-width: 400px) {
    .slider-container {
        aspect-ratio: 21/8; /* Same as desktop */
        border-radius: 8px;
    }
}

/* ========================================
   OPTIONAL: PORTRAIT JEWELRY OPTIMIZATION
   If mobile images are portrait-oriented
   ======================================== */
@media (max-width: 768px) {
    .slide .mobile-image.portrait-jewelry {
        object-fit: cover;
        object-position: center top;
    }
}

/* ========================================
   LOADING OPTIMIZATION
   Prevent layout shift while images load
   ======================================== */
.slide img {
    background: #f5f5f5;
}
/* Mobile - Increased Height */
@media (max-width: 768px) {
    .slider-container {
        height: 460px; /* Increased from 400px */
    }
}

/* Small Mobile - Increased Height */
@media (max-width: 576px) {
    .slider-container {
        height: 420px; /* Increased from 360px */
    }
}

/* Very Small Mobile - Increased Height */
@media (max-width: 400px) {
    .slider-container {
        height: 380px; /* Increased from 320px */
    }
}

/* ========================================
   SHOP BY COLLECTION SECTION - GRID LAYOUT
   ======================================== */
.shop-by-collection {
    padding: 60px 0;
    background: #ffffff;
}

/* Section Header */
.shop-by-collection .section-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 20px;
}

.shop-by-collection .section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1A1D1F;
    margin: 0;
}

/* ========================================
   COLLECTIONS GRID STRUCTURE
   ======================================== */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row on desktop */
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   COLLECTION CARD
   ======================================== */
.collection-card {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    outline: none;
    border: 1px solid #D1D5DB; /* Same as product cards - 1px solid #D1D5DB */
    transition: all 0.3s ease;
}

.collection-card:hover {
    border-color: #D1D5DB; /* Keep same border color on hover */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* Image Container - 1:1 Square Ratio */
.collection-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* 1:1 square ratio */
    background: #F8F8F8;
    overflow: hidden;
    border-radius: 16px;
    outline: none;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.collection-card:hover .collection-image img {
    transform: scale(1.05);
}

/* ========================================
   RESPONSIVE BEHAVIOR
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .shop-by-collection {
        padding: 48px 0;
    }

    .shop-by-collection .section-header h2 {
        font-size: 2rem;
    }

    .collections-grid {
        grid-template-columns: repeat(3, 1fr); /* Still 3 on tablet */
        gap: 20px;
        padding: 0 16px;
    }

    .collection-card {
        border: 1px solid #D1D5DB; /* Same as product cards */
    }
}

/* Mobile - 2 cards per row */
@media (max-width: 768px) {
    .shop-by-collection {
        padding: 40px 0;
    }

    .shop-by-collection .section-header {
        margin-bottom: 32px;
        padding: 0 16px;
    }

    .shop-by-collection .section-header h2 {
        font-size: 1.75rem;
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row on mobile */
        gap: 16px;
        padding: 0 16px;
    }

    .collection-card {
        border-radius: 12px;
        border: 1px solid #D1D5DB; /* Same as product cards */
    }

    .collection-image {
        border-radius: 12px;
    }
}

/* Very small mobile - Still 2 cards per row */
@media (max-width: 480px) {
    .shop-by-collection .section-header h2 {
        font-size: 1.5rem;
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px;
    }

    .collection-card {
        border: 1px solid #D1D5DB; /* Same as product cards */
    }
}

/* Extra small mobile - Switch to 1 card per row */
@media (max-width: 360px) {
    .collections-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */

/* Focus visible for keyboard navigation */
.collection-card:focus-visible {
    outline: 2px solid #b58151;
    outline-offset: 2px;
}

.collection-card:focus {
    outline: none;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .collection-card {
        transition: none;
    }
    
    .collection-card:hover {
        transform: none;
    }
    
    .collection-card:hover .collection-image img {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .collection-card {
        border: 2px solid #1A1D1F;
    }
}
/* ========================================
   WATCH & SHOP SECTION - INSTAGRAM REELS
   ======================================== */

.watch-shop-section {
    padding: 60px 0;
    background: #ffffff;
}

.watch-shop-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px; /* Extra padding for external arrows */
    position: relative;
}

/* Section Header */
.section-header-centered {
    text-align: center;
    margin-bottom: 48px;
}

.section-header-centered h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1A1D1F;
    margin-bottom: 12px;
}

.section-header-centered p {
    font-size: 1.125rem;
    color: #6B7280;
    margin: 0;
}

/* ========================================
   REELS CAROUSEL STRUCTURE
   ======================================== */

.reels-carousel {
    position: relative;
    width: 100%;
}

.reels-viewport {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.reels-track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   REEL SLIDE & CARD
   ======================================== */

.reel-slide {
    flex: 0 0 calc((100% - 48px) / 3); /* 3 slides per view on desktop */
    max-width: calc((100% - 48px) / 3);
}

.reel-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ========================================
   VIDEO MEDIA CONTAINER
   ======================================== */

.reel-media {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16; /* Instagram Reels aspect ratio */
    background: #000000;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    outline: none;
}

.reel-video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* No cropping - centered */
    object-position: center;
    display: block;
    background: #000000;
    outline: none;
}

/* ========================================
   PLAY/PAUSE OVERLAY BUTTON
   ======================================== */

.video-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 1;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

.video-controls.fade-out {
    opacity: 0;
}

.play-pause-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    color: #1A1D1F;
}

.play-pause-btn:active {
    transform: scale(0.95);
}

/* Icon visibility toggle */
.play-pause-btn .play-icon,
.play-pause-btn .pause-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
}

.play-pause-btn .pause-icon {
    display: none;
}

.play-pause-btn.playing .play-icon {
    display: none;
}

.play-pause-btn.playing .pause-icon {
    display: flex;
}

/* ========================================
   REEL DESCRIPTION
   ======================================== */

.reel-description {
    padding: 16px;
    background: #ffffff;
    border-radius: 0 0 16px 16px;
}

.reel-description p {
    margin: 0;
    font-size: 0.875rem;
    color: #6B7280;
    line-height: 1.5;
}

/* ========================================
   NAVIGATION ARROWS
   ======================================== */

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #E5E7EB;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: #1A1D1F;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-btn:hover:not(:disabled) {
    background: #b58151;
    color: #ffffff;
    border-color: #b58151;
    transform: translateY(-50%) scale(1.05);
}

.nav-btn:active:not(:disabled) {
    background: #a67145;
    transform: translateY(-50%) scale(0.95);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-btn.prev {
    left: -60px;
}

.nav-btn.next {
    right: -60px;
}

.nav-btn i {
    font-size: 18px;
}
    

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========================================
   NAVIGATION DOTS (Testimonial Style)
   ======================================== */

.reels-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 48px; /* More space from reels */
    padding: 0;
}

/* Inactive Dot */
.reels-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E5E7EB;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

/* Active Dot */
.reels-dots button.active {
    width: 32px;
    height: 12px;
    border-radius: 6px;
    background: #b58151;
}

.reels-dots button:focus-visible {
    outline: 2px solid #b58151;
    outline-offset: 2px;
}

/* ========================================
   RESPONSIVE BEHAVIOR
   ======================================== */

/* Tablet (3 slides per view) */
@media (max-width: 1024px) {
    .watch-shop-section {
        padding: 48px 0;
    }

    .section-header-centered h2 {
        font-size: 2rem;
    }

    .reels-track {
        gap: 20px;
    }

    .reel-slide {
        flex: 0 0 calc((100% - 40px) / 3);
        max-width: calc((100% - 40px) / 3);
    }

    .nav-btn.prev {
        left: -16px;
    }

    .nav-btn.next {
        right: -16px;
    }

    .reels-dots {
        gap: 10px;
    }
}

/* Mobile (2 slides per view) */
@media (max-width: 768px) {
    .watch-shop-section {
        padding: 40px 0;
    }

    .watch-shop-container {
        padding: 0 16px; /* Normal padding on mobile */
    }

    .section-header-centered {
        margin-bottom: 32px;
    }

    .section-header-centered h2 {
        font-size: 1.75rem;
    }

    .section-header-centered p {
        font-size: 1rem;
    }

    .reels-track {
        gap: 16px;
    }

    .reel-slide {
        flex: 0 0 calc((100% - 16px) / 2); /* 2 slides per view */
        max-width: calc((100% - 16px) / 2);
    }

    .reel-card {
        border-radius: 12px;
    }

    .reel-media {
        border-radius: 12px;
    }

    .reel-description {
        border-radius: 0 0 12px 12px;
    }

    /* Hide navigation arrows on mobile */
    .nav-btn {
        display: none;
    }

    .reels-dots {
        gap: 8px;
        margin-top: 32px;
    }

    .play-pause-btn {
        width: 44px;
        height: 44px;
    }
}

/* Very small mobile */
@media (max-width: 480px) {
    .section-header-centered h2 {
        font-size: 1.5rem;
    }

    .reel-description {
        padding: 12px;
        border-radius: 0 0 10px 10px;
    }

    .reel-description p {
        font-size: 0.8125rem;
    }

    .play-pause-btn {
        width: 40px;
        height: 40px;
        bottom: 16px;
    }

    .play-pause-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   TOUCH DEVICE OPTIMIZATION
   ======================================== */

@media (hover: none) and (pointer: coarse) {
    /* Touch devices: show controls on tap */
    .video-controls {
        opacity: 0;
    }

    .reel-media:active .video-controls {
        opacity: 1;
    }
}

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */

/* Focus visible for keyboard navigation */
.reel-card:focus-visible {
    outline: none;
}

.reel-card:focus-within {
    outline: none;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .reels-track {
        transition: none;
    }

    .reel-card {
        transition: none;
    }

    .play-pause-btn {
        transition: none;
    }

    .video-controls {
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .reel-card {
        border: 2px solid #1A1D1F;
    }

    .play-pause-btn {
        border: 2px solid #1A1D1F;
    }
}

/* --- Follow Our Journey Section --- */
.follow-our-journey {
    background: #F7F8FA;
    padding: 60px 20px;
    text-align: center;
    margin: 40px 0;
}

/* Section Header */
.follow-our-journey .section-header {
    margin-bottom: 30px;
}

.follow-our-journey .section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1A1D1F;
    margin-bottom: 10px;
}

.follow-our-journey .section-header p {
    font-size: 1rem;
    color: #6B7280;
    margin: 0;
}

/* --- Image Grid --- */
.follow-our-journey .image-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 30px;
    flex-wrap: nowrap;
    overflow: visible; /* fixed: prevents image cropping */
    padding: 10px 30px; /* added side padding to avoid edge cut */
    box-sizing: border-box;
}

/* Image Items */
.follow-our-journey .image-item {
    width: 230px;
    height: 230px;
    border-radius: 30%;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.follow-our-journey .image-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.follow-our-journey .image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Follow Button --- */
.follow-our-journey .follow-button {
    display: inline-block;
    padding: 14px 30px;
    background: #F2173A;
    color: #fff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(242, 23, 58, 0.3);
    transition: all 0.3s ease;
}

.follow-our-journey .follow-button:hover {
    background: #D11535;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(242, 23, 58, 0.4);
}

/* --- Mobile View --- */
@media (max-width: 768px) {
    .follow-our-journey .image-grid {
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        padding: 10px 15px;
        justify-content: flex-start;
    }

    .follow-our-journey .image-grid::-webkit-scrollbar {
        display: none;
    }

    .follow-our-journey .image-item {
        width: 150px;
        height: 150px;
    }

    .follow-our-journey .section-header h2 {
        font-size: 1.5rem;
    }

    .follow-our-journey .section-header p {
        font-size: 0.9rem;
    }

    .follow-our-journey .follow-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* --- Small Mobile --- */
@media (max-width: 480px) {
    .follow-our-journey {
        padding: 40px 15px;
    }

    .follow-our-journey .image-grid {
        gap: 12px;
        padding: 10px 18px;
    }

    .follow-our-journey .image-item {
        width: 130px;
        height: 130px;
    }

    .follow-our-journey .section-header h2 {
        font-size: 1.4rem;
    }

    .follow-our-journey .follow-button {
        padding: 10px 22px;
        font-size: 0.85rem;
    }
}
/* --- Optimized Social Buttons (Auto Width by Text) --- */
.follow-our-journey .social-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.follow-our-journey .social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    letter-spacing: 0.2px;
    white-space: nowrap;
    min-width: max-content; /* ensures width follows text */
}

/* Icons */
.follow-our-journey .social-button i {
    font-size: 1.1rem;
}

/* Instagram Button */
.follow-our-journey .social-button.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.follow-our-journey .social-button.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(220, 39, 67, 0.4);
}

/* Facebook Button */
.follow-our-journey .social-button.facebook {
    background: #1877F2;
    color: #fff;
}

.follow-our-journey .social-button.facebook:hover {
    background: #145DBF;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(24, 119, 242, 0.4);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .follow-our-journey .social-buttons {
        gap: 12px;
        margin-top: 22px;
    }

    .follow-our-journey .social-button {
        padding: 10px 24px;
        font-size: 0.9rem;
        border-radius: 36px;
    }

    .follow-our-journey .social-button i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .follow-our-journey .social-buttons {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .follow-our-journey .social-button {
        padding: 9px 20px;
        font-size: 0.88rem;
        border-radius: 30px;
        min-width: max-content;
    }
}

/* ===============================
   STEAL DEAL OFFERS SECTION CSS
   =============================== */

/* ===== CSS VARIABLES ===== */
:root {
  --accent: #b58151;
  --dot-inactive: #E5E7EB;
  --card-radius: 16px;
  --card-radius-large: 24px;
  --surface: #ffffff;
  --dot-size: 12px;
  --dot-active-width: 32px;
  --dot-height: 12px;
}

/* ===== VISUALLY HIDDEN HELPER ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== BASE SECTION STRUCTURE ===== */
.steal-deal-section {
  background-color: #ffffff; /* WHITE BACKGROUND */
  padding: 2rem 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.steal-deal-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  padding: 0 1rem;
}

.steal-deal-heading {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
}

/* ===== SLIDER WRAPPER ===== */
.steal-deal-slider-wrapper {
  width: 100%;
  position: relative;
  padding: 0;
}

/* ===== VIEWPORT - CRITICAL FOR PROPER CONTAINMENT ===== */
.steal-deal-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 16px;
  background: var(--surface);
}

/* ===== TRACK - HOLDS ALL SLIDES ===== */
.steal-deal-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  touch-action: pan-y pinch-zoom;
}

/* ===== SLIDE STYLES - CONSISTENT RATIO ===== */
.steal-deal-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9; /* SAME RATIO FOR ALL VIEWS */
}

.steal-deal-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* ===== IMAGE STYLES - PROPERLY CONTAINED ===== */
.steal-deal-desktop-image,
.steal-deal-mobile-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover to fill container */
  object-position: center;
  display: block;
}

.steal-deal-desktop-image {
  display: none;
}

.steal-deal-mobile-image {
  display: block;
}

/* ===== NAVIGATION BUTTONS ===== */
.steal-deal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #E5E7EB;
  cursor: pointer;
  display: none; /* Hidden on mobile by default */
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: #1A1D1F;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.steal-deal-nav:hover:not(:disabled) {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 12px rgba(181, 129, 81, 0.3);
}

.steal-deal-nav:active:not(:disabled) {
  transform: translateY(-50%) scale(0.95);
}

.steal-deal-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.steal-deal-prev {
  left: 10px;
}

.steal-deal-next {
  right: 10px;
}

.steal-deal-nav i {
  font-size: 20px;
}

/* ===== DOTS NAVIGATION ===== */
.steal-deal-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 1.5rem;
  padding: 0;
}

.steal-deal-dot {
  width: var(--dot-size);
  height: var(--dot-height);
  background-color: var(--dot-inactive);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  padding: 0;
}

.steal-deal-dot.active {
  width: var(--dot-active-width);
  background-color: var(--accent);
  border-radius: 6px;
}

.steal-deal-dot:hover:not(.active) {
  background-color: #D1D5DB;
}

.steal-deal-dot:focus-visible {
  outline: 3px solid rgba(181, 129, 81, 0.3);
  outline-offset: 2px;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

/* Mobile Portrait (< 480px) */
@media (max-width: 479px) {
  .steal-deal-section {
    padding: 1.5rem 0;
  }
  
  .steal-deal-container {
    padding: 0 0.75rem;
  }
  
  .steal-deal-heading {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .steal-deal-viewport {
    border-radius: 12px;
  }
  
  .steal-deal-slide {
    aspect-ratio: 16 / 9; /* SAME 16:9 RATIO */
  }
}

/* Mobile Landscape & Tablet (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
  .steal-deal-viewport {
    border-radius: 16px;
  }
  
  .steal-deal-slide {
    aspect-ratio: 16 / 9; /* SAME 16:9 RATIO */
  }
}

/* Tablet styles (≥ 768px) */
@media (min-width: 768px) {
  .steal-deal-section {
    padding: 3rem 0;
  }
  
  .steal-deal-container {
    padding: 0 2rem;
  }
  
  .steal-deal-slider-wrapper {
    padding: 0 60px; /* Space for nav buttons */
  }
  
  .steal-deal-viewport {
    border-radius: var(--card-radius-large);
  }
  
  .steal-deal-slide {
    aspect-ratio: 16 / 9; /* SAME 16:9 RATIO */
  }
  
  .steal-deal-desktop-image {
    display: block;
  }
  
  .steal-deal-mobile-image {
    display: none;
  }
  
  /* Show navigation buttons on tablet and up */
  .steal-deal-nav {
    display: flex;
  }
  
  .steal-deal-dots {
    margin-top: 2rem;
    gap: 10px;
  }
}

/* Desktop styles (≥ 992px) */
@media (min-width: 992px) {
  .steal-deal-slide {
    aspect-ratio: 16 / 9; /* SAME 16:9 RATIO */
  }
  
  .steal-deal-heading {
    font-size: 2.5rem;
    margin-bottom: 3rem;
  }
  
  .steal-deal-slider-wrapper {
    padding: 0 70px;
  }
}

/* Large desktop styles (≥ 1200px) */
@media (min-width: 1200px) {
  .steal-deal-slider-wrapper {
    padding: 0 80px;
  }
  
  .steal-deal-prev {
    left: 10px;
  }
  
  .steal-deal-next {
    right: 10px;
  }
  
  .steal-deal-slide {
    aspect-ratio: 16 / 9; /* SAME 16:9 RATIO */
  }
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 1) {
  .steal-deal-slide::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* 16:9 ratio fallback */
  }
  
  .steal-deal-slide-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .steal-deal-track {
    transition: none;
  }
  
  .steal-deal-nav {
    transition: none;
  }
  
  .steal-deal-dot {
    transition: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .steal-deal-viewport {
    border: 2px solid #1A1D1F;
  }
  
  .steal-deal-nav {
    border: 2px solid #1A1D1F;
  }
}
/* ===================================
   TESTIMONIALS SECTION STYLES
   Designed for Kaanipa Jewels
   Fixed Card Size + Responsive Layout
   Primary Color: #1F6F78
   Background: #F7F8FA
   =================================== */

/* Main Section Container */
.testimonials-section {
    padding: 80px 20px;
    background: #F7F8FA;
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Header */
.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-center h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}

.section-header-center p {
    font-size: 1.1rem;
    color: #6B7280;
    font-family: 'Poppins', sans-serif;
}

/* Carousel Wrapper */
.testimonials-carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto 40px;
    height: 420px;
}

.testimonials-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Individual Slide */
.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    height: 100%;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
    z-index: 2;
}

/* Testimonial Card */
.testimonial-card-front {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #F3F4F6;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-card-front:hover {
    box-shadow: 0 20px 60px rgba(31, 111, 120, 0.12);
}

/* Quote Icon */
.quote-icon {
    position: absolute;
    top: -20px;
    left: 40px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1F6F78 0%, #1F6F78 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(31, 111, 120, 0.3);
}

/* Rating */
.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 24px;
}

.testimonial-rating .fa-star {
    font-size: 20px;
}

.testimonial-rating .fa-star.filled {
    color: #FFC107;
}

.testimonial-rating .fa-star.empty {
    color: #E5E7EB;
}

/* Review Text */
.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4B5563;
    text-align: center;
    margin-bottom: 32px;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Author Section */
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1F6F78;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1A1D1F;
    margin-bottom: 4px;
    font-family: 'Poppins', sans-serif;
}

.author-location {
    font-size: 0.9rem;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
}

.author-location i {
    color: #1F6F78;
    font-size: 0.85rem;
}

/* Navigation Arrows */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #FFFFFF;
    border: 2px solid #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #6B7280;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.testimonial-nav:hover {
    background: #1F6F78;
    border-color: #1F6F78;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.testimonial-prev {
    left: -70px;
}

.testimonial-next {
    right: -70px;
}

/* Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E5E7EB;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-dot:hover {
    background: #1F6F78;
    transform: scale(1.2);
}

.testimonial-dot.active {
    background: #1F6F78;
    width: 32px;
    border-radius: 6px;
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */

@media (max-width: 1024px) {
    .testimonial-prev {
        left: 10px;
    }
    .testimonial-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 16px;
    }

    .section-header-center h2 {
        font-size: 1.8rem;
    }
    
    .section-header-center p {
        font-size: 0.95rem;
    }

    .testimonials-carousel-wrapper {
        height: 420px;
    }

    .testimonial-card-front {
        padding: 40px 24px;
    }

    .testimonial-text {
        font-size: 1rem;
    }
    
    .author-photo {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 50px 12px;
    }

    .section-header-center h2 {
        font-size: 1.5rem;
    }
    
    .section-header-center p {
        font-size: 0.9rem;
    }

    .testimonials-carousel-wrapper {
        height: 420px;
    }

    .testimonial-card-front {
        padding: 35px 20px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-info {
        text-align: center;
    }
    
    .author-location {
        justify-content: center;
    }

    .testimonial-prev,
    .testimonial-next {
        display: none;
    }
}

/* ================================
   FAQ SECTION - Kaanipa Jewels
   Modern Rounded Aesthetic
   Primary Color: #1F6F78
   ================================ */

:root {
    --faq-primary: #1F6F78;
    --faq-primary-rgba-08: rgba(31, 111, 120, 0.08);
    --faq-open-bg: #f0f7f8;
    --faq-open-bg-hover: #e8f3f5;
}

/* Section */
.faq-section {
    padding: 80px 20px;
    background: #FFFFFF;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Header */
.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #1A1D1F;
    margin-bottom: 16px;
}

.faq-header p {
    font-size: 1.1rem;
    color: #6B7280;
    max-width: 700px;
    margin: 0 auto;
}

/* Items wrapper */
.faq-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Single item */
.faq-item {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 28px;
    overflow: hidden;
    transition: box-shadow 0.28s ease, border-color 0.28s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* Active / opened item */
.faq-item.active {
    border-color: var(--faq-primary);
    box-shadow: 0 8px 24px var(--faq-primary-rgba-08);
}

/* Question row */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    cursor: pointer;
    transition: background 0.24s ease, transform 0.12s ease;
    border-radius: 28px;
    position: relative;
    z-index: 1;
}

.faq-question:hover {
    background: #F9FAFB;
}

/* Opened question */
.faq-item.active .faq-question {
    background: var(--faq-open-bg);
}

.faq-item.active .faq-question:hover {
    background: var(--faq-open-bg-hover);
}

/* Question text */
.faq-question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1A1D1F;
    flex: 1;
    padding-right: 20px;
    line-height: 1.2;
}

/* Icon circle */
.faq-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F4F6;
    border-radius: 50%;
    transition: background 0.28s ease, transform 0.28s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: var(--faq-primary);
    transform: rotate(180deg);
}

.faq-icon i {
    color: #6B7280;
    font-size: 14px;
    transition: color 0.28s ease;
}

.faq-item.active .faq-icon i {
    color: #FFFFFF;
}

/* Collapsible answer area */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.42s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

/* Answer content */
.faq-answer-content {
    padding: 0 28px 28px 28px;
    color: #4B5563;
    border-top: 1px solid #F3F4F6;
    padding-top: 24px;
    line-height: 1.7;
    font-size: 1rem;
}

/* "Still Have Questions?" CTA */
.faq-cta {
    text-align: center;
    margin-top: 60px;
    padding: 50px 40px;
    background: #ffffff;
    border-radius: 32px;
    border: 1px solid var(--faq-primary);
    box-shadow: 0 8px 20px rgba(31, 111, 120, 0.05);
}

/* CTA text */
.faq-cta h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1A1D1F;
    margin-bottom: 12px;
}

.faq-cta p {
    color: #6B7280;
    margin-bottom: 24px;
    font-size: 1rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA button */
.faq-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 40px;
    background: var(--faq-primary);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.24s ease, transform 0.12s ease, box-shadow 0.24s ease;
    box-shadow: 0 4px 12px rgba(31, 111, 120, 0.25);
    white-space: nowrap;
}

.faq-cta-btn:hover {
    background: #1a5f67;
    transform: translateY(-2px);
}

/* Focus / accessibility */
.faq-question:focus,
.faq-cta-btn:focus,
.faq-icon:focus {
    outline: 3px solid rgba(31, 111, 120, 0.16);
    outline-offset: 2px;
    border-radius: 8px;
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 1024px) {
    .faq-container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 16px;
    }

    .faq-header h1 {
        font-size: 2rem;
    }

    .faq-header p {
        font-size: 0.95rem;
    }

    .faq-item {
        border-radius: 24px;
    }

    .faq-question {
        padding: 20px 22px;
    }

    .faq-question-text {
        font-size: 1rem;
    }

    .faq-icon {
        width: 32px;
        height: 32px;
    }

    .faq-answer-content {
        padding: 0 22px 22px 22px;
        font-size: 0.95rem;
    }

    .faq-cta {
        padding: 40px 30px;
        border-radius: 28px;
    }
    
    .faq-cta h3 {
        font-size: 1.5rem;
    }
    
    .faq-cta p {
        font-size: 0.95rem;
    }
    
    .faq-cta-btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 16px 28px;
        white-space: normal;
        border-radius: 50px;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .faq-header h1 {
        font-size: 1.6rem;
    }

    .faq-cta {
        padding: 35px 24px;
        border-radius: 24px;
    }

    .faq-cta-btn {
        padding: 18px 32px;
        font-size: 0.95rem;
        width: 100%;
    }

    .faq-cta-btn.small-centered {
        width: 60%;
        margin: 0 auto;
        display: block;
        padding: 16px 30px;
        font-size: 0.95rem;
        text-align: center;
        border-radius: 50px;
    }
}
*/

/* ============================================
   PREMIUM TRUST BADGE SECTION
   Medical Equipment E-commerce Theme
   Modern, Clean, Professional Design
   ============================================ */

/* Section Container */
.trust-badge-section {
    padding: 80px 20px;
    background: #FFFFFF; /* Pure white background */
    position: relative;
    overflow: hidden;
}

.trust-badge-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ==================
   SECTION HEADER
   ================== */
.trust-header {
    text-align: center;
    margin-bottom: 60px;
}

.trust-header h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.trust-header p {
    font-size: 1.125rem;
    color: #6B7280;
    margin: 24px auto 0;
    max-width: 600px;
    line-height: 1.6;
}

/* ==================
   TRUST BADGES GRID
   ================== */
.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

/* Individual Trust Badge Card */
.trust-badge-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 1px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(74, 144, 226, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Subtle gradient on hover */
.trust-badge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.02) 0%, rgba(26, 188, 156, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.trust-badge-card:hover::before {
    opacity: 1;
}

.trust-badge-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 12px 40px rgba(74, 144, 226, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(74, 144, 226, 0.2);
}

/* Icon Container - Base Style */
.badge-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Individual Icon Colors - Colorful & Vibrant */
.trust-badge-card:nth-child(1) .badge-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.trust-badge-card:nth-child(2) .badge-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 8px 24px rgba(240, 147, 251, 0.3);
}

.trust-badge-card:nth-child(3) .badge-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 8px 24px rgba(79, 172, 254, 0.3);
}

.trust-badge-card:nth-child(4) .badge-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 8px 24px rgba(67, 233, 123, 0.3);
}

.trust-badge-card:nth-child(5) .badge-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    box-shadow: 0 8px 24px rgba(250, 112, 154, 0.3);
}

.trust-badge-card:nth-child(6) .badge-icon {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    box-shadow: 0 8px 24px rgba(48, 207, 208, 0.3);
}

.trust-badge-card:nth-child(7) .badge-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.4);
}

.trust-badge-card:nth-child(8) .badge-icon {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    box-shadow: 0 8px 24px rgba(255, 154, 158, 0.3);
}

/* Icon glow effect */
.badge-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.trust-badge-card:hover .badge-icon::after {
    opacity: 1;
}

.trust-badge-card:hover .badge-icon {
    transform: scale(1.1) rotate(5deg);
}

.badge-icon i {
    font-size: 36px;
    color: #ffffff;
    transition: transform 0.4s ease;
}

.trust-badge-card:hover .badge-icon i {
    transform: scale(1.1);
}

/* Badge Title */
.trust-badge-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
}

/* Badge Description */
.trust-badge-card p {
    font-size: 0.95rem;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
}

/* ==================
   TRUST METRICS BAR
   ================== */
.trust-metrics {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(74, 144, 226, 0.1);
    margin-bottom: 48px;
}

.metric-item {
    text-align: center;
    flex: 1;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4A90E2 0%, #1ABC9C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
}

.metric-label {
    font-size: 0.95rem;
    color: #6B7280;
    font-weight: 500;
}

.metric-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(74, 144, 226, 0.2) 50%,
        transparent 100%
    );
    margin: 0 24px;
}

/* ==================
   CERTIFICATION LOGOS
   ================== */
.certification-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    padding: 24px 0 0;
}

.cert-logo-item {
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.cert-logo-item:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: grayscale(0%);
}

.cert-logo-item img {
    height: 60px;
    width: auto;
    display: block;
}

/* ==================
   RESPONSIVE DESIGN
   ================== */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .trust-badges-grid {
        gap: 36px;
    }
}

/* Desktop/Tablet (768px - 1199px) */
@media (max-width: 1199px) {
    .trust-header h2 {
        font-size: 2.25rem;
    }

    .trust-badges-grid {
        gap: 28px;
    }

    .trust-badge-card {
        padding: 32px 20px;
    }

    .metric-number {
        font-size: 2rem;
    }
}

/* Tablet (768px - 1023px) - Keep 4 columns */
@media (max-width: 1023px) {
    .trust-badge-section {
        padding: 60px 20px;
    }

    .trust-badges-grid {
        grid-template-columns: repeat(4, 1fr); /* Keep 4 columns */
        gap: 20px;
    }

    .trust-badge-card {
        padding: 28px 16px;
    }

    .badge-icon {
        width: 70px;
        height: 70px;
    }

    .badge-icon i {
        font-size: 32px;
    }

    .trust-badge-card h3 {
        font-size: 1.125rem;
    }

    .trust-badge-card p {
        font-size: 0.875rem;
    }

    .trust-metrics {
        padding: 28px 32px;
        flex-wrap: wrap;
        gap: 24px;
    }

    .metric-divider {
        display: none;
    }

    .metric-item {
        flex: 0 0 calc(50% - 12px);
    }
}

/* Mobile (max-width: 767px) - 2 columns for optimal viewing */
@media (max-width: 767px) {
    .trust-badge-section {
        padding: 50px 16px;
    }

    .trust-header {
        margin-bottom: 40px;
    }

    .trust-header h2 {
        font-size: 1.875rem;
    }

    .trust-header p {
        font-size: 1rem;
    }

    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 16px;
        margin-bottom: 40px;
    }

    .trust-badge-card {
        padding: 24px 16px;
    }

    .badge-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 16px;
    }

    .badge-icon i {
        font-size: 28px;
    }

    .trust-badge-card h3 {
        font-size: 1rem;
    }

    .trust-badge-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Mobile Stats - 2x2 Grid Layout */
    .trust-metrics {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
        padding: 28px 20px;
    }

    .metric-item {
        text-align: center;
    }

    .metric-divider {
        display: none; /* Hide dividers in grid layout */
    }

    .metric-number {
        font-size: 1.75rem;
        margin-bottom: 6px;
    }

    .metric-label {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .certification-logos {
        gap: 32px;
    }

    .cert-logo-item img {
        height: 50px;
    }
}

/* Small Mobile (max-width: 480px) - Keep 2 columns */
@media (max-width: 480px) {
    .trust-badge-section {
        padding: 40px 12px;
    }

    .trust-header h2 {
        font-size: 1.625rem;
    }

    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 columns */
        gap: 12px;
    }

    .trust-badge-card {
        padding: 20px 12px;
        border-radius: 16px;
    }

    .badge-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 12px;
    }

    .badge-icon i {
        font-size: 24px;
    }

    .trust-badge-card h3 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .trust-badge-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    /* Extra Small Mobile - Compact 2x2 Stats Grid */
    .trust-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 12px;
        padding: 24px 16px;
    }

    .metric-number {
        font-size: 1.5rem;
    }

    .metric-label {
        font-size: 0.75rem;
    }

    .certification-logos {
        gap: 24px;
    }

    .cert-logo-item img {
        height: 44px;
    }
}

/* ==================
   ACCESSIBILITY
   ================== */

/* Focus states for keyboard navigation */
.trust-badge-card:focus-within {
    outline: 3px solid rgba(74, 144, 226, 0.4);
    outline-offset: 4px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .trust-badge-card,
    .badge-icon,
    .badge-icon i,
    .cert-logo-item {
        transition: none;
    }
    
    .trust-badge-card:hover {
        transform: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .trust-badge-card {
        border: 2px solid #1a1a1a;
    }
    
    .badge-icon {
        border: 2px solid #ffffff;
    }
}
/* ========================================
   7. CATEGORY CAROUSEL SECTION
   ======================================== */

.category-carousel {
  /* Local Variables */
  --primary: #1F6F78; /* UPDATED: Teal color */
  --white: #ffffff;
  --black: #000000;
  --gray: #6B7280;
  --border: #e6e6e6;
  --font-primary: 'Questrial', sans-serif;

  position: relative;
  width: 100%;
  padding: 48px 0 24px 0;
  background: var(--white);
  font-family: var(--font-primary);
}

/* Wrapper */
.category-carousel .carousel-wrapper {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 80px;
}

/* Horizontal Scroll Container */
#category-container.carousel-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  padding: 8px 0 12px 0;
  justify-content: flex-start;
}

#category-container.carousel-container::-webkit-scrollbar {
  display: none;
}

/* Category Card */
.category-item-link {
  flex: 0 0 auto;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  display: block;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 120px;
  padding: 4px;
}

/* Category Image - SQUARE with rounded corners - UPDATED BORDER & INCREASED RADIUS */
.category-icon {
  width: 120px;
  height: 120px; /* Changed to match width for 1:1 ratio */
  border-radius: 16px; /* INCREASED: 16px radius (more rounded than product cards) */
  overflow: hidden;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04),
              0 1px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid #D1D5DB; /* Same as product cards - 1px solid #D1D5DB */
  transition: all 0.3s ease;
}

.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Category Name */
.category-item span {
  font-size: 0.95rem;
  font-weight: 500;
  color: #111111;
  text-align: center;
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 140px;
}

/* Navigation Arrows */
.category-carousel .carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  color: var(--primary); /* UPDATED: Teal */
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.category-carousel .carousel-nav:hover {
  background: var(--primary); /* UPDATED: Teal */
  color: var(--white);
  border-color: var(--primary); /* UPDATED: Teal */
  transform: translateY(-50%) scale(1.05);
}

#category-nav-prev {
  left: 20px;
}

#category-nav-next {
  right: 20px;
}

/* Disabled Arrow */
.category-carousel .carousel-nav.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ------------------------------
   Unified Navigation Dots (Testimonials Style)
------------------------------ */

.category-carousel .carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 0;
}

.category-carousel .carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #E5E7EB;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-carousel .carousel-dot:hover {
  background: var(--primary); /* UPDATED: Teal */
  transform: scale(1.2);
}

.category-carousel .carousel-dot.active {
  background: var(--primary); /* UPDATED: Teal */
  width: 32px;
  height: 12px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(31, 111, 120, 0.3); /* UPDATED: Teal shadow */
}

/* ------------------------------
   Responsive Styles
------------------------------ */

/* Tablets (768px–1023px) */
@media (max-width: 1023px) {
  .category-carousel .carousel-wrapper {
    padding: 0 40px;
  }

  .category-icon {
    width: 100px;
    height: 100px; /* Maintain 1:1 ratio */
    border-radius: 14px; /* INCREASED: 14px radius for tablets */
    border: 1px solid #D1D5DB; /* Same as product cards */
  }

  #category-container.carousel-container {
    gap: 16px;
  }

  .category-carousel .carousel-nav {
    width: 48px;
    height: 48px;
  }
}

/* Mobiles (max 767px) */
@media (max-width: 767px) {
  .category-carousel {
    padding: 24px 0 0 0;
  }

  .category-carousel .carousel-wrapper {
    padding: 0 20px;
  }

  .category-icon {
    width: 92px;
    height: 92px; /* Maintain 1:1 ratio */
    border-radius: 12px; /* INCREASED: 12px radius for mobile (matches product cards desktop) */
    border: 1px solid #D1D5DB; /* Same as product cards */
  }

  #category-container.carousel-container {
    gap: 12px;
  }

  .category-carousel .carousel-nav {
    display: none !important;
  }

  .category-item span {
    font-size: 0.875rem;
  }
}

/* Small Mobiles (max 480px) */
@media (max-width: 480px) {
  .category-carousel .carousel-wrapper {
    padding: 0 16px;
  }

  .category-icon {
    width: 84px;
    height: 84px; /* Maintain 1:1 ratio */
    border-radius: 10px; /* INCREASED: 10px radius for small mobile */
    border: 1px solid #D1D5DB; /* Same as product cards */
  }

  #category-container.carousel-container {
    gap: 8px;
  }

  .category-item {
    min-width: 90px;
  }

  .category-item span {
    font-size: 0.825rem;
    max-width: 100px;
  }
}


/* ========================================
   SHOP BY COLLECTION SECTION - GRID LAYOUT
   ======================================== */
.shop-by-collection {
    padding: 60px 0;
    background: #ffffff;
}

/* Section Header */
.shop-by-collection .section-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 20px;
}

.shop-by-collection .section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1A1D1F;
    margin: 0;
}

/* ========================================
   COLLECTIONS GRID STRUCTURE
   ======================================== */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row on desktop */
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   COLLECTION CARD
   ======================================== */
.collection-card {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    outline: none;
    border: 1px solid #D1D5DB; /* Same as product cards - 1px solid #D1D5DB */
    transition: all 0.3s ease;
}

.collection-card:hover {
    border-color: #D1D5DB; /* Keep same border color on hover */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* Image Container - 1:1 Square Ratio */
.collection-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* 1:1 square ratio */
    background: #F8F8F8;
    overflow: hidden;
    border-radius: 16px;
    outline: none;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.collection-card:hover .collection-image img {
    transform: scale(1.05);
}

/* ========================================
   RESPONSIVE BEHAVIOR
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .shop-by-collection {
        padding: 48px 0;
    }

    .shop-by-collection .section-header h2 {
        font-size: 2rem;
    }

    .collections-grid {
        grid-template-columns: repeat(3, 1fr); /* Still 3 on tablet */
        gap: 20px;
        padding: 0 16px;
    }

    .collection-card {
        border: 1px solid #D1D5DB; /* Same as product cards */
    }
}

/* Mobile - 2 cards per row */
@media (max-width: 768px) {
    .shop-by-collection {
        padding: 40px 0;
    }

    .shop-by-collection .section-header {
        margin-bottom: 32px;
        padding: 0 16px;
    }

    .shop-by-collection .section-header h2 {
        font-size: 1.75rem;
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row on mobile */
        gap: 16px;
        padding: 0 16px;
    }

    .collection-card {
        border-radius: 12px;
        border: 1px solid #D1D5DB; /* Same as product cards */
    }

    .collection-image {
        border-radius: 12px;
    }
}

/* Very small mobile - Still 2 cards per row */
@media (max-width: 480px) {
    .shop-by-collection .section-header h2 {
        font-size: 1.5rem;
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px;
    }

    .collection-card {
        border: 1px solid #D1D5DB; /* Same as product cards */
    }
}

/* Extra small mobile - Switch to 1 card per row */
@media (max-width: 360px) {
    .collections-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */

/* Focus visible for keyboard navigation */
.collection-card:focus-visible {
    outline: 2px solid #b58151;
    outline-offset: 2px;
}

.collection-card:focus {
    outline: none;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .collection-card {
        transition: none;
    }
    
    .collection-card:hover {
        transform: none;
    }
    
    .collection-card:hover .collection-image img {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .collection-card {
        border: 2px solid #1A1D1F;
    }
}