/* RESET */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f7f7f9;
  color: #222;
}

/* ================= HEADER ================= */
.store-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000000;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #000000;
  color: white;
}
.promo-banner {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
}

.store-header h1 {
  font-size: 16px;
  margin: 0;
}

.brand-name {
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.site-logo {
  height: 40px;
}

.back-arrow {
  text-decoration: none;
  color: #ffffff;
  margin-right: 8px;
}

.basket-icon {
  position: relative;
  font-size: 20px;
  color: #ffffff;
}

.basket-icon span {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #ff4fa3;
  color: #fff;
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= LAYOUT ================= */
.container {
  padding: 12px;
  max-width: 500px;
  margin: auto;
}

/* ================= HOME ================= */
.welcome-banner {
  background: linear-gradient(135deg, #fff0f6, #ffe4f0);
  border-radius: 20px;
  padding: 16px;
  text-align: center;
  margin-bottom: 14px;
}

.welcome-tag {
  background: #ff4fa3;
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.shop-section-head {
  text-align: center;
  margin-bottom: 12px;
}

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

/* PRODUCT CARD */
.product-card {
  cursor: pointer;
}

.product-image-wrap {
  border-radius: 14px;
  overflow: hidden;
  background: #f3f3f3;
}

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

.product-info {
  text-align: center;
  padding-top: 8px;
}

.product-info h3 {
  font-size: 13px;
  margin: 0 0 6px;
}

.from-price {
  font-size: 12px;
  color: #000000;
  font-weight: bold;
}

.length-range {
  font-size: 12px;
  color: #666;
}

/* ================= PRODUCT PAGE ================= */
.product-detail-card {
  background: #fff;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.image-gallery {
  display: flex;
  flex-direction: column;
  aspect-ratio: 1050 / 940;
  width: 100%;
  align-items: center;
  margin-bottom: 10px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
 
}

.detail-main-image {
  width: 100%;
  max-width: 500px;   

  object-fit: contain;
  border-radius: 16px;
  background: #f5f5f5;
}

.layby-note {
  background: #eef7ff;
  border: 1px solid #cfe5ff;
  color: #2a5c8a;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 12px;
}

.detail-main-image.fade-out {
  opacity: 0;
  transform: scale(0.97);
}

.thumbnail-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
}

.thumbnail {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0.6;
  border: 2px solid transparent;
}

.active-thumb {
  opacity: 1;
  border-color: #ff4fa3;
}

.product-detail-card h2 {
  font-size: 18px;
  margin: 12px 0;
}

.detail-price {
  font-size: 14px;
  margin-bottom: 12px;
}

/* LENGTH BUTTONS */
.length-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.length-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}

.length-btn.active {
  background: #ff4fa3;
  color: #fff;
  border-color: #ff4fa3;
}

/* ADD BUTTON */
.add-basket-btn {
  position: fixed;
  bottom: 10px;
  left: 10px;
  right: 10px;
  padding: 14px;
  border: none;
  border-radius: 30px;
  background: #ff4fa3;
  color: white;
  font-weight: bold;
  font-size: 15px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* ================= BASKET ================= */
.cart-item-card {
  display: flex;
  gap: 12px;
  background: #fff;
  padding: 12px;
  border-radius: 14px;
  margin-bottom: 10px;
  align-items: center;
}

.cart-small-image {
  width: 70px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

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

.cart-meta {
  font-size: 12px;
  color: #666;
}

/* QTY */
.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border: none;
  background: #ff4fa3;
  color: #fff;
  border-radius: 6px;
}

/* SUMMARY */
.summary {
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  margin-top: 12px;
}

.summary div {
  display: flex;
  justify-content: space-between;
  margin: 6px 0;
}

/* BUTTON */
.btn {
  width: 100%;
  padding: 12px;
  border: none;
  background: #111;
  color: #fff;
  border-radius: 10px;
  margin-top: 10px;
}

/* FOOTER */
.site-footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: #222;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.preorder-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff0f6;          /* soft pink */
  border: 1px solid #ffd6e8;
  color: #8a3d63;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.4;
  margin: 12px 0;
}

.preorder-note i {
  color: #ff4fa3;
  font-size: 14px;
  margin-top: 2px;
}