* { box-sizing: border-box; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
body { margin: 0; background: #050608; color: #f5f5f5; }
a { color: inherit; text-decoration: none; }
header { padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #262626; background: #050608; position: sticky; top: 0; z-index: 10; }
.logo { font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; font-size: 1.1rem; }
nav a { margin-left: 1.5rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.12em; }
nav a:hover { color: #4ade80; }
nav {
  margin-left: auto;
  margin-right: 1rem;
  display: flex;
  align-items: center;
}



.hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; padding: 3rem 2rem 2rem; max-width: 1100px; margin: 0 auto; }
.hero-left h1 { font-size: 2.6rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.12em; }
.accent { color: #4ade80; }
.hero-left p { max-width: 540px; line-height: 1.6; color: #cccccc; }
.hero-cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }

.btn { padding: 0.7rem 1.4rem; border-radius: 999px; font-size: 0.9rem; border: 1px solid transparent; cursor: pointer; text-transform: uppercase; letter-spacing: 0.12em; }
.btn-primary { background: #4ade80; color: #052e16; border-color: #4ade80; }
.btn-primary:hover { background: #22c55e; border-color: #22c55e; }
.btn-outline { background: transparent; border-color: #4ade80; color: #e5e5e5; }
.btn-outline:hover { background: rgba(34,197,94,0.1); }

.hero-right { border-radius: 8px; border: 1px solid #262626; padding: 1.5rem; background: radial-gradient(circle at top, #262626, #050608); }
.hero-meta { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; color: #a3a3a3; margin-bottom: 0.5rem; }
.hero-card-title { font-size: 1.1rem; margin-bottom: 0.5rem; font-weight: 600; }
.hero-list { list-style: none; padding: 0; margin: 0.5rem 0 0; font-size: 0.9rem; color: #d4d4d4; }
.hero-list li { margin-bottom: 0.4rem; }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.8rem; }
.pill { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; padding: 0.25rem 0.6rem; border-radius: 999px; border: 1px solid #404040; color: #a3a3a3; }

.section { border-top: 1px solid #18181b; padding: 2.5rem 2rem; max-width: 1100px; margin: 0 auto; }
.section h2 { font-size: 1.4rem; margin-bottom: 0.3rem; text-transform: uppercase; letter-spacing: 0.14em; }
.section-sub { font-size: 0.9rem; color: #a3a3a3; margin-bottom: 1.5rem; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.3rem; }
.card { border-radius: 8px; border: 1px solid #262626; padding: 1rem; background: linear-gradient(145deg, #09090b, #050608); }
.card h3 { font-size: 1rem; margin-top: 0; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.12em; }
.muted { color: #a3a3a3; font-size: 0.9rem; }
.bold { font-weight: 600; }

footer { border-top: 1px solid #18181b; padding: 1.5rem 2rem; font-size: 0.8rem; color: #737373; text-align: center; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 2rem; }
  header { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  nav a { margin-left: 0; margin-right: 1rem; }
}

/* ADA additions */
a:focus, button:focus {
  outline: 2px solid #4ade80;
  outline-offset: 2px;
}

/* Suppress focus outline on store swatches/size buttons — active state provides visual feedback */
.store .swatch:focus,
.store .size-btn:focus {
  outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Normalize product card images to a consistent 4:5 ratio */
.grid-3 .card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

/* Keeps video the same size every time, regardless of the video's original dimensions */
.hero-video {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    border-radius: 8px;
    border: 1px solid #262626;
    overflow: hidden;
    background: #000;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hero stabilization of image size */
.hero-image {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9; /* or 4/5 if you want it tall like your product cards */
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #262626;
    margin: 0 auto;
    background: #000;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================================
   STORE PAGE STYLES — NEW CSS FOR COMING SOON STATE
   ============================================================ */
.store-banner {
      background: #0a0a0a;
      border: 1px solid #262626;
      padding: 1rem 1.5rem;
      border-radius: 8px;
      margin-bottom: 1.5rem;
      text-align: center;
      color: #e5e5e5;
      font-size: 0.95rem;
      letter-spacing: 0.05em;
    }

    .coming-soon-card {
      opacity: 0.45;
      filter: grayscale(100%);
      position: relative;
      pointer-events: none;
    }

    .coming-soon-badge {
      position: absolute;
      top: 12px;
      right: 12px;
      background: #4ade80;
      color: #052e16;
      padding: 0.35rem 0.6rem;
      border-radius: 6px;
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-weight: 600;
    }

    .disabled-button {
      margin-top: 0.8rem;
      padding: 0.6rem 1rem;
      border-radius: 999px;
      background: #262626;
      color: #a3a3a3;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      text-align: center;
      border: 1px solid #3f3f46;
    }

    .cart-section,
    .payment-section,
    .cart-summary,
    .cart-items,
    .checkout-btn {
      opacity: 0.35;
      filter: grayscale(100%);
      pointer-events: none;
    }

/* Store front CSS Items */
/* Product option form layout */
.product-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.2rem; /* row gap, column gap */
  margin-bottom: 1.2rem;
}

.product-options .form-row {
  display: flex;
  flex-direction: column;
}

.product-options label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a3a3a3;
  margin-bottom: 0.25rem;
}

.product-options select,
.product-options input[type="number"] {
  width: 100%;
  padding: 0.45rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #3f3f46;
  background: #09090b;
  color: #f5f5f5;
  font-size: 0.9rem;
}

/* Cart icon */
.header-cart {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-left: 16px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.header-cart:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.cart-icon {
  width: 26px;
  height: 26px;
  color: #f5f5f5;
}

/* Count bubble */
.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #4ade80;
  color: #050608;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
}

/* Bump animation */
@keyframes cart-bump {
  0%   { transform: scale(1); }
  20%  { transform: scale(1.12); }
  60%  { transform: scale(0.96); }
  100% { transform: scale(1); }
}

.header-cart.bump {
  animation: cart-bump 0.28s ease-out;
}

/* On mobile, stack everything in one column */
@media (max-width: 600px) {
  .product-options {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PREORDER PAGE STYLES — SAFE TO REMOVE AS A BLOCK
   ============================================================ */

/* --- PRODUCT CARDS --- */
.products-wrapper {
  display: flex;
  gap: 20px;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.product-card {
  background: #09090b;
  border: 1px solid #262626;
  padding: 1.5rem;
  border-radius: 8px;
  width: 280px;
  text-align: center;
}

.choose-btn {
  margin-top: 1rem;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: #4ade80;
  color: #052e16;
  font-size: 0.8rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.choose-btn.small { font-size: 0.75rem; padding: 0.4rem 1.2rem; }
.choose-btn:hover { background: #22c55e; }

.sold-out {
  background: #444 !important;
  cursor: not-allowed !important;
  text-decoration: line-through;
}

.tier-price {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #b3b3b3;
}

/* --- PREORDER SECTION CONTAINER --- */
#preorder-section {
  display: none;
  margin-top: 2rem;
  background: #09090b;
  border-radius: 8px;
  border: 1px solid #262626;
  padding: 1.5rem;
}

/* --- PREORDER PRODUCT LAYOUT --- */
.preorder-product {
  display: flex;
  gap: 16px;
  margin-top: 1.5rem;
  border-top: 1px solid #262626;
  padding-top: 1.5rem;
}

.preorder-left { flex: 1; }

.preorder-right {
  width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preorder-right img {
  max-width: 100%;
  border-radius: 6px;
  border: 1px solid #262626;
}

/* --- FORM FIELDS --- */
.field {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.field label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a3a3a3;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.1rem;
}
.pill-row { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 0.4rem; 
  margin-top: 0.8rem; 
}
.pill { 
  font-size: 0.75rem; 
  text-transform: uppercase; 
  letter-spacing: 0.12em; 
  padding: 0.25rem 0.6rem; 
  border-radius: 999px; 
  border: 1px solid #404040; 
  color: #a3a3a3; 
}
/*
.pill {
  font-size: 0.8rem;
  border-radius: 999px;
  border: 1px solid #3f3f46;
  padding: 0.15rem 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.pill input { display: none; }

.pill.active {
  background: #4ade80;
  border-color: #4ade80;
  color: #052e16;
}
*/
.length-label {
  font-size: 0.8rem;
  color: #a3a3a3;
  text-align: center;
  margin-top: 0.25rem;
}

/* --- TEXT ELEMENTS --- */
.preorder-title { font-size: 1.1rem; margin-bottom: 0.25rem; }
.preorder-price { margin-top: -4px; color: #d4d4d4; font-size: 0.9rem; }
.urgency { margin-top: 6px; color: #f87171; font-size: 0.8rem; }

/* --- BUTTON --- */
.preorder-button {
  margin-top: 0.8rem;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: #4ade80;
  color: #052e16;
  font-size: 0.85rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.preorder-button:hover { background: #22c55e; }

/* --- CART ICON (ONLY FOR PREORDER PAGE) --- */
.cart-icon {
  width: 26px;
  height: 26px;
  color: #f5f5f5;
}

/* --- GLOBAL STATUS MESSAGE --- */
#status-global {
  margin-top: 1rem;
  color: #4ade80;
  font-size: 0.85rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .preorder-product {
    flex-direction: column;
  }
  .preorder-right {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ============================================================
   BLOG ARTICLES PAGE
   ============================================================ */

.blog-article-page .blog-article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.blog-article-page .blog-article h1 {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 1.2rem;
}

.blog-article-page .blog-hero {
    width: 100%;
    height: 340px;
    object-fit: contain;
    object-position: center center;
    background: #0d1117;
    border-radius: 8px;
    border: 1px solid #262626;
    margin: 1.5rem 0;
    display: block;
}
@media (max-width: 600px) {
    .blog-article-page .blog-hero {
        height: 220px;
    }
}

.blog-article-page .blog-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #d4d4d4;
}

.blog-article-page .blog-content h2,
.blog-article-page .blog-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.blog-article-page .blog-content p {
    margin-bottom: 1.2rem;
}

.blog-article-page .blog-content ul,
.blog-article-page .blog-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: #cfcfcf;
}

.blog-article-page .blog-content li {
    margin-bottom: 0.5rem;
}

.blog-article-page .blog-breadcrumb {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #a3a3a3;
    margin-bottom: 1rem;
}

.blog-article-page .blog-breadcrumb a {
    color: #4ade80;
}

.blog-article-page .blog-breadcrumb a:hover {
    color: #22c55e;
}

.blog-article-page .blog-category-pill {
    margin-bottom: 1rem;
}

/* ============================================================
   END OF BLOG ARTICLES PAGE
   ============================================================ */

/* ============================================================
   BLOG INDEX PAGE
   ============================================================ */

.blog-index-page .blog-card {
    display: block;
    transition: transform 0.15s ease, opacity 0.15s ease;
    max-width: 420px;
}

.blog-index-page .blog-card:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.blog-index-page .blog-card img {
    width: 100%;
    height: 220px;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    object-position: center center;
    background: #0d1117;
    border-radius: 6px;
    margin-bottom: 0.8rem;
    display: block;
}

.blog-index-page .blog-category-pill {
    margin-bottom: 1rem;
}
/* ============================================================
   END OF BLOG INDEX PAGE
   ============================================================ */

/* ============================================================
   HOW IT WORKS PAGE — FULLY NAMESPACED
   ============================================================ */

.how-it-works-page .section {
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  border-bottom: 1px solid #18181b;
}

.how-it-works-page .section h1,
.how-it-works-page .section h2 {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.6rem;
}

.how-it-works-page .section-sub {
  font-size: 0.95rem;
  color: #a3a3a3;
  margin-bottom: 1.8rem;
  max-width: 700px;
}

.how-it-works-page .section-sub.wide {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* HERO VIDEO */
/* LANDSCAPE VIDEO FRAME */
.how-it-works-page .hero-video {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;

  /* Force a landscape box */
  aspect-ratio: 16 / 9;

  /* Prevent any inherited cropping */
  overflow: hidden;
  background-color: #000;
}

/* VIDEO INSIDE THE LANDSCAPE FRAME */
.how-it-works-page .hero-video video {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* <-- the magic */
  display: block;
}

/* VIDEO GRID */
.how-it-works-page .video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.how-it-works-page .video-thumb {
  border: 1px solid #262626;
  border-radius: 8px;
  background: #111;
  padding: 1rem;
  cursor: pointer;
  height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.how-it-works-page .video-thumb img,
.how-it-works-page .video-thumb video {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: #000;
  border-radius: 6px;
  border: 1px solid #333;
}

.how-it-works-page .video-thumb-title {
  margin-top: 0.8rem;
  font-size: 1rem;
  font-weight: 600;
}

.how-it-works-page .video-thumb-sub {
  font-size: 0.85rem;
  color: #a3a3a3;
  margin-top: 0.3rem;
}

/* ARCHITECTURE CARDS */
.how-it-works-page .grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.3rem;
}

.how-it-works-page .card {
  border-radius: 8px;
  border: 1px solid #262626;
  padding: 1rem;
  background: linear-gradient(145deg, #09090b, #050608);
}

.how-it-works-page .card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.how-it-works-page .muted {
  color: #a3a3a3;
  font-size: 0.9rem;
}

/* DRAW SEQUENCE */
.how-it-works-page .draw-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.how-it-works-page .draw-img {
  min-width: 260px;
  height: 360px;
  background: #000;
  border: 1px solid #262626;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.how-it-works-page .draw-img.visible {
  opacity: 1;
  transform: translateY(0);
}

.how-it-works-page .draw-img:hover {
  transform: translateY(-3px);
  transition: transform 0.2s ease;
}

.how-it-works-page .draw-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* FIT IMAGE FRAME — MATCHES DRAW SEQUENCE GEOMETRY */
.how-it-works-page .fit-frame {
  min-width: 260px;
  height: 360px;
  background: #000;
  border: 1px solid #262626;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image inside the frame */
.how-it-works-page .fit-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 800px) {
  .how-it-works-page .fit-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA */
.how-it-works-page .cta {
  text-align: center;
  padding-top: 2rem;
}

/* Two-column layout */
.how-it-works-page .fit-row {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}


/* Text column */
.how-it-works-page .fit-col-text {
  flex: 1 1 300px;
  max-width: 500px; /* prevents text from stretching too wide */
  min-width: 0px;
}

/* Mobile collapse */
@media (max-width: 640px) {
  .how-it-works-page .fit-row {
    flex-direction: column;
  }

  .how-it-works-page .fit-col-image,
  .how-it-works-page .fit-col-text {
    flex: none;
    max-width: 100%;
  }
}


/* ============================================================
   END OF HOW IT WORKS PAGE
   ============================================================ */

/* ============================================================
   SIDE-LEG CATEGORY PAGE — FULLY NAMESPACED
   ============================================================ */
/*
.side-leg-category-page .hero {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: flex-start; 
}

.side-leg-category-page .hero-left {
  flex: 1;
  min-width: 280px;
}

.side-leg-category-page .hero-left h1 {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}

.side-leg-category-page .accent {
  color: #4ade80;
}

.side-leg-category-page .hero-right {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
}

.side-leg-category-page .hero-meta {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a3a3a3;
  margin-bottom: 0.4rem;
}

.side-leg-category-page .hero-card-title {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #e5e5e5;
}

.side-leg-category-page .hero-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0;
  color: #d4d4d4;
  line-height: 1.6;
}

.side-leg-category-page .hero-image {
  max-width: 400px;
  aspect-ratio: auto;
}


.side-leg-category-page .hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #262626;
}
*/

/* ============================================================
   END OF SIDE-LEG CATEGORY PAGE
   ============================================================ */


/* ============================================================
   STORE PAGE — FULLY NAMESPACED UNDER .store
   ============================================================ */

.store.store-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.store .store-heading {
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 1.4rem;
  color: #4ade80;
}

/* GRID LAYOUT */
.store .store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

/* PRODUCT CARD */
.store .store-card {
  background: #0a0a0a;
  border: 1px solid #262626;
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
  align-items: flex-start; /* keeps children from stretching horizontally */
  gap: 1.25rem;            /* adds spacing between media-layout and info block */
}

.store .store-card:hover {
  border-color: #4ade80;
}

/* MEDIA */
.store .store-card-media {
  width: 100%;
  aspect-ratio: 1 / 1.25;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store .store-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Viewer Geometry */
.store .media-hero {
  width: 261px;
  height: 326px;
  border-radius: 8px;
  border: 1px solid #262626;
  background: #111;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto; /* ← THIS IS THE ONLY CHANGE */
}

.store .media-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Images next to the Hero Viewer */
.store .media-layout {
  display: flex;
  gap: 12px;
}

.store .media-thumbs {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 326px; /* EXACT MATCH to .media-hero */
  width: 75px;   /* or whatever width you want */
}

.store .media-thumbs .thumb {
  width: 75px;
  height: 75px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #262626;
  background: #111;
  cursor: pointer;
  object-fit: cover;
}

.store .media-thumbs .video-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  background: #000;
}

.store .store-card-info {
    width: 100%;
    text-align: left;
}

.store .store-card-toggle {
    background: #4ade80;          /* Gunpant green */
    color: #000;                  /* readable on green */
    border: none;
    padding: 10px 18px;
    border-radius: 6px;           /* slightly rounded */
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* Hover state */
.store .store-card-toggle:hover {
    background: #3dd170;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.4);
}

.store .center-button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}

.store .store-card-collapse {
    background: #4ade80;          /* Gunpant green */
    color: #000;
    border-radius: 6px;           /* slightly rounded */      
}

/* INFO */
.store .store-card-title {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: #e5e5e5;
}

.store .store-card-price {
  font-size: 1rem;
  color: #4ade80;
  margin-bottom: 0.75rem;
}

.store .store-card-preorder {
  font-size: 0.85rem;
  color: #4ade80;
  margin-bottom: 0.25rem;
}

.store .store-card-dates {
  font-size: 0.75rem;
  color: #aaa;
  margin-bottom: 1rem;
}

/* FORM */
.store .store-card-form label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: #ccc;
}

.store .store-card-form select,
.store .store-card-form input[type="number"] {
  width: 100%;
  padding: 0.4rem 0.5rem;
  background: #111;
  border: 1px solid #333;
  color: #e5e5e5;
  border-radius: 6px;
  font-size: 0.9rem;
}

.store .store-card-add {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.6rem;
  background: #4ade80;
  color: #000;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.store .store-card-add:hover {
  background: #22c55e;
}

/* get Color Swatches and Handedness on the same line */
.variant-flex-line {
    display: flex;
    align-items: center;
    gap: 20px; /* adjust spacing between color + handedness */
    margin-bottom: 12px;
}

/* Variant UI — Color Swatches */
.store .variant-block {
  margin-bottom: 1rem;
}

.store .variant-label {
  font-size: 0.85rem;
  color: #ccc;
  margin-bottom: 0.4rem;
}

.store .variant-swatches {
  display: flex;
  gap: 0.5rem;
}

.store .swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid #333;
  cursor: pointer;
  padding: 0;
}

.store .variant-swatches .swatch.active {
    border: 2px solid #4ade80 !important;
    box-shadow: 0 0 0 1px #4ade80 !important;
}

.store .size-btn.active {
    border-color: #4ade80;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3); /* subtle glow */
    position: relative;
    z-index: 2;
}

/* Quantity amount selection to model levi's */
.store-card-form .qty-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 18px 0;
    font-size: 1rem; /* unified text size */
}

.store-card-form .qty-label {
    font-weight: 500;
}

/* Container for + 1 - */
.store-card-form .qty-control {
    display: flex;
    align-items: center;
    gap: 10px; /* generous spacing */
}

/* Shared styling for + and - */
.store-card-form .qty-control span {
    user-select: none;
    cursor: pointer;
    padding: 6px 10px;        /* ⭐ increases click area without showing a box */
    line-height: 1;
    display: inline-flex;     /* ensures padding works cleanly */
    align-items: center;
    justify-content: center;
}

/* Minus: lighter, grayish white */
.store-card-form .qty-minus {
    font-weight: 400;
    color: rgba(255,255,255,0.6); /* ⭐ grayish white */
}

/* Number: NOT clickable, smaller, same size as label */
.store-card-form .qty-number {
    font-weight: 500;
    color: #fff;
    cursor: default;
    pointer-events: none; /* ⭐ cannot click */
    padding: 0;           /* no hit area */
    font-size: 1rem;      /* same as label */
}

/* Plus: bold, bright white */
.store-card-form .qty-plus {
    font-weight: 700;
    color: #fff;
}

/* Container for the whole price row */
.price-area-single-line {
    display: flex;
    align-items: flex-start; /* aligns tops of numbers */
    gap: 12px;
    margin-bottom: 10px;
}

/* Main price (sale, preorder, or normal) */
.price-sale-new {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

/* Original price (smaller, lighter, strikethrough) */
.price-regular {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    text-decoration: line-through;
    position: relative;
    top: 2px; /* lifted slightly */
}

/* ⭐ Badge + dates (smaller, not lifted, slightly right) */
.price-badge {
    font-size: 0.9rem;              /* smaller text */
    font-weight: 400;
    color: rgba(255,255,255,0.8);   /* softer white */
    align-self: center;
    position: relative;
    top: 0;                         /* NOT lifted */
    margin-left: 6px;               /* slight push right */
    white-space: nowrap;            /* keeps it on one line */
}


/* Changing the store pricing area to show Original Price grayed out if applicable and Sale or Pre Price */
.store .price-area {
    display: flex;
    align-items: flex-start; /* aligns tops of numbers */
    gap: 8px;
}

.store .price-sale {
    font-weight: 700;
    font-size: 1.4rem;
    color: #000;
}

.store .price-original {
    font-size: 1rem;
    color: #888;
    text-decoration: line-through;
    position: relative;
    top: 2px; /* lifts it slightly so tops align */
}


/* =========================================
   Store2 option button unavailable styling 
   ========================================= */
/* make disabled buttons look disabled */
.store .size-btn.sold-out,
.store .size-btn.not-offered,
.store .size-btn.unavailable,
.store .swatch.sold-out {
    opacity: 0.45;
    cursor: not-allowed;
    position: relative;
}

/* Levi's style diagonal slash for unavailable states */
/*.store .size-btn.sold-out::after,*/
/*.store .size-btn.not-offered::after,*/
/*.store .size-btn.unavailable::after,*/
.store .swatch.sold-out::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 2px;
    background: #000;
    transform: rotate(-35deg);
    pointer-events: none;
}

/* Horizontal sold-out line with left/right breathing room */
.store .size-btn.sold-out::after,
.store .size-btn.unavailable::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 12%;      /* creates the “space” from the left border */
    right: 12%;     /* same spacing on the right */
    height: 2px;
    background: #000;
    transform: translateY(-50%);
    pointer-events: none;
}

/* make not-offered slash lighter than sold out */
.store .size-btn.not-offered::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -10%;
  width: 120%;
  height: 2px;
  background: #999;
  transform: rotate(-35deg);
  pointer-events: none;
}

/* Prevent hover states from misleading the user */
.store .size-btn.sold-out:hover,
.store .size-btn.not-offered:hover,
.store .size-btn.unavailable:hover,
.store .swatch.sold-out:hover {
    opacity: 0.45;
    border-color: #ccc !important;
}

/* Hover outline ONLY for available options */
.store .size-btn:not(.sold-out):not(.not-offered):not(.unavailable):hover,
.store .swatch:not(.sold-out):hover {
    border-color: #999;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
    cursor: pointer;
}

/* Keep green ring when hovering an already-selected button */
.store .size-btn.active:hover,
.store .swatch.active:hover {
    border-color: #4ade80 !important;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.4) !important;
    cursor: pointer;
}

/* Dim text for unavailable sizes */
.store .size-btn.sold-out,
.store .size-btn.not-offered,
.store .size-btn.unavailable {
    color: #666;
}

/* End of Store2 option unavailable styling */

/* Variant UI — Buttons for Waist and Length */
.store .variant-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.store .size-btn {
    padding: 0.4rem 0.7rem;
    background: #111;
    border: 1px solid #333;
    color: #e5e5e5;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
}

@media (max-width: 600px) {
  .store .store-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .store .media-layout { flex-direction: column; }
  .store .media-thumbs { flex-direction: row; height: auto; width: 100%; gap: 8px; }
  .store .media-thumbs .thumb { width: 55px; height: 55px; }
  .store .media-hero { width: 100%; height: 240px; }
  .price-badge { white-space: normal; }
}

/* ============================================================
   END OF STORE PAGE — FULLY NAMESPACED UNDER .store
   ============================================================ */

/* ============================================================
   CART PAGE — FULLY NAMESPACED UNDER .cart.cart-page
   ============================================================ */

.cart.cart-page {
    background: #050608;
    color: #f5f5f5;
    padding: 20px;
    max-width: 700px;
    margin: 0 auto;
    font-family: system-ui, sans-serif;
}

/* Container */
.cart.cart-page #cartPage {
    width: 100%;
}

/* Empty state */
.cart.cart-page .cart-empty {
    color: #9ca3af;
    font-size: 16px;
    padding: 20px 0;
}

/* Cart item row */
.cart.cart-page .cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #262626;
}

/* Thumbnail */
.cart.cart-page .cart-thumb {
    width: 90px;
    height: 120px;
    border-radius: 6px;
    object-fit: cover;
    background: #111;
}

/* Info column */
.cart.cart-page .cart-info {
    flex: 1;
}

/* Product name */
.cart.cart-page .cart-item-name {
    font-size: 18px;
    margin-bottom: 4px;
}

/* Variant attributes */
.cart.cart-page .cart-variants {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 10px;
}

/* Quantity controls */
.cart.cart-page .cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

/* Qty buttons */
.cart.cart-page .qty-btn {
    background: #262626;
    border: none;
    color: #f5f5f5;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
}

.cart.cart-page .qty-btn:hover {
    background: #4ade80;
    color: #050608;
}

/* Remove button */
.cart.cart-page .remove-btn {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 14px;
    margin-top: 4px;
    cursor: pointer;
}

.cart.cart-page .remove-btn:hover {
    color: #dc2626;
}

/* Price */
.cart.cart-page .cart-price {
    font-size: 16px;
    margin-top: 6px;
}

/* Subtotal */
.cart.cart-page #subtotal {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Buttons */
.cart.cart-page #checkoutBtnPage,
.cart.cart-page #clearCartBtn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 12px;
}

/* Clear Cart button */
.cart.cart-page #clearCartBtn {
    background: #ef4444;
    color: white;
}

.cart.cart-page #clearCartBtn:hover {
    background: #dc2626;
}

/* Checkout button */
.cart.cart-page #checkoutBtnPage {
    background: #4ade80;
    color: #050608;
}

.cart.cart-page #checkoutBtnPage:hover {
    background: #22c55e;
}

/* ============================================================
   END OF CART PAGE — FULLY NAMESPACED UNDER .cart
   ============================================================ */