
/* ============================
   Hero Section Styling
============================ */
.hero-banner-section {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  z-index: 1;
  background-color: var(--color-primary-dark); /* fallback while bg loads */
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.container {
  z-index: 2;
  height: 100%;
}

/* ============================
   Text Box Styling
============================ */
.hero-left-box {
  background: transparent;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  color: var(--color-primary);
  font-family: var(--font-family-base);
}

.swiper-left.visually-hidden {
  font-size: 2rem;
}
            

.hero-left-box h2 {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.hero-left-box p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-white);
}

.hero-left-box .cta-buttons {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ============================
   Countdown Timer Styling
============================ */
.countdown-timer .timer-box {
  text-align: center;
  padding: 8px 10px;
  min-width: 60px;
  background: var(--color-primary);
  border-radius: var(--border-radius-md);
  color: var(--color-white);
}

.countdown-timer .timer-box span {
  display: inline-block;
  min-width: 2ch;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-family-mono);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1;
}

/* ============================
   Swiper Styling
============================ */
.swiper-left,
.swiper-right {
  height: 400px !important;
}

.swiper-slide {
  aspect-ratio: 16 / 9;
  position: relative;
  display: flex;
  justify-content: center;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-light);
}

.swiper-pagination {
  justify-content: center;
  align-items: center;
  display: flex;
  gap: 8px;
  margin-top: 1rem;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: rgba(var(--color-primary-rgb), 0.3);
  opacity: 1;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.swiper-pagination-bullet-active {
  background-color: var(--color-primary);
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.2);
}

/* ============================
   Responsive: Tablet
============================ */
@media (max-width: 991px) {
  .hero-banner-section {
    height: auto;
    flex-direction: column;
    padding: 2rem 0;
  }

  .swiper-left,
  .swiper-right {
    height: auto !important;
    width: 100%;
  }

  .swiper-right {
    margin-top: 1.5rem;
    height: 200px;
  }

  .swiper-slide {
    aspect-ratio: auto;
    height: auto;
    min-height: 200px;
    padding: 0;
  }

  .swiper-slide img.img-cover {
    position: static;
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-light);
  }
}

/* ============================
   Responsive: Mobile
============================ */
@media (max-width: 575px) {
  .hero-left-box {
    padding: 1.25rem;
    box-shadow: none !important;
  }

  .hero-left-box h2 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero-left-box p {
    font-size: 0.95rem;
  }
 
  .img-cover {
    box-shadow: none !important;
  }

  .countdown-timer .timer-box {
    min-width: 40px;
    padding: 6px 8px;
  }

  .countdown-timer .timer-box span {
    min-width: 1.5ch;
    font-size: 1rem;
  }

  .swiper-pagination {
    margin-top: 0.75rem;
  }
}

/* ================================
   Top-bar Styles
================================ */
.top-bar {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Social Icon Hover Styling */
.social-icon {
  color: var(--color-white);
  transition: color 0.3s ease, transform 0.3s ease;
  font-size: 1.2rem;
  display: inline-block;
}

.social-icon:hover {
  color: var(--color-secondary, #0d6efd); /* fallback if var not defined */
  transform: scale(1.1);
  text-decoration: none;
}

.input-group .form-control {
  height: 40px;
}

.input-group .btn {
  background-color: var(--color-primary);
  height: 40px;
  transition: background-color 0.3s ease;
  border: 1px solid var(--color-white);
}

.input-group .btn:hover {
  background-color: var(--color-secondary);
  color: #fff;
}


.input-group .form-control::placeholder {
  color: var(--color-primary);
  opacity: 0.7;
}

.animate-flash {
  animation: flash 1.3s infinite alternate;
}

@keyframes flash {
  0% { opacity: 1; }
  100% { opacity: 0.8; }
}

/* ================================
   Navbar Styles
================================ */

.custom-navbar {
  background: var(--color-navbar-bg);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-weight: var(--font-weight-semibold);
  font-size: 1.125rem;
}

.custom-navbar .navbar-brand {
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  color: var(--color-white) !important;
  transition: color var(--transition-fast);
  font-size: 1.75rem;
}

.custom-navbar .navbar-brand:hover,
.custom-navbar .navbar-brand:focus {
  color: var(--color-navbar-hover) !important;
  text-shadow: 0 0 5px rgba(214, 89, 15, 0.7);
  outline: none;
}

.custom-navbar .nav-link {
  color: var(--color-primary) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-md);
  position: relative;
  user-select: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.custom-navbar .nav-link.active,
.custom-navbar .nav-link:hover,
.custom-navbar .nav-link:focus {
  color: var(--color-navbar-hover, #fff) !important;
  border-radius: 0.5rem;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.custom-navbar .nav-link.active::before,
.custom-navbar .nav-link:hover::before,
.custom-navbar .nav-link:focus::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.7;
  z-index: -1;
  border-radius: 1rem;
  filter: blur(8px);
  transition: opacity 0.3s ease-in-out;
}

/* Smooth hover dropdown */
.custom-navbar .dropdown:hover > .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-navbar .dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  background-color: #ffffff;
  border-radius: var(--border-radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  padding: 0.5rem 0.5rem;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  transition-delay: 0s, 0s, 0.3s;
}

/* Show dropdown */
.custom-navbar .dropdown.show > .dropdown-menu,
.custom-navbar .dropdown:hover > .dropdown-menu {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown icon rotation fix */
.custom-navbar .custom-dropdown-toggle::after {
  display: none !important;
}

.custom-navbar .custom-dropdown-toggle {
  display: inline-flex;
  align-items: center;
}

.custom-navbar .custom-dropdown-toggle .custom-icon {
  margin-left: 0.5em;
  font-size: 0.85em;
  vertical-align: middle;
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}

/* Rotate icon on hover of parent dropdown */
.custom-navbar .dropdown:hover > .custom-dropdown-toggle .custom-icon {
  transform: rotate(180deg);
}


/* Dropdown columns */
.custom-navbar .dropdown-menu .row > div {
  padding: 1rem 1.5rem;
  border-right: 1px solid #f0f0f0;
}

.custom-navbar .dropdown-menu .row > div:last-child {
  border-right: none;
}

/* Category background pastel tones */
.custom-navbar .dropdown-menu .electronics {
  background-color: #eef5ff; /* sky blue */
}

.custom-navbar .dropdown-menu .fashion {
  background-color: #fff3e6; /* peach */
}


.custom-navbar .dropdown-menu .home {
  background-color: #e9f8f1; /* light mint */
}

.custom-navbar .dropdown-menu .beauty {
  background-color: #fff0f5; /* light pink */
}

/* Dropdown headings */
.custom-navbar .dropdown-menu h6 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  color: #6c757d;
  letter-spacing: 0.5px;
}

/* Dropdown items */
.custom-navbar .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #212529;
  border-radius: 0.6rem;
  padding: 0.5rem 0.75rem;
  background-color: transparent;
  transition: all 0.25s ease-in-out;
}

.custom-navbar .dropdown-item i {
  font-size: 1rem;
  color: #6c757d;
  transition: color 0.2s ease;
}

.custom-navbar .dropdown-item:hover {
  background-color: #f1f1f1;
  color: #d6590f;
  transform: translateX(5px);
}

.custom-navbar .dropdown-item:hover i {
  color: #d6590f;
}

/* Image hover effect */
.custom-navbar .dropdown-menu img {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius-md);
}

/* Fix dropdown overflow on right */
.custom-navbar .dropdown-menu.dropdown-menu-right {
  left: auto;
  right: 0;
}

/* Hide Bootstrap default caret */
.custom-dropdown-toggle::after {
  display: none !important;
}


/* Navbar toggler for mobile */
.navbar-toggler {
  border: none;
  background: transparent !important;
  padding: 0.25rem 0.75rem;
  user-select: none;
  transition: filter var(--transition-fast);
  cursor: pointer;
}
.navbar-toggler:hover,
.navbar-toggler:focus {
  filter: brightness(0.8);
  outline: none;
}
.navbar-toggler-icon {
  filter: invert(0);
  width: 1.8rem;
  height: 1.8rem;
}

/* ================================
   Search Form
================================ */
.custom-navbar form.d-flex {
  max-width: 320px;
}

.custom-navbar input.form-control {
  border-radius: 50rem;
  border: none;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  transition: box-shadow var(--transition-fast);
  box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
}
.custom-navbar input.form-control:focus {
  box-shadow: 0 0 12px var(--color-primary);
  outline: none;
  border: none;
}

.custom-navbar button.btn.btn-dark {
  border-radius: 50rem;
  padding: 0.45rem 1.2rem;
  font-size: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
}
.custom-navbar button.btn.btn-dark:hover,
.custom-navbar button.btn.btn-dark:focus {
  outline: none;
}

.input-group > .form-control {
  border-top-left-radius: 50rem;
  border-bottom-left-radius: 50rem;
}

.input-group > .btn {
  border-top-right-radius: 50rem;
  border-bottom-right-radius: 50rem;
}

/* ================================
   Cart & Account Links
================================ */
.custom-navbar ul.navbar-nav.align-items-center > li.nav-item > a.nav-link {
  color: var(--color-primary) !important;
  font-weight: var(--font-weight-semibold);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--border-radius-md);
  transition: color 0.4s ease, background-color 0.4s ease;
}
.custom-navbar ul.navbar-nav.align-items-center > li.nav-item > a.nav-link:hover,
.custom-navbar ul.navbar-nav.align-items-center > li.nav-item > a.nav-link:focus {
  color: var(--color-primary) !important;
  outline: none;
}

/* Cart badge */
.custom-navbar ul.navbar-nav > li.nav-item > a.nav-link {
  position: relative; /* anchor for absolute badge */
}

.custom-navbar ul.navbar-nav > li.nav-item > a.nav-link .badge {
  position: absolute;    /* enable positioning */
  top: 0.50rem;          /* adjust vertical */
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  background-color: #dc3545;
  color: var(--color-white);
  padding: 0.25em 0.5em;
  border-radius: 0.75rem;
  margin-left: 0;        /* no left margin with absolute */
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  transform: translate(50%, -50%); /* move badge slightly outside top-right */
}

/* ================================
   Offcanvas (Mobile Menu)
================================ */
.offcanvas.offcanvas-start {
  background-color: var(--color-white) !important;
  color: var(--color-primary)!important;
  user-select: none;
  box-shadow: none !important; /* Only for mobile menu */
}

.offcanvas {
  /* Retain shadows for other offcanvas elements like cart */
  /* box-shadow is applied only to .offcanvas-start above */
}

.offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255);
}

.offcanvas .btn-close {
  filter: invert(0);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
  cursor: pointer;
}
.offcanvas .btn-close:hover,
.offcanvas .btn-close:focus {
  opacity: 1;
  outline: none;
}

.search-wrapper {
  position: relative;
  width: 100%;
}

.search-wrapper .search-input {
  border: 1px solid var(--color-primary);
  padding: 0.5rem 1rem;
  padding-right: 2.5rem; /* space for icon */
  border-radius: var(--border-radius-md);
  font-size: 1rem;
  color: var(--color-primary);
  background-color: var(--color-white);
  transition: background-color var(--transition-fast);
}

.search-wrapper .search-input::placeholder {
  color: var(--color-primary);
}

.search-wrapper .search-input:focus {
  background-color: rgba(255, 255, 255, 0.2);
  outline: none;
}

.search-wrapper .search-btn-inside {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: var(--color-primary);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0;
}

.search-wrapper .search-btn-inside:hover,
.search-wrapper .search-btn-inside:focus {
  color: var(--color-dark); /* optional for hover effect */
  outline: none;
}


.offcanvas .nav-link {
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary) !important;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-md);
  transition: background-color var(--transition-fast);
  cursor: pointer;
}
.offcanvas .nav-link:hover,
.offcanvas .nav-link:focus {
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  outline: none;
}

/* ================================
   Responsive Tweaks
================================ */
@media (max-width: 991.98px) {
  .custom-navbar form.d-flex {
    max-width: 100%;
  }
  .custom-navbar .nav-link {
    padding: 0.4rem 0.8rem;
  }
  .custom-navbar .navbar-brand {
    font-size: 1.5rem;
  }
}


/* =============================
   Popular Categories
   ============================= */

/* Featured Categories Section */
.featured-categories {
  background-color: var(--color-bg-soft-blue);
}

/* Category Card */
.category-card {
  transition: var(--transition-fast);
  cursor: pointer;
  height: 100%;
  border-radius: 20px!important;
}

.category-card .image-wrap {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: var(--transition-fast);
}

.category-card .category-img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.category-card:hover .category-img {
  transform: scale(1.1);
}

.category-card h6 {
  color: #000;
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 576px) {
  .category-card .image-wrap {
    width: 64px;
    height: 64px;
  }

  .category-card h6 {
    font-size: 0.85rem;
  }
}
/* ======================================
   Top-selling-product & Todays Deals
   ====================================== */

.top-selling {
  background-color: var(--color-bg-soft-blue);
}

/* Main Deal Hover Overlay */
.deal-cover {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.deal-cover img {
  transition: transform 0.4s ease;
}

.deal-cover:hover img {
  transform: scale(1.05);
}

.deal-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.deal-cover:hover .deal-hover-overlay {
  opacity: 1;
  visibility: visible;
}

/* Deal Slide Base */
.deal-slider {
  position: relative;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deal-slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
  flex-wrap: wrap;
}

.deal-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

img.rounded.flex-shrink-0 {
  width: auto;
  height: 80;
  max-width: 100%;
  aspect-ratio: 0.93; /* Match actual */
  object-fit: cover; /* or contain depending on layout */
}


.fade-slide {
  animation: fadeInSlide 0.8s ease;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Enhancements */
@media (max-width: 768px) {

  .top-selling {
    padding: 0.5rem!important;
  }
  
  .deal-slide {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .deal-slide img {
    width: 80px;
    height: 80px;
  }

  .deal-slide .ms-auto {
    margin-left: 0 !important;
    margin-top: 0.5rem;
  }

  .deal-slide h6 {
    font-size: 1rem;
  }

  .deal-slide p {
    font-size: 0.85rem;
  }

  .deal-slide a {
    width: 100%;
    text-align: center;
  }
}

/* =============================
   Product Listing
   ============================= */
  .product-listing {
    background-color: var(--color-bg-soft-blue);
   }

  .product-card-hover {
    transition: var(--transition-fast);
  }

  .product-card-hover:hover {
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-4px);
  }

  .card-img-top {
    width: 100%;
    height: 130px;
    object-fit: contain; /* This will show the full image */
    background-color: #fff; /* optional: avoid transparency gaps */
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
    padding: 0.5rem; /* optional: adds breathing space */
    transition: transform 0.3s ease;
  }

  .filter-box {
    border-radius: var(--border-radius-lg);
    background-color: var(--color-white);
    box-shadow: var(--box-shadow-light);
    transition: var(--transition-fast);
    font-family: var(--font-family-base);
  }

  .filter-box h6 {
    font-size: 1rem;
    color: var(--color-primary);
  }

  .filter-box .form-check-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
  }

  .filter-box .form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
  }

  .filter-box .form-check-input {
    cursor: pointer;
  }

  .filter-box .form-check-label {
    cursor: pointer;
  }

 .form-range::-webkit-slider-thumb {
    background-color: var(--color-primary);
    border: none;
  }

  .form-range::-webkit-slider-runnable-track {
    background-color: rgba(15, 108, 90, 0.2); /* Example lightened track */
  }

  .form-range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 0.25rem rgba(15, 108, 90, 0.25);
  }

  .form-range::-moz-range-thumb {
    background-color: var(--color-primary);
    border: none;
  }

  .form-range::-moz-range-track {
    background-color: rgba(15, 108, 90, 0.2);
  }

  /* Ensure the parent container is relatively positioned */
  .product-gallery,
  .card,
  .product-box {
    position: relative;
  }

  /* Wishlist Button (Top-Right Positioned) */
  .wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: none;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 999;
  }

  .wishlist-btn:hover {
    background-color: #f8f9fa;
    transform: scale(1.05);
  }

  .wishlist-btn i {
    color: #dc3545;
    font-size: 1.25rem;
    transition: transform 0.3s ease, color 0.3s ease;
  }

  /* Click Animation */
  .wishlist-btn.clicked i {
    animation: heart-pop 0.4s ease;
    color: #b02a37;
  }

  @keyframes heart-pop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.4); }
    100% { transform: scale(1); }
  }

  .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f04e4e;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    z-index: 999;
  }

  .product-price del {
    color: var(--color-secondary); !important;
    margin-left: 6px;
    font-size: 0.9rem;
  }

  @media (max-width: 575.98px) {
  .product-card-hover {
    transition: none;
    box-shadow: none;
    transform: none;
  }

  .card-img-top {
    height: 100px;
    padding: 0.25rem;
    object-fit: contain;
  }

  .filter-box {
    box-shadow: none;
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .filter-box h6 {
    font-size: 0.95rem;
  }

  .bi-star-fill, .bi-star {
    font-size: .7rem!important;
  }

  .filter-box .form-check-label {
    font-size: 0.85rem;
  }

  .wishlist-btn {
    width: 28px;
    height: 28px;
    top: 8px;
    right: 8px;
    box-shadow: none;
    background-color: #ffffff;
  }

  .wishlist-btn i {
    font-size: 1rem;
  }

  .product-box,
  .product-gallery {
    padding: 0.5rem !important;
  }

  .btn {
    font-size: 0.9rem !important;
  }

  .product-price {
    font-size: 0.9rem !important;
  }

  .product-card-hover .btn {
    min-height: 36px;
  }

  .product-card-hover:hover {
    transform: none;
    box-shadow: none;
  }

  .product-badge {
    font-size: 0.6rem!important;
    font-weight: 600!important;
    padding: 2px 6px!important;
  }
}


/* ================
   Vendor Showcase
   ================ */
.vendor-showcase {
  background-color: var(--color-bg-soft-pink);
  padding-top: 4rem!important;
  padding-bottom: 8rem!important;
}

.vendor-card-section {
  height: 450px;
  overflow: hidden;

}

/* Vendor card styling */
.vendor-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem;
  height: 100%;
}

.vendor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.vendor-logo {
  width: 65px;
  height: 65px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 0.2rem;
  align-self: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.vendor-card:hover .vendor-logo {
  transform: scale(1.05);
}

.vendor-card h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.vendor-card p {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: #6c757d;
  text-align: center;
}

.vendor-card .btn {
  font-size: 0.75rem;
  padding: 0.3rem 1rem;
  margin-top: 0.3rem;
  align-self: center;
}


/* ================
   Sponsored Section
   ================ */
.sponsor-card {
  height: 425px;
  position: relative;
  overflow: hidden;
  background-color: #fff;
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-card .carousel-inner,
.sponsor-card .carousel-item {
  height: 100%;
}

.sponsor-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

.sponsor-overlay-hover {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
  transition: all 0.3s ease-in-out;
}

.sponsor-card:hover .sponsor-overlay-hover {
  bottom: 0;
  opacity: 1;
}

.sponsor-card .badge {
  z-index: 3;
}

@media (max-width: 991.98px) {
  .vendor-card-section {
    height: auto;
    overflow: visible;
  }
  .sponsor-card {
    margin-top: 1.5rem;
  }
}


/* ====================================
   Become Seller Section
==================================== */
.become-seller-section {
  background-color: var(--color-white);
  font-family: var(--font-family-base);
  padding: 2rem 0;
}

.become-seller-section.seller-img {
  aspect-ratio: 6 / 4;
  object-fit: cover;
}

.become-seller-section .section-title {
  color: var(--color-primary);
  font-size: 2.2rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
}

.become-seller-section p.lead {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .become-seller-section .section-title,
  .become-seller-section .section-text {
    text-align: center;
    font-size: 2.2rem!important;
  }

  .become-seller-section .btn-gradient {
    display: block;
    margin: 0 auto;
  }

  .become-seller-section .seller-img {
    height: 400px!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    overflow: hidden!important;
    text-align: center!important;
  }

}

/* =============================
   Deals Banner
============================= */
.deals-banner {
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  position: relative;
  padding-top: 2rem;
  padding-bottom: 3.8rem;
}

.deal-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-neutral-dark);
}

.deal-content p.lead {
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 500px;
}

.deals-banner .btn-dark {
  background-color: var(--color-neutral-dark);
  border: none;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: background-color var(--transition-fast);
}

/* Image positioning: overflow above top padding, bottom fixed */
.deal-image {
  position: absolute;
  right: 4rem!important;       /* some margin from right */
  bottom: 0;         /* pinned to bottom */
  top: -120px;        /* pull image upwards, adjust as needed */
  max-width: 320px;
  opacity: 0;
  transform: translateY(0);
  transition: all 0.8s ease;
  z-index: 2;        /* above background */
}

.deal-image img {
  max-width: 100%;
  height: auto;
}

/* Fade-in animation on scroll */
.fade-in-on-scroll.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .deals-banner {
    text-align: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .deal-image {
    position: static;
    margin-top: 2rem;
    opacity: 1 !important;
    transform: translateY(0) !important;
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}


/* =============================
   Newsletter
   ============================= */
  .newsletter {
    background-color: var(--color-bg-soft-pink);
  }

  .newsletter input::placeholder {
    color: #999;
    font-weight: 400;
  }

  .newsletter .btn {
    transition: all 0.3s ease;
  }

  .newsletter .btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

/* ================================
   Product Detail Page Styles
================================ */

/* Product Gallery Container */
.product-gallery {
  position: relative;
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  padding: 1rem;
}

/* Main Product Image */
.product-main-img {
  max-width: 400px;
  max-height: 400px;
  border-radius: 0.5rem;
}

/* Thumbnail Images */
.thumb-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}
.thumb-img.active,
.thumb-img:hover {
  border-color: #0d6efd;
}

/* Product Title and Meta */
.product-detail-page h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.product-detail-page p.text-muted {
  margin-bottom: 0.75rem;
}

.product-detail-page .product-badge {
  position: absolute;
  top: 25px;
  left: 25px;
  background: #f04e4e;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  z-index: 999;
  }

.product-detail-page .wishlist-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 30px;
    height: 30px;
    border: none;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 999;
  }

  .product-detail-page .wishlist-btn:hover {
    background-color: #f8f9fa;
    transform: scale(1.05);
  }

  .product-detail-page .wishlist-btn i {
    color: #dc3545;
    font-size: 1.25rem;
    transition: transform 0.3s ease, color 0.3s ease;
  }

  /* Click Animation */
  .product-detail-page .wishlist-btn.clicked i {
    animation: heart-pop 0.4s ease;
    color: #b02a37;
  }

/* Product Price */
.product-price {
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-primary);
  margin-right: 0.5rem;
}

.product-price + del {
  font-size: 1rem;
}

/* Product Rating */
.bi-star-fill,
.bi-star {
  font-size: 1.1rem;
}

/* Stock Badge */
.product-stock-badge {
  display: inline-block;
  background-color: #d4edda;
  color: #155724;
  padding: 0.4rem 0.75rem;
  border-radius: 0.25rem;
  font-weight: 500;
}

/* Breadcrumb */
.breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}

.product-highlights .highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-highlights .highlight-item:hover {
  transform: translateY(-4px);
}

.icon-wrapper {
  background-color: var(--color-bg-soft-pink);
  color: var(--color-neutral-dark);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.highlight-item:hover .icon-wrapper {
  transform: scale(1.1);
  filter: brightness(1.05);
}

.highlight-item .icon-wrapper i {
  font-size: 1.2rem; /* slightly bigger */
  color: var(--color-primary); /* or any accent color */
}


.highlight-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  margin: 0;
  text-align: center;
}

/* Wrappers */
.delivery-check-wrapper,
.custom-qty-wrapper {
  font-family: var(--font-family-base);
  max-width: 230px;
}

/* Labels aligned */
.delivery-check-wrapper label,
.custom-qty-wrapper label {
  display: block;
  font-weight: var(--font-weight-semibold);
  font-size: 14px;
  color: var(--color-neutral-dark);
  margin-bottom: 6px;
  line-height: 1.2;
}

/* delivery-check-control */
.delivery-check-control {
  display: flex;
  align-items: center;
  height: 42px;
  background-color: var(--color-neutral-light);
  border-radius: 999px;
  overflow: hidden;
  transition: var(--transition-fast);
  width: 100%;
}

.delivery-input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 0 0.75rem;
  font-size: 15px;
  background-color: transparent;
  color: var(--color-neutral-dark);
  outline: none;
  height: 100%;
}

.delivery-btn {
  flex-shrink: 0;
  border: none;
  padding: 0 14px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-fast);
  height: 100%;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}

.delivery-btn:hover {
  background-color: var(--color-primary-dark);
}

.delivery-info {
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: 6px;
  color: green;
}

/* === QUANTITY CONTROL === */
.custom-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  overflow: hidden;
  height: 42px;
  background-color: var(--color-white);
  width: 100%;
}

/* Input field — better width and padding */
.custom-qty-input {
  width: 60px;
  min-width: 50px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  background-color: var(--color-neutral-light);
  color: var(--color-neutral-dark);
  outline: none;
  height: 100%;
  padding: 0 0.5rem;
  flex: 1;
}

/* Buttons — outlined and balanced */
.custom-qty-btn {
  width: 42px;
  height: 100%;
  background-color: transparent;
  border: none;
  color: var(--color-primary);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.custom-qty-btn:first-child {
  border-right: 1px solid var(--color-primary);
}

.custom-qty-btn:last-child {
  border-left: 1px solid var(--color-primary);
}

.custom-qty-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* === Product Tabs Styling === */
.related-products {
  border-top: 1px solid #eee;
  padding-top: 2rem;
}

.product-tab-nav {
  border-bottom: none;
  padding: 0.5rem;
  border-radius: 12px;
  gap: 0.5rem;
  display: flex;
  flex-wrap: wrap;
}

/* Base styles for tab buttons */
.product-tab-nav .nav-link {
  border: 1px solid transparent;
  background-color: var(--color-white);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 15px;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent text wrapping */
}

/* Hover and active states */
.product-tab-nav .nav-link:hover,
.product-tab-nav .nav-link.active {
  background-color: var(--color-bg-soft-pink);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.product-tab-nav .nav-link.active {
  background-color: var(--color-bg-soft-pink);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Tab Content */
.product-tab-content {
  padding: 1rem;
  border-radius: 12px;
  margin-top: 0.5rem;
  font-size: 15px;
  color: var(--color-neutral-dark);
  border: 1px solid #e0e0e0;
}

@media (max-width: 576px) {
  .product-tab-nav {
    display: flex !important;          /* Flex container */
    gap: 0.25rem;                     /* Smaller gap */
    overflow-x: auto;                 /* Horizontal scroll if needed */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  }

  .product-tab-nav .nav-link {
    flex: 1 1 0 !important;                     /* Equal width tabs */
    text-align: center !important;
    min-width: 0 !important;                    /* Allow shrinking */
    font-size: 12px !important;                 /* Smaller font size */
    padding: 0.25rem 0.5rem !important;         /* Reduced padding */
    border-radius: 6px !important;              /* Slightly smaller radius */
    font-weight: 400 !important;
    white-space: nowrap !important;             /* Prevent wrapping */
  }
}


/* Responsive Tweaks */
@media (max-width: 768px) {
  .product-gallery {
    padding: 0.75rem;
  }
  .thumb-img {
    width: 60px;
    height: 60px;
  }
  .product-detail-page h2 {
    font-size: 1.5rem;
  }
}

/* ============================
   Offcanvas Cart Styles
=============================== */

.offcanvas-cart {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  max-width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  transform: translateX(100%);
  transition: transform 0.35s ease-in-out;
  z-index: 1050 !important;
  display: flex;
  flex-direction: column;
  /* Remove shadow */
  box-shadow: none;
  border-left: 1px solid #dee2e6;
}

/* Show class for offcanvas panel */
.offcanvas-cart.show {
  transform: translateX(0);
}

/* Backdrop overlay */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1040!important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.cart-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* Header */
.offcanvas-cart .offcanvas-header {
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
  background-color: #f9f9f9;
}

.offcanvas-cart .offcanvas-header h5 {
  font-size: 1.1rem;
}

.offcanvas-cart .btn-close {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: transparent;
  filter: none;
  box-shadow: none;
  color: #6c757d;
  font-size: 1.2rem;
}

.offcanvas-cart .btn-close:hover {
  color: var(--bs-primary);
}

/* Cart Items */
.cart-items {
  padding: 0.75rem 1rem;
  overflow-y: auto;
  max-height: calc(100vh - 250px);
}

.cart-item {
  padding: 1rem 0;
  border-bottom: 1px solid #ececec;
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.cart-item h6 {
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
}

.cart-item small {
  font-size: 0.75rem;
  color: #6c757d;
}

.cart-item .fw-bold {
  font-size: 1rem;
}

/*  Quantity Qontrol  */
.qty-width {
  width: 140px; /* adjust to preferred size */
  max-width: 100%;
}

.item-qnt .custom-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-primary);
  border-radius: 3px;
  overflow: hidden;
  height: 25px;
  background-color: var(--color-white);
  width: 100%;
}

/* Input field — better width and padding */
.item-qnt .custom-qty-input {
  width:40px;
  min-width: 50px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  background-color: var(--color-neutral-light);
  color: var(--color-neutral-dark);
  outline: none;
  height: 100%;
  padding: 0 0.5rem;
  flex: 1;
}

/* Buttons — outlined and balanced */
.item-qnt .custom-qty-btn {
  width: 30px;
  height: 100%;
  background-color: transparent;
  border: none;
  color: var(--color-primary);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.item-qnt .custom-qty-btn:first-child {
  border-right: 1px solid var(--color-primary);
}

.item-qnt .custom-qty-btn:last-child {
  border-left: 1px solid var(--color-primary);
}

.item-qnt .custom-qty-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Remove Button */
.cart-item .btn-light.text-danger {
  background-color: #f8d7da;
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.cart-item .btn-light.text-danger:hover {
  background-color: #f1b0b7;
}

/* Cart Summary */
.cart-summary {
  padding: 1rem;
  background-color: #fafafa;
  border-top: 1px solid #dee2e6;
}

.cart-summary .fw-medium {
  font-size: 0.95rem;
}

.cart-summary .fw-bold {
  font-size: 1rem;
}

.cart-summary .btn {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
}

.cart-summary .btn-outline-secondary {
  border-color: #ced4da;
  color: #6c757d;
}

.cart-summary .btn-outline-secondary:hover {
  background-color: #e9ecef;
  color: #000;
}

.cart-items::-webkit-scrollbar {
  width: 6px;
}

.cart-items::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
}

/* =============================
   checkout Page
   ============================= */

.checkout-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 40px 15px;
}
.form-section, .summary-section {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 30px;
}
.form-title {
font-weight: 600;
  color: var(--color-neutral-dark);
}
.section-divider {
  border-top: 2px dashed #dee2e6;
  margin: 30px 0;
}
.summary-section h5 {
  font-weight: bold;
  color: var(--color-primary);
}
.summary-section .total {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary);
}


/* =============================
   Footer Style
   ============================= */
.footer-link {
  color: #adb5bd;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer h5, .footer h6 {
  color: #fff;
}

.footer .hover-opacity:hover {
  opacity: 1 !important;
  color: var(--color-primary);
  transform: scale(1.05);
  transition: all 0.2s ease-in-out;
}

.footer img {
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.footer img:hover {
  opacity: 1;
}

.footer .app_icon img {
  height: 40px !important;
  width: auto;
  max-width: 100%;
}

/* For Better space adujstment from Mobile footer */
@media (max-width: 767.98px) {
  body {
    padding-bottom: 60px; /* adjust to footer height to prevent overlap */
  }

.offcanvas {
    padding-bottom: 90px!important;
  }

  /* Ensure this is less than footer */
  .offcanvas-cart {
    padding-bottom: 90px!important;
  }

  .back-to-top {
    bottom: 80px!important;
  }

}

/* ================================
   Declaration Modal Styles (Professional)
================================ */

/* ================================
   Declaration Modal Styles (Updated for Performance & CLS)
================================ */

.declaration-modal {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: var(--color-bg-soft-blue);
  color: var(--color-neutral-dark);
  z-index: 9999;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.6s ease, opacity 0.6s ease;
  padding: 1.25rem 0;
  font-family: var(--font-family-base);
  box-shadow: var(--box-shadow-light);
  border-top: 4px solid var(--color-primary);
  will-change: transform, opacity;
}

.declaration-modal.show {
  transform: translateY(0);
  opacity: 1;
}

.declaration-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.declaration-text {
  flex: 1 1 75%;
}

.declaration-text h5 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  letter-spacing: 0.5px;
}

.declaration-text p {
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0;
  color: var(--color-neutral-dark);
  text-align: justify;
  word-spacing: 0.4px;
}

.declaration-action {
  flex: 1 1 25%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.declaration-btn {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--border-radius-md);
  padding: 0.65rem 1.8rem;
  font-size: 0.95rem;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow 0.3s ease;
  box-shadow: var(--box-shadow-hover);
  white-space: nowrap;
}

.declaration-btn:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 0.8rem 1.5rem rgba(0, 0, 0, 0.2);
}

/* ================================
   Responsive Styling
================================ */
@media (max-width: 768px) {
  .declaration-content {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem;
  }

  .declaration-action {
    justify-content: flex-start;
    margin-top: 1rem;
  }

  .declaration-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .declaration-text h5 {
    font-size: 1.1rem;
  }

  .declaration-text p {
    font-size: 0.88rem;
  }
}


/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 999;
  display: none;
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  display: inline-flex;
}

.back-to-top:hover {
  background-color: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Error Page Style*/

.error-page {
  background-color: var(--color-bg-soft-blue, #f0f4f8);
  color: var(--color-neutral-dark, #333);
  font-family: var(--font-family-base, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif);
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  padding: 1rem;
}

.error-code {
  font-size: 7rem;
  font-weight: 800;
  color: var(--color-primary, #007bff);
  margin-bottom: 0.5rem;
}

.error-message {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.home-link {
  display: inline-block;
  background-color: var(--color-primary, #007bff);
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.home-link:hover {
  background-color: var(--color-primary-dark, #0056b3);
}
