
:root {
  --cream: #fff1dc;
  --black: #000000;
  --blue: #59c8ef;
  --teal: #004e64;
  --gold: #efb733;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--black);
  font-family: Arial, Helvetica, sans-serif;
}

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

/* Header and navigation */
.site-header {
  height: 81px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 3.55%;
  background: #000000 !important;
}

.logo {
  display: grid;
  justify-items: center;
  flex-shrink: 0;
}

.logo a {
  display: flex;
  align-items: center;
}

.brand-image {
  width: 68px;
  height: 66px;
  object-fit: contain;
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(19px, 2vw, 34px);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(0.95rem, 1.55vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.main-nav a {
  color: #ffffff !important;
  font-weight: 400;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.current {
  color: #cccccc !important;
}

/* Homepage */
.home-page {
  min-height: 100vh;
  background: var(--cream);
}

.home-hero {
  min-height: calc(100vh - 81px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 88px 20px 45px;
  text-align: center;
}

.home-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(4rem, 7.7vw, 6.1rem);
  line-height: 1.22;
  letter-spacing: -0.075em;
  font-weight: 900;
}

.home-hero h1 span {
  display: block;
  line-height: 0.98;
}

.hero-tagline {
  margin: 7px 0 0;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(2rem, 3.45vw, 3rem);
}

.hero-action {
  margin-top: clamp(85px, 14vh, 132px);
}

.hero-action p {
  margin: 0 0 29px;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  font-style: italic;
}

.start-button {
  display: inline-block;
  min-width: 390px;
  padding: 16px 44px;
  border-radius: 29px;
  background: var(--blue);
  font-size: clamp(1.55rem, 3.3vw, 2.25rem);
  font-weight: 900;
}

.start-button:hover {
  background: #2eb9ed;
  transform: translateY(-2px);
}

/* Main Line, Repurpose, and About pages */
.simple-page {
  min-height: 100vh;
  background: var(--cream);
}

.simple-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 12vh 8vw;
  text-align: center;
}

.simple-content h1 {
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 6.3rem);
  letter-spacing: -0.07em;
}

.simple-content p {
  max-width: 650px;
  margin: 22px auto 0;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.25;
}

/* Customizer pages */
.customizer-page {
  min-height: 100vh;
  background: var(--cream) !important;
}

.customizer-main {
  padding: 22px 5.4vw 50px;
}

/* Upper and Soleplate tabs with animated underline */
.config-tabs {
  display: flex;
  gap: clamp(35px, 6vw, 93px);
  margin-bottom: 60px;
  position: relative;
}

.config-tabs a {
  position: relative;
  padding-bottom: 10px;
  font-size: clamp(2.5rem, 4.2vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  transition: color 0.3s ease;
}

.config-tabs a.active {
  color: var(--gold);
}

.config-tabs a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
}

.config-tabs a.active::after {
  transform: scaleX(1);
  animation: tab-underline-in 0.3s ease both;
}

@keyframes tab-underline-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.customizer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 300px;
  gap: 30px;
  align-items: start;
}

.option-switcher {
  width: min(100%, 312px);
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  overflow: hidden;
  border: 2px solid #111;
  border-radius: 23px;
  background: var(--teal);
  color: white;
}

.option-switcher strong {
  text-align: center;
  font-size: 1.3rem;
}

.arrow-button {
  height: 49px;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 1.05rem;
}

.arrow-button:hover {
  background: rgba(255, 255, 255, 0.13);
}

.option-description {
  margin: 14px 0 17px;
  font-size: 0.88rem;
}

.picture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.picture-card {
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  border: 3px solid transparent;
  background: var(--teal);
  color: white;
  cursor: pointer;
}

.picture-card:hover,
.picture-card.selected {
  border-color: var(--gold);
  background: #00637d;
}

.picture-card span {
  align-self: center;
  margin: auto;
  text-align: center;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.picture-card small {
  color: #c7e8f2;
  font-size: 0.62rem;
}

.boot-preview {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.boot-image {
  width: min(40vw, 470px);
  height: auto;
  object-fit: contain;
}

.boot-preview p {
  margin: 34px 0 0;
  color: #665d53;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

/* Customization color picker */
.color-picker-area {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.color-picker-area label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}

.color-value {
  color: var(--teal);
  font-weight: 700;
}

.color-swatches-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid transparent;
  outline: 1px solid #ccc;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.color-swatch:hover {
  transform: scale(1.1);
}

.color-swatch.active {
  border-color: #fff;
  outline: 2px solid var(--black);
  transform: scale(1.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Customization report */
.customization-report {
  width: 300px;
  padding: 28px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  align-self: start;
}

.customization-report h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.customization-report h3 {
  font-size: 12px;
  letter-spacing: 1.5px;
  margin-top: 20px;
  margin-bottom: 12px;
}

.customization-report p {
  margin: 8px 0;
  line-height: 1.5;
  font-size: 14px;
}

.customization-report strong {
  font-weight: 600;
}

.report-divider {
  height: 1px;
  background: #ddd;
  margin: 20px 0;
}

/* Upper customizer: match Soleplate styling */
.site-header .logo {
  color: #ffffff !important;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.customizer-main .customizer-layout {
  align-items: start;
}

.custom-boot-card {
  width: 300px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 8px;
  align-self: start;
}

.custom-boot-card h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.custom-boot-card h3 {
  margin-top: 20px;
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 1.5px;
}

.custom-boot-card p {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.custom-boot-card hr {
  border: 0;
  border-top: 1px solid #dddddd;
  margin: 20px 0;
}

/* Responsive layouts */
@media (max-width: 1000px) {
  .customizer-layout {
    grid-template-columns: 1fr 1fr;
  }

  .customization-report,
  .custom-boot-card {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 72px;
    padding: 8px 5%;
    background: #000000 !important;
  }

  .brand-image {
    width: 54px;
    height: 52px;
    filter: brightness(0) invert(1) !important;
  }

  .main-nav {
    gap: 14px;
    font-size: 0.72rem;
  }

  .main-nav a:nth-child(1),
  .main-nav a:nth-child(3) {
    display: none;
  }

  .home-hero {
    min-height: calc(100vh - 72px);
    padding-top: 80px;
  }

  .start-button {
    min-width: 0;
    padding: 15px 36px;
  }

  .customizer-main {
    padding: 28px 6vw 36px;
  }

  .config-tabs {
    margin-bottom: 36px;
  }

  .config-tabs a {
    padding-bottom: 8px;
  }

  .customizer-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .customization-report,
  .custom-boot-card {
    grid-column: auto;
    width: 100%;
  }

  .picture-card {
    min-height: 100px;
    padding: 9px;
  }

  .boot-preview {
    min-height: 260px;
    order: -1;
  }

  .boot-image {
    width: min(85vw, 430px);
  }
}

/* Global logo visibility: white on every page */
.site-header .brand-image,
.logo .brand-image,
.brand-image {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Consistent header and navigation colors across all pages */
.site-header {
  background-color: #000000 !important;
}

.site-header .main-nav a {
  color: #ffffff !important;
}

.site-header .main-nav a:hover,
.site-header .main-nav a.current {
  color: #cccccc !important;
}

/* Homepage background video */
.home-page {
  position: relative;
  isolation: isolate;
}

.home-page .background-video {
  position: absolute;
  top: 81px;
  left: 0;
  width: 100%;
  height: calc(100vh - 81px);
  object-fit: cover;
  object-position: center;
  z-index: -1;
  pointer-events: none;
}

/* Keep the homepage content above the video */
.home-page .home-hero {
  position: relative;
  z-index: 1;
  background: transparent;
}

/* Homepage heading: both lines white */
.home-page .home-hero h1 {
  color: #ffffff;
}

.home-page .home-hero h1 span {
  color: #ffffff;
}

/* Make Football Boots smaller than HUTEMA */
.home-page .home-hero h1 .hero-subtitle {
  margin-top: 8px;
  font-size: 0.58em;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

@media (max-width: 700px) {
  .home-page .background-video {
    top: 72px;
    height: calc(100vh - 72px);
  }
}

/* Soccer Ball Cursor - Cursors-4U */
* {
  cursor: url('https://cdn.cursors-4u.net/previews/soccer-ball-4-d9298d72-32.webp') 32 32, auto !important;
}
/* End Soccer Ball Cursor */

/* Navigation refinements */
.site-header {
  width: 100%;
  position: relative;
  z-index: 10;
}

.main-nav {
  gap: clamp(16px, 1.8vw, 28px);
  font-size: clamp(0.88rem, 1.25vw, 1.12rem);
}

.site-header .main-nav .nav-account,
.site-header .main-nav .nav-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 30px;
}

.site-header .main-nav .nav-account svg,
.site-header .main-nav .nav-cart svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header .main-nav .nav-account:hover,
.site-header .main-nav .nav-cart:hover {
  color: #ccc !important;
}

@media (max-width: 760px) {
  .site-header {
    gap: 10px;
  }

  .main-nav {
    gap: 12px;
    font-size: 0.68rem;
  }

  .site-header .main-nav .nav-account,
  .site-header .main-nav .nav-cart {
    width: 20px;
  }

  .site-header .main-nav .nav-account svg,
  .site-header .main-nav .nav-cart svg {
    width: 19px;
    height: 19px;
  }
}

/* =========================================
   HUTEMA ACCOUNT DROPDOWN
   ========================================= */

/* Keep the navigation above the dimmed page */
.site-header {
  position: relative;
  z-index: 50;
}

/* Account icon button */
.site-header .main-nav .nav-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.site-header .main-nav .nav-account svg,
.site-header .main-nav .nav-cart svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header .main-nav .nav-account:hover,
.site-header .main-nav .nav-cart:hover {
  opacity: 0.7;
}

.site-header .main-nav .nav-account:focus-visible,
.account-action:focus-visible {
  outline: 2px solid #777;
  outline-offset: 4px;
}

/* Dark overlay: the website remains visible underneath */
.account-overlay {
  position: fixed;
  inset: 81px 0 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.48);
}

.account-overlay[hidden],
.account-dropdown[hidden] {
  display: none !important;
}

/* White dropdown panel */
.account-dropdown {
  position: absolute;
  top: 100%;
  right: 3.55%;
  z-index: 60;
  width: min(360px, calc(100vw - 24px));
  padding: 28px;
  box-sizing: border-box;
  background: #fff;
  color: #111;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  font-family: Arial, Helvetica, sans-serif;
  text-align: left;
}

/* Welcome and registration sections */
.account-dropdown h2 {
  margin: 0 0 14px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.account-dropdown h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.account-dropdown p {
  margin: 0 0 22px;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: normal;
  text-transform: none;
}

.account-dropdown .account-action {
  display: flex;
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.account-dropdown .account-action-primary {
  border: 1px solid #111;
  background: #111;
  color: #fff;
}

.account-dropdown .account-action-primary:hover {
  background: #333;
}

.account-dropdown .account-action-secondary {
  border: 1px solid #111;
  background: #fff;
  color: #111;
}

.account-dropdown .account-action-secondary:hover {
  background: #f0f0f0;
}

.account-dropdown .account-divider {
  height: 1px;
  margin: 26px 0;
  border: 0;
  background: #dedede;
}

/* Mobile layout */
@media (max-width: 760px) {
  .account-overlay {
    inset: 72px 0 0;
  }

  .account-dropdown {
    right: 0px;
    width: min(360px, calc(100vw - 24px));
    padding: 24px;
  }

@media (max-width: 760px) {
  .account-dropdown {
    right: 0;
  }

/* Final account panel positioning */
.account-dropdown {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  width: 340px !important;
  max-width: calc(100vw - 16px) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Mobile: keep the panel against the right edge */
@media (max-width: 760px) {
  .account-dropdown {
    right: 0 !important;
    left: auto !important;
    width: min(340px, 100vw) !important;
    max-width: 100vw !important;
  }
}