*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f5f5;
  color: #111111;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Order Notification Toast */
.order-notification {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(-150px);
  background: #10b981;
  color: #ffffff;
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 100;
  transition: transform 0.4s ease-out;
  max-width: 90%;
  min-width: 280px;
}

.order-notification.show {
  transform: translateX(-50%) translateY(0);
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  font-weight: 500;
}

.notification-content i {
  font-size: 1.4rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.zynex-header.hero-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
}

.hero-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  margin-top: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Product Page Styles */
.product-page-main {
  max-width: 1200px;
  margin: 7rem auto 0;
  padding: 2rem 1.5rem;
  background: #fff;
}

/* Ensure collection detail pages are positioned below the fixed header
   so top-left links (like "Back to Collections") are visible and clickable */
.collection-detail-layout {
  margin-top: 7rem;
}

.breadcrumb {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* Keep breadcrumb links visually consistent (black) while remaining clickable */
.breadcrumb a,
.product-breadcrumb a {
  color: #111111;
  text-decoration: none;
}
.breadcrumb a:visited,
.product-breadcrumb a:visited {
  color: #111111;
}
.breadcrumb a:hover,
.product-breadcrumb a:hover {
  color: #111111;
  text-decoration: underline;
}

.product-top-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}

.top-nav-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid #ddd;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
}

.top-nav-btn:hover { background: #f5f5f5; }
.top-nav-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.product-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .product-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.product-gallery-section {
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-main-image {
  width: 100%;
  max-height: 560px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: #f5f5f5;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 2.5rem;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.gallery-nav:hover { 
  background: rgba(0,0,0,0.8);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 1rem; }
.next-btn { right: 1rem; }

.product-thumbnails {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.product-thumbnails .thumb {
  width: 72px;
  height: 72px;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 8px;
  object-fit: cover;
  transition: all 0.18s ease;
  background: #fafafa;
}

.product-thumbnails .thumb.active {
  border-color: #111;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.product-thumbnails .thumb:hover {
  border-color: #777;
  transform: translateY(-2px);
}

/* Gallery fullscreen button */
.product-gallery-section {
  position: relative;
}

.gallery-fullscreen {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gallery-fullscreen svg { color: #111; }

.product-info-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  font-weight: 700;
}

.product-price {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5rem;
}

.product-note {
  font-size: 0.85rem;
  color: #d32f2f;
  font-weight: 600;
  margin-bottom: 1rem;
  font-style: italic;
}

.product-desc {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.product-section {
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #111;
  letter-spacing: 0.08em;
}

.sizes-selector {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.colors-selector {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.color-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #e6e6e6;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.color-swatch:hover { transform: scale(1.08); }

.color-swatch.selected {
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  outline: 2px solid rgba(0,0,0,0.12);
  transform: scale(1.12);
}

.size-btn {
  padding: 0.85rem 1.2rem;
  border: 2px solid #ddd;
  background: #fff;
  cursor: pointer;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s;
  min-width: 70px;
  text-align: center;
}

.size-btn:hover { 
  border-color: #111;
  background: #f5f5f5;
}

.size-btn.active { 
  border-color: #111; 
  background: #111; 
  color: #fff;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
}

.qty-control {
  width: 45px;
  height: 45px;
  border: 2px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-control:hover { 
  border-color: #111;
  background: #f5f5f5;
}

.qty-input {
  width: 70px;
  height: 45px;
  border: 2px solid #ddd;
  text-align: center;
  font-size: 1rem;
  border-radius: 8px;
  font-weight: 600;
}

.product-actions {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.btn-buy, .btn-add {
  flex: 1;
  padding: 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s;
  letter-spacing: 0.05em;
}

.btn-buy {
  background: #111;
  color: #fff;
}

.btn-buy:hover { 
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.btn-add {
  background: #f5f5f5;
  color: #111;
  border: 2px solid #ddd;
}

.btn-add:hover { 
  background: #111;
  color: #fff;
  border-color: #111;
  transform: translateY(-2px);
}

.product-details-bottom {
  margin-top: 4rem;
  border-top: 1px solid #eee;
  padding-top: 3rem;
}

.product-sizechart-wrap {
  margin-bottom: 4rem;
}

.product-sizechart-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-sizechart-wrap h2,
.product-related-wrap h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.sizechart-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Constrain size chart on large screens and smaller devices */
.sizechart-img {
  max-height: 360px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .sizechart-img { max-height: 220px; }
}

/* Make size chart clearly clickable */
.sizechart-img {
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.sizechart-img:hover { transform: scale(1.02); box-shadow: 0 10px 30px rgba(0,0,0,0.12); }

.product-related-wrap {
  margin-bottom: 3rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.related-card {
  cursor: pointer;
  transition: transform 0.3s;
}

.related-card:hover { transform: translateY(-8px); }

.related-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  background: #f5f5f5;
  transition: transform 0.3s;
}

.related-card:hover img {
  transform: scale(1.05);
}

.related-name {
  font-size: 1rem;
  text-align: center;
  color: #333;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.related-price {
  font-size: 0.95rem;
  text-align: center;
  color: #666;
  font-weight: 500;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.25);
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.brand-tagline {
  margin-left: 0.75rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9e9e9e;
  white-space: nowrap;
}

.nav-icon {
  border-radius: 999px;
  border: none;
  padding: 0.35rem 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: #111111;
  cursor: pointer;
  font-size: 0.85rem;
}

.nav-burger span {
  display: none;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #111111;
}

.nav-burger span + span {
  margin-top: 4px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-image {
  height: 36px;
  width: auto;
}

.nav-logo-tagline {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #9e9e9e;
}

.nav-cart {
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: #111111;
  color: #ffffff;
  font-size: 0.8rem;
}

.hero {
  padding: 0;
}

.hero-streetwear {
  height: 90vh;
  min-height: 520px;
  max-height: 720px;
  position: relative;
}

.hero-image-layer {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.05)), url("main.png");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4.5rem;
}

.hero-shop-btn {
  padding: 0.65rem 2.4rem;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.96);
  color: #111111;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.8rem;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.hero-new-arrivals {
  background: #ffffff;
  border-radius: 2.5rem 2.5rem 0 0;
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
  padding: 2.25rem 0 1.75rem;
}

.new-arrivals-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.new-arrivals-inner h2 {
  font-size: 1.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.new-arrivals-inner p {
  font-size: 0.9rem;
  color: #777777;
  text-transform: none;
}

.front-products {
  background: #ffffff;
  padding: 0 0 2rem;
}

.front-products-grid {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.front-products-grid .product-card {
  min-width: 300px;
  max-width: 300px;
  flex-shrink: 0;
}

#collectionsGrid {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.collection-subsection {
  flex: 0 0 auto;
  min-width: 280px;
}

.collection-subsection-title {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  color: #111111;
}

.collection-products-row {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.collection-products-row .product-card {
  min-width: 280px;
  flex-shrink: 0;
}

.collection-card {
  background: #fafafa;
  border-radius: 1rem;
  padding: 0.8rem 0.85rem 0.9rem;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background 0.12s ease;
  min-width: 280px;
  flex-shrink: 0;
  cursor: pointer;
}

.collection-card:hover {
  transform: translateY(-4px);
  border-color: #bdbdbd;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: #111111;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.btn-primary.full-width {
  width: 100%;
}

.hero-art {
  display: flex;
  justify-content: flex-end;
}

.glass-card {
  width: 100%;
  max-width: 340px;
  padding: 1.3rem 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.glass-card h2 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.glass-card p {
  font-size: 0.9rem;
  color: #444444;
}

.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  align-items: flex-start;
  gap: 1.75rem;
  padding: 1.5rem 0 2.5rem;
  flex-grow: 1;
}

.sidebar {
  position: sticky;
  top: 76px;
  align-self: flex-start;
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e0e0e0;
  padding: 1rem 1rem 1.15rem;
}

.sidebar h2 {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  color: #111111;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: #777777;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s, color 0.2s, transform 0.12s;
}

.sidebar li:hover {
  background: #f3f3f3;
  color: #111111;
  transform: translateX(2px);
}

.sidebar li.active {
  background: #111111;
  color: #ffffff;
}

.products-area {
  background: #ffffff;
  border-radius: 0;
  border: none;
  padding: 1.2rem 1.25rem 1.4rem;
  box-shadow: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.products-toolbar h2 {
  font-size: 1.1rem;
}

.sort-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #777777;
}

.sort-controls select {
  background: #ffffff;
  color: #111111;
  border-radius: 999px;
  border: 1px solid #d4d4d4;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
}

.products-grid {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  align-items: flex-start;
}

.collection-row {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scroll-behavior: smooth;
}

.collection-row::-webkit-scrollbar {
  height: 6px;
}

.collection-row::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 6px;
}

.collection-block {
  background: #fafafa;
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 300px;
  max-width: 300px;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.collection-block:hover {
  transform: translateY(-4px);
  border-color: #bdbdbd;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.collection-title {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card {
  background: #fafafa;
  border-radius: 1rem;
  padding: 0.8rem 0.85rem 0.9rem;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #bdbdbd;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.product-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.7rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.35);
  color: #111111;
}

.product-image {
  border-radius: 0.8rem;
  background: #e5e5e5;
  aspect-ratio: 1;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  font-weight: 600;
  font-size: 2rem;
}

.front-products-grid .product-image {
  aspect-ratio: 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.8rem;
}

.product-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #777777;
}

.product-price {
  font-weight: 600;
  color: #111111;
}

.product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.3rem;
}

.add-btn {
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: none;
  background: #111111;
  color: #ffffff;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: background 0.12s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.add-btn:hover {
  background: #000000;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -380px;
  width: 340px;
  max-width: 100%;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid #e0e0e0;
  box-shadow: -20px 0 40px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  z-index: 65;
  transition: right 0.25s ease-out;
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 1rem 1rem 0.6rem;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.4rem 0.5rem;
  font-size: 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed rgba(55, 65, 81, 0.7);
}

.cart-item-title {
  font-weight: 500;
}

.cart-item-meta {
  color: #777777;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  justify-content: flex-end;
}

.qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid #d4d4d4;
  background: transparent;
  color: #111111;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.qty-display {
  min-width: 20px;
  text-align: center;
  font-size: 0.8rem;
}

.remove-btn {
  border: none;
  background: transparent;
  color: #555555;
  font-size: 0.8rem;
  cursor: pointer;
}

.cart-footer {
  padding: 0.8rem 1rem 1rem;
  border-top: 1px solid #e0e0e0;
  position: sticky;
  bottom: 0;
  background: #ffffff;
  z-index: 10;
}

.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.cart-summary-row.small {
  font-size: 0.8rem;
  color: #777777;
}

.cart-summary-row.total {
  font-weight: 600;
  margin-top: 0.25rem;
  margin-bottom: 0.7rem;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease-out, visibility 0.25s ease-out;
  z-index: -1;
  pointer-events: none;
}

.overlay.visible {
  opacity: 1;
  visibility: visible;
  z-index: 25;
  pointer-events: auto;
}

.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-out;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.checkout-modal.open {
  z-index: 70;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.checkout-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #111111;
}

.checkout-modal h2 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}

.form-group select {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  background-color: white;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 1.2em;
  padding-right: 2.5rem;
}

.form-group select:focus {
  outline: none;
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.1);
}

.form-group input:focus {
  outline: none;
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.1);
}

.order-summary {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 6px;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.order-summary p {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.order-summary p:last-child {
  margin-bottom: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.icon-button {
  border-radius: 999px;
  width: 30px;
  height: 30px;
  border: 1px solid #d4d4d4;
  background: transparent;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
}

.site-footer {
  border-top: 1px solid #e0e0e0;
  padding: 2rem 0 1.4rem;
  background: #ffffff;
  margin-top: auto;
  position: relative;
  z-index: 60;
}

.footer-inner {
  font-size: 0.85rem;
  color: #777777;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: flex-start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo img {
  height: 30px;
  width: auto;
}

.footer-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #555555;
}

.footer-social-wrapper h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.4rem;
  color: #111111;
}

.footer-column h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.6rem;
  color: #111111;
}

.footer-column ul,
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-social {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.footer-column a,
.footer-social a {
  color: #555555;
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-column a:hover,
.footer-social a:hover {
  color: #111111;
}

.footer-social li,
.footer-contact li {
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid #e5e5e5;
  padding-top: 0.8rem;
  text-align: center;
  font-size: 0.78rem;
  color: #555555;
}

@media (max-width: 800px) {
  .footer-top {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    row-gap: 1.5rem;
  }

  .footer-right {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-right {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .main-nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-art {
    order: -1;
    justify-content: flex-start;
  }

  .main-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    position: static;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 0.25rem;
  }

  .sidebar h2 {
    display: none;
  }

  .sidebar ul {
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
  }

  .sidebar li {
    white-space: nowrap;
  }
}

@media (max-width: 600px) {
  .products-area {
    padding: 0.9rem 0.9rem 1rem;
  }

  .products-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

.collection-detail-layout {
  padding: 2rem 0;
  flex-grow: 1;
}

.collection-header {
  margin-bottom: 2rem;
  padding-top: 1.5rem;
}

.back-link {
  display: inline-block;
  color: #555555;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #111111;
}

.collection-header h1 {
  font-size: 2rem;
  margin: 0;
  color: #111111;
}

.collection-content {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  align-items: start;
}

.collection-image-container {
  position: sticky;
  top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  max-width: 100%;
}

.collection-banner-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  max-width: 520px;
}

.collection-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-weight: 600;
  color: #777777;
}

.collection-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.collection-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-bottom: 1rem;
}

.collection-products-grid .product-card {
  flex-shrink: 0;
}

.collection-thumbnail {
  border-radius: 0.8rem;
  background: #e5e5e5;
  height: 130px;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  font-weight: 600;
  font-size: 2rem;
  overflow: hidden;
}

.collection-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.8rem;
  transition: transform 0.3s ease;
}

.collection-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.collection-block:hover .collection-thumbnail img {
  transform: scale(1.05);
}

@media (max-width: 800px) {
  .collection-block {
    flex-direction: column;
    align-items: stretch;
  }

  .collection-thumbnail {
    width: 100%;
    border-radius: 6px;
  }
}

@media (max-width: 800px) {
  .collection-content {
    grid-template-columns: 1fr;
  }

  .collection-image-container {
    position: static;
  }

  .collection-header h1 {
    font-size: 1.5rem;
  }

  .collection-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

/* FAQ Page Styles */
.faq-page-main {
  max-width: 1200px;
  margin: 7rem auto 0;
  padding: 3rem 1.5rem;
  background: #fff;
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.faq-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #111111;
}

.faq-header p {
  font-size: 1.1rem;
  color: #666666;
  max-width: 600px;
  margin: 0 auto;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-section {
  margin-bottom: 4rem;
}

.faq-item {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #f0f0f0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.faq-answer {
  font-size: 1rem;
  color: #555555;
  line-height: 1.8;
}

.faq-answer p {
  margin-bottom: 1rem;
}

.faq-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.faq-list li {
  padding: 0.6rem 0 0.6rem 2rem;
  color: #666666;
  position: relative;
}

.faq-list li::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: #111111;
  font-weight: 600;
}

.faq-contact-section {
  background: #f9f9f9;
  padding: 2.5rem;
  border-radius: 12px;
  margin-top: 3rem;
  text-align: center;
}

.faq-contact-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #111111;
}

.faq-contact-section > p {
  font-size: 1.05rem;
  color: #666666;
  margin-bottom: 2rem;
}

.faq-contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-item i {
  font-size: 2.5rem;
  color: #111111;
}

.contact-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #111111;
  margin-bottom: 0.3rem;
}

.contact-item p {
  font-size: 0.95rem;
  color: #666666;
  margin: 0;
}

.contact-item a {
  color: #111111;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: #555555;
}

@media (max-width: 768px) {
  .faq-page-main {
    margin-top: 6rem;
    padding: 2rem 1rem;
  }

  .faq-header h1 {
    font-size: 2rem;
  }

  .faq-header p {
    font-size: 1rem;
  }

  .faq-question {
    font-size: 1.25rem;
  }

  .faq-answer {
    font-size: 0.95rem;
  }

  .faq-contact-section {
    padding: 1.5rem;
  }

  .faq-contact-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Terms & Conditions Page */
main.tc-container {
  min-height: 60vh;
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem 3rem;
}

.tc-header {
  text-align: center;
  margin-bottom: 3rem;
  border-bottom: 2px solid #111;
  padding-bottom: 2rem;
}

.tc-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #111;
}

.tc-header p {
  color: #666;
  font-size: 0.95rem;
}

.tc-content {
  line-height: 1.8;
  color: #333;
}

.tc-section {
  margin-bottom: 2.5rem;
}

.tc-section h2 {
  font-size: 1.3rem;
  color: #111;
  margin-bottom: 1rem;
  font-weight: 600;
}

.tc-section p {
  margin-bottom: 1rem;
  text-align: left;
  line-height: 1.6;
}

.tc-section ul {
  list-style-position: inside;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

.tc-section ul li {
  margin-bottom: 0.5rem;
  color: #333;
}

.tc-contact {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-left: 4px solid #111;
  margin-top: 1rem;
  border-radius: 4px;
}

.tc-contact p {
  margin-bottom: 0.5rem;
}

.tc-contact strong {
  color: #111;
}

/* Terms & Conditions Mobile Responsive */
@media (max-width: 768px) {
  .tc-container {
    margin: 2rem auto;
    padding: 0 1rem;
  }

  .tc-header h1 {
    font-size: 2rem;
  }

  .tc-section h2 {
    font-size: 1.15rem;
  }

  .tc-section p {
    text-align: left;
    font-size: 0.95rem;
  }

  .tc-contact {
    padding: 1rem;
    border-left-width: 3px;
  }
}

@media (max-width: 600px) {
  .tc-header h1 {
    font-size: 1.8rem;
  }

  .tc-section {
    margin-bottom: 1.8rem;
  }

  .tc-section h2 {
    font-size: 1.05rem;
  }

  .tc-section p {
    font-size: 0.9rem;
  }

  .tc-contact {
    padding: 0.75rem;
  }
}
