/* =====================================================
   批發商購物車前台樣式
   Wholesale Frontend Styles
   ===================================================== */

/* CSS Variables */
:root {
  --ws-primary: #1a365d;
  --ws-primary-light: #2c5282;
  --ws-primary-dark: #0d1b2a;
  --ws-accent: #ed8936;
  --ws-accent-hover: #dd6b20;
  --ws-success: #38a169;
  --ws-danger: #e53e3e;
  --ws-warning: #d69e2e;
  --ws-gray-50: #f7fafc;
  --ws-gray-100: #edf2f7;
  --ws-gray-200: #e2e8f0;
  --ws-gray-300: #cbd5e0;
  --ws-gray-400: #a0aec0;
  --ws-gray-500: #718096;
  --ws-gray-600: #4a5568;
  --ws-gray-700: #2d3748;
  --ws-gray-800: #1a202c;
  --ws-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --ws-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --ws-radius: 12px;
  --ws-radius-sm: 8px;
  --ws-transition: all 0.2s ease;
}

/* Base Styles */
body.ws-front {
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, var(--ws-gray-50) 0%, #fff 50%, var(--ws-gray-100) 100%);
  min-height: 100vh;
  color: var(--ws-gray-800);
  padding-top: 72px;
}

/* =====================================================
   Top Navigation
   ===================================================== */
.ws-navbar {
  background: linear-gradient(90deg, var(--ws-primary) 0%, var(--ws-primary-light) 100%);
  box-shadow: var(--ws-shadow);
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
}

.ws-navbar .container-fluid {
  height: 100%;
  display: flex;
  align-items: center;
}

.ws-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.35rem;
}

.ws-brand-icon {
  width: 40px;
  height: 40px;
  background: var(--ws-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.ws-nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ws-nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--ws-radius-sm);
  font-weight: 500;
  transition: var(--ws-transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ws-nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.ws-nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.ws-nav-dropdown .dropdown-toggle {
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: var(--ws-radius-sm);
  font-weight: 500;
}

.ws-nav-dropdown .dropdown-toggle::after {
  margin-left: 8px;
}

.ws-nav-dropdown .dropdown-menu {
  border: none;
  box-shadow: var(--ws-shadow-lg);
  border-radius: var(--ws-radius);
  padding: 8px;
  min-width: 200px;
}

.ws-nav-dropdown .dropdown-item {
  border-radius: var(--ws-radius-sm);
  padding: 10px 16px;
  color: var(--ws-gray-700);
}

.ws-nav-dropdown .dropdown-item:hover {
  background: var(--ws-gray-100);
  color: var(--ws-primary);
}

.ws-search-box {
  position: relative;
  width: 280px;
}

.ws-search-box input {
  width: 100%;
  border: none;
  border-radius: 50px;
  padding: 10px 44px 10px 18px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.95rem;
}

.ws-search-box input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.ws-search-box input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.ws-search-box button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.ws-announce-bar {
  background: var(--ws-accent);
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 0;
  text-align: center;
}

.ws-announce-bar a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}

/* =====================================================
   User Menu
   ===================================================== */
.ws-user-menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ws-cart-btn {
  position: relative;
  color: #fff;
  font-size: 1.4rem;
  padding: 8px;
  border-radius: 50%;
  transition: var(--ws-transition);
}

.ws-cart-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.ws-cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--ws-danger);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ws-user-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  padding: 6px 12px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
}

.ws-user-dropdown .dropdown-toggle::after {
  display: none;
}

.ws-user-dropdown .dropdown-menu {
  right: 0;
  left: auto;
  border: none;
  box-shadow: var(--ws-shadow-lg);
  border-radius: var(--ws-radius);
  padding: 8px;
  min-width: 200px;
}

.ws-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ws-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
}

/* =====================================================
   Hero Banner
   ===================================================== */
.ws-hero {
  position: relative;
  overflow: hidden;
}

.ws-hero-slide {
  height: 480px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.ws-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 54, 93, 0.9) 0%, rgba(26, 54, 93, 0.4) 50%, transparent 100%);
  display: flex;
  align-items: center;
}

.ws-hero-content {
  max-width: 600px;
  padding: 40px;
  color: #fff;
}

.ws-hero-badge {
  display: inline-block;
  background: var(--ws-accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.ws-hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.ws-hero-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 24px;
  line-height: 1.6;
}

.ws-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--ws-accent);
  color: #fff;
  border-radius: var(--ws-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--ws-transition);
}

.ws-hero-btn:hover {
  background: var(--ws-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--ws-shadow-lg);
}

.ws-hero-btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  margin-left: 12px;
}

.ws-hero-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.ws-hero .swiper-pagination {
  bottom: 30px;
}

.ws-hero .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 6px;
  opacity: 1;
  transition: width 0.2s ease;
}

.ws-hero .swiper-pagination-bullet-active {
  background: #fff;
  width: 32px;
  border-radius: 6px;
}

.ws-content-page {
  padding: 56px 0;
  background: #f7fafc;
}

.ws-content-card {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px;
  background: #fff;
  border-radius: var(--ws-radius);
  box-shadow: var(--ws-shadow);
}

.ws-content-card h1 {
  margin-bottom: 8px;
  color: var(--ws-primary);
  font-size: 2rem;
  font-weight: 700;
}

.ws-content-date {
  color: #718096;
  font-size: 0.875rem;
}

.ws-content-body {
  margin-top: 28px;
  color: #2d3748;
  font-size: 1.02rem;
  line-height: 1.9;
}

.ws-content-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px auto;
}

.about-page .ws-content-card {
  max-width: 980px;
  margin-inline: auto;
}

.about-page .ws-content-body h2,
.about-page .ws-content-body h3 {
  margin-top: 2rem;
  color: var(--ws-primary);
  font-weight: 700;
}

.about-page .ws-content-body blockquote {
  margin: 1.75rem 0;
  padding: 1rem 1.25rem;
  border-left: .3rem solid var(--ws-accent);
  border-radius: 0 .6rem .6rem 0;
  background: color-mix(in srgb, var(--ws-primary-light) 35%, #fff);
}

.about-page .ws-content-body table {
  width: 100%;
  margin: 1.25rem 0;
  border-collapse: collapse;
}

.about-page .ws-content-body th,
.about-page .ws-content-body td {
  padding: .75rem;
  border: 1px solid #dfe4ea;
  vertical-align: top;
}

.about-page .ws-content-body th {
  background: color-mix(in srgb, var(--ws-primary-light) 45%, #fff);
}

/* =====================================================
   Category Navigation
   ===================================================== */
.ws-category-nav {
  background: #fff;
  padding: 24px 0;
  box-shadow: var(--ws-shadow);
}

.ws-category-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ws-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 20px;
  border-radius: var(--ws-radius);
  transition: var(--ws-transition);
  min-width: 120px;
}

.ws-category-item:hover {
  background: var(--ws-gray-100);
  transform: translateY(-4px);
}

.ws-category-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--ws-primary) 0%, var(--ws-primary-light) 100%);
  border-radius: var(--ws-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.ws-category-name {
  color: var(--ws-gray-700);
  font-weight: 600;
  font-size: 0.95rem;
}

.ws-category-all {
  background: var(--ws-accent);
}

.ws-category-all .ws-category-icon {
  background: rgba(255, 255, 255, 0.2);
}

/* =====================================================
   Section Title
   ===================================================== */
.ws-section {
  padding: 48px 0;
}

.ws-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.ws-section-title h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ws-gray-800);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ws-section-title h2 i {
  color: var(--ws-accent);
}

.ws-section-more {
  color: var(--ws-primary);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--ws-transition);
}

.ws-section-more:hover {
  color: var(--ws-primary-light);
  gap: 10px;
}

/* =====================================================
   Product Card
   ===================================================== */
.ws-product-card {
  background: #fff;
  border-radius: var(--ws-radius);
  overflow: hidden;
  box-shadow: var(--ws-shadow);
  transition: var(--ws-transition);
  text-decoration: none;
  display: block;
  position: relative;
}

.ws-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ws-shadow-lg);
}

.ws-product-thumb {
  position: relative;
  aspect-ratio: 1;
  background: var(--ws-gray-100);
  overflow: hidden;
}

.ws-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ws-product-card:hover .ws-product-thumb img {
  transform: scale(1.08);
}

.ws-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ws-accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.ws-product-badge.hot {
  background: var(--ws-danger);
}

.ws-product-badge.new {
  background: var(--ws-success);
}

.ws-product-badge.sale {
  background: var(--ws-warning);
}

.ws-product-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ws-gray-400);
  cursor: pointer;
  transition: var(--ws-transition);
  border: none;
}

.ws-product-wishlist:hover,
.ws-product-wishlist.active {
  background: var(--ws-danger);
  color: #fff;
}

.ws-product-info {
  padding: 16px;
}

.ws-product-sku {
  font-size: 0.8rem;
  color: var(--ws-gray-500);
  margin-bottom: 4px;
}

.ws-product-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ws-gray-800);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ws-product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.ws-price-current {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ws-primary);
}

.ws-price-original {
  font-size: 0.9rem;
  color: var(--ws-gray-400);
  text-decoration: line-through;
}

.ws-price-tier {
  font-size: 0.8rem;
  color: var(--ws-accent);
  font-weight: 500;
}

.ws-product-stock {
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.ws-product-stock.in-stock {
  color: var(--ws-success);
}

.ws-product-stock.low-stock {
  color: var(--ws-warning);
}

.ws-product-stock.out-stock {
  color: var(--ws-danger);
}

.ws-product-actions {
  display: flex;
  gap: 8px;
}

.ws-btn-cart {
  flex: 1;
  background: var(--ws-primary);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: var(--ws-radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--ws-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.ws-btn-cart:hover {
  background: var(--ws-primary-light);
}

.ws-btn-cart:disabled {
  background: var(--ws-gray-300);
  cursor: not-allowed;
}

/* =====================================================
   Product Grid
   ===================================================== */
.ws-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1199.98px) {
  .ws-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991.98px) {
  .ws-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .ws-hero-slide {
    height: 380px;
  }
  
  .ws-hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  .ws-product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .ws-product-info {
    padding: 12px;
  }
  
  .ws-product-name {
    font-size: 1rem;
  }
  
  .ws-hero-slide {
    height: 320px;
  }
  
  .ws-hero-content {
    padding: 24px;
  }
  
  .ws-hero-title {
    font-size: 1.6rem;
  }
  
  .ws-search-box {
    display: none;
  }
}

/* =====================================================
   Member Level Section
   ===================================================== */
.ws-member-levels {
  background: linear-gradient(135deg, var(--ws-primary) 0%, var(--ws-primary-light) 100%);
  padding: 48px 0;
  color: #fff;
}

.ws-member-levels h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.ws-member-levels p {
  opacity: 0.9;
  margin-bottom: 32px;
}

.ws-level-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ws-level-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--ws-radius);
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ws-level-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.ws-level-card.normal .ws-level-icon {
  background: #718096;
}

.ws-level-card.silver .ws-level-icon {
  background: linear-gradient(135deg, #b0b0b0 0%, #d0d0d0 100%);
}

.ws-level-card.gold .ws-level-icon {
  background: linear-gradient(135deg, #d4a017 0%, #ffd700 100%);
}

.ws-level-card.diamond .ws-level-icon {
  background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
}

.ws-level-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.ws-level-discount {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.ws-level-desc {
  font-size: 0.85rem;
  opacity: 0.8;
}

@media (max-width: 991.98px) {
  .ws-level-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .ws-level-cards {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   Promo Section
   ===================================================== */
.ws-promo-section {
  background: linear-gradient(135deg, #fff5eb 0%, #fff 100%);
  padding: 48px 0;
}

.ws-promo-banner {
  background: linear-gradient(90deg, var(--ws-accent) 0%, #f6ad55 100%);
  border-radius: var(--ws-radius);
  padding: 32px 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.ws-promo-banner h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.ws-promo-banner p {
  margin: 8px 0 0;
  opacity: 0.9;
}

.ws-promo-banner a {
  background: #fff;
  color: var(--ws-accent);
  padding: 12px 28px;
  border-radius: var(--ws-radius);
  font-weight: 700;
  text-decoration: none;
  transition: var(--ws-transition);
}

.ws-promo-banner a:hover {
  transform: scale(1.05);
}

/* =====================================================
   Footer
   ===================================================== */
.ws-footer {
  background: var(--ws-primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 0 24px;
}

.ws-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.ws-footer-brand {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ws-footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.ws-footer h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.ws-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ws-footer-links li {
  margin-bottom: 10px;
}

.ws-footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--ws-transition);
}

.ws-footer-links a:hover {
  color: #fff;
  padding-left: 6px;
}

.ws-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

@media (max-width: 991.98px) {
  .ws-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .ws-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .ws-footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* =====================================================
   Mobile Bottom Navigation
   ===================================================== */
.ws-mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: none;
  justify-content: space-around;
  padding: 8px 0;
  z-index: 1000;
}

.ws-mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ws-gray-500);
  text-decoration: none;
  font-size: 0.75rem;
  padding: 8px 12px;
}

.ws-mobile-nav a i {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.ws-mobile-nav a.active {
  color: var(--ws-primary);
}

@media (max-width: 767.98px) {
  .ws-mobile-nav {
    display: flex;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }
  
  body.ws-front {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
}

/* =====================================================
   Utility Classes
   ===================================================== */
.ws-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.ws-bg-light {
  background: var(--ws-gray-50);
}

.ws-text-primary {
  color: var(--ws-primary);
}

.ws-text-accent {
  color: var(--ws-accent);
}

.ws-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.ws-badge-primary {
  background: var(--ws-primary);
  color: #fff;
}

.ws-badge-accent {
  background: var(--ws-accent);
  color: #fff;
}

.ws-badge-success {
  background: var(--ws-success);
  color: #fff;
}
.ws-consent{position:fixed;z-index:1080;left:24px;right:24px;bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:920px;margin:auto;padding:18px 20px;border:1px solid rgba(255,255,255,.16);border-radius:16px;background:#172033;color:#fff;box-shadow:0 16px 48px rgba(0,0,0,.3)}
.ws-consent[hidden]{display:none}.ws-consent p{margin:4px 0 0;color:#cbd5e1}.ws-consent__actions{display:flex;gap:10px;flex:none}.ws-consent button{padding:9px 14px;border:1px solid #94a3b8;border-radius:9px;background:transparent;color:#fff}.ws-consent button[data-consent="all"]{border-color:var(--ws-primary);background:var(--ws-primary)}
@media(max-width:640px){.ws-consent{left:12px;right:12px;bottom:76px;display:block}.ws-consent__actions{margin-top:14px}.ws-consent button{flex:1}}

/* Mobile readability and touch targets */
@media (max-width: 575.98px) {
  body.ws-front { font-size: 1rem; }
  .ws-navbar { height: 64px; }
  body.ws-front { padding-top: 64px; }
  .ws-navbar .container-fluid { padding-inline: 12px !important; }
  .ws-user-menu { gap: 6px; }
  .ws-cart-btn { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
  .ws-container { padding-inline: 16px; }
  .ws-section, .ws-member-levels, .ws-promo-section { padding-block: 32px; }
  .ws-section-title { gap: 12px; margin-bottom: 20px; }
  .ws-section-title h2 { font-size: clamp(1.25rem, 6vw, 1.5rem); }
  .ws-section-more { flex: none; font-size: .9rem; }
  .ws-hero-overlay { background: linear-gradient(90deg, rgba(26,54,93,.92), rgba(26,54,93,.62)); }
  .ws-hero-content { padding: 24px 16px; }
  .ws-hero-title { font-size: clamp(1.5rem, 8vw, 2rem); }
  .ws-hero-desc { font-size: 1rem; line-height: 1.5; }
  .ws-hero-btn { min-height: 44px; padding: 11px 18px; }
  .ws-hero-btn-outline { margin: 10px 0 0; }
  .ws-category-grid { flex-wrap: nowrap; justify-content: flex-start; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .ws-category-grid::-webkit-scrollbar { display: none; }
  .ws-category-item { min-width: 92px; padding: 12px 8px; }
  .ws-category-icon { width: 52px; height: 52px; }
  .ws-product-card:hover { transform: none; }
  .ws-product-info { padding: 16px; }
  .ws-product-price { flex-wrap: wrap; }
  .ws-price-current { font-size: 1.3rem; }
  .ws-product-sku, .ws-price-tier, .ws-product-stock { font-size: .875rem; overflow-wrap: anywhere; }
  .ws-btn-cart, .btn { min-height: 44px; }
  .ws-promo-banner { align-items: stretch; flex-direction: column; gap: 16px; padding: 24px 20px; }
  .ws-promo-banner a { min-height: 44px; text-align: center; }
  .ws-content-page { padding: 32px 0; }
  .ws-content-card { padding: 24px 16px; }
  .ws-content-card h1 { font-size: 1.5rem; }
  input, select, textarea { font-size: 16px !important; }
}

@media (min-width: 400px) and (max-width: 575.98px) {
  .ws-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ws-product-info { padding: 12px; }
  .ws-product-name { font-size: .95rem; }
  .ws-product-actions .ws-btn-cart { padding-inline: 8px; }
}
