/* =====================================================================
   STREET GEEK BD - GLOBAL STYLES & HEADER
   Transparent top overlay header with 3D interactive spinning logo
   ===================================================================== */

/* Global box sizing */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Transparent top overlay header */
.sg-global-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  padding: 16px 20px;
  box-sizing: border-box;
  pointer-events: auto;
}

/* Centered container constraint (max-width 1280px) */
.sg-header-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-sizing: border-box;
}

/* 3D Interactive Spinning Logo Styles */
.sg-header-logo-link,
header a:has(.sgbd-live-3d-logo) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
  touch-action: none;
  text-decoration: none;
  height: 54px;
}

.sgbd-live-3d-logo {
  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: visible;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  display: block;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Desktop layout (> 819px) */
@media (min-width: 820px) {
  .sg-global-header {
    padding: 20px 28px;
  }

  .sg-header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .sg-header-left {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .sg-nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: opacity 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
    padding: 6px 0;
  }

  .sg-nav-link:hover {
    color: #e2e8f0;
    opacity: 0.85;
  }

  /* Dropdown Menu for Shop (Subtle Liquid Glass with Inverting Item Hover) */
  .sg-dropdown {
    position: relative;
    display: inline-block;
  }

  .sg-dropdown-chevron {
    width: 12px;
    height: 12px;
    transition: transform 0.22s ease;
  }

  .sg-dropdown:hover .sg-dropdown-chevron {
    transform: rotate(180deg);
  }

  .sg-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: none;
    box-shadow: none;
    border-radius: 12px;
    padding: 6px;
    min-width: 190px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 1010;
  }

  .sg-dropdown:hover .sg-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .sg-dropdown-item {
    display: block;
    padding: 9px 16px;
    color: #111827; /* Dark ink text by default */
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: 8px;
    transition: background-color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
                color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.15s ease;
  }

  .sg-dropdown-item:hover {
    background-color: #0b0b0b;
    color: #ffffff;
  }

  /* Centered Brand Logo */
  .sg-header-center {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Right Tools (Search + Cart) */
  .sg-header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
  }

  .sg-mobile-toggle {
    display: none !important;
  }
}

/* Icon Buttons (Search & Cart) */
.sg-icon-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.sg-icon-btn:hover {
  opacity: 0.85;
}

.sg-icon-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Cart badge count */
.sg-cart-count-badge {
  position: absolute;
  top: 0;
  right: -4px;
  background: #ff3b1f;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Mobile Header (<= 819px) */
@media (max-width: 819px) {
  .sg-global-header {
    padding: 14px 18px;
  }

  .sg-header-left {
    display: none;
  }

  .sg-header-logo-link {
    height: 46px;
  }

  .sgbd-live-3d-logo {
    max-height: 46px;
  }

  .sg-header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .sg-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
  }

  /* Completely hide cart icon from mobile header bar */
  .sg-header-cart-btn {
    display: none !important;
  }

  .sg-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 6px;
    cursor: pointer;
  }

  .sg-mobile-toggle svg {
    width: 26px;
    height: 26px;
  }
}

/* =====================================================================
   MOBILE WATER-WAVE / DROPLET REVEAL NAVIGATION OVERLAY
   Deep full-dark / black surface with centered typography & fluid wave
   ===================================================================== */
.sg-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  pointer-events: none;
}

.sg-mobile-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Water droplet ripple burst origin */
.sg-mobile-droplet-wave {
  position: absolute;
  top: 30px;
  right: 28px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
}

.sg-mobile-overlay.is-active .sg-mobile-droplet-wave {
  animation: sgDropletWaveRipple 0.85s cubic-bezier(0.12, 0.8, 0.28, 1) forwards;
}

@keyframes sgDropletWaveRipple {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    opacity: 1;
  }
  100% {
    box-shadow: 0 0 0 250vmax rgba(255, 255, 255, 0);
    opacity: 0;
  }
}

/* Deep full-dark/black menu drawer (#080808 / rgba(6, 6, 8, 0.96)) */
.sg-mobile-drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 6, 8, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  color: #ffffff;
  z-index: 2010;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  clip-path: circle(0% at calc(100% - 32px) 32px);
  transition: clip-path 0.65s cubic-bezier(0.2, 0.9, 0.25, 1);
  will-change: clip-path;
}

.sg-mobile-overlay.is-active .sg-mobile-drawer {
  clip-path: circle(160% at calc(100% - 32px) 32px);
}

/* Close button pinned to top right */
.sg-mobile-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2020;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sg-mobile-close-btn:hover {
  transform: rotate(90deg) scale(1.05);
  opacity: 0.85;
}

.sg-mobile-close-btn svg {
  width: 26px;
  height: 26px;
}

/* Center-aligned mobile navigation list */
.sg-mobile-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: center;
}

/* Gentle water-wave ripple motion rising upward when opened */
.sg-mobile-nav-list > li {
  opacity: 0;
  transform: translateY(32px) scale(0.95);
  transition: opacity 0.45s cubic-bezier(0.18, 0.89, 0.32, 1.22),
              transform 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.sg-mobile-overlay.is-active .sg-mobile-nav-list > li:nth-child(1) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.12s;
}

.sg-mobile-overlay.is-active .sg-mobile-nav-list > li:nth-child(2) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.19s;
}

.sg-mobile-overlay.is-active .sg-mobile-nav-list > li:nth-child(3) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.26s;
}

.sg-mobile-overlay.is-active .sg-mobile-nav-list > li:nth-child(4) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.33s;
}

.sg-mobile-overlay.is-active .sg-mobile-nav-list > li:nth-child(5) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.40s;
}

.sg-mobile-nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: auto;
  padding: 6px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.sg-mobile-nav-link:hover {
  color: #e2e8f0;
  transform: scale(1.05);
}

/* Mobile Accordion Submenu (Center-aligned, fluid wave animation) */
.sg-mobile-shop-split {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sg-mobile-shop-title {
  padding-right: 2px;
}

.sg-mobile-accordion-toggle {
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 8px 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 6px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.sg-mobile-accordion-toggle:hover {
  color: #ff3b1f;
}

.sg-mobile-accordion-btn {
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sg-mobile-accordion-chevron {
  width: 18px;
  height: 18px;
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.25, 1);
}

.sg-mobile-accordion-toggle.is-open .sg-mobile-accordion-chevron,
.sg-mobile-accordion-btn.is-open .sg-mobile-accordion-chevron {
  transform: rotate(180deg);
}

.sg-mobile-submenu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin: 0;
  border-left: none; /* Removed vertical guide line */
  list-style: none;
  width: 100%;
  transition: max-height 0.42s cubic-bezier(0.2, 0.9, 0.25, 1),
              opacity 0.32s ease,
              padding 0.35s ease;
}

.sg-mobile-submenu.is-open {
  max-height: 300px;
  opacity: 1;
  padding: 16px 0 6px;
}

.sg-mobile-submenu li {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.38s cubic-bezier(0.18, 0.89, 0.32, 1.2);
}

.sg-mobile-submenu.is-open li:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.04s;
}

.sg-mobile-submenu.is-open li:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.09s;
}

.sg-mobile-submenu.is-open li:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.14s;
}

.sg-mobile-submenu.is-open li:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.19s;
}

.sg-mobile-submenu.is-open li:nth-child(5) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.24s;
}

.sg-mobile-sublink {
  color: #94a3b8;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.sg-mobile-sublink:hover {
  color: #ffffff;
  transform: scale(1.06);
}

/* Outer spacing container for footer */
.sg-footer-outer {
  padding-top: 56px;
}

@media (max-width: 767px) {
  .sg-footer-outer {
    padding-top: 40px;
  }
}

/* =====================================================================
   STREET GEEK BD - STICKY CART BUTTON & SLIDE-OVER CART DRAWER
   Clean original light panel styling with clear unblurred background
   ===================================================================== */

/* 1. Sticky Bottom-Right Floating Cart Button (No shadow) */
.sg-sticky-cart-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9998;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: visible;
  background: #111317;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.22s ease, background-color 0.22s ease;
  outline: none;
}

.sg-sticky-cart-btn:hover {
  transform: scale(1.06);
  background: #191c24;
  box-shadow: none;
}

.sg-sticky-cart-btn svg {
  width: 24px;
  height: 24px;
}

.sg-sticky-cart-badge {
  position: absolute;
  top: -2px;
  left: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #16a34a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  box-shadow: none;
  line-height: 1;
}

/* 2. Slide-over Cart Drawer Overlay (Clear unblurred background) */
.sg-cart-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.sg-cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Right-side Slide-over Drawer Panel (Clean light #ffffff surface) */
.sg-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  background: #ffffff;
  color: #111827;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 28px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.sg-cart-overlay.is-open .sg-cart-drawer {
  transform: translateX(0);
}

/* Drawer Top Bar */
.sg-cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #f0f0f0;
  background: #ffffff;
  flex-shrink: 0;
}

.sg-cart-close-btn {
  background: transparent;
  border: none;
  color: #111827;
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sg-cart-close-btn:hover {
  transform: translateX(3px);
  opacity: 0.8;
}

.sg-cart-close-btn svg {
  width: 22px;
  height: 22px;
}

.sg-cart-drawer-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111827;
  text-align: center;
  flex: 1;
}

.sg-cart-count-pill {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}

/* 3. Empty State View */
.sg-cart-empty-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 24px 30px;
  background: #ffffff;
}

.sg-cart-empty-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto 0;
  text-align: center;
  padding: 20px 0;
}

.sg-cart-empty-text {
  color: #6b7280;
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
}

.sg-cart-empty-footer {
  width: 100%;
}

.sg-cart-shop-now-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 999px;
  background: #111827;
  border: 1px solid #111827;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.22s ease, transform 0.15s ease;
  box-sizing: border-box;
}

.sg-cart-shop-now-btn:hover {
  background: #000000;
  border-color: #000000;
  transform: translateY(-1px);
}

/* 4. Populated State View */
.sg-cart-populated-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
}

.sg-cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #ffffff;
}

/* Individual Item Row */
.sg-cart-item-row {
  display: grid;
  grid-template-columns: 74px 1fr 34px;
  gap: 16px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.sg-cart-item-row:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.sg-cart-item-img {
  width: 74px;
  height: 74px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  display: block;
}

.sg-cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.sg-cart-item-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  color: #111827;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sg-cart-item-price {
  font-size: 13.5px;
  font-weight: 600;
  color: #111827;
}

.sg-cart-item-remove {
  background: transparent;
  border: none;
  padding: 0;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: underline;
  cursor: pointer;
  text-align: left;
  transition: color 0.18s ease;
  width: fit-content;
}

.sg-cart-item-remove:hover {
  color: #ff3b1f;
}

/* Vertical Quantity Control */
.sg-cart-qty-ctrl {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 32px;
  height: 74px;
  border-radius: 8px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-sizing: border-box;
}

.sg-qty-btn {
  background: transparent;
  border: none;
  color: #111827;
  width: 100%;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  padding: 0;
}

.sg-qty-btn:hover {
  background: #f3f4f6;
  color: #000000;
}

.sg-qty-val {
  font-size: 12.5px;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}

/* Drawer Bottom Section */
.sg-cart-footer {
  padding: 20px 24px 28px;
  border-top: 1px solid #f0f0f0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

/* Expandable Discount Section */
.sg-cart-discount-section {
  display: flex;
  flex-direction: column;
}

.sg-cart-discount-toggle {
  background: transparent;
  border: none;
  padding: 6px 0;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  width: 100%;
  transition: color 0.18s ease;
}

.sg-cart-discount-toggle:hover {
  color: #111827;
}

.sg-discount-chevron {
  width: 14px;
  height: 14px;
  color: #6b7280;
  transition: transform 0.22s ease;
}

.sg-cart-discount-toggle.is-open .sg-discount-chevron {
  transform: rotate(180deg);
}

.sg-cart-discount-collapse {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease, margin-top 0.25s ease;
  margin-top: 0;
}

.sg-cart-discount-collapse.is-open {
  max-height: 100px;
  opacity: 1;
  margin-top: 10px;
}

.sg-cart-discount-form {
  display: flex;
  gap: 8px;
  width: 100%;
}

.sg-cart-discount-form input {
  flex: 1;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 9px 12px;
  color: #111827;
  font-size: 13px;
  outline: none;
}

.sg-cart-discount-form input:focus {
  border-color: #111827;
}

.sg-discount-apply-btn {
  background: #111827;
  border: 1px solid #111827;
  color: #ffffff;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.sg-discount-apply-btn:hover {
  background: #000000;
}

.sg-discount-status {
  font-size: 12px;
  margin-top: 6px;
  display: none;
}

.sg-discount-status.is-success {
  display: block;
  color: #059669;
}

.sg-discount-status.is-error {
  display: block;
  color: #dc2626;
}

/* Subtotal Row */
.sg-cart-subtotal-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sg-cart-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sg-subtotal-label {
  font-size: 15px;
  font-weight: 600;
  color: #4b5563;
}

.sg-subtotal-amount {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  letter-spacing: 0.02em;
}

.sg-cart-shipping-note {
  font-size: 12px;
  color: #9ca3af;
}

/* Checkout Button */
.sg-cart-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 999px;
  background: #111827;
  border: 1px solid #111827;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.22s ease, transform 0.15s ease;
  box-sizing: border-box;
}

.sg-cart-checkout-btn:hover {
  background: #000000;
  border-color: #000000;
  transform: translateY(-1px);
}

/* White page theme overrides (for shop.html and light template pages) */
body.sg-page-white,
.sg-page-white {
  background-color: #ffffff !important;
  color: #0b0b0b !important;
}

.sg-page-white .sg-global-header .sg-nav-link {
  color: #0b0b0b;
}

.sg-page-white .sg-global-header .sg-nav-link:hover {
  color: #ff3b1f;
}

.sg-page-white .sg-global-header .sg-dropdown-chevron {
  stroke: #0b0b0b;
}

.sg-page-white .sg-global-header .sg-icon-btn {
  color: #0b0b0b;
}

.sg-page-white .sg-global-header .sg-icon-btn:hover {
  color: #ff3b1f;
}

.sg-page-white .sg-global-header .sg-mobile-toggle {
  color: #0b0b0b;
}

.sg-page-white .sg-global-header .sgbd-live-3d-logo {
  filter: invert(1) brightness(0.1);
}

/* =====================================================================
   STREET GEEK BD - SITE-WIDE STANDARD PRODUCT GRID & CARD SYSTEM
   Universal 1:1 square image, centered category label, centered title
   (min-height: 2.6em), and bottom-aligned price (margin-top: auto).
   Defaults for all current & future product grids (shop, categories, etc.)
   ===================================================================== */

/* Reusable Product Grid Container */
.sg-product-grid,
.sg-shop-grid,
.sg-category-grid,
[data-sg-product-grid] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 20px;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 1024px) {
  .sg-product-grid,
  .sg-shop-grid,
  .sg-category-grid,
  [data-sg-product-grid] {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 16px;
  }
}

@media (max-width: 767px) {
  .sg-product-grid,
  .sg-shop-grid,
  .sg-category-grid,
  [data-sg-product-grid] {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }
}

/* Site-wide Standard Product Card */
.sg-product-card,
.sg-shop-card,
[data-product-card] {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: transparent;
  width: 100%;
  position: relative;
}

/* Direct Product Page Link (entire card clickable) */
.sg-product-card__link,
.sg-shop-card__link,
.sg-product-card__media-link {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  width: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Strict 1:1 Square Image Frame */
.sg-product-card__image-frame,
.sg-product-card__image-wrap,
.sg-shop-card__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1 !important;
  background: #f8fafc;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid #f1f5f9;
  display: block;
  flex-shrink: 0;
}

.sg-product-card__img,
.sg-product-card__image,
.sg-shop-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 22px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sg-product-card:hover .sg-product-card__img,
.sg-product-card:hover .sg-product-card__image,
.sg-product-card__link:hover .sg-product-card__img,
.sg-product-card__link:hover .sg-product-card__image,
.sg-shop-card__image-wrap:hover .sg-shop-card__image {
  transform: scale(1.04);
}

/* Centered Card Content Area */
.sg-product-card__content,
.sg-shop-card__content,
.sg-product-card__body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  text-align: center !important;
  padding: 12px 2px 0;
  width: 100%;
  margin-top: 0 !important;
}

/* Centered Category Label */
.sg-product-card__category,
.sg-shop-card__category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff3b1f;
  margin: 0 0 4px;
  text-align: center !important;
  width: 100%;
  display: block;
}

/* Centered Product Title with 2.6em min-height */
.sg-product-card__title,
.sg-shop-card__title {
  margin: 0 0 6px;
  font-family: inherit;
  font-size: clamp(13px, 1.1vw, 14.5px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: #0b0b0b;
  text-align: center !important;
  width: 100%;
  min-height: 2.6em !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.18s ease;
}

.sg-product-card__title a {
  color: inherit;
  text-decoration: none;
}

.sg-product-card:hover .sg-product-card__title,
.sg-product-card__link:hover .sg-product-card__title,
.sg-product-card__title a:hover {
  color: #ff3b1f;
}

/* Bottom-Pinned Price */
.sg-product-card__price,
.sg-shop-card__price {
  font-size: 14px;
  font-weight: 800;
  color: #0b0b0b;
  letter-spacing: 0.01em;
  text-align: center !important;
  width: 100%;
  margin-top: auto !important;
  margin-bottom: 0 !important;
}

/* Disallow external size selectors or Add-to-Cart buttons in standard grids */
.sg-product-card__sizes,
.sg-product-card__btn,
.sg-product-card__add-btn,
.sg-shop-card__sizes,
.sg-shop-card__btn,
.sg-product-card__actions {
  display: none !important;
}
