/* public/css/style.css */

/* --- Global & Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #fff;
  background-color: #000;
  line-height: 1.6;
  /* Prevent zoom on mobile */
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

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

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

main {
  padding: 40px 5%;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Header --- */
.main-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5%;
  border-bottom: 1px solid #333;
  background: #000;
  position: sticky;
  top: 0;
  z-index: 100;
}

.desktop-nav {
  display: flex;
  gap: 30px;
}

.logo-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo-container img {
  height: 100px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.main-nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: #aaa;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1a1a1a;
  padding: 8px 16px;
  border-radius: 25px;
  color: #ccc;
  font-size: 0.9rem;
  border: 1px solid #333;
  transition: background 0.3s ease;
  width: 340px;
}
.search-box:hover {
  background: #333;
}

/* --- Hero Section (Homepage) --- */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  margin: 0;
  /* Prevent zoom and scaling */
  transform: none !important;
  scale: 1 !important;
  zoom: 1 !important;
  touch-action: pan-x pan-y;
  border-radius: 0;
  overflow: hidden;
}
.bg-video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}
.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  text-align: center;
  pointer-events: none;
}
.hero-content h1 {
  font-family: 'Montserrat', 'Avenir', 'Nunito', Arial, sans-serif;
  font-size: 5.5rem;
  font-weight: normal;
  color: #fff;
  letter-spacing: 0.05em;
  margin: 0;
  line-height: 1.05;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

/* --- General Page Styles --- */
.page-title {
  text-align: center;
  margin-bottom: 60px;
  font-family: 'Horizon', sans-serif;
  font-size: 3.5rem;
  font-weight: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --- Product & Collections Grid --- */
.product-grid, .collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card, .collection-card {
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: block; /* Make the whole card a link */
}
.product-card:hover, .collection-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
}

.product-image, .collection-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.product-info, .collection-info {
  padding: 20px;
  text-align: center;
}

.product-name, .collection-title {
  font-family: 'Horizon', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.product-desc, .collection-volume {
  font-size: 0.9rem;
  color: #bbb;
  margin-bottom: 15px;
}

.product-price {
  font-weight: 600;
}

/* --- Product Detail Page --- */
.product-container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}
.product-container .product-image {
  flex: 1;
  height: auto;
  border-radius: 12px;
}
.product-container .product-info {
  flex: 1;
  text-align: left;
}
.product-info .product-name {
  font-size: 3rem;
  text-align: left;
}
.product-info .product-description {
  color: #ccc;
  margin-bottom: 20px;
}
.product-info .product-price {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 25px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

/* Checkout form styles */
.checkout-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  padding: 12px 16px;
  border: 1px solid #333;
  border-radius: 8px;
  background: #181818;
  color: #e0e0e0;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

.checkout-form select option {
  background: #181818;
  color: #e0e0e0;
}
.size-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.size-selector .size-btn {
  background: #1a1a1a;
  border: 1px solid #444;
  color: #fff;
  padding: 10px 18px;
  font-size: 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.size-selector .size-btn:hover {
  background: #333;
}
.size-selector .size-btn.active {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.order-btn {
  padding: 14px 30px;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
  margin-top: 10px;
}
.order-btn:hover {
  background: #ccc;
}

/* --- About Us Page --- */
.about-page-body {
    background: url('/images/background2.jpg') center center / cover no-repeat;
    margin: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #fff;
}

.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 60px 20px;
}

.about-content {
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 40px;
    border-radius: 10px;
    animation: fadeSlideIn 1.5s ease;
}

.about-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}
@keyframes fadeSlideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}


/* --- Responsive Design --- */
@media (max-width: 900px) {
  .product-container {
    flex-direction: column;
    align-items: center;
  }
  .product-info {
    text-align: center;
  }
  .product-info .product-name {
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* .main-nav {
    display: none;
  } */
  .search-box span {
    display: none;
  }
  .search-box {
    width: auto;
    margin-left: 0;
  }
  .main-header {
    justify-content: flex-end;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .page-title {
    font-size: 2.5rem;
  }
}
.collections-menu-container {
  position: relative; 
}

.collections-dropdown {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-10.5%);
  width: 1300px;
  height: 580px;
  background: rgba(47, 45, 45, 0.98);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99;
}

.collections-menu-container:hover .collections-dropdown,
.collections-dropdown:hover {
  display: flex;
}

.collections-dropdown.active {
  display: flex;
}

.collections-panel {
  width: 95%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 280px);
  gap: 40px;
  padding: 40px;
  justify-content: center;
}

.collection-box {
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 280px;
  height: 480px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.07);
  padding: 20px;
}

.collection-box:hover {
  transform: translateY(-6px);
}

.collection-box.shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.collection-box img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  margin-bottom: 20px;
}

.collection-title {
  font-family: 'Horizon', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.collection-volume {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 8px;
}

body {
  background-color: #000;
  color: #e0e0e0;
}

main {
  backdrop-filter: blur(4px);
}

.search-box {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid #444;
}

.search-box:hover {
  background: rgba(51, 51, 51, 0.8);
}

/* --- All Products Page (The Blank Canvas) --- */
body.products-page, .products-page main {
  background: #f8f6f2 !important;
  color: #111 !important;
}
.products-page .page-title {
  font-family: 'Arial Black', 'Impact', Arial, sans-serif;
  color: #111;
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.products-page .product-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  margin-top: 40px;
  margin-bottom: 60px;
}
.products-page .product-card {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0 auto 60px auto;
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.products-page .product-image {
  background: none;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  max-width: 900px;
  height: auto;
  object-fit: contain;
  margin-bottom: 16px;
  display: block;
}
.products-page .product-info {
  text-align: center;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.products-page .product-name {
  font-family: 'Arial Black', 'Impact', Arial, sans-serif;
  color: #111;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.products-page .product-desc, .products-page .product-price {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #222;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 8px;
}
.products-page .product-price {
  font-weight: 600;
  margin-bottom: 0;
}
.products-page .main-header, .products-page .main-nav {
  display: flex !important;
  visibility: visible !important;
}
.products-page .nav-link {
  color: #111 !important;
}
.products-page .main-header {
  background: #000 !important;
}
.products-page .nav-link {
  color: #fff !important;
}

.product-detail-page.products-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
}
.product-detail-page.products-page .product-image-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product-detail-page.products-page .product-image {
  background: none;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  max-width: 900px;
  height: auto;
  object-fit: contain;
  margin-bottom: 16px;
  display: block;
}
.product-detail-page.products-page .product-info {
  text-align: center;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product-detail-page.products-page .product-name {
  font-family: 'Arial Black', 'Impact', Arial, sans-serif;
  color: #111;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.product-detail-page.products-page .product-desc, .product-detail-page.products-page .product-price {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #222;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 8px;
}
.product-detail-page.products-page .product-price {
  font-weight: 600;
  margin-bottom: 0;
}
.product-detail-page.products-page .form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}
.product-detail-page.products-page .order-btn {
  margin-top: 16px;
}

.product-detail-flex {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0 60px 0;
}
.product-image-gallery {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1000px;
  width: 100%;
  padding: 0;
  margin-right: 0;
}
.product-image-gallery .product-image {
  max-width: 1000px;
  width: 100%;
  height: auto;
  margin-bottom: 18px;
  border-radius: 0;
  box-shadow: none;
  background: none;
}
@media (max-width: 900px) {
  .product-image-gallery .product-image {
    max-width: 98vw;
  }
}
.product-thumbnails {
  display: flex;
  gap: 18px;
  margin-top: 0;
}
.thumbnail-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border: 2px solid #eee;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.thumbnail-img.active, .thumbnail-img:hover {
  border: 2px solid #111;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.product-info-large {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 500px;
  font-size: 1.2rem;
  text-align: left;
  margin-left: 0;
}
.product-info-large .product-name {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #111;
}
.product-divider {
  border: none;
  border-top: 2px solid #eee;
  width: 100%;
  margin: 18px 0 18px 0;
}
.product-desc-large {
  font-size: 1.18rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 18px;
}
.product-price-large {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 28px;
  color: #111;
}
.product-info-large label {
  font-size: 1.05rem;
  color: #444;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.size-selector {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}
.size-btn {
  width: 64px;
  height: 64px;
  border: 2px solid #222;
  background: #fff;
  color: #111;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
  outline: none;
  letter-spacing: 0.04em;
}
.size-btn.active, .size-btn:focus {
  background: #111;
  color: #fff;
  border: 2px solid #111;
}
.size-btn:hover {
  border: 2px solid #000;
}
.quantity-box {
  display: flex;
  align-items: center;
  border: 2px solid #888;
  border-radius: 0;
  width: 220px;
  height: 64px;
  background: #fff;
  margin-bottom: 32px;
}
.quantity-btn {
  width: 56px;
  height: 100%;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #222;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.2s;
}
.quantity-btn:hover {
  color: #000;
}
.quantity-number {
  flex: 1;
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  color: #222;
}
.add-to-cart-btn.outlined-btn {
  width: 100%;
  background: #111;
  color: #fff;
  border: none;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 22px 0;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.add-to-cart-btn.outlined-btn:hover {
  background: #fff;
  color: #111;
  border: 2px solid #111;
}
.buy-now-btn {
  width: 100%;
  background: #fff;
  color: #111;
  border: 2px solid #111;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 22px 0;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.buy-now-btn:hover {
  background: #111;
  color: #fff;
}
@media (max-width: 900px) {
  .product-detail-flex {
    flex-direction: column;
    gap: 32px;
    padding: 24px 0 40px 0;
  }
  .product-image-gallery, .product-info-large {
    align-items: center;
    max-width: 100%;
  }
  .product-image-gallery .product-image {
    max-width: 98vw;
  }
  .product-info-large {
    align-items: flex-start;
    text-align: left;
  }
}

.product-title-center {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-top: 48px;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #111;
}
.product-desc-center {
  text-align: center;
  font-size: 1.18rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 38px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.product-detail-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.product-detail-vertical .product-slider {
  margin-bottom: 38px;
  align-items: center;
}
.product-detail-vertical .product-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  margin-bottom: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  border-radius: 18px;
}
.product-info-center {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}
.product-info-center .form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
  text-align: center;
}
.product-info-center .size-selector {
  justify-content: center;
}
.product-info-center .quantity-box {
  margin-bottom: 24px;
}
.product-info-center .product-price-large {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 28px;
  color: #111;
  text-align: center;
}
.add-to-cart-btn.outlined-btn, .buy-now-btn {
  max-width: 480px;
}
@media (max-width: 900px) {
  .product-title-center {
    font-size: 2rem;
    margin-top: 24px;
  }
  .product-detail-vertical .product-image {
    max-width: 98vw;
  }
}

.product-detail-flex {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0 60px 0;
}
.product-image-gallery {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  margin: 0;
}
.product-image-gallery .product-image {
  width: 100vw;
  max-width: none;
  height: auto;
  margin-bottom: 18px;
  border-radius: 0;
  box-shadow: none;
  background: none;
  display: block;
}
@media (max-width: 1100px) {
  .product-image-gallery .product-image {
    max-width: 98vw;
    width: 100%;
  }
}
.product-thumbnails {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
}
.thumbnail-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border: 2px solid #eee;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: block;
}
.thumbnail-img.active, .thumbnail-img:hover {
  border: 2px solid #111;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.product-info-large {
  flex: 0 0 420px;
  max-width: 420px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  font-size: 1.2rem;
  text-align: left;
  margin-left: 0;
  padding-top: 8px;
}
.product-info-large .form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 18px;
  text-align: left;
}
.product-info-large .size-selector {
  justify-content: flex-start;
}
.product-info-large .quantity-box {
  margin-bottom: 24px;
}
.product-info-large .product-price-large {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 28px;
  color: #111;
  text-align: left;
}
.add-to-cart-btn.outlined-btn, .buy-now-btn {
  max-width: 420px;
}
@media (max-width: 900px) {
  .product-detail-flex {
    flex-direction: column;
    gap: 32px;
    padding: 24px 0 40px 0;
  }
  .product-image-gallery, .product-info-large {
    align-items: center;
    max-width: 100%;
  }
  .product-image-gallery .product-image {
    max-width: 98vw;
  }
  .product-info-large {
    align-items: flex-start;
    text-align: left;
    padding-top: 0;
  }
}

.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  min-width: 100%;
  min-height: 100%;
  background: #000;
}
.bg-video::-webkit-media-controls {
  display: none !important;
}
.bg-video::-webkit-media-controls-enclosure {
  display: none !important;
}
.bg-video::-webkit-media-controls-panel {
  display: none !important;
}
.bg-video::cue {
  display: none !important;
}
.bg-video::-internal-media-controls-overlay-cast-button {
  display: none !important;
}

.hero, .hero main, main.hero {
  backdrop-filter: none !important;
}

/* Hide video controls and overlays for background video */
.bg-video::-webkit-media-controls,
.bg-video::-webkit-media-controls-panel,
.bg-video::-webkit-media-controls-start-playback-button,
.bg-video::-webkit-media-controls-play-button,
.bg-video::-webkit-media-controls-overlay-play-button,
.bg-video::-webkit-media-controls-enclosure {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.bg-video::-webkit-media-controls-panel {
  width: 0 !important;
  height: 0 !important;
}
.bg-video {
  pointer-events: none;
  user-select: none;
}

/* --- Search Bar & Dropdown --- */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  min-width: 0;
  flex-shrink: 0;
}
.search-icon {
  position: absolute;
  left: 12px;
  z-index: 2;
  color: #888;
  pointer-events: none;
}
.search-box {
  padding: 10px 16px 10px 38px;
  border-radius: 24px;
  border: 1.5px solid #e0e0e0;
  font-size: 1.1rem;
  width: 340px;
  transition: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  outline: none;
}
.search-box:focus, .search-box:active, .search-box:hover {
  border: 1.5px solid #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  background: #fff !important;
  color: #111 !important;
}
.search-dropdown {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 10px 0;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s cubic-bezier(.4,0,.2,1), transform 0.25s cubic-bezier(.4,0,.2,1);
}
.search-dropdown.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.search-suggestion {
  display: flex;
  align-items: center;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.15s;
  border: none;
  background: none;
}
.search-suggestion:hover, .search-suggestion:focus {
  background: #f8f6f2;
}
.suggestion-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
  margin-right: 16px;
  background: #f3f3f3;
  border: 1px solid #eee;
}
.suggestion-info {
  display: flex;
  flex-direction: column;
}
.suggestion-title {
  font-family: 'Arial Black', 'Impact', Arial, sans-serif;
  font-size: 1.1rem;
  color: #000000;
  font-weight: 700;
  margin-bottom: 2px;
}
.suggestion-price {
  font-size: 1rem;
  color: #000000;
  font-weight: 400;
}

/* --- Cart Styles --- */
.cart-container {
  position: relative;
  margin-left: 0;
  padding: 0;
  min-width: 48px;
  display: flex;
  align-items: center;
}

.cart-icon {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  position: relative;
  padding: 12px;
  border-radius: 50%;
  transition: none;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-icon svg {
  width: 28px;
  height: 28px;
}

.cart-icon:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: #ff4444;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.cart-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 350px;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  margin-top: 10px;
  display: none !important;
}

.cart-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: block !important;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #333;
}

.cart-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #fff;
}

.close-cart {
  background: none;
  border: none;
  color: #888;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.close-cart:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.cart-items {
  max-height: 300px;
  overflow-y: auto;
  padding: 10px 0;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #222;
  gap: 15px;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  background: #222;
}

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

.cart-item-name {
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.cart-item-size {
  color: #888;
  font-size: 0.8rem;
  margin-bottom: 5px;
}

.cart-item-price {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-btn {
  background: #333;
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background-color 0.2s;
}

.quantity-btn:hover {
  background: #555;
}

.quantity-display {
  color: #fff;
  font-size: 0.9rem;
  min-width: 20px;
  text-align: center;
}

.remove-item {
  background: none;
  border: none;
  color: #ff4444;
  cursor: pointer;
  padding: 5px;
  font-size: 18px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.remove-item:hover {
  background-color: rgba(255, 68, 68, 0.1);
}

.cart-footer {
  padding: 15px 20px;
  border-top: 1px solid #333;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.checkout-btn {
  width: 100%;
  background: #fff;
  color: #000;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.checkout-btn:hover {
  background: #f0f0f0;
}

.checkout-btn:disabled {
  background: #666;
  color: #999;
  cursor: not-allowed;
}

/* Empty cart state */
.cart-empty {
  padding: 40px 20px;
  text-align: center;
  color: #888;
}

.cart-empty p {
  margin: 0;
  font-size: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
  min-width: 0;
  position: relative;
}

/* Welcome Overlay Modal */
.welcome-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.welcome-overlay.show {
  opacity: 1;
  visibility: visible;
}
.welcome-modal {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: none;
  max-height: none;
}
.welcome-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: rgba(0,0,0,0.32);
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 1;
  padding: 0 12px;
  line-height: 1;
  border-radius: 50%;
  transition: background 0.2s;
}
.welcome-close:hover {
  background: rgba(0,0,0,0.55);
}
.welcome-poster {
  max-width: 900px;
  width: 120vw;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  margin-top: 0;
  display: block;
}
@media (max-width: 900px) {
  .welcome-poster {
    max-width: 98vw;
  }
}

.customer-info-form {
  padding: 16px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.customer-info-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.customer-info-form label {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}
.customer-info-form input {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #333;
  background: #222;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s;
}
.customer-info-form input:focus {
  border: 1.5px solid #fff;
  background: #222;
}
.customer-info-form .checkout-btn {
  margin-top: 10px;
}

/* --- Boxy product images and thumbnails --- */
.product-image-gallery .product-image,
.product-thumbnails .thumbnail-img {
  width: 340px;
  height: 340px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  background: #222;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  margin-bottom: 10px;
}
.product-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.product-thumbnails .thumbnail-img {
  width: 80px;
  height: 80px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  background: #222;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
  cursor: pointer;
  transition: border 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}
.product-thumbnails .thumbnail-img.active,
.product-thumbnails .thumbnail-img:hover {
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(255,255,255,0.10);
}

/* --- Zoom Modal Styles --- */
.zoom-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.zoom-modal-content, .zoom-modal img {
  max-width: 80vw;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
  background: #222;
}
.zoom-close {
  position: absolute;
  top: 40px;
  right: 60px;
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.2s;
}
.zoom-close:hover { color: #aaa; }

/* --- Zoomable Main Image --- */
.product-image.zoomable {
  cursor: zoom-in;
  transition: transform 0.2s;
}
.product-image.zoomable:active {
  cursor: zoom-out;
}

/* --- Fancy Scrollable Thumbnails --- */
.scrollable-thumbnails {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: thin;
  scrollbar-color: #fff #222;
  padding-bottom: 8px;
  user-select: none;
}
.scrollable-thumbnails::-webkit-scrollbar {
  height: 8px;
  background: #222;
}
.scrollable-thumbnails::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 4px;
}
.scrollable-thumbnails.dragging {
  cursor: grabbing;
  background: #181818;
}

/* --- White background for product images and thumbnails --- */
.product-image-gallery .product-image,
.product-thumbnails .thumbnail-img,
.zoom-modal-content, .zoom-modal img {
  background: #F8F6F2 !important;
}

/* --- White background ONLY for first two product images and magnifier --- */
.product-image-gallery .product-image.front-back,
.product-thumbnails .thumbnail-img.front-back,
#magnifier {
  background: #fff !important;
}

#secondBg.second-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url('/images/SecondBackground.jpg') center center / cover no-repeat;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
  opacity: 0;
  transform: none !important;
  z-index: 1;
  border: none;
  margin: 0;
  box-shadow: none;
  overflow: hidden;
  pointer-events: none;
  display: block;
  /* Remove all transitions and effects */
  transition: none !important;
  /* Prevent zoom on mobile */
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
  /* Prevent any scaling or zooming */
  scale: 1 !important;
  zoom: 1 !important;
}
#secondBg.show {
  opacity: 1;
  /* Remove any additional effects */
  transform: none !important;
  filter: none !important;
  animation: none !important;
}

.second-background-section {
  width: 100%;
  height: 80vh;
  min-height: 80vh;
  max-height: 80vh;
  background: url('/images/SecondBackground.jpg') center center / cover no-repeat;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
  display: block;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  /* Remove all transitions and effects */
  transition: none !important;
  animation: none !important;
  filter: none !important;
  /* Prevent zoom on mobile */
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
  /* Prevent any scaling or zooming */
  transform: none !important;
  scale: 1 !important;
  zoom: 1 !important;
}

/* Prevent zoom and scaling globally */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  touch-action: pan-x pan-y;
}

/* Remove all effects from second background */
#secondBg,
#secondBg *,
.second-background-section,
.second-background-section * {
  transition: none !important;
  animation: none !important;
  filter: none !important;
  transform: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* --- Mobile Responsive Design --- */
@media (max-width: 768px) {
  /* Fix second background zoom issue on mobile */
  #secondBg.second-background {
    background-attachment: scroll !important;
    background: url('/images/SecondBackground.jpg') center center / cover no-repeat scroll !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transform: none !important;
    scale: 1 !important;
    zoom: 1 !important;
  }
  
  .second-background-section {
    background-attachment: scroll !important;
    background: url('/images/SecondBackground.jpg') center center / cover no-repeat scroll !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transform: none !important;
    scale: 1 !important;
    zoom: 1 !important;
  }
  /* Hide desktop navigation on mobile */
  .desktop-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
  
  /* Hide all navigation links on mobile */
  .nav-link {
    display: none !important;
  }
  
  /* Hide collections dropdown on mobile */
  .collections-menu-container {
    display: none !important;
  }
  
  .collections-dropdown {
    display: none !important;
  }
  
  /* Hide header actions on mobile by default */
  .header-actions {
    display: none !important;
  }
  
  /* Hide cart icon on mobile */
  .cart-container {
    display: none !important;
  }
  
  /* Show mobile nav toggle */
  .mobile-nav-toggle {
    display: block !important;
  }
  
  /* Center the logo on mobile */
  .main-header {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    padding: 10px 20px;
    min-height: 80px;
    background: #000;
    border-bottom: 1px solid #333;
  }
  
  .logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    pointer-events: auto;
  }
  
  .logo-container img {
    height: 60px;
    max-width: 100%;
  }
  
  .mobile-nav-toggle {
    display: flex !important;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 12px;
    position: absolute;
    left: 0;
    z-index: 1001;
    transition: color 0.3s;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
  }

  .mobile-nav-toggle .line {
    width: 20px;
    height: 2px;
    background-color: #fff;
    display: block;
    transition: all 0.3s ease;
  }
  
  .mobile-nav-toggle:hover {
    color: #aaa;
  }

  /* Remove placeholder element since we're using absolute positioning */
  
  /* Mobile navigation and cart are hidden by default, only shown on mobile */
.mobile-nav-toggle,
.mobile-cart-container {
  display: none;
}
  
  /* Ensure no navigation elements show on mobile */
  .main-header nav {
    display: none !important;
  }
  
  .main-header .nav-link,
  .main-header .collections-menu-container,
  .main-header .collections-dropdown {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
  
  /* Remove the nuclear option hiding rules */
  
  /* Remove the aggressive text hiding rules */
  
  /* Hide specific navigation elements on mobile */
  .main-header .desktop-nav,
  .main-header .header-actions {
    display: none !important;
  }

  /* Show mobile cart */
  .mobile-cart-container {
    position: absolute !important;
    right: 20px !important;
    z-index: 1001 !important;
    display: block !important;
    pointer-events: auto !important;
  }

  .mobile-cart-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
    pointer-events: auto !important;
    z-index: 1002 !important;
  }

  .mobile-cart-icon:hover {
    color: #aaa;
  }

  .mobile-cart-icon svg {
    width: 20px;
    height: 20px;
  }

  .mobile-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 18px;
    pointer-events: none !important;
  }
  
  /* Ensure only logo and hamburger are visible */
  .main-header {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
  }
  
  .mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
    display: none !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
  }
  
  .mobile-nav.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  /* Force hide mobile nav by default - nuclear option */
  .mobile-nav:not(.active) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
  }
  
  .mobile-nav.active {
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-nav.active {
    display: flex;
  }
  
  .mobile-nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 40px;
  }

  .mobile-nav-link {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  .mobile-nav-link:hover {
    color: #aaa;
  }
  
  .mobile-nav-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s;
  }
  
  .mobile-nav-close:hover {
    color: #aaa;
  }
  
  /* Mobile Header */
  .main-header {
    padding: 10px 20px;
    justify-content: space-between;
  }
  
  /* Show only logo and hamburger menu on mobile */
  .main-header .logo-container {
    position: static;
    transform: none;
  }
  
  .logo-container img {
    height: 60px;
  }
  
  /* Mobile Search */
  .search-box {
    width: 200px;
    font-size: 0.8rem;
  }
  
  /* Mobile Hero */
  .hero-content h1 {
    font-size: 2.5rem;
    padding: 0 20px;
  }
  
  /* Mobile Product Grid */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }
  
  .product-card {
    margin-bottom: 20px;
  }
  
  /* Mobile Product Detail */
  .product-detail-flex {
    flex-direction: column;
    padding: 20px;
  }
  
  .product-image-gallery .product-image {
    width: 100%;
    height: 300px;
  }
  
  .product-thumbnails {
    justify-content: center;
    gap: 8px;
  }
  
  .thumbnail-img {
    width: 60px;
    height: 60px;
  }
  
  .product-info-large {
    padding: 20px 0;
  }
  
  .product-info-large .product-name {
    font-size: 2rem;
  }
  
  /* Mobile Buttons */
  .size-btn {
    padding: 12px 16px;
    font-size: 1rem;
    margin: 5px;
  }
  
  .add-to-cart-btn, .buy-now-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin: 10px 0;
  }
  
  /* Mobile Cart */
  .cart-dropdown {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: rgba(0,0,0,0.95) !important;
    z-index: 9999 !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .cart-dropdown.active {
    display: flex !important;
    flex-direction: column;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
  }
  
  .cart-header {
    padding: 20px;
    background: #000;
    border-bottom: 1px solid #333;
  }
  
  .cart-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.5rem;
  }
  
  .cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
  }
  
  .cart-item {
    padding: 15px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .cart-item-details {
    flex: 1;
  }
  
  .cart-item-name {
    color: #fff;
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  .cart-item-size {
    color: #ccc;
    font-size: 0.9rem;
  }
  
  .cart-item-price {
    color: #fff;
    font-weight: bold;
  }
  
  .cart-footer {
    padding: 20px;
    background: #000;
    border-top: 1px solid #333;
  }
  
  .cart-total {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
  }
  
  .checkout-btn {
    width: 100%;
    padding: 15px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close-cart {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  
  .cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .quantity-btn {
    background: #333;
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
  }
  
  .quantity-display {
    color: #fff;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
  }
  
  .remove-item {
    background: #ff4444;
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
  }

  /* Mobile Cart Page Styles */
  .mobile-cart-page {
    padding: 20px;
    min-height: calc(100vh - 80px);
    background: #000;
    color: #fff;
  }

  .cart-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
  }

  .cart-page-header h1 {
    font-size: 2rem;
    margin: 0;
  }

  .back-btn {
    background: none;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
  }

  .cart-page-content {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 200px);
  }

  .cart-items-container {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
  }

  .cart-page-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid #333;
    background: #111;
    border-radius: 8px;
    margin-bottom: 15px;
  }

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

  .cart-page-item-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
  }

  .cart-page-item-size {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 5px;
  }

  .cart-page-item-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
  }

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

  .cart-page-item-quantity .quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #fff;
    background: none;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .cart-page-item-quantity .quantity-btn:hover {
    background: #fff;
    color: #000;
  }

  .cart-page-item-quantity .quantity-btn:active {
    transform: scale(0.95);
  }

  .cart-page-item-quantity .quantity-display {
    min-width: 30px;
    text-align: center;
    font-weight: bold;
  }

  .cart-page-footer {
    background: #111;
    padding: 20px;
    border-radius: 8px;
    border-top: 1px solid #333;
  }

  .cart-total-section {
    margin-bottom: 20px;
  }

  .empty-cart {
    text-align: center;
    padding: 60px 20px;
  }

  .empty-cart h2 {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .empty-cart p {
    color: #ccc;
    margin-bottom: 30px;
  }

  .shop-now-btn {
    background: #fff;
    color: #000;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
  }

  .cart-success-message {
    background: #4CAF50;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
  }
  
  /* Mobile Collections */
  .collections-dropdown {
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    transform: none;
  }
  
  .collections-panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  
  .collection-box {
    width: 100%;
    height: 400px;
  }
  
  /* Mobile About */
  .about-content {
    padding: 20px;
    margin: 20px;
  }
  
  .about-content h1 {
    font-size: 2rem;
  }
  
  .about-content p {
    font-size: 1rem;
  }
  
  /* Mobile Welcome Modal */
  .welcome-poster {
    width: 90%;
    height: auto;
  }
  
  /* Mobile Zoom */
  .product-image.zoomable {
    cursor: default;
  }
  
  /* Mobile Stock Info */
  .stock-info {
    margin: 15px 0;
    padding: 12px;
    font-size: 0.9rem;
  }
  
  /* Mobile Size Guide */
  .size-guide-link {
    font-size: 1.2rem;
    margin-top: 15px;
    padding: 12px 0;
    min-height: 48px;
    text-align: center;
    display: block;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid #333;
  }
  
  .size-guide-link:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .size-guide-content {
    padding: 15px;
    max-width: 95%;
    max-height: 95%;
    margin: 20px;
  }
  
  .size-guide-content h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
  
  .size-guide-image-container {
    max-height: 75vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .size-guide-image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    /* Allow zoom on mobile */
    touch-action: manipulation;
    cursor: zoom-in;
  }
  
  .size-guide-close {
    top: 10px;
    right: 15px;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    border: 1px solid #333;
  }
  
  .size-guide-modal {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .product-info-large .product-name {
    font-size: 1.8rem;
  }
  
  .search-box {
    width: 150px;
  }
  
  .logo-container img {
    height: 50px;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .size-btn:hover,
  .add-to-cart-btn:hover,
  .buy-now-btn:hover {
    transform: none;
  }
  
  .product-card:hover,
  .collection-card:hover {
    transform: none;
  }
  
  .nav-link:hover {
    color: inherit;
  }
}

/* Message Banner */
.message-banner {
  background: #1a3a1a;
  color: #4ade80;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
}

.message-banner.error {
  background: #3a1a1a;
  color: #f87171;
}

/* --- Footer Styles --- */
footer, .footer {
  background: rgba(0, 0, 0, 0.8);
  color: #e0e0e0;
  text-align: center;
  padding: 20px 10px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 100;
}

.footer a, footer a {
  color: #e0e0e0;
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.3s ease;
}

.footer a:hover, footer a:hover {
  color: #fff;
}

/* --- Footer Responsive --- */
@media (max-width: 768px) {
  footer, .footer {
    text-align: center !important;
    padding: 20px 10px !important;
    font-size: 1rem !important;
    width: 100vw !important;
    box-sizing: border-box;
  }
  .footer a, footer a {
    display: inline-block;
    margin: 0 8px;
    font-size: 1.1rem;
    padding: 8px 0;
    min-width: 44px;
    min-height: 44px;
  }
}

/* Size Guide Styles */
.size-guide-link {
  display: inline-block;
  color: #666;
  text-decoration: underline;
  font-size: 1.1rem;
  margin-top: 12px;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 8px 0;
  min-height: 44px;
  line-height: 1.4;
}

.size-guide-link:hover {
  color: #fff;
}

.size-guide-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  /* Mobile touch improvements */
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
}

.size-guide-modal.show {
  display: flex;
  opacity: 1;
}

.size-guide-content {
  background: #000;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 20px;
  max-width: 90%;
  max-height: 90%;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.size-guide-modal.show .size-guide-content {
  transform: scale(1);
}

.size-guide-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s ease;
}

.size-guide-close:hover {
  color: #ccc;
}

.size-guide-content h3 {
  color: #fff;
  margin: 0 0 20px 0;
  text-align: center;
  font-size: 1.5rem;
}

.size-guide-image-container {
  text-align: center;
  max-height: 70vh;
  overflow-y: auto;
}

.size-guide-image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  /* Allow zoom on both desktop and mobile */
  touch-action: manipulation;
  cursor: zoom-in;
}

/* Desktop styles - hide mobile navigation and mobile cart */
@media (min-width: 769px) {
  .mobile-nav-toggle {
    display: none !important;
  }
  
  .mobile-nav {
    display: none !important;
  }
  
  .mobile-cart-container {
    display: none !important;
  }
}

