/* ========================================
   HEAVY BEAUTY — Premium Kettlebells
   Inspired by Brabus template typography & motion
   Accent gold: #c9a84c  |  Accent silver: #c0c0c0
   ======================================== */

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

html {
  overflow: hidden;
}

/* Allow scrolling on inner pages */
html:has(.page-product),
html:has(.page-collection),
html:has(.page-cart),
html:has(.page-auth),
html:has(.page-account),
html:has(.page-info) {
  overflow: auto;
}

body {
  font-family: "Poppins", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-size: 17px;
  color: #0e0e0e;
  overflow: hidden;
  background: #000;
}

a {
  color: #0e0e0e;
  text-decoration: none;
  transition: 0.25s ease-in-out;
}

img {
  max-width: 100%;
}

/* ---- PRELOADER ---- */
.preloader {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 100;
  background: #1a1a1a;
  transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
}

.preloader .layer {
  width: 25%;
  height: 100%;
  position: absolute;
  bottom: 0;
  background: #0e0e0e;
  z-index: 2;
  transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
}

.preloader .layer:nth-child(1) { left: 0; transition-delay: 0.15s; }
.preloader .layer:nth-child(2) { left: 25%; transition-delay: 0.2s; }
.preloader .layer:nth-child(3) { left: 50%; transition-delay: 0.25s; }
.preloader .layer:nth-child(4) { left: 75%; transition-delay: 0.3s; }

.preloader .inner {
  position: relative;
  z-index: 3;
  transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
}

.preloader .typewriter {
  display: inline-block;
  color: #fff;
  font-family: "Fjalla One", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 4px;
}

/* Preloader hidden state */
body.loaded .preloader {
  bottom: -100%;
  transition-delay: 0.55s;
}

body.loaded .preloader .layer {
  bottom: -100%;
}

body.loaded .preloader .inner {
  transform: translateY(30px);
  opacity: 0;
}

/* ---- NAVBAR ---- */
.navbar {
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  padding: 24px 40px;
  z-index: 50;
  transform: translateY(-130%);
  transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
  background: rgba(14, 14, 14, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.loaded .navbar {
  transform: translateY(0);
  transition-delay: 0.75s;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  font-family: "Fjalla One", sans-serif;
  font-size: 24px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.nav-right ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-right ul li a {
  font-family: "Fjalla One", sans-serif;
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: 0.25s ease-in-out;
}

.nav-right ul li a:hover {
  padding-bottom: 2px;
  border-bottom: 2px solid #fff;
}


/* ---- MAIN SLIDER ---- */
.main-slider {
  width: 100%;
  height: 100vh;
  position: relative;
}

.swiper-slide {
  overflow: hidden;
  background: #000;
}

.slide-inner {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
  transform: scale(0.85);
  transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
}

.swiper-slide-active .slide-inner {
  transform: scale(1);
}

.slide-inner .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 2;
  transform: translateY(50px);
  opacity: 0;
  transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
  transition-delay: 0.15s;
}

.swiper-slide-active .slide-inner .container {
  transform: translateY(0);
  opacity: 1;
}

/* Slide overlay for photo slide */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

/* ---- SLIDE 1: PHOTO ---- */
.slide-photo {
  overflow: hidden;
  background: #0e0e0e;
}

.slide-photo .slide-inner {
  background-color: #0e0e0e;
  transform: scale(1.08);
  transform-origin: center center;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.08s ease-out;
}

/* Desktop / Mobile / Tablet hero image switching */
.slide-inner--mobile { display: none; }
.slide-inner--tablet { display: none; }

@media (max-width: 991px) and (min-width: 768px) {
  .slide-inner--desktop { display: none; }
  .slide-inner--tablet {
    display: flex;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
  }
  /* If no tablet image uploaded, fall back to desktop */
  .slide-photo:not(:has(.slide-inner--tablet)) .slide-inner--desktop { display: flex; }
}

@media (max-width: 767px) {
  .slide-inner--desktop { display: none; }
  .slide-inner--tablet { display: none; }
  .slide-inner--mobile {
    display: flex;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
  }
}

/* Hero video */
.slide-inner--video {
  position: relative;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}
.slide-inner--video .slide-overlay {
  z-index: 1;
}
.slide-inner--video .container {
  position: relative;
  z-index: 2;
}

.slide-photo .container {
  position: absolute;
  bottom: 50%;
  transform: translateY(50%);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}

/* Hero CTA — outside slide-inner, unaffected by tilt */
.hero-cta {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-cta .slide-btn {
  pointer-events: auto;
}

.hero-cta .slide-btn a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.hero-cta .slide-btn .lines {
  width: 42px;
  height: 1px;
  position: relative;
  overflow: hidden;
  transition: width 0.35s ease;
}

.hero-cta .slide-btn .lines span {
  display: block;
  height: 1px;
  background: #fff;
  position: absolute;
  top: 0;
}

.hero-cta .slide-btn .lines span:nth-child(1) {
  width: 100%;
  right: 0;
  transition: width 0.35s ease;
}

.hero-cta .slide-btn .lines span:nth-child(2) {
  width: 0;
  left: 0;
  transition: width 0.35s ease 0s;
}

.hero-cta .slide-btn a:hover .lines {
  width: 62px;
}

.hero-cta .slide-btn a:hover .lines span:nth-child(1) {
  width: 0;
}

.hero-cta .slide-btn a:hover .lines span:nth-child(2) {
  width: 100%;
  transition-delay: 0.2s;
}

.slide-photo .tagline {
  display: none;
}

.slide-photo h1 {
  display: none;
}

/* ---- SLIDE 2: TEXT BLOCK (Brabus-style) ---- */
.slide-inner--light {
  background: #fff;
}

.text-block {
  position: relative;
  padding: 60px 0;
}

.text-block__label {
  display: block;
  font-family: "Fjalla One", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.4;
  margin-bottom: 20px;
}

.text-block__title {
  font-weight: 800;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.15;
  margin-bottom: 60px;
  max-width: 700px;
}

.text-block__body {
  display: flex;
  gap: 60px;
}

.text-block__left {
  flex: 0 0 35%;
}

.text-block__left h4 {
  font-family: "Fjalla One", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  text-transform: uppercase;
  margin: 0;
}

.custom-link b {
  text-transform: uppercase;
}

.text-block__right {
  flex: 1;
}

.text-block__right p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #444;
}

.text-block__right strong {
  color: #0e0e0e;
  font-weight: 600;
}

/* Watermark text behind */
.text-block__watermark {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18vw;
  font-weight: 800;
  color: #0e0e0e;
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}


/* ---- CUSTOM LINK (animated line) ---- */
.custom-link {
  margin-top: 30px;
}

.custom-link a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #0e0e0e;
  font-weight: 600;
}

.custom-link a:hover {
  text-decoration: none;
}

.custom-link .lines {
  width: 42px;
  height: 1px;
  position: relative;
  overflow: hidden;
  transition: 0.25s ease-in-out;
}

.custom-link .lines span:nth-child(1) {
  width: 100%;
  height: 1px;
  display: block;
  background: #0e0e0e;
  float: right;
  transition: 0.25s ease-in-out;
}

.custom-link .lines span:nth-child(2) {
  width: 0;
  height: 1px;
  display: block;
  background: #0e0e0e;
  float: left;
  transition: 0.25s ease-in-out;
}

.custom-link a:hover .lines {
  width: 62px;
}

.custom-link a:hover .lines span:nth-child(1) {
  width: 0;
}

.custom-link a:hover .lines span:nth-child(2) {
  width: 100%;
  transition-delay: 0.2s;
}


/* ---- SLIDE BTN (white version for photo slide) ---- */
.slide-btn {
  margin-top: 30px;
}

.slide-btn a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}

.slide-btn .lines {
  width: 42px;
  height: 1px;
  position: relative;
  overflow: hidden;
  transition: 0.25s ease-in-out;
}

.slide-btn .lines span:nth-child(1) {
  width: 100%;
  height: 1px;
  display: block;
  background: #fff;
  float: right;
  transition: 0.25s ease-in-out;
}

.slide-btn .lines span:nth-child(2) {
  width: 0;
  height: 1px;
  display: block;
  background: #fff;
  float: left;
  transition: 0.25s ease-in-out;
}

.slide-btn a:hover .lines {
  width: 62px;
}

.slide-btn a:hover .lines span:nth-child(1) {
  width: 0;
}

.slide-btn a:hover .lines span:nth-child(2) {
  width: 100%;
  transition-delay: 0.2s;
}


/* ---- SWIPER PAGINATION ---- */
.main-slider .swiper-pagination {
  width: 50px;
  right: 40px;
  left: auto;
  bottom: 50%;
  transform: translateY(50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  z-index: 10;
}

.main-slider .swiper-pagination-bullet {
  width: 22px;
  height: 1px;
  border-radius: 0;
  background: #c9a84c;
  opacity: 0.4;
  transition: 0.25s ease-in-out;
}

.main-slider .swiper-pagination-bullet-active {
  width: 44px;
  opacity: 1;
}

/* Light slide pagination override */
.swiper-slide-active.slide-text ~ .swiper-pagination .swiper-pagination-bullet {
  background: #0e0e0e;
}

/* ---- SCROLL DOWN ---- */
.scroll-down {
  position: absolute;
  left: 40px;
  bottom: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-down small {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: #fff;
  font-family: "Fjalla One", sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.scroll-down span {
  display: block;
  height: 50px;
  position: relative;
  width: 1px;
}

.scroll-down span::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 50px;
  background: #fff;
  content: "";
  animation: scrollLine 1.2s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}


/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .slide-photo h1 { font-size: 14vw; }
  .text-block__body { flex-direction: column; gap: 30px; }
  .text-block__left { flex: none; }
  .text-block__watermark { font-size: 25vw; }
  .navbar { padding: 20px 30px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 767px) {
  .slide-inner .container { padding: 0 30px; }
  .slide-photo h1 { font-size: 18vw; }
  .slide-photo h1 span { margin-left: 0; transform: translateY(0); }
  .scroll-down { left: 20px; }
  .nav-right ul { gap: 20px; }
  .nav-right ul li a { font-size: 12px; }
  .navbar { padding: 20px 30px; }
  .text-block__title { font-size: 28px; margin-bottom: 40px; }
  .text-block__left h4 { font-size: 15px; }
  .text-block__watermark {
    display: block;
    font-size: 49vw;
    right: auto;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(90deg);
    white-space: nowrap;
  }
  .products-grid {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    grid-template-columns: none;
  }
  .product-card {
    padding: 16px;
    width: 100%;
  }
  .product-card__name { font-size: 15px; }
  .slide-products .container {
    touch-action: pan-y;
  }
  .product-card__price { font-size: 20px; }
  .product-card__btn { padding: 10px; font-size: 12px; }
}


/* ---- NAVBAR DARK MODE (for light slides) ---- */
.navbar--dark {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar--dark .logo a {
  color: #0e0e0e;
}

.navbar--dark .nav-right ul li a {
  color: #0e0e0e;
}

.navbar--dark .nav-right ul li a:hover {
  border-bottom-color: #0e0e0e;
}

/* ---- SCROLL DOWN DARK MODE ---- */
.scroll-down--dark small {
  color: #0e0e0e;
}

.scroll-down--dark span::before {
  background: #0e0e0e;
}

/* Smooth color transitions */
.logo a,
.nav-right ul li a,
.scroll-down small,
.scroll-down span::before {
  transition: color 0.4s ease, background 0.4s ease;
}


/* ---- SLIDE 3: PRODUCTS ---- */
.slide-inner--dark {
  background: #000;
  color: #fff;
}

.products-header {
  margin-bottom: 50px;
}

.products-label {
  display: block;
  font-family: "Fjalla One", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.4;
  margin-bottom: 16px;
}

.products-title {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.15;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}


/* ---- GALLERY SLIDE ---- */
.slide-gallery {
  background: #000;
}

.slide-gallery .slide-inner {
  align-items: center;
  padding: 100px 0 60px;
}

.slide-gallery .container {
  max-width: 100%;
  padding: 0;
  max-height: none;
  overflow: visible;
}

.slide-gallery .container::-webkit-scrollbar { width: 4px; }
.slide-gallery .container::-webkit-scrollbar-track { background: #181818; }
.slide-gallery .container::-webkit-scrollbar-thumb { background: #c9a84c; }

.gallery-header {
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 60px;
}

.gallery-wrapper {
  position: relative;
}

.gallery-grid {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.gallery-grid::-webkit-scrollbar { display: none; }

.gallery-item {
  flex: 0 0 calc(25% - 5px);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-nav { display: none; }

@media (max-width: 991px) {
  .gallery-item { flex: 0 0 calc(33.333% - 4px); }
}

@media (max-width: 767px) {
  .gallery-grid {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 0 16px;
    touch-action: pan-x;
  }
  .gallery-item {
    flex: 0 0 70vw;
    height: auto;
    aspect-ratio: 3/4;
    border-radius: 8px;
  }
  .gallery-item:first-child {
    flex: 0 0 calc(100vw - 32px);
  }
  .gallery-item img {
    object-fit: cover;
    border-radius: 8px;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-grid { scrollbar-width: none; -ms-overflow-style: none; }
}

/* ---- LIGHTBOX ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.95);
  flex-direction: column;
}

.lightbox--open {
  display: flex;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 10;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
}

.lightbox__close:hover { opacity: 1; }

.lightbox__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 0;
  padding: 20px 60px;
  touch-action: none;
}

.lightbox__main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 20px;
  z-index: 5;
}

.lightbox__prev:hover,
.lightbox__next:hover { opacity: 1; }

.lightbox__prev { left: 0; }
.lightbox__next { right: 0; }

.lightbox__thumbs {
  display: flex;
  gap: 4px;
  padding: 12px 20px;
  overflow-x: auto;
  justify-content: center;
  flex-shrink: 0;
  scrollbar-width: thin;
  scrollbar-color: #c9a84c #111;
}

.lightbox__thumb {
  width: 72px;
  height: 48px;
  flex-shrink: 0;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s;
  border: 2px solid transparent;
  overflow: hidden;
  background: #111;
}

.lightbox__thumb:hover { opacity: 0.8; }

.lightbox__thumb--active {
  opacity: 1;
  border-color: #c9a84c;
}

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

@media (max-width: 767px) {
  .lightbox__main {
    padding: 10px 0;
    flex: 1;
    min-height: 0;
  }
  .lightbox__main img {
    width: 100%;
    max-height: none;
    height: 100%;
    object-fit: contain;
  }
  .lightbox__prev,
  .lightbox__next { display: none; }
  .lightbox__thumbs {
    padding: 8px 10px;
    justify-content: flex-start;
  }
  .lightbox__thumb {
    width: 56px;
    height: 38px;
  }
  .lightbox__close {
    top: 10px;
    right: 14px;
    font-size: 28px;
  }
  .gallery-header {
    padding: 0 30px;
  }
}


/* ---- PRODUCT CARD ---- */
.product-card {
  background: #181818;
  border: 1px solid #2a2a2a;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.2s ease-out;
  will-change: transform;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
}

.product-card:hover {
  border-color: #c9a84c;
}

.product-card__image {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.product-card__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease-out;
}

.product-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__name {
  font-family: "Fjalla One", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 1px;
}


.product-card__specs {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  border-top: 1px solid #2a2a2a;
}

.product-card__specs li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #2a2a2a;
  font-size: 13px;
  color: #888;
}

.product-card__specs li span:last-child {
  color: #ccc;
}

.product-card__price {
  font-family: "Fjalla One", sans-serif;
  font-size: 24px;
  color: #c9a84c;
  margin-bottom: 20px;
  margin-top: auto;
}

/* Stock badges */
.stock-badge {
  display: inline-block;
  font-family: "Fjalla One", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  margin-bottom: 12px;
}

.stock--in { background: #d4edda; color: #155724; }
.stock--pre { background: #fff3cd; color: #856404; }
.stock--out { background: #f8d7da; color: #721c24; }

.product-card__btn {
  display: block;
  text-align: center;
  padding: 14px;
  font-family: "Fjalla One", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #0e0e0e;
  background: #c9a84c;
  border: none;
  transition: background 0.3s ease;
}

.product-card__btn:hover {
  background: #b8963f;
  color: #0e0e0e;
}


/* Products slide — vertical centering with overflow safety */
.slide-products {
  background: #000;
}

.slide-products .slide-inner {
  align-items: center;
  padding: 70px 0 20px;
}

.slide-products .container {
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c9a84c #181818;
}

.slide-products .container::-webkit-scrollbar {
  width: 4px;
}

.slide-products .container::-webkit-scrollbar-track {
  background: #181818;
}

.slide-products .container::-webkit-scrollbar-thumb {
  background: #c9a84c;
}


/* ---- PRODUCT PAGE ---- */
.page-product {
  background: #fff;
  overflow: auto;
}

/* Product gallery */
.product-gallery {
  width: 100%;
}

.product-gallery__main {
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 30px;
  margin-bottom: 12px;
}

.product-gallery__main img {
  max-width: 100%;
  max-height: 450px;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.product-gallery__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-gallery__thumbs::-webkit-scrollbar { display: none; }

.product-gallery__thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  background: #f5f5f5;
  padding: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery__thumb:hover {
  border-color: #ccc;
}

.product-gallery__thumb--active {
  border-color: #c9a84c;
}

.product-gallery__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.page-product .navbar--visible {
  transform: translateY(0);
}

.product-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 60px 60px;
}

.product-page__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  width: 100%;
  align-items: flex-start;
}

.product-page__gallery {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-page__gallery img {
  max-width: 100%;
  object-fit: contain;
}


.product-page__details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-page__label {
  font-family: "Fjalla One", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.4;
  margin-bottom: 12px;
}

.product-page__name {
  font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  margin-bottom: 24px;
}

.product-page__desc {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 32px;
}

.product-page__specs {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  border-top: 1px solid #eee;
}

.product-page__specs li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  gap: 12px;
}

.product-page__specs li span:first-child {
  color: #999;
  flex-shrink: 0;
}

.product-page__specs li span:last-child {
  font-weight: 600;
  text-align: right;
}


.product-page__price {
  font-family: "Fjalla One", sans-serif;
  font-size: 36px;
  color: #c9a84c;
  margin-bottom: 32px;
}

.product-page__buy {
  display: block;
  width: 100%;
  padding: 18px;
  font-family: "Fjalla One", sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #0e0e0e;
  background: #c9a84c;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-bottom: 32px;
}

.product-page__buy:hover {
  background: #b8963f;
}

.product-page__added {
  background: #d4edda;
  color: #155724;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.product-page__soldout {
  padding: 18px;
  text-align: center;
  font-family: "Fjalla One", sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #999;
  border: 1px solid #ddd;
  margin-bottom: 32px;
}

.product-page__back {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #0e0e0e;
  font-weight: 600;
}

.product-page__back .lines {
  width: 42px;
  height: 1px;
  position: relative;
  overflow: hidden;
  transition: 0.25s ease-in-out;
}

.product-page__back .lines span:nth-child(1) {
  width: 100%;
  height: 1px;
  display: block;
  background: #0e0e0e;
  float: right;
  transition: 0.25s ease-in-out;
}

.product-page__back .lines span:nth-child(2) {
  width: 0;
  height: 1px;
  display: block;
  background: #0e0e0e;
  float: left;
  transition: 0.25s ease-in-out;
}

.product-page__back:hover .lines { width: 62px; }
.product-page__back:hover .lines span:nth-child(1) { width: 0; }
.product-page__back:hover .lines span:nth-child(2) { width: 100%; transition-delay: 0.2s; }

/* Other Colors */
.other-colors {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #eee;
}

.other-colors__title {
  font-family: "Fjalla One", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #999;
  margin-bottom: 20px;
}

.other-colors__grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.other-colors__grid::-webkit-scrollbar { display: none; }

.other-colors__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 8px;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.other-colors__item:hover {
  opacity: 0.7;
}

.other-colors__img {
  width: 150px;
  height: 150px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 1px solid #eee;
  transition: border-color 0.2s;
}

.other-colors__item:hover .other-colors__img {
  border-color: #c9a84c;
}

.other-colors__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.other-colors__name {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Long description — under photos in left column */
.product-page__long-desc {
  margin-top: 30px;
}

.product-page__long-desc p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}

.product-page__long-desc p:last-child {
  margin-bottom: 0;
}

/* Photo gallery strip on product page */
.product-page__photo-gallery {
  background: #0e0e0e;
  padding: 0;
  overflow: hidden;
}

.pg-strip {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pg-strip::-webkit-scrollbar {
  display: none;
}

.pg-item {
  flex: 0 0 auto;
  width: 360px;
  height: 360px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pg-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .product-page__long-desc { margin-top: 24px; }
  .pg-item { width: 280px; height: 280px; }
}

@media (max-width: 767px) {
  .product-page__long-desc { margin-top: 20px; }
  .pg-item { width: 220px; height: 220px; }
}

/* Transition overlay for page navigation */
.transition-overlay {
  width: 100%;
  height: 0;
  position: fixed;
  background: #1a1a1a;
  left: 0;
  bottom: 0;
  z-index: 200;
  transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
}

.transition-overlay .layer {
  width: 25%;
  height: 0;
  position: absolute;
  bottom: 0;
  background: #0e0e0e;
  z-index: 2;
  transition: all 700ms cubic-bezier(0.86, 0, 0.07, 1);
}

.transition-overlay .layer:nth-child(1) { left: 0; transition-delay: 0.1s; }
.transition-overlay .layer:nth-child(2) { left: 25%; transition-delay: 0.15s; }
.transition-overlay .layer:nth-child(3) { left: 50%; transition-delay: 0.2s; }
.transition-overlay .layer:nth-child(4) { left: 75%; transition-delay: 0.25s; }


/* Product page responsive */
@media (max-width: 991px) {
  .product-page { padding: 100px 30px 40px; }
  .product-page__inner { flex-direction: column; gap: 40px; }
  .product-page__gallery { min-height: 300px; }
}

@media (max-width: 767px) {
  .product-page { padding: 80px 16px 30px; }
  .product-page__inner { gap: 24px; }
  .product-page__name { font-size: 28px; }
  .product-page__price { font-size: 24px; }
  .product-page__details { width: 100%; overflow: hidden; }
  .product-page__gallery { min-height: auto; }
  .product-gallery__main { min-height: 250px; }
}


/* ---- COLLECTION PAGE (standalone) ---- */
.page-collection {
  background: #0e0e0e;
  color: #fff;
  overflow: auto;
}

.page-collection .navbar--visible {
  transform: translateY(0);
}

.page-collection .navbar--dark .logo a,
.page-collection .navbar--dark .nav-right ul li a {
  color: #fff;
}

.page-collection .navbar--dark .nav-right ul li a:hover {
  border-bottom-color: #fff;
}

.collection-page {
  min-height: 100vh;
  padding: 140px 60px 80px;
}

.collection-page .container {
  max-width: 1200px;
  margin: 0 auto;
}

.collection-page .products-header {
  margin-bottom: 60px;
}

.collection-page .products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .collection-page { padding: 120px 30px 60px; }
  .collection-page .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .collection-page { padding: 100px 20px 40px; }
  .collection-page .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}


/* ---- CART BADGE ---- */
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.nav-cart svg {
  vertical-align: middle;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -12px;
  background: #c9a84c;
  color: #0e0e0e;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 50%;
}

/* ---- SHARED PAGE STYLES ---- */
.page-title {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 40px;
}

.section-title {
  font-family: "Fjalla One", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  font-family: "Fjalla One", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #0e0e0e;
  background: #c9a84c;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  text-align: center;
  text-decoration: none;
}

.btn-primary:hover { background: #b8963f; color: #0e0e0e; }

.btn-secondary {
  display: inline-block;
  padding: 10px 24px;
  font-family: "Fjalla One", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0e0e0e;
  background: none;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: 0.25s ease;
  text-decoration: none;
}

.btn-secondary:hover { border-color: #0e0e0e; color: #0e0e0e; }


/* ---- CART PAGE (combined cart + checkout) ---- */
.page-cart {
  background: #fff;
  overflow: auto;
}

.page-cart,
.page-cart html {
  overflow: auto;
}

.page-cart .navbar--visible { transform: translateY(0); }

.cart-page {
  min-height: 100vh;
  padding: 120px 60px 60px;
}

.cart-page .container {
  max-width: 1100px;
  margin: 0 auto;
}

.cart-empty {
  font-size: 18px;
  color: #888;
  padding: 60px 0;
}

.cart-empty a { color: #c9a84c; text-decoration: underline; }

/* Order sections */
.order-section {
  background: #fff;
  border: 1px solid #eee;
  padding: 28px 32px;
  margin-bottom: 24px;
}

.order-section__title {
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 24px;
}

/* Cart table */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  padding: 0 12px 16px;
  border-bottom: 1px solid #eee;
}

.cart-table__row td {
  padding: 20px 12px;
  border-bottom: 1px solid #f5f5f5;
  vertical-align: middle;
}

.cart-table__product-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-table__product-inner img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: #f8f8f8;
  padding: 4px;
}

.cart-table__price {
  font-size: 14px;
  color: #555;
}

.cart-table__total {
  font-weight: 600;
  color: #c9a84c;
}

.cart-table__qty .qty-form {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-table__remove .remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.cart-table__remove .remove-btn:hover { opacity: 1; }

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 0;
  font-size: 14px;
  color: #888;
}

.cart-summary-total {
  font-family: "Fjalla One", sans-serif;
  font-size: 22px;
  color: #0e0e0e;
}

.cart-summary-total strong {
  color: #0e0e0e;
}

/* Checkout form grid */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

.checkout-left .order-section { margin-bottom: 24px; }

/* Form fields */
.form-field {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
}

.form-field input,
.form-field textarea,
.form-field select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 14px 16px;
  border: 1px solid #ddd;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  transition: border-color 0.2s;
  background: #fff;
  appearance: auto;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: #c9a84c;
  outline: none;
}

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

/* Order summary sidebar */
.order-summary {
  position: sticky;
  top: 100px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  color: #555;
}

.summary-divider {
  border-top: 1px solid #eee;
  margin: 8px 0;
}

.summary-row--total {
  font-family: "Fjalla One", sans-serif;
  font-size: 20px;
  color: #0e0e0e;
  padding: 12px 0;
}

.btn-place-order {
  width: 100%;
  margin-top: 20px;
  padding: 18px;
  font-size: 15px;
}

/* Checkbox field */
.checkbox-field {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
}

.checkbox-field input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #c9a84c;
  cursor: pointer;
}

/* Payment method */
.payment-title {
  font-weight: 800;
  font-size: 16px;
  margin: 24px 0 12px;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #eee;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s;
}

.payment-option:hover { border-color: #ccc; }

.payment-option--active {
  border-color: #c9a84c;
  background: #fdfaf3;
}

.payment-option input[type="radio"] {
  accent-color: #c9a84c;
  width: 16px;
  height: 16px;
}

.payment-option__icon {
  font-size: 18px;
}

/* Promo code */
.promo-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.promo-input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid #ddd;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  transition: border-color 0.2s;
}

.promo-input:focus { border-color: #c9a84c; outline: none; }

.promo-btn {
  padding: 14px 24px;
  font-family: "Fjalla One", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #c9a84c;
  color: #0e0e0e;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}

.promo-btn:hover { background: #b8963f; }

.promo-applied {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #155724;
}

.promo-remove {
  background: none;
  border: none;
  color: #e8293b;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
}

.promo-msg {
  margin-top: 8px;
  font-size: 13px;
}

.promo-msg--error { color: #e8293b; }

.summary-row--discount { color: #155724; }

/* Cart product links */
.cart-table__product-name {
  font-weight: 600;
  font-size: 14px;
  color: #0e0e0e;
  text-decoration: none;
  transition: color 0.2s;
}

.cart-table__product-name:hover { color: #c9a84c; }

@media (max-width: 991px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}

@media (max-width: 767px) {
  .cart-page { padding: 100px 16px 40px; }
  .order-section { padding: 20px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .cart-table th:nth-child(2),
  .cart-table__price { display: none; }
  .cart-table__product-inner img { width: 50px; height: 50px; }
}

/* ---- AUTH PAGES ---- */
.page-auth {
  background: #fff;
  overflow: auto;
}

/* Shared qty button */
.qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.qty-btn:hover { border-color: #0e0e0e; }
.qty-value { font-weight: 600; min-width: 20px; text-align: center; }

.page-auth .navbar--visible { transform: translateY(0); }

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 30px 60px;
}

.auth-box {
  width: 100%;
  max-width: 400px;
}

.auth-title {
  font-weight: 800;
  font-size: 36px;
  margin-bottom: 32px;
}

.auth-error {
  background: #fef2f2;
  color: #e8293b;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  border-left: 3px solid #e8293b;
}

.auth-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-form input,
.auth-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 14px 16px;
  border: 1px solid #ddd;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  transition: border-color 0.2s;
}

.auth-form input:focus,
.auth-form textarea:focus { border-color: #c9a84c; }

.auth-form .btn-primary { width: 100%; margin-top: 8px; }

.auth-switch {
  margin-top: 24px;
  font-size: 14px;
  color: #888;
}

.auth-switch a { color: #c9a84c; }


/* ---- ACCOUNT PAGE ---- */
.page-account {
  background: #fff;
  overflow: auto;
}

.page-account .navbar--visible { transform: translateY(0); }

.account-page {
  min-height: 100vh;
  padding: 120px 60px 60px;
}

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

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

.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.profile-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.profile-row span:first-child { color: #999; }
.profile-row span:last-child { font-weight: 600; }

.order-card {
  border: 1px solid #eee;
  margin-bottom: 16px;
}

.order-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  transition: background 0.2s;
}

.order-card__header:hover { background: #fafafa; }

.order-card__left { display: flex; flex-direction: column; gap: 4px; }
.order-card__number { font-weight: 700; font-size: 15px; }
.order-card__date { font-size: 13px; color: #999; }
.order-card__total { font-family: "Fjalla One", sans-serif; font-size: 18px; color: #c9a84c; margin-top: 4px; }

.order-card__right { display: flex; align-items: center; gap: 12px; }
.order-card__toggle { font-size: 12px; color: #999; transition: transform 0.3s; }
.order-card--open .order-card__toggle { transform: rotate(180deg); }

.order-card__detail {
  display: none;
  padding: 0 24px 24px;
  border-top: 1px solid #eee;
}

.order-card--open .order-card__detail { display: block; }

/* Order detail grid */
.od-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; padding: 20px 0; }
.od-col p { font-size: 13px; margin-bottom: 6px; color: #555; }
.od-label { font-size: 14px; color: #c9a84c; font-weight: 600; margin-bottom: 12px; }
.od-key { color: #999; font-weight: 600; }

/* Order items */
.od-items { padding: 16px 0; border-top: 1px solid #f0f0f0; }
.od-item { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid #f5f5f5; }
.od-item img { width: 50px; height: 50px; object-fit: contain; background: #f8f8f8; }
.od-item__name { font-weight: 600; font-size: 14px; }
.od-item__meta { font-size: 12px; color: #888; }
.od-item__total { margin-left: auto; font-weight: 600; font-size: 14px; }

/* Order summary in detail */
.od-summary { padding: 16px 0; border-top: 1px solid #f0f0f0; }
.od-summary p { font-size: 13px; margin-bottom: 6px; }

/* Tracking */
.od-tracking { padding: 16px 0; border-top: 1px solid #f0f0f0; }
.od-tracking a { color: #c9a84c; text-decoration: underline; }

/* Timeline */
.od-history { padding: 16px 0; border-top: 1px solid #f0f0f0; }
.timeline { position: relative; padding-left: 20px; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 0; bottom: 0; width: 2px; background: #c9a84c; }
.timeline-item { position: relative; padding: 8px 0 8px 16px; display: flex; align-items: center; justify-content: space-between; }
.timeline-dot { position: absolute; left: -19px; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; background: #c9a84c; border-radius: 50%; }
.timeline-content { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.timeline-date { font-size: 12px; color: #999; }

/* Profile values */
.profile-value { padding: 12px 16px; border: 1px solid #eee; background: #fafafa; font-size: 14px; margin-top: 6px; }

.order-card__status {
  font-family: "Fjalla One", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  background: #eee;
}

.order-card__status--awaiting_payment { background: #fff3cd; color: #856404; }
.order-card__status--paid { background: #d4edda; color: #155724; }
.order-card__status--awaiting_shipment { background: #e2e3f1; color: #383d6e; }
.order-card__status--shipped { background: #cce5ff; color: #004085; }
.order-card__status--delivered { background: #d4edda; color: #155724; }
.order-card__status--canceled { background: #f8d7da; color: #721c24; }
.order-card__status--return_requested { background: #fce4ec; color: #880e4f; }
.order-card__status--returned { background: #f3e5f5; color: #6a1b9a; }

.order-card__date { font-size: 13px; color: #999; }
.no-orders { color: #999; font-size: 14px; }

@media (max-width: 767px) {
  .od-grid { grid-template-columns: 1fr; gap: 16px; }
  .order-card__header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .order-card__right { align-self: flex-end; }
}

@media (max-width: 767px) {
  .cart-page, .account-page { padding: 100px 16px 40px; }
  .account-grid { grid-template-columns: 1fr; gap: 40px; }
}


/* ---- ORDER CONFIRMATION ---- */
.order-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #d4edda;
  color: #155724;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.order-number-display {
  background: #f8f8f8;
  border: 1px solid #eee;
  padding: 20px 24px;
  display: inline-block;
}

.order-number-display small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 8px;
}

.order-number-display strong {
  font-family: "Fjalla One", sans-serif;
  font-size: 24px;
  letter-spacing: 2px;
  color: #0e0e0e;
}

.auth-success {
  background: #d4edda;
  color: #155724;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  border-left: 3px solid #155724;
}


/* Field validation error */
.form-field.field-error input,
.form-field.field-error select,
.form-field.field-error textarea {
  border-color: #e74c3c;
  background: #fef5f5;
}
.form-field.field-error {
  color: #e74c3c;
}

/* Pay Now button in order detail */
.od-pay-now {
  padding: 20px 0;
  border-top: 1px solid #f0f0f0;
}
.btn-pay-now {
  display: inline-block;
  padding: 14px 40px;
  font-size: 14px;
  text-align: center;
}


/* ---- FOOTER ---- */
.site-footer {
  background: #fff;
  color: #0e0e0e;
  padding: 80px 60px 40px;
  text-align: center;
  border-top: 1px solid #eee;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo {
  font-family: "Fjalla One", sans-serif;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 20px;
  color: #0e0e0e;
}

.footer-tagline {
  font-family: "Poppins", sans-serif;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 40px;
  color: #0e0e0e;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: "Fjalla One", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #c9a84c;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 12px;
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: #0e0e0e;
}

.footer-copy {
  font-size: 12px;
  color: #bbb;
  letter-spacing: 0.5px;
}

@media (max-width: 767px) {
  .site-footer {
    padding: 60px 30px 30px;
  }
  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
  .footer-legal {
    flex-direction: column;
    gap: 12px;
  }
}


/* ---- INFO PAGES ---- */
.page-info {
  background: #fff;
  overflow: auto;
}

.page-info .navbar--visible { transform: translateY(0); }

.info-page {
  min-height: 100vh;
  padding: 140px 60px 80px;
}

.info-page .container {
  max-width: 800px;
  margin: 0 auto;
}

.info-page__content h2 {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 24px;
}

.info-page__content h3 {
  font-family: "Fjalla One", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 32px 0 12px;
}

.info-page__content p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
}

.info-page__content a {
  color: #c9a84c;
  text-decoration: underline;
}

.info-page__content a:hover {
  color: #b8963f;
}

@media (max-width: 767px) {
  .info-page { padding: 100px 20px 40px; }
}


/* ---- CONTACT FORM ---- */
.info-page__title {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}

.info-page__intro {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 32px;
}

.contact-form .form-field {
  margin-bottom: 20px;
}

/* Honeypot — invisible to real users */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}


/* ---- PRE-ORDER NOTE ---- */
.product-page__preorder-note {
  background: #fff3cd;
  color: #856404;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.5;
  border-left: 3px solid #856404;
}

.cart-preorder-note {
  font-size: 11px;
  color: #856404;
  margin-top: 4px;
  line-height: 1.3;
}


/* ---- MOBILE SCROLL MODE (no Swiper) ---- */
.mobile-scroll {
  height: auto;
  overflow: visible;
}

.mobile-scroll .swiper-wrapper {
  display: block;
  height: auto;
  transform: none !important;
}

.mobile-scroll .swiper-slide {
  height: auto;
  min-height: auto;
}

.mobile-scroll .slide-photo {
  height: 100vh;
}

.mobile-scroll .slide-inner {
  transform: none;
  height: auto;
  min-height: auto;
}

.mobile-scroll .slide-photo .slide-inner {
  transform: none;
  height: 100vh;
}

.mobile-scroll .slide-inner .container {
  transform: none;
  opacity: 1;
}

.mobile-scroll .slide-products .slide-inner,
.mobile-scroll .slide-gallery .slide-inner,
.mobile-scroll .slide-text .slide-inner {
  height: auto;
  padding: 80px 0 40px;
}

.mobile-scroll .slide-products .container,
.mobile-scroll .slide-gallery .container {
  max-height: none;
  overflow: visible;
}

.mobile-scroll .slide-gallery .container {
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
}

.mobile-scroll .slide-gallery .gallery-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 8px;
  padding: 0 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mobile-scroll .slide-gallery .gallery-grid::-webkit-scrollbar { display: none; }

.mobile-scroll .slide-gallery .gallery-item {
  flex: 0 0 70vw;
  max-width: 400px;
  aspect-ratio: 3/4;
  border-radius: 8px;
}

.mobile-scroll .slide-gallery .gallery-item:first-child {
  flex: 0 0 calc(100vw - 32px);
  max-width: none;
}

.mobile-scroll .slide-gallery .gallery-item img {
  object-fit: cover;
  border-radius: 8px;
}

.mobile-scroll .hero-cta {
  position: absolute;
  height: 100vh;
}


@media (max-width: 991px) {
  html, body {
    overflow: auto !important;
    height: auto !important;
  }
}


/* Footer slide styling */
.slide-footer .slide-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
}

.slide-footer .site-footer {
  border-top: none;
  width: 100%;
  padding-bottom: 60px;
  margin-top: auto;
}

.mobile-scroll .slide-footer {
  display: none;
}


/* Gallery lazy loading placeholder */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  animation: galleryPulse 1.5s ease-in-out infinite;
}

@keyframes galleryPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}


/* Scroll Up — reversed pulse on last slide */
.scroll-down--up {
  flex-direction: column-reverse;
}

.scroll-down--up small {
  margin-bottom: 0;
  margin-top: 12px;
}

.scroll-down--up span::before {
  animation: scrollLineUp 1.2s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes scrollLineUp {
  0% { transform: scaleY(0); transform-origin: bottom; }
  50% { transform: scaleY(1); transform-origin: bottom; }
  51% { transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: top; }
}


/* Mobile-only footer on homepage */
.mobile-only-footer { display: none; }

@media (max-width: 991px) {
  .mobile-only-footer { display: block; }
}


/* Transparent navbar on hero slide */
.navbar--transparent {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}



@media (max-width: 767px) {
  .nav-home { display: none; }
}
