/* ============================================================
   PRODUCT PAGE — ButtSnorkelers.com
   Modern, spacious e-commerce layout
   Uses design system tokens from style.css
   ============================================================ */

/* ---- Breadcrumb ---- */
.breadcrumb {
  padding: 96px 24px 0;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.3px;
}
.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--accent-deep); text-decoration: underline; }
.breadcrumb__sep {
  margin: 0 10px;
  color: var(--border);
}
.breadcrumb__current {
  color: var(--text);
}

/* ---- Product Section ---- */
.product {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.product__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ---- Product Image ---- */
.product__image {
  position: sticky;
  top: 100px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s;
}
.product__image:hover {
  box-shadow: var(--shadow-lift);
}
.product__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Zoom the image inside the card for products with lots of whitespace */
.product__image--zoomed {
  overflow: hidden;
}
.product__image--zoomed img {
  transform: scale(1.8);
}

/* ---- Product Details ---- */
.product__details {
  padding-top: 8px;
}

.product__name {
  font-family: var(--font-bold);
  font-size: 44px;
  color: var(--headline);
  letter-spacing: 2px;
  line-height: 1.05;
  margin: 0 0 12px;
}

.product__tagline {
  font-family: 'Pacifico', cursive;
  font-size: 19px;
  color: var(--accent);
  margin: 0 0 28px;
  line-height: 1.4;
}

.product__price {
  font-family: var(--font-bold);
  font-size: 38px;
  color: var(--headline);
  letter-spacing: 1px;
  margin: 0 0 28px;
}

.product__description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-mid);
  margin: 0 0 36px;
  max-width: 480px;
}

/* ---- Color Swatch ---- */
.product__color {
  margin-bottom: 32px;
}
.product__color-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-mid);
  margin-bottom: 10px;
}
.product__color-value {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.product__color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: inline-block;
}

/* ---- Size Selector ---- */
.product__sizes {
  margin-bottom: 36px;
}
.product__sizes-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-mid);
  margin: 0 0 12px;
}
.product__size-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.size-btn {
  padding: 12px 24px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--card-bg);
  color: var(--text-mid);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}
.size-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--badge-color);
}
.size-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
}

/* ---- Buy Button ---- */
.btn--buy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px 32px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  font-family: var(--font-bold);
  font-size: 20px;
  letter-spacing: 3px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0 6px 24px var(--accent-glow);
  margin-bottom: 20px;
}
.btn--buy:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px var(--accent-glow);
}
.btn--buy:active {
  transform: translateY(0);
}
.btn--buy:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: 0 4px 16px var(--accent-glow);
}

/* ---- Shipping Note ---- */
.product__shipping {
  font-size: 13px;
  color: var(--text-mid);
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

/* ---- Trust Badges ---- */
.product__trust {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 40px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.product__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-mid);
  font-weight: 500;
  letter-spacing: 0.3px;
}
.product__trust-icon {
  font-size: 16px;
}

/* ---- Product Features / Details List ---- */
.product__details-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.product__details-list li {
  position: relative;
  padding: 0 0 0 32px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}
.product__details-list li:last-child {
  margin-bottom: 0;
}
.product__details-list li::before {
  content: "\1F3C4";
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 15px;
}

/* ============================================================
   "YOU MIGHT ALSO DIG" — Related Products
   ============================================================ */

.also-dig {
  padding-bottom: 40px;
}
.also-dig .section-title {
  text-align: center;
  margin-bottom: 48px;
}
.also-dig__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.also-dig__card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: block;
  box-shadow: var(--shadow-card);
}
.also-dig__card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lift);
}
.also-dig__img {
  background: var(--page-bg);
  padding: 24px;
}
.also-dig__img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}
.also-dig__card:hover .also-dig__img img {
  transform: scale(1.04);
}
.also-dig__name {
  font-family: var(--font-bold);
  font-size: 18px;
  color: var(--headline);
  letter-spacing: 1px;
  padding: 20px 24px 6px;
  margin: 0;
}
.also-dig__price {
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
  padding: 0 24px 24px;
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  .product__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .product__image {
    position: static;
    max-width: 560px;
    margin: 0 auto;
  }
  .product__name {
    font-size: 36px;
  }
  .product__price {
    font-size: 32px;
  }
  .product__description {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .breadcrumb {
    padding-top: 80px;
    font-size: 12px;
  }
  .product {
    padding: 32px 20px 64px;
  }
  .product__image {
    padding: 12px;
    border-radius: 16px;
  }
  .product__name {
    font-size: 30px;
  }
  .product__tagline {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .product__price {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .product__description {
    font-size: 15px;
    margin-bottom: 28px;
  }
  .product__sizes {
    margin-bottom: 28px;
  }
  .size-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
  .btn--buy {
    font-size: 17px;
    padding: 18px 24px;
    letter-spacing: 2px;
  }
  .also-dig__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .also-dig__img {
    padding: 16px;
  }
  .also-dig__name {
    font-size: 15px;
    padding: 14px 16px 4px;
  }
  .also-dig__price {
    font-size: 15px;
    padding: 0 16px 16px;
  }
  .product__trust {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .product__name {
    font-size: 26px;
  }
  .product__tagline {
    font-size: 15px;
  }
  .product__price {
    font-size: 24px;
  }
  .also-dig__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .size-btn {
    padding: 10px 16px;
    font-size: 12px;
  }
}
