a{
  color: #000;
  text-decoration: none;
}

/* Base layout for product pages */
body {
  margin: 0;
  background-color: #f9f9f9;
  font-family: "Nunito", sans-serif;
  color: #111;
}

.product-page {
  max-width: 1180px;
  margin: 40px auto 60px;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ========== HERO SECTION (IMAGE + DETAILS) ========== */

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

/* LEFT SIDE – IMAGE / GALLERY */

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: #777;
}

.breadcrumb a {
  color: #555;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 4px;
}

/* main image */
.product-main-image {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.product-main-image img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  display: block;
}

/* thumbnails */
.product-thumbnails {
  display: flex;
  gap: 10px;
}

.product-thumbnails .thumb {
  width: 80px;
  height: 70px;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
  object-fit: contain;
  cursor: pointer;
  border: 1px solid transparent;
  transition: 0.2s;
}

.product-thumbnails .thumb.active,
.product-thumbnails .thumb:hover {
  border-color: #111;
  transform: translateY(-2px);
}

/* RIGHT SIDE – DETAILS */

.product-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-category {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #888;
}

.product-title {
  font-size: 32px;
  line-height: 1.1;
  margin: 0;
}

/* rating */
.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
}

.stars {
  letter-spacing: 2px;
  font-size: 15px;
}

.product-price {
  font-size: 24px;
  font-weight: 700;
  margin: 6px 0 4px;
}

.product-description {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  max-width: 420px;
}

/* sections (color, size) */
.product-section {
  margin-top: 12px;
}

.product-section h4 {
  margin: 0 0 8px;
  font-size: 14px;
}

/* colors */
.color-options {
  display: flex;
  gap: 10px;
}

.color-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #aaa;
  background: #eee;
  cursor: pointer;
  padding: 0;
  outline: none;
}

.color-dot:nth-child(1) {
  background: #f5f5f5; /* white/black */
}

.color-dot:nth-child(2) {
  background: #b8c3ce; /* grey/volt */
}

.color-dot:nth-child(3) {
  background: #111; /* triple black */
}

.color-dot.active {
  border-color: #111;
  box-shadow: 0 0 0 2px #1113;
}

/* sizes */
.size-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.size-guide {
  font-size: 12px;
  color: #555;
  text-decoration: underline;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.size-option {
  border: 1px solid #ccc;
  background: #fff;
  padding: 8px 0;
  font-size: 13px;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.15s;
}

.size-option:hover {
  border-color: #111;
}

.size-option.active {
  border-color: #111;
  background: #111;
  color: #fff;
}

/* buttons */
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn-primary {
  border: none;
  background: #111;
  color: #fff;
  padding: 12px 28px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-primary:hover {
  background: #000;
}

.btn-secondary {
  border-radius: 999px;
  border: 1px solid #ccc;
  background: #fff;
  color: #111;
  padding: 11px 20px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary i {
  font-size: 14px;
}

/* extra info */
.product-extra {
  margin-top: 14px;
  font-size: 13px;
  color: #555;
}

.product-extra p {
  margin: 3px 0;
}

.product-extra i {
  margin-right: 6px;
}

/* ========== INFO SECTION (DETAILS / SPECS) ========== */

.product-info-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.info-block h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.info-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #555;
}

.info-block li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 16px;
}

.info-block li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #111;
}

/* ========== RELATED PRODUCTS ========== */

.related-products {
  margin-top: 50px;
}

.related-products h2 {
  font-size: 22px;
  margin-bottom: 18px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.related-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px 14px 14px;
  text-decoration: none;
  color: #111;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
  transition: 0.2s;
}

.related-card img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
}

.related-card h4 {
  font-size: 14px;
  margin: 0 0 4px;
}

.related-card p {
  font-size: 13px;
  color: #444;
  margin: 0;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.active-card {
  border: 1px solid #111;
}

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

/* Tablet */
@media (max-width: 992px) {
  .product-page {
    margin-top: 30px;
  }

  .product-hero {
    grid-template-columns: 1fr;
  }

  .product-details {
    max-width: 520px;
  }

  .product-main-image img {
    height: 360px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .product-page {
    margin: 24px auto 50px;
    padding: 0 16px;
  }

  .product-hero {
    gap: 26px;
  }

  .breadcrumb {
    font-size: 12px;
  }

  .product-main-image {
    padding: 14px;
  }

  .product-main-image img {
    height: 300px;
  }

  .product-title {
    font-size: 24px;
  }

  .product-price {
    font-size: 22px;
  }

  .size-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-info-section {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 32px;
  }

  .related-products {
    margin-top: 38px;
  }
}
/* whole section */
.specs-section {
  width: 100%;
  padding: 60px 0;
}

/* title row (same width as panel) */
.specs-inner {
  width: 95vw;
  margin: 0 auto 32px auto;
}

.specs-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
}

/* grey panel */
.specs-panel {
  width: 95vw; /* ~95% of screen width */
  margin: 0 auto;
  background: #f0f0f0; /* darker grey */
  min-height: 40vh; /* height like Nike */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  text-align: center;
  border-radius: 20px;
}

/* items */
.spec-item {
  padding: 40px 20px;
  box-sizing: border-box;
}

.spec-panel img,
.spec-item img {
  width: 60px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.spec-label {
  font-size: 15px;
  color: #555;
  margin-bottom: 4px;
}

.spec-value {
  font-size: 22px;
  font-weight: 600;
  color: #111;
}

/* optional: vertical dividers like Nike */
.spec-item:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.07);
}

/* MOBILE LAYOUT */
@media (max-width: 768px) {
  .specs-inner {
    width: 94vw;
    margin-bottom: 24px;
  }

  .specs-title {
    font-size: 26px;
    line-height: 1.3;
  }

  .specs-panel {
    width: 94vw;
    min-height: auto; /* no fixed 40vh on phone */
    grid-template-columns: 1fr; /* stack items vertically */
    text-align: center;
  }

  .spec-item {
    padding: 20px 18px;
    border-right: none; /* remove vertical dividers */
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  }

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

  .spec-item img {
    width: 40px;
    margin-bottom: 10px;
  }

  .spec-label {
    font-size: 13px;
  }

  .spec-value {
    font-size: 18px;
  }
}

.whats-new-section {
  width: 100%;
  padding: 60px 0;
}

.whats-new-inner {
  width: 95vw; /* EXACT SAME AS PREVIOUS SECTION */
  margin: 0 auto; /* centers it perfectly */
}

.whats-new-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111;
}

.whats-new-list {
  list-style: disc;
  padding-left: 20px;
  font-size: 18px;
  line-height: 1.6;
  color: #222;
}

/* Mobile */
@media (max-width: 768px) {
  .whats-new-inner {
    width: 94vw; /* same as mobile width for previous section */
  }

  .whats-new-title {
    font-size: 20px;
  }

  .whats-new-list {
    font-size: 16px;
  }
}

.features-section {
  width: 100%;
  padding: 60px 0;
}

.features-title {
  width: 95vw;
  margin: 0 auto 30px auto;
  font-size: 32px;
  font-weight: 700;
  color: #111;
}

/* Grid container */
.features-grid {
  width: 95vw;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Individual card */
.feature-card img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .features-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;

    padding-left: 0; /* remove this, we control spacing from the card */
    gap: 16px;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

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

  /* CARD SIZE */
  .feature-card {
    flex: 0 0 75vw;
    max-width: 75vw;
    scroll-snap-align: start;
  }

  /* FIRST card left alignment */
  .feature-card:first-child {
    margin-left: 16px; /* SAME left margin as your title alignment */
  }

  .feature-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
  }

  .feature-card h3 {
    font-size: 18px;
    margin-top: 12px;
  }

  .feature-card p {
    font-size: 15px;
    line-height: 1.45;
  }
}

.hero-image-section {
  width: 100%;
  padding: 40px 0; /* top/bottom spacing */
}

.hero-image-section img {
  width: 95vw; /* aligns perfectly with the rest of your site */
  height: 90vh; /* big, dominant image */
  object-fit: cover; /* crops beautifully */
  border-radius: 12px; /* same style as Nike cards */
  display: block;
  margin: 0 auto;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-image-section {
    padding: 30px 0;
  }

  .hero-image-section img {
    width: 94vw; /* same mobile alignment as your other sections */
    height: 90vh; /* still tall on mobile */
    border-radius: 10px;
  }
}

.text-banner-section {
  width: 100%;
  padding: 60px 0;
  text-align: center;
}

.text-banner-inner {
  width: 95vw;
  margin: 0 auto;
}

.text-banner-inner h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111;
}

.text-banner-inner p {
  font-size: 20px;
  color: #333;
  margin: 6px 0;
  line-height: 1.5;
}

/* Mobile */
@media (max-width: 768px) {
  .text-banner-section {
    padding: 40px 0;
  }

  .text-banner-inner {
    width: 94vw;
  }

  .text-banner-inner h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .text-banner-inner p {
    font-size: 16px;
    line-height: 1.45;
  }
}

/* ================================
   SPLIT IMAGE + TEXT SECTION
   ================================ */
.split-section {
  width: 100%;
  padding: 60px 0;
}

.split-inner {
  width: 95vw;
  margin: 0 auto;
  display: flex;
  gap: 30px;
}

/* IMAGE SIDE */
.split-image {
  flex: 1;
}

.split-image img {
  width: 100%;
  height: 100%;
  max-height: 80vh;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* TEXT SIDE */
.split-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-text .quote {
  font-size: 28px;
  line-height: 1.35;
  color: #111;
  margin-bottom: 30px;
}

.split-text .author {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.split-text .subtitle {
  font-size: 15px;
  color: #666;
}

/* ================================
   MOBILE
   ================================ */
@media (max-width: 768px) {
  .split-section {
    padding: 40px 0;
  }

  .split-inner {
    width: 94vw;
    flex-direction: column;
  }

  .split-image img {
    width: 100%;
    height: 50vh; /* not too tall on mobile */
    border-radius: 10px;
  }

  .split-text .quote {
    font-size: 20px;
    margin-top: 20px;
  }

  .split-text .author {
    font-size: 16px;
  }

  .split-text .subtitle {
    font-size: 14px;
  }
}
