@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
  /* Neo-Brutalist Color Palette */
  --bg-yellow: #FFDE59;
  --bg-black: #000000;
  --bg-white: #FFFFFF;
  --accent-pink: #FF90E8;
  --accent-cyan: #00FFFF;
  --accent-blue: #3B82F6;

  --border-thick: 4px solid #000;
  --border-thin: 2px solid #000;
  --shadow-solid: 6px 6px 0px #000;
  --shadow-solid-sm: 3px 3px 0px #000;
  --shadow-solid-hover: 10px 10px 0px #000;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;

  /* Fluid Typography — tighter floor values for mobile readability */
  --text-mega: clamp(36px, 8vw, 96px);
  --text-hero: clamp(28px, 7vw, 80px);
  --text-h1: clamp(22px, 5vw, 56px);
  --text-h2: clamp(18px, 4vw, 40px);
  --text-h3: clamp(16px, 3.5vw, 28px);
  --text-body-lg: clamp(15px, 2.5vw, 20px);
  --text-body: clamp(13px, 2vw, 16px);

  /* Responsive Spacing */
  --pad-xl: clamp(32px, 6vw, 80px);
  --pad-lg: clamp(24px, 4vw, 56px);
  --pad-md: clamp(16px, 3vw, 40px);
  --pad-sm: clamp(10px, 2vw, 24px);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--bg-black);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
}

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

/* ── Layout ── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--pad-md);
}

/* ── Typography Enhancements ── */
.highlight-pink {
  display: inline-block;
  position: relative;
  z-index: 1;
}

.highlight-pink::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: -4px;
  right: -4px;
  height: 12px;
  background-color: var(--accent-pink);
  z-index: -1;
  border-radius: 20px;
  transform: rotate(-1deg);
}

.highlight-yellow {
  background-color: var(--bg-yellow);
  padding: 0 8px;
  border: var(--border-thin);
  box-shadow: var(--shadow-solid-sm);
  display: inline-block;
  transform: rotate(1deg);
}

.circle-highlight {
  position: relative;
  display: inline-block;
}

.circle-highlight::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -15px;
  right: -15px;
  bottom: -10px;
  border: 4px solid var(--accent-pink);
  border-radius: 50% 40% 50% 40% / 60% 50% 40% 50%;
  z-index: -1;
}

/* ── Buttons ── */
.brutal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(14px, 3.5vw, 18px);
  text-transform: uppercase;
  background: var(--accent-blue);
  color: var(--bg-black);
  border: var(--border-thick);
  border-radius: 6px;
  box-shadow: var(--shadow-solid);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.brutal-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-solid-hover);
}

.brutal-btn:active {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0px #000;
}

.brutal-btn-pink {
  background: var(--accent-pink);
}

.brutal-btn-yellow {
  background: var(--bg-yellow);
}

.brutal-test-btn {
  text-align: left;
  background: #f4f4f0;
  border: 3px solid #000;
  padding: 14px 16px;
  font-size: clamp(13px, 3.5vw, 16px);
  font-family: var(--font-body);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 4px 4px 0px #000;
  transition: transform 0.1s, box-shadow 0.1s, background-color 0.1s;
  line-height: 1.4;
}

.brutal-test-btn:hover:not(:disabled) {
  background: var(--bg-yellow);
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0px #000;
}

.brutal-test-btn:active:not(:disabled),
.brutal-test-btn.selected {
  transform: translate(4px, 4px);
  box-shadow: none;
}

/* ── Animations ── */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100vw;
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
  background: var(--bg-black);
  color: var(--bg-white);
  padding: 14px 0;
}

.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
  font-family: var(--font-heading);
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-block;
  padding: 0 32px;
}

/* ── Responsive Grid/Flex helpers ── */
.responsive-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.responsive-flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .responsive-grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .responsive-flex-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .brutal-btn {
    width: 100%;
    padding: 14px 16px;
  }
}

/* Fix thinking errors pink line to act as an underline on mobile/tablet instead of a strikethrough */
@media (max-width: 1024px) {
  .highlight-pink::after {
    bottom: -6px;
    height: 4px;
    left: -2px;
    right: -2px;
  }
}

/* ── Neobrutalist Responsive Navbar ── */
.brutal-nav {
  padding: 12px 24px;
  border-bottom: 3px solid #000;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Outfit', 'Space Grotesk', system-ui, sans-serif;
  transition: padding 0.2s ease;
}

.brutal-nav-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: height 0.2s ease;
}

.brutal-nav-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brutal-nav-btn {
  display: inline-block;
  font-size: clamp(11px, 3.5vw, 15px);
  font-weight: 900;
  text-decoration: none;
  color: #000;
  border: 3px solid #000;
  padding: 8px 16px;
  box-shadow: 4px 4px 0px #000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: transform 0.1s, box-shadow 0.1s;
}

.brutal-nav-btn:hover {
  transform: translate(-1.5px, -1.5px);
  box-shadow: 5.5px 5.5px 0px #000;
}

.brutal-nav-btn:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0px #000;
}

@media (max-width: 768px) {
  .brutal-nav {
    padding: 10px 12px;
  }
  
  .brutal-nav-logo {
    height: 32px;
  }
  
  .brutal-nav-links {
    gap: 8px;
  }
  
  .brutal-nav-btn {
    padding: 6px 10px;
    font-size: 11px;
    box-shadow: 2.5px 2.5px 0px #000;
  }
  
  .brutal-nav-btn:hover {
    transform: none;
    box-shadow: 2.5px 2.5px 0px #000;
  }
  
  .brutal-nav-btn:active {
    transform: translate(1.5px, 1.5px);
    box-shadow: 1px 1px 0px #000;
  }
}

/* ── Buy Page Responsiveness ── */
.buy-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}

.buy-carousel-scroll {
  width: 100%;
  height: 420px;
  display: flex;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  background: #fff;
  border: 3px solid #000;
  border-radius: 16px;
  box-shadow: 4px 4px 0px #000;
  scrollbar-width: none; /* Firefox */
  -webkit-overflow-scrolling: touch; /* iOS */
}

.buy-carousel-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.buy-thumbnail-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 8px 4px;
  margin-top: 16px;
  scrollbar-width: thin;
  scrollbar-color: #000 #fff;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.buy-thumbnail-carousel::-webkit-scrollbar {
  height: 6px;
}

.buy-thumbnail-carousel::-webkit-scrollbar-track {
  background: #fff;
  border: 1px solid #000;
  border-radius: 4px;
}

.buy-thumbnail-carousel::-webkit-scrollbar-thumb {
  background: #000;
  border-radius: 4px;
}

.buy-thumbnail-item {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border: 3px solid #000;
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  padding: 0;
  box-shadow: 2px 2px 0px #000;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.buy-thumbnail-item:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0px #000;
}

.buy-thumbnail-item:active,
.buy-thumbnail-item.active {
  border-color: #FFC900;
  background-color: #FFFCEB;
  box-shadow: 3px 3px 0px #000;
  transform: translate(1px, 1px);
}

.buy-thumbnail-scaler {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.buy-thumbnail-scaler.box-scale {
  width: 822px;
  height: 1122px;
  transform: translate(-50%, -50%) scale(0.06);
}

.buy-thumbnail-scaler.card-scale {
  width: 750px;
  height: 1050px;
  transform: translate(-50%, -50%) scale(0.065);
}

.buy-anatomy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.buy-reviews-summary-widget {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: center;
}

.buy-reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.buy-drawer-address-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
}

@media (max-width: 1024px) {
  .buy-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .buy-carousel-scroll {
    height: 320px;
  }
  
  .buy-thumbnail-item {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    border-width: 2.5px;
  }
  .buy-thumbnail-scaler.box-scale {
    transform: translate(-50%, -50%) scale(0.05);
  }
  .buy-thumbnail-scaler.card-scale {
    transform: translate(-50%, -50%) scale(0.055);
  }
  
  .buy-reviews-summary-widget {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  
  .buy-reviews-summary-widget > div:first-child {
    border-right: none !important;
    border-bottom: 2px dashed #ccc;
    padding-right: 0 !important;
    padding-bottom: 20px;
  }

  .buy-reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

}

@media (max-width: 480px) {
  .buy-anatomy-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .buy-drawer-address-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ── Visual Preview Scaling Classes ── */
.buy-preview-scaler {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.buy-preview-scaler.box-scale {
  width: 822px;
  height: 1122px;
  transform: translate(-50%, -50%) scale(0.34);
}

.buy-preview-scaler.card-scale {
  width: 750px;
  height: 1050px;
  transform: translate(-50%, -50%) scale(0.36);
}

@media (max-width: 768px) {
  .buy-preview-scaler.box-scale {
    transform: translate(-50%, -50%) scale(0.25);
  }

  .buy-preview-scaler.card-scale {
    transform: translate(-50%, -50%) scale(0.27);
  }
}

.buy-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
  overflow: hidden;
  background: #fff;
}

/* ── Responsive Neobrutalist Cards ── */
.buy-card-box {
  border: 4px solid #000;
  border-radius: 24px;
  padding: 32px;
  background: #fff;
  box-shadow: 8px 8px 0px #000;
  box-sizing: border-box;
}

.buy-carousel-container {
  border: 4px solid #000;
  border-radius: 24px;
  padding: 20px;
  background: #f9f9f9;
  box-shadow: 8px 8px 0px #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .buy-card-box {
    padding: 20px 16px;
    border-radius: 16px;
    box-shadow: 5px 5px 0px #000;
  }
  .buy-carousel-container {
    padding: 12px;
    border-radius: 16px;
    box-shadow: 5px 5px 0px #000;
  }
}

@media (max-width: 576px) {
  .hide-mobile {
    display: none !important;
  }
}


