/* ============================================
   SOLE SOCIETY — Shoe Store CSS
   Aesthetic: Dark editorial luxury + bold accents
   ============================================ */

   @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,600;1,300&display=swap');

   /* ── Variables ── */
   :root {
     --black: #0a0a0a;
     --charcoal: #141414;
     --card-bg: #1a1a1a;
     --border: #2a2a2a;
     --accent: #ff3c00;
     --accent-glow: rgba(255, 60, 0, 0.25);
     --gold: #d4a853;
     --white: #f5f2ed;
     --muted: #6b6b6b;
     --nav-h: 64px;
   }
   
   /* ── Reset & Base ── */
   *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
   
   html { scroll-behavior: smooth; }
   
   body {
     background: var(--black);
     color: var(--white);
     font-family: 'DM Sans', sans-serif;
     font-size: 15px;
     min-height: 100dvh;
     padding-bottom: calc(var(--nav-h) + 16px);
     -webkit-font-smoothing: antialiased;
   
     /* Subtle grain texture */
     background-image:
       url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
   }
   
   /* ── Container ── */
   .container {
     max-width: 480px;
     margin: 0 auto;
     padding: 0 16px 24px;
   }
   
.header {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;   /* 👈 increased size */
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 36px 0 6px;
  text-align: center;

  background: linear-gradient(135deg, var(--white) 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 🔥 FORCE BIG ON MOBILE */


@media (max-width: 600px) {
  .header {
    font-size: 6rem; /* 🔥 very bold on phones */
  }
}




   /* Sub-label above title (optional enhancement) */
   .header::before {
    content: 'NEW ARRIVALS';
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--accent);
    margin-bottom: 6px;
  
    text-shadow: 0 0 10px rgba(99,102,241,0.6);
  }

  
   
   /* ── Products Grid ── */
   .products {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 12px;
     margin-top: 28px;
   }
   
   /* ── Product Card ── */
   .product {
     background: var(--card-bg);
     border: 1px solid var(--border);
     border-radius: 14px;
     overflow: hidden;
     display: flex;
     flex-direction: column;
     position: relative;
     cursor: pointer;
     transition: transform 0.28s cubic-bezier(.22,.68,0,1.2),
                 border-color 0.25s ease,
                 box-shadow 0.25s ease;
     animation: card-in 0.5s ease both;
   }
   
   .product:nth-child(1) { animation-delay: 0.05s; }
   .product:nth-child(2) { animation-delay: 0.12s; }
   .product:nth-child(3) { animation-delay: 0.18s; }
   .product:nth-child(4) { animation-delay: 0.24s; }
   .product:nth-child(5) { animation-delay: 0.30s; }
   .product:nth-child(6) { animation-delay: 0.36s; }
   
   @keyframes card-in {
     from { opacity: 0; transform: translateY(18px); }
     to   { opacity: 1; transform: translateY(0); }
   }
   
   .product:hover {
     transform: translateY(-4px) scale(1.01);
     border-color: var(--accent);
     box-shadow: 0 8px 32px var(--accent-glow);
   }
   
   /* ── Product Image ── */
   .product img {
     width: 100%;
     aspect-ratio: 1 / 1;
     object-fit: cover;
     display: block;
     background: #222;
     transition: transform 0.4s ease;
   }
   
   .product:hover img {
     transform: scale(1.06);
   }
   
   /* ── Product Info ── */
   .product h3 {
     font-family: 'DM Sans', sans-serif;
     font-size: 12.5px;
     font-weight: 600;
     padding: 10px 12px 2px;
     line-height: 1.3;
     color: var(--white);
     letter-spacing: 0.01em;
   }
   
   .price {
     font-size: 13px;
     font-weight: 300;
     color: var(--gold);
     padding: 2px 12px 10px;
     letter-spacing: 0.02em;
   }
   
   /* ── Add to Cart Form ── */
   .product form {
     padding: 0 10px 12px;
     margin-top: auto;
   }
   
   .btn {
     width: 100%;
     padding: 9px 0;
     background: var(--accent);
     color: var(--white);
     border: none;
     border-radius: 8px;
     font-family: 'DM Sans', sans-serif;
     font-size: 12px;
     font-weight: 600;
     letter-spacing: 0.1em;
     text-transform: uppercase;
     cursor: pointer;
     transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
     position: relative;
     overflow: hidden;
   }
   
   .btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12); /* ✅ overlay effect */
    opacity: 0;
    transition: opacity 0.15s ease;
  }
   
   .btn:hover {
     background: #ff5520;
     box-shadow: 0 4px 16px var(--accent-glow);
   }
   
   .btn:hover::after { opacity: 1; }
   
   .btn:active {
     transform: scale(0.96);
   }
   
   /* ── Bottom Nav ── */
   .nav {
     position: fixed;
     bottom: 0;
     left: 0;
     right: 0;
     height: var(--nav-h);
     background: rgba(16, 16, 16, 0.88);
     backdrop-filter: blur(18px) saturate(1.4);
     -webkit-backdrop-filter: blur(18px) saturate(1.4);
     border-top: 1px solid var(--border);
     display: flex;
     align-items: center;
     justify-content: space-around;
     z-index: 100;
   }
   
   .nav span {
     font-size: 11px;
     font-weight: 600;
     letter-spacing: 0.12em;
     text-transform: uppercase;
     color: var(--muted);
     cursor: pointer;
     padding: 10px 20px;
     border-radius: 8px;
     transition: color 0.18s ease, background 0.18s ease;
     position: relative;
   }
   
   .nav span:first-child {
     color: var(--white);
   }
   
   .nav span:first-child::after {
     content: '';
     position: absolute;
     bottom: 4px;
     left: 50%;
     transform: translateX(-50%);
     width: 4px;
     height: 4px;
     border-radius: 50%;
     background: var(--accent);
   }
   
   .nav span:hover {
     color: var(--white);
     background: rgba(255,255,255,0.05);
   }
   


   .btn:active {
    transform: scale(0.96);
  }


  .product {
    -webkit-tap-highlight-color: transparent;
  }


  .remove {
    color: var(--accent);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: opacity 0.2s ease;
  }
  
  .remove:hover {
    opacity: 0.7;
  }


/* - home nav - */

.nav a {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 8px;
    transition: color 0.18s ease, background 0.18s ease;
    position: relative;
    text-decoration: none; /* removes blue underline */
  }
  
  .nav a:first-child {
    color: var(--white);
  }
  
  .nav a:first-child::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
  }
  
  .nav a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.05);
  }
  .input-group {
    margin-bottom: 12px;
  }
  
  .input-group label {
    font-size: 12px;
    color: var(--muted);
    display: block;
    margin-bottom: 6px;
  }
  
  .input-group select,
  .input-group input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #020617;
    color: var(--text);
    font-size: 14px;
  }

  @media (max-width: 768px) {

    .nav {
      flex-direction: column;
      gap: 10px;
      text-align: center;
    }
  
    .container {
      padding: 15px;
    }
  
    .header {
      font-size: 20px;
      text-align: center;
    }
  
    .products {
      grid-template-columns: 1fr; /* stack products */
      gap: 15px;
    }
  
    .product {
      padding: 12px;
    }
  
    .product img {
      height: auto;
    }
  
    form {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
  
    .input-group select,
    .input-group input {
      width: 100%;
    }
  
    .btn {
      width: 100%;
    }
  }

  @media (max-width: 768px) {

    .container {
      padding: 15px;
    }
  
    h2 {
      text-align: center;
      font-size: 20px;
    }
  
    .cart-item {
      padding: 12px;
      margin-bottom: 12px;
      border-radius: 12px;
    }
  
    .cart-item p {
      font-size: 14px;
    }
  
    .total-box {
      text-align: center;
      font-size: 16px;
      margin-top: 10px;
    }
  
    .btn {
      width: 100%;
      margin-top: 10px;
    }
  
    a.remove {
      display: inline-block;
      margin-top: 8px;
      font-size: 13px;
    }
  }


  .cart-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }


  .nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 12px;
    background: #111827;
    border-bottom: 1px solid #1f2937;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .nav a {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: 0.2s;
  }
  
  .nav a:hover {
    background: rgba(99,102,241,0.15);
    color: #6366f1;
  }


  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #111827;
    border-bottom: 1px solid #1f2937;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .logo {
    font-weight: 600;
    color: #e5e7eb;
  }
  
  .menu-btn {
    font-size: 20px;
    background: none;
    border: none;
    color: #e5e7eb;
    cursor: pointer;
  }
  
  .sidebar {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100%;
    background: #111827;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: 0.3s;
    z-index: 2000;
  }
  
  .sidebar a {
    color: #e5e7eb;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
  }
  
  .sidebar a:hover {
    background: rgba(99,102,241,0.15);
    color: #6366f1;
  }
  
  .sidebar.open {
    left: 0;
  }
  
  .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 26px;
    align-self: flex-end;
    cursor: pointer;
  }
  
  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 1500;
  }









   /* ── Scrollbar ── */
   ::-webkit-scrollbar { width: 4px; }
   ::-webkit-scrollbar-track { background: var(--black); }
   ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }