/* ============================================
   EAZYOO Shop Styles
   Premium Product Cards, Filters, Cart Drawer
   ============================================ */

/* === CATEGORY BAR === */
.category-bar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 0;
  margin-top: var(--nav-height);
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
}
.category-bar-scroll {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 12px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.category-bar-scroll::-webkit-scrollbar { display: none; }
.cat-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}
.cat-link:hover, .cat-link.active {
  background: var(--color-ocean-blue);
  color: white;
  border-color: var(--color-ocean-blue);
}
.cat-icon { font-size: 1rem; }

/* === SHOP LAYOUT === */
.shop-layout {
  display: flex;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  min-height: 70vh;
}

/* === SIDEBAR === */
.shop-sidebar {
  width: 260px;
  flex-shrink: 0;
  padding: var(--space-xl) var(--space-lg) var(--space-xl) 0;
  border-right: 1px solid var(--color-border);
  position: sticky;
  top: calc(var(--nav-height) + 52px);
  height: fit-content;
  max-height: calc(100vh - var(--nav-height) - 52px);
  overflow-y: auto;
}
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
}
.sidebar-header h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}
.sidebar-close {
  display: none;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--color-text-light);
}
.filter-section {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border-light);
}
.filter-section h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}
.filter-cat-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.filter-cat-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--color-text);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.filter-cat-btn:hover {
  background: var(--color-bg);
}
.filter-cat-btn.active {
  background: var(--color-ocean-blue);
  color: white;
  font-weight: 600;
}
.filter-cat-btn .filter-count {
  margin-left: auto;
  font-size: 0.75rem;
  background: var(--color-bg-alt);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  color: var(--color-text-light);
}
.filter-cat-btn.active .filter-count {
  background: rgba(255,255,255,0.2);
  color: white;
}
.price-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  appearance: none;
  background: var(--color-border);
  outline: none;
}
.price-slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-ocean-blue);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,95,204,0.3);
}
.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 8px;
}
.sort-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--color-text);
  background: var(--color-white);
  cursor: pointer;
}

/* === SHOP MAIN === */
.shop-main {
  flex: 1;
  padding: var(--space-xl) 0 var(--space-xl) var(--space-xl);
  min-width: 0;
}
.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
}
.shop-header h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
}
.product-count {
  font-size: 0.88rem;
  color: var(--color-text-light);
  margin-top: 4px;
  display: block;
}
.filter-toggle-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-toggle-btn:hover {
  border-color: var(--color-ocean-blue);
  color: var(--color-ocean-blue);
}

/* === PRODUCT GRID === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 1240px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

/* === PRODUCT CARD === */
.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.product-card-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  background: linear-gradient(135deg, #f8f9fb 0%, #eef1f5 100%);
  border-bottom: 1px solid var(--color-border-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-img, .product-slider {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-card-img {
  transform: scale(1.05);
}
.product-slider {
  position: relative;
}
.product-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: opacity 0.6s ease;
}
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}
.badge-hot {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: white;
}
.badge-new {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
}
.badge-amazon {
  background: #ff9900;
  color: #131921;
}

/* === EAZYOO ORIGINALS (OWN BRAND) === */
.own-brand-section .section-label { color: #ff9900; }
.own-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
  max-width: 780px;
  margin: 0 auto;
}
.own-brand-card {
  border: 2px solid var(--color-ocean-blue);
  box-shadow: var(--shadow-md);
}
.own-brand-actions {
  display: flex;
  gap: 10px;
  padding-top: 14px;
}
.own-brand-actions .btn-add-cart { flex: 1; justify-content: center; }
.btn-amazon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: #ff9900;
  color: #131921;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-base);
}
.btn-amazon:hover { background: #f0870a; transform: translateY(-1px); }
@media (max-width: 620px) {
  .own-brand-grid { grid-template-columns: 1fr; max-width: 420px; }
  .own-brand-actions { flex-direction: column; }
}

/* === CARD BODY === */
.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-ocean-blue);
  margin-bottom: 6px;
}
.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 6px;
  line-height: 1.3;
}
.product-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 12px;
  flex-grow: 1;
}
.product-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.product-card-rating .stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.product-card-rating .rating-num {
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-weight: 600;
}

/* === CARD FOOTER (Price + Button) === */
.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
  margin-top: auto;
}
.product-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-charcoal);
}
.price-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.product-price-old {
  font-size: 0.8rem;
  text-decoration: line-through;
  color: var(--color-text-light);
}
.product-price.wholesale {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-ocean-blue);
}
.wholesale-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--color-ocean-blue);
  color: white;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  width: fit-content;
}
.btn-add-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--color-charcoal);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}
.btn-add-cart:hover {
  background: var(--color-ocean-blue);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-blue);
}

/* === CART BUTTON (Header) === */
.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  padding: 8px;
  border-radius: 50%;
  transition: all var(--transition-fast);
}
.cart-btn:hover {
  background: var(--color-bg);
  color: var(--color-ocean-blue);
}
.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background: #ef4444;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === CART DRAWER === */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--color-white);
  z-index: 999;
  box-shadow: -8px 0 30px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-drawer.open {
  right: 0;
}
.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
}
.cart-drawer-header h3 {
  font-family: var(--font-heading);
  font-weight: 700;
}
.cart-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--color-text-light);
  padding: 4px;
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.cart-item-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.cart-item-info {
  flex: 1;
}
.cart-item-name {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.cart-item-price {
  font-weight: 700;
  color: var(--color-ocean-blue);
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-item-controls button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.cart-item-controls button:hover {
  border-color: var(--color-ocean-blue);
  color: var(--color-ocean-blue);
}
.cart-item-controls span {
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 20px;
  text-align: center;
}
.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--color-border);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

/* === HOMEPAGE CATEGORY SHOWCASE === */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.category-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  transition: all var(--transition-base);
}
.category-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-ocean-blue);
}
.category-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}
.category-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.category-card p {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* === TOAST ANIMATION === */
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  
  .shop-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    z-index: 200;
    padding: var(--space-xl);
    border-right: 1px solid var(--color-border);
    transition: left 0.3s ease;
    overflow-y: auto;
  }
  .shop-sidebar.open { left: 0; }
  .sidebar-close { display: block; }
  .filter-toggle-btn { display: flex; }
  .shop-main { padding-left: 0; }
}

@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .shop-header h1 { font-size: 1.4rem; }
  .cart-drawer { width: 100vw; max-width: 100vw; right: -100vw; }
}

/* === STOCK BADGES === */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.stock-in {
  background: #d1fae5;
  color: #065f46;
}
.stock-low {
  background: #fef3c7;
  color: #92400e;
}
.stock-out {
  background: #fee2e2;
  color: #991b1b;
}

/* === TOAST NOTIFICATIONS === */
.ez-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-charcoal);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
}
.ez-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.ez-toast-error {
  background: #ef4444;
}

/* === CART EMPTY STATE === */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  min-height: 200px;
}

/* === CART REMOVE BUTTON === */
.cart-remove-btn {
  background: none;
  border: none;
  color: var(--color-text-lighter);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 4px;
  line-height: 1;
  transition: color var(--transition-fast);
}
.cart-remove-btn:hover { color: #ef4444; }

/* ========================================== */
/* NOTICE BOARD BANNER                        */
/* ========================================== */
#site-noticeboard {
  position: relative;
  z-index: 89;
  overflow: hidden;
  white-space: nowrap;
  padding: 0;
  line-height: 1;
}
#site-noticeboard.nb-hidden { display: none; }

.nb-inner {
  display: flex;
  align-items: center;
  padding: 10px 0;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Type colours */
.nb-type-maintenance { background: #991b1b; color: #fff; }
.nb-type-maintenance .nb-icon-pill { background: rgba(255,255,255,0.2); }
.nb-type-deals       { background: #92400e; color: #fff; }
.nb-type-deals .nb-icon-pill { background: rgba(255,255,255,0.2); }
.nb-type-hourly_deal { background: #1e3a5f; color: #fff; }
.nb-type-hourly_deal .nb-icon-pill { background: rgba(255,255,255,0.2); }
.nb-type-sale        { background: #065f46; color: #fff; }
.nb-type-sale .nb-icon-pill { background: rgba(255,255,255,0.2); }
.nb-type-custom      { background: #312e81; color: #fff; }
.nb-type-custom .nb-icon-pill { background: rgba(255,255,255,0.2); }

.nb-icon-pill {
  flex-shrink: 0;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 16px;
  margin-left: 16px;
  white-space: nowrap;
}

.nb-marquee-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.nb-marquee-wrap::before,
.nb-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  width: 40px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.nb-marquee-wrap::before { left: 0; background: linear-gradient(to right, rgba(0,0,0,0.15), transparent); }
.nb-marquee-wrap::after  { right: 0; background: linear-gradient(to left, rgba(0,0,0,0.15), transparent); }

.nb-marquee {
  display: inline-block;
  padding-left: 100%;
  animation: nbScroll 30s linear infinite;
}
.nb-marquee.speed-slow   { animation-duration: 50s; }
.nb-marquee.speed-normal { animation-duration: 30s; }
.nb-marquee.speed-fast   { animation-duration: 15s; }
.nb-marquee:hover { animation-play-state: paused; }

@keyframes nbScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* dismiss button */
.nb-dismiss {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 4px 12px;
  font-size: 1rem;
  flex-shrink: 0;
  transition: color 0.2s;
}
.nb-dismiss:hover { color: #fff; }

/* === SINGLE PRODUCT DETAIL PAGE === */
.product-detail-layout {
  max-width: var(--container-max);
  margin: var(--space-2xl) auto var(--space-4xl);
  padding: 0 var(--space-md);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
}
.breadcrumb a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.breadcrumb a:hover {
  color: var(--color-ocean-blue);
}
.breadcrumb-separator {
  font-size: 0.75rem;
}
.breadcrumb-current {
  color: var(--color-text);
  font-weight: 600;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-3xl);
  align-items: start;
}
@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* Gallery */
.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.main-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  position: relative;
}
.main-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition-slow);
}
.main-img-wrap:hover img {
  transform: scale(1.05);
}
.thumb-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.thumb-item {
  width: 70px;
  height: 70px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 6px;
  background: var(--color-white);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.thumb-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.thumb-item.active, .thumb-item:hover {
  border-color: var(--color-ocean-blue);
  box-shadow: 0 0 0 2px rgba(0, 95, 204, 0.15);
}

/* Info Column */
.detail-info {
  display: flex;
  flex-direction: column;
}
.detail-brand {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-ocean-blue);
  letter-spacing: 1.5px;
  margin-bottom: var(--space-xs);
}
.detail-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-charcoal);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}
.detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: var(--space-md);
  font-size: 0.88rem;
  color: var(--color-text-light);
}
.detail-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}
.detail-rating .stars {
  color: #f59e0b;
}
.detail-sku {
  font-family: monospace;
  font-size: 0.8rem;
}
.detail-price-wrap {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: var(--space-lg);
}
.detail-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-charcoal);
}
.detail-price-wholesale-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.detail-price-old {
  font-size: 1rem;
  text-decoration: line-through;
  color: var(--color-text-light);
}
.detail-price-wholesale {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-ocean-blue);
}

.detail-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

/* Features list */
.detail-features-title {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  color: var(--color-text);
}
.detail-features {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-xl);
}
.detail-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--color-text);
}
.detail-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* Specs Table */
.detail-specs-title {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  color: var(--color-text);
}
.detail-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-xl);
  font-size: 0.88rem;
}
.detail-specs-table tr {
  border-bottom: 1px solid var(--color-border-light);
}
.detail-specs-table td {
  padding: 10px 12px;
}
.detail-specs-table td:first-child {
  font-weight: 600;
  color: var(--color-text-light);
  width: 35%;
}
.detail-specs-table td:last-child {
  color: var(--color-text);
}

/* Buy actions */
.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--space-xl);
}
.detail-buttons-row {
  display: flex;
  gap: 12px;
}
@media (max-width: 480px) {
  .detail-buttons-row {
    flex-direction: column;
  }
}
.detail-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
}
.detail-btn-primary {
  background: var(--color-ocean-blue);
  color: white;
  border: none;
}
.detail-btn-primary:hover {
  background: var(--color-ocean-blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-blue);
}
.detail-btn-amazon {
  background: #ff9900;
  color: #111;
  border: none;
}
.detail-btn-amazon:hover {
  background: #e68a00;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 153, 0, 0.3);
}

/* Related Products */
.related-section {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-3xl);
  margin-top: var(--space-4xl);
}
.related-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: var(--space-xl);
  color: var(--color-charcoal);
  text-align: center;
}

/* === ORDER CONFIRMATION MODAL === */
.ez-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: ezFade 0.2s ease;
}
@keyframes ezFade { from { opacity: 0; } to { opacity: 1; } }
.ez-modal {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 32px 28px 24px;
  box-shadow: var(--shadow-xl);
}
.ez-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-text-light);
  cursor: pointer;
}
.ez-modal-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.ez-modal-sub { font-size: 0.9rem; color: var(--color-text-light); margin-bottom: 16px; }
.ez-modal-textarea {
  width: 100%;
  min-height: 150px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--color-text);
  background: var(--color-bg);
  resize: vertical;
  margin-bottom: 16px;
}
.ez-modal-actions { display: flex; gap: 10px; margin-bottom: 12px; }
.ez-modal-note { font-size: 0.8rem; color: var(--color-text-light); text-align: center; margin: 0; }
.ez-modal-note a { color: var(--color-ocean-blue); font-weight: 600; }
@media (max-width: 480px) { .ez-modal-actions { flex-direction: column; } }
