/* ============================================
   FONTS
   ============================================ */
@font-face {
  font-family: 'OGEnd';
  src: url('fonts/ogend.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SNT';
  src: url('fonts/snt.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'SNT', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
  transform: translateY(-100%);
  animation: slideInTopbar 0.5s ease 0.2s forwards;
}

@keyframes slideInTopbar {
  to {
    transform: translateY(0);
  }
}

.topbar-bg {
  position: relative;
  width: 100%;
  line-height: 0;
}

.topbar-swoosh {
  width: 100%;
  height: auto;
  display: block;
}

.topbar-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10px 20px 0;
  pointer-events: auto;
}

.topbar-logo {
  height: 42px;
  width: auto;
  margin-top: 4px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.topbar:not(.topbar-sticky) .topbar-logo {
  height: 160px;
  margin-top: 8px;
}

.topbar-logo-anim {
  margin-top: -37px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transform: scale(0.175);
  transform-origin: top center;
}

.menu-btn {
  position: absolute;
  right: 16px;
  top: 8px;
  pointer-events: auto;
}

.menu-btn-shape {
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 14px 4px;
  clip-path: polygon(
    0% 0%, 100% 0%,
    100% 85%,
    87% 85%, 75% 100%, 62% 85%,
    50% 85%, 37% 85%, 25% 100%, 12% 85%,
    0% 85%
  );
}

.menu-btn-text {
  font-family: 'SNT', sans-serif;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 1px;
}

.menu-btn-chevron {
  font-size: 10px;
  line-height: 1;
  transform: rotate(180deg);
  display: block;
  margin-top: -2px;
}

/* ============================================
   STICKY TOP BAR
   ============================================ */
.topbar-sticky {
  animation: none;
  position: fixed;
  z-index: 200;
  left: -7.5%;
  width: 115%;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
  clip-path: inset(45% 0 0 0);
}

.topbar-sticky.visible {
  transform: translateY(-45%);
}

.topbar-sticky .topbar-content {
  top: 45%;
}

.sticky-menu-drop {
  position: fixed;
  top: -100px;
  left: 50%;
  margin-left: -40px;
  width: 80px;
  z-index: 199;
  transition: top 0.1s ease;
}

.sticky-menu-drop.visible {
  top: 8vw;
  transition: top 0.4s ease;
}

.sticky-menu-drop.visible:hover {
  top: calc(8vw + 8px);
  transition: top 0.15s ease;
}

.sticky-menu-drop.bump {
  top: calc(8vw + 12px) !important;
  transition: top 0.1s ease !important;
}

.sticky-menu-drop.slide-up {
  top: -100px !important;
  transition: top 0.25s ease-in !important;
}

.menu-drop-svg {
  width: 100%;
  height: auto;
  display: block;
}

.topbar-sticky .topbar-logo {
  height: 110px;
  margin-top: 5px;
}

.topbar-sticky .topbar-logo-anim {
  margin-top: -42px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transform: scale(0.125);
  transform-origin: top center;
}

/* ============================================
   DROPDOWN MENU
   ============================================ */
.dropdown-menu {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  z-index: 199;
  transition: top 0.35s ease-in-out;
  pointer-events: none;
}

.dropdown-menu.open {
  top: 8vw;
  transition: top 0.4s ease-in-out;
  pointer-events: auto;
}

.dropdown-menu-inner {
  position: relative;
}

.dropdown-menu-bg {
  width: 100%;
  height: auto;
  display: block;
}

.dropdown-menu-bg polygon {
  fill: #000;
}

.dropdown-links {
  position: absolute;
  top: calc(15% + 20px);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.dropdown-links a {
  font-family: 'SNT', sans-serif;
  font-size: 22px;
  color: #fff;
  text-transform: uppercase;
  transition: color 0.2s;
}

.dropdown-links a:hover {
  color: #f16722;
}

.dropdown-retract {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  cursor: pointer;
}

.dropdown-retract img {
  width: 36px;
  height: auto;
  filter: brightness(0) invert(1);
}

/* ============================================
   MENU OVERLAY
   ============================================ */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 280px;
  background: #111;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.menu-overlay.open .menu-panel {
  transform: translateX(0);
}

.menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 32px;
}

.menu-close img {
  width: 32px;
  height: auto;
  filter: brightness(0) invert(1);
}

.menu-links {
  list-style: none;
}

.menu-links li {
  margin-bottom: 24px;
}

.menu-links a {
  font-family: 'SNT', sans-serif;
  font-size: 24px;
  color: #fff;
  transition: color 0.2s;
}

.menu-links a:hover {
  color: #f16722;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-bg {
  position: relative;
  width: 100%;
  line-height: 0;
}

.hero-photo {
  width: 100%;
  height: auto;
  display: block;
}

.hero-spence {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 101;
  pointer-events: none;
}

.hero-isolate {
  position: absolute;
  top: 0;
  left: 7px;
  right: -7px;
  z-index: 102;
  pointer-events: none;
}

.hero-characters {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   GALLERY / COLLECTION SECTION
   ============================================ */
.gallery {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  margin-top: -210px;
  aspect-ratio: 1916 / 943;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #000;
}

.gallery-glow-clip {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 28% 0);
}

.gallery-glow-wrap {
  position: absolute;
  inset: 0;
}

.gallery-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 300px));
  width: 175%;
  max-width: none;
}

.gallery-shelf {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 28.1%;
}

.gallery-shelf-mask {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 28.1%;
  background: #000;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
}

.gallery-reflect-clip {
  position: absolute;
  inset: 0;
  clip-path: inset(72% 0 0 0);
}

.gallery-reflect-wrap {
  position: absolute;
  inset: 0;
}

.gallery-reflect {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% - 50px));
  width: 175%;
  max-width: none;
}

.gallery-content {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.gallery-row {
  position: absolute;
  inset: 0;
}

.gallery-logo {
  position: absolute;
  left: calc(3% + 250px);
  top: 50%;
  transform: translateY(calc(-50% - 40px));
  width: 28%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.9));
  animation: logoRock 4s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes logoRock {
  0%, 100% { transform: translateY(calc(-50% - 40px)) rotate(0deg); }
  50% { transform: translateY(calc(-50% - 40px)) rotate(6deg); }
}

.gallery-products {
  position: absolute;
  right: calc(2% + 120px);
  top: 50%;
  transform: translateY(calc(-50% + 50px));
  width: 55%;
  max-width: 720px;
}

.gallery-shadow-clip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28.1%;
  overflow: hidden;
  z-index: 1;
}

.collection-shadow-wrap {
  position: absolute;
  right: calc(2% + 120px);
  top: 7px;
  width: 55%;
  max-width: 720px;
  transform-origin: center top;
}

.collection-shadow {
  width: 100%;
  height: auto;
  display: block;
}

.collection-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.shop-now-btn {
  position: absolute;
  bottom: calc(18% + 10px);
  left: calc(3% + 145px + 17.5%);
  transform: translateX(-50%);
  width: auto;
  text-align: center;
  z-index: 2;
  display: inline-block;
  background: #f16722;
  color: #fff;
  font-family: 'SNT', sans-serif;
  font-size: clamp(28px, 5.5vw, 56px);
  padding: 14px 40px;
  border-radius: 24px;
  letter-spacing: 2px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.shop-now-btn:hover {
  transform: translateX(-50%) scale(1.05);
  filter: brightness(1.15);
}

/* ============================================
   PRODUCT CATEGORIES
   ============================================ */
.categories {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 50px 20px 95px;
}

.categories-tagline {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.tagline-img {
  width: min(85%, 550px);
  height: auto;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 48px;
  max-width: 900px;
  margin: 0 auto;
  align-items: end;
}

.category-item {
  display: contents;
  text-decoration: none;
}

.category-circle {
  grid-row: 1;
  display: flex;
  justify-content: center;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.category-circle:hover {
  transform: scale(1.05);
}

.category-circle img {
  height: auto;
  max-width: 100%;
}

.category-label {
  grid-row: 2;
  font-family: 'SNT', sans-serif;
  font-size: clamp(14px, 2.8vw, 26px);
  color: #444;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   LOOKBOOK
   ============================================ */
.lookbook {
  position: relative;
  z-index: 1;
  width: 100%;
  line-height: 0;
}

.lookbook-img {
  width: 100%;
  height: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  position: relative;
  z-index: 1;
  background: #111;
  padding: 60px 40px 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto 40px;
  gap: 40px;
}

.footer-logo img {
  height: 60px;
  width: auto;
  max-width: none;
}

.footer-columns {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-family: 'SNT', sans-serif;
  font-size: 16px;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  font-family: 'SNT', sans-serif;
  font-size: 13px;
  color: #888;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #f16722;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.footer-bottom p {
  font-family: 'SNT', sans-serif;
  font-size: 12px;
  color: #555;
}

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.products-page {
  position: relative;
  z-index: 1;
  background: #fff;
  min-height: 100vh;
  padding: 0 40px 80px;
}

.products-header {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 120px;
}

.products-title {
  font-family: 'SNT', sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  color: #111;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.products-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: 'SNT', sans-serif;
  font-size: clamp(12px, 2vw, 16px);
  color: #888;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid #333;
  border-radius: 24px;
  background: none;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.filter-btn:hover {
  color: #222;
  border-color: #999;
}

.filter-btn.active {
  color: #fff;
  background: #f16722;
  border-color: #f16722;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card-img {
  aspect-ratio: 1 / 1;
  background: none;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-placeholder {
  font-family: 'SNT', sans-serif;
  font-size: 16px;
  color: #444;
  text-transform: uppercase;
}

.variant-toggles {
  display: flex;
  gap: 8px;
  padding: 0 4px;
  margin-bottom: 8px;
}

.variant-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ccc;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  padding: 0;
}

.variant-swatch:hover {
  border-color: #888;
}

.variant-swatch.active {
  border-color: #f16722;
  box-shadow: 0 0 0 2px #f16722;
}

.variant-swatch-text {
  width: auto;
  height: auto;
  border-radius: 14px;
  padding: 4px 12px;
  font-family: 'SNT', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  color: #888;
}

.variant-swatch-text.active {
  color: #fff;
  background: #222;
  border-color: #222;
  box-shadow: none;
}

.product-card-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 0 4px;
}

.product-card-logo {
  height: 28px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.product-card-name {
  font-family: 'SNT', sans-serif;
  font-size: clamp(13px, 1.8vw, 16px);
  color: #222;
  text-transform: uppercase;
}

.product-card-collection {
  font-family: 'SNT', sans-serif;
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .topbar-content {
    padding: 8px 16px 0;
  }

  .topbar-logo {
    height: 34px;
  }

  .menu-btn {
    right: 12px;
    top: 6px;
  }

  .menu-btn-text {
    font-size: 12px;
  }

  .gallery {
    padding: 28px 0 36px;
  }

  .gallery-logo {
    width: 75%;
    margin-bottom: 18px;
  }

  .gallery-products {
    width: 92%;
    margin-bottom: 20px;
  }

  .shop-now-btn {
    padding: 10px 32px;
    border-radius: 16px;
  }

  .categories {
    padding: 32px 16px 40px;
  }

  .categories-tagline {
    margin-bottom: 24px;
  }

  .categories-grid {
    gap: 14px;
  }

  .site-footer {
    padding: 40px 16px;
  }

  .products-page {
    padding: 0 20px 60px;
  }

  .products-header {
    padding-top: 90px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .topbar-content {
    padding: 6px 12px 0;
  }

  .topbar-logo {
    height: 28px;
  }

  .menu-btn {
    right: 8px;
    top: 4px;
  }

  .menu-btn-shape {
    padding: 6px 10px 3px;
  }

  .menu-btn-text {
    font-size: 10px;
  }

  .gallery {
    padding: 20px 0 28px;
  }

  .shop-now-btn {
    padding: 8px 24px;
    border-radius: 14px;
  }

  .categories {
    padding: 24px 12px 32px;
  }

  .categories-grid {
    gap: 10px;
  }

  .category-circle {
    margin-bottom: 6px;
  }

  .site-footer {
    padding: 32px 12px;
  }

  .products-page {
    padding: 0 12px 40px;
  }

  .products-header {
    padding-top: 70px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .filter-btn {
    padding: 6px 14px;
  }
}

/* ============================================
   PRODUCT CARD PRICE & ADD-TO-CART
   ============================================ */
.product-card-price {
  font-family: 'SNT', sans-serif;
  font-size: 14px;
  color: #444;
  margin-top: 2px;
}

.add-to-cart-btn {
  font-family: 'SNT', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  color: #fff;
  background: #f16722;
  border: none;
  border-radius: 8px;
  padding: 10px 0;
  margin-top: 10px;
  width: 100%;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.add-to-cart-btn:hover {
  background: #d85a1b;
  transform: scale(1.02);
}

.add-to-cart-btn:active {
  transform: scale(0.98);
}

/* ============================================
   CART ICON (in topbar)
   ============================================ */
.cart-icon-btn {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  padding: 4px;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #f16722;
  color: #fff;
  font-family: 'SNT', sans-serif;
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ============================================
   ACCOUNT ICON (in topbar)
   ============================================ */
.account-icon-btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  pointer-events: auto;
  display: flex;
  align-items: center;
  padding: 4px;
}

.account-icon-btn.logged-in svg {
  stroke: #f16722;
}

/* ============================================
   CART DRAWER
   ============================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 90vw;
  background: #111;
  z-index: 301;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #333;
}

.cart-panel-header h2 {
  font-family: 'SNT', sans-serif;
  font-size: 20px;
  color: #fff;
  text-transform: uppercase;
}

.cart-close-btn {
  color: #888;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.cart-close-btn:hover {
  color: #fff;
}

.cart-panel-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty-msg {
  font-family: 'SNT', sans-serif;
  font-size: 14px;
  color: #888;
  text-align: center;
  margin-top: 40px;
}

.cart-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid #222;
}

.cart-item-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.cart-item-title {
  font-family: 'SNT', sans-serif;
  font-size: 14px;
  color: #fff;
  flex: 1;
  margin-right: 12px;
}

.cart-item-price {
  font-family: 'SNT', sans-serif;
  font-size: 14px;
  color: #888;
  white-space: nowrap;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid #444;
  background: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'SNT', sans-serif;
}

.cart-qty-btn:hover {
  border-color: #888;
}

.cart-item-qty {
  font-family: 'SNT', sans-serif;
  font-size: 14px;
  color: #fff;
  min-width: 20px;
  text-align: center;
}

.cart-remove-btn {
  color: #666;
  cursor: pointer;
  background: none;
  border: none;
  padding: 2px;
  margin-left: auto;
}

.cart-remove-btn:hover {
  color: #f44;
}

.cart-panel-footer {
  padding: 20px 24px;
  border-top: 1px solid #333;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-family: 'SNT', sans-serif;
  font-size: 16px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cart-checkout-btn {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  background: #f16722;
  color: #fff;
  font-family: 'SNT', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.cart-checkout-btn:hover {
  background: #d85a1b;
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout-page {
  position: relative;
  z-index: 1;
  background: #000;
  min-height: 100vh;
  padding: 120px 40px 80px;
}

.checkout-layout {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
}

.checkout-title {
  font-family: 'SNT', sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.checkout-step {
  display: none;
}

.checkout-step.active {
  display: block;
}

.step-heading {
  font-family: 'SNT', sans-serif;
  font-size: 20px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #333;
}

.step-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* ---- Forms ---- */
.form-row {
  margin-bottom: 16px;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row-3col {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: 'SNT', sans-serif;
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-group input {
  font-family: 'SNT', sans-serif;
  font-size: 14px;
  padding: 12px 14px;
  background: #111;
  border: 1px solid #333;
  border-radius: 6px;
  color: #fff;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: #f16722;
}

.form-group input::placeholder {
  color: #555;
}

.form-error {
  font-family: 'SNT', sans-serif;
  font-size: 13px;
  color: #f44;
  margin-bottom: 12px;
}

/* ---- Buttons ---- */
.btn-primary {
  font-family: 'SNT', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  background: #f16722;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  background: #d85a1b;
}

.btn-primary:disabled {
  background: #555;
  cursor: not-allowed;
}

.btn-secondary {
  font-family: 'SNT', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  background: none;
  color: #888;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 14px 28px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  color: #fff;
  border-color: #888;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

/* ---- Shipping Options ---- */
.shipping-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #333;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.shipping-option.selected {
  border-color: #f16722;
}

.shipping-option input[type="radio"] {
  accent-color: #f16722;
}

.shipping-option-name {
  font-family: 'SNT', sans-serif;
  font-size: 14px;
  color: #fff;
  flex: 1;
}

.shipping-option-price {
  font-family: 'SNT', sans-serif;
  font-size: 14px;
  color: #888;
}

/* ---- Stripe Elements ---- */
.stripe-container {
  padding: 16px;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  min-height: 60px;
}

/* ---- Order Summary (checkout sidebar) ---- */
.checkout-summary {
  background: #111;
  border-radius: 12px;
  padding: 28px 24px;
  align-self: start;
  position: sticky;
  top: 120px;
}

.checkout-summary h2 {
  font-family: 'SNT', sans-serif;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #333;
}

.order-summary-item {
  display: flex;
  justify-content: space-between;
  font-family: 'SNT', sans-serif;
  font-size: 13px;
  color: #ccc;
  margin-bottom: 10px;
}

.order-summary-total {
  display: flex;
  justify-content: space-between;
  font-family: 'SNT', sans-serif;
  font-size: 16px;
  color: #fff;
  text-transform: uppercase;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid #333;
}

/* ---- Confirmation ---- */
.checkout-confirmation {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  padding: 60px 20px;
}

.confirmation-icon {
  margin-bottom: 24px;
}

.checkout-confirmation h2 {
  font-family: 'SNT', sans-serif;
  font-size: 32px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.confirmation-order-id {
  font-family: 'SNT', sans-serif;
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}

.checkout-confirmation p {
  font-family: 'SNT', sans-serif;
  font-size: 14px;
  color: #ccc;
  margin-bottom: 28px;
}

.checkout-confirmation .btn-primary {
  margin-right: 12px;
  margin-bottom: 12px;
}

.checkout-error {
  text-align: center;
  font-family: 'SNT', sans-serif;
  font-size: 16px;
  color: #888;
  padding: 80px 20px;
}

.checkout-error a {
  color: #f16722;
}

/* ============================================
   ACCOUNT PAGE
   ============================================ */
.account-page {
  position: relative;
  z-index: 1;
  background: #000;
  min-height: 100vh;
  padding: 120px 40px 80px;
}

.account-container {
  max-width: 560px;
  margin: 0 auto;
}

.account-title {
  font-family: 'SNT', sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 32px;
}

/* ---- Auth Forms ---- */
.auth-form {
  margin-bottom: 32px;
}

.auth-form h2 {
  font-family: 'SNT', sans-serif;
  font-size: 22px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.auth-toggle {
  font-family: 'SNT', sans-serif;
  font-size: 13px;
  color: #888;
  margin-top: 20px;
}

.auth-toggle button {
  font-family: 'SNT', sans-serif;
  font-size: 13px;
  color: #f16722;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
}

.auth-toggle button:hover {
  color: #fff;
}

/* ---- Dashboard ---- */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.dashboard-section {
  margin-bottom: 40px;
}

.dashboard-section h2 {
  font-family: 'SNT', sans-serif;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #333;
}

.profile-info {
  font-family: 'SNT', sans-serif;
  font-size: 14px;
  color: #ccc;
}

.profile-row {
  margin-bottom: 8px;
}

.profile-row strong {
  color: #fff;
}

/* ---- Order Cards ---- */
.order-card {
  background: #111;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.order-id {
  font-family: 'SNT', sans-serif;
  font-size: 14px;
  color: #fff;
}

.order-date {
  font-family: 'SNT', sans-serif;
  font-size: 12px;
  color: #888;
}

.order-card-body {
  display: flex;
  justify-content: space-between;
  font-family: 'SNT', sans-serif;
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}

.order-total {
  color: #fff;
}

.order-card-status {
  display: flex;
}

.status-badge {
  font-family: 'SNT', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  color: #f16722;
  border: 1px solid #f16722;
  border-radius: 4px;
  padding: 2px 8px;
}

.empty-msg,
.loading-text {
  font-family: 'SNT', sans-serif;
  font-size: 14px;
  color: #888;
}

/* ============================================
   CHECKOUT & ACCOUNT RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .checkout-page {
    padding: 90px 20px 60px;
  }

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

  .checkout-summary {
    position: static;
  }

  .form-row-2col,
  .form-row-3col {
    grid-template-columns: 1fr;
  }

  .account-page {
    padding: 90px 20px 60px;
  }

  .cart-panel {
    width: 100%;
    max-width: 100vw;
  }
}

@media (max-width: 480px) {
  .checkout-page {
    padding: 70px 12px 40px;
  }

  .account-page {
    padding: 70px 12px 40px;
  }

  .step-actions {
    flex-direction: column;
  }

  .step-actions .btn-primary,
  .step-actions .btn-secondary {
    width: 100%;
  }
}
