:root {
  --font-body-family: Helvetica, Arial, sans-serif;
  --font-heading-family: Helvetica, Arial, sans-serif;
  --color-base-text: 50, 50, 50;
  --color-base-background-1: 255, 255, 255;
  --color-base-accent-1: 247, 198, 63;
  --color-base-accent-2: 245, 187, 28;
  --color-button-text: 255, 255, 255;
  --color-foreground: 50, 50, 50;
  --color-background: 255, 255, 255;
  --page-width: 160rem;
  --media-radius: 12px;
  --buttons-radius: 40px;
  --variant-pills-radius: 40px;
  --inputs-radius: 6px;
}

body {
  font-family: var(--font-body-family);
  color: rgb(var(--color-foreground));
  background: rgb(var(--color-background));
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.page-width {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 750px) {
  .page-width {
    padding: 0 5rem;
  }
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(var(--color-foreground), 0.08);
}

.header__heading-link {
  display: block;
  line-height: 0;
}

.header__heading-logo {
  max-width: 170px;
  height: auto;
}

.header__icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__icon {
  color: rgb(var(--color-foreground));
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
}

.header__icon--cart {
  position: relative;
}

.cart-count-bubble {
  position: absolute;
  top: 0;
  right: 0;
  background-color: red;
  color: white;
  border-radius: 50%;
  width: 1.7rem;
  height: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.announcement-bar {
  background: rgb(var(--color-base-accent-1));
  text-align: center;
  padding: 0.5rem;
  font-size: 1.2rem;
}

/* Product Grid */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
}

.product__media-wrapper {
  flex: 1 1 45%;
  min-width: 300px;
  position: sticky;
  top: 10px;
}

.product__info-wrapper {
  flex: 1 1 45%;
  min-width: 300px;
}

/* Gallery */
.swiper-main {
  border-radius: var(--media-radius);
  border: 1px solid rgba(var(--color-foreground), 0.1);
  margin-bottom: 1rem;
}

.swiper-main img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
  background: #fff;
}

.swiper-thumbs .swiper-slide {
  opacity: 0.6;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid transparent;
}

.swiper-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border-color: rgb(var(--color-foreground));
}

.swiper-thumbs img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
  background: #fff;
}

/* Typography */
h1 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
  font-family: var(--font-heading-family);
}

@media (min-width: 750px) {
  h1 {
    font-size: 2rem;
  }
}

/* Price */
.price {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}

.price__sale {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.price-item--sale {
  color: red;
  font-size: 2rem;
  font-weight: bold;
}

.price-item--regular {
  text-decoration: line-through;
  color: rgba(var(--color-foreground), 0.75);
  font-size: 1.3rem;
}

.badge {
  background: rgb(var(--color-base-accent-2));
  color: rgb(var(--color-button-text));
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 1.2rem;
}

/* Variants */
.product-form__input {
  margin: 1.5rem 0;
}

.form__label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.variant-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.variant-label {
  border: 1px solid #6faeea;
  padding: 1rem 2rem;
  border-radius: var(--variant-pills-radius);
  cursor: pointer;
  font-size: 1.4rem;
  background: #fff;
  display: inline-block;
}

.variant-radio:checked+.variant-label {
  background: #6faeea;
  color: white;
}

/* Quantity */
.quantity {
  display: flex;
  width: fit-content;
  border: 1px solid rgba(var(--color-foreground), 0.3);
  border-radius: var(--inputs-radius);
  margin: 1rem 0;
}

.quantity__button {
  background: none;
  border: none;
  width: 3.5rem;
  font-size: 2rem;
  cursor: pointer;
}

.quantity__input {
  width: 5rem;
  text-align: center;
  border: none;
  border-left: 1px solid rgba(var(--color-foreground), 0.3);
  border-right: 1px solid rgba(var(--color-foreground), 0.3);
  font-size: 1.6rem;
}

/* Buttons */
.button {
  background: rgb(var(--color-base-accent-1));
  color: rgb(var(--color-button-text));
  border: none;
  padding: 1.5rem 3rem;
  border-radius: var(--buttons-radius);
  font-size: 1.2rem;
  cursor: pointer;
  width: 100%;
  font-weight: bold;
  transition: background 0.2s;
  display: block;
  text-align: center;
}

.button:hover {
  background: rgb(var(--color-base-accent-2));
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Payment button simulation */
.shopify-payment-button {
  margin-top: 1rem;
}

.shopify-payment-button__button {
  background: #1a1a1a;
  color: white;
  padding: 1.5rem;
  border-radius: var(--buttons-radius);
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  display: block;
}

/* Trust badges */
.payment-icons img {
  max-width: 100%;
  margin: 1rem 0;
}

/* Description */
.product__description {
  margin-top: 2rem;
  line-height: 1.6;
}

.product__description img {
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
  display: block;
}

/* Live view / Sold counter */
.custom_view_wrapper {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-top: 1px solid #e9e9e9;
  border-bottom: 1px solid #e9e9e9;
  margin: 1rem 0;
}

/* Collections */
.collection-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.collection-card {
  text-align: center;
}

.collection-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
}
.collection-card p {
  font-weight: 700;
  font-size: 20px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(var(--color-foreground), 0.08);
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer__blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-block {
  flex: 1 1 200px;
}

.footer-block__heading {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-unstyled li {
  margin-bottom: 0.5rem;
}

.list-unstyled a {
  color: rgba(var(--color-foreground), 0.75);
  text-decoration: none;
}

.list-unstyled a:hover {
  color: #6faeea;
}

.footer__copyright {
  text-align: center;
  margin-top: 2rem;
  color: rgba(var(--color-foreground), 0.75);
}

.multicolumn-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background: rgb(var(--color-base-accent-1));
  padding: 1.5rem 0;
  margin: 2rem 0;
}

/* Misc */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
}

.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mt-4 {
  margin-top: 1.5rem;
}
#order-form-section input:focus,
#order-form-section select:focus {
  border-color: #6faeea !important;
  box-shadow: 0 0 0 3px rgba(111, 174, 234, 0.1);
}

#order-form-section button[type="submit"]:hover {
  background: #f5bb1c !important;
}

#closePopupBtn:hover {
  background: #f5bb1c !important;
}
@media (max-width: 792px) {
  .product__media-wrapper {
    position: relative;
    top: 0;
    min-width: 250px;
  }
  .collection-list {
    grid-template-columns: 1fr;
  }
    .product__info-wrapper {
      min-width: auto;
    }
}