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

:root {
  --bg: #000;
  --text: #fff;
  --accent: #ff0000;
  --accent-dim: #a20000;
  --muted: #888;
  --border: #222;
  --card-bg: #0a0a0a;
  --site-max: 1280px;
  --site-pad: 5vw;
  --sidebar-w: min(11vw, 140px);
  --main-gap: 10px;
  --page-border-h: 4px;
  --top-bar-offset: 10px;
  --top-bar-py: 7.5px;
  --top-bar-lh: 32.32px;
  --header-bottom: calc(
    var(--page-border-h) + var(--top-bar-offset) + var(--top-bar-py) * 2 +
      var(--top-bar-lh)
  );
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Courier New", Courier, monospace;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button {
  cursor: pointer;
  font-family: inherit;
}

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

/* ========== Fixed Header ========== */

.site-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg);
}

.page-border {
  height: var(--page-border-h);
  background: var(--accent);
}

/* ========== Top Bar ========== */

.top-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: calc(var(--top-bar-offset) + var(--top-bar-py)) var(--site-pad)
    var(--top-bar-py);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: 10.8px;
  line-height: var(--top-bar-lh);
  color: var(--accent);
}

.top-bar a {
  color: var(--accent);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0;
}

.search-bar {
  display: flex;
  align-items: center;
  border: none;
  background: none;
}

.search-bar-btn {
  background: none;
  border: none;
  padding: 0 6px;
  display: flex;
  align-items: center;
}

.search-bar-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--accent);
  color: var(--text);
  font-family: "Courier New", Courier, monospace;
  font-size: 10.2px;
  padding: 0;
  width: min(160px, 28vw);
  outline: none;
  text-transform: uppercase;
}

.search-bar-input::placeholder {
  color: var(--accent);
  opacity: 1;
  text-transform: uppercase;
}

.divider {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: var(--border);
  margin: 0 14px;
}

.top-bar-cart {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 25px;
  font-size: inherit;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.top-bar-checkout {
  font-size: inherit;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.top-bar-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: inherit;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.top-bar-cart:hover,
.top-bar-checkout:hover,
.top-bar-link:hover {
  opacity: 0.8;
}

/* ========== Mobile Menu Toggle ========== */

.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: calc(var(--header-bottom) + 8px);
  right: var(--site-pad);
  z-index: 1001;
  background: none;
  border: none;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-toggle .line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s;
}

/* ========== Site Layout ========== */

.site-wrapper {
  display: flex;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 var(--site-pad);
  margin-top: var(--header-bottom);
  min-height: calc(100vh - var(--header-bottom));
}

/* ========== Sidebar ========== */

.sidebar {
  position: fixed;
  top: var(--header-bottom);
  left: var(--site-pad);
  width: var(--sidebar-w);
  max-width: 250px;
  height: calc(100vh - var(--header-bottom));
  padding: 20px 0 0 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 50;
}

.sidebar-logo {
  margin-bottom: 20px;
}

.sidebar-logo img {
  width: 140px;
  height: auto;
}

.logo-accent {
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin-top: 8px;
}

.sidebar-nav ul {
  list-style: none;
}

.sidebar-nav ul li {
  margin: 0;
}

.sidebar-nav .nav-link {
  display: block;
  width: 100%;
  padding: 6px 0;
  padding-left: 10px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s, border-color 0.2s;
  border-left: 2px solid transparent;
}

.sidebar-nav .nav-link:hover {
  color: var(--text);
}

.sidebar-nav .nav-link.active {
  color: var(--accent);
  border-left-color: var(--accent);
}

.sidebar-footer {
  margin-top: auto;
  padding: 16px 0 24px 0;
}

.social-icon {
  display: inline-block;
  color: var(--muted);
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: 50%;
  padding: 6px;
  line-height: 0;
  transition: color 0.2s, border-color 0.2s;
}

.social-icon:hover {
  color: var(--accent);
  border-color: var(--accent);
}

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

.footer-links li {
  margin-bottom: 0;
}

.footer-links a {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ========== Main Content ========== */

.main-content {
  flex: 1;
  margin-left: calc(var(--sidebar-w) + var(--main-gap));
  padding: 0 0 0 0;
  min-width: 0;
}

/* ========== Collection Header ========== */

.collection-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 24px 0 16px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.collection-title {
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--text);
}

.collection-count {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== Product Grid ========== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 14px;
}

.product {
  text-align: left;
}

.product-image-wrap {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.product:hover .product-image-wrap {
  border-color: var(--accent);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product:hover .product-image {
  transform: scale(1.06);
}

.product-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s;
}

.product:hover .product-overlay {
  opacity: 1;
}

.product-overlay span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text);
  background: var(--accent);
  padding: 6px 16px;
  font-weight: 700;
}

.product-info {
  padding: 10px 0 0 0;
}

.product-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.4;
}

.product-price {
  font-size: 11px;
  color: var(--muted);
}

.sold-out {
  color: var(--accent);
  font-weight: 700;
}

/* ========== Bottom Bar ========== */

.bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0 20px 0;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== Desktop padding-top for main ========== */

@media (min-width: 750px) {
  .main-content {
    padding-top: 0;
  }
}

/* ========== Cart Drawer ========== */

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 90vw;
  height: 100%;
  background: #0a0a0a;
  border-left: 1px solid var(--border);
  z-index: 1101;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

.cart-drawer-box {
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.cart-drawer-header h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 400;
}

.cart-drawer-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-drawer-items {
  font-size: 11px;
  color: var(--muted);
}

.cart-drawer-close {
  background: none;
  border: none;
  color: var(--text);
  display: flex;
  align-items: center;
  padding: 0;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-drawer-empty {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 40px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-thumb {
  width: 64px;
  height: 64px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-thumb img {
  width: 80%;
  height: auto;
  object-fit: contain;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-qty button {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 22px;
  height: 22px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.cart-item-qty button:hover {
  border-color: var(--accent);
}

.cart-item-qty span {
  font-size: 11px;
  min-width: 14px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 18px;
  align-self: flex-start;
  padding: 0;
  transition: color 0.2s;
}

.cart-item-remove:hover {
  color: var(--accent);
}

.cart-drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.checkout-btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: background 0.2s;
}

.checkout-btn:hover {
  background: var(--accent-dim);
}

/* ========== Responsive ========== */

@media (max-width: 749px) {
  .top-bar {
    padding: var(--top-bar-py) 12px;
  }

  .search-bar {
    display: none;
  }

  .divider:first-of-type {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(280px, 85vw);
    max-width: none;
    height: 100%;
    padding: calc(var(--header-bottom) + 16px) 20px 24px;
    background: var(--bg);
    border-right: 1px solid var(--border);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar nav {
    margin-bottom: 10px;
    padding-top: 10px;
  }

  .main-content {
    margin-left: 0;
    padding: 0 0 32px 0;
  }

  .collection-header {
    padding: 16px 0 12px 0;
    margin-bottom: 14px;
  }

  .collection-title {
    font-size: 16px;
    letter-spacing: 3px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
  }

  .product-overlay {
    display: none;
  }
}

@media (max-width: 600px) {
  .top-bar-checkout {
    display: none;
  }

  .divider:last-of-type {
    display: none;
  }

  .product-title {
    font-size: 9px;
  }

  .product-price {
    font-size: 10px;
  }
}

/* ========== Loading State ========== */

.loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ========== Modal (Login / Register / Forgot) ========== */

.modal-overlay,
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.open,
.drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 380px;
  max-width: 92vw;
  max-height: 90vh;
  overflow-y: auto;
  background: #0a0a0a;
  border: 1px solid var(--border);
  z-index: 1201;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

.modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.modal-box {
  padding: 30px 24px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  display: flex;
  align-items: center;
  padding: 0;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text);
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.auth-tab-btn {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px 0;
  transition: color 0.2s, border-color 0.2s;
}

.auth-tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: var(--accent);
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row .form-group {
  flex: 1;
}

.auth-error {
  font-size: 10px;
  color: var(--accent);
  margin-bottom: 12px;
  min-height: 14px;
}

.auth-desc {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.auth-submit {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 14px;
}

.auth-submit:hover {
  background: var(--accent-dim);
}

.auth-link {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 6px;
}

.auth-link a {
  color: var(--accent);
  transition: opacity 0.2s;
}

.auth-link a:hover {
  opacity: 0.7;
}

/* ========== Account Drawer ========== */

.account-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 92vw;
  height: 100%;
  background: #0a0a0a;
  border-left: 1px solid var(--border);
  z-index: 1201;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

.account-drawer-box {
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.account-drawer-header h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 400;
}

.account-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.account-detail {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.account-detail span:first-child {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 9px;
}

.orders-title {
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin: 24px 0 12px 0;
}

.no-orders {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  padding: 20px 0;
}

.order-card {
  border: 1px solid var(--border);
  padding: 14px;
  margin-bottom: 10px;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.order-header span:first-child {
  font-size: 11px;
  font-weight: 700;
}

.order-status {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
}

.order-meta {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 6px;
}

.order-items {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.account-drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
}

.logout-btn {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.logout-btn:hover {
  background: var(--accent);
  color: #fff;
}

/* ========== Product Detail Modal ========== */

.pdp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.pdp-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.pdp-modal {
  position: fixed;
  inset: 0;
  z-index: 1301;
  background: var(--bg);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.pdp-modal.open {
  opacity: 1;
  pointer-events: all;
}

.pdp-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 1302;
  background: none;
  border: none;
  color: var(--muted);
  display: flex;
  align-items: center;
  padding: 8px;
  transition: color 0.2s;
}

.pdp-close:hover {
  color: var(--text);
}

.pdp-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px var(--site-pad) 60px;
}

.pdp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.pdp-gallery {
  position: sticky;
  top: 40px;
}

.pdp-main-image {
  position: relative;
  aspect-ratio: 1;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
}

.pdp-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.pdp-nav:hover {
  background: rgba(0, 0, 0, 0.9);
}

.pdp-nav-next {
  right: 10px;
}

.pdp-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pdp-thumb {
  width: 64px;
  height: 64px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s;
}

.pdp-thumb.active {
  border-color: var(--accent);
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp-info {
  padding-top: 10px;
}

.pdp-title {
  font-family: "Courier New", Courier, monospace;
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.pdp-price {
  font-size: 18px;
  margin-bottom: 28px;
  color: var(--text);
}

.pdp-option-group {
  margin-bottom: 20px;
}

.pdp-option-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 10px;
}

.pdp-color-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pdp-color-thumb {
  width: 52px;
  height: 52px;
  background: var(--card-bg);
  border: 2px solid var(--border);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s;
}

.pdp-color-thumb.active {
  border-color: var(--accent);
}

.pdp-color-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp-size-options {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.pdp-size-btn {
  min-width: 52px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 14px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.pdp-size-btn:hover {
  border-color: var(--text);
}

.pdp-size-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pdp-size-btn.unavailable {
  color: var(--muted);
  opacity: 0.4;
  text-decoration: line-through;
}

.pdp-add-btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  cursor: pointer;
  transition: background 0.2s;
  margin: 24px 0;
}

.pdp-add-btn:hover:not(:disabled) {
  background: var(--accent-dim);
}

.pdp-add-btn:disabled {
  background: var(--border);
  color: var(--muted);
  cursor: default;
}

.pdp-description {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.pdp-description ul {
  list-style: disc;
  padding-left: 18px;
  margin: 8px 0;
}

.pdp-description li {
  margin-bottom: 4px;
}

.pdp-description a {
  color: var(--accent);
  text-decoration: underline;
}

/* ========== Policy pages (shipping, etc.) ========== */

.policy-body {
  min-height: 100vh;
}

.top-bar-policy {
  justify-content: flex-start;
  padding-left: var(--site-pad);
}

.policy-back {
  font-size: 10.8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  transition: opacity 0.2s;
}

.policy-back:hover {
  opacity: 0.8;
}

.policy-page {
  max-width: 640px;
  margin: 0 auto;
  padding: calc(var(--header-bottom) + 32px) var(--site-pad) 60px;
}

.policy-title {
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 28px;
  color: var(--text);
}

.policy-content {
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
}

.policy-content p {
  margin-bottom: 16px;
}

.policy-content p:last-child {
  margin-bottom: 0;
}

.policy-content-caps {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 11px;
}

.policy-content a {
  color: var(--accent);
  text-decoration: underline;
}

.policy-content a:hover {
  opacity: 0.85;
}

.policy-page-terms {
  max-width: 720px;
}

.policy-section {
  margin-bottom: 28px;
}

.policy-section:last-of-type {
  margin-bottom: 0;
}

.policy-section h2 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 700;
}

.policy-section h3 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin: 18px 0 8px;
  font-weight: 400;
}

.policy-section h3:first-child {
  margin-top: 0;
}

.policy-section p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section ul {
  margin: 8px 0 14px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.policy-section li {
  margin-bottom: 6px;
}

.policy-clause {
  color: var(--accent);
  font-weight: 700;
  margin-right: 6px;
}

@media (max-width: 749px) {
  .pdp-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pdp-gallery {
    position: static;
  }

  .pdp-content {
    padding: 60px 16px 40px;
  }

  .pdp-title {
    font-size: 16px;
  }

  .pdp-price {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .pdp-thumb {
    width: 50px;
    height: 50px;
  }

  .pdp-color-thumb {
    width: 44px;
    height: 44px;
  }
}
