/* ================================================================
   UDUGORE — SHOP PAGE (Poppins Premium Edition - Fully Responsive)
   ================================================================ */

:root {
  --ud-emerald:        #004D3A;
  --ud-emerald-dark:   #00382A;
  --ud-emerald-light:  #0A6B52;
  --ud-emerald-soft:   #E8F2EE;
  --ud-emerald-tint:   #F2F8F5;

  --ud-gold:           #D99A2B;
  --ud-gold-dark:      #B87E1A;
  --ud-gold-light:     #E9B75A;
  --ud-gold-soft:      #FBF3E0;
  --ud-gold-tint:      #FDF9F0;

  --ud-ivory:          #FAF8F2;
  --ud-ivory-deep:     #F3EFE4;
  --ud-white:          #FFFFFF;

  --ud-ink:            #14201C;
  --ud-text:           #3D4844;
  --ud-text-muted:     #7A857F;
  --ud-line:           #E6E1D5;
  --ud-line-soft:      #EFEAE0;

  --ud-font-display:   'Poppins', sans-serif;
  --ud-font-body:      'Poppins', sans-serif;

  --ud-r-sm: 8px;
  --ud-r-md: 12px;
  --ud-r-lg: 16px;
  --ud-r-xl: 24px; /* Added missing variable */
  --ud-r-pill: 999px;

  --ud-shadow-xs:  0 1px 2px rgba(20, 32, 28, 0.05);
  --ud-shadow-sm:  0 2px 8px rgba(20, 32, 28, 0.06);
  --ud-shadow-md:  0 6px 20px rgba(20, 32, 28, 0.08);
  --ud-shadow-lg:  0 14px 40px rgba(20, 32, 28, 0.10);

  --ud-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ud-ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --ud-max: 1280px;
}

/* ── Base ───────────────────────────────────────────────────── */
.shop-page { 
  background: var(--ud-ivory); 
  color: var(--ud-text); 
  font-family: var(--ud-font-body); 
  min-height: 100vh; 
  padding-bottom: 80px; 
}
.shop-page * { box-sizing: border-box; }
.seedhub-container { max-width: var(--ud-max); margin: 0 auto; padding: 0 32px; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.shop-breadcrumb { background: var(--ud-white); border-bottom: 1px solid var(--ud-line-soft); }
.shop-breadcrumb-inner { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  padding: 16px 32px; 
  font-size: 12.5px; 
  color: var(--ud-text-muted); 
  text-transform: uppercase; 
  letter-spacing: 0.05em; 
  font-weight: 500; 
  flex-wrap: wrap; /* Added for mobile */
}
.shop-breadcrumb a { color: var(--ud-text-muted); text-decoration: none; transition: color .2s var(--ud-ease); }
.shop-breadcrumb a:hover { color: var(--ud-emerald); }
.shop-breadcrumb-sep { color: var(--ud-gold); font-size: 14px; font-weight: 500; }
.shop-breadcrumb-current { color: var(--ud-emerald); font-weight: 600; }

/* ── Top bar ────────────────────────────────────────────────── */
.shop-topbar { 
  background: linear-gradient(to bottom, var(--ud-ivory) 0%, var(--ud-white) 100%); 
  border-bottom: 1px solid var(--ud-gold-soft); 
  position: sticky; 
  top: 0; 
  z-index: 40; 
  box-shadow: 0 4px 20px rgba(20, 32, 28, 0.03); 
  padding: 12px 0; 
}
.shop-topbar-inner { 
  display: flex; 
  align-items: flex-end; 
  justify-content: space-between; 
  gap: 24px; 
  padding: 12px 32px 20px; 
  flex-wrap: wrap; 
}
.shop-topbar-left { display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 0; }
.shop-topbar-title { 
  font-family: var(--ud-font-display); 
  font-size: clamp(28px, 4vw, 40px); 
  font-weight: 700; 
  color: var(--ud-emerald); 
  letter-spacing: -0.02em; 
  margin: 0; 
  line-height: 1.1; 
  text-shadow: 0 2px 4px rgba(0, 77, 58, 0.04); 
}
.shop-result-count { 
  display: inline-block; 
  font-size: 12px; 
  color: var(--ud-text-muted); 
  font-weight: 600; 
  letter-spacing: 0.04em; 
  text-transform: uppercase; 
  background: var(--ud-ivory-deep); 
  padding: 6px 14px; 
  border-radius: var(--ud-r-pill); 
  align-self: flex-start; 
  border: 1px solid var(--ud-line-soft); 
}
.shop-topbar-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; padding-bottom: 4px; flex-wrap: wrap; }

.shop-filter-toggle { 
  display: inline-flex !important; 
  align-items: center; 
  gap: 8px; 
  background: var(--ud-white); 
  color: var(--ud-emerald); 
  border: 1.5px solid var(--ud-emerald); 
  border-radius: var(--ud-r-pill); 
  padding: 10px 20px; 
  font-size: 14px; 
  font-weight: 600; 
  cursor: pointer; 
  transition: all .22s var(--ud-ease); 
  box-shadow: var(--ud-shadow-xs); 
}
.shop-filter-toggle:hover { background: var(--ud-emerald); color: var(--ud-white); transform: translateY(-1px); box-shadow: var(--ud-shadow-sm); }
.shop-filter-badge { background: var(--ud-gold); color: var(--ud-white); border-radius: var(--ud-r-pill); padding: 2px 8px; font-size: 11px; font-weight: 700; min-width: 20px; text-align: center; }

.shop-sort-wrap { 
  position: relative;
  display: flex; 
  align-items: center; 
  gap: 12px; 
  background: var(--ud-white); 
  border: 1px solid #e1e9e4; 
  border-radius: 16px; 
  padding: 7px 10px 7px 18px; 
  transition: all 0.25s var(--ud-ease); 
  box-shadow: 0 3px 12px rgba(20, 32, 28, 0.06); 
}
.shop-sort-wrap:hover { border-color: #c9ab70; box-shadow: 0 5px 16px rgba(20, 32, 28, 0.09); }
.shop-sort-wrap:focus-within { border-color: var(--ud-emerald-light); box-shadow: 0 0 0 3px rgba(217, 154, 43, 0.18); }
.shop-sort-wrap.shop-sort-open { z-index: 20; }
.shop-sort-label { font-size: 14px; color: var(--ud-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.shop-sort-select { 
  border: none; 
  background: transparent; 
  font-family: var(--ud-font-body); 
  font-size: 13.5px; 
  font-weight: 600; 
  color: var(--ud-emerald); 
  cursor: pointer; 
  padding: 4px 0; 
  padding-right: 24px; 
  outline: none; 
  appearance: none; 
  -webkit-appearance: none; 
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23004D3A' d='M5 6L0 0h10z'/%3E%3C/svg%3E"); 
  background-repeat: no-repeat; 
  background-position: right center; 
  transition: color 0.2s; 
}
.shop-sort-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.shop-sort-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 190px;
  min-height: 40px;
  padding: 8px 13px 8px 15px;
  color: var(--ud-emerald-dark);
  background: linear-gradient(135deg, #f8fbf9, #f0f6f2);
  border: 1px solid #e2ebe5;
  border-radius: 11px !important;
  font: 600 14px/1.3 "Poppins", sans-serif;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.shop-sort-trigger i {
  color: var(--ud-gold-dark);
  font-size: 11px;
  transition: transform .2s ease;
}
.shop-sort-open .shop-sort-trigger i { transform: rotate(180deg); }
.shop-sort-trigger:hover { background: #edf5f0; border-color: #bfd2c7; }
.shop-sort-trigger:focus-visible {
  outline: 2px solid var(--ud-emerald-light);
  outline-offset: 2px;
}
.shop-sort-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  width: max(100%, 230px);
  max-height: min(360px, 60vh);
  padding: 7px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e5eae6;
  border-radius: 15px;
  box-shadow: 0 16px 38px rgba(20, 32, 28, 0.16);
}
.shop-sort-menu[hidden] { display: none; }
.shop-sort-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  color: #344840;
  background: transparent;
  border: 0;
  border-radius: 9px !important;
  font: 500 13px/1.4 "Poppins", sans-serif;
  text-align: left;
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}
.shop-sort-option i { color: transparent; font-size: 12px; }
.shop-sort-option:hover,
.shop-sort-option:focus-visible {
  color: var(--ud-emerald-dark);
  background: #f0f6f2;
  outline: none;
}
.shop-sort-option.is-selected {
  color: var(--ud-emerald-dark);
  background: #e8f2ec;
  font-weight: 700;
}
.shop-sort-option.is-selected i { color: var(--ud-gold-dark); }

/* ── Filter heading and clear action (also used in the mobile drawer) ── */
.shop-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.shop-sidebar-header h3 {
  margin: 0;
  color: var(--ud-emerald);
  font-size: 17px;
  font-weight: 700;
}
.shop-clear-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 15px;
  border: 1px solid var(--ud-emerald) !important;
  border-radius: var(--ud-r-pill) !important;
  background: linear-gradient(135deg, var(--ud-emerald), var(--ud-emerald-dark)) !important;
  color: var(--ud-white) !important;
  box-shadow: 0 3px 10px rgba(0, 77, 58, 0.18);
  font: 600 12px/1.2 var(--ud-font-body);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background .2s var(--ud-ease), box-shadow .2s var(--ud-ease),
    transform .2s var(--ud-ease);
}
.shop-clear-all:hover {
  background: linear-gradient(135deg, var(--ud-emerald-dark), var(--ud-emerald)) !important;
  box-shadow: 0 5px 14px rgba(0, 77, 58, 0.25);
  transform: translateY(-1px);
}
.shop-clear-all:focus-visible {
  outline: 2px solid var(--ud-gold-dark);
  outline-offset: 3px;
}

/* ── Active filter tags ─────────────────────────────────────── */
.shop-active-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.shop-filter-tag { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  background: var(--ud-white); 
  color: var(--ud-emerald); 
  border: 1px solid var(--ud-emerald-soft); 
  border-radius: var(--ud-r-pill); 
  padding: 6px 14px; 
  font-size: 12px; 
  font-weight: 600; 
  cursor: pointer; 
  transition: all .2s var(--ud-ease); 
  font-family: var(--ud-font-body); 
  box-shadow: var(--ud-shadow-xs); 
}
.shop-filter-tag:hover { background: var(--ud-emerald); color: var(--ud-white); border-color: var(--ud-emerald); box-shadow: var(--ud-shadow-sm); }
.shop-filter-tag-x { font-size: 15px; line-height: 1; opacity: 0.6; font-weight: 500; transition: opacity 0.2s; }
.shop-filter-tag:hover .shop-filter-tag-x { opacity: 1; }

/* ── Body layout ────────────────────────────────────────────── */
.shop-body { padding-top: 40px; }
.shop-body-inner { display: block; }
.shop-sidebar { display: none !important; }

/* ── Product grid ───────────────────────────────────────────── */
.shop-grid-area { width: 100%; }
.shop-product-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); 
  gap: 28px; 
}

.seedhub-seed-card { 
  background: var(--ud-white); 
  border: 1px solid var(--ud-line-soft); 
  border-radius: var(--ud-r-lg); 
  padding: 18px 18px 22px; 
  position: relative; 
  display: flex; 
  flex-direction: column; 
  gap: 12px; 
  transition: transform .3s var(--ud-ease), box-shadow .3s var(--ud-ease), border-color .3s var(--ud-ease); 
  overflow: hidden; 
}
.seedhub-seed-card:hover { transform: translateY(-5px); box-shadow: var(--ud-shadow-lg); border-color: var(--ud-gold-light); }

.seedhub-product-image { 
  position: relative; 
  width: 100%; 
  aspect-ratio: 1 / 1; 
  border-radius: var(--ud-r-md); 
  overflow: hidden; 
  background: var(--ud-ivory); 
  margin-bottom: 8px; 
}
.seedhub-product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ud-ease-out); display: block; }
.seedhub-seed-card:hover .seedhub-product-image img { transform: scale(1.06); }

.seedhub-discount { position: absolute; top: 26px; left: 26px; background: var(--ud-emerald); color: var(--ud-white); font-size: 11px; font-weight: 700; letter-spacing: .05em; padding: 5px 10px; border-radius: var(--ud-r-pill); z-index: 2; box-shadow: var(--ud-shadow-sm); }
.seedhub-heart { 
  position: absolute; 
  top: 26px; 
  right: 26px; 
  width: 36px; 
  height: 36px; 
  border-radius: 50%; 
  background: var(--ud-white); 
  border: none; 
  color: var(--ud-text-muted); 
  cursor: pointer; 
  display: grid; 
  place-items: center; 
  z-index: 2; 
  transition: all .2s var(--ud-ease); 
  box-shadow: var(--ud-shadow-sm); 
  font-size: 15px; 
}
.seedhub-heart:hover { color: #B23B32; transform: scale(1.1); box-shadow: var(--ud-shadow-md); }
.seedhub-heart.active { color: #B23B32; background: #FBEDEC; }

.seedhub-stock-tag { position: absolute; bottom: 108px; left: 26px; background: var(--ud-gold-soft); color: var(--ud-gold-dark); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: var(--ud-r-pill); z-index: 1; }
.seedhub-stock-tag.seedhub-oos { background: #FBEDEC; color: #B23B32; }

.seedhub-brand { font-size: 11.5px; font-weight: 700; color: var(--ud-gold-dark); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.seedhub-seed-card h3 { margin: 0; font-family: var(--ud-font-display); font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--ud-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 48px; }
.seedhub-card-name-link { color: inherit; text-decoration: none; transition: color .18s var(--ud-ease); }
.seedhub-card-name-link:hover { color: var(--ud-emerald); }

.seedhub-rating-pill { display: inline-flex; align-items: center; gap: 5px; background: var(--ud-emerald-soft); color: var(--ud-emerald); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--ud-r-pill); align-self: flex-start; }
.seedhub-rating-pill i { font-size: 10px; color: var(--ud-gold); }
.seedhub-rating-pill span { font-weight: 500; opacity: .75; }

.seedhub-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.seedhub-price-row strong { font-family: var(--ud-font-display); font-size: 22px; font-weight: 700; color: var(--ud-emerald); letter-spacing: -.01em; }
.seedhub-price-row del { font-size: 14px; color: var(--ud-text-muted); font-weight: 400; }
.seedhub-save { font-size: 12px; font-weight: 600; color: #1F7A4D; background: #E6F4ED; padding: 4px 10px; border-radius: var(--ud-r-sm); align-self: flex-start; letter-spacing: .02em; }

/* ── Buttons (Add to Cart & View Options) ───────────────────── */
.seedhub-add-btn { 
  margin-top: 10px; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px; 
  width: 100%; 
  background: var(--ud-emerald); 
  color: var(--ud-white); 
  border: none; 
  border-radius: var(--ud-r-md); 
  padding: 14px; 
  font-family: var(--ud-font-body); 
  font-size: 14px; 
  font-weight: 600; 
  letter-spacing: .03em; 
  cursor: pointer; 
  text-decoration: none; 
  transition: all .22s var(--ud-ease); 
  position: relative; 
  overflow: hidden; 
}
.seedhub-add-btn:hover { background: var(--ud-emerald-dark); box-shadow: var(--ud-shadow-md); transform: translateY(-1px); color: var(--ud-white); }
.seedhub-add-btn--added { background: #1F7A4D; }
.seedhub-add-btn--disabled, .seedhub-add-btn:disabled { background: var(--ud-ivory-deep); color: var(--ud-text-muted); cursor: not-allowed; box-shadow: none; transform: none; }

.seedhub-view-options { background: transparent; color: var(--ud-emerald); border: 1.5px solid var(--ud-emerald); }
.seedhub-view-options:hover { background: var(--ud-emerald); color: var(--ud-white); transform: translateY(-1px); box-shadow: var(--ud-shadow-sm); }

/* Skeleton & Empty States */
.shop-skeleton-card { background: var(--ud-white); border: 1px solid var(--ud-line-soft); border-radius: var(--ud-r-lg); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.shop-skeleton-img { width: 100%; aspect-ratio: 1 / 1; border-radius: var(--ud-r-md); background: linear-gradient(90deg, var(--ud-ivory-deep) 25%, var(--ud-ivory) 50%, var(--ud-ivory-deep) 75%); background-size: 200% 100%; animation: ud-shimmer 1.4s infinite; }
.shop-skeleton-line { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--ud-ivory-deep) 25%, var(--ud-ivory) 50%, var(--ud-ivory-deep) 75%); background-size: 200% 100%; animation: ud-shimmer 1.4s infinite; }
.shop-skeleton-line.w-80 { width: 80%; } .shop-skeleton-line.w-60 { width: 60%; } .shop-skeleton-line.w-40 { width: 40%; }
.shop-skeleton-btn { height: 44px; border-radius: var(--ud-r-md); background: linear-gradient(90deg, var(--ud-ivory-deep) 25%, var(--ud-ivory) 50%, var(--ud-ivory-deep) 75%); background-size: 200% 100%; animation: ud-shimmer 1.4s infinite; margin-top: 8px; }
@keyframes ud-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.shop-empty, .shop-error { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 90px 24px; background: var(--ud-white); border: 1px dashed var(--ud-line); border-radius: var(--ud-r-xl); }
.shop-empty-icon, .shop-error-icon { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; margin-bottom: 24px; }
.shop-empty-icon { background: var(--ud-gold-soft); color: var(--ud-gold-dark); } .shop-error-icon { background: #FBEDEC; color: #B23B32; }
.shop-empty h3, .shop-error h3 { font-family: var(--ud-font-display); font-size: 24px; font-weight: 700; color: var(--ud-emerald); margin: 0 0 12px; }
.shop-empty p, .shop-error p { font-size: 15px; color: var(--ud-text-muted); margin: 0 0 28px; max-width: 420px; line-height: 1.6; }

.shop-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--ud-r-pill); font-family: var(--ud-font-body); font-size: 13.5px; font-weight: 600; cursor: pointer; border: none; text-decoration: none; transition: all .22s var(--ud-ease); }
.shop-btn-primary { background: var(--ud-emerald); color: var(--ud-white); box-shadow: var(--ud-shadow-sm); }
.shop-btn-primary:hover { background: var(--ud-emerald-dark); transform: translateY(-2px); box-shadow: var(--ud-shadow-md); }
.shop-btn-outline { background: transparent; color: var(--ud-emerald); border: 1.5px solid var(--ud-emerald); }
.shop-btn-outline:hover { background: var(--ud-emerald); color: var(--ud-white); }

.shop-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 50px; flex-wrap: wrap; }
.shop-page-btn { min-width: 42px; height: 42px; padding: 0 14px; border: 1.5px solid var(--ud-line); background: var(--ud-white); color: var(--ud-ink); border-radius: var(--ud-r-md); font-family: var(--ud-font-body); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: all .2s var(--ud-ease); display: inline-flex; align-items: center; justify-content: center; }
.shop-page-btn:hover:not(.active):not(.disabled) { border-color: var(--ud-gold); color: var(--ud-gold-dark); background: var(--ud-gold-tint); }
.shop-page-btn.active { background: var(--ud-emerald); border-color: var(--ud-emerald); color: var(--ud-white); box-shadow: var(--ud-shadow-sm); cursor: default; font-weight: 600; }
.shop-page-btn.disabled { opacity: .4; cursor: not-allowed; }
.shop-page-ellipsis { color: var(--ud-text-muted); padding: 0 6px; font-weight: 500; }

/* ================================================================
   PREMIUM MOBILE DRAWER (Right Side Filter) 
   ================================================================ */
.shop-drawer-overlay { position: fixed; inset: 0; background: rgba(20, 32, 28, 0.6); backdrop-filter: blur(5px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ud-ease), visibility .35s var(--ud-ease); z-index: 99990; }
.shop-drawer-overlay.visible { visibility: visible; }
.shop-drawer-overlay.open { opacity: 1; }

.shop-drawer { position: fixed; top: 0; right: 0; height: 100vh; width: min(420px, 92vw); background: var(--ud-ivory); z-index: 99999; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s var(--ud-ease-out); box-shadow: -20px 0 60px rgba(20, 32, 28, 0.2); }
.shop-drawer.open { transform: translateX(0); }

.shop-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; background: var(--ud-white); border-bottom: 1px solid var(--ud-gold-soft); box-shadow: 0 4px 15px rgba(0,0,0,0.02); z-index: 2; flex-wrap: wrap; gap: 12px; }
.shop-drawer-header h3 { font-family: var(--ud-font-display); font-size: 24px; font-weight: 700; color: var(--ud-emerald); margin: 0; }
.shop-drawer-close { width: 42px; height: 42px; border-radius: 50%; background: var(--ud-ivory-deep); border: none; color: var(--ud-ink); font-size: 16px; cursor: pointer; display: grid; place-items: center; transition: all .3s var(--ud-ease); margin-left: auto; }
.shop-drawer-close:hover { background: var(--ud-emerald); color: var(--ud-white); transform: rotate(90deg); }

.shop-drawer-body { flex: 1; overflow-y: auto; padding: 24px 28px; display: flex; flex-direction: column; gap: 20px; }

.shop-drawer-body .shop-filter-group { background: var(--ud-white); border: 1px solid var(--ud-line-soft); border-radius: var(--ud-r-lg); padding: 0 20px; box-shadow: var(--ud-shadow-xs); margin-bottom: 0; }
.shop-drawer-body .shop-filter-group-header { padding: 18px 0; border-bottom: 1px solid transparent; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.shop-drawer-body .shop-filter-group.open .shop-filter-group-header { border-bottom-color: var(--ud-line-soft); }
.shop-drawer-body .shop-filter-group-title { font-size: 15px; font-weight: 600; color: var(--ud-emerald); letter-spacing: 0.02em; }
.shop-drawer-body .shop-filter-group-icon { font-size: 12px; color: var(--ud-text-muted); transition: transform .3s; }
.shop-drawer-body .shop-filter-group.open .shop-filter-group-icon { transform: rotate(180deg); color: var(--ud-gold); }

.shop-drawer-body .shop-filter-group-body { display: flex !important; flex-direction: column !important; gap: 8px !important; padding: 12px 0 20px !important; max-height: 350px; overflow-y: auto; }
.shop-drawer-body .shop-filter-group:not(.open) .shop-filter-group-body { display: none !important; }
.shop-drawer-body .shop-filter-item { display: flex !important; align-items: center !important; padding: 10px 14px !important; margin: 0 !important; border-radius: var(--ud-r-md) !important; border: 1px solid transparent !important; transition: all 0.2s var(--ud-ease) !important; width: 100% !important; cursor: pointer !important; gap: 12px !important; }
.shop-drawer-body .shop-filter-item:hover { background: var(--ud-ivory) !important; border-color: var(--ud-line-soft) !important; }
.shop-drawer-body .shop-filter-item:has(input:checked) { background: var(--ud-emerald-tint) !important; border-color: var(--ud-emerald-soft) !important; }
.shop-drawer-body .shop-filter-item input[type="radio"] { appearance: none; -webkit-appearance: none; width: 20px !important; height: 20px !important; border: 2px solid var(--ud-line) !important; background: var(--ud-white) !important; border-radius: 50% !important; margin: 0 !important; cursor: pointer; flex-shrink: 0 !important; position: relative; }
.shop-drawer-body .shop-filter-item input[type="radio"]:checked { border-color: var(--ud-emerald) !important; background: var(--ud-emerald) !important; box-shadow: inset 0 0 0 4px var(--ud-white) !important; }
.shop-drawer-body .shop-filter-item-label { font-size: 14.5px !important; color: var(--ud-ink) !important; font-weight: 500 !important; line-height: 1.4 !important; margin: 0 !important; }

.shop-drawer-body .shop-price-inputs { display: flex !important; gap: 14px !important; margin-bottom: 16px !important; }
.shop-drawer-body .shop-price-input { padding: 14px 16px !important; font-size: 15px !important; font-weight: 500 !important; border-radius: var(--ud-r-md) !important; border: 1.5px solid var(--ud-line) !important; background: var(--ud-ivory) !important; width: 100% !important; font-family: var(--ud-font-body); }
.shop-drawer-body .shop-price-input:focus { background: var(--ud-white) !important; border-color: var(--ud-gold) !important; box-shadow: 0 0 0 4px var(--ud-gold-soft) !important; outline: none; }
.shop-drawer-body .shop-price-apply { padding: 14px !important; font-size: 14px !important; font-weight: 700 !important; border-radius: var(--ud-r-md) !important; background: linear-gradient(135deg, var(--ud-gold), var(--ud-gold-dark)) !important; color: var(--ud-white) !important; box-shadow: 0 4px 15px rgba(217, 154, 43, 0.3) !important; letter-spacing: 0.05em !important; text-transform: uppercase !important; width: 100% !important; cursor: pointer; font-family: var(--ud-font-body); border: none; }
.shop-drawer-body .shop-price-apply:hover { background: linear-gradient(135deg, var(--ud-gold-light), var(--ud-gold)) !important; box-shadow: 0 6px 20px rgba(217, 154, 43, 0.4) !important; transform: translateY(-1px) !important; }

.shop-drawer-footer { padding: 20px 28px; border-top: 1px solid var(--ud-line-soft); background: var(--ud-white); box-shadow: 0 -4px 15px rgba(0,0,0,0.02); z-index: 2; }
.shop-drawer-footer .shop-btn { width: 100% !important; justify-content: center !important; padding: 16px !important; font-size: 15px !important; background: var(--ud-emerald) !important; color: var(--ud-white) !important; border: none !important; border-radius: var(--ud-r-md) !important; font-weight: 600; }
.shop-drawer-footer .shop-btn:hover { background: var(--ud-emerald-dark) !important; }

/* Toast */
#sh-toast-container { position: fixed; bottom: 28px; right: 28px; z-index: 200; display: flex; flex-direction: column; gap: 12px; }
.sh-toast { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: var(--ud-r-md); background: var(--ud-white); color: var(--ud-ink); font-size: 13.5px; font-weight: 500; box-shadow: var(--ud-shadow-lg); border-left: 4px solid var(--ud-emerald); transform: translateX(120%); opacity: 0; transition: transform .34s var(--ud-ease-out), opacity .34s var(--ud-ease); max-width: 360px; }
.sh-toast--show { transform: translateX(0); opacity: 1; }
.sh-toast--success { border-left-color: #1F7A4D; } .sh-toast--success i { color: #1F7A4D; }
.sh-toast--error { border-left-color: #B23B32; } .sh-toast--error i { color: #B23B32; }
.sh-toast--info { border-left-color: var(--ud-gold); } .sh-toast--info i { color: var(--ud-gold); }

/* ================================================================
   RESPONSIVE DESIGN (Mobile, Tablet, Desktop)
   ================================================================ */

/* Tablets & Small Laptops (1024px and below) */
@media (max-width: 1024px) {
  .shop-product-grid { 
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); 
    gap: 20px; 
  }
  .seedhub-container { padding: 0 24px; }
}

/* Large Mobile / Small Tablets (860px and below) */
@media (max-width: 860px) {
  .shop-topbar-inner { 
    padding: 16px 24px; 
    align-items: center; 
  }
  .shop-topbar-title { 
    font-size: 28px; 
  }
  .shop-drawer-header h3 { 
    font-size: 20px; 
  }
  .shop-drawer-body { 
    padding: 20px; 
  }
  .shop-drawer-header { 
    padding: 20px; 
  }
}

/* Mobile Devices (600px and below) */
@media (max-width: 600px) {
  .seedhub-container { padding: 0 16px; }
  
  /* Top Bar & Header */
  .shop-topbar-inner { 
    padding: 12px 16px; 
    gap: 16px; 
    flex-direction: column;
    align-items: flex-start;
  }
  .shop-topbar-left { width: 100%; }
  .shop-topbar-right { 
    width: 100%; 
    justify-content: space-between; 
  }
  .shop-topbar-title { font-size: 26px; }
  .shop-sort-label { display: none; }
  .shop-sort-wrap { padding: 6px 8px; flex: 1; justify-content: space-between; }
  .shop-sort-trigger { min-width: 0; flex: 1; }
  .shop-filter-toggle { padding: 8px 16px; font-size: 12px; }
  
  /* Breadcrumb */
  .shop-breadcrumb-inner { padding: 12px 16px; font-size: 11px; }

  /* Product Grid (2 columns) */
  .shop-product-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 12px; 
  }
  
  /* Product Card Adjustments */
  .seedhub-seed-card { 
    padding: 12px 12px 16px; 
    gap: 8px; 
  }
  .seedhub-seed-card h3 { 
    font-size: 13.5px; 
    min-height: 40px; 
  }
  .seedhub-price-row strong { font-size: 18px; }
  .seedhub-price-row del { font-size: 12px; }
  .seedhub-save { font-size: 10px; padding: 3px 8px; }
  .seedhub-add-btn { padding: 10px 12px; font-size: 12px; }
  
  /* Badges & Icons inside Card */
  .seedhub-discount, .seedhub-heart { top: 12px; }
  .seedhub-discount { left: 12px; font-size: 10px; padding: 4px 8px; }
  .seedhub-heart { right: 12px; width: 28px; height: 28px; font-size: 13px; }
  .seedhub-stock-tag { bottom: 80px; left: 12px; font-size: 9px; padding: 3px 8px; }
  
  /* Drawer Footer */
  .shop-drawer-footer { padding: 16px; }
  .shop-drawer-footer .shop-btn { padding: 14px !important; }
}

/* Very Small Mobile Devices (400px and below) */
@media (max-width: 400px) {
  .shop-product-grid { 
    grid-template-columns: 1fr; /* Single column for tiny screens */
  }
  .seedhub-seed-card h3 { 
    font-size: 15px; 
    min-height: auto; 
  }
  .shop-topbar-right { flex-direction: column; align-items: stretch; gap: 10px; }
  .shop-sort-wrap, .shop-filter-toggle { justify-content: center; }
  .shop-filter-toggle { width: 100%; }
}