/*
 * ============================================================
 *  SEYBUY — Custom Stylesheet
 *  Seychelles Multi-Vendor Marketplace
 *  Active eCommerce CMS (Laravel) · Bootstrap 4 + AIZ
 *
 *  Palette
 *    Primary  : #1a6b7a  (Deep Ocean Teal)
 *    Hover    : #155f6d
 *    Secondary: #e8652a  (Warm Coral)
 *    Navy     : #1a2b4a  (Deep Navy)
 *    Light BG : #f4f8f9
 *
 *  Author : Seybuy Design System
 *  Updated: 2026
 * ============================================================
 */

/* ============================================================
   1. CSS CUSTOM PROPERTIES (design tokens)
   ============================================================ */
:root {
  --sb-teal:        #1a6b7a;
  --sb-teal-hover:  #155f6d;
  --sb-teal-light:  #e8f4f6;
  --sb-coral:       #e8652a;
  --sb-coral-hover: #c9531e;
  --sb-navy:        #1a2b4a;
  --sb-navy-light:  #243660;
  --sb-bg-light:    #f4f8f9;
  --sb-border:      #e2eaec;
  --sb-text:        #2c3e50;
  --sb-text-muted:  #6b7e8a;
  --sb-radius:      6px;
  --sb-radius-pill: 50px;
  --sb-shadow-sm:   0 2px 8px rgba(0,0,0,0.07);
  --sb-shadow-card: 0 8px 24px rgba(0,0,0,0.12);
  --sb-transition:  0.2s ease;
}


/* ============================================================
   2. TYPOGRAPHY — Public Sans, clean modern hierarchy
   ============================================================ */
body {
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--sb-text);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Public Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sb-navy);
  line-height: 1.25;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 0.95rem; }

p {
  margin-bottom: 0.85rem;
  color: var(--sb-text);
}

a {
  color: var(--sb-teal);
  transition: color var(--sb-transition);
}
a:hover {
  color: var(--sb-teal-hover);
  text-decoration: none;
}

small, .small { font-size: 0.8rem; }


/* ============================================================
   3. HEADER — Announcement bar, search, cart
   ============================================================ */

/* Top announcement / promo bar */
.topbar,
.aiz-topbar,
#top-bar {
  background-color: var(--sb-navy) !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 7px 0;
  border-bottom: none;
}

.topbar a,
.aiz-topbar a,
#top-bar a {
  color: rgba(255,255,255,0.85);
  transition: color var(--sb-transition);
}
.topbar a:hover,
.aiz-topbar a:hover,
#top-bar a:hover {
  color: #ffffff;
}

/* Main header / navbar */
.navbar,
header.header,
.aiz-header {
  background-color: #ffffff;
  box-shadow: 0 2px 12px rgba(26,107,122,0.10);
  padding: 10px 0;
}

/* Brand / logo area */
.navbar-brand img {
  max-height: 46px;
  width: auto;
}

/* Search bar — pill shape */
.search-box,
.aiz-search,
form.search-form,
.navbar .input-group {
  border-radius: var(--sb-radius-pill) !important;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(26,107,122,0.10);
}

.search-box input,
.aiz-search input[type="text"],
.aiz-search input[type="search"],
form.search-form input {
  border-radius: var(--sb-radius-pill) 0 0 var(--sb-radius-pill) !important;
  border: 1.5px solid var(--sb-border);
  border-right: none;
  padding: 9px 20px;
  font-size: 13.5px;
  background: #f9fbfc;
  transition: border-color var(--sb-transition), box-shadow var(--sb-transition);
}
.search-box input:focus,
.aiz-search input:focus {
  border-color: var(--sb-teal);
  box-shadow: 0 0 0 3px rgba(26,107,122,0.12);
  outline: none;
  background: #fff;
}

.search-box .btn,
.aiz-search .btn-search,
form.search-form .btn {
  border-radius: 0 var(--sb-radius-pill) var(--sb-radius-pill) 0 !important;
  background-color: var(--sb-teal) !important;
  border-color: var(--sb-teal) !important;
  color: #ffffff !important;
  padding: 9px 22px;
  font-weight: 600;
  transition: background-color var(--sb-transition);
}
.search-box .btn:hover,
.aiz-search .btn-search:hover {
  background-color: var(--sb-teal-hover) !important;
  border-color: var(--sb-teal-hover) !important;
}

/* Category dropdown button next to search */
.search-category-select,
.category-btn {
  border-radius: var(--sb-radius-pill) 0 0 var(--sb-radius-pill) !important;
  border: 1.5px solid var(--sb-border);
  font-size: 13px;
  font-weight: 500;
}

/* Cart / wishlist icon buttons */
.cart-btn,
a[href*="cart"],
.btn-cart-header,
.aiz-cart-btn {
  background-color: var(--sb-teal) !important;
  color: #ffffff !important;
  border-radius: var(--sb-radius) !important;
  border: none !important;
  padding: 8px 16px !important;
  font-weight: 600;
  transition: background-color var(--sb-transition), transform var(--sb-transition);
}
.cart-btn:hover,
a[href*="cart"]:hover,
.aiz-cart-btn:hover {
  background-color: var(--sb-teal-hover) !important;
  transform: translateY(-1px);
}

/* Cart badge count */
.cart-count,
.badge-cart {
  background-color: var(--sb-coral) !important;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  padding: 0 4px;
}


/* ============================================================
   4. CATEGORY SIDEBAR / MEGA MENU
   ============================================================ */
.category-sidebar,
.aiz-category-menu,
.categories-sidebar,
.cat-menu {
  background-color: var(--sb-teal) !important;
  border-radius: var(--sb-radius) var(--sb-radius) 0 0;
  overflow: hidden;
}

.category-sidebar .category-item,
.aiz-category-menu li a,
.cat-menu li a {
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background-color var(--sb-transition), padding-left var(--sb-transition);
}

.category-sidebar .category-item:hover,
.aiz-category-menu li a:hover,
.cat-menu li a:hover {
  background-color: var(--sb-teal-hover) !important;
  color: #ffffff !important;
  padding-left: 22px;
}

.category-sidebar .category-item.active,
.aiz-category-menu li.active a,
.cat-menu li.active a {
  background-color: rgba(255,255,255,0.15) !important;
  font-weight: 700;
}

/* Category header / title bar */
.category-menu-title,
.cat-heading {
  background-color: var(--sb-navy) !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 11px 16px;
}

/* Dropdown / sub-menu */
.category-sidebar .sub-menu,
.cat-dropdown {
  background-color: #ffffff;
  border: 1px solid var(--sb-border);
  border-radius: 0 var(--sb-radius) var(--sb-radius) 0;
  box-shadow: var(--sb-shadow-card);
}
.cat-dropdown a {
  color: var(--sb-text) !important;
  font-size: 13px;
  padding: 7px 14px;
}
.cat-dropdown a:hover {
  color: var(--sb-teal) !important;
  background: var(--sb-teal-light);
}


/* ============================================================
   5. NAVIGATION — Main nav links
   ============================================================ */
.navbar-nav .nav-link,
.aiz-nav .nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sb-navy) !important;
  padding: 8px 14px;
  position: relative;
  transition: color var(--sb-transition);
}

.navbar-nav .nav-link::after,
.aiz-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background-color: var(--sb-teal);
  transform: scaleX(0);
  transition: transform var(--sb-transition);
  border-radius: 2px;
}

.navbar-nav .nav-link:hover,
.aiz-nav .nav-link:hover {
  color: var(--sb-teal) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after,
.aiz-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.navbar-nav .nav-link.active,
.aiz-nav .nav-link.active {
  color: var(--sb-teal) !important;
}


/* ============================================================
   6. BUTTONS — All button states
   ============================================================ */

/* Reset base */
.btn {
  font-family: 'Public Sans', sans-serif;
  font-weight: 600;
  border-radius: var(--sb-radius);
  transition: background-color var(--sb-transition), border-color var(--sb-transition),
              transform var(--sb-transition), box-shadow var(--sb-transition);
  letter-spacing: 0.01em;
}

/* Primary — Teal */
.btn-primary,
.btn-themed {
  background-color: var(--sb-teal) !important;
  border-color: var(--sb-teal) !important;
  color: #ffffff !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-themed:hover {
  background-color: var(--sb-teal-hover) !important;
  border-color: var(--sb-teal-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,107,122,0.25);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Add to Cart — Coral */
.btn-cart,
.btn-add-to-cart,
button[data-action="add-to-cart"],
.add-to-cart-btn {
  background-color: var(--sb-coral) !important;
  border-color: var(--sb-coral) !important;
  color: #ffffff !important;
  border-radius: var(--sb-radius) !important;
}
.btn-cart:hover,
.btn-add-to-cart:hover,
button[data-action="add-to-cart"]:hover,
.add-to-cart-btn:hover {
  background-color: var(--sb-coral-hover) !important;
  border-color: var(--sb-coral-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232,101,42,0.30);
}

/* Outline / secondary variant */
.btn-outline-primary {
  color: var(--sb-teal) !important;
  border-color: var(--sb-teal) !important;
}
.btn-outline-primary:hover {
  background-color: var(--sb-teal) !important;
  color: #ffffff !important;
}

/* Soft / ghost buttons */
.btn-light,
.btn-white {
  background-color: #ffffff;
  border: 1.5px solid var(--sb-border);
  color: var(--sb-text);
}
.btn-light:hover {
  border-color: var(--sb-teal);
  color: var(--sb-teal);
}

/* placeholder_marker */
.btn-buy-now {
  background-color: var(--sb-navy) !important;
  border-color: var(--sb-navy) !important;
  color: #ffffff !important;
}
.btn-buy-now:hover {
  background-color: var(--sb-navy-light) !important;
  border-color: var(--sb-navy-light) !important;
  transform: translateY(-1px);
}


/* ============================================================
   7. PRODUCT CARDS — Lift, shadow, price highlight
   ============================================================ */
.product-card,
.aiz-product-card,
.card.product,
.product-item {
  border: 1px solid var(--sb-border) !important;
  border-radius: var(--sb-radius) !important;
  background: #ffffff;
  box-shadow: var(--sb-shadow-sm);
  transition: box-shadow var(--sb-transition), transform var(--sb-transition);
  overflow: hidden;
}

.product-card:hover,
.aiz-product-card:hover,
.card.product:hover,
.product-item:hover {
  box-shadow: var(--sb-shadow-card) !important;
  transform: translateY(-3px);
}

/* Product image container */
.product-card .img-box,
.product-thumb,
.product-card .card-img-top {
  overflow: hidden;
  background: var(--sb-bg-light);
}

.product-card img,
.product-thumb img,
.aiz-product-card img {
  transition: transform 0.35s ease;
  width: 100%;
  object-fit: contain;
}
.product-card:hover img,
.aiz-product-card:hover img {
  transform: scale(1.04);
}

/* Product name */
.product-card .product-name,
.product-title,
.aiz-product-card h6,
.aiz-product-card .name {
  font-size: 14px !important;
  font-weight: 600;
  color: var(--sb-navy);
  line-height: 1.4;
  margin-bottom: 4px;
}

/* Product price — Teal */
.product-card .price,
.product-price,
.aiz-product-card .price,
.price-main {
  color: var(--sb-teal) !important;
  font-weight: 700;
  font-size: 15px !important;
}

/* Discounted / old price */
.product-card .price-old,
.old-price,
del {
  color: var(--sb-text-muted);
  font-size: 12px;
}

/* Discount badge */
.product-card .badge-discount,
.discount-label,
.badge-danger {
  background-color: var(--sb-coral) !important;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 7px;
}

/* Rating stars */
.rating .fa-star,
.rating i {
  color: #f5a623;
}


/* ============================================================
   8. HERO SLIDER — Full-width, taller, no grey
   ============================================================ */
.hero-slider,
.aiz-carousel.hero,
#homeSlider,
.main-slider {
  background: #ffffff !important;
  width: 100%;
  overflow: hidden;
}

.hero-slider .slide,
.hero-slider .carousel-item,
.aiz-carousel.hero .item {
  min-height: 420px;
  position: relative;
}

.hero-slider img,
.hero-slider .carousel-item img,
.main-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slider .carousel-caption {
  text-align: left;
  bottom: 20%;
  left: 8%;
  right: auto;
}

.carousel-control-prev,
.carousel-control-next {
  width: 44px;
  height: 44px;
  background-color: rgba(26,107,122,0.75);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.85;
  transition: background-color var(--sb-transition), opacity var(--sb-transition);
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: var(--sb-teal);
  opacity: 1;
}
.carousel-control-prev { left: 12px; }
.carousel-control-next { right: 12px; }

.carousel-indicators li {
  background-color: var(--sb-teal);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  margin: 0 4px;
}
.carousel-indicators .active {
  background-color: var(--sb-coral);
  width: 22px;
  border-radius: 4px;
}


/* ============================================================
   9. SECTION HEADINGS — Teal left-border accent
   ============================================================ */
.section-title,
.aiz-section-title,
.product-section-title,
h2.section-heading,
.home-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sb-navy);
  padding-left: 14px;
  border-left: 4px solid var(--sb-teal);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 20px;
}

/* "View all" link beside section title */
.section-title a,
.aiz-section-title a,
.view-all {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sb-teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.section-title a:hover,
.view-all:hover {
  color: var(--sb-coral);
}

/* Section wrapper spacing */
.home-section,
.product-section {
  padding: 28px 0;
}


/* ============================================================
   10. BANNERS — object-fit, rounded corners
   ============================================================ */
.banner-section,
.banner-item,
.aiz-banner,
.promo-banner {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--sb-shadow-sm);
  transition: box-shadow var(--sb-transition), transform var(--sb-transition);
}

.banner-section:hover,
.banner-item:hover,
.aiz-banner:hover {
  box-shadow: var(--sb-shadow-card);
  transform: translateY(-2px);
}

.banner-section img,
.banner-item img,
.aiz-banner img,
.promo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* ============================================================
   11. TODAY'S DEAL / FLASH SALE SECTION
   ============================================================ */
.todays-deal,
.flash-deal,
.deal-section {
  background-color: var(--sb-teal) !important;
  border-radius: var(--sb-radius);
  padding: 16px;
}

.todays-deal .section-title,
.flash-deal .section-title,
.deal-section h2 {
  color: #ffffff !important;
  border-left-color: var(--sb-coral) !important;
}

/* Countdown timer */
.deal-countdown,
.countdown-timer span {
  background-color: var(--sb-coral);
  color: #ffffff;
  border-radius: 4px;
  font-weight: 700;
  padding: 4px 8px;
  font-size: 18px;
  display: inline-block;
}


/* ============================================================
   12. FOOTER — Dark navy, premium feel
   ============================================================ */
footer,
.aiz-footer,
.footer-main {
  background-color: var(--sb-navy) !important;
  color: rgba(255,255,255,0.80);
  padding: 48px 0 0;
  margin-top: 40px;
}

footer h5,
footer h6,
.aiz-footer h5,
.aiz-footer h6,
.footer-heading {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(26,107,122,0.5);
}

footer ul,
.aiz-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li,
.aiz-footer ul li {
  margin-bottom: 7px;
}

footer ul li a,
.aiz-footer a,
.footer-link {
  color: rgba(255,255,255,0.70) !important;
  font-size: 13px;
  transition: color var(--sb-transition), padding-left var(--sb-transition);
  display: inline-block;
}

footer ul li a:hover,
.aiz-footer a:hover,
.footer-link:hover {
  color: #5bc4d3 !important;
  padding-left: 4px;
}

/* Footer bottom bar */
.footer-bottom,
.footer-copyright {
  background-color: rgba(0,0,0,0.25);
  padding: 14px 0;
  margin-top: 32px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

/* Social icons in footer */
footer .social-icon a,
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.75) !important;
  margin-right: 6px;
  transition: background-color var(--sb-transition), color var(--sb-transition);
}
footer .social-icon a:hover,
.footer-social a:hover {
  background-color: var(--sb-teal);
  color: #ffffff !important;
}


/* ============================================================
   13. TRUST SIGNALS — Seller/shop badges, seller cards
   ============================================================ */
.seller-card,
.shop-card,
.vendor-card {
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-radius);
  padding: 16px;
  background: #ffffff;
  box-shadow: var(--sb-shadow-sm);
  transition: box-shadow var(--sb-transition), transform var(--sb-transition);
  text-align: center;
}
.seller-card:hover,
.shop-card:hover,
.vendor-card:hover {
  box-shadow: var(--sb-shadow-card);
  transform: translateY(-2px);
}

/* Verified / featured badge */
.badge-verified,
.verified-seller {
  background-color: var(--sb-teal) !important;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 12px;
  padding: 2px 9px;
  display: inline-block;
}

/* "Top Seller" badge */
.badge-top-seller,
.top-seller-badge {
  background-color: var(--sb-coral) !important;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 12px;
  padding: 2px 9px;
}

/* Trust feature strip (delivery / returns / payments) */
.trust-strip,
.feature-strip {
  background-color: var(--sb-teal-light);
  border: 1px solid rgba(26,107,122,0.15);
  border-radius: var(--sb-radius);
  padding: 14px 0;
  margin: 20px 0;
}
.trust-strip .trust-item {
  text-align: center;
  padding: 8px 12px;
}
.trust-strip .trust-icon {
  font-size: 22px;
  color: var(--sb-teal);
  margin-bottom: 4px;
}
.trust-strip .trust-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--sb-navy);
}


/* ============================================================
   14. FORM ELEMENTS — Inputs, selects
   ============================================================ */
.form-control {
  border: 1.5px solid var(--sb-border);
  border-radius: var(--sb-radius);
  font-size: 13.5px;
  padding: 9px 14px;
  color: var(--sb-text);
  transition: border-color var(--sb-transition), box-shadow var(--sb-transition);
}
.form-control:focus {
  border-color: var(--sb-teal);
  box-shadow: 0 0 0 3px rgba(26,107,122,0.12);
  outline: none;
}

.input-group-text {
  border: 1.5px solid var(--sb-border);
  background: var(--sb-bg-light);
  color: var(--sb-text-muted);
}

label {
  font-weight: 600;
  font-size: 13px;
  color: var(--sb-navy);
  margin-bottom: 4px;
}


/* ============================================================
   15. PAGINATION
   ============================================================ */
.pagination .page-link {
  color: var(--sb-teal);
  border-color: var(--sb-border);
  border-radius: var(--sb-radius) !important;
  margin: 0 2px;
  font-weight: 600;
  transition: background-color var(--sb-transition), color var(--sb-transition);
}
.pagination .page-item.active .page-link {
  background-color: var(--sb-teal) !important;
  border-color: var(--sb-teal) !important;
  color: #ffffff !important;
}
.pagination .page-link:hover {
  background-color: var(--sb-teal-light);
  color: var(--sb-teal);
}


/* ============================================================
   16. BREADCRUMBS
   ============================================================ */
.breadcrumb {
  background: var(--sb-bg-light);
  border-radius: var(--sb-radius);
  padding: 10px 16px;
  font-size: 12.5px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  line-height: 1;
}
.breadcrumb-item a {
  color: var(--sb-teal);
  line-height: 1;
}
.breadcrumb-item.active {
  color: var(--sb-text-muted);
  line-height: 1;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--sb-text-muted);
  line-height: 1;
  vertical-align: middle;
}


/* ============================================================
   17. ALERTS / NOTIFICATIONS
   ============================================================ */
.alert-success {
  background-color: #e6f5f0;
  border-color: #b2dfdb;
  color: #1a6b7a;
}
.alert-warning {
  background-color: #fff8e8;
  border-color: #ffe082;
  color: #7a5500;
}


/* ============================================================
   18. MOBILE RESPONSIVENESS
   ============================================================ */
@media (max-width: 767.98px) {

  /* Larger tap targets */
  .btn, .nav-link, a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  /* Hero slider — shorter on mobile */
  .hero-slider .slide,
  .hero-slider .carousel-item {
    min-height: 200px;
  }

  /* Section headings */
  .section-title,
  .aiz-section-title {
    font-size: 1.05rem;
    padding-left: 10px;
  }

  /* Cards — tighter on mobile */
  .product-card,
  .aiz-product-card {
    margin-bottom: 12px;
  }

  /* Search bar full width */
  .search-box,
  .aiz-search {
    width: 100%;
  }

  /* Footer column spacing */
  footer .col-md-3,
  footer .col-sm-6 {
    margin-bottom: 24px;
  }

  /* Hide carousel prev/next on very small screens */
  @media (max-width: 480px) {
    .carousel-control-prev,
    .carousel-control-next {
      display: none;
    }
  }

  /* Trust strip — 2 columns on mobile */
  .trust-strip .trust-item {
    flex: 0 0 50%;
    max-width: 50%;
    border-bottom: 1px solid rgba(26,107,122,0.10);
    margin-bottom: 8px;
  }

  /* Category menu full width */
  .category-sidebar,
  .aiz-category-menu {
    border-radius: 0;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-slider .slide,
  .hero-slider .carousel-item {
    min-height: 300px;
  }
}


/* ============================================================
   19. UTILITY & POLISH
   ============================================================ */

/* General card refinement */
.card {
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-radius);
  box-shadow: var(--sb-shadow-sm);
}

/* Tabs */
.nav-tabs .nav-link {
  color: var(--sb-text-muted);
  border: none;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px 18px;
  transition: color var(--sb-transition), border-color var(--sb-transition);
}
.nav-tabs .nav-link:hover {
  color: var(--sb-teal);
  border-bottom-color: var(--sb-teal);
}
.nav-tabs .nav-link.active {
  color: var(--sb-teal) !important;
  border-bottom: 2px solid var(--sb-teal) !important;
  background: transparent;
}
.nav-tabs {
  border-bottom: 1px solid var(--sb-border);
}

/* Scrollbar (Webkit) */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f0f4f5;
}
::-webkit-scrollbar-thumb {
  background: var(--sb-teal);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--sb-teal-hover);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Focus outline — accessibility */
:focus-visible {
  outline: 3px solid rgba(26,107,122,0.50);
  outline-offset: 2px;
}

/* Lazy-load images fade in */
img[data-src],
img.lazyload {
  opacity: 0;
  transition: opacity 0.4s ease;
}
img.lazyloaded {
  opacity: 1;
}

/* ============================================================
   SEYBUY FIXES — 2026-06-27
   ============================================================ */

/* --- Slider: show full image, no crop on mobile --- */
.home-slider .carousel-box img.img-fit {
    object-fit: contain !important;
    background-color: #f4f8f9;
    width: 100%;
}
@media (max-width: 767px) {
    .home-slider .carousel-box img {
        height: auto !important;
        max-height: 260px;
        object-fit: contain !important;
    }
}

/* --- Flash Deal circles: fix overlapping on mobile --- */
#flash_deal .aiz-carousel .carousel-box {
    padding: 4px !important;
}
#flash_deal .flash-deal-item {
    overflow: visible !important;
}
.aiz-count-down-circle {
    position: relative !important;
    z-index: 1;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto 4px auto;
    display: block;
}
#flash_deal .flash-deal-item img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}
#flash_deal .flash-deals-baner {
    overflow: hidden;
}
@media (max-width: 767px) {
    #flash_deal .flash-deal-item {
        min-width: 90px;
        max-width: 110px;
        padding: 4px 2px !important;
    }
    #flash_deal .flash-deal-item img {
        width: 70px !important;
        height: 70px !important;
    }
    .flash-deal-price {
        font-size: 10px !important;
        padding-top: 2px !important;
    }
}

/* ============================================================
   HERO BANNER — desktop full height to match category sidebar
   ============================================================ */
@media (min-width: 1200px) {
    /* Stretch flex children to equal height */
    .home-banner-area .d-flex.flex-wrap.position-relative {
        align-items: stretch !important;
    }
    /* Slider fills available height, clips flush at sidebar bottom */
    .home-banner-area .home-slider {
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }
    .home-banner-area .home-slider .aiz-carousel,
    .home-banner-area .home-slider .slick-slider,
    .home-banner-area .home-slider .slick-list,
    .home-banner-area .home-slider .slick-track,
    .home-banner-area .home-slider .carousel-box {
        height: 100% !important;
        flex: 1 !important;
        overflow: hidden !important;
    }
    /* Image fills slot exactly — cover crops, never overflows */
    .home-banner-area .home-slider .carousel-box img {
        height: 100% !important;
        max-height: 100% !important;
        object-fit: cover !important;
        object-position: center top !important;
        width: 100% !important;
        display: block !important;
    }
}
