:root {
  --text-main: #000000;
  --text-secondary: #1D1D1B;
  --accent-orange: #E88100;
  --pagination-active: #2B2A2E;
  --pagination-inactive: #E6E9F2;
  --nav-arrow: #ADADAD;
}

.product-page {
  overflow-x: hidden;
  background: #fff;
}

.main-container {
  max-width: 1440px;
}

/* Media Column */
.product-page__media-col {
  padding-top: 50px;
  padding-bottom: 50px;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-gallery__main-wrap {
  width: 100%;
  max-width: 500px;
  margin-bottom: 30px;
  position: relative;
}

.parallax-stage {
  perspective: 1000px;
}

.product-gallery__main-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  will-change: transform;
}

.swiper-pagination-custom {
  display: flex;
  gap: 12px;
  margin-bottom: 60px;
}

.swiper-pagination-custom .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--pagination-inactive);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.swiper-pagination-custom .dot.active {
  background-color: var(--pagination-active);
}

.product-gallery__thumbs-row {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 400px;
  margin-left: 50px;
}

.thumbs-wrapper {
  display: flex;
  gap: 20px;
}
.product-thumbs-swiper {
  width: 80%!important;
  margin: auto;
}


.price-regular {
  color: #ccc;
  font-size: 15px;
  text-decoration: line-through;
}



.product-thumbs-swiper {

    position: relative;
}

.product-thumbs-swiper .swiper-wrapper {
}



.product-thumbs-swiper .swiper-slide.active {
    border-color: #E88100;
}

.product-thumbs-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Стрелки Swiper */
.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 20px!important;
}
.swiper-button-prev,
.swiper-button-next {
    color: #AEAEAE!important;
    width: 20px!important;
    height: 20px!important;
    top: 0!important;
    bottom: 0!important;
    margin: auto;
    transform: translateY(-50%)!important;
}


.thumb-item {
  width: 80px;
  height: 110px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.thumb-item:hover {
  transform: translateY(-5px) scale(1.05);
}

.gallery-nav-btn {
  background: none;
  border: none;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.gallery-nav-btn:hover {
  transform: translateX(5px);
}

/* Info Column */
.product-page__info-col {
  padding-left: 80px;
}

.product-info__title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 40px;
}

.product-info__description {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 50px;
}

.btn-cta {
  background: linear-gradient(to right, #D16E00 0%, #E98702 100%);
  border: none;
  border-radius: 25px!important;
  padding: 14px 25px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 320px;
  color: #fff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-cta__text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-cta__icon-wrap {
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.btn-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(232, 129, 0, 0.2);
}

.btn-cta:hover .btn-cta__icon-wrap {
  animation: cartJump 0.5s ease infinite alternate;
}

@keyframes cartJump {
  0% { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}

/* Shine effect */
.btn-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.5s;
}

.btn-cta:hover::after {
  left: 100%;
}

/* Responsive */
@media (max-width: 991px) {
  .product-page__info-col {
    padding-left: 15px;
    margin-top: 50px;
    text-align: center;
  }
  .product-info__description {
    margin-left: auto;
    margin-right: auto;
  }
  .product-info__title {
    font-size: 42px;
  }
  .product-gallery__thumbs-row {
    margin-left: 0;
  }
}



/* ===== PRICE ===== */
.product-info__price {
    font-size: 32px;
    font-weight: 700;
    margin: 16px 0 24px;
    color: #111;
    letter-spacing: -0.02em;
}

.product-info__price .woocommerce-Price-currencySymbol {
    font-size: 0.6em;
    margin-right: 4px;
    opacity: 0.8;
}

/* ===== BUTTON ===== */
.btn-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 28px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    overflow: hidden;
}



.product-thumbs-swiper {
  width: 100%;
}

.btn-cta:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-cta.loading .btn-cta__text {
    opacity: 0;
}

/* ===== LOADER ===== */
.btn-cta.loading::after {
    content: '';
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    position: absolute;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.ajax-add-to-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ajax-add-to-cart .btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.ajax-add-to-cart.loading .btn-text {
    opacity: 0;
}

.ajax-add-to-cart.loading .btn-spinner {
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
