/* ==========================================================================
   FACTORY TAG — style.css
   Full production stylesheet for Factory Tag Menswear Storefront.
   Fully responsive across PC (>900px) and Mobile (<=900px).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --black: #0A0A0A;
  --navy: #0B1B3A;
  --charcoal: #141414;
  --charcoal-2: #1c1c1c;
  --charcoal-3: #262626;
  --white: #F5F5F5;
  --pure-white: #FFFFFF;
  --yellow: #FFD400;
  --grey: #9E9E9E;
  --light-grey: #D6D6D6;
  --line: rgba(245, 245, 245, 0.14);
  --line-strong: rgba(245, 245, 245, 0.28);
  --maxw: 1280px;
  --bnav-h: 62px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* Base resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  padding-bottom: 0;
}

/* Mobile app bottom padding */
@media (max-width: 899px) {
  body {
    padding-bottom: calc(var(--bnav-h) + var(--safe-bottom) + 12px);
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 900px) {
  .wrap {
    padding: 0 32px;
  }
}

.display {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid var(--white);
  min-height: 48px;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
}

.btn-solid {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.btn-solid:hover {
  background: #f0c600;
  border-color: #f0c600;
}

.btn-outline {
  background: transparent;
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.announce {
  background: var(--yellow);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.announce .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 32px;
}

@media (max-width: 600px) {
  .announce .wrap {
    justify-content: center;
    font-size: 10.5px;
  }
  .announce .wrap span:last-child {
    display: none;
  }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}

.wordmark {
  font-size: 22px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.wordmark .tag-word {
  color: var(--yellow);
}

nav.primary {
  display: none;
}

@media (min-width: 900px) {
  nav.primary {
    display: block;
  }
  nav.primary ul {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  nav.primary a {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--white);
    opacity: 0.85;
    padding: 8px 0;
    transition: opacity 0.15s, color 0.15s;
    border-bottom: 2px solid transparent;
  }
  nav.primary a:hover,
  nav.primary a.active {
    opacity: 1;
    color: var(--yellow);
    border-bottom-color: var(--yellow);
  }
  nav.primary a.sale {
    color: var(--yellow);
    opacity: 1;
  }
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hdr-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  min-height: 40px;
  color: var(--white);
  position: relative;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 4px;
  transition: color 0.15s;
}

.hdr-icon-btn:hover {
  color: var(--yellow);
}

.cart-count {
  background: var(--yellow);
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
  line-height: 14px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.burger {
  display: inline-flex;
}

@media (min-width: 900px) {
  .burger {
    display: none;
  }
}

/* Search bar overlay */
.search-bar {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--charcoal);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  z-index: 48;
}

.search-bar.open {
  display: block;
}

.search-form {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  background: var(--black);
  max-width: 600px;
  margin: 0 auto;
}

.search-form input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--white);
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.search-form button {
  padding: 0 16px;
  height: 44px;
  color: var(--grey);
}

.search-form button:hover {
  color: var(--yellow);
}

/* Mobile slide drawer */
#drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: 82%;
  max-width: 320px;
  background: var(--charcoal);
  border-left: 1px solid var(--line);
  transform: translateX(110%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(20px + var(--safe-bottom));
  overflow-y: auto;
}

#drawer.open {
  transform: translateX(0);
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

#drawer ul {
  padding: 10px 0;
  flex: 1;
}

#drawer li {
  border-bottom: 1px solid var(--line);
}

#drawer a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

#drawer a:hover,
#drawer a.sale {
  color: var(--yellow);
}

.drawer-bottom {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}

.drawer-bag-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  padding: 12px 16px;
  justify-content: center;
}

#scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 55;
}

#scrim.open {
  opacity: 1;
  pointer-events: auto;
}

/* Bottom mobile navigation bar (app style) */
.bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(12, 12, 12, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  height: calc(var(--bnav-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
}

@media (min-width: 900px) {
  .bottom-nav {
    display: none !important;
  }
}

.bnav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--grey);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 0;
}

.bnav-item.active,
.bnav-item:hover {
  color: var(--yellow);
}

.bnav-bag-icon-wrap {
  position: relative;
  display: flex;
}

.bnav-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--yellow);
  color: var(--black);
  font-size: 9px;
  font-weight: 800;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   HOMEPAGE SECTIONS
   ========================================================================== */
.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.9) 100%),
    repeating-linear-gradient(115deg, #161616 0 2px, #0e0e0e 2px 42px);
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
}

.hero .wrap {
  padding-top: 80px;
  padding-bottom: 60px;
}

.hero h1 {
  font-size: clamp(36px, 7vw, 76px);
  line-height: 0.95;
  margin-bottom: 18px;
}

.hero h1 .yellow {
  color: var(--yellow);
}

.hero p.lede {
  font-size: 15px;
  color: var(--grey);
  max-width: 440px;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Section styling */
section {
  padding: 60px 0;
}

section.alt {
  background: #0d121c;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(22px, 3.5vw, 36px);
}

.section-head .note {
  color: var(--grey);
  font-size: 12.5px;
}

/* Price Tiles */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (min-width: 768px) {
  .price-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .price-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.price-tile {
  background: var(--black);
  padding: 24px 18px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.18s;
}

.price-tile:hover {
  background: var(--charcoal-2);
}

.price-tile .amount {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 28px;
}

.price-tile .amount span {
  color: var(--yellow);
}

.price-tile .label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--grey);
  margin-top: 6px;
}

.price-tile .arrow {
  align-self: flex-end;
  font-size: 11px;
  color: var(--yellow);
  font-weight: 700;
}

/* Category Grid */
.cat-rail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 720px) {
  .cat-rail {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cat-tile {
  background: var(--charcoal);
  border: 1px solid var(--line);
  padding: 20px 16px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.18s;
}

.cat-tile:hover {
  border-color: var(--yellow);
}

.cat-tile .name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
}

.cat-tile .count {
  font-size: 11px;
  color: var(--grey);
}

/* Editorial banner */
.editorial {
  display: grid;
  gap: 30px;
}

@media (min-width: 900px) {
  .editorial {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.editorial .copy h2 {
  font-size: clamp(24px, 3.5vw, 42px);
  margin-bottom: 14px;
}

.editorial .copy p {
  color: var(--grey);
  margin-bottom: 20px;
  line-height: 1.6;
}

.editorial .visual {
  aspect-ratio: 4/3;
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.editorial .visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Banner */
.banner {
  border: 1px solid var(--yellow);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.banner h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 6px;
}

.banner p {
  color: var(--grey);
  max-width: 480px;
}

/* Store block */
.store-block {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .store-block {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
  }
}

.store-block .map {
  aspect-ratio: 16/10;
  min-height: 280px;
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.store-block .map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ==========================================================================
   PRODUCT CARDS (GRID ON HOME & SHOP)
   ========================================================================== */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 600px) {
  .prod-grid {
    gap: 20px;
  }
}

@media (min-width: 900px) {
  .prod-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.card .frame {
  aspect-ratio: 3/4;
  background: var(--pure-white);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card .frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.25s ease;
}

.card:hover .frame img {
  transform: scale(1.04);
}

.card .frame .tagchip {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--yellow);
  color: var(--black);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  z-index: 2;
  border-radius: 2px;
}

.card h3 {
  font-size: 13.5px;
  font-weight: 600;
  margin: 10px 0 2px;
  line-height: 1.35;
  color: var(--white);
}

.card .fit {
  font-size: 11.5px;
  color: var(--grey);
  margin-bottom: 6px;
}

.card .price {
  font-size: 14.5px;
  font-weight: 800;
  font-family: 'Manrope', sans-serif;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.card .price .old {
  color: var(--grey);
  font-weight: 500;
  text-decoration: line-through;
  font-size: 12px;
}

/* ==========================================================================
   SHOP PAGE
   ========================================================================== */
.breadcrumb {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb .current {
  color: var(--white);
}

.page-header {
  padding: 30px 0 10px;
}

.page-header h1 {
  font-size: clamp(26px, 4vw, 42px);
  margin-bottom: 6px;
}

.page-header .sub {
  color: var(--grey);
  font-size: 13px;
}

/* Mobile horizontal category chip rail */
.filter-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.filter-rail::-webkit-scrollbar {
  display: none;
}

.filter-rail-chip {
  flex-shrink: 0;
  background: var(--charcoal);
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.filter-rail-chip.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.shop-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  .shop-layout {
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: start;
  }
}

.filters {
  display: none;
}

@media (min-width: 900px) {
  .filters {
    display: block;
    position: sticky;
    top: 90px;
  }
}

.filters.open {
  display: block;
}

.filter-block {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.filter-block h4 {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--grey);
  margin-bottom: 12px;
}

.filter-block ul {
  display: grid;
  gap: 8px;
}

.filter-block a {
  font-size: 13px;
  color: var(--white);
  opacity: 0.85;
}

.filter-block a:hover,
.filter-block a.active {
  color: var(--yellow);
  opacity: 1;
  font-weight: 700;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 24px;
}

.sort-form {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--grey);
}

.sort-form select {
  background: var(--charcoal);
  color: var(--white);
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 12.5px;
  outline: none;
  font-family: inherit;
}

.empty-state {
  border: 1px dashed var(--line);
  padding: 60px 20px;
  text-align: center;
  color: var(--grey);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (PDP) - LIKE AMAZON/MYNTRA
   ========================================================================== */
.pdp-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

/* On desktop: 2 equal, clean columns */
@media (min-width: 900px) {
  .pdp-layout {
    grid-template-columns: 460px 1fr;
    gap: 50px;
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .pdp-layout {
    grid-template-columns: 500px 1fr;
    gap: 60px;
  }
}

.gallery {
  position: relative;
  width: 100%;
}

@media (min-width: 900px) {
  .gallery {
    position: sticky;
    top: 90px;
  }
}

.gallery-main {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--pure-white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cap max height on desktop so it never fills the whole screen */
@media (min-width: 900px) {
  .gallery-main {
    max-height: 560px;
  }
}

.gallery-main img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: auto;
}

.gallery-main .tagchip {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--yellow);
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  z-index: 2;
  border-radius: 2px;
}

.gallery-thumbs {
  display: none;
}

/* Buy box styling */
.buybox {
  display: flex;
  flex-direction: column;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--yellow);
  font-weight: 700;
  margin-bottom: 8px;
}

.buybox h1 {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.15;
  margin-bottom: 12px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.price-row .price {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 26px;
}

.price-row .old {
  color: var(--grey);
  text-decoration: line-through;
  font-size: 16px;
}

.pdp-desc {
  color: var(--grey);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.field-block {
  margin-bottom: 20px;
}

.field-block h4 {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 10px;
}

.size-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.size-head a {
  font-size: 11.5px;
  color: var(--yellow);
  text-decoration: underline;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-radio {
  position: relative;
  cursor: pointer;
}

.chip-radio input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.chip-radio span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  background: var(--charcoal);
  color: var(--white);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  min-width: 48px;
  border-radius: 4px;
  transition: all 0.15s;
}

.chip-radio input:checked + span {
  border-color: var(--yellow);
  background: rgba(255, 212, 0, 0.1);
  color: var(--yellow);
  font-weight: 700;
}

.chip-radio.oos span {
  color: var(--grey);
  opacity: 0.4;
  text-decoration: line-through;
}

.qty-stepper {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  background: var(--charcoal);
  border-radius: 4px;
}

.qty-stepper button {
  width: 40px;
  height: 40px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.qty-stepper button:hover {
  color: var(--yellow);
}

.qty-stepper input {
  width: 44px;
  height: 40px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}

.pdp-ctas {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.pdp-ctas .btn {
  flex: 1;
}

.pdp-note {
  min-height: 20px;
  font-size: 12.5px;
  color: var(--yellow);
  margin-top: 10px;
}

.accordion {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion summary::after {
  content: '+';
  font-size: 16px;
  color: var(--grey);
}

.accordion details[open] summary::after {
  content: '−';
}

.accordion p {
  color: var(--grey);
  font-size: 13.5px;
  line-height: 1.6;
  padding-bottom: 14px;
}

/* Sticky buy bar on mobile */
.sticky-buy-bar {
  display: none;
  position: fixed;
  bottom: calc(var(--bnav-h) + var(--safe-bottom));
  left: 0;
  right: 0;
  background: rgba(15, 15, 15, 0.98);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding: 10px 16px;
  z-index: 45;
  align-items: center;
  gap: 12px;
}

@media (max-width: 899px) {
  .sticky-buy-bar {
    display: flex;
  }
}

.sticky-buy-bar .price {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

.sticky-buy-bar .btn {
  flex: 1;
  min-height: 42px;
  padding: 10px;
  font-size: 11.5px;
}

/* ==========================================================================
   CART PAGE
   ========================================================================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

@media (min-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
  }
}

.cart-row {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

@media (max-width: 600px) {
  .cart-row {
    grid-template-columns: 70px 1fr;
    row-gap: 12px;
  }
  .cart-row .cart-price,
  .cart-row .remove-btn-form {
    grid-column: 2;
  }
}

.cart-thumb {
  width: 80px;
  aspect-ratio: 3/4;
  background: var(--pure-white);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-thumb img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.cart-info h3 {
  font-size: 14px;
  margin-bottom: 4px;
}

.cart-info .fit {
  font-size: 12px;
  color: var(--grey);
  margin-bottom: 8px;
}

.qty-stepper.small {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  background: var(--charcoal);
  border-radius: 4px;
}

.qty-stepper.small button {
  width: 32px;
  height: 32px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-stepper.small span {
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.cart-price {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
}

.remove-btn {
  color: var(--grey);
  font-size: 12px;
  padding: 6px;
}

.remove-btn:hover {
  color: var(--yellow);
}

.cart-summary {
  background: var(--charcoal);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 6px;
}

.cart-summary h2 {
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--grey);
}

.sum-row.total {
  color: var(--white);
  font-weight: 800;
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
}

/* Shipping bar */
.shipping-bar-track {
  height: 4px;
  background: var(--charcoal-3);
  border-radius: 2px;
  overflow: hidden;
}

.shipping-bar-fill {
  height: 100%;
  background: var(--yellow);
  transition: width 0.3s;
}

.shipping-bar-label {
  font-size: 12px;
  color: var(--yellow);
  margin-top: 6px;
  display: block;
}

/* ==========================================================================
   CHECKOUT PAGE
   ========================================================================== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

@media (min-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
  }
}

.checkout-steps {
  display: flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--grey);
}

.checkout-step.active {
  color: var(--yellow);
}

.checkout-step.done {
  color: var(--white);
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
}

.checkout-step.active .step-num {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.step-connector {
  flex: 1;
  height: 1px;
  background: var(--line);
  margin: 0 10px;
}

.checkout-form h4 {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--grey);
  margin: 24px 0 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.checkout-form h4:first-child {
  margin-top: 0;
}

.field {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 11.5px;
  color: var(--grey);
}

.field input,
.field textarea,
.field select {
  background: var(--charcoal);
  border: 1px solid var(--line-strong);
  color: var(--white);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  border-radius: 4px;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--yellow);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field-row.three {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 600px) {
  .field-row,
  .field-row.three {
    grid-template-columns: 1fr;
  }
}

.field .err {
  color: var(--yellow);
  font-size: 11.5px;
}

.pay-options {
  display: grid;
  gap: 10px;
}

.pay-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--line-strong);
  background: var(--charcoal);
  padding: 14px;
  border-radius: 4px;
  cursor: pointer;
}

.pay-option input {
  margin-top: 3px;
  accent-color: var(--yellow);
}

.pay-option small {
  color: var(--grey);
  display: block;
  margin-top: 2px;
}

.pay-option.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.placed-state {
  padding: 48px 24px;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.placed-state .check-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.placed-state h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

.placed-state p {
  color: var(--grey);
  margin-bottom: 24px;
}

/* ==========================================================================
   FOOTER & NEWSLETTER (CLEAN, UNCLUTTERED)
   ========================================================================== */
.newsletter {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 48px 0;
}

.newsletter h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  margin-bottom: 8px;
}

.newsletter p {
  color: var(--grey);
  font-size: 13.5px;
  margin-bottom: 18px;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
}

.newsletter-form input {
  flex: 1;
  background: var(--charcoal);
  border: 1px solid var(--line-strong);
  border-right: 0;
  color: var(--white);
  padding: 12px 16px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
}

.newsletter-form button {
  background: var(--yellow);
  color: var(--black);
  padding: 0 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

footer.site {
  padding: 48px 0 24px;
  color: var(--grey);
  font-size: 13px;
  background: var(--black);
}

.foot-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

.foot-brand p {
  margin-top: 12px;
  line-height: 1.6;
  font-size: 13px;
}

.foot-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.foot-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  color: var(--grey);
  border-radius: 4px;
  transition: color 0.15s, border-color 0.15s;
}

.foot-social a:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.foot-grid h4 {
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.foot-grid ul {
  display: grid;
  gap: 10px;
}

.foot-grid a {
  color: var(--grey);
  font-size: 13px;
  transition: color 0.15s;
}

.foot-grid a:hover {
  color: var(--white);
}

.foot-bottom {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11.5px;
}

/* ==========================================================================
   SIZE SELECTION POPUP / BOTTOM SHEET & TOAST
   ========================================================================== */
.size-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.size-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.size-modal-sheet {
  background: #141414;
  width: 100%;
  max-width: 520px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  padding: 24px 20px calc(24px + var(--safe-bottom));
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.85);
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.size-modal-backdrop.open .size-modal-sheet {
  transform: translateY(0);
}

@media (min-width: 900px) {
  .size-modal-backdrop {
    align-items: center;
  }
  .size-modal-sheet {
    border-radius: 16px;
    border-bottom: 1px solid var(--line-strong);
    padding: 28px 28px 30px;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
  }
  .size-modal-backdrop.open .size-modal-sheet {
    transform: scale(1) translateY(0);
  }
}

.size-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.size-modal-pill {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
}

.size-modal-sheet h3 {
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 4px;
}

.size-modal-sub {
  font-size: 13px;
  color: var(--grey);
}

.size-modal-sub .price-val {
  color: var(--yellow);
  font-weight: 700;
}

.size-modal-close {
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.size-modal-close:hover {
  background: var(--yellow);
  color: var(--black);
}

.size-modal-instruction {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--light-grey);
  margin-bottom: 14px;
}

.size-modal-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.size-modal-chip {
  background: var(--charcoal-2);
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--white);
}

.size-modal-chip .sz-name {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.size-modal-chip .sz-hint {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--grey);
  text-transform: uppercase;
}

.size-modal-chip:hover:not(:disabled) {
  border-color: var(--yellow);
  background: rgba(255, 212, 0, 0.08);
}

.size-modal-chip.selected {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 0 16px rgba(255, 212, 0, 0.4);
}

.size-modal-chip.selected .sz-name {
  color: var(--black);
}

.size-modal-chip.selected .sz-hint {
  color: var(--black);
  font-weight: 800;
}

.size-modal-chip.oos,
.size-modal-chip:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-style: dashed;
}

.size-modal-chip.oos .sz-name {
  text-decoration: line-through;
}

.modal-size-alert {
  background: rgba(255, 212, 0, 0.15);
  border: 1px solid var(--yellow);
  color: var(--yellow);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
  animation: shake 0.4s ease;
}

.size-modal-footer .btn {
  width: 100%;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  padding: 14px 20px;
}

/* Floating Toast Alert */
.size-toast-alert {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #FFD400;
  color: #0A0A0A;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 12px 22px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.size-toast-alert.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Attention pulsing animation for on-page size selector */
.field-block.highlight-required {
  border: 1.5px solid var(--yellow);
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 212, 0, 0.05);
  animation: pulse-border 1.5s infinite alternate;
}

@keyframes pulse-border {
  from { box-shadow: 0 0 0px rgba(255, 212, 0, 0); }
  to { box-shadow: 0 0 14px rgba(255, 212, 0, 0.4); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
