
/* =========================================================
   VOID — Stylesheet
   Original design preserved: colors, fonts, sizing & motion
   ========================================================= */

/* 01. Variables & Global Settings
   ========================================================= */

:root {
  --bg: #3b2a1c;
  --ac: #ecd9b8;
  --ink: #fff7ee;

  --d: 'Unbounded', 'Arial Black', sans-serif;
  --b: 'Instrument Sans', system-ui, sans-serif;

  color-scheme: dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--b);
  overflow-x: hidden;
  transition: background 0.9s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      60vmax 40vmax at 50% 45%,
      rgba(255, 255, 255, 0.16),
      transparent 70%
    ),
    radial-gradient(
      90vmax 70vmax at 50% 120%,
      rgba(0, 0, 0, 0.55),
      transparent 70%
    );
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--ac);
  outline-offset: 3px;
}


/* 02. Navigation
   ========================================================= */

nav {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  z-index: 20;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px clamp(18px, 4vw, 48px);
}

.logo {
  font-family: var(--d);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.navr {
  display: flex;
  gap: 10px;
  align-items: center;
}

nav a.cta,
.add {
  background: var(--ink);
  color: #1a1210;
  border-radius: 99px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  border: 0;
  transition: transform 0.25s;
}

nav a.cta:hover,
.add:hover {
  transform: scale(1.07) rotate(-2deg);
}

.cartbtn {
  background: none;
  border: 2px solid var(--ink);
  border-radius: 99px;
  padding: 7px 8px 7px 16px;
  font-weight: 600;
  font-size: 14px;

  display: flex;
  gap: 10px;
  align-items: center;
}

.cartbtn b {
  background: var(--ink);
  color: #1a1210;
  border-radius: 99px;
  min-width: 24px;
  height: 24px;

  display: grid;
  place-items: center;

  font-size: 12px;
  padding: 0 6px;
}

.cartbtn b.bump {
  animation: bump 0.5s;
}

@keyframes bump {
  40% {
    transform: scale(1.7) rotate(-10deg);
  }
}


/* 03. Hero Section
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;

  display: grid;
  place-items: center;

  overflow: hidden;
  z-index: 1;
}

.word {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);

  font-family: var(--d);
  font-weight: 900;
  font-size: clamp(150px, 38vw, 640px);
  line-height: 1;
  letter-spacing: -0.06em;

  color: transparent;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--ac) 55%, transparent);

  user-select: none;
  white-space: nowrap;

  animation: drift 14s ease-in-out infinite alternate;
}

@keyframes drift {
  to {
    transform: translate(-50%, -52%) scale(1.06) rotate(-1.5deg);
  }
}


/* 04. Cap Carousel & 3D Stage
   ========================================================= */

.stage {
  position: relative;
  width: 100%;
  height: min(62vh, 560px);
  perspective: 1500px;
  margin-top: 8vh;
  touch-action: pan-y;
  cursor: grab;
  z-index: 2;
}

.stage:active {
  cursor: grabbing;
}

.tilt {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

.ring {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ring.drag {
  transition: none;
}

.slot {
  position: absolute;
  left: 50%;
  top: 50%;

  width: min(78vw, 620px);
  margin: -25% 0 0 calc(min(78vw, 620px) / -2);

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;

  opacity: 0;
  transition: opacity 0.55s ease;
}

.slot.on {
  opacity: 1;
}

.slot img {
  width: 100%;
  display: block;

  pointer-events: none;
  user-select: none;

  filter: drop-shadow(0 50px 40px rgba(0, 0, 0, 0.45));
  animation: float 5s ease-in-out infinite alternate;
}

.slot:nth-child(even) img {
  animation-delay: -2.5s;
}

@keyframes float {
  from {
    transform: translateY(-14px) rotateZ(-1.5deg);
  }

  to {
    transform: translateY(14px) rotateZ(1.5deg);
  }
}


/* 05. Hero Text & Product Selection
   ========================================================= */

.copy {
  position: absolute;
  z-index: 3;
  left: clamp(18px, 4vw, 48px);
  bottom: clamp(24px, 6vh, 60px);
  max-width: 520px;
}

.copy h1 {
  font-family: var(--d);
  font-weight: 900;
  font-size: clamp(28px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
}

.copy p {
  margin: 0;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
  opacity: 0.85;
  max-width: 38ch;
}

.pick {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 4vw, 48px);
  bottom: clamp(24px, 6vh, 60px);

  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.pick button {
  background: none;
  border: 0;
  padding: 4px 0;

  font-family: var(--d);
  font-weight: 300;
  font-size: 14px;

  opacity: 0.5;
  transition: 0.3s;

  display: flex;
  gap: 10px;
  align-items: center;
}

.pick button::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  transition: 0.3s;
}

.pick button[aria-current=true] {
  opacity: 1;
  font-weight: 700;
}

.pick button[aria-current=true]::after {
  background: var(--ink);
  transform: scale(1.4);
}

.scrollhint {
  position: absolute;
  z-index: 3;
  bottom: 14px;
  left: 50%;
  translate: -50% 0;
  font-size: 12px;
  opacity: 0.6;
}


/* 06. Scrolling Brand Belt
   ========================================================= */

.belt {
  position: relative;
  z-index: 1;
  overflow: hidden;

  background: var(--ink);
  color: #1a1210;

  padding: 18px 0;
  transform: rotate(-1.6deg) scale(1.03);
  margin: 10px 0 70px;
}

.belt div {
  display: flex;
  gap: 48px;
  width: max-content;

  font-family: var(--d);
  font-weight: 900;
  font-size: clamp(20px, 3vw, 34px);
  letter-spacing: -0.03em;

  animation: belt 22s linear infinite;
}

@keyframes belt {
  to {
    transform: translateX(-50%);
  }
}


/* 07. Shop & Product Grid
   ========================================================= */

.shop {
  position: relative;
  z-index: 1;
  padding: 0 clamp(18px, 4vw, 48px) 100px;
}

.shop h2 {
  font-family: var(--d);
  font-weight: 900;
  font-size: clamp(34px, 6vw, 86px);
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0 0 12px;
}

.shop > p {
  margin: 0 0 48px;
  opacity: 0.8;
  max-width: 46ch;
  line-height: 1.5;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 26px;
  perspective: 1200px;
}

.card {
  border-radius: 28px;
  padding: 20px;
  background: var(--c);

  transition: transform 0.25s ease-out, box-shadow 0.3s;
  transform-style: preserve-3d;

  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.card:nth-child(3n+2) {
  margin-top: 34px;
}

.pic {
  height: 240px;
  display: grid;
  place-items: center;
  transform: translateZ(60px);
}

.pic img {
  max-width: 100%;
  max-height: 100%;
  filter: drop-shadow(0 24px 18px rgba(0, 0, 0, 0.4));
}

.pic img.flip {
  animation: flip 0.5s;
}

@keyframes flip {
  from {
    transform: rotateY(90deg) scale(0.8);
    opacity: 0;
  }
}

.views {
  display: flex;
  gap: 6px;
  margin: 14px 0;
  transform: translateZ(30px);
}

.views button {
  background: rgba(0, 0, 0, 0.25);
  border: 0;
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 13px;
}

.views button[aria-pressed=true] {
  background: var(--ink);
  color: #1a1210;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  transform: translateZ(40px);
}

.row h3 {
  font-family: var(--d);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.03em;
  margin: 0;
}

.row small {
  display: block;
  opacity: 0.75;
  margin-top: 4px;
}


/* 08. Footer
   ========================================================= */

footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 20px 90px;
  overflow: hidden;
}

footer b {
  display: block;
  font-family: var(--d);
  font-weight: 900;
  font-size: clamp(80px, 26vw, 380px);
  letter-spacing: -0.07em;
  line-height: 0.9;

  color: transparent;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--ac) 60%, transparent);
}

footer p {
  opacity: 0.7;
  margin: 20px 0 0;
}


/* 09. Shopping Cart
   ========================================================= */

.shade {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  z-index: 40;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;

  width: min(100%, 430px);
  z-index: 50;

  background: #fff7ee;
  color: #1a1210;

  transform: perspective(1200px) translateX(105%) rotateY(-28deg);
  transform-origin: right center;
  visibility: hidden;

  transition:
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0s 0.6s;

  display: flex;
  flex-direction: column;

  padding:
    calc(22px + env(safe-area-inset-top, 0px))
    22px
    calc(22px + env(safe-area-inset-bottom, 0px));

  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.5);
}

body.cart-open .drawer {
  transform: none;
  visibility: visible;
  transition-delay: 0s;
}

body.cart-open .shade {
  opacity: 1;
  pointer-events: auto;
}

.dh {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.dh h2 {
  font-family: var(--d);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.04em;
  margin: 0;
}

.x {
  background: #1a1210;
  color: #fff7ee;
  border: 0;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 18px;
}

.ship {
  font-size: 13px;
  margin-bottom: 16px;
}

.bar {
  height: 6px;
  border-radius: 9px;
  background: #e6d9c8;
  margin-top: 8px;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  width: 0;
  background: #c8123f;
  border-radius: 9px;
  transition: width 0.5s;
}

.items {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.it {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 12px;
  align-items: center;

  background: #fff;
  border-radius: 18px;
  padding: 10px;

  animation: pop 0.35s;
}

@keyframes pop {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
}

.it .th {
  height: 70px;
  border-radius: 12px;
  background: var(--c);
  display: grid;
  place-items: center;
}

.it img {
  max-width: 90%;
  max-height: 90%;
}

.it h4 {
  font-family: var(--d);
  font-size: 13px;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.it small {
  opacity: 0.7;
}

.qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #1a1210;
  background: none;
  color: #1a1210;
  line-height: 1;
}

.rm {
  background: none;
  border: 0;
  color: #1a1210;
  opacity: 0.6;
  font-size: 13px;
  text-decoration: underline;
  align-self: start;
}

.empty {
  margin: auto;
  text-align: center;
  line-height: 1.5;
}

.empty p {
  margin: 0 0 18px;
}

.tot {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 18px;
  padding: 16px 0 12px;
  border-top: 1px solid #e6d9c8;
  margin-top: 12px;
}

.drawer .add {
  width: 100%;
  background: #1a1210;
  color: #fff7ee;
  padding: 15px;
  font-size: 16px;
}

.drawer .add[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}

.note {
  font-size: 12px;
  opacity: 0.65;
  margin: 10px 0 0;
  text-align: center;
  min-height: 1em;
}


/* 10. Responsive Layout
   ========================================================= */

@media (max-width: 700px) {
  .navr .cta {
    display: none;
  }

  .copy {
    bottom: 150px;
  }

  .pick {
    bottom: 24px;
    right: auto;
    left: 18px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .pick button span {
    display: none;
  }

  .stage {
    margin-top: 2vh;
  }

  .card:nth-child(3n+2) {
    margin-top: 0;
  }
}


/* 11. Accessibility
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.01s !important;
  }
}


/* 12. Cap Visibility Fix
   ========================================================= */

/* تم الحفاظ على التعليق الأصلي بدون إضافة قواعد تغيّر التصميم. */


/* مساحة الهيرو */
.hero {
  min-height: calc(100svh - 130px);
  height: auto;
  overflow: hidden;
  position: relative;
}

/* منطقة عرض الكاب */
.hero__visual,
.hero-visual,
.hero__stage,
.carousel-stage {
  min-height: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* صورة الكاب */
.hero img {
  max-width: 100%;
  max-height: 65svh;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* ضبط الشاشات المتوسطة */
@media (max-width: 900px) {
  .hero {
    min-height: 720px;
  }

  .hero img {
    max-height: 48svh;
    max-width: 90%;
  }
}

/* ضبط الموبايل */
@media (max-width: 600px) {
  .hero {
    min-height: 680px;
    height: auto;
  }

  .hero img {
    max-height: 38svh;
    max-width: 88%;
  }
}

/* VOID HERO — FIX CAP CROPPING NOW */

.hero {
  position: relative !important;
  min-height: 760px !important;
  height: 100svh !important;
  overflow: hidden !important;
}

.stage {
  position: absolute !important;
  inset: 100px 0 70px !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  perspective: 1200px !important;
  overflow: visible !important;
}

.ring {
  position: absolute !important;
  inset: 0 !important;
  transform-style: preserve-3d !important;
}

.slot {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: min(58vw, 480px) !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
  transform-style: preserve-3d !important;
}

.slot img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 48svh !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Mobile */
@media (max-width: 700px) {
  .hero {
    min-height: 680px !important;
  }

  .stage {
    inset: 125px 0 100px !important;
  }

  .slot {
    width: min(86vw, 380px) !important;
  }

  .slot img {
    max-height: 36svh !important;
  }
}

/* VOID — Normalize all cap images */

/* توحيد مساحة عرض كل الكابات */
.slot {
  width: min(68vw, 540px) !important;
  height: 440px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

/* إظهار الصورة بالكامل بدون قص */
.slot img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto !important;
}

/* نفس المقاس على الموبايل */
@media (max-width: 700px) {
  .slot {
    width: 88vw !important;
    height: 300px !important;
  }
  
  .slot img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
}

/* VOID — Uniform product view buttons */

.card .views,
.card .product-views,
.card .view-buttons,
.card .angles,
.card .image-controls {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
}

.card .views button,
.card .product-views button,
.card .view-buttons button,
.card .angles button,
.card .image-controls button,
.card button[data-view] {
  flex: 1 1 0;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 245, 230, 0.2);
  border-radius: 999px;
  background: rgba(30, 20, 20, 0.45);
  color: #fff4e6;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.card .views button:hover,
.card .product-views button:hover,
.card .view-buttons button:hover,
.card .angles button:hover,
.card .image-controls button:hover,
.card button[data-view]:hover {
  background: #fff4e6;
  color: #211914;
  border-color: #fff4e6;
  transform: translateY(-2px);
}

.card .views button.active,
.card .product-views button.active,
.card .view-buttons button.active,
.card .angles button.active,
.card .image-controls button.active,
.card button[data-view].active,
.card .views button[aria-pressed="true"],
.card .product-views button[aria-pressed="true"],
.card .view-buttons button[aria-pressed="true"],
.card .angles button[aria-pressed="true"],
.card .image-controls button[aria-pressed="true"] {
  background: #fff4e6;
  color: #211914;
  border-color: #fff4e6;
}

.card button:focus-visible {
  outline: 2px solid #fff4e6;
  outline-offset: 3px;
}

/* VOID FIX — Product image and buttons alignment */

/* مساحة ثابتة لصورة كل منتج */
.product-card .product-image,
.product-card .product-media,
.product-card .product-visual,
.product-card .image-wrap,
.product-card .visual {
  position: relative !important;
  height: 270px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

/* الكاب ما يغطيش الأزرار */
.product-card .product-image img,
.product-card .product-media img,
.product-card .product-visual img,
.product-card .image-wrap img,
.product-card .visual img {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  z-index: 1 !important;
}

/* صف أزرار الزوايا */
.product-card .views,
.product-card .view-buttons,
.product-card .product-views,
.product-card .angles,
.product-card .image-controls,
.product-card .card-actions-views {
  position: relative !important;
  z-index: 5 !important;
  display: flex !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 12px 0 !important;
  align-items: center !important;
}

/* كل الأزرار نفس المقاس */
.product-card .views button,
.product-card .view-buttons button,
.product-card .product-views button,
.product-card .angles button,
.product-card .image-controls button,
.product-card .card-actions-views button {
  position: static !important;
  flex: 1 1 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 38px !important;
  padding: 0 6px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  transform: none !important;
}

/* تأكد أن معلومات المنتج تحت الأزرار */
.product-card .product-info,
.product-card .details,
.product-card .card-info {
  position: relative !important;
  z-index: 2 !important;
}

/* موبايل */
@media (max-width: 700px) {
  .product-card .product-image,
  .product-card .product-media,
  .product-card .product-visual,
  .product-card .image-wrap,
  .product-card .visual {
    height: 220px !important;
  }
}

/* VOID — Fix product card image and view button alignment */

.grid {
  align-items: stretch;
}

.grid .card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

/* Reserve a consistent image area */
.grid .card .visual,
.grid .card .product-image,
.grid .card .media {
  position: relative;
  width: 100%;
  height: 270px;
  flex: 0 0 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Cap image stays inside its own area */
.grid .card .visual img,
.grid .card .product-image img,
.grid .card .media img {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

/* Front / Side / Back buttons */
.grid .card .views,
.grid .card .view-buttons,
.grid .card .angles,
.grid .card .controls {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 12px 0;
}

.grid .card .views button,
.grid .card .view-buttons button,
.grid .card .angles button,
.grid .card .controls button {
  position: static;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: 38px;
  margin: 0;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 13px;
}

/* Keep product name and price below the controls */
.grid .card h3,
.grid .card .price,
.grid .card .info,
.grid .card .product-info {
  position: relative;
  z-index: 2;
}

@media (max-width: 700px) {
  .grid .card .visual,
  .grid .card .product-image,
  .grid .card .media {
    height: 220px;
    flex-basis: 220px;
  }
}

/* VOID — FINAL PRODUCT CARD ALIGNMENT FIX */

#grid .card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* مساحة موحدة لصور كل الكابات */
#grid .card .pic {
  position: relative !important;
  width: 100% !important;
  height: 270px !important;
  flex: 0 0 270px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 12px !important;
  box-sizing: border-box !important;
}

/* منع الصور من تغطية أزرار Front / Side / Back */
#grid .card .pic img {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 !important;
  z-index: 1 !important;
}

/* الأزرار الثلاثة متساوية في الحجم والمكان */
#grid .card .views {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  flex: 0 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 10px 0 12px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

#grid .card .views button {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  transform: none !important;
}

/* اسم المنتج والسعر وزر Add */
#grid .card .row {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  width: 100% !important;
  margin-top: 0 !important;
}

/* الموبايل */
@media (max-width: 700px) {
  #grid .card .pic {
    height: 220px !important;
    flex-basis: 220px !important;
  }

  #grid .card .views {
    gap: 6px !important;
  }

  #grid .card .views button {
    height: 36px !important;
    font-size: 12px !important;
  }
}


/* ==========================================
   VOID — COMPLETE MOBILE RESPONSIVE FIX
   ========================================== */

@media (max-width: 700px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  nav {
    padding: 16px 18px;
    min-height: 70px;
  }

  .logo {
    font-size: 22px;
  }

  .navr {
    gap: 8px;
  }

  .navr .cta {
    display: none !important;
  }

  /* HERO */
  .hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    justify-items: stretch;
    min-height: 720px;
    height: auto !important;
    padding: 82px 18px 35px;
    overflow: hidden;
  }

  .word {
    top: 34%;
    font-size: 32vw;
    max-width: 100%;
  }

  /* منطقة عرض الكاب */
  .stage {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 320px !important;
    min-height: 320px;
    margin: 0 !important;
    perspective: 1100px;
    overflow: visible !important;
    touch-action: pan-y;
  }

  .tilt {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
  }

  .ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
  }

  /* الحفاظ على دوران الكاب من JavaScript */
  .slot {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: min(88vw, 380px) !important;
    height: 290px !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
  }

  .slot img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 20px 20px rgba(0,0,0,.3));
  }

  /* العنوان والوصف */
  .copy {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100%;
    max-width: 100%;
    margin: 12px 0 0;
    z-index: 4;
  }

  .copy h1 {
    font-size: clamp(28px, 8vw, 42px);
    line-height: 1.15;
    margin: 0 0 10px;
    overflow-wrap: anywhere;
  }

  .copy p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 100%;
  }

  /* اختيار الكاب */
  .pick {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 0;
    z-index: 5;
  }

  .pick button {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    padding: 5px 0;
  }

  .pick button span {
    display: inline !important;
  }

  .pick button::after {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
  }

  .scrollhint {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    translate: none;
    text-align: center;
    margin-top: 20px;
    font-size: 11px;
  }

  /* شريط النص */
  .belt {
    margin: 15px 0 45px;
    padding: 14px 0;
  }

  .belt div {
    gap: 24px;
    font-size: 19px;
  }

  /* المنتجات */
  .shop {
    padding: 0 16px 60px;
  }

  .shop h2 {
    font-size: clamp(30px, 8vw, 48px);
    line-height: 1.08;
  }

  .shop > p {
    margin-bottom: 28px;
    font-size: 14px;
  }

  .grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px;
    perspective: none;
  }

  #grid .card {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 16px;
    border-radius: 24px;
    transform: none !important;
  }

  #grid .card .pic {
    width: 100%;
    height: clamp(210px, 65vw, 300px);
    flex: 0 0 auto;
    padding: 8px;
    display: grid;
    place-items: center;
    overflow: hidden;
    transform: none;
  }

  #grid .card .pic img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
  }

  #grid .card .views {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0;
    transform: none;
  }

  #grid .card .views button {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    white-space: nowrap;
    transform: none;
  }

  #grid .card .row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transform: none;
  }

  #grid .card .row h3 {
    font-size: clamp(13px, 4vw, 17px);
    overflow-wrap: anywhere;
  }

  #grid .card .add {
    flex-shrink: 0;
    padding: 11px 20px;
  }

  footer {
    padding: 45px 16px 65px;
  }

  footer b {
    font-size: 25vw;
  }

  /* سلة المشتريات */
  .drawer {
    width: min(100%, 430px);
    padding-left: 16px;
    padding-right: 16px;
  }

  .it {
    grid-template-columns: 60px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .it .th {
    height: 60px;
  }

  .rm {
    font-size: 11px;
  }
}

/* الشاشات الصغيرة جدًا */
@media (max-width: 380px) {
  .stage {
    height: 275px !important;
    min-height: 275px;
  }

  .slot {
    height: 250px !important;
    width: 90vw !important;
  }

  .pick {
    gap: 8px;
  }

  .pick button {
    font-size: 10px;
  }

  #grid .card {
    padding: 12px;
  }

  #grid .card .views {
    gap: 5px;
  }

  #grid .card .views button {
    font-size: 11px;
  }
}

/* منع تأثير الماوس ثلاثي الأبعاد من إفساد كروت الموبايل */
@media (hover: none) and (pointer: coarse) {
  #grid .card {
    transform: none !important;
  }
}

/* VOID — Stable automatic hero motion */

/* إلغاء أي حركة ناتجة عن الماوس */
#tilt {
  transform: none !important;
  transition: none !important;
}

#stage {
  cursor: default !important;
}

/* تثبيت مساحة عرض الكابات */
#stage {
  perspective: none !important;
  overflow: hidden !important;
}

#ring {
  position: absolute !important;
  inset: 0 !important;
  transform: none !important;
  transform-style: flat !important;
  transition: none !important;
}

/* إظهار كل الكابات داخل الهيرو */
#ring .slot {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: min(82vw, 480px) !important;
  height: min(48vh, 390px) !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity .5s ease, visibility .5s ease !important;
}

#ring .slot.on {
  opacity: 1 !important;
  visibility: visible !important;
}

#ring .slot img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  animation: capAutoFloat 4s ease-in-out infinite !important;
  filter: drop-shadow(0 22px 24px rgba(0,0,0,.28));
}

/* حركة هادئة مستقلة */
#ring .slot:nth-child(2) img { animation-delay: -.8s !important; }
#ring .slot:nth-child(3) img { animation-delay: -1.6s !important; }
#ring .slot:nth-child(4) img { animation-delay: -2.4s !important; }
#ring .slot:nth-child(5) img { animation-delay: -3.2s !important; }

@keyframes capAutoFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

/* موبايل */
@media (max-width: 700px) {
  #stage {
    height: 300px !important;
    min-height: 300px !important;
    margin: 0 !important;
  }

  #ring .slot {
    width: 90% !important;
    height: 270px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ring .slot img {
    animation: none !important;
  }
}

/* VOID — Automatic smooth left/right cap animation */

#ring .slot img {
  animation: capSideMotion 4s ease-in-out infinite !important;
  will-change: transform;
}

/* توقيت مختلف لكل كاب */
#ring .slot:nth-child(1) img {
  animation-delay: 0s !important;
}

#ring .slot:nth-child(2) img {
  animation-delay: -0.8s !important;
}

#ring .slot:nth-child(3) img {
  animation-delay: -1.6s !important;
}

#ring .slot:nth-child(4) img {
  animation-delay: -2.4s !important;
}

#ring .slot:nth-child(5) img {
  animation-delay: -3.2s !important;
}

@keyframes capSideMotion {
  0%, 100% {
    translate: -8px 0;
  }

  50% {
    translate: 8px 0;
  }
}

/* احترام إعدادات تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  #ring .slot img {
    animation: none !important;
  }
}

/* VOID — Automatic floating cap cards */
#grid .card {
  animation: voidCardFloat 3.5s ease-in-out infinite;
  will-change: transform;
}

/* توقيت مختلف لكل كارت */
#grid .card:nth-child(1) {
  animation-delay: 0s;
}

#grid .card:nth-child(2) {
  animation-delay: -0.8s;
}

#grid .card:nth-child(3) {
  animation-delay: -1.6s;
}

#grid .card:nth-child(4) {
  animation-delay: -2.4s;
}

#grid .card:nth-child(5) {
  animation-delay: -3.2s;
}

@keyframes voidCardFloat {
  0%, 100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}

/* إيقاف الحركة عند تفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  #grid .card {
    animation: none !important;
  }
}

/* VOID — Worn by VOID editorial gallery */
.void-worn {
  --worn-bg: #101010;
  background: var(--worn-bg);
  color: #fff8ec;
  padding: 90px 0 35px;
  overflow: hidden;
}

.worn-head {
  padding: 0 5%;
  margin-bottom: 38px;
}

.worn-label,
.worn-info span,
.worn-bottom {
  font-size: 11px;
  letter-spacing: 2px;
  opacity: .7;
}

.worn-head h2 {
  font-size: clamp(42px, 8vw, 100px);
  line-height: .95;
  letter-spacing: -5px;
  margin: 18px 0;
  font-weight: 900;
}

.worn-head h2 span {
  color: #d5ff38;
}

.worn-head p {
  font-size: 15px;
  opacity: .7;
}

.worn-window {
  overflow: hidden;
  width: 100%;
  cursor: grab;
  touch-action: pan-y;
}

.worn-window:active {
  cursor: grabbing;
}

.worn-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 10px 24px 25px;
  animation: wornAutoScroll 32s linear infinite;
  will-change: transform;
}

.worn-window:hover .worn-track {
  animation-play-state: paused;
}

.worn-card {
  width: clamp(250px, 31vw, 410px);
  height: clamp(340px, 43vw, 520px);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #252525;
  isolation: isolate;
}

.worn-card::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 0, 0, .8)
  );
  z-index: 1;
  pointer-events: none;
}

.worn-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}

.worn-card:hover img {
  transform: scale(1.07);
}

.worn-info {
  position: absolute;
  bottom: 24px;
  left: 22px;
  right: 22px;
  z-index: 2;
}

.worn-info span {
  font-size: 9px;
}

.worn-info h3 {
  font-size: clamp(19px, 2.3vw, 28px);
  margin: 9px 0 0;
  font-weight: 900;
  letter-spacing: -1px;
}

.worn-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 5% 0;
  border-top: 1px solid #ffffff20;
  margin: 0 24px;
}

@keyframes wornAutoScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 600px) {
  .void-worn {
    padding-top: 60px;
  }

  .worn-head h2 {
    letter-spacing: -2px;
  }

  .worn-card {
    width: 78vw;
    height: 105vw;
    max-height: 470px;
  }

  .worn-track {
    gap: 13px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .worn-bottom {
    font-size: 9px;
    letter-spacing: 1px;
    margin: 0 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .worn-track {
    animation: none;
  }
}


/* VOID — Fully transparent section */
.void-worn {
  background: transparent !important;
  background-color: transparent !important;
  color: #f8ede0 !important;
}

.worn-card {
  background: transparent !important;
  border: 1px solid rgba(248, 237, 224, 0.18);
}

.worn-head h2 span {
  color: #f5a0b4 !important;
}

.worn-card::after {
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.worn-bottom {
  border-top-color: rgba(248, 237, 224, 0.2);
}

/* ========================================
   VOID — PREMIUM STREETWEAR EDITORIAL
======================================== */

.void-worn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(65px, 9vw, 125px) 0 35px !important;
  background: transparent !important;
  color: #f8ede0 !important;
}

/* Ambient lighting */
.void-worn::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 8%;
  left: 50%;
  width: min(75vw, 850px);
  height: 380px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse,
    rgba(216, 62, 103, 0.13),
    transparent 70%
  );
  pointer-events: none;
}

/* Header */
.worn-head {
  position: relative;
  padding: 0 clamp(22px, 5vw, 80px) !important;
  margin-bottom: clamp(30px, 5vw, 55px) !important;
}

.worn-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f5a0b4 !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 3px !important;
  text-transform: uppercase;
}

.worn-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: #f5a0b4;
}

.worn-head h2 {
  margin: 24px 0 16px !important;
  max-width: 1000px;
  font-size: clamp(43px, 8.5vw, 112px) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.075em !important;
  font-weight: 950 !important;
  text-transform: uppercase;
  text-wrap: balance;
  color: #f8ede0 !important;
}

.worn-head h2 span {
  display: inline-block;
  color: #f5a0b4 !important;
  text-shadow: 0 0 35px rgba(245, 160, 180, 0.12);
}

.worn-head p {
  margin-top: 22px !important;
  color: rgba(248, 237, 224, 0.68) !important;
  font-size: clamp(13px, 1.5vw, 16px) !important;
  letter-spacing: 0.3px;
}

/* Moving gallery */
.worn-window {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 0 24px;
  cursor: grab;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
}

.worn-window:active {
  cursor: grabbing;
}

.worn-track {
  display: flex;
  align-items: stretch;
  gap: clamp(14px, 2vw, 26px);
  width: max-content;
  padding: 0 4vw 12px;
  will-change: transform;
}

/* Premium cards */
.worn-card {
  position: relative;
  isolation: isolate;
  flex: 0 0 clamp(260px, 30vw, 410px);
  height: clamp(350px, 43vw, 530px);
  overflow: hidden;
  border-radius: 5px !important;
  background: rgba(53, 28, 29, 0.22) !important;
  border: 1px solid rgba(248, 237, 224, 0.17);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.12);
  transform: translateZ(0);
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.worn-card:hover {
  border-color: rgba(245, 160, 180, 0.65);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.22);
}

.worn-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.worn-card:hover img {
  transform: scale(1.055);
}

/* Editorial overlay */
.worn-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(20, 10, 12, 0.04) 20%,
    rgba(20, 10, 12, 0.08) 45%,
    rgba(20, 10, 12, 0.82) 100%
  );
  pointer-events: none;
}

.worn-info {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 25px;
}

.worn-info span {
  display: inline-block;
  color: #f5a0b4 !important;
  font-size: 9px !important;
  font-weight: 700;
  letter-spacing: 2px !important;
}

.worn-info h3 {
  margin: 12px 0 0 !important;
  color: #fff8ec !important;
  font-size: clamp(20px, 2.4vw, 30px) !important;
  font-weight: 900 !important;
  line-height: 1.05;
  letter-spacing: -1.2px !important;
}

/* Footer line */
.worn-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px clamp(22px, 5vw, 80px) 0 !important;
  padding: 22px 0 0 !important;
  border-top: 1px solid rgba(248, 237, 224, 0.18);
  color: rgba(248, 237, 224, 0.65) !important;
  font-size: 9px !important;
  letter-spacing: 1.8px !important;
}

/* Mobile */
@media (max-width: 600px) {
  .void-worn {
    padding-top: 65px !important;
  }

  .worn-head h2 {
    letter-spacing: -0.055em !important;
  }

  .worn-card {
    flex-basis: 78vw;
    height: 105vw;
    max-height: 470px;
  }

  .worn-info {
    left: 18px;
    right: 18px;
    bottom: 20px;
  }

  .worn-bottom {
    font-size: 8px !important;
    letter-spacing: 1px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .worn-card,
  .worn-card img {
    transition: none !important;
  }
}

/* VOID — Extreme cinematic 3D cap transition */

#stage {
  perspective: 1400px;
  perspective-origin: 50% 45%;
  transform-style: preserve-3d;
}

#tilt,
#ring,
#ring .slot {
  transform-style: preserve-3d;
}

#ring .slot.cap-exit {
  z-index: 20;
  pointer-events: none;
}

#ring .slot.cap-exit img {
  animation: voidFlyOut3D 1s cubic-bezier(.7, 0, .85, .3) forwards !important;
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
}

#ring .slot.cap-enter {
  z-index: 30;
  pointer-events: none;
}

#ring .slot.cap-enter img {
  animation: voidFlyIn3D 1.15s cubic-bezier(.16, 1, .3, 1) both !important;
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
}

@keyframes voidFlyOut3D {
  0% {
    transform: translate3d(0, 0, 0)
      rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
    opacity: 1;
    filter: blur(0);
  }

  35% {
    transform: translate3d(8vw, -4vh, 180px)
      rotateX(28deg) rotateY(35deg) rotateZ(16deg) scale(1.25);
    opacity: 1;
    filter: blur(1px);
  }

  100% {
    transform: translate3d(110vw, -65vh, -350px)
      rotateX(70deg) rotateY(110deg) rotateZ(55deg) scale(.12);
    opacity: 0;
    filter: blur(12px);
  }
}

@keyframes voidFlyIn3D {
  0% {
    transform: translate3d(-75vw, 45vh, -600px)
      rotateX(-65deg) rotateY(-120deg) rotateZ(-40deg) scale(.12);
    opacity: 0;
    filter: blur(14px);
  }

  40% {
    opacity: 1;
    filter: blur(2px);
  }

  72% {
    transform: translate3d(3vw, -2vh, 100px)
      rotateX(12deg) rotateY(15deg) rotateZ(5deg) scale(1.12);
    opacity: 1;
    filter: blur(0);
  }

  100% {
    transform: translate3d(0, 0, 0)
      rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #ring .slot.cap-exit img,
  #ring .slot.cap-enter img {
    animation: none !important;
  }
}

.void-finale-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 35px;
  background: rgba(45, 12, 22, .96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  perspective: 1200px;
}

.void-finale-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .5s ease;
}

.void-finale-title {
  color: #f8ede0;
  font-size: clamp(24px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: -2px;
}

.void-finale-caps {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 95%;
}

.void-finale-caps img {
  width: clamp(100px, 16vw, 210px);
  aspect-ratio: 1;
  object-fit: contain;
  opacity: 0;
  transform: translate3d(0, 150px, -350px)
    rotateY(100deg) scale(.3);
  filter: blur(8px);
}

.void-finale-overlay.active .void-finale-caps img {
  animation: finaleCapArrival .9s cubic-bezier(.16, 1, .3, 1) forwards;
}

.void-finale-caps img:nth-child(1) { animation-delay: .1s; }
.void-finale-caps img:nth-child(2) { animation-delay: .35s; }
.void-finale-caps img:nth-child(3) { animation-delay: .6s; }
.void-finale-caps img:nth-child(4) { animation-delay: .85s; }
.void-finale-caps img:nth-child(5) { animation-delay: 1.1s; }

@keyframes finaleCapArrival {
  0% {
    opacity: 0;
    transform: translate3d(0, 150px, -350px)
      rotateY(100deg) scale(.3);
    filter: blur(8px);
  }
  65% {
    opacity: 1;
    transform: translate3d(0, -15px, 50px)
      rotateY(-12deg) scale(1.1);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0)
      rotateY(0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 600px) {
  .void-finale-caps {
    gap: 0;
  }

  .void-finale-caps img {
    width: 30%;
  }
}

/* VOID — 3D Cap Showcase */
#ring .slot img {
  animation: void3DCaps 4s ease-in-out infinite;
  backface-visibility: hidden;
  will-change: transform, filter;
}

#ring .slot:nth-child(1) img { animation-delay: 0s; }
#ring .slot:nth-child(2) img { animation-delay: .25s; }
#ring .slot:nth-child(3) img { animation-delay: .5s; }
#ring .slot:nth-child(4) img { animation-delay: .75s; }
#ring .slot:nth-child(5) img { animation-delay: 1s; }

@keyframes void3DCaps {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
    filter: brightness(1);
  }

  25% {
    transform: translate3d(0, -25px, 70px)
      rotateY(18deg) scale(1.08);
    filter: brightness(1.15);
  }

  50% {
    transform: translate3d(0, 0, 0)
      rotateY(0deg) scale(1);
    filter: brightness(1);
  }

  75% {
    transform: translate3d(0, 12px, -30px)
      rotateY(-12deg) scale(.94);
    filter: brightness(.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  #ring .slot img {
    animation: none !important;
  }
}

/* =================================
   VOID — CINEMATIC TYPOGRAPHY
================================= */

#hTitle {
  animation: voidTitleReveal 1s cubic-bezier(.16, 1, .3, 1) both,
             voidTitleGlow 4s ease-in-out 1s infinite alternate !important;
  transform-origin: left center;
  will-change: transform, opacity, filter;
  text-shadow:
    0 5px 0 rgba(75, 12, 29, .18),
    0 12px 35px rgba(0, 0, 0, .12);
}

#hTag {
  animation: voidTagReveal .9s cubic-bezier(.16, 1, .3, 1) .3s both !important;
  color: #fff2e8;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .12);
  will-change: transform, opacity;
}

/* Title: 3D entrance */
@keyframes voidTitleReveal {
  0% {
    opacity: 0;
    transform: perspective(800px) translate3d(-45px, 45px, -120px)
      rotateX(18deg) skewY(4deg);
    filter: blur(12px);
  }

  65% {
    opacity: 1;
    transform: perspective(800px) translate3d(5px, -4px, 25px)
      rotateX(-3deg) skewY(-1deg);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: perspective(800px) translate3d(0, 0, 0)
      rotateX(0) skewY(0);
    filter: blur(0);
  }
}

/* Soft ambient glow */
@keyframes voidTitleGlow {
  from {
    text-shadow:
      0 5px 0 rgba(75, 12, 29, .18),
      0 12px 35px rgba(0, 0, 0, .12);
  }

  to {
    text-shadow:
      0 5px 0 rgba(75, 12, 29, .12),
      0 15px 42px rgba(245, 160, 180, .22);
  }
}

/* Description reveal */
@keyframes voidTagReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(5px);
  }

  to {
    opacity: .9;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Collection names on the right */
#pick button {
  transition:
    transform .3s ease,
    color .3s ease,
    background .3s ease,
    text-shadow .3s ease;
}

#pick button:hover {
  transform: translateX(-7px);
  text-shadow: 0 0 18px rgba(255, 220, 230, .5);
}

#pick button[aria-current="true"] {
  text-shadow: 0 0 15px rgba(245, 160, 180, .3);
}

/* Responsive & reduced motion */
@media (max-width: 600px) {
  #hTitle {
    text-shadow: 0 6px 24px rgba(0, 0, 0, .16);
  }
}

@media (prefers-reduced-motion: reduce) {
  #hTitle,
  #hTag {
    animation: none !important;
    filter: none !important;
    transform: none !important;
  }
}

/* VOID — Soft White Neon Glow */

#stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 46%;
  width: min(55vw, 650px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;

  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.09) 28%,
    rgba(255, 255, 255, 0.035) 48%,
    transparent 70%
  );

  filter: blur(35px);
  opacity: 0.85;
  animation: voidWhiteNeon 4s ease-in-out infinite alternate;
}

/* Subtle white glow on the cap */
#ring .slot img {
  filter:
    drop-shadow(0 22px 24px rgba(0, 0, 0, 0.22))
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.12));
}

@keyframes voidWhiteNeon {
  from {
    opacity: 0.55;
    scale: 0.94;
  }

  to {
    opacity: 0.95;
    scale: 1.06;
  }
}

@media (max-width: 600px) {
  #stage::after {
    width: 90vw;
    filter: blur(25px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #stage::after {
    animation: none;
  }
}

/* VOID — Premium Text Enter & Exit */

.copy {
  perspective: 900px;
}

#hTitle {
  transform-origin: left center;
  will-change: transform, opacity, filter;
  text-shadow: 0 10px 35px rgba(0, 0, 0, .13);
}

#hTag {
  will-change: transform, opacity, filter;
}

/* Entrance */
#hTitle.void-text-enter {
  animation: voidHeadingEnter .8s cubic-bezier(.16, 1, .3, 1) both;
}

#hTag.void-text-enter {
  animation: voidDescriptionEnter .7s cubic-bezier(.16, 1, .3, 1) .12s both;
}

@keyframes voidHeadingEnter {
  0% {
    opacity: 0;
    transform: translate3d(-35px, 35px, -100px)
      rotateX(18deg) skewY(3deg);
    filter: blur(12px);
  }

  65% {
    opacity: 1;
    transform: translate3d(4px, -3px, 15px)
      rotateX(-2deg) skewY(-.5deg);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0)
      rotateX(0) skewY(0);
    filter: blur(0);
  }
}

@keyframes voidDescriptionEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(5px);
  }

  to {
    opacity: .9;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Exit */
#hTitle.void-text-exit {
  animation: voidHeadingExit .25s ease-in both;
}

#hTag.void-text-exit {
  animation: voidDescriptionExit .2s ease-in both;
}

@keyframes voidHeadingExit {
  to {
    opacity: 0;
    transform: translate3d(25px, -12px, -70px) rotateY(-8deg);
    filter: blur(8px);
  }
}

@keyframes voidDescriptionExit {
  to {
    opacity: 0;
    transform: translateY(-10px);
    filter: blur(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #hTitle,
  #hTag {
    animation: none !important;
    filter: none !important;
    transform: none !important;
  }
}

/* VOID — Fix hero top clipping */

.hero {
  box-sizing: border-box;
  min-height: 100svh;
  padding-top: 90px !important;
  padding-bottom: 55px !important;
  overflow: visible;
}

/* Keep the cap carousel inside the hero */
#stage {
  position: relative;
  min-height: 480px;
  overflow: visible;
}

/* Prevent the cap from being cut off */
#tilt,
#ring,
#ring .slot {
  overflow: visible;
}

/* Adjust for desktop */
@media (min-width: 768px) {
  .hero {
    min-height: 100svh;
    padding-top: 100px !important;
  }
}

/* Adjust for mobile */
@media (max-width: 767px) {
  .hero {
    min-height: 90svh;
    padding-top: 80px !important;
    padding-bottom: 35px !important;
  }

  #stage {
    min-height: 350px;
  }
}

/* VOID — Premium Outline Typography Upgrade */

.hero .word {
  font-family: 'Unbounded', sans-serif !important;
  font-weight: 900 !important;

  /* حجم وشكل الحروف */
  font-size: clamp(170px, 36vw, 590px) !important;
  letter-spacing: -0.085em !important;
  line-height: .78 !important;

  /* حروف شفافة بحدود مضيئة */
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .48) !important;

  /* تمركز الحروف */
  position: absolute !important;
  top: 48% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  white-space: nowrap !important;

  /* إضاءة احترافية */
  filter: drop-shadow(0 0 8px rgba(255,255,255,.08));
  opacity: .85 !important;

  /* طبقات ثلاثية الأبعاد */
  text-shadow:
    0 1px 0 rgba(255,255,255,.10),
    0 8px 30px rgba(255,255,255,.025) !important;

  pointer-events: none !important;
  z-index: 0 !important;
  animation: voidLettersFloat 9s ease-in-out infinite alternate !important;
  will-change: transform;
}

/* حركة هادئة */
@keyframes voidLettersFloat {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: .65;
  }
  100% {
    transform: translate(-50%, -51%) scale(1.035);
    opacity: .95;
  }
}

/* الكاب والنصوص فوق الحروف */
.hero .stage,
.hero .copy,
.hero .pick,
.hero .scrollhint {
  z-index: 2 !important;
}

/* الموبايل */
@media (max-width: 700px) {
  .hero .word {
    font-size: 31vw !important;
    letter-spacing: -.09em !important;
    -webkit-text-stroke-width: 1px !important;
  }
}

/* احترام إعداد تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  .hero .word {
    animation: none !important;
  }
}

/* VOID — Natural Bold Typography */

.hero .word {
  font-family: 'Unbounded', sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(150px, 35vw, 580px) !important;

  /* حروف ممتلئة وطبيعية */
  color: rgba(255, 247, 238, 0.09) !important;
  -webkit-text-fill-color: rgba(255, 247, 238, 0.09) !important;
  -webkit-text-stroke: 0 !important;

  letter-spacing: -0.085em !important;
  line-height: 1 !important;
  white-space: nowrap !important;

  /* خلف الكاب */
  z-index: 0 !important;
  pointer-events: none !important;

  /* حركة ناعمة */
  animation: naturalVoidText 10s ease-in-out infinite alternate !important;
}

@keyframes naturalVoidText {
  from {
    transform: translate(-50%, -52%) scale(1);
  }
  to {
    transform: translate(-50%, -52%) scale(1.035);
  }
}

@media (max-width: 700px) {
  .hero .word {
    font-size: 31vw !important;
    letter-spacing: -0.09em !important;
  }
}

/* VOID — Natural Typography for Entire Website */

body,
button,
input,
textarea,
select {
  font-family: 'Cairo', sans-serif;
}

/* العناوين الرئيسية */
h1, h2, h3, h4, h5, h6,
#hTitle,
.word {
  font-family: 'Cairo', sans-serif !important;
  font-weight: 800;
  -webkit-text-stroke: 0 !important;
}

/* كلمة VOID الكبيرة في الخلفية */
.hero .word {
  color: rgba(255, 247, 238, 0.09) !important;
  -webkit-text-fill-color: rgba(255, 247, 238, 0.09) !important;
  letter-spacing: -0.055em !important;
}

/* الوصف والنصوص */
p,
small,
label,
.worn-label,
.worn-info,
#hTag {
  font-weight: 400;
  -webkit-text-stroke: 0 !important;
}

/* أزرار الموقع */
button,
nav a {
  font-weight: 600;
  -webkit-text-stroke: 0 !important;
}

/* أسماء المنتجات */
#grid .card h3 {
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* نصوص واضحة على الموبايل */
@media (max-width: 600px) {
  body {
    -webkit-text-size-adjust: 100%;
  }

  h1, h2, h3, #hTitle {
    -webkit-text-stroke: 0 !important;
  }
}

/* VOID — Balanced Background Typography */

.hero .word {
  font-size: clamp(120px, 25vw, 400px) !important;
  letter-spacing: -0.075em !important;
  line-height: .9 !important;

  /* لون هادي خلف الكاب */
  color: rgba(255, 247, 238, 0.075) !important;
  -webkit-text-fill-color: rgba(255, 247, 238, 0.075) !important;
  -webkit-text-stroke: 0 !important;

  /* تمركز الكلمة */
  left: 50% !important;
  top: 48% !important;
  transform: translate(-50%, -50%) !important;

  white-space: nowrap !important;
  pointer-events: none !important;
}

/* Mobile */
@media (max-width: 700px) {
  .hero .word {
    font-size: 27vw !important;
    letter-spacing: -.08em !important;
  }
}

/* VOID — Premium Footer Logo */

footer b {
  display: inline-block;
  font-family: 'Unbounded', sans-serif !important;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: -5px;
  line-height: 1;
  color: #f8ede0;
  text-transform: lowercase;
  text-shadow: 0 0 25px rgba(248, 237, 224, 0.12);
  transition:
    color .35s ease,
    text-shadow .35s ease,
    transform .35s ease;
  cursor: default;
}

footer b:hover {
  color: #f5a0b4;
  text-shadow:
    0 0 12px rgba(245, 160, 180, .4),
    0 0 35px rgba(245, 160, 180, .2);
  transform: translateY(-3px);
}

/* Footer description */
footer p {
  margin-top: 18px;
  color: rgba(248, 237, 224, .65);
  font-size: 14px;
  letter-spacing: .4px;
  line-height: 1.8;
}

@media (max-width: 600px) {
  footer b {
    font-size: 48px;
    letter-spacing: -3px;
  }

  footer p {
    font-size: 12px;
  }
}

/* =====================================
   VOID — PREMIUM BRAND FOOTER
===================================== */

.void-footer {
  --footer-cream: #f8ede0;
  --footer-muted: rgba(248, 237, 224, .58);
  --footer-pink: #f5a0b4;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 75px clamp(22px, 5vw, 80px) 24px;
  background:
    radial-gradient(
      ellipse at 8% 0%,
      rgba(112, 37, 45, .20),
      transparent 45%
    ),
    #151218;
  color: var(--footer-cream);
  border-top: 1px solid rgba(248, 237, 224, .14);
}

.void-footer * {
  box-sizing: border-box;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr .7fr .7fr 1.2fr;
  gap: clamp(28px, 4vw, 65px);
  padding-bottom: 65px;
}

/* Brand */
.footer-brand {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.footer-logo {
  display: inline-block;
  color: var(--footer-cream);
  font-size: clamp(65px, 9vw, 112px);
  line-height: .85;
  font-weight: 950;
  letter-spacing: -9px;
  text-decoration: none;
  transition: color .3s ease, transform .3s ease;
}

.footer-logo:hover {
  color: var(--footer-pink);
  transform: translateY(-4px);
}

.footer-logo span {
  display: inline-block;
  margin-left: 5px;
  font-size: 15px;
  letter-spacing: 0;
  vertical-align: top;
}

.footer-brand p {
  margin: 25px 0 24px;
  color: var(--footer-muted);
  font-size: 13px;
  line-height: 1.9;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--footer-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.footer-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a8d5a2;
  box-shadow: 0 0 12px rgba(168, 213, 162, .45);
}

/* Link columns */
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
}

.footer-column h4 {
  margin: 5px 0 13px;
  color: var(--footer-pink);
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 800;
}

.footer-column a {
  color: var(--footer-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color .25s ease, transform .25s ease;
}

.footer-column a:hover {
  color: var(--footer-cream);
  transform: translateX(4px);
}

/* Newsletter */
.footer-kicker {
  color: var(--footer-pink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.footer-newsletter h3 {
  margin: 15px 0 12px;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -1.8px;
  font-weight: 900;
}

.footer-newsletter p {
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.7;
}

.footer-form {
  display: flex;
  align-items: center;
  margin-top: 22px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(248, 237, 224, .4);
}

.footer-form input {
  min-width: 0;
  flex: 1;
  padding: 12px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--footer-cream);
  font: inherit;
  font-size: 12px;
}

.footer-form input::placeholder {
  color: var(--footer-muted);
}

.footer-form button {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: var(--footer-cream);
  color: #151218;
  font-size: 20px;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}

.footer-form button:hover {
  background: var(--footer-pink);
  transform: rotate(45deg);
}

.footer-note {
  display: block;
  margin-top: 13px;
  color: var(--footer-muted);
  font-size: 9px;
  letter-spacing: 1.5px;
}

/* Brand statement */
.footer-middle {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid rgba(248, 237, 224, .12);
  border-bottom: 1px solid rgba(248, 237, 224, .12);
  color: rgba(248, 237, 224, .8);
  font-size: clamp(10px, 1.4vw, 15px);
  font-weight: 800;
  letter-spacing: 2px;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  color: var(--footer-muted);
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 1px;
}

.footer-bottom a {
  color: var(--footer-cream);
  text-decoration: none;
  transition: color .25s ease;
}

.footer-bottom a:hover {
  color: var(--footer-pink);
}

/* Tablet */
@media (max-width: 950px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    row-gap: 45px;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .void-footer {
    padding: 55px 22px 22px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 38px 22px;
    padding-bottom: 40px;
  }

  .footer-brand,
  .footer-newsletter {
    grid-column: 1 / -1;
  }

  .footer-logo {
    font-size: 78px;
    letter-spacing: -6px;
  }

  .footer-newsletter h3 {
    font-size: 34px;
  }

  .footer-middle {
    flex-direction: column;
    gap: 10px;
    letter-spacing: 1.3px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .void-footer a,
  .void-footer button {
    transition: none !important;
  }
}

/* ==========================================
   VOID® — NEXT LEVEL FOOTER
========================================== */

.void-footer {
  --cream: #f8ede0;
  --muted: rgba(248, 237, 224, .58);
  --pink: #f5a0b4;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 90px clamp(22px, 6vw, 100px) 25px;
  background: #100e12;
  color: var(--cream);
  border-top: 1px solid rgba(248, 237, 224, .12);
}

/* Ambient background glow */
.void-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 600px;
  height: 400px;
  top: -250px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(155, 38, 67, .19);
  filter: blur(100px);
  pointer-events: none;
}

.void-footer::after {
  content: "VOID";
  position: absolute;
  z-index: -1;
  right: -25px;
  bottom: 30px;
  font-size: clamp(150px, 28vw, 390px);
  line-height: .8;
  font-weight: 950;
  letter-spacing: -.09em;
  color: rgba(248, 237, 224, .025);
  pointer-events: none;
}

/* Main layout */
.void-footer .footer-top {
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr 1.15fr;
  gap: 45px;
  padding-bottom: 75px;
}

/* Large wordmark */
.void-footer .footer-logo {
  font-size: clamp(76px, 10vw, 130px);
  font-weight: 950;
  line-height: .8;
  letter-spacing: -.095em;
  color: var(--cream);
  text-decoration: none;
  transition: color .35s ease, text-shadow .35s ease;
}

.void-footer .footer-logo:hover {
  color: var(--pink);
  text-shadow: 0 0 35px rgba(245, 160, 180, .2);
}

.void-footer .footer-logo span {
  font-size: 14px;
  vertical-align: top;
  letter-spacing: 0;
}

.void-footer .footer-brand p {
  margin-top: 30px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

/* Small brand status */
.void-footer .footer-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.void-footer .footer-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b7dca5;
  box-shadow: 0 0 12px rgba(183, 220, 165, .5);
}

/* Navigation columns */
.void-footer .footer-column h4 {
  margin: 5px 0 25px;
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--pink);
}

.void-footer .footer-column a {
  position: relative;
  display: table;
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color .25s ease, transform .25s ease;
}

.void-footer .footer-column a:hover {
  color: var(--cream);
  transform: translateX(5px);
}

/* Newsletter */
.void-footer .footer-kicker {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--pink);
  font-weight: 800;
}

.void-footer .footer-newsletter h3 {
  margin: 18px 0 13px;
  font-size: clamp(32px, 3vw, 45px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 900;
}

.void-footer .footer-newsletter p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* Minimal email field */
.void-footer .footer-form {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
  padding: 5px 0 10px;
  border-bottom: 1px solid rgba(248, 237, 224, .32);
  transition: border-color .3s ease;
}

.void-footer .footer-form:focus-within {
  border-color: var(--pink);
}

.void-footer .footer-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--cream);
  font-size: 12px;
}

.void-footer .footer-form input::placeholder {
  color: var(--muted);
}

.void-footer .footer-form button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid rgba(248, 237, 224, .3);
  border-radius: 50%;
  background: var(--cream);
  color: #100e12;
  font-size: 20px;
  cursor: pointer;
  transition: background .3s ease, transform .3s ease;
}

.void-footer .footer-form button:hover {
  background: var(--pink);
  transform: rotate(45deg);
}

.void-footer .footer-note {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.6px;
}

/* Brand slogan strip */
.void-footer .footer-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 23px 0;
  border-top: 1px solid rgba(248, 237, 224, .12);
  border-bottom: 1px solid rgba(248, 237, 224, .12);
  font-size: clamp(10px, 1.25vw, 14px);
  font-weight: 800;
  letter-spacing: 2px;
}

/* Bottom legal line */
.void-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 25px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
}

.void-footer .footer-bottom a {
  color: var(--cream);
  text-decoration: none;
  transition: color .25s ease;
}

.void-footer .footer-bottom a:hover {
  color: var(--pink);
}

/* Tablet */
@media (max-width: 950px) {
  .void-footer .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 45px 30px;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .void-footer {
    padding: 60px 22px 25px;
  }

  .void-footer .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
    padding-bottom: 45px;
  }

  .void-footer .footer-brand,
  .void-footer .footer-newsletter {
    grid-column: 1 / -1;
  }

  .void-footer .footer-logo {
    font-size: 86px;
  }

  .void-footer .footer-newsletter h3 {
    font-size: 38px;
  }

  .void-footer .footer-middle {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    letter-spacing: 1.2px;
  }

  .void-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .void-footer * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Remove giant VOID background watermark from footer */
.void-footer::after {
  content: none !important;
  display: none !important;
}

/* VOID — Premium Hero Typography */

.hero .copy {
  z-index: 5;
}

/* Main cap title */
#hTitle {
  font-family: 'Cairo', sans-serif !important;
  font-size: clamp(38px, 5.2vw, 76px) !important;
  font-weight: 900 !important;
  line-height: .98 !important;
  letter-spacing: -2.5px !important;
  color: #fff5eb !important;
  text-shadow: 0 8px 30px rgba(0, 0, 0, .16);
  transition: color .3s ease;
  max-width: 650px;
  text-wrap: balance;
}

/* Description below title */
#hTag {
  margin-top: 16px;
  max-width: 440px;
  font-family: 'Cairo', sans-serif !important;
  font-size: clamp(14px, 1.3vw, 18px) !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  letter-spacing: 0 !important;
  color: rgba(255, 245, 235, .82) !important;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .15);
}

/* Cap names on the right */
#pick button {
  font-family: 'Cairo', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .1px;
  color: rgba(255, 245, 235, .65);
  background: transparent;
  border-color: transparent;
  transition:
    color .25s ease,
    transform .25s ease,
    text-shadow .25s ease;
}

#pick button:hover {
  color: #fff5eb;
  transform: translateX(-4px);
}

#pick button[aria-current="true"] {
  color: #fff5eb !important;
  font-weight: 800 !important;
  text-shadow: 0 0 18px rgba(255, 255, 255, .18);
}

/* Small instruction text */
.scrollhint {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3px;
  color: rgba(255, 245, 235, .62);
}

/* Mobile typography */
@media (max-width: 600px) {
  #hTitle {
    font-size: clamp(34px, 9vw, 48px) !important;
    line-height: 1.05 !important;
    letter-spacing: -1.4px !important;
  }

  #hTag {
    font-size: 13px !important;
    line-height: 1.7 !important;
    margin-top: 10px;
    max-width: 300px;
  }

  #pick button {
    font-size: 11px !important;
  }

  .scrollhint {
    font-size: 10px;
  }
}

/* VOID — Five Cap Collection */

.shop-kicker {
  display: block;
  margin-bottom: 22px;
  color: #f5a0b4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
}

.shop .cap-names {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 35px;
}

.shop .cap-names span {
  padding: 10px 15px;
  border: 1px solid rgba(255, 245, 235, .15);
  border-radius: 30px;
  color: rgba(255, 245, 235, .8);
  font-size: 11px;
  transition: .3s ease;
}

.shop .cap-names span:hover {
  color: #fff5eb;
  border-color: #f5a0b4;
  background: rgba(245, 160, 180, .08);
  transform: translateY(-3px);
}

@media (max-width: 600px) {
  .shop .cap-names {
    gap: 7px;
  }

  .shop .cap-names span {
    padding: 8px 11px;
    font-size: 10px;
  }
}

/* VOID — Moving Cap Names Marquee */

.belt {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
  background: #fff5eb;
  color: #171116;
  transform: rotate(-1deg) scale(1.01);
  border-top: 1px solid rgba(23, 17, 22, .08);
  border-bottom: 1px solid rgba(23, 17, 22, .08);
}

#belt {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 36px;
  white-space: nowrap;
  animation: voidCapMarquee 24s linear infinite;
}

#belt span {
  flex: 0 0 auto;
  font-family: 'Cairo', sans-serif;
  font-size: clamp(23px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: -1.2px;
  text-transform: uppercase;
  color: #171116;
}

.belt:hover #belt {
  animation-play-state: paused;
}

@keyframes voidCapMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 600px) {
  .belt {
    padding: 15px 0;
  }

  #belt {
    gap: 22px;
    animation-duration: 18s;
  }

  #belt span {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #belt {
    animation: none;
  }
}

/* VOID — FINAL CAP NAMES MARQUEE */
body .belt {
  display: block !important;
  width: 100% !important;
  overflow: hidden !important;
  background: #fff5eb !important;
  color: #171116 !important;
  padding: 18px 0 !important;
  margin: 25px 0 65px !important;
  transform: rotate(-1.6deg) scale(1.03) !important;
  position: relative !important;
  z-index: 10 !important;
}

body .belt #belt {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 42px !important;
  width: max-content !important;
  white-space: nowrap !important;
  animation: voidNamesMove 22s linear infinite !important;
}

body .belt #belt span {
  display: inline-block !important;
  flex: 0 0 auto !important;
  color: #171116 !important;
  font-family: 'Unbounded', sans-serif !important;
  font-size: clamp(22px, 3vw, 38px) !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: -1.5px !important;
  opacity: 1 !important;
}

@keyframes voidNamesMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 700px) {
  body .belt #belt {
    gap: 24px !important;
    animation-duration: 18s !important;
  }

  body .belt #belt span {
    font-size: 22px !important;
  }
}

/* تصغير الكابات داخل قسم الموديلات */
.void-worn .worn-card img {
  transform: scale(0.82);
  transform-origin: center center;
  transition: transform 0.4s ease;
}

.void-worn .worn-card:hover img {
  transform: scale(0.87);
}

/* VOID — 360° cap interaction */
.grid .pic {
  perspective: 1000px;
  overflow: hidden;
}

.grid .pic img {
  cursor: grab;
  transform-style: preserve-3d;
  transition: transform 0.25s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.grid .pic img:active {
  cursor: grabbing;
}

/* VOID — Center text on laptop and mobile */
.void-worn .worn-head {
  text-align: center;
  margin-inline: auto;
  width: 100%;
}

.void-worn .worn-head h2,
.void-worn .worn-head p,
.void-worn .worn-head .worn-label {
  text-align: center;
  margin-inline: auto;
}

/* Center the text inside each model card */
.void-worn .worn-info {
  text-align: center;
  width: 100%;
}

.void-worn .worn-info h3,
.void-worn .worn-info span {
  text-align: center;
  margin-inline: auto;
}

/* Mobile */
@media (max-width: 700px) {
  .void-worn .worn-head {
    padding-inline: 16px;
  }

  .void-worn .worn-info h3 {
    font-size: clamp(16px, 4vw, 24px);
  }
}

/* VOID — Center cap cards correctly */
.void-worn .worn-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.void-worn .worn-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.void-worn .worn-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  padding: 20px 12px;
  text-align: center;
  box-sizing: border-box;
}

.void-worn .worn-info span,
.void-worn .worn-info h3 {
  display: block;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.void-worn .worn-info h3 {
  margin-top: 10px;
}

@media (max-width: 700px) {
  .void-worn .worn-info {
    padding: 14px 8px;
  }

  .void-worn .worn-info h3 {
    font-size: clamp(15px, 4vw, 22px);
  }
}

/* VOID — Mobile hero text alignment */
@media screen and (max-width: 700px) {

  .hero .copy {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 18px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .hero .copy h1 {
    width: 100% !important;
    margin: 0 auto 8px !important;
    text-align: center !important;
    font-size: clamp(28px, 8vw, 38px) !important;
  }

  .hero .copy p {
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
    text-align: center !important;
    line-height: 1.6 !important;
  }

  .hero .pick {
    width: 100% !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero .scrollhint {
    width: 100% !important;
    text-align: center !important;
  }
}

/* Center WORN BY VOID heading */
.void-worn .worn-head {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  text-align: center !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.void-worn .worn-head .worn-label,
.void-worn .worn-head h2,
.void-worn .worn-head p {
  width: 100%;
  margin-inline: auto !important;
  text-align: center !important;
}

.void-worn .worn-head h2 {
  font-size: clamp(32px, 7vw, 90px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .void-worn .worn-head {
    padding-inline: 16px;
  }

  .void-worn .worn-head h2 {
    font-size: clamp(28px, 8vw, 44px);
  }
}

/* VOID CHECKOUT FORM */
.checkout-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  padding: 20px;
  background: rgba(0, 0, 0, .75);
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.checkout-modal.open {
  display: flex;
}

.checkout-box {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  border-radius: 22px;
  background: #fff7ef;
  color: #1a1110;
  box-sizing: border-box;
}

.checkout-box h2 {
  margin: 0 35px 8px 0;
  font-size: 27px;
}

.checkout-box > p {
  margin: 0 0 22px;
  color: #766966;
  line-height: 1.5;
}

.checkout-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  font-size: 32px;
  cursor: pointer;
  color: #1a1110;
}

.checkout-box label {
  display: block;
  margin: 14px 0 7px;
  font-size: 13px;
  font-weight: 700;
}

.checkout-box input,
.checkout-box textarea {
  display: block;
  width: 100%;
  padding: 13px;
  border: 1px solid #e3d5cc;
  border-radius: 10px;
  background: white;
  color: #1a1110;
  font: inherit;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
}

.checkout-box input:focus,
.checkout-box textarea:focus {
  border-color: #c8103e;
}

.checkout-box textarea {
  min-height: 80px;
  resize: vertical;
}

.checkout-submit {
  width: 100%;
  margin-top: 22px;
  padding: 15px;
  border: 0;
  border-radius: 30px;
  background: #1a1110;
  color: #fff7ef;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.checkout-submit:hover {
  background: #c8103e;
}

@media (max-width: 480px) {
  .checkout-modal {
    padding: 12px;
  }

  .checkout-box {
    padding: 23px 18px;
    max-height: 94vh;
  }
}

/* VOID CHECKOUT FORM */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.78);
  overflow-y: auto;
}

.checkout-modal.open {
  display: flex;
}

.checkout-box {
  position: relative;
  width: min(100%, 480px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  border-radius: 22px;
  background: #fff7ee;
  color: #1a1210;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.checkout-box h2 {
  margin: 0 35px 8px 0;
  font-size: 26px;
}

.checkout-box p {
  margin: 0 0 22px;
  color: #6b5d55;
}

.checkout-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #1a1210;
  color: white;
  font-size: 25px;
  cursor: pointer;
}

#customerForm {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

#customerForm label {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
}

#customerForm input,
#customerForm textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid #dfd0c2;
  border-radius: 10px;
  background: white;
  color: #1a1210;
  font: inherit;
  outline-color: #c8123f;
}

#customerForm textarea {
  min-height: 75px;
  resize: vertical;
}

.checkout-submit {
  width: 100%;
  margin-top: 14px;
  padding: 15px;
  border: 0;
  border-radius: 999px;
  background: #1a1210;
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.checkout-submit:hover {
  background: #c8123f;
}

body.checkout-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .checkout-box {
    padding: 24px 18px;
  }
}

/* VOID — Arabic Checkout Form */
.checkout-modal {
  direction: rtl;
  text-align: right;
  font-family: "Cairo", "Tahoma", sans-serif;
}

.checkout-box {
  direction: rtl;
  text-align: right;
  border: 1px solid rgba(200, 18, 63, 0.18);
}

.checkout-heading {
  margin-bottom: 24px;
}

.checkout-kicker {
  display: block;
  color: #c8123f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.checkout-heading h2 {
  font-size: 27px;
  line-height: 1.5;
  margin: 0 0 6px;
}

.checkout-heading p {
  font-size: 14px;
  line-height: 1.8;
  color: #6b5d55;
  margin: 0;
}

#customerForm {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#customerForm label {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #241b19;
}

#customerForm input,
#customerForm textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #dfd0c2;
  border-radius: 12px;
  background: #fff;
  color: #1a1210;
  font-family: "Cairo", "Tahoma", sans-serif;
  font-size: 14px;
  text-align: right;
  direction: rtl;
  box-sizing: border-box;
}

#customerForm input:focus,
#customerForm textarea:focus {
  outline: none;
  border-color: #c8123f;
  box-shadow: 0 0 0 3px rgba(200, 18, 63, 0.08);
}

#customerForm input::placeholder,
#customerForm textarea::placeholder {
  color: #9a8e87;
}

#customerForm textarea {
  min-height: 76px;
  resize: vertical;
}

.checkout-submit {
  margin-top: 18px;
  padding: 15px;
  border: 0;
  border-radius: 999px;
  background: #1a1210;
  color: #fff7ee;
  font-family: "Cairo", "Tahoma", sans-serif;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: background .25s, transform .25s;
}

.checkout-submit:hover {
  background: #c8123f;
  transform: translateY(-2px);
}

.checkout-hint {
  margin: 8px 0 0;
  text-align: center;
  color: #82736b;
  font-size: 11px;
}

.checkout-close {
  left: 16px;
  right: auto;
}

@media (max-width: 480px) {
  .checkout-box {
    padding: 24px 18px;
    max-height: 92vh;
  }

  .checkout-heading h2 {
    font-size: 23px;
  }
}

/* ===== VOID PREMIUM LOADER ===== */
#voidLoader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at center, #78142d 0%, #400817 55%, #100b10 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity .7s ease, visibility .7s ease;
}

#voidLoader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  width: min(360px, 86vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.loader-logo {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(48px, 12vw, 76px);
  font-weight: 900;
  letter-spacing: -5px;
  line-height: 1;
  color: #fff5e9;
  animation: voidLogoIn .8s ease both;
}

.loader-logo span {
  font-size: 12px;
  letter-spacing: 0;
  vertical-align: top;
  margin-left: 5px;
}

.loader-cap {
  width: min(300px, 75vw);
  margin: 18px 0 10px;
  animation: voidCapFloat 2.2s ease-in-out infinite;
}

.loader-cap img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .35));
}

.loader-tagline {
  color: #ffe8df;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  margin-top: 8px;
}

.loader-progress {
  width: 170px;
  height: 3px;
  background: rgba(255, 255, 255, .18);
  margin-top: 30px;
  overflow: hidden;
}

.loader-progress-bar {
  height: 100%;
  width: 40%;
  background: #fff5e9;
  animation: voidProgress 1.3s ease-in-out infinite;
}

.loader-status {
  margin-top: 12px;
  font: 10px 'Instrument Sans', sans-serif;
  letter-spacing: 2px;
  color: rgba(255, 245, 233, .65);
}

@keyframes voidCapFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

@keyframes voidLogoIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes voidProgress {
  0% { transform: translateX(-180%); }
  100% { transform: translateX(420%); }
}

@media (prefers-reduced-motion: reduce) {
  .loader-cap,
  .loader-logo,
  .loader-progress-bar {
    animation: none;
  }
}

/* VOID Payment Method */
.payment-method {
  margin: 18px 0;
  text-align: right;
  direction: rtl;
}

.payment-method label {
  display: block;
  margin-bottom: 9px;
  font-weight: 700;
  color: #211613;
}

.payment-method select {
  width: 100%;
  padding: 14px;
  border: 1px solid #e5d3c5;
  border-radius: 12px;
  background: #fffaf5;
  color: #211613;
  font: inherit;
  outline: none;
}

.payment-method select:focus {
  border-color: #c8123f;
  box-shadow: 0 0 0 3px #c8123f20;
}

.payment-details {
  margin-top: 12px;
  padding: 14px;
  background: #fff2e8;
  border: 1px solid #f0d6c5;
  border-radius: 12px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.payment-details[hidden] {
  display: none;
}

.transfer-upload {
  direction: rtl;
  margin: 18px 0;
  color: #211613;
}

.transfer-upload > label:first-child {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
}

.upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 12px;
  border: 2px dashed #c8123f;
  border-radius: 14px;
  background: #fff5f1;
  cursor: pointer;
  text-align: center;
}

.upload-icon {
  font-size: 30px;
  color: #c8123f;
}

.upload-box small {
  color: #796b65;
}

#transferPreview {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  margin-top: 12px;
  border-radius: 12px;
}

#transferPreview[hidden] {
  display: none;
}

.payment-account {
  padding: 14px;
  margin: 12px 0 18px;
  border-radius: 12px;
  background: #fff0e8;
  border: 1px solid #e5d3c5;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

#paymentDetails label {
  display: block;
  margin: 12px 0 7px;
  font-weight: 700;
}

#paymentDetails input {
  box-sizing: border-box;
  width: 100%;
  padding: 13px;
  border: 1px solid #e5d3c5;
  border-radius: 10px;
  font: inherit;
  background: #fffaf5;
}

#paymentDetails[hidden] {
  display: none;
}

/* ======================================
   VOID® — NEW STREETWEAR CART EXPERIENCE
====================================== */

@media (max-width: 768px) {

  #drawer {
    background: #101010 !important;
    color: #f8f5f0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    inset: 0 0 0 auto !important;
    box-sizing: border-box !important;
    padding: 25px 17px calc(18px + env(safe-area-inset-bottom)) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* Header */
  #drawer h2 {
    color: #fff !important;
    font-size: 35px !important;
    font-weight: 950 !important;
    letter-spacing: -1.8px !important;
    text-transform: uppercase !important;
    margin: 0 0 8px !important;
  }

  #drawer h2::after {
    content: ".";
    color: #ff3158;
  }

  #closeCart {
    background: #ff3158 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 43px !important;
    height: 43px !important;
    font-size: 23px !important;
    box-shadow: 0 0 24px #ff315822 !important;
  }

  /* Shipping message */
  #ship {
    color: #aaa39d !important;
    font-size: 12px !important;
    margin: 0 0 18px !important;
  }

  #ship .bar {
    height: 4px !important;
    background: #302c2a !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    margin-top: 11px !important;
  }

  #ship .bar i {
    background: #ff3158 !important;
    border-radius: inherit !important;
  }

  /* Product list */
  #items {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    padding: 3px 2px 20px !important;
    scrollbar-width: thin !important;
    scrollbar-color: #49413e transparent !important;
  }

  /* Dramatically different product cards */
  #items .it {
    display: grid !important;
    grid-template-columns: 104px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    gap: 7px 14px !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px !important;
    margin: 0 !important;
    background: #1b1a19 !important;
    border: 1px solid #302c2a !important;
    border-radius: 19px !important;
    box-shadow: 0 8px 24px #00000020 !important;
    color: #fff !important;
    transition: border-color .25s, transform .25s !important;
  }

  #items .it:active {
    transform: scale(.985) !important;
    border-color: #ff3158 !important;
  }

  /* Product image */
  #items .it .th {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    width: 104px !important;
    height: 118px !important;
    border-radius: 13px !important;
    overflow: hidden !important;
    background: #292725 !important;
    display: grid !important;
    place-items: center !important;
  }

  #items .it .th img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    mix-blend-mode: normal !important;
    transition: transform .3s ease !important;
  }

  #items .it:active .th img {
    transform: scale(1.04) !important;
  }

  /* Product information */
  #items .it > div:nth-child(2) {
    min-width: 0 !important;
    align-self: end !important;
  }

  #items .it h4 {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    line-height: 1.35 !important;
    margin: 0 0 6px !important;
    overflow-wrap: anywhere !important;
  }

  #items .it small {
    display: block !important;
    color: #aaa39d !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  /* Quantity controls */
  #items .it .qty {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 11px !important;
  }

  #items .it .qty button {
    display: grid !important;
    place-items: center !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    padding: 0 !important;
    background: #282523 !important;
    color: #fff !important;
    border: 1px solid #45403d !important;
    border-radius: 50% !important;
    font-size: 18px !important;
    line-height: 1 !important;
  }

  #items .it .qty button:active {
    background: #ff3158 !important;
    border-color: #ff3158 !important;
  }

  #items .it .qty span {
    min-width: 13px !important;
    text-align: center !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
  }

  /* Remove button */
  #items .it .rm {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    color: #ff6c87 !important;
    background: transparent !important;
    border: none !important;
    padding: 5px !important;
    font-size: 10px !important;
    text-decoration: none !important;
    letter-spacing: .4px !important;
  }

  /* Total area */
  #drawer #total {
    color: #fff !important;
    font-size: 25px !important;
    font-weight: 950 !important;
    letter-spacing: -.5px !important;
    font-variant-numeric: tabular-nums !important;
  }

  #drawer > :has(#total) {
    border-color: #302c2a !important;
  }

  /* Checkout button */
  #checkout {
    width: 100% !important;
    min-height: 57px !important;
    flex: 0 0 auto !important;
    margin-top: 14px !important;
    padding: 15px 18px !important;
    background: #ff3158 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    letter-spacing: .4px !important;
    text-transform: uppercase !important;
    box-shadow: 0 8px 26px #ff31582b !important;
    transition: transform .2s, box-shadow .2s !important;
  }

  #checkout:active {
    transform: scale(.98) !important;
    box-shadow: 0 3px 12px #ff315822 !important;
  }

  #checkout:disabled {
    opacity: .45 !important;
    box-shadow: none !important;
  }

  /* Narrow phones */
  @media (max-width: 380px) {
    #drawer {
      padding-left: 12px !important;
      padding-right: 12px !important;
    }

    #items .it {
      grid-template-columns: 84px minmax(0, 1fr) !important;
      gap: 7px 11px !important;
      padding: 9px !important;
    }

    #items .it .th {
      width: 84px !important;
      height: 104px !important;
    }

    #items .it h4 {
      font-size: 13px !important;
    }
  }
}

/* =====================================
   VOID® — PREMIUM MOBILE CHECKOUT
===================================== */

@media (max-width: 768px) {

  #checkoutModal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10001 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px !important;
    background: rgba(0, 0, 0, .82) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }

  #checkoutModal .checkout-box,
  #checkoutModal .checkout-content,
  #checkoutModal .modal-content,
  #checkoutModal .checkout-card,
  #checkoutModal form {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 440px !important;
    min-width: 0 !important;
    max-height: calc(100dvh - 24px) !important;
    margin: 0 auto !important;
    padding: 24px 19px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid rgba(255, 49, 88, .25) !important;
    border-radius: 25px !important;
    background: #fff8f0 !important;
    color: #171311 !important;
    box-shadow: 0 25px 90px rgba(0, 0, 0, .45) !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  /* Brand label */
  #checkoutModal form::before {
    content: "VOID®  /  CHECKOUT";
    display: block;
    margin-bottom: 18px;
    color: #ed174c;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    text-align: left;
  }

  /* Heading */
  #checkoutModal h2 {
    margin: 0 0 10px !important;
    color: #171311 !important;
    font-size: 26px !important;
    font-weight: 950 !important;
    line-height: 1.4 !important;
    letter-spacing: -.6px !important;
  }

  #checkoutModal p {
    font-size: 13px !important;
    line-height: 1.9 !important;
  }

  /* Labels */
  #checkoutModal label {
    display: block !important;
    margin: 18px 0 8px !important;
    color: #29201c !important;
    font-size: 13px !important;
    font-weight: 800 !important;
  }

  /* Inputs and textareas */
  #checkoutModal input:not([type="checkbox"]):not([type="radio"]),
  #checkoutModal textarea,
  #checkoutModal select {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 49px !important;
    box-sizing: border-box !important;
    padding: 13px 14px !important;
    border: 1px solid #e7d7ca !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #171311 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color .2s, box-shadow .2s !important;
  }

  #checkoutModal textarea {
    min-height: 85px !important;
    resize: vertical !important;
  }

  #checkoutModal input:focus,
  #checkoutModal textarea:focus,
  #checkoutModal select:focus {
    border-color: #ed174c !important;
    box-shadow: 0 0 0 3px rgba(237, 23, 76, .09) !important;
  }

  #checkoutModal input::placeholder,
  #checkoutModal textarea::placeholder {
    color: #a99a90 !important;
    opacity: 1 !important;
  }

  /* Payment information */
  #paymentDetails {
    margin-top: 14px !important;
    padding: 17px !important;
    border: 1px solid #ead8cc !important;
    border-radius: 17px !important;
    background: #fff0e7 !important;
    overflow-wrap: anywhere !important;
  }

  #paymentDetails strong,
  #paymentDetails b {
    color: #171311 !important;
  }

  #paymentDetails button {
    min-height: 39px !important;
    padding: 9px 13px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #171311 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
  }

  /* Confirm order */
  #checkoutModal button[type="submit"],
  #checkoutModal #confirmOrder,
  #checkoutModal .submit-order {
    width: 100% !important;
    min-height: 54px !important;
    box-sizing: border-box !important;
    margin-top: 22px !important;
    padding: 14px 17px !important;
    border: none !important;
    border-radius: 15px !important;
    background: #ed174c !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    box-shadow: 0 8px 22px rgba(237, 23, 76, .2) !important;
    transition: transform .2s ease !important;
  }

  #checkoutModal button[type="submit"]:active,
  #checkoutModal #confirmOrder:active,
  #checkoutModal .submit-order:active {
    transform: scale(.98) !important;
  }

  /* Close button */
  #closeCheckout {
    position: sticky !important;
    top: 0 !important;
    z-index: 5 !important;
    float: left !important;
    width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #171311 !important;
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1 !important;
  }

  /* Small screens */
  @media (max-width: 380px) {
    #checkoutModal {
      padding: 8px !important;
    }

    #checkoutModal .checkout-box,
    #checkoutModal .checkout-content,
    #checkoutModal .modal-content,
    #checkoutModal .checkout-card,
    #checkoutModal form {
      max-height: calc(100dvh - 16px) !important;
      padding: 19px 14px !important;
      border-radius: 20px !important;
    }

    #checkoutModal h2 {
      font-size: 23px !important;
    }
  }
}
/* VOID — Emergency Loader Fix */
#voidLoader.loader-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#voidLoader {
  animation: none;
}
/* ==============================
   VOID NEW CART
============================== */

.cartbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid #fff0e5;
  border-radius: 40px;
  background: transparent;
  color: #fff0e5;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cartbtn b {
  display: grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  padding: 0 5px;
  border-radius: 50%;
  background: #fff0e5;
  color: #401426;
}

.void-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(12, 8, 12, .65);
  opacity: 0;
  visibility: hidden;
  transition: .3s ease;
}

.void-cart {
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  width: min(460px, 100%);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: #fff8ef;
  color: #27151c;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1),
              visibility .35s;
  box-sizing: border-box;
}

body.void-cart-open {
  overflow: hidden;
}

body.void-cart-open .void-cart-overlay {
  opacity: 1;
  visibility: visible;
}

body.void-cart-open .void-cart {
  transform: translateX(0);
  visibility: visible;
}

.void-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid #ded3cb;
}

.void-cart-kicker {
  font-size: 10px;
  letter-spacing: 2px;
  opacity: .65;
}

.void-cart-header h2 {
  margin: 8px 0 0;
  font-size: 30px;
  font-weight: 900;
}

.void-cart-header h2 span {
  color: #c8123f;
}

.void-cart-header #cartClose {
  width: 42px;
  height: 42px;
  border: 1px solid #d7c9c1;
  border-radius: 50%;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.void-cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 0;
}

.void-cart-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #e5d9d1;
}

.void-cart-item img {
  width: 88px;
  height: 105px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--item-bg, #eee2d8);
}

.void-cart-product {
  min-width: 0;
}

.void-cart-product h3 {
  margin: 3px 0 6px;
  font-size: 16px;
}

.void-cart-price {
  font-size: 13px;
  opacity: .7;
}

.void-cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 15px;
}

.void-cart-qty {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 5px 9px;
  border: 1px solid #d9ccc3;
  border-radius: 30px;
}

.void-cart-qty button {
  border: 0;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

.void-cart-remove {
  border: 0;
  background: transparent;
  color: #a52843;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}

.void-cart-empty {
  padding: 55px 10px;
  text-align: center;
}

.void-cart-empty h3 {
  font-size: 23px;
}

.void-cart-empty p {
  font-size: 14px;
  opacity: .65;
}

.void-cart-footer {
  padding-top: 20px;
  border-top: 1px solid #ded3cb;
}

.void-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 16px;
}

.void-cart-total strong {
  font-size: 23px;
}

#cartCheckout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 17px 20px;
  border: 0;
  border-radius: 40px;
  background: #401426;
  color: #fff5eb;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

#cartCheckout:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.void-cart-footer > p {
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  opacity: .6;
}

@media (max-width: 480px) {
  .void-cart {
    padding: 20px;
  }

  .void-cart-item {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
  }

  .void-cart-item img {
    width: 76px;
    height: 95px;
  }
}

/* VOID CHECKOUT FORM */

.void-checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(12, 8, 12, .78);
  overflow-y: auto;
}

.void-checkout-overlay.is-visible {
  display: flex;
}

.void-checkout {
  width: min(600px, 100%);
  max-height: 90dvh;
  overflow-y: auto;
  padding: 28px;
  border-radius: 22px;
  background: #fff8ef;
  color: #27151c;
  box-sizing: border-box;
}

.checkout-header {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ded3cb;
}

.checkout-header span,
.checkout-loading-logo {
  letter-spacing: 2px;
  font-weight: 900;
}

.checkout-header h2 {
  margin: 10px 0;
  font-size: clamp(25px, 5vw, 36px);
}

.checkout-header h2 span {
  color: #c8123f;
}

.checkout-header p {
  margin: 0;
  font-size: 13px;
  opacity: .7;
}

#checkoutClose {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid #d7c9c1;
  border-radius: 50%;
  background: transparent;
  font-size: 27px;
  cursor: pointer;
}

.checkout-fields {
  display: grid;
  gap: 16px;
  padding: 22px 0;
}

.checkout-fields label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.checkout-fields input,
.checkout-fields select,
.checkout-fields textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid #d9ccc3;
  border-radius: 10px;
  background: #fffdf9;
  color: #27151c;
  font: inherit;
  font-size: 14px;
  box-sizing: border-box;
}

.checkout-fields textarea {
  resize: vertical;
}

.checkout-fields input:focus,
.checkout-fields select:focus,
.checkout-fields textarea:focus {
  outline: 2px solid #c8123f;
  outline-offset: 1px;
}

#transferFields {
  display: grid;
  gap: 16px;
}

#transferFields[hidden] {
  display: none;
}

.checkout-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  opacity: .7;
}

.checkout-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid #ded3cb;
  font-weight: 700;
}

.checkout-summary strong {
  font-size: 22px;
}

.checkout-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 17px 20px;
  border: 0;
  border-radius: 40px;
  background: #401426;
  color: #fff5eb;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.checkout-disclaimer,
#checkoutMessage {
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
  opacity: .7;
}

.checkout-loading {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: none;
  align-items: center;
  justify-content: center;
  background: #401426;
  color: #fff5eb;
}

.checkout-loading.is-visible {
  display: flex;
}

.checkout-loading-content {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.checkout-loading-logo {
  font-size: 42px;
}

.checkout-loading-logo span {
  font-size: 16px;
}

.checkout-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid #ffffff44;
  border-top-color: #fff5eb;
  border-radius: 50%;
  animation: voidCheckoutSpin .8s linear infinite;
}

.checkout-loading-content p {
  font-size: 11px;
  letter-spacing: 2px;
}

@keyframes voidCheckoutSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 480px) {
  .void-checkout {
    padding: 20px;
    border-radius: 16px;
  }
}

/* ==========================================
   VOID® — PREMIUM CART UI UPGRADE
   Desktop + Laptop + Mobile
   Add at the END of your CSS file
========================================== */

:root {
  --void-black: #111111;
  --void-dark: #1b1b1b;
  --void-muted: #777777;
  --void-border: #e9e9e9;
  --void-surface: #ffffff;
  --void-soft: #f6f5f2;
  --void-radius: 18px;
  --void-shadow: 0 20px 65px rgba(0, 0, 0, 0.13);
}

/* Prevent horizontal overflow */
html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

body.void-cart-open {
  overflow: hidden;
}

/* ---------- CART OVERLAY ---------- */

#cartOverlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(12, 12, 12, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.void-cart-open #cartOverlay {
  opacity: 1;
  visibility: visible;
}

/* ---------- CART DRAWER ---------- */

#voidCart {
  position: fixed;
  z-index: 9991;
  top: 0;
  right: 0;
  width: min(440px, 100%);
  height: 100vh;
  height: 100dvh;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  background: var(--void-surface);
  color: var(--void-black);
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--void-shadow);
  transform: translateX(105%);
  visibility: hidden;
  transition:
    transform 0.38s cubic-bezier(.2, .75, .25, 1),
    visibility 0.38s ease;
  overscroll-behavior: contain;
}

body.void-cart-open #voidCart,
#voidCart[aria-hidden="false"] {
  transform: translateX(0);
  visibility: visible;
}

/* ---------- CART HEADER / CLOSE BUTTON ---------- */

#cartClose {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--void-border);
  border-radius: 50%;
  background: #fff;
  color: var(--void-black);
  font-size: 23px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

#cartClose:hover {
  background: var(--void-black);
  color: #fff;
  transform: rotate(90deg);
}

/* ---------- CART ITEMS AREA ---------- */

#cartItems {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 3px 2px 16px 0;
  scrollbar-width: thin;
  scrollbar-color: #c9c9c9 transparent;
  overscroll-behavior: contain;
}

#cartItems::-webkit-scrollbar {
  width: 5px;
}

#cartItems::-webkit-scrollbar-thumb {
  background: #c9c9c9;
  border-radius: 20px;
}

/* ---------- INDIVIDUAL PRODUCT ---------- */

.void-cart-item {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 13px;
  border: 1px solid var(--void-border);
  border-radius: var(--void-radius);
  background: #fff;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
  animation: voidCartItemIn 0.35s ease both;
}

.void-cart-item:hover {
  border-color: #c9c9c9;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.055);
  transform: translateY(-2px);
}

.void-cart-item > img {
  display: block;
  width: 100px;
  height: 110px;
  object-fit: contain;
  padding: 7px;
  border-radius: 13px;
  background: var(--item-bg, #f4f1ec);
}

.void-cart-product {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.void-cart-product h3 {
  margin: 0;
  color: var(--void-black);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.void-cart-price {
  color: var(--void-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ---------- QUANTITY CONTROLS ---------- */

.void-cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.void-cart-qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 36px;
  padding: 3px;
  border: 1px solid var(--void-border);
  border-radius: 30px;
  background: #fafafa;
}

.void-cart-qty button {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--void-black);
  font-size: 19px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.void-cart-qty button:hover:not(:disabled) {
  background: #e9e9e9;
}

.void-cart-qty button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.void-cart-qty span {
  min-width: 25px;
  padding: 0 3px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.void-cart-remove {
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #a33d3d;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.void-cart-remove:hover {
  color: #e00000;
  text-decoration: underline;
}

/* ---------- EMPTY CART ---------- */

.void-cart-empty {
  flex: 1;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px 18px;
  text-align: center;
  color: var(--void-muted);
}

.void-cart-empty h3 {
  margin: 0;
  color: var(--void-black);
  font-size: 21px;
  font-weight: 750;
}

.void-cart-empty p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- CART TOTAL ---------- */

#cartTotal {
  color: var(--void-black);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}

/* ---------- CHECKOUT BUTTON ---------- */

#cartCheckout {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border: 1px solid var(--void-black);
  border-radius: 13px;
  background: var(--void-black);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

#cartCheckout:hover:not(:disabled) {
  background: #333;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}

#cartCheckout:active:not(:disabled) {
  transform: scale(0.985);
}

#cartCheckout:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ---------- CHECKOUT MODAL ---------- */

#checkoutOverlay {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(10, 10, 10, 0.64);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

#checkoutOverlay.is-visible {
  opacity: 1;
  visibility: visible;
}

#checkoutOverlay > * {
  max-width: 100%;
}

/* ---------- CHECKOUT FORM ---------- */

#checkoutForm {
  width: 100%;
  max-width: 540px;
  margin: auto;
}

#checkoutForm input,
#checkoutForm select,
#checkoutForm textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #dedede;
  border-radius: 11px;
  outline: none;
  background: #fff;
  color: var(--void-black);
  font: inherit;
  font-size: 14px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

#checkoutForm textarea {
  min-height: 95px;
  resize: vertical;
}

#checkoutForm input:focus,
#checkoutForm select:focus,
#checkoutForm textarea:focus {
  border-color: #222;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.07);
}

#checkoutForm input::placeholder,
#checkoutForm textarea::placeholder {
  color: #999;
}

#checkoutForm label {
  display: block;
  margin-bottom: 7px;
  color: #292929;
  font-size: 13px;
  font-weight: 650;
}

#checkoutForm button[type="submit"] {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  background: var(--void-black);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

#checkoutForm button[type="submit"]:hover:not(:disabled) {
  background: #333;
  transform: translateY(-1px);
}

#checkoutForm button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* ---------- PAYMENT INSTRUCTIONS ---------- */

#paymentInstructions {
  margin-top: 14px;
  padding: 17px;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  background: var(--void-soft);
}

#paymentInstructions[hidden] {
  display: none !important;
}

#paymentTitle {
  margin: 0 0 8px;
  color: var(--void-black);
  font-size: 15px;
  font-weight: 750;
}

#paymentDescription {
  margin: 0 0 12px;
  color: #666;
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

#paymentAccount {
  display: inline-block;
  max-width: 100%;
  color: var(--void-black);
  font-size: 15px;
  font-weight: 800;
  overflow-wrap: anywhere;
  user-select: all;
}

#copyPaymentAccount {
  min-height: 42px;
  margin-top: 12px;
  padding: 9px 15px;
  border: 1px solid var(--void-black);
  border-radius: 9px;
  background: var(--void-black);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.2s ease;
}

#copyPaymentAccount:hover {
  background: #333;
}

#copyPaymentStatus {
  margin-top: 8px;
  color: #247a49;
  font-size: 12px;
  line-height: 1.6;
}

/* ---------- STATUS MESSAGE ---------- */

#checkoutMessage {
  margin-top: 15px;
  padding: 14px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #f8f8f8;
  color: #333;
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

#checkoutMessage[hidden] {
  display: none !important;
}

#checkoutMessage a {
  display: inline-block;
  margin-top: 8px;
  color: var(--void-black);
  font-weight: 750;
  text-decoration: underline;
}

/* ---------- CLOSE BUTTON IN CHECKOUT ---------- */

#checkoutClose {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--void-border);
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 22px;
  cursor: pointer;
}

/* ---------- ACCESSIBILITY ---------- */

#voidCart button:focus-visible,
#checkoutOverlay button:focus-visible,
#checkoutForm input:focus-visible,
#checkoutForm select:focus-visible,
#checkoutForm textarea:focus-visible {
  outline: 2px solid #777;
  outline-offset: 3px;
}

/* ---------- ANIMATIONS ---------- */

@keyframes voidCartItemIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- TABLETS / SMALL LAPTOPS ---------- */

@media (max-width: 900px) {
  #voidCart {
    width: min(420px, 100%);
    padding: 22px;
    gap: 16px;
  }

  .void-cart-item {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 13px;
    padding: 11px;
  }

  .void-cart-item > img {
    width: 88px;
    height: 100px;
  }
}

/* ---------- MOBILE ---------- */

@media (max-width: 600px) {
  #voidCart {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 88vh;
    height: 88dvh;
    max-height: 780px;
    padding:
      22px
      max(16px, env(safe-area-inset-right))
      max(16px, env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
    gap: 14px;
    border: 0;
    border-radius: 23px 23px 0 0;
    transform: translateY(105%);
    box-shadow: 0 -12px 50px rgba(0, 0, 0, 0.18);
  }

  body.void-cart-open #voidCart,
  #voidCart[aria-hidden="false"] {
    transform: translateY(0);
  }

  #cartOverlay {
    background: rgba(0, 0, 0, 0.5);
  }

  #cartItems {
    gap: 11px;
    padding-bottom: 8px;
  }

  .void-cart-item {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
    border-radius: 15px;
  }

  .void-cart-item > img {
    width: 82px;
    height: 91px;
    padding: 5px;
    border-radius: 11px;
  }

  .void-cart-product {
    gap: 7px;
  }

  .void-cart-product h3 {
    font-size: 14px;
  }

  .void-cart-price {
    font-size: 12px;
  }

  .void-cart-item-bottom {
    gap: 7px;
  }

  .void-cart-qty {
    min-height: 33px;
  }

  .void-cart-qty button {
    width: 28px;
    height: 28px;
  }

  .void-cart-qty span {
    min-width: 21px;
    font-size: 12px;
  }

  .void-cart-remove {
    font-size: 11px;
  }

  #cartTotal {
    font-size: 23px;
  }

  #cartCheckout {
    min-height: 53px;
    border-radius: 12px;
  }

  #checkoutOverlay {
    align-items: flex-end;
    padding: 0;
  }

  #checkoutForm {
    max-width: none;
  }
}

/* ---------- VERY SMALL PHONES ---------- */

@media (max-width: 360px) {
  #voidCart {
    padding: 17px 12px max(12px, env(safe-area-inset-bottom));
  }

  .void-cart-item {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 9px;
    padding: 8px;
  }

  .void-cart-item > img {
    width: 70px;
    height: 82px;
  }

  .void-cart-product h3 {
    font-size: 13px;
  }

  .void-cart-qty button {
    width: 25px;
    height: 27px;
  }
}

/* ---------- REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {
  #voidCart,
  #cartOverlay,
  #checkoutOverlay,
  .void-cart-item,
  #cartCheckout,
  .void-cart-qty button {
    animation: none !important;
    transition: none !important;
  }
}
.void-thank-you {
  padding: 28px 20px;
  text-align: center;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  color: #111;
  animation: voidThankIn .45s ease both;
}

.void-thank-icon {
  font-size: 38px;
  margin-bottom: 14px;
}

.void-thank-you h2 {
  font-size: 21px;
  font-weight: 850;
  letter-spacing: 1px;
  line-height: 1.4;
  margin: 0 0 12px;
}

.void-thank-tagline {
  font-weight: 700;
  font-size: 14px;
}

.void-thank-you p {
  color: #666;
  font-size: 13px;
  line-height: 1.9;
}

.void-thank-you .void-thank-status {
  padding: 12px;
  background: #f5f5f5;
  border-radius: 10px;
  color: #222;
}

.void-thank-you strong {
  display: block;
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 1px;
}

@keyframes voidThankIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}