/* ===================================
   RESET & BASE
=================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', 'Helvetica Neue', sans-serif;
  font-size: 14px;
  color: #333;
  background: #fff;
}

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

a:hover { text-decoration: underline; }

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===================================
   TOP BAR
=================================== */
.top-bar {
  background: #1a1a1a;
  color: #ccc;
  font-size: 12px;
  padding: 5px 16px;
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar .phone { color: #ccc; }
.top-bar .phone strong { color: #fff; }

.top-links {
  display: flex;
  gap: 16px;
}

.top-links a {
  color: #ccc;
  font-size: 12px;
}

.top-links a:hover { color: #fff; }

/* ===================================
   SHIPPING BANNER
=================================== */
.ship-banner {
  background: #2a2a2a;
  color: #fff;
  text-align: center;
  padding: 6px;
  font-size: 13px;
}

/* ===================================
   HEADER
=================================== */
.main-header {
  border-bottom: 1px solid #e5e5e5;
  padding: 12px 16px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.search-wrap {
  flex: 1;
  display: flex;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}

.search-input {
  flex: 1;
  padding: 8px 12px;
  border: none;
  outline: none;
  font-size: 14px;
}

.search-btn {
  background: #ff3366;
  color: #fff;
  border: none;
  padding: 0 16px;
  cursor: pointer;
  font-size: 16px;
}

.header-icons {
  display: flex;
  gap: 20px;
  font-size: 20px;
  color: #555;
}

.header-icons a { color: #555; }
.header-icons a:hover { color: #ff3366; text-decoration: none; }

.cart-icon { position: relative; }
.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #ff3366;
  color: #fff;
  font-size: 10px;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================================
   NAV
=================================== */
.main-nav {
  background: #fff;
  border-bottom: 2px solid #e5e5e5;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 0;
}

.nav-inner a {
  display: inline-block;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.nav-inner a:hover {
  color: #ff3366;
  text-decoration: none;
}

.sale-link { color: #ff3366 !important; }

/* ===================================
   PROMO BAR
=================================== */
.promo-bar {
  background: #cc0033;
  text-align: center;
  padding: 9px;
}

.promo-bar a {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.3px;
}

.promo-bar a:hover { text-decoration: none; opacity: 0.9; }

/* ===================================
   BREADCRUMB
=================================== */
.breadcrumb-wrap {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.breadcrumb {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: #666;
}

.breadcrumb a { color: #0066cc; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: #999; }

/* ===================================
   PRODUCT SECTION
=================================== */
.product-section {
  padding: 24px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 40px;
  align-items: start;
}

/* --- Images --- */
.product-images {
  display: flex;
  gap: 12px;
}

.thumbnails {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 72px;
  flex-shrink: 0;
}

.thumb {
  width: 68px;
  height: 68px;
  border: 2px solid #ddd;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  transition: border-color 0.2s;
}

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

.thumb:hover,
.thumb.active {
  border-color: #ff3366;
}

.main-image-wrap {
  position: relative;
  flex: 1;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  background: #fff;
}

.main-image-wrap img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  transition: opacity 0.2s;
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  color: #ccc;
  cursor: pointer;
  z-index: 2;
}

.wishlist-btn:hover { color: #ff3366; }

/* --- Product Info --- */
.product-info {
  padding-top: 4px;
}

.product-title {
  font-size: 24px;
  font-weight: bold;
  color: #222;
  line-height: 1.3;
  margin-bottom: 10px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.stars { color: #f5a623; font-size: 16px; }
.rating-count { color: #0066cc; font-size: 13px; }

/* --- Offer Box --- */
.offer-box {
  border: 2px solid #0066cc;
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 16px;
  background: #f8fbff;
}

.offer-label {
  background: #0066cc;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.offer-old {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.old-price {
  text-decoration: line-through;
  color: #999;
}

.offer-new {
  font-size: 16px;
  color: #333;
  margin-bottom: 2px;
}

.new-price {
  font-size: 32px;
  color: #cc0033;
}

.offer-save {
  font-size: 13px;
  color: #555;
  margin-bottom: 8px;
}

.offer-code {
  font-size: 13px;
  color: #555;
  margin-bottom: 14px;
}

.offer-code strong { color: #333; }
.more-details { color: #0066cc; }

.add-to-cart-btn {
  width: 100%;
  background: #cc0033;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.add-to-cart-btn:hover { background: #aa0028; }

/* --- Stock info --- */
.stock-info {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.8;
}

.backorder { color: #e67e00; }
.backorder .fa-circle { font-size: 8px; }
.notify-link a { color: #0066cc; }

.free-gift {
  font-size: 13px;
  color: #2a8f2a;
  margin-bottom: 8px;
}

.free-gift .fa-gift { color: #2a8f2a; margin-right: 4px; }

.quote-link {
  font-size: 13px;
  color: #555;
}

.quote-link a { color: #0066cc; }

/* ===================================
   SIMILAR ITEMS
=================================== */
.similar-section {
  padding: 32px 0;
  border-top: 1px solid #eee;
}

.section-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #222;
}

.section-title span { color: #cc0033; }

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

.similar-card {
  position: relative;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 16px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.similar-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

.similar-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.similar-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.similar-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 10px;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 7px;
  border-radius: 3px;
  color: #fff;
}

.badge.red { background: #cc0033; }
.badge.gray { background: #888; }

.card-wish {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: #ccc;
  font-size: 16px;
  cursor: pointer;
}

.card-wish:hover { color: #ff3366; }

.card-brand { font-size: 12px; color: #888; margin-bottom: 4px; }
.card-name { font-size: 13px; font-weight: 600; color: #333; margin-bottom: 6px; line-height: 1.4; }
.card-stars { color: #f5a623; font-size: 13px; margin-bottom: 6px; }
.card-stars span { color: #666; font-size: 12px; }

.card-price { margin-bottom: 4px; }
.cp-old { text-decoration: line-through; color: #999; font-size: 13px; margin-right: 6px; }
.cp-new { color: #cc0033; font-weight: bold; font-size: 14px; }
.cp-save { font-size: 12px; color: #555; }

/* ===================================
   DESC SECTION
=================================== */
.desc-section {
  padding: 32px 0;
  border-top: 1px solid #eee;
}

.desc-flex {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.desc-intro {
  margin-bottom: 24px;
}

.desc-intro h2 {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  margin-bottom: 12px;
}

.desc-intro p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

/* --- Accordion --- */
.accordion {
  border-top: 1px solid #ddd;
  margin-bottom: 0;
}

.acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  color: #222;
  user-select: none;
}

.acc-header:hover { color: #ff3366; }
.acc-icon { font-size: 13px; color: #888; transition: transform 0.2s; }

.acc-body {
  display: none;
  padding-bottom: 16px;
}

.acc-body.open { display: block; }

.acc-body ul {
  padding-left: 20px;
}

.acc-body ul li {
  list-style: disc;
  font-size: 14px;
  color: #555;
  line-height: 2;
}

.acc-body p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

/* --- Specs Table --- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.specs-table tr:nth-child(odd) { background: #f9f9f9; }
.specs-table td {
  padding: 8px 12px;
  border: 1px solid #e5e5e5;
  color: #555;
}

.specs-table td:first-child {
  font-weight: 600;
  color: #333;
  width: 40%;
}

/* ===================================
   REVIEWS
=================================== */
.reviews-section {
  padding-top: 24px;
  border-top: 1px solid #ddd;
  margin-top: 8px;
}

.reviews-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
  color: #222;
}

.rev-avg { color: #f5a623; }
.rev-total { color: #888; font-size: 14px; }

.rating-breakdown {
  margin-bottom: 24px;
}

.rb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.rb-label { width: 50px; font-size: 13px; color: #555; text-align: right; }

.rb-bar-bg {
  flex: 1;
  height: 12px;
  background: #eee;
  border-radius: 6px;
  overflow: hidden;
}

.rb-bar {
  height: 100%;
  background: #0066cc;
  border-radius: 6px;
}

.rb-num { width: 30px; font-size: 13px; color: #555; }

.sort-wrap {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #555;
}

.sort-wrap select {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 13px;
}

/* Review Card */
.review-card {
  border-bottom: 1px solid #eee;
  padding: 16px 0;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.review-header .review-stars { color: #f5a623; font-size: 14px; }
.review-header strong { font-size: 15px; color: #222; }
.verified { font-size: 12px; color: #2a8f2a; }
.verified .fa-check-circle { margin-right: 3px; }

.review-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 8px;
}

.review-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 12px;
  color: #888;
}

.helpful, .unhelpful { cursor: pointer; }
.helpful:hover { color: #2a8f2a; }
.unhelpful:hover { color: #cc0033; }

.load-more-btn {
  display: block;
  margin: 24px auto 0;
  padding: 10px 36px;
  border: 2px solid #0066cc;
  background: #fff;
  color: #0066cc;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.load-more-btn:hover {
  background: #0066cc;
  color: #fff;
}

/* Product Guides */
.product-guides {
  padding: 24px 0;
  border-top: 1px solid #ddd;
  margin-top: 8px;
}

.product-guides h3 {
  font-size: 16px;
  font-weight: bold;
  color: #222;
}

/* ===================================
   RIGHT SIDEBAR
=================================== */
.guarantee-box {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.guarantee-icon {
  font-size: 32px;
  color: #0066cc;
  margin-bottom: 8px;
}

.guarantee-box h4 {
  font-size: 15px;
  font-weight: bold;
  color: #222;
  margin-bottom: 4px;
}

.guarantee-box p {
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
}

.guarantee-icons {
  display: flex;
  justify-content: space-around;
  margin-bottom: 16px;
}

.g-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #555;
  text-align: center;
}

.g-item i {
  font-size: 22px;
  color: #0066cc;
}

.shop-msg {
  font-size: 13px;
  color: #333;
  margin-top: 8px;
}

/* Highlight Reviews */
.highlight-review {
  border: 1px solid #f5a623;
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 14px;
  background: #fffdf5;
}

.hr-stars {
  color: #f5a623;
  font-size: 13px;
  margin-bottom: 6px;
}

.highlight-review strong {
  display: block;
  font-size: 14px;
  color: #222;
  margin-bottom: 4px;
}

.highlight-review p {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

/* ===================================
   MYSTERY DEAL
=================================== */
.mystery-section {
  background: url('images/backend.webp') center center / cover no-repeat;
  padding: 60px 16px;
  text-align: center;
}

.mystery-inner h2 {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.mystery-inner p {
  font-size: 16px;
  color: #aaa;
  margin-bottom: 24px;
}

.signup-btn {
  background: #ff3366;
  color: #fff;
  border: none;
  padding: 14px 48px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s;
}

.signup-btn:hover { background: #cc0033; }

/* ===================================
   FOOTER
=================================== */
.main-footer {
  background: #f5f5f5;
  border-top: 2px solid #ddd;
  padding-top: 32px;
}

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

.footer-col h4 {
  font-size: 13px;
  font-weight: bold;
  color: #222;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  font-size: 13px;
  color: #555;
}

.footer-col ul li a:hover { color: #ff3366; }

.bbb-badge {
  margin-top: 16px;
}

.bbb-badge img {
  max-width: 100px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 0 80px;
  border-top: 1px solid #ddd;
  font-size: 22px;
}

.footer-social a { color: #555; }
.footer-social a:hover { color: #ff3366; text-decoration: none; }

.footer-bottom {
  background: #2a2a2a;
  text-align: center;
  padding: 12px;
  color: #888;
  font-size: 12px;
}

/* ===================================
   STICKY CART
=================================== */
.sticky-cart {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 2px solid #e5e5e5;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 10px 16px;
}

.sticky-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.sticky-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.sticky-name {
  flex: 1;
  font-size: 14px;
  font-weight: bold;
  color: #222;
}

.sticky-btn {
  background: #cc0033;
  color: #fff;
  border: none;
  padding: 11px 36px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.2s;
}

.sticky-btn:hover { background: #aa0028; }

/* ===================================
   RESPONSIVE — TABLET (≤1024px)
=================================== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: 1fr; }
  .similar-grid { grid-template-columns: repeat(2, 1fr); }
  .desc-flex { grid-template-columns: 1fr; }
  .desc-right { max-width: 600px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .main-image-wrap { min-height: 320px; }
  .main-image-wrap img { max-height: 320px; }
}

/* ===================================
   RESPONSIVE — MOBILE (≤640px)
=================================== */
@media (max-width: 640px) {
  /* Header */
  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 12px;
  }
  .logo-img { height: 36px; }
  .header-icons { gap: 14px; font-size: 18px; }

  /* Promo bar */
  .promo-bar a { font-size: 12px; }

  /* Product section */
  .product-section { padding: 16px 0; }
  .product-grid { gap: 20px; }
  .product-images { flex-direction: column-reverse; }
  .thumbnails {
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
    gap: 6px;
  }
  .thumb { width: 60px; height: 60px; }
  .main-image-wrap {
    min-height: 260px;
    width: 100%;
  }
  .main-image-wrap img { max-height: 260px; }
  .product-title { font-size: 18px; }
  .new-price { font-size: 26px; }
  .offer-box { padding: 12px 14px; }
  .add-to-cart-btn { font-size: 15px; padding: 13px; }

  /* Color swatches */
  .color-selector { flex-wrap: wrap; }

  /* Grid cards */
  .similar-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .similar-card { padding: 10px; }
  .similar-card img { height: 120px; }
  .card-name { font-size: 12px; }

  /* Desc section */
  .desc-section { padding: 20px 0; }
  .desc-flex { gap: 24px; }
  .desc-intro h2 { font-size: 16px; }
  .desc-intro p { font-size: 13px; }
  .acc-header { font-size: 14px; }

  /* Reviews */
  .reviews-title { font-size: 15px; }
  .rb-label { width: 42px; font-size: 12px; }
  .review-header { gap: 6px; }
  .review-meta { flex-wrap: wrap; gap: 8px; }

  /* Guarantee box */
  .guarantee-box { padding: 14px; }
  .guarantee-icons { gap: 4px; }
  .g-item { font-size: 10px; }
  .g-item i { font-size: 18px; }

  /* Mystery section */
  .mystery-section { padding: 40px 16px; }
  .mystery-inner h2 { font-size: 22px; letter-spacing: 1px; }
  .mystery-inner p { font-size: 14px; }
  .signup-btn { padding: 12px 32px; font-size: 14px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-social { font-size: 20px; gap: 16px; }

  /* Sticky cart */
  .sticky-name { font-size: 12px; }
  .sticky-btn { padding: 10px 20px; font-size: 13px; }
  .sticky-img { width: 36px; height: 36px; }
}

/* ===== COLOR SWATCHES (Satisfyer Pro 2) ===== */
.color-selector { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.color-label { font-size:14px; font-weight:bold; color:#333; }
.color-swatches { display:flex; gap:8px; }
.swatch { width:28px; height:28px; border-radius:50%; border:2px solid #ddd; cursor:pointer; transition:border-color 0.2s; }
.swatch.active { border-color:#ff3366; box-shadow:0 0 0 2px #ff336644; }
.swatch-white { background:#f5f5f5; }
.swatch-black { background:#222; }
