 /* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Source Serif Pro",  sans-serif;
  --nav-font: "Roboto Slab",  sans-serif;
}

/* Global Colors - Updated with New Palette */
:root { 
  --background-color: #f8efeb; 
  --default-color: #30140C;   /* Deep Brown for primary text */
  --heading-color: #30140C;   /* Deep Brown for headings */
  --accent-color: #D39F2E;    /* Bright Gold/Bronze for primary accents (buttons, links) */
  --secondary-accent-color: #BE7C16; /* NEW: Darker Bronze for hovers/highlights */
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

/* Nav Menu Colors */
:root {
  --nav-color: rgba(255, 255, 255, 0.6);  /* The default color of the main navmenu links */
  --nav-hover-color: var(--accent-color); /* Use D39F2E */
  --nav-dropdown-hover-color: var(--accent-color); /* Use D39F2E */
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; 
  --nav-dropdown-color: #352a26; /* Used for navigation links of the dropdown items in the navigation menu. */
}


#searchResults {
    max-height: 250px;
    overflow-y: auto;
    z-index: 2000;
    border-radius: 6px;
    color: black;
}

/* Fix overlap — ensure it appears BELOW input */
.position-relative #searchResults {
    top: 100%;
    left: 0;
}


.light-background {
  --background-color: #efe3de;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
}


 /* -------------------------------------------------------------- 
 Global Footer
--------------------------------------------------------------*/

.footer {
    
  background-color: var(--background-color, #111);
  color: var(--default-color, #ddd);
  font-size: 14px;
}

.footer h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-color, #fff);
  margin-bottom: 1.5rem; /* increased a bit for better spacing on mobile */
  position: relative;
  display: inline-block; /* Important: makes the underline follow text width */
  padding-bottom: 8px;    /* space between text and line */
}

.footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);   /* Perfectly centers the line */
  width: 40px;                   /* You can keep fixed or make it scale */
  height: 3px;
  background-color: var(--accent-color, #ffc107);
  border-radius: 2px;
  transition: width 0.3s ease;   /* Optional: nice hover effect */
}

/* Optional: Extend underline on hover (looks premium) */
.footer h4:hover::after {
  width: 70px;
}
/* ------------------------------
   Newsletter Form
--------------------------------*/
.footer .newsletter-form .input-group {
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.footer .newsletter-form input[type="email"] {
  border: none;
  background-color: var(--surface-color, #222);
  color: var(--default-color, #eee);
}

.footer .newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer .newsletter-form .btn-primary {
  background-color: var(--accent-color, #ffc107);
  border: none;
  color: #000;
}

.footer .newsletter-form .btn-primary:hover {
  background-color: #e0a800;
  color: #fff;
}

/* ------------------------------
   Footer Links
--------------------------------*/
.footer a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent-color, #ffc107);
}

/* ------------------------------
   Social Icons
--------------------------------*/
.footer .btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer .btn-outline-light:hover {
  background-color: var(--accent-color, #ffc107);
  color: #000;
  transform: translateY(-3px);
}

/* ------------------------------
   Footer Bottom
--------------------------------*/
.footer-bottom {
  background-color: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
  color: var(--accent-color, #ffc107);
}

/* ------------------------------
   Responsive Tweaks
--------------------------------*/
@media (max-width: 767.98px) {
  .footer {
    text-align: center;
  }

  .footer .social-links {
    justify-content: center !important;
  }
}
 /*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  /* opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999; */
  background-color: var(--accent-color);
  /* width: 44px;
  height: 44px;
  border-radius: 50px; */
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}
/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding: 30px 0;
  margin-bottom: 30px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.section-title span {
  position: absolute;
  top: 4px;
  color: color-mix(in srgb, var(--heading-color), transparent 95%);
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 1;
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .section-title span {
    font-size: 38px;
  }
}
  
  
/*------------
  Hero Section Index
---------------*/

.hero-bg + .container h1,
.hero-bg + .container p {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-bg {
    min-height: 40vh;
  }
  .hero-bg + .container h1 {
    font-size: 2rem;
  }
}

/* Hero Carousel (Bootstrap clean version) */
#hero-carousel {
  background-color: #fff;
  border-bottom:  2px solid var(--accent-color, #ffc107);
}

#hero-carousel .carousel-item {
  padding: 0.25rem 0;
  transition: transform 0.8s ease-in-out;
}

#hero-carousel img {
  max-height: 450px;
  width: auto;
  object-fit: cover;
}

#hero-carousel h1 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

#hero-carousel .btn-warning {
  background-color: #ffc107;
  border: none;
  color: #000;
  font-weight: 500;
  transition: all 0.3s ease;
}

#hero-carousel .btn-warning:hover {
  background-color: #e0a800;
  color: #fff;
  transform: translateY(-2px);
}

.carousel-control-prev,
.carousel-control-next {
  width: 3rem;
  height: 3rem;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(0, 0, 0, 0.45);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

/* Responsive tweaks */
@media (max-width: 992px) {
  #hero-carousel img {
    max-height: 350px;
  }
}
@media (max-width: 576px) {
  #hero-carousel img {
    max-height: 250px;
  }
}
/* ----------------------------------
   Ticker Banner
---------------------------------- */
.ticker-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  background: linear-gradient(90deg, #fff8e1 0%, #fff3cd 50%, #fff8e1 100%);
  border-top: 2px solid #f0c14b;
  border-bottom: 2px solid #f0c14b;
  box-shadow: inset 0 0 10px rgba(255, 193, 7, 0.2);
}

/* Container + text track */
.ticker {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-block;
  animation: ticker-scroll 25s linear infinite;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1rem, 2vw, 1rem);
  letter-spacing: 0.05em;
  color: #5a3e1a;
}

/* Pause animation on hover */
.ticker:hover .ticker-track {
  animation-play-state: paused;
  cursor: pointer;
}

/* Dot separator */
.ticker .dot {
  color: #e0a800;
  font-weight: 900;
  padding: 0 1.2rem;
  font-size: 1.4rem;
  vertical-align: middle;
}

/* Animation */
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .ticker-track {
    font-size: 0.95rem;
    animation-duration: 35s;
  }
  .ticker .dot {
    padding: 0 0.8rem;
    font-size: 1.1rem;
  }
}
/*---Product section on homepage--*/
    

    
         
          .discount-badge {
            position: absolute;
            top: 18px; /* Move slightly further from the edge */
            left: 18px;
            background: var(--secondary-accent-color); /* Darker Gold */
            color: #fff;
            font-weight: 700; /* Bolder font */
            font-size: 15px; /* Slightly larger text */
            padding: 6px 12px; /* More padding */
            border-radius: 50px;
            /* Subtle glow/shadow for a pop effect */
            box-shadow: 0 0 10px rgba(190, 124, 22, 0.5); 
            z-index: 10;
        }
        
        .price .old-price {
            /* Mute the old price slightly more */
            color: color-mix(in srgb, var(--default-color), transparent 50%); 
            font-size: 0.9rem;
            font-weight: 400;
        }
            
        .price .new-price {
            color: var(--secondary-accent-color); 
            font-weight: 800; /* Extra bold */
            font-size: 1.35rem; /* More dominant size */
        }
          
          .hover-icons {
            position: absolute;
            top: 50%;
            right: 15px;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 10px;
            opacity: 0;
            transition: all 0.3s ease;
          }
          
          .product-card:hover .hover-icons {
            opacity: 1;
          }
          
          .hover-icons a {
            background: #fff;
            color: #222;
            border-radius: 50%;
            width: 38px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            text-decoration: none;
          }
          
          .hover-icons a:hover {
            background: var(--secondary-accent-color); /* Darker gold on hover */
            color: var(--contrast-color);
          }
          
          .add-to-cart-btn {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            background-color: var(--accent-color) !important; 
        color: var(--contrast-color); 
            border: none;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.4s ease;
            overflow: hidden;
            width: 112px;
            height: 42px;
          }
          
          .add-to-cart-btn .btn-icon {
            position: absolute;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.4s ease;
            font-size: 1.2rem;
          }
          
          .add-to-cart-btn .btn-text {
            opacity: 1;
            transform: translateY(0);
            transition: all 0.4s ease;
          }
          
          /* On hover: swap text with icon */
          .add-to-cart-btn:hover .btn-text {
            opacity: 0;
            transform: translateY(-20px);
          }
          
          .add-to-cart-btn:hover .btn-icon {
            opacity: 1;
            transform: translateY(0);
          }
          
          /* Optional hover visual effect */
          .add-to-cart-btn:hover {
            background-color: var(--secondary-accent-color) !important; 
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
          }
          .product-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: linear-gradient(135deg, #ffb347, #ffcc33);
            color: #000;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            padding: 6px 12px;
            border-radius: 30px;
            box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
            letter-spacing: 0.5px;
          }

            
.product-card {
  display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* Image area — NO fixed heights, ratio controlled */
.product-img {
  width: 100%;
  aspect-ratio: 4 / 3; /* Keeps the box size consistent */
  background-color: #f9f9f9; /* Fills the "empty" space of the image */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px; /* Gives images a little breathing room */
  overflow: hidden;
}

.product-img img {
  max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* THIS PREVENTS CROPPING */
    transition: transform 0.5s ease;
}

/* Square images on small phones */
@media (max-width: 576px) {
  .product-img {
    aspect-ratio: 1 / 1;
  }
}

/* =========================================================
   PRODUCT INFO STRUCTURE (NO JUMPING)
   ========================================================= */

.product-info {
  padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Pushes the button wrapper to the absolute bottom */
    text-align: center;
}

/* Lock product name height */
.product-name {
  font-size: 1rem;
  margin-bottom: 8px;
  min-height: 44px; 
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Price row height consistency */
.price {
  margin-bottom: 15px;
    min-height: 30px;
}

/* Price-on-call badge */
.price-on-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 4px 14px;
  white-space: nowrap;
}

/* =========================================================
   BUTTON AREA – ALWAYS STICKS TO BOTTOM
   ========================================================= */

.card-buttons-wrapper {
  margin-top: auto;
}

/* Bulk order alert height lock */
.bulk-order-alert {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  padding: 10px;
  border-radius: 8px;}

/* Prevent buttons from being overlapped by stretched links */
.product-card button,
.product-card .btn,
.product-card form {
  position: relative;
  z-index: 5;
}

/* =========================================================
   PRODUCT CAROUSEL – RESPONSIVE FIX
   ========================================================= */

.product-carousel-wrapper {
  width: 100%;
  overflow: hidden;
}

.product-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 15px;
}

/* Hide scrollbar cleanly */
.product-carousel::-webkit-scrollbar {
  display: none;
}

/* Desktop */
.product-item {
  display: flex;
}

/* Tablet */
@media (max-width: 992px) {
  .product-item {
    flex: 0 0 50%;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .product-item {
    flex: 0 0 85%;
  }
}


/* ---------- Item Width Rules ---------- */

/* Desktop – 4 cards in a row */
.product-item {
  flex: 0 0 calc(25% - 20px);
}

/* Tablet – 2 cards */
@media (max-width: 992px) {
  .product-item {
    flex: 0 0 calc(50% - 20px);
  }
}

/* Mobile – 1 full-width card */
@media (max-width: 576px) {
  .product-item {
    flex: 0 0 85%; 
  }
}

  /* ------------------------------------------- */
/* Why Choose Us Section Styling - Enhanced */
/* ------------------------------------------- */
.why-choose-us-section {
  /* background: linear-gradient(180deg, #fffdf5 0%, #fff8e1 100%); */
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

/* Subtle background pattern overlay */
.why-choose-us-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/img/pattern-light.png') repeat;
  opacity: 0.04;
  pointer-events: none;
}

/* Section title and subtitle */
.why-choose-us-section .section-title {
  font-family: var(--heading-font);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--heading-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.why-choose-us-section .section-subtitle {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  max-width: 650px;
  margin: 0 auto 2rem;
}
/* Ensure the card centers everything */
.why-choose-us-section .feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;      /* center horizontally */
  justify-content: flex-start;
  text-align: center;
  padding: 30px 15px;
  border-radius: 12px;
  background-color: var(--surface-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform .35s ease, box-shadow .35s ease;
  width: 100%;
  box-sizing: border-box;   /* avoid padding affecting centering */
}

/* Icon wrapper: perfect circle, centered by parent's flexbox */
.why-choose-us-section .feature-icon {
  display: inline-flex;     /* inline-flex so it sizes to content and centers nicely */
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 1rem;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 2.6rem;
  transition: transform .25s ease, background .25s ease;
  flex-shrink: 0;           /* prevents shrinking on small screens */
}

/* Icon <i> inside: center and prevent line-height issues */
.why-choose-us-section .feature-icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  line-height: 1;
}

/* Hover */
.why-choose-us-section .feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.why-choose-us-section .feature-item:hover .feature-icon {
  transform: translateY(-6px) scale(1.05);
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  color: var(--secondary-accent-color);
}


/* Titles and descriptions */
.why-choose-us-section .feature-title {
  color: var(--default-color);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.why-choose-us-section .feature-desc {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 250px;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .why-choose-us-section .section-title {
    font-size: 2rem;
  }
  .why-choose-us-section .feature-icon {
    width: 75px;
    height: 75px;
    font-size: 2.4rem;
  }
}

@media (max-width: 576px) {
  .why-choose-us-section {
    padding: 3rem 1rem;
  }
  .why-choose-us-section .feature-item {
    padding: 25px 15px;
  }
  .why-choose-us-section .feature-desc {
    font-size: 0.9rem;
  }
}

.reviews-section .section-title-custom {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-align: left;
}

.review-card {
  background-color: #f8f9fa;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 20px;
}

.review-card .customer-image img {
  object-fit: cover;
}

.review-card .rating-stars {
  color: #f4c150;
  font-size: 1.2rem;
}

.review-card .review-text {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.review-card .customer-name {
  color: #333;
  font-weight: 700;
}
/* Story Section Container */
#our-story {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Text Content */
#our-story .story-content {
  line-height: 1.6;
}

/* Image Wrapper */
#our-story .story-image-wrapper {
  max-width: 50%;
}

/* Image Styling */
#our-story .story-image {
  width: 100%;
  max-width: 350px;      /* Larger & beautiful on desktop */
  height: auto;
  border: 5px solid #fff;
  transition: transform 0.3s ease-in-out;
  object-fit: contain;
}

#our-story .story-image:hover {
  transform: scale(1.02);
}

/* =============== TABLET RESPONSIVE (992px ↓) =============== */
@media (max-width: 991.98px) {

  /* Image expands slightly for balance */
  #our-story .story-image-wrapper {
    max-width: 70%;
  }

  #our-story .story-image {
    max-width: 320px;
    margin-bottom: 2rem;
  }

  #our-story .story-content h2 {
    font-size: 1.85rem;
  }

  #our-story .story-content .lead {
    font-size: 1rem;
  }

}

/* =============== MOBILE RESPONSIVE (768px ↓) =============== */
@media (max-width: 768px) {

  #our-story {
    text-align: center;  /* Center everything nicely */
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  #our-story .story-image-wrapper {
    max-width: 50%;
  }

  #our-story .story-image {
    max-width: 380px;
    border-width: 4px;
  }

  #our-story .story-content {
    margin-top: 1rem;
  }

  #our-story .story-content h2 {
    font-size: 1.65rem;
  }

  #our-story .story-content .lead {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  #our-story a.btn {
    font-size: 0.9rem;
    padding: 0.65rem 1.5rem;
  }
}

/* =============== VERY SMALL DEVICES (576px ↓) =============== */
@media (max-width: 575.98px) {

  #our-story .story-image {
    max-width: 230px;
  }

  #our-story .story-content h2 {
    font-size: 1.45rem;
  }

  #our-story .story-content .lead {
    font-size: 0.9rem;
  }
}

/* Contact Section */
.contact-info-section {
  background-color: var(--background-color, #f9f9f9);
  padding: 60px 0;
}

/* Section Title */
.section-title-serif {
  font-family: 'Georgia', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle-sans {
  font-family: 'Arial', sans-serif;
  color: var(--text-color, #666);
  font-size: 1rem;
}

/* Contact Card */
.contact-item {
  background-color: var(--surface-color, #fff);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* Vertical Separator */
.separator-col {
  width: 2px;
  background-color: var(--default-color, #ccc);
  opacity: 0.2;
  height: 80px;
  align-self: stretch;
}

/* Titles and Text */
.item-title-sans {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--heading-color, #222);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.item-value-sans {
  font-size: 1.1rem;
  color: var(--text-color, #444);
}

/* Icons */
.contact-icon {
  font-size: 1.8rem;
  color: var(--default-color, #777);
  transition: color 0.3s ease;
}

.contact-item:hover .contact-icon {
  color: var(--secondary-accent-color, #ff9900);
}

/* Social Icons */
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--default-color, #777);
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  background-color: var(--accent-color, #ff9900);
  transform: translateY(-4px);
}
.item-value-sans {
  font-size: 1.1rem;
  color: var(--text-color, #444);
  word-break: break-word;   /* This fixes mobile overflow */
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .contact-item {
    margin-bottom: 20px;
  }
  .separator-col {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .contact-item {
    padding: 25px 15px;
    height: auto !important;
  }
  .section-title-serif {
    font-size: 1.8rem;
  }
  .item-title-sans {
    font-size: 1.2rem;
  }
  .item-value-sans {
    font-size: 1rem;
  }
  .contact-icon {
    font-size: 1.6rem;
  }
  .contact-info-section .row {
    --bs-gutter-x: 0 !important; /* Removes gx-5 extra width */
  }

}
@media (max-width: 400px) {
  .contact-icon {
    font-size: 1.4rem;
  }
  .social-icons a {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* Unified Page Hero Section */
.page-hero-section {
  background: url('../img/aboutbanner.png') center/cover no-repeat;
  position: relative;
  min-height: 60vh;
  /* margin-top: 120px; */
}
.page-hero-section .overlay-layer {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.page-hero-title,
.page-hero-section p {
  color: #fff;
  z-index: 2;
  position: relative;
}

/* Story Image Wrapper */
.story-image-wrapper {
  
    max-width: 100%;
    height: auto;
    object-fit: contain;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.story-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* cover ensures the image fills the container without stretching */
  display: block;
  transition: transform 0.3s ease;
  max-height: 400px; /* optional, adjust for bigger screens */
}

.story-image-wrapper:hover img {
  transform: scale(1.03);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .story-text-content {
    text-align: center;
  }
  .page-hero-section {
    min-height: 40vh;
  }
}

@media (max-width: 576px) {
  .story-text-content {
    text-align: center;
  }

  .story-text-content img {
    margin-left: auto;
    margin-right: auto;
  }

  .story-text-content h2 {
    font-size: 1.5rem;
  }

  .story-image-wrapper {
    padding: 0 1rem;
  }

  .story-image-wrapper img {
    max-height: none; 
  }
}




/* =============================
   MAP BANNER STYLING
============================= */
.banner {
  /* padding-top: 100px; */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =============================
   FORM & BUTTON STYLING
============================= */
.btn-custom-orange {
  background-color: var(--accent-color); /* Orange-600 */
  border: 1px solid #ea580c;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease-in-out;
}

.btn-custom-orange:hover {
  background-color: #c2410c;
  border-color: #c2410c;
  color: #fff;
  transform: translateY(-2px);
}

/* =============================
   INPUT & FORM ELEMENTS
============================= */
.form-control {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: #ea580c;
  box-shadow: 0 0 0 0.25rem rgba(234, 88, 12, 0.25);
}

/* =============================
   RESPONSIVENESS
============================= */
@media (max-width: 992px) {
  .banner {
    padding-top: 130px;
  }
}

@media (max-width: 768px) {
  .map-container {
    height: 300px;
  }

  h1.display-5 {
    font-size: 1.8rem;
    text-align: center;
  }

  .form-control {
    font-size: 0.95rem;
  }

  .btn-custom-orange {
    width: 100%;
    padding: 0.9rem;
  }

  .card {
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .map-container {
    height: 250px;
  }

  .form-control {
    padding: 0.65rem 0.8rem;
  }

  .btn-custom-orange {
    font-size: 0.9rem;
  }
}
/* ------------------------------
   Product Catalog Page Styling
------------------------------ */

/* Headings */
.catalog-page-title,
.catalog-filter-title {
  color: var(--default-color);
  font-weight: 700;
}
.catalog-page-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.catalog-filter-title {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

/* Sidebar Filter */
.catalog-filter-card {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 10px;
  background: var(--surface-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.catalog-filter-list a {
  display: block;
  padding: 6px 0;
  color: var(--default-color);
  text-decoration: none;
  transition: color 0.3s;
}
.catalog-filter-list a:hover,
.catalog-filter-list a.active {
  color: var(--accent-color);
  font-weight: 600;
}

/* Range Slider & Price Inputs */
.catalog-slider-container {
  padding: 5px 0;
}
.catalog-range-wrap {
  position: relative;
  height: 8px;
}
.catalog-range-min,
.catalog-range-max {
  position: absolute;
  width: 100%;
  height: 8px;
  background: none;
  pointer-events: none;
}
.catalog-price-input {
  max-width: 85px;
  text-align: center;
  font-size: 0.9rem;
}
.catalog-btn-apply {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-weight: 600;
  border-radius: 8px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.catalog-btn-apply:hover {
  background: var(--secondary-accent-color);
}

/* Product Grid Controls */
.catalog-controls .btn-outline-secondary.active {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}
.catalog-select {
  width: 160px;
}

/* --------------------------------
   Catalog Product Cards (New UI)
-------------------------------- */
.catalog-card {
  position: relative;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  background: var(--surface-color);
}
.catalog-card:hover {
  box-shadow: 0 8px 25px rgba(48,20,12,0.15);
  transform: translateY(-4px);
}

.catalog-img {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #f8f9fa;
}
.catalog-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.catalog-card:hover img {
  transform: scale(1.05);
}

.catalog-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--secondary-accent-color);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(190,124,22,0.4);
}

.catalog-hover-icons {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transition: all 0.3s ease;
}
.catalog-card:hover .catalog-hover-icons {
  opacity: 1;
}
.catalog-hover-icons a {
  background: #fff;
  color: var(--default-color);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-decoration: none;
}
.catalog-hover-icons a:hover {
  background: var(--secondary-accent-color);
  color: var(--contrast-color);
}

.catalog-name {
  color: var(--default-color);
  font-size: 1.05rem;
  font-weight: 600;
}
.price .old-price {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  text-decoration: line-through;
  font-size: 0.9rem;
}
.price .new-price {
  color: var(--secondary-accent-color);
  font-weight: 800;
  font-size: 1.25rem;
}

/* Add to Cart Button */
.catalog-btn-add {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.4s ease;
  overflow: hidden;
  width: 140px;
  height: 42px;
}
.catalog-btn-add .btn-icon {
  position: absolute;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  font-size: 1.2rem;
}
.catalog-btn-add .btn-text {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease;
}
.catalog-btn-add:hover .btn-text {
  opacity: 0;
  transform: translateY(-20px);
}
.catalog-btn-add:hover .btn-icon {
  opacity: 1;
  transform: translateY(0);
}
.catalog-btn-add:hover {
  background-color: var(--secondary-accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/*--------------------------------------------------------------
# Terms Of Service Section
--------------------------------------------------------------*/
.terms-of-service .tos-header {
  margin-bottom: 60px;
}

.terms-of-service .tos-header .last-updated {
  display: inline-block;
  padding: 8px 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 30px;
  color: var(--accent-color);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.terms-of-service .tos-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.terms-of-service .tos-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.terms-of-service .tos-content .content-section {
  margin-bottom: 50px;
  scroll-margin-top: 100px;
}

.terms-of-service .tos-content .content-section:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.terms-of-service .tos-content .content-section p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
  margin-bottom: 20px;
}

.terms-of-service .tos-content .content-section p:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .info-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .info-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .info-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .list-items {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.terms-of-service .tos-content .content-section .list-items li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .list-items li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .list-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .alert-box {
  display: flex;
  gap: 20px;
  padding: 25px;
  background-color: var(--surface-color);
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .alert-box i {
  font-size: 2rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .prohibited-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-content .content-section .prohibited-list {
    grid-template-columns: 1fr;
  }
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background-color: var(--surface-color);
  border-radius: 12px;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item i {
  color: #dc3545;
  font-size: 1.2rem;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item span {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .disclaimer-box {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .disclaimer-box p {
  margin-bottom: 15px;
  font-weight: 500;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .notice-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .notice-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .notice-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-contact {
  margin-top: 60px;
}

.terms-of-service .tos-contact .contact-box {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%) 0%, color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}
@media (max-width: 576px) {
  .terms-of-service .tos-contact .contact-box {
    flex-direction: column;
    text-align: center;
  }
}

.terms-of-service .tos-contact .contact-box .contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.terms-of-service .tos-contact .contact-box .contact-icon i {
  font-size: 1.8rem;
  color: var(--contrast-color);
}

.terms-of-service .tos-contact .contact-box .contact-content {
  flex: 1;
}

.terms-of-service .tos-contact .contact-box .contact-content h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-contact .contact-box .contact-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 15px;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}
.terms-of-service .tos-contact .contact-box .contact-content .contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
@media print {
  .terms-of-service .tos-contact {
    display: none;
  }
  .terms-of-service .content-section {
    page-break-inside: avoid;
  }
}
/*--------------------------------------------------------------
# Privacy Section
--------------------------------------------------------------*/
.privacy {
  font-size: 1rem;
  line-height: 1.7;
}
.privacy .privacy-header {
  margin-bottom: 60px;
  text-align: center;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-bottom: 40px;
}
.privacy .privacy-header .header-content .last-updated {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 20px;
}
.privacy .privacy-header .header-content h1 {
  font-size: 2.8rem;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 600;
}
.privacy .privacy-header .header-content .intro-text {
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
}
.privacy .privacy-content .content-section {
  margin-bottom: 50px;
}
.privacy .privacy-content .content-section:last-child {
  margin-bottom: 0;
}
.privacy .privacy-content .content-section h2 {
  font-size: 1.8rem;
  color: var(--heading-color);
  margin-bottom: 25px;
  font-weight: 600;
}
.privacy .privacy-content .content-section h3 {
  font-size: 1.4rem;
  color: var(--heading-color);
  margin: 30px 0 20px;
  font-weight: 500;
}
.privacy .privacy-content .content-section p {
  margin-bottom: 20px;
}
.privacy .privacy-content .content-section p:last-child {
  margin-bottom: 0;
}
.privacy .privacy-content .content-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.privacy .privacy-content .content-section ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
}
.privacy .privacy-content .content-section ul li:last-child {
  margin-bottom: 0;
}
.privacy .privacy-content .content-section ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent-color);
}
.privacy .privacy-contact {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.privacy .privacy-contact h2 {
  font-size: 1.8rem;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 600;
}
.privacy .privacy-contact p {
  margin-bottom: 20px;
}
.privacy .privacy-contact .contact-details {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 10px;
}
.privacy .privacy-contact .contact-details p {
  margin-bottom: 10px;
}
.privacy .privacy-contact .contact-details p:last-child {
  margin-bottom: 0;
}
.privacy .privacy-contact .contact-details p strong {
  color: var(--heading-color);
  font-weight: 600;
}
@media print {
  .privacy {
    font-size: 12pt;
    line-height: 1.5;
  }
  .privacy .privacy-header {
    text-align: left;
    border-bottom: 1pt solid #000;
    padding-bottom: 20pt;
    margin-bottom: 30pt;
  }
  .privacy h1 {
    font-size: 24pt;
  }
  .privacy h2 {
    font-size: 18pt;
    page-break-after: avoid;
  }
  .privacy h3 {
    font-size: 14pt;
    page-break-after: avoid;
  }
  .privacy p,
  .privacy ul {
    page-break-inside: avoid;
  }
  .privacy .contact-details {
    border: 1pt solid #000;
    padding: 15pt;
  }
}
@media (max-width: 767px) {
  .privacy .privacy-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
  }
  .privacy .privacy-header .header-content h1 {
    font-size: 2.2rem;
  }
  .privacy .privacy-header .header-content .intro-text {
    font-size: 1.1rem;
  }
  .privacy .privacy-content .content-section {
    margin-bottom: 40px;
  }
  .privacy .privacy-content .content-section h2 {
    font-size: 1.6rem;
  }
  .privacy .privacy-content .content-section h3 {
    font-size: 1.3rem;
  }
}
/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 {
  padding: 120px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 97%) 100%);
}
.error-404 .error-number {
  font-size: clamp(120px, 20vw, 280px);
  font-weight: 300;
  color: color-mix(in srgb, var(--heading-color), transparent 15%);
  line-height: 0.8;
  margin-bottom: 40px;
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}
.error-404 .error-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.error-404 .error-description {
  font-size: 18px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.error-404 .error-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-bottom: 80px;
}
@media (min-width: 576px) {
  .error-404 .error-actions {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }
}

.error-404 .error-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
}

.error-404 .error-actions .btn-primary:hover {
  background-color: transparent;
  color: var(--accent-color);
  transform: translateY(-2px);

}

.error-404 .error-actions .btn-primary i {
  font-size: 18px;
}

.error-404 .error-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background-color: transparent;
  color: var(--heading-color);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.error-404 .error-actions .btn-secondary:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.error-404 .error-actions .btn-secondary i {
  font-size: 18px;
}

.error-404 .helpful-links {
  text-align: center;
}

.error-404 .helpful-links h3 {
  font-size: 24px;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 40px;
}

.error-404 .helpful-links .links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .error-404 .helpful-links .links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.error-404 .helpful-links .link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 20px;
  background-color: var(--surface-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--default-color);
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.error-404 .helpful-links .link-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--accent-color);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.error-404 .helpful-links .link-item i {
  font-size: 24px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.error-404 .helpful-links .link-item span {
  font-size: 16px;
  font-weight: 400;
}

.error-404 .helpful-links .link-item:hover i {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .error-404 {
    padding: 80px 0;
  }
  .error-404 .error-actions {
    margin-bottom: 60px;
  }
  .error-404 .helpful-links .links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .error-404 .helpful-links .links-grid {
    grid-template-columns: 1fr;
  }
}
