/* ═══════════════════════════════════════════════════════════════════════
   Stylehaus Auctions v3.0 — Mobile-First Responsive Storefront CSS
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Base ──────────────────────────────────────────────────────────── */
#stylehaus-root {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #fafafa;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
#stylehaus-root .playfair {
  font-family: 'Playfair Display', Georgia, serif;
}
#stylehaus-root *, #stylehaus-root *::before, #stylehaus-root *::after {
  box-sizing: border-box;
}

/* ── Animations ────────────────────────────────────────────────────── */
@keyframes stylehausSlideLeft {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
@keyframes stylehausFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes stylehausPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
#stylehaus-root .animate-slide-left {
  animation: stylehausSlideLeft 0.3s ease-out forwards;
}
#stylehaus-root .animate-fade-in {
  animation: stylehausFadeIn 0.4s ease-out forwards;
}

/* ── Number Input ──────────────────────────────────────────────────── */
#stylehaus-root input[type=number]::-webkit-inner-spin-button,
#stylehaus-root input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#stylehaus-root input[type=number] {
  -moz-appearance: textfield;
}

/* ── Header / Navbar ───────────────────────────────────────────────── */
#stylehaus-root .sh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
#stylehaus-root .sh-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #111;
  flex-shrink: 0;
}
#stylehaus-root .sh-logo img {
  height: 36px;
  width: auto;
}
#stylehaus-root .sh-nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
#stylehaus-root .sh-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
#stylehaus-root .sh-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
#stylehaus-root .sh-icon-btn {
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  transition: all 0.2s;
}
#stylehaus-root .sh-icon-btn:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

/* ── Hero Heading Banner ───────────────────────────────────────────── */
#stylehaus-root .sh-hero {
  background: #fafafa;
  padding: 56px 24px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#stylehaus-root .sh-hero::before {
  content: none;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
  pointer-events: none;
}
#stylehaus-root .sh-hero-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
#stylehaus-root .sh-hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
#stylehaus-root .sh-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 700;
  color: #111;
  margin: 0;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
@media (min-width: 640px) {
  #stylehaus-root .sh-hero-title { font-size: 52px; }
}
#stylehaus-root .sh-hero-logo-img {
  height: 56px;
  width: auto;
  margin: 0 auto;
}
#stylehaus-root .sh-hero-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.3px;
}
#stylehaus-root .sh-hero-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
#stylehaus-root .sh-hero-stat {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}
#stylehaus-root .sh-hero-stat-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 14px;
}

/* ── Currency Selector ─────────────────────────────────────────────── */
#stylehaus-root .sh-currency-select {
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  cursor: pointer;
  color: #374151;
}
#stylehaus-root .sh-currency-select:focus {
  outline: none;
  border-color: #111;
}

/* ── Filters Bar ───────────────────────────────────────────────────── */
#stylehaus-root .sh-filters {
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
#stylehaus-root .sh-filters::-webkit-scrollbar { display: none; }
#stylehaus-root .sh-filter-btn {
  padding: 6px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
  color: #374151;
}
#stylehaus-root .sh-filter-btn:hover {
  border-color: #111;
  color: #111;
}
#stylehaus-root .sh-filter-btn.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* ── Search ────────────────────────────────────────────────────────── */
#stylehaus-root .sh-search {
  padding: 0 16px 12px;
}
#stylehaus-root .sh-search-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  transition: border-color 0.2s;
}
#stylehaus-root .sh-search-input:focus {
  outline: none;
  border-color: #111;
}

/* ── Product Grid ──────────────────────────────────────────────────── */
#stylehaus-root .sh-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 16px 24px;
}
@media (min-width: 640px) {
  #stylehaus-root .sh-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 20px 32px; }
}
@media (min-width: 1024px) {
  #stylehaus-root .sh-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0 24px 40px; max-width: 1400px; margin: 0 auto; }
}

/* ── Product Card ──────────────────────────────────────────────────── */
#stylehaus-root .product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
#stylehaus-root .product-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
@media (hover: hover) and (pointer: fine) {
  #stylehaus-root .product-card:hover { transform: translateY(-2px); }
}

/* Image container — UNIFIED aspect ratio 4:5 */
#stylehaus-root .product-card .img-container {
  position: relative;
  width: 100%;
  padding-bottom: 125%; /* 4:5 ratio */
  overflow: hidden;
  background: #f3f4f6;
}
#stylehaus-root .product-card .img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
#stylehaus-root .product-card .img-container img.carousel-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* Arrow buttons */
#stylehaus-root .product-card .arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.2s;
  font-size: 14px;
  color: #111;
}
#stylehaus-root .product-card .arrow-left { left: 6px; }
#stylehaus-root .product-card .arrow-right { right: 6px; }
@media (hover: none) {
  #stylehaus-root .product-card .arrow-btn { opacity: 0.8 !important; }
}
#stylehaus-root .product-card:hover .arrow-btn { opacity: 1; }

/* Dot indicators */
#stylehaus-root .product-card .dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 5;
}
#stylehaus-root .product-card .dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background 0.2s;
}
#stylehaus-root .product-card .dots span.active {
  background: #fff;
}

/* Timer badge */
#stylehaus-root .product-card .timer-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 5;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}
#stylehaus-root .product-card .timer-badge.urgent {
  background: rgba(220, 38, 38, 0.9);
  animation: stylehausPulse 1s infinite;
}

/* Bid overlay */
#stylehaus-root .bid-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 12px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 10;
  border-top: 1px solid #e5e7eb;
}
@media (hover: hover) and (pointer: fine) {
  #stylehaus-root .product-card:hover .bid-overlay { transform: translateY(0); }
}
#stylehaus-root .bid-overlay.is-open { transform: translateY(0); }

/* Card info */
#stylehaus-root .product-card .card-info {
  padding: 10px 12px 14px;
}
#stylehaus-root .product-card .card-name {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#stylehaus-root .product-card .card-meta {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 6px;
}
#stylehaus-root .product-card .card-price {
  font-size: 15px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}
#stylehaus-root .product-card .card-bids {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
}
#stylehaus-root .product-card .card-stock {
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
#stylehaus-root .product-card .card-stock.in-stock {
  color: #16a34a;
}
#stylehaus-root .product-card .card-stock.out-of-stock {
  color: #dc2626;
}

/* Extend timer button */
#stylehaus-root .extend-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  margin-top: 8px;
  transition: background 0.2s;
}
#stylehaus-root .extend-btn:hover { background: #1d4ed8; }
#stylehaus-root .extend-btn:disabled { background: #9ca3af; cursor: not-allowed; }

/* ── Size Picker ───────────────────────────────────────────────────── */
#stylehaus-root .size-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
#stylehaus-root .size-option {
  padding: 4px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
  background: #fff;
  font-family: 'DM Sans', sans-serif;
}
#stylehaus-root .size-option:hover { border-color: #111; }
#stylehaus-root .size-option.selected { background: #111; color: #fff; border-color: #111; }
#stylehaus-root .size-option.out-of-stock { opacity: 0.3; pointer-events: none; text-decoration: line-through; }

/* ── Bid Input ─────────────────────────────────────────────────────── */
#stylehaus-root .bid-input-row {
  display: flex;
  gap: 6px;
}
#stylehaus-root .bid-input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  min-width: 0;
}
#stylehaus-root .bid-input:focus { outline: none; border-color: #111; }
#stylehaus-root .bid-submit {
  padding: 8px 14px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
  white-space: nowrap;
}
#stylehaus-root .bid-submit:hover { background: #333; }
#stylehaus-root .bid-submit:disabled { background: #9ca3af; cursor: not-allowed; }

/* ── Buyout Button ─────────────────────────────────────────────────── */
#stylehaus-root .buyout-btn {
  width: 100%;
  padding: 8px;
  background: #fff;
  color: #111;
  border: 1.5px solid #111;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  margin-top: 6px;
}
#stylehaus-root .buyout-btn:hover { background: #111; color: #fff; }

/* ── Drawers ───────────────────────────────────────────────────────── */
#stylehaus-root .drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 150;
}
#stylehaus-root .drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 380px;
  background: #fff;
  z-index: 200;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 640px) {
  #stylehaus-root .drawer { width: 400px; }
}
#stylehaus-root .drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 5;
}
#stylehaus-root .drawer-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #374151;
  padding: 4px;
}
#stylehaus-root .drawer-body {
  padding: 16px 20px;
}

/* ── Auth Modal ────────────────────────────────────────────────────── */
#stylehaus-root .auth-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
#stylehaus-root .auth-modal {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  max-width: 400px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
@media (min-width: 640px) {
  #stylehaus-root .auth-modal { padding: 40px 32px; }
}
#stylehaus-root .auth-modal h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 6px;
}
#stylehaus-root .auth-modal p {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 24px;
}
#stylehaus-root .auth-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 12px;
}
#stylehaus-root .auth-input:focus { outline: none; border-color: #111; }
#stylehaus-root .auth-submit {
  width: 100%;
  padding: 12px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  margin-top: 4px;
}
#stylehaus-root .auth-submit:hover { background: #333; }
#stylehaus-root .auth-submit:disabled { background: #9ca3af; }
#stylehaus-root .auth-link {
  color: #111;
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}
#stylehaus-root .auth-error {
  background: #fef2f2;
  color: #991b1b;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  border: 1px solid #fecaca;
}

/* ── Size Chart Modal ──────────────────────────────────────────────── */
#stylehaus-root .size-chart-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
#stylehaus-root .size-chart-content {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow: auto;
}
#stylehaus-root .size-chart-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
#stylehaus-root .size-chart-content th {
  background: #f3f4f6;
  padding: 8px 10px;
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
}
#stylehaus-root .size-chart-content td {
  padding: 8px 10px;
  border-bottom: 1px solid #f3f4f6;
}

/* ── Pagination ────────────────────────────────────────────────────── */
#stylehaus-root .sh-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
}
#stylehaus-root .sh-page-btn {
  padding: 8px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
#stylehaus-root .sh-page-btn:hover { border-color: #111; }
#stylehaus-root .sh-page-btn.active { background: #111; color: #fff; border-color: #111; }
#stylehaus-root .sh-page-btn:disabled { opacity: 0.3; pointer-events: none; }

/* ── Support Chat ──────────────────────────────────────────────────── */
#stylehaus-root .support-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 120;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
#stylehaus-root .support-toggle:hover { transform: scale(1.05); }
#stylehaus-root .support-chat {
  position: fixed;
  bottom: 84px;
  right: 20px;
  width: calc(100% - 40px);
  max-width: 360px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  z-index: 120;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 460px;
}
#stylehaus-root .support-chat-header {
  background: #111;
  color: #fff;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 14px;
}
#stylehaus-root .support-chat-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  min-height: 200px;
  max-height: 300px;
}
#stylehaus-root .support-msg {
  margin-bottom: 10px;
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  word-wrap: break-word;
}
#stylehaus-root .support-msg.bot {
  background: #f3f4f6;
  color: #111;
  border-bottom-left-radius: 4px;
}
#stylehaus-root .support-msg.user {
  background: #111;
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
#stylehaus-root .support-chat-input {
  display: flex;
  border-top: 1px solid #e5e7eb;
}
#stylehaus-root .support-chat-input input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
}
#stylehaus-root .support-chat-input button {
  background: #111;
  color: #fff;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 16px;
}

/* ── Empty State ───────────────────────────────────────────────────── */
#stylehaus-root .sh-empty {
  text-align: center;
  padding: 60px 20px;
  color: #9ca3af;
}
#stylehaus-root .sh-empty h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #6b7280;
  margin-bottom: 8px;
}

/* ── Responsive Tweaks ─────────────────────────────────────────────── */
@media (max-width: 374px) {
  #stylehaus-root .sh-logo-text { display: none; }
  #stylehaus-root .sh-currency-select { padding: 6px 8px; font-size: 12px; }
  #stylehaus-root .sh-hero { padding: 32px 16px 28px; }
  #stylehaus-root .sh-hero-title { font-size: 26px; }
  #stylehaus-root .sh-hero-tagline { font-size: 14px; }
  #stylehaus-root .sh-hero-logo-img { height: 40px; }
  #stylehaus-root .sh-back-to-top { bottom: 20px; right: 16px; width: 44px; height: 44px; font-size: 20px; }
}

/* ── Back to Top Button ──────────────────────────────────────────────── */
#stylehaus-root .sh-back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  border: 2px solid #D4AF37;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25), 0 0 0 1px rgba(212,175,55,0.15);
  transition: all 0.3s ease;
  animation: sh-btt-fade-in 0.3s ease;
}
#stylehaus-root .sh-back-to-top:hover {
  background: #D4AF37;
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212,175,55,0.35);
}
#stylehaus-root .sh-back-to-top:active {
  transform: translateY(0);
}
@keyframes sh-btt-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Loading Skeleton ──────────────────────────────────────────────── */
#stylehaus-root .skeleton {
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ── Footer ────────────────────────────────────────────────────────── */
#stylehaus-root .sh-footer-full{background:#111827;color:#d1d5db;margin-top:48px;padding:48px 16px 0}
#stylehaus-root .sh-footer-inner{max-width:960px;margin:0 auto;display:grid;grid-template-columns:1fr;gap:32px}
@media(min-width:640px){#stylehaus-root .sh-footer-inner{grid-template-columns:1.4fr 1fr 1.2fr}}
#stylehaus-root .sh-footer-col{display:flex;flex-direction:column}
#stylehaus-root .sh-footer-link{display:block;background:none;border:none;color:#9ca3af;font-size:13px;padding:3px 0;cursor:pointer;text-align:left;transition:color .15s}
#stylehaus-root .sh-footer-link:hover{color:#fff}
#stylehaus-root .sh-footer-col a{transition:color .15s}
#stylehaus-root .sh-footer-col a:hover{color:#fff!important}
#stylehaus-root .sh-footer-bottom{grid-column:1/-1;border-top:1px solid #374151;margin-top:32px;padding:20px 0;text-align:center;font-size:12px;color:#6b7280}
/* ── Info Modal ───────────────────────────────────────────────────── */
#stylehaus-root .sh-info-modal{background:#fff;border-radius:12px;width:92vw;max-width:560px;max-height:82vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 25px 60px rgba(0,0,0,.25)}
#stylehaus-root .sh-info-modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e5e7eb;flex-shrink:0}
#stylehaus-root .sh-info-modal-header h2{font-size:20px;margin:0}
#stylehaus-root .sh-info-close{background:none;border:none;font-size:22px;cursor:pointer;color:#6b7280;padding:4px 8px;line-height:1;border-radius:6px;transition:background .15s}
#stylehaus-root .sh-info-close:hover{background:#f3f4f6;color:#111827}
#stylehaus-root .sh-info-modal-body{padding:20px 24px 28px;overflow-y:auto;-webkit-overflow-scrolling:touch}
#stylehaus-root .sh-info-section{margin-bottom:20px}
#stylehaus-root .sh-info-section:last-child{margin-bottom:0}
#stylehaus-root .sh-info-section h4{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#111827;margin:0 0 6px}
#stylehaus-root .sh-info-section p{font-size:13px;color:#4b5563;line-height:1.7;margin:0}
/* ═══════════════════════════════════════════════════════════════════════
   v3.1 REDESIGN ADDITIONS — hamburger header, text hero, filter bar,
   browse sidebar, sh-prefixed product card. Added because storefront.js
   was rewritten for this layout but this stylesheet still only had the
   old dark-hero/circular-logo rules. Mirrors the sizing, radii, and
   color patterns already established above.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Header: left/right groups, hamburger, currency pill, CTA ───────── */
#stylehaus-root .sh-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
#stylehaus-root .sh-header-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
#stylehaus-root .sh-hamburger {
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #111;
  padding: 4px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  transition: background 0.2s;
}
#stylehaus-root .sh-hamburger:hover {
  background: #f3f4f6;
}
#stylehaus-root .sh-currency-pill {
  background: #f3f4f6;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  color: #374151;
  cursor: pointer;
  letter-spacing: 0.3px;
}
#stylehaus-root .sh-currency-pill:focus {
  outline: none;
  border-color: #111;
}
#stylehaus-root .sh-logo-link {
  text-decoration: none;
  color: #111;
  display: flex;
  align-items: center;
}
#stylehaus-root .sh-btn-primary {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
  white-space: nowrap;
}
#stylehaus-root .sh-btn-primary:hover { background: #333; }
#stylehaus-root .sh-btn-primary:disabled { background: #9ca3af; cursor: not-allowed; }

/* ── Text hero: label + subtitle (title/hero/inner already styled above) ── */
#stylehaus-root .sh-hero-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 14px;
}
#stylehaus-root .sh-hero-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #6b7280;
  margin: 14px auto 0;
  line-height: 1.6;
  max-width: 520px;
}

/* ── Filter bar ───────────────────────────────────────────────────── */
#stylehaus-root .sh-filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
}
#stylehaus-root .sh-filterbar-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
#stylehaus-root .sh-filterbar-right {
  flex-shrink: 0;
}
#stylehaus-root .sh-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
#stylehaus-root .sh-search-icon {
  position: absolute;
  left: 12px;
  font-size: 13px;
  color: #9ca3af;
  pointer-events: none;
}
#stylehaus-root .sh-search-wrap .sh-search-input {
  padding-left: 34px;
  width: 200px;
}
#stylehaus-root .sh-filter-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
#stylehaus-root .sh-filter-pill {
  padding: 6px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
  color: #374151;
}
#stylehaus-root .sh-filter-pill:hover { border-color: #111; color: #111; }
#stylehaus-root .sh-filter-pill.active { background: #111; color: #fff; border-color: #111; }
#stylehaus-root .sh-filter-divider {
  width: 1px;
  height: 20px;
  background: #e5e7eb;
  display: inline-block;
}
#stylehaus-root .sh-sort-select {
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  cursor: pointer;
  color: #374151;
}
#stylehaus-root .sh-sort-select:focus { outline: none; border-color: #111; }

/* ── Product card (sh-prefixed rebuild of the .product-card rules) ──── */
#stylehaus-root .sh-product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
#stylehaus-root .sh-product-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
@media (hover: hover) and (pointer: fine) {
  #stylehaus-root .sh-product-card:hover { transform: translateY(-2px); }
}
#stylehaus-root .sh-card-img-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 125%;
  overflow: hidden;
  background: #f3f4f6;
}
#stylehaus-root .sh-card-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
#stylehaus-root .sh-card-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 5;
}
#stylehaus-root .sh-card-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background 0.2s;
}
#stylehaus-root .sh-card-dots span.active { background: #fff; }
#stylehaus-root .sh-timer {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 5;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}
#stylehaus-root .sh-timer.ended { background: rgba(107,114,128,0.85); }
#stylehaus-root .sh-card-body {
  padding: 10px 12px 6px;
  cursor: pointer;
}
#stylehaus-root .sh-card-tag {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}
#stylehaus-root .sh-card-name {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#stylehaus-root .sh-card-color {
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 6px;
}
#stylehaus-root .sh-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
#stylehaus-root .sh-card-stock {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #16a34a;
}
#stylehaus-root .sh-card-stock.sold-out { color: #dc2626; }
#stylehaus-root .sh-card-price {
  font-size: 15px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}
#stylehaus-root .sh-card-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 12px 12px;
}
#stylehaus-root .sh-size-btn {
  padding: 3px 9px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s;
  background: #fff;
  font-family: 'DM Sans', sans-serif;
}
#stylehaus-root .sh-size-btn:hover { border-color: #111; }
#stylehaus-root .sh-size-btn.selected { background: #111; color: #fff; border-color: #111; }
#stylehaus-root .sh-size-btn.oos { opacity: 0.3; pointer-events: none; text-decoration: line-through; }

/* Skeleton loading placeholder — same shape as a real card */
#stylehaus-root .sh-skeleton-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

/* ── Bid overlay (sh-prefixed rebuild of .bid-overlay etc.) ──────────── */
#stylehaus-root .sh-bid-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 12px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 10;
  border-top: 1px solid #e5e7eb;
}
@media (hover: hover) and (pointer: fine) {
  #stylehaus-root .sh-product-card:hover .sh-bid-overlay { transform: translateY(0); }
}
#stylehaus-root .sh-bid-overlay.is-open { transform: translateY(0); }
#stylehaus-root .sh-size-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
#stylehaus-root .sh-size-opt {
  padding: 4px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
  background: #fff;
  font-family: 'DM Sans', sans-serif;
}
#stylehaus-root .sh-size-opt:hover { border-color: #111; }
#stylehaus-root .sh-size-opt.selected { background: #111; color: #fff; border-color: #111; }
#stylehaus-root .sh-size-opt.oos { opacity: 0.3; pointer-events: none; text-decoration: line-through; }
#stylehaus-root .sh-bid-row {
  display: flex;
  gap: 6px;
}
#stylehaus-root .sh-bid-input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  min-width: 0;
}
#stylehaus-root .sh-bid-input:focus { outline: none; border-color: #111; }
#stylehaus-root .sh-bid-btn {
  padding: 8px 14px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
  white-space: nowrap;
}
#stylehaus-root .sh-bid-btn:hover { background: #333; }
#stylehaus-root .sh-bid-btn:disabled { background: #9ca3af; cursor: not-allowed; }
#stylehaus-root .sh-buyout-btn {
  width: 100%;
  padding: 8px;
  background: #fff;
  color: #111;
  border: 1.5px solid #111;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  margin-top: 6px;
}
#stylehaus-root .sh-buyout-btn:hover { background: #111; color: #fff; }
#stylehaus-root .sh-extend-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  margin-top: 8px;
  transition: background 0.2s;
}
#stylehaus-root .sh-extend-btn:hover { background: #1d4ed8; }
#stylehaus-root .sh-extend-btn:disabled { background: #9ca3af; cursor: not-allowed; }

/* ── Modal (shared by AuthModal, SizeChartModal, InfoModal) ──────────── */
#stylehaus-root .sh-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
#stylehaus-root .sh-modal {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
@media (min-width: 640px) {
  #stylehaus-root .sh-modal { padding: 40px 32px; }
}
#stylehaus-root .sh-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 12px;
}
#stylehaus-root .sh-input:focus { outline: none; border-color: #111; }
#stylehaus-root .sh-link {
  color: #111;
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}
#stylehaus-root .sh-auth-error {
  background: #fef2f2;
  color: #991b1b;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  border: 1px solid #fecaca;
}

/* ── Browse sidebar (opened by the header hamburger) ──────────────────
   Slides in from the LEFT — separate from the right-side .drawer used
   for My Orders / My Bids. */
@keyframes stylehausSlideInLeft {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}
#stylehaus-root .sh-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 150;
}
#stylehaus-root .sh-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 380px;
  background: #fff;
  z-index: 200;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: stylehausSlideInLeft 0.3s ease-out;
}
@media (min-width: 640px) {
  #stylehaus-root .sh-sidebar { width: 400px; }
}
#stylehaus-root .sh-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 5;
}
#stylehaus-root .sh-sidebar-section {
  padding: 20px;
  border-bottom: 1px solid #f3f4f6;
}
#stylehaus-root .sh-sidebar-section:last-child { border-bottom: none; }
#stylehaus-root .sh-sidebar-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9ca3af;
  margin-bottom: 12px;
}
#stylehaus-root .sh-sidebar-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#stylehaus-root .sh-pill {
  padding: 6px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
  color: #374151;
}
#stylehaus-root .sh-pill:hover { border-color: #111; color: #111; }
#stylehaus-root .sh-pill.active { background: #111; color: #fff; border-color: #111; }
#stylehaus-root .sh-sidebar-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  cursor: pointer;
  color: #374151;
}
#stylehaus-root .sh-sidebar-select:focus { outline: none; border-color: #111; }

/* ── Small-screen tweaks for the new elements ─────────────────────── */
@media (max-width: 480px) {
  #stylehaus-root .sh-hero-title { font-size: 34px; }
  #stylehaus-root .sh-search-wrap .sh-search-input { width: 100%; }
  #stylehaus-root .sh-filterbar-left { width: 100%; }
}
