/** Shopify CDN: Minification failed

Line 493:13 Expected ":"
Line 493:15 Expected identifier but found "400"

**/
.gymaths-product-page {
  max-width: 1280px;
  margin: 3rem auto;
  padding: 0 2rem;
  box-sizing: border-box;
  font-family: 'Inter', Arial, sans-serif !important;
}

.gymaths-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media screen and (min-width: 990px) {
  .gymaths-product-grid {
    grid-template-columns: 1.25fr 1fr;
    align-items: start;
  }
}

.gymaths-product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: sticky;
  top: 2rem;
}

/* Desktop 2-Column Grid with 10px Radius (Always shows exactly 2 main images) */
.gymaths-primary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gymaths-primary-item {
  width: 100%;
  overflow: hidden;
  border-radius: 0px;
  background-color: rgba(var(--color-foreground), 0.03);
  aspect-ratio: 4 / 5;
}

.gymaths-primary-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0px !important;
}

/* Mobile Wrapper & Edge-to-Edge Carousel */
.gymaths-mobile-carousel-wrapper {
  display: contents;
}

@media screen and (max-width: 989px) {
  .gymaths-product-page {
    padding: 0;
    margin: 0;
  }

  .gymaths-product-gallery {
    position: relative;
    top: 0;
  }

  .gymaths-mobile-carousel-wrapper {
    display: block;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }

  .gymaths-primary-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    border-radius: 0;
    scrollbar-width: none;
    width: 100vw;
  }

  .gymaths-primary-grid::-webkit-scrollbar {
    display: none;
  }

  .gymaths-primary-item {
    min-width: 100vw;
    scroll-snap-align: start;
    border-radius: 0;
  }

  .gymaths-primary-item img {
    border-radius: 0;
  }

  .gymaths-product-details, 
  .gymaths-thumbnails-track {
    padding: 0 1.5rem;
    margin-top: 1.5rem;
  }
}

/* Gymshark-Style Pill Pagination Bar Locked to Main Image */
.gymaths-carousel-dots {
  display: none;
}

@media screen and (max-width: 989px) {
  .gymaths-carousel-dots {
    display: flex;
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 0.4rem 0.8rem;
    gap: 0.4rem;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
}

.gymaths-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gymaths-dot.active {
  background-color: #000000;
  transform: scale(1.3);
}

/* Thumbnails Track Below with 10px Radius */
.gymaths-thumbnails-track {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 0.5px;
  scrollbar-width: thin;
  border-radius: 5px !important;
}

.gymaths-thumbnail-btn {
  flex: 0 0 90px;
  height: 110px;
  border-radius: 5px;
  overflow: hidden;
  border: 0.1rem solid transparent;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.6;
}

.gymaths-thumbnail-btn.active,
.gymaths-thumbnail-btn:hover {
  border-color: #adadadff;
  opacity: 1;
}

.gymaths-thumbnail-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px !important;
}

.gymaths-product-details {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.gymaths-product-title {
  font-size: calc(var(--font-heading-scale, 1) * 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0;
  color: rgb(var(--color-foreground));
  line-height: 1.15;
}

.gymaths-product-price,
.gymaths-product-price *,
.gymaths-product-price .price {
  font-size: calc(var(--font-body-scale, 1) * 1.6rem);
  font-weight: 700;
  color: rgb(var(--color-foreground));
  letter-spacing: -0.05em; /* Adjust this value as needed */
}

.gymaths-variant-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.gymaths-variant-label {
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: rgb(var(--color-foreground));
}

.gymaths-pill-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.gymaths-pill-input {
  display: none;
}

.gymaths-pill-label {
  padding: 0.8rem 1.4rem;
  border: 0.1rem solid rgba(var(--color-foreground), 0.2);
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  background-color: transparent;
  color: rgb(var(--color-foreground));
}

.gymaths-pill-input:checked + .gymaths-pill-label {
  border-color: #000000;
  background-color: #000000;
  color: #ffffff;
}

.gymaths-add-to-cart-btn {
  width: 100%;
  height: 56px;
  background-color: #000000 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.04em !important;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gymaths-add-to-cart-btn:hover {
  opacity: 0.9;
}

.gymaths-add-to-cart-btn:active {
  transform: scale(0.98);
}

.gymaths-accordions-wrapper {
  display: flex;
  flex-direction: column;
  border-top: 0.1rem solid rgba(var(--color-foreground), 0.1);
  border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.1);
}

.gymaths-accordion-item {
  border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.1);
}

.gymaths-accordion-item:last-child {
  border-bottom: none;
}

.gymaths-accordion-item details {
  padding: 1.2rem 0;
}

.gymaths-accordion-item summary {
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgb(var(--color-foreground));
}

.gymaths-accordion-item summary::-webkit-details-marker {
  display: none;
}

.gymaths-accordion-content {
  margin-top: 1rem;
  font-size: 1.2rem;
  letter-spacing: -0.01rem;
  color: rgba(var(--color-foreground), 0.75);
  line-height: 1.3;
}

.gymaths-trust-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  background-color: rgba(var(--color-foreground), 0.03);
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 0.8rem;
}

.gymaths-trust-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.gymaths-trust-box svg {
  width: 24px;
  height: 24px;
  color: rgb(var(--color-foreground));
}

/* Desktop: Show only the first 2 primary grid boxes */
@media screen and (min-width: 990px) {
  .gymaths-primary-item:nth-child(n+3) {
    display: none;
  }
}

/* Isolated In-Stock Badge & Share Button Styles */
.gymaths-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: -0.8rem;
}

.gymaths-stock-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #008060;
  background-color: rgba(0, 128, 96, 0.08);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.gymaths-stock-badge svg {
  width: 15px;
  height: 15px;
}

.gymaths-share-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 0.1rem solid rgba(var(--color-foreground), 0.2);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgb(var(--color-foreground));
  transition: all 0.2s ease;
}

.gymaths-share-btn:hover {
  border-color: #000000;
  background-color: rgba(var(--color-foreground), 0.03);
}

.gymaths-share-btn svg {
  width: 15px;
  height: 15px;
}

/* Out of stock badge styling */
.gymaths-stock-badge.out-of-stock {
  color: #c90b0b;
  background-color: rgba(201, 11, 11, 0.08);
}

/* Color Image Swatches Styling */
.gymaths-color-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.gymaths-color-input {
  display: none;
}

.gymaths-color-swatch-label {
  display: block;
  width: 50px;
  height: 65px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.gymaths-color-swatch-label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gymaths-color-input:checked + .gymaths-color-swatch-label {
  border-color: #adadadff;
  transform: scale(1.05);
}

/* Color Swatches with Labels */
.gymaths-color-options {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.gymaths-color-input {
  display: none;
}

.gymaths-color-swatch-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.gymaths-color-swatch-label {
  display: block;
  width: 55px;
  height: 70px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.gymaths-color-swatch-label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gymaths-color-name {
  font-size: 1rem;
  margin-top: 0.4rem;
  color: #818181ff;
  opacity: 0.7;
  font-weight; 400;
  letter-spacing: -0.01rem;
  transition: opacity 0.2s ease, font-weight 0.2s ease;
}

.gymaths-color-input:checked + .gymaths-color-swatch-wrapper .gymaths-color-swatch-label {
  border-color: #adadadff;
  transform: scale(1.05);
}

.gymaths-color-input:checked + .gymaths-color-swatch-wrapper .gymaths-color-name {
  opacity: 1;
  font-weight: 500;
}