* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: #222; background: #f7f8fa; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; display: block; }

header.site-header {
    background: #1C1C1C;
}
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

.btn-error {
  background-color: #dc3545 !important;
  color: #fff !important;
}

.btn-success {
  background-color: #28a745 !important;
  color: #fff !important;
}
span#cartCount {
 color: #fff !important;
 font-weight: 500;
 }
#toast {
  position: absolute;
  right: 0%;     /* distance from bottom */
  transform: translateX(-50%) translateY(20px);
  background: #1C1C1C;
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Header */
.topbar { background: #1C1C1C; color: #fff; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; padding: 6px 0; }
.topbar-inner a { color: #fff; }

.main-nav { display: flex; align-items: center; gap: 20px; padding: 16px 0; flex-wrap: wrap; }

.logo {
  display: inline-block;
}

.logo-img {
  width: 220px;      /* fixed max width on larger screens */
  height:150px;
  height: auto;       /* keeps aspect ratio */
  max-width: 100%;    /* shrinks on small screens so it never overflows */
  display: block;
}

@media (max-width: 480px) {
  .logo-img {
    width: 150px;      /* smaller fixed size on mobile */
  }
}
.search-form { flex: 1; min-width: 220px; position: relative; display: flex; }
.search-form input { flex: 1; padding: 10px 14px; border: 1px solid #ddd; border-radius: 4px 0 0 4px; outline: none; }
.search-form button { padding: 0 16px; border: none; background: #1C1C1C; color: #fff; border-radius: 0 4px 4px 0; cursor: pointer; }
.search-results { position: absolute; top: 100%; left: 0; right: 53.5px; background: #fff; border: 1px solid #ddd; border-top: none; z-index: 50;  max-height: 300px; overflow-y: auto; display: none; }
.search-results a { display: flex; gap: 10px; padding: 8px 12px; align-items: center; border-bottom: 1px solid #f0f0f0; }
.search-results a:hover { background: #f5f9fb; }
.search-results img { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; background: #eee; }
#searchResults a.active {
  background-color: #f0f0f0;
}



.nav-actions { display: flex; gap: 18px; align-items: center; font-size: 14px;color: #fff; }
.nav-icon { white-space: nowrap; }

.category-nav { background: #1C1C1C; }
.category-nav ul { display: flex; flex-wrap: wrap; }
.category-nav a { display: block; padding: 12px 16px; color: #fff; font-size: 14px; }
.category-nav a:hover { background: #1C1C1C; }

/* Hero */
.hero-banner {
  /* Make sure the container has a defined size */
  width: 100%;
  height: 400px;          /* or whatever height you need */
  overflow: hidden;        /* safety */
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: contain;     /* ← key property: shows full image */
  object-position: center; /* centers the image */
  display: block;
}

/* Section titles */
.section { padding: 40px 0; }
.section-title { text-align: center; font-size: 26px; margin-bottom: 24px; }

/* Category grid */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.category-card { background: #fff; border-radius: 8px; text-align: center; padding: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: .2s; }
.category-card:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.category-card img { width: 100%; height: 100px; object-fit: cover; margin-bottom: 10px; background: #f0f3f5; border-radius: 6px; mix-blend-mode: multiply; /* black stays black, white/light areas blend with bg */ }
.category-card h5 { font-size: 14px; }

/* Product grid */
.product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  align-items: stretch;
  box-sizing: border-box;
}
.product-grid > .product-card,
.product-grid > .empty-state {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.product-grid > .empty-state {
  grid-column: 1 / -1;
}
/* Shop / category: force clean multi-column grid, never horizontal scroll */
.shop-main .product-grid,
.shop-layout .product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  flex-wrap: unset !important;
  overflow-x: visible !important;
  overflow: visible !important;
}
.shop-main .product-grid .product-card,
.shop-layout .product-grid .product-card {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 420px !important;
  min-height: 420px !important;
  max-height: 420px !important;
}
.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 420px;       /* fixed card height — stays the same whether content is short or long */
  min-height: 420px;
  max-height: 420px;
  min-width: 0;
}
.product-card .badge { position: absolute; top: 10px; left: 10px; background: #e63946; color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 4px; z-index: 2; }
.product-card .wish-btn { position: absolute; top: 10px; right: 10px; background: #fff; border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; border: 1px solid #eee; }
.product-card .wish-btn.active { color: #e63946; }
.product-img { height: 180px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #f0f3f5; padding: 10px; }
.product-img img { max-height: 160px; object-fit: contain; }
.product-info { padding: 14px; flex: 1; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.product-info h3 {
  font-size: 15px;
  margin-bottom: 8px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 0;
}
.product-info h3 a { color: #222; }
.card-colors { display: flex; gap: 4px; margin-bottom: 6px; flex-shrink: 0; }
.price { margin-top: auto; margin-bottom: 10px; flex-shrink: 0; }
.price .old { text-decoration: line-through; color: #999; font-size: 13px; margin-right: 6px; }
.price .new { color: #D19C97; font-weight: 700; font-size: 16px; }
.add-cart-btn { background: #D19C97; color: #fff; border: none; padding: 10px; border-radius: 4px; cursor: pointer; font-size: 14px; width: 100%; margin-top: 8px; flex-shrink: 0; }
.add-cart-btn:hover { background: #ba6a62; }

/* Buttons */
.btn { display: inline-block; padding: 10px 20px; border-radius: 4px; cursor: pointer; border: none; font-size: 14px; text-align: center; }
.btn-primary { background: #D19C97; color: #fff; }
.btn-primary:hover { background: #ba6a62; }
.btn-outline { background: transparent; border: 1px solid #D19C97; color: #D19C97; }

/* Cart Drawer */
.cart-drawer { position: fixed; top: 0; right: -400px; width: 380px; max-width: 90%; height: 100%; background: #fff; z-index: 200; transition: right .3s; display: flex; flex-direction: column; box-shadow: -2px 0 10px rgba(0,0,0,.2); }
.cart-drawer.open { right: 0; }
.cart-drawer:not(.open) { right: -100%; pointer-events: none; }
@media (max-width: 768px) {
  .cart-drawer:not(.open) { right: -100% !important; }
}
.cart-drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid #eee; }
.cart-drawer-header span { cursor: pointer; font-size: 22px; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 16px; }
.cart-drawer-footer { padding: 16px; border-top: 1px solid #eee; display: flex; flex-direction: column; gap: 8px; }
.cart-total { font-weight: 700; margin-bottom: 6px; }
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 150; display: none; }
.cart-overlay.show { display: block; }

.cart-line { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f0f0; align-items: center; }
.cart-line img { width: 55px; height: 55px; object-fit: contain; background: #f0f3f5; border-radius: 4px; }
.cart-line-info { flex: 1; }
.cart-line-info h5 { font-size: 13px; margin-bottom: 4px; }
.qty-control { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.qty-control button { width: 22px; height: 22px; border: 1px solid #ddd; background: #fff; cursor: pointer; }
.cart-remove { color: #e63946; cursor: pointer; font-size: 12px; }

/* Forms */
.form-wrap { max-width: 420px; margin: 40px auto; background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 14px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; }
.form-msg { margin-top: 10px; font-size: 14px; }
.form-msg.success { color: #2a9d5c; }
.form-msg.error { color: #e63946; }

footer.site-footer { background: #1C1C1C; color: #cfd8dc; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; padding: 40px 0; }
.footer-grid h4 { color: #fff; margin-bottom: 14px; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid form { display: flex; gap: 6px; margin-top: 10px; }
.footer-grid input { flex: 1; padding: 8px; border-radius: 4px; border: none; }
.footer-bottom { border-top: 1px solid #2c3e50; padding: 16px 0; text-align: center; font-size: 13px; }

.toast { position: fixed; bottom: 20px; right: 20px; background: #222; color: #fff; padding: 12px 20px; border-radius: 6px; opacity: 0; transform: translateY(20px); transition: .3s; z-index: 999; }
.toast.show { opacity: 1; transform: translateY(0); }

.breadcrumb { padding: 16px 0; font-size: 13px; color: #666; }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 30px 0; }
.product-detail .gallery { background: #fff; border-radius: 8px; padding: 20px; display: flex; align-items: center; justify-content: center; }
.product-detail .gallery img { max-height: 380px; object-fit: contain; }
.product-detail .info h1 { font-size: 24px; margin-bottom: 10px; }
.product-detail .price-block { font-size: 22px; margin: 14px 0; }
.product-detail .qty-row { display: flex; gap: 10px; align-items: center; margin: 20px 0; }
.product-detail .qty-row input { width: 60px; padding: 8px; text-align: center; border: 1px solid #ddd; border-radius: 4px; }

.empty-state { text-align: center; padding: 60px 20px; color: #777; }

/* =========================================================
   SCROLL / TEXT REVEAL ANIMATIONS
   ========================================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal-up.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1; transform: none; transition: none; }
}

.section-heading-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.view-all-link { color: #D19C97; font-weight: 600; font-size: 14px; }
.view-all-link:hover { text-decoration: underline; }

/* Horizontally scrollable product row on small screens with snap + fade animation */
@media (max-width: 640px) {
  /* Horizontal scroll only on homepage sections that opt-in via .product-scroll-row
     — never on shop/category product grids */
  .product-scroll-row:not(.shop-main .product-scroll-row):not(.shop-layout .product-scroll-row) {
    display: flex !important;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .product-scroll-row:not(.shop-main .product-scroll-row):not(.shop-layout .product-scroll-row) .product-card {
    min-width: 68vw;
    scroll-snap-align: start;
  }
}

/* =========================================================
   HAMBURGER MENU / MOBILE NAV
   ========================================================= */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: #fff;
  border: none;
  cursor: pointer;
  padding: 8px;
  order: -1;
}
.hamburger-btn span { display: block; width: 100%; height: 2.5px; background: #1C1C1C; border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger-btn.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-search-btn { display: none; background: none; border: none; font-size: 18px; cursor: pointer; padding: 8px; }

.mobile-nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 300; display: none; }
.mobile-nav-overlay.show { display: block; }
.mobile-nav-drawer {
  position: fixed; top: 0; left: -320px; width: 300px; max-width: 85%; height: 100%;
  background: #fff; z-index: 310; transition: left .3s ease; overflow-y: auto;
  box-shadow: 2px 0 12px rgba(0,0,0,.2); display: flex; flex-direction: column;
}
.mobile-nav-drawer.open { left: 0; }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid #eee; background: #1C1C1C; }
.mobile-nav-close { font-size: 26px; cursor: pointer; line-height: 1; color: #666; }
.mobile-nav-search { padding: 14px 16px; border-bottom: 1px solid #eee; position: relative; }
.mobile-nav-search form { display: flex; }
.mobile-nav-search input { flex: 1; padding: 10px; border: 1px solid #ddd; border-radius: 4px 0 0 4px; }
.mobile-nav-search button { border: none; background: #1C1C1C; color: #fff; padding: 0 14px; border-radius: 0 4px 4px 0; }
.mobile-nav-links { padding: 6px 0; flex: 1; }
.mobile-nav-links li a { display: block; padding: 13px 18px; font-size: 15px; color: #222; border-bottom: 1px solid #f2f2f2; }
.mobile-nav-links li a:hover { background: #f5f9fb; color: #1C1C1C; }
.mobile-nav-actions { padding: 14px 18px; border-top: 1px solid #eee; display: flex; flex-direction: column; gap: 10px; }
body.nav-locked { overflow: hidden; }

/* =========================================================
   HERO CAROUSEL
   ========================================================= */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 480px; /* set to whatever your design needs */
  overflow: hidden;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease;
}

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

.hero-slide img {
  position: absolute;   /* <-- the fix */
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;     /* ← key property: shows full image */
  object-position: center; /* centers the image */
  display: block;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10,20,30,.72) 0%, rgba(10,20,30,.35) 55%, rgba(10,20,30,.05) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
  color: #fff;
  /* if .container adds padding-left/right that's fine, but override any
     max-width/margin:auto centering that a global .container class sets: */
  margin: 0;
}

.hero-slide-content h1 {
  font-size: 40px;
  margin-bottom: 5px;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease .25s, transform .7s ease .25s;
}

.hero-slide-content p {
  font-size: 16px;
  margin-bottom: 22px;
  color: #e6ecf0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease .4s, transform .7s ease .4s;
}

.hero-shop-btn {
  position: relative;
  overflow: hidden;
  z-index: 0;
  width: 30%;
  font-size: 15px;
  padding: 13px 26px;
  margin-top: 15px;
  font-weight: 600;
  letter-spacing: .2px;
  display: inline-block;
  text-align: center;

  /* entrance animation (fade/slide in on active slide) */
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .7s ease .55s,
    transform .7s ease .55s,
    box-shadow .18s ease,
    letter-spacing .18s ease;
}

.hero-slide.active .hero-shop-btn {
  opacity: 1;
  transform: translateY(0);
}

.hero-shop-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.35) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-120%);
  transition: transform .5s ease;
  z-index: 1;
  pointer-events: none;
}

.hero-slide.active .hero-shop-btn:hover::before {
  transform: translateX(120%);
}

.hero-slide.active .hero-shop-btn:hover {
  box-shadow: 0 8px 18px rgba(13,139,191,.35);
  letter-spacing: .8px;
}


p.slide-sub {
    margin-left: 50px;
}
.hero-slide.active .hero-slide-content h1,
.hero-slide.active .hero-slide-content p,
.hero-slide.active .hero-shop-btn {
  opacity: 1;
  transform: translateY(0);
}

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(255,255,255,.85);
  cursor: pointer; font-size: 15px; color: #1C1C1C; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.hero-arrow:hover { background: #fff; }
.hero-prev { left: 18px; }
.hero-next { right: 18px; }

.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.hero-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: background .25s, transform .25s; }
.hero-dot.active { background: #fff; transform: scale(1.25); }

/* =========================================================
   SHOP LAYOUT (filters sidebar + product grid)
   ========================================================= */
.shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  padding-bottom: 50px;
  align-items: start;
}
.shop-main {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.shop-main .filters-toolbar { margin-bottom: 18px; }
.shop-main .product-grid { flex: 1; width: 100%; }

.filters-sidebar {
  background: #fff; border-radius: 8px; padding: 18px; box-shadow: 0 1px 4px rgba(0,0,0,.06);
  position: sticky; top: 16px;
}
.filters-header { display: none; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.filters-close { font-size: 26px; background: none; border: none; cursor: pointer; color: #666; }
.filters-sidebar h3 { font-size: 17px; margin-bottom: 6px; }
.filter-group { padding: 14px 0; border-bottom: 1px solid #f0f0f0; }
.filter-group:last-of-type { border-bottom: none; }
.filter-group h4 { font-size: 14px; margin-bottom: 10px; color: #333; }
.filter-options { display: flex; flex-direction: column; gap: 8px; max-height: 220px; overflow-y: auto; }
.filter-check { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; color: #444; }
.filter-check input { accent-color: #1C1C1C; width: 15px; height: 15px; }

.price-range-inputs { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.price-range-inputs input { width: 100%; padding: 7px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; }
.price-slider { width: 100%; accent-color: #1C1C1C; margin-bottom: 4px; }
.price-bounds-label { display: flex; justify-content: space-between; font-size: 11px; color: #999; }

.color-swatch-options { display: flex; flex-wrap: wrap; gap: 10px; }
.color-swatch-label { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; font-size: 10px; color: #666; }
.color-swatch-label input { position: absolute; opacity: 0; width: 0; height: 0; }
.color-swatch-label .swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #e2e2e2; display: block; transition: border-color .2s, transform .2s; }
.color-swatch-label.active .swatch, .color-swatch-label input:checked + .swatch { border-color: #1C1C1C; transform: scale(1.08); }
.color-swatch-label em { font-style: normal; }

.filter-actions { padding-top: 14px; }

.filters-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; background: #fff; padding: 12px 16px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.filters-open-btn { display: none; }
.result-count { font-size: 13px; color: #666; }
.sort-control { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-left: auto; }
.sort-control select { padding: 7px 10px; border: 1px solid #ddd; border-radius: 4px; }

.filters-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 250; display: none; }
.filters-overlay.show { display: block; }

.mini-swatch { width: 13px; height: 13px; border-radius: 50%; border: 1px solid #e2e2e2; display: inline-block; }

/* =========================================================
   PAGINATION (pro ecommerce style)
   ========================================================= */
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 30px 0 10px; flex-wrap: wrap; }
.page-numbers { display: flex; align-items: center; gap: 6px; }
.page-num {
  display: flex; align-items: center; justify-content: center; min-width: 36px; height: 36px;
  border-radius: 6px; border: 1px solid #e2e2e2; color: #333; font-size: 14px; background: #fff; transition: .2s;
}
.page-num:hover { border-color: #1C1C1C; color: #1C1C1C; }
.page-num.active { background: #1C1C1C; border-color: #1C1C1C; color: #fff; font-weight: 600; }
.page-ellipsis { color: #999; padding: 0 4px; }
.page-btn { padding: 8px 16px; border-radius: 6px; border: 1px solid #e2e2e2; font-size: 14px; color: #333; background: #fff; transition: .2s; }
.page-btn:hover:not(.disabled) { border-color: #1C1C1C; color: #1C1C1C; }
.page-btn.disabled { opacity: .4; pointer-events: none; }

/* =========================================================
   RESPONSIVE / MOBILE
   ========================================================= */
@media (max-width: 992px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filters-open-btn { display: inline-flex; align-items: center; gap: 6px; }

  .filters-sidebar {
    position: fixed; top: 0; left: -320px; width: 300px; max-width: 85%; height: 100%;
    z-index: 320; border-radius: 0; overflow-y: auto; transition: left .3s ease;
  }
  .filters-sidebar.open { left: 0; }
  .filters-header { display: flex; }
}

@media (max-width: 768px) {
    
  .hero-shop-btn {
  position: relative;
  overflow: hidden;
  z-index: 0;
  width: 100%;
  font-size: 15px;
  padding: 13px 26px;
  margin-top: 15px;
  font-weight: 600;
  letter-spacing: .2px;
  display: inline-block;
  text-align: center;

  /* entrance animation (fade/slide in on active slide) */
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .7s ease .55s,
    transform .7s ease .55s,
    box-shadow .18s ease,
    letter-spacing .18s ease;
}  
    
    
    
    
  .product-detail { grid-template-columns: 1fr; }

  .hamburger-btn, .mobile-search-btn { display: flex; }
  .category-nav { display: none; }

  .main-nav { gap: 10px; }
  .main-nav .logo { font-size: 20px; }
  .main-nav .search-form { display: none; flex-basis: 100%; order: 5; }
  .main-nav .search-form.show-mobile { display: flex; }

  .nav-actions { gap: 10px; margin-left: auto; }
  .nav-actions .nav-label { display: none; }

  .nav-icon { font-size: 13px; 
   position: relative;
   right: 16px;  
  }
  .topbar-inner { flex-direction: column; gap: 2px; text-align: center; }

  .hero-carousel { height: 320px; }
  .hero-slide-content { max-width: 100%; padding: 0 10px; }
  .hero-slide-content h1 { font-size: 26px; margin-top: 65px!important; }
  .hero-slide-content p { font-size: 14px; margin-bottom: 16px; }
  .hero-arrow { width: 34px; height: 34px; font-size: 12px;margin-top: 20px!important; }

  .product-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
  .shop-main .product-grid, .shop-layout .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .product-card,
  .shop-main .product-grid .product-card,
  .shop-layout .product-grid .product-card { height: 380px !important; min-height: 380px !important; max-height: 380px !important; }
  .product-card .product-img { height: 130px; }
  .product-card .product-img img { max-height: 110px; }
  .category-grid { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }

  .cart-drawer { width: 100%; max-width: 100%; }

  .filters-toolbar { flex-direction: column; align-items: stretch; }
  .sort-control { margin-left: 0; justify-content: space-between; }
  .nav-label {margin-right:10px;}
}

@media (max-width: 480px) {
  .hero-slide-content h1 { font-size: 21px; margin-top: 65px!important; }
  .hero-carousel { height: 280px; }
  .product-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .shop-main .product-grid, .shop-layout .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .product-card,
  .shop-main .product-grid .product-card,
  .shop-layout .product-grid .product-card { height: 360px !important; min-height: 360px !important; max-height: 360px !important; }
  .product-card .product-img { height: 110px; }
  .product-card .product-img img { max-height: 95px; }
  .section-title { font-size: 21px; }
  .footer-grid { text-align: center; }
  .footer-grid form { flex-direction: column; }
}

/* =========================================================
   DISCOUNT BADGES / TAGS
   ========================================================= */
.discount-badge {
  background: #e63946;
  font-weight: 700;
  letter-spacing: .2px;
}
.discount-badge-detail {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
}
.save-amount {
  display: block;
  font-size: 12px;
  color: #2a9d5c;
  font-weight: 600;
  margin-top: 2px;
}
.discount-detail-line { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 13px; }
.discount-percent-tag { background: #ffe6e8; color: #e63946; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.discount-save-tag { color: #2a9d5c; font-weight: 600; }

/* =========================================================
   STOCK MESSAGES
   ========================================================= */
.stock-msg { font-size: 12px; font-weight: 600; margin: 6px 0; flex-shrink: 0; }
.stock-msg.in-stock { color: #2a9d5c; }
.stock-msg.out-of-stock { color: #e63946; }
.qty-max-note { font-size: 12px; color: #888; margin-left: 6px; }

/* =========================================================
   ADD TO CART — SHOPIFY-STYLE HOVER / ANIMATION
   ========================================================= */
.add-cart-btn {
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  z-index: 0;
}
.add-cart-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.35) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-120%);
  transition: transform .5s ease;
  z-index: 1;
}
.add-cart-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(13,139,191,.35);
  background: #1C1C1C;
}
.add-cart-btn:hover:not(:disabled)::before { transform: translateX(120%); }
.add-cart-btn:active:not(:disabled) { transform: translateY(0); box-shadow: 0 3px 8px rgba(13,139,191,.3); }
.add-cart-btn:disabled { background: #c7cdd2; cursor: not-allowed; box-shadow: none; }
.add-cart-btn.is-loading { opacity: .75; cursor: progress; }
.add-cart-btn .add-cart-btn-label { position: relative; z-index: 2; }
.add-cart-btn.added {
  background: #2a9d5c !important;
  animation: addCartPulse .4s ease;
}
@keyframes addCartPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* =========================================================
   PRODUCT GALLERY — BOTTOM IMAGE / COLOR TABS
   ========================================================= */
.gallery { position: relative; flex-direction: column; gap: 14px; }
.gallery-main { width: 100%; display: flex; align-items: center; justify-content: center; }
.gallery-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.gallery-tab {
  width: 60px;
  height: 60px;
  padding: 4px;
  background: #fff;
  border: 2px solid #e6e9eb;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .18s ease, transform .18s ease;
}
.gallery-tab img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-tab:hover { border-color: #1C1C1C; transform: translateY(-2px); }
.gallery-tab.active { border-color: #1C1C1C; box-shadow: 0 0 0 1px #1C1C1C; }

/* Color variant picker next to price on product detail page */
.variant-picker { margin: 12px 0 4px; }
.variant-label { font-size: 13px; color: #555; display: block; margin-bottom: 8px; }
.variant-label span { font-weight: 700; color: #222; }
.variant-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.variant-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #e2e2e2;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease;
  padding: 0;
}
.variant-swatch:hover { transform: scale(1.08); }
.variant-swatch.active { border-color: #1C1C1C; box-shadow: 0 0 0 1px #1C1C1C; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-page { padding: 40px 0 60px; }
.contact-details-col .contact-line,
.contact-details-col p { margin-bottom: 14px; font-size: 14px; }
.contact-details-col .contact-icon { width: 18px; height: 18px; display: inline-block; margin-right: 8px; vertical-align: -3px; }
.shop-timing-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.shop-timing-table td { padding: 6px 0; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.shop-timing-table td:first-child { color: #cfd8dc; }
.shop-timing-table td:last-child { text-align: right; font-weight: 600; }
.contact-sitemap iframe { width: 100%; border: 0; border-radius: 8px; }

/* =========================================================
   CHECKOUT — ORDER SUMMARY TABLE
   ========================================================= */
.checkout-summary-table-wrap {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  overflow-x: auto;      /* scrolls horizontally on narrow screens instead of breaking layout */
  -webkit-overflow-scrolling: touch;
}
.checkout-summary-table {
  width: 100%;
  min-width: 420px;      /* keeps columns readable; wrapper scrolls if screen is narrower */
  border-collapse: collapse;
  font-size: 14px;
}
.checkout-summary-table thead th {
  text-align: left;
  padding: 12px 14px;
  background: #f7f8fa;
  color: #555;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  white-space: nowrap;
}
.checkout-summary-table thead th:last-child,
.checkout-summary-table tbody td:last-child { text-align: right; }
.checkout-summary-table thead th:nth-child(2),
.checkout-summary-table tbody td:nth-child(2) { text-align: center; width: 60px; }
.checkout-summary-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}
.checkout-summary-table tbody tr:last-child td { border-bottom: none; }
.checkout-summary-table tbody td .cart-item-name {
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkout-summary-table tbody td .cart-item-name img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #f0f3f5;
  border-radius: 4px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .checkout-summary-table { min-width: 360px; font-size: 13px; }
  .checkout-summary-table thead th,
  .checkout-summary-table tbody td { padding: 10px; }
}

/* Checkout page layout: form full width on top, order summary below — same on desktop and mobile */
.checkout-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}
.checkout-form-full {
  width: 100%;
  max-width: 100%;
}
.checkout-summary-section {
  width: 100%;
}
/* Category dropdown */
.category-nav ul li.has-dropdown { position: relative; }
.category-nav ul li.has-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1C1C1C;
  min-width: 180px;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  padding: 8px 0;
  border-radius: 0 0 4px 4px;
}
.category-nav ul li.has-dropdown:hover .dropdown-menu { display: block; }
.category-nav ul li.has-dropdown .dropdown-menu li a {
  padding: 8px 16px;
  white-space: nowrap;
  color: #fff;
}
.category-nav ul li.has-dropdown .dropdown-menu li a:hover {
  background: #D19C97;
  color: #fff;
}
