/* ═══════════════════════════════════════════════════════════════
   YI SHIPPING — SHOP PAGE STYLES
   Extracted from shop.html inline <style> blocks
   ═══════════════════════════════════════════════════════════════ */

/* ── PRELOADER STYLES ── */
#preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-ring-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-logo-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  position: relative;
  animation: preloaderPulse 2s ease-in-out infinite;
  border: 3px solid rgba(168, 21, 31, 0.4);
}
.preloader-logo-circle img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.preloader-logo-text-fallback {
  font-family: 'Bebas Neue', cursive;
  font-size: 2rem;
  color: white;
}
.preloader-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: orbitSpin 2.2s linear infinite;
}
.preloader-orbit-2 {
  animation: orbitSpin 3.8s linear infinite reverse;
}
.preloader-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(168, 21, 31, 0.65);
}
.preloader-dot:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.preloader-dot:nth-child(2) { top: 15%; right: 5%; }
.preloader-dot:nth-child(3) { top: 50%; right: 0; transform: translateY(-50%); }
.preloader-dot:nth-child(4) { bottom: 15%; right: 5%; }
.preloader-dot:nth-child(5) { bottom: 0; left: 50%; transform: translateX(-50%); }
.preloader-dot:nth-child(6) { bottom: 15%; left: 5%; }
.preloader-dot:nth-child(7) { top: 50%; left: 0; transform: translateY(-50%); }
.preloader-dot:nth-child(8) { top: 15%; left: 5%; }
.preloader-orbit-2 .preloader-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  box-shadow: 0 0 7px rgba(7, 31, 56, 0.4);
}
.preloader-text {
  margin-top: 26px;
  font-family: 'Bebas Neue', cursive;
  font-size: 1.9rem;
  letter-spacing: 7px;
  color: var(--primary);
}
.preloader-text span { color: var(--red); }
.preloader-tagline {
  font-size: 0.68rem;
  color: var(--gray);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 4px;
}
.preloader-progress {
  width: 170px;
  height: 3px;
  background: var(--gray-light);
  border-radius: 99px;
  margin-top: 18px;
  overflow: hidden;
}
.preloader-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--red));
  border-radius: 99px;
  animation: preloaderBar 2.8s ease forwards;
}
@keyframes preloaderBar { from { width: 0; } to { width: 100%; } }
@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 5px rgba(7, 31, 56, 0.1); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 12px rgba(7, 31, 56, 0.07), 0 0 55px rgba(168, 21, 31, 0.22); }
}
@keyframes orbitSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── PAGE RESET ── */
html, body { overflow-x: hidden; max-width: 100vw; }

/* ── MOBILE MENU ── */
#mobileMenu, .mobile-menu { z-index: 99999 !important; }
#mobileClose, .mobile-menu-close {
  display: flex !important;
  align-items: center; justify-content: center;
  visibility: visible !important; opacity: 1 !important;
  position: relative; z-index: 9999;
  cursor: pointer;
}

/* ── SHOP HERO ── */
.shop-hero {
  background: linear-gradient(135deg, #071F38 0%, #0B2A4A 60%, #A8151F22 100%);
  padding: 120px 0 60px; position: relative; overflow: hidden;
}
.shop-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1607082348824-0a96f2a4b9da?w=1400&q=40') center/cover;
  opacity: 0.06;
}
.shop-hero-inner { position: relative; z-index: 2; text-align: center; }
.shop-hero h1 { font-family: 'Bebas Neue', cursive; font-size: clamp(2.2rem, 6vw, 4rem); color: #fff; letter-spacing: 2px; margin-bottom: 10px; }
.shop-hero h1 span { color: #A8151F; }
.shop-hero p { color: rgba(255,255,255,0.72); font-size: 0.95rem; max-width: 560px; margin: 0 auto 24px; line-height: 1.75; }
.shop-hero-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.shop-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85); padding: 7px 16px; border-radius: 99px; font-size: 0.78rem; font-weight: 600;
}
.shop-badge i { color: #A8151F; }

/* ── SHOP LAYOUT ── */
.shop-layout {
  display: grid; grid-template-columns: 240px 1fr; gap: 28px;
  max-width: 1280px; margin: 0 auto; padding: 40px clamp(14px, 4vw, 30px) 80px;
  align-items: start;
}

/* ── SIDEBAR FILTER ── */
.shop-sidebar {
  background: #fff; border: 1px solid rgba(7,31,56,0.10); border-radius: 16px;
  padding: 24px; box-shadow: 0 4px 24px rgba(7,31,56,0.06);
  position: sticky; top: 90px;
}
.sidebar-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; color: #071F38; margin-bottom: 16px; }
.filter-group { margin-bottom: 22px; }
.filter-group-label { font-size: 0.75rem; color: #6C757D; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.filter-btn {
  display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px;
  font-size: 0.84rem; color: #1E2D3D; background: none; border: none; cursor: pointer;
  transition: all 0.2s ease; margin-bottom: 3px;
}
.filter-btn:hover, .filter-btn.active { background: #A8151F; color: #fff; }
.filter-btn .badge { float: right; background: rgba(7,31,56,0.08); color: #6C757D; border-radius: 99px; font-size: 0.7rem; padding: 1px 7px; }
.filter-btn.active .badge { background: rgba(255,255,255,0.2); color: #fff; }

.price-range { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.price-input {
  width: 100%; padding: 8px 10px; border: 1px solid #E4E8EE; border-radius: 8px;
  font-size: 0.84rem; font-family: inherit; background: #F5F7FA; color: #1E2D3D;
}
.price-input:focus { outline: none; border-color: #A8151F; background: #fff; }
.price-sep { color: #6C757D; font-size: 0.8rem; flex-shrink: 0; }

.apply-filter-btn {
  width: 100%; padding: 10px; background: #071F38; color: #fff; border: none; border-radius: 8px;
  font-weight: 700; font-size: 0.85rem; cursor: pointer; margin-top: 10px; transition: all 0.3s ease;
}
.apply-filter-btn:hover { background: #A8151F; }

/* ── SHOP MAIN ── */
.shop-main {}
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 24px;
}
.shop-results { font-size: 0.85rem; color: #6C757D; }
.shop-results strong { color: #071F38; }
.shop-sort { display: flex; align-items: center; gap: 8px; }
.shop-sort label { font-size: 0.8rem; color: #6C757D; }
.sort-select {
  padding: 7px 12px; border: 1px solid #E4E8EE; border-radius: 8px;
  font-family: inherit; font-size: 0.84rem; background: #F5F7FA; color: #1E2D3D; cursor: pointer;
}
.sort-select:focus { outline: none; border-color: #A8151F; }

/* ── PRODUCTS GRID ── */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ── PRODUCT CARD ── */
.product-card {
  background: #fff; border: 1px solid rgba(7,31,56,0.09); border-radius: 16px;
  overflow: hidden; box-shadow: 0 2px 16px rgba(7,31,56,0.05);
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.32s ease;
  cursor: pointer; position: relative;
}
.product-card:hover { transform: translateY(-7px); box-shadow: 0 20px 50px rgba(7,31,56,0.14); }

.product-badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  font-size: 0.68rem; text-transform: uppercase; font-weight: 700; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 99px;
}
.badge-hot { background: #A8151F; color: #fff; }
.badge-new { background: #071F38; color: #fff; }
.badge-sale { background: #f59e0b; color: #fff; }

.product-wishlist {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 32px; height: 32px; background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; font-size: 0.88rem; color: #6C757D;
  box-shadow: 0 2px 10px rgba(7,31,56,0.12); transition: all 0.3s ease;
}
.product-wishlist:hover, .product-wishlist.active { color: #A8151F; }
.product-wishlist.active { background: #fff0f1; }

.product-img-wrap { height: 200px; overflow: hidden; position: relative; background: #F5F7FA; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img { transform: scale(1.08); }

/* Quick view overlay */
.product-quick-view {
  position: absolute; inset: 0; background: rgba(7,31,56,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
}
.product-card:hover .product-quick-view { opacity: 1; }
.quick-view-btn {
  background: #fff; color: #071F38; border: none; border-radius: 8px;
  padding: 9px 18px; font-size: 0.8rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; gap: 7px; transition: all 0.3s ease;
}
.quick-view-btn:hover { background: #A8151F; color: #fff; }

.product-body { padding: 14px 16px 16px; }
.product-category { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1px; color: #6C757D; margin-bottom: 5px; }
.product-name { font-size: 0.96rem; color: #071F38; font-weight: 700; margin-bottom: 6px; line-height: 1.35; }
.product-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.stars { color: #f59e0b; font-size: 0.75rem; }
.rating-count { font-size: 0.72rem; color: #6C757D; }
.product-price-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.product-price { font-family: 'Rajdhani', sans-serif; font-size: 1.25rem; font-weight: 700; color: #A8151F; }
.product-price-old { font-size: 0.8rem; color: #6C757D; text-decoration: line-through; }
.product-price-note { font-size: 0.68rem; color: #6C757D; display: block; margin-top: 1px; }

.add-to-cart-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #071F38; color: #fff; padding: 8px 14px;
  border-radius: 8px; font-size: 0.78rem; font-weight: 700; border: none; cursor: pointer;
  transition: all 0.3s ease; white-space: nowrap;
}
.add-to-cart-btn:hover { background: #A8151F; transform: scale(1.04); }

/* Mobile quick-view eye button */
.mobile-view-btn {
  display: none;
  width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(7,31,56,0.18);
  background: #fff; color: #071F38; align-items: center; justify-content: center;
  font-size: 0.85rem; cursor: pointer; transition: all 0.2s ease; flex-shrink: 0;
}
.mobile-view-btn:hover, .mobile-view-btn:active { background: #071F38; color: #fff; border-color: #071F38; }
@media(hover:none),(max-width:768px) {
  .mobile-view-btn { display: inline-flex; }
  .product-quick-view { display: none !important; }
}

/* ── PRODUCT MODAL ── */
.product-modal-overlay {
  position: fixed; inset: 0; background: rgba(4,15,29,0.75);
  z-index: 2200; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.4s ease;
  padding: 20px; backdrop-filter: blur(5px);
}
.product-modal-overlay.active { opacity: 1; visibility: visible; }
.product-modal {
  background: #fff; border-radius: 20px; width: 100%; max-width: 820px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 40px 80px rgba(0,0,0,0.2);
  animation: pmIn 0.45s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}
@keyframes pmIn { from { opacity: 0; transform: scale(0.85) translateY(30px) } to { opacity: 1; transform: scale(1) translateY(0) } }
.pm-close {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 36px; height: 36px; background: #071F38; color: #fff; border: none;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer; transition: all 0.3s ease;
}
.pm-close:hover { background: #A8151F; transform: rotate(90deg); }
.pm-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.pm-img-side { height: 380px; position: relative; overflow: hidden; border-radius: 20px 0 0 20px; }
.pm-img { width: 100%; height: 100%; object-fit: cover; }
.pm-info-side { padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.pm-cat { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; color: #6C757D; }
.pm-title { font-size: 1.45rem; color: #071F38; line-height: 1.3; }
.pm-rating { display: flex; align-items: center; gap: 8px; }
.pm-price-wrap { display: flex; align-items: baseline; gap: 10px; }
.pm-price { font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700; color: #A8151F; }
.pm-old-price { font-size: 0.9rem; color: #6C757D; text-decoration: line-through; }
.pm-desc { font-size: 0.86rem; color: #6C757D; line-height: 1.7; }
.pm-features { display: flex; flex-direction: column; gap: 7px; }
.pm-feature { display: flex; align-items: center; gap: 9px; font-size: 0.83rem; color: #1E2D3D; }
.pm-feature i { color: #A8151F; width: 16px; }
.pm-qty-row { display: flex; align-items: center; gap: 12px; }
.pm-qty-label { font-size: 0.82rem; font-weight: 600; color: #071F38; }
.pm-qty-ctrl { display: flex; align-items: center; gap: 0; border: 1px solid #E4E8EE; border-radius: 8px; overflow: hidden; }
.pm-qty-btn { width: 34px; height: 34px; background: #F5F7FA; border: none; cursor: pointer; font-size: 1rem; color: #071F38; transition: background 0.2s; }
.pm-qty-btn:hover { background: #A8151F; color: #fff; }
.pm-qty-val { width: 40px; text-align: center; font-weight: 700; font-size: 0.9rem; color: #071F38; }
.pm-actions { display: flex; gap: 10px; flex-wrap: nowrap; align-items: center; }
.pm-enquire-btn {
  flex: 1; min-width: 0; padding: 12px 10px; background: #A8151F; color: #fff; border: none; border-radius: 10px;
  font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: all 0.3s ease;
  display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap;
}
.pm-enquire-btn:hover { background: #8A0F18; transform: translateY(-2px); }
.pm-wa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: #25d366; color: #fff; padding: 12px 14px; border-radius: 10px;
  font-weight: 700; font-size: 0.9rem; border: none; cursor: pointer; transition: all 0.3s ease;
  white-space: nowrap; flex-shrink: 0;
}
.pm-wa-btn:hover { background: #128C7E; transform: translateY(-2px); }
.pm-note { font-size: 0.75rem; color: #6C757D; display: flex; align-items: center; gap: 6px; padding-top: 4px; }
.pm-note i { color: #A8151F; }

/* ── MOBILE CATEGORY DROPDOWN ── */
.mobile-cat-dropdown { display: none; }
@media(max-width:900px) {
  .mobile-cat-dropdown {
    display: block; width: 100%; padding: 10px 14px; border: 1px solid #E4E8EE; border-radius: 10px;
    font-family: inherit; font-size: 0.9rem; background: #F5F7FA; color: #1E2D3D; cursor: pointer;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A8151F' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 12px; padding-right: 32px;
  }
  .mobile-cat-dropdown:focus { outline: none; border-color: #A8151F; background-color: #fff; }
  .desktop-cat-btns { display: none !important; }
}
@media(min-width:901px) {
  .mobile-cat-dropdown { display: none !important; }
  .desktop-cat-btns { display: block; }
}

/* ── CART DRAWER ── */
.cart-drawer {
  position: fixed; right: -420px; top: 0; bottom: 0; width: 400px; max-width: 95vw;
  background: #fff; z-index: 1500; box-shadow: -10px 0 60px rgba(7,31,56,0.18);
  transition: right 0.42s cubic-bezier(0.25,0.46,0.45,0.94);
  display: flex; flex-direction: column;
}
.cart-drawer.open { right: 0; }
.cart-overlay {
  position: fixed; inset: 0; background: rgba(4,15,29,0.5); z-index: 1499;
  opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid #E4E8EE;
}
.cart-header h3 { font-size: 1.1rem; color: #071F38; }
.cart-count-badge {
  background: #A8151F; color: #fff; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700;
}
.cart-close { background: none; border: none; font-size: 1.2rem; color: #6C757D; cursor: pointer; padding: 4px; }
.cart-close:hover { color: #A8151F; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 22px; display: flex; flex-direction: column; gap: 14px; }
.cart-empty { text-align: center; padding: 60px 20px; color: #6C757D; }
.cart-empty i { font-size: 3rem; margin-bottom: 16px; display: block; color: #E4E8EE; }
.cart-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; background: #F5F7FA; border-radius: 12px; }
.ci-img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.ci-info { flex: 1; }
.ci-name { font-size: 0.85rem; font-weight: 600; color: #071F38; margin-bottom: 3px; }
.ci-price { font-size: 0.82rem; color: #A8151F; font-weight: 700; }
.ci-qty-row { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.ci-qty-btn { width: 24px; height: 24px; background: #fff; border: 1px solid #E4E8EE; border-radius: 5px; cursor: pointer; font-size: 0.9rem; color: #071F38; display: flex; align-items: center; justify-content: center; }
.ci-qty-btn:hover { background: #A8151F; color: #fff; border-color: #A8151F; }
.ci-qty-val { font-size: 0.82rem; font-weight: 700; color: #071F38; min-width: 20px; text-align: center; }
.ci-remove { background: none; border: none; color: #6C757D; cursor: pointer; font-size: 0.82rem; margin-left: auto; padding: 4px; }
.ci-remove:hover { color: #A8151F; }
.cart-footer { padding: 16px 22px; border-top: 1px solid #E4E8EE; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cart-total-label { font-size: 0.85rem; color: #6C757D; }
.cart-total-amount { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; color: #A8151F; }
.cart-checkout-btn {
  width: 100%; padding: 13px; background: #A8151F; color: #fff; border: none; border-radius: 10px;
  font-weight: 700; font-size: 0.92rem; cursor: pointer; transition: all 0.3s ease;
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
.cart-checkout-btn:hover { background: #8A0F18; }
.cart-note { text-align: center; font-size: 0.72rem; color: #6C757D; margin-top: 10px; }

/* ── FLOATING CART BTN ── */
.cart-float {
  position: fixed; bottom: 78px; right: 24px; z-index: 998;
  width: 52px; height: 52px; border-radius: 50%; background: #071F38; color: #fff;
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: 0 6px 24px rgba(7,31,56,0.3);
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.cart-float:hover { background: #A8151F; transform: scale(1.12); }
.cart-float-badge {
  position: absolute; top: -5px; right: -5px;
  background: #A8151F; color: #fff; width: 20px; height: 20px; border-radius: 50%;
  font-size: 0.7rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}

/* ── PAGINATION ── */
.shop-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 44px; }
.page-btn {
  width: 38px; height: 38px; border-radius: 8px; border: 1px solid #E4E8EE;
  background: #fff; color: #071F38; font-size: 0.88rem; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.25s ease;
}
.page-btn:hover, .page-btn.active { background: #A8151F; color: #fff; border-color: #A8151F; }

/* ── NO RESULTS ── */
.no-results { grid-column: 1/-1; text-align: center; padding: 60px 20px; }
.no-results i { font-size: 3rem; color: #E4E8EE; display: block; margin-bottom: 16px; }
.no-results p { color: #6C757D; font-size: 0.9rem; }

/* ── MULTI-IMAGE SLIDER ── */
.slider-wrap { position: relative; width: 100%; height: 100%; overflow: hidden; }
.slider-track { display: flex; height: 100%; transition: transform .5s ease; }
.slider-slide { min-width: 100%; height: 100%; }
.slider-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; gap: 5px; justify-content: center; z-index: 3; }
.slider-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); transition: .3s; }
.slider-dots span.active { background: #fff; width: 18px; border-radius: 9px; }
.pm-slider-wrap { position: relative; width: 100%; height: 100%; min-height: 320px; overflow: hidden; border-radius: 12px; }

/* ── CUSTOMER CAPTURE MODAL ── */
.cap-overlay { position: fixed; inset: 0; background: rgba(7,31,56,.6); backdrop-filter: blur(5px); z-index: 6000; display: none; align-items: center; justify-content: center; padding: 20px; }
.cap-overlay.active { display: flex; }
.cap-box { background: #fff; border-radius: 18px; max-width: 420px; width: 100%; padding: 30px 26px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.cap-box h3 { font-size: 1.3rem; color: #071F38; margin: 0 0 4px; }
.cap-box p.sub { font-size: .85rem; color: #6C757D; margin: 0 0 18px; }
.cap-field { margin-bottom: 13px; }
.cap-field label { display: block; font-size: .78rem; color: #071F38; font-weight: 600; margin-bottom: 5px; }
.cap-field input { width: 100%; padding: 11px 13px; border: 1.5px solid #e3e8ef; border-radius: 10px; font-size: .92rem; outline: none; transition: .2s; }
.cap-field input:focus { border-color: #A8151F; }
.cap-submit { width: 100%; background: #A8151F; color: #fff; border: none; border-radius: 10px; padding: 13px; font-size: .95rem; font-weight: 700; cursor: pointer; margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.cap-submit:hover { background: #8d1019; }
.cap-close { position: absolute; }
.cap-note { font-size: .72rem; color: #9aa3b0; text-align: center; margin-top: 12px; }

/* ── RESPONSIVE ── */
@media(max-width:1024px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filter-group { margin-bottom: 16px; }
  .pm-inner { grid-template-columns: 1fr; }
  .pm-img-side { height: 260px; border-radius: 20px 20px 0 0; }
  .shop-sidebar {
    position: fixed !important; top: 0; left: -320px; bottom: 0; width: 300px;
    z-index: 9000; border-radius: 0;
    transition: left 0.38s cubic-bezier(0.25,0.46,0.45,0.94);
    overflow-y: auto; padding-top: 20px;
    box-shadow: 6px 0 40px rgba(7,31,56,0.22);
  }
  .shop-sidebar.drawer-open { left: 0; }
  .filter-drawer-overlay {
    display: block !important;
    position: fixed; inset: 0; background: rgba(4,15,29,0.55);
    z-index: 8999; opacity: 0; visibility: hidden;
    transition: all 0.35s ease;
  }
  .filter-drawer-overlay.active { opacity: 1; visibility: visible; }
  .filter-drawer-close { display: flex !important; }
  .filter-tab-btn { display: flex !important; }
}
@media(min-width:901px) {
  .filter-drawer-overlay { display: none !important; }
  .filter-tab-btn { display: none !important; }
  .filter-drawer-close { display: none !important; }
}

/* ── FILTER TAB BUTTON ── */
.filter-tab-btn {
  display: none;
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 8998;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: #A8151F; color: #fff;
  padding: 14px 10px;
  border-radius: 12px 0 0 12px;
  cursor: pointer; border: none;
  box-shadow: -4px 0 20px rgba(168,21,31,0.35);
  writing-mode: vertical-rl; text-orientation: mixed;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  animation: filterTabPulse 2.4s ease-in-out infinite;
}
.filter-tab-btn i {
  writing-mode: horizontal-tb; font-size: 1rem; margin-bottom: 6px;
  animation: filterTabArrow 1.2s ease-in-out infinite alternate;
}
@keyframes filterTabPulse {
  0%, 100% { box-shadow: -4px 0 20px rgba(168,21,31,0.35); }
  50% { box-shadow: -6px 0 28px rgba(168,21,31,0.6); }
}
@keyframes filterTabArrow {
  from { transform: translateX(0); }
  to { transform: translateX(-4px); }
}

/* ── FILTER DRAWER CLOSE ── */
.filter-drawer-close {
  display: none;
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; background: #071F38; color: #fff;
  border: none; border-radius: 50%; cursor: pointer;
  align-items: center; justify-content: center;
  font-size: 0.9rem; transition: background 0.2s; z-index: 2;
}
.filter-drawer-close:hover { background: #A8151F; }
.filter-drawer-overlay { display: none; }

@media(max-width:560px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-img-wrap { height: 150px; }
  .pm-info-side { padding: 20px 18px; }
  .pm-actions { flex-direction: row; }
  .pm-enquire-btn { font-size: 0.8rem; padding: 10px 8px; }
  .pm-wa-btn { font-size: 0.8rem; padding: 10px 10px; }
}
@media(max-width:768px) { .product-card .product-rating { display: none; } }
@media(max-width:380px) { .products-grid { grid-template-columns: 1fr; } }

/* ── FOOTER ── */
.yi-footer { background: #071F38; padding: 28px 24px; font-size: 0.82rem; border-top: 2px solid #A8151F; }
.yi-footer-inner { max-width: 900px; margin: 0 auto; }
.yi-footer-logo { margin-bottom: 12px; }
.yi-footer-logo img { height: 38px; filter: brightness(0) invert(1); }
.yi-footer-tagline { color: rgba(255,255,255,0.5); margin: 0 0 14px; line-height: 1.6; }
.yi-footer-copy { color: rgba(255,255,255,0.35); font-size: 0.75rem; text-align: center; margin: 0 0 5px; }
.yi-footer-devlink { display: block; text-align: center; color: rgba(255,255,255,0.35); font-size: 0.75rem; }
.yi-footer-devlink a { color: #fff; font-weight: 700; text-decoration: none; }
.yi-footer-devlink a:hover { opacity: 0.7; }
@media(max-width:600px) {
  .yi-footer-logo { text-align: left; }
  .yi-footer-tagline { text-align: left; }
  .yi-footer-copy { text-align: left; }
  .yi-footer-devlink { text-align: center; }
}
@media(min-width:601px) {
  .yi-footer-logo { text-align: center; }
  .yi-footer-logo img { display: block; margin: 0 auto; }
  .yi-footer-tagline { text-align: center; }
}

/* ── IOS SAFARI: prevent zoom on input focus (inputs must be ≥16px) ── */
@media (max-width: 900px) {
  input, select, textarea,
  .price-input, .cap-field input, .sort-select {
    font-size: 16px !important;
  }
}

/* Prevent accidental pinch-zoom inside modals */
.product-modal, .cap-box, .cart-drawer {
  touch-action: manipulation;
}

/* ── FAVORITES SORT HIGHLIGHT ── */
.sort-select option[value="favorites"] { font-weight: 700; color: #A8151F; }
.fav-hint-banner {
  display: none;
  background: linear-gradient(90deg, #fff0f1, #fff8f8);
  border: 1px solid #f5c6c8;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.82rem;
  color: #8A0F18;
  margin-bottom: 18px;
  align-items: center;
  gap: 9px;
}
.fav-hint-banner.show { display: flex; }
.fav-hint-banner i { color: #A8151F; flex-shrink: 0; }