/*=========================================================
            PRODUCT DETAILS HERO
=========================================================*/

.product-details-section {
  padding: 40px 0 90px;

  background: var(--luxury-light-gray);
}

.product-breadcrumb {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 60px;
}

.product-breadcrumb a {
  color: #666666;

  text-decoration: none;

  transition: 0.3s;
}

.product-breadcrumb a:hover {
  color: #ff4f9a;
}

.product-breadcrumb span {
  color: #888;
}

.product-breadcrumb .active-page {
  color: #ff4f9a;
}

.product-gallery-wrapper {
  display: flex;

  gap: 20px;
}

.product-thumbnail-column {
  display: flex;

  flex-direction: column;

  gap: 18px;
}

.product-thumb {
  width: 90px;

  height: 110px;

  object-fit: cover;

  border-radius: 16px;

  cursor: pointer;

  border: 2px solid transparent;

  transition: 0.35s;
}

.product-thumb:hover,
.active-thumb {
  border-color: #ff4f9a;
}
.product-gallery-wrapper {
  position: sticky;
  top: 100px;
}

.product-main-image-box {
  position: relative;

  flex: 1;

  overflow: hidden;

  border-radius: 20px;

  background: var(--pure-white);

  border: 1px solid var(--border-color);

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);

  padding: 20px;
}

.product-main-image-box img {
  width: 100%;
  height: 494px;
  object-fit: contain;
  object-position: center;

  transition: 0.45s;
}

.product-main-image-box:hover img {
  transform: scale(1.08);
}

.product-sale-badge {
  position: absolute;

  top: 20px;

  left: 20px;

  background: #ff4f9a;

  color: #fff;

  padding: 8px 16px;

  border-radius: 30px;

  z-index: 2;
}

.product-category {
  color: #ff4f9a;

  letter-spacing: 1px;

  text-transform: uppercase;

  display: block;

  margin-bottom: 12px;
}

.product-title {
  color: var(--heading-color);

  font-size: 48px;

  font-weight: 700;

  margin-bottom: 20px;
}

.product-rating {
  color: #ffc107;

  margin-bottom: 20px;
}

.product-rating span {
  color: #666666;

  margin-left: 10px;
}

.product-price {
  display: flex;

  align-items: center;

  gap: 18px;

  margin-bottom: 25px;
}

.product-price .new-price {
  color: var(--heading-color);

  font-size: 36px;

  font-weight: 700;
}

.product-price .old-price {
  color: #777;

  text-decoration: line-through;
}

.product-short-description {
  color: var(--text-color);

  line-height: 1.9;
}

@media (max-width: 991px) {
  .product-gallery-wrapper {
    flex-direction: column-reverse;
  }

  .product-thumbnail-column {
    flex-direction: row;

    justify-content: center;
  }

  .product-title {
    font-size: 36px;
  }
}

/*=========================================================
            PRODUCT OPTIONS
=========================================================*/

.product-stock {
  display: flex;

  align-items: center;

  gap: 10px;

  color: #47d764;

  margin: 25px 0;
}

.product-option-box {
  margin-top: 30px;
}

.product-option-box h5 {
  color: var(--heading-color, #111);

  margin-bottom: 15px;
}

.product-size-list {
  display: flex;

  flex-wrap: wrap;

  gap: 15px;
}

.product-size-list button {
  width: 55px;

  height: 55px;

  border-radius: 4px;

  border: 1px solid var(--border-color);

  background: var(--pure-white);

  color: var(--heading-color);

  transition: 0.35s;
}

.product-size-list button:hover,
.active-size {
  background: #ff4f9a;

  border-color: #ff4f9a;
}

.product-color-list {
  display: flex;

  gap: 15px;
}

.product-color {
  width: 34px;

  height: 34px;

  border-radius: 50%;

  cursor: pointer;

  border: 3px solid #fff;

  transition: 0.3s;
}

.product-color.black {
  background: #000;
}

.product-color.white {
  background: #fff;
  border-color: #d9d9d9;
}

.product-color.pink {
  background: #ff4f9a;
}

.product-color.beige {
  background: #d8b38b;
}

.product-color.red {
  background: #d62828;
}

.active-color {
  transform: scale(1.2);
}

.product-quantity {
  display: flex;

  align-items: center;

  width: 170px;

  height: 55px;

  background: var(--pure-white);

  border: 1px solid var(--border-color);

  border-radius: 4px;

  overflow: hidden;
}

.product-quantity button {
  width: 55px !important;
  height: 55px !important;
  border: none !important;
  background: #f5f5f5 !important;
  color: #111 !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.product-quantity button:hover {
  background: var(--primary-color, #f45b9a) !important;
  color: #fff !important;
}

.product-quantity input {
  flex: 1 !important;
  min-width: 40px !important;
  border: none !important;
  background: #fff !important;
  color: #111 !important;
  text-align: center !important;
  outline: none !important;
  font-size: 16px !important;
}

.product-quantity input {
  flex: 1;

  border: none;

  background: none;

  color: var(--heading-color);

  text-align: center;

  outline: none;
}

.product-action-buttons {
  display: flex;

  gap: 18px;

  margin-top: 35px;

  flex-wrap: wrap;
}

.product-cart-btn,
.product-buy-btn {
  padding: 16px 35px;

  border-radius: 50px;

  text-decoration: none;

  transition: 0.35s;

  font-weight: 600;
}

.product-cart-btn {
  background: #ff4f9a;

  color: #fff;
}

.product-buy-btn {
  background: var(--pure-white);

  color: var(--heading-color);

  border: 1px solid var(--heading-color);
}

.product-cart-btn:hover {
  background: #fff;

  color: #111;
}

.product-buy-btn:hover {
  background: #ff4f9a;

  color: #fff;
}

.product-extra-buttons {
  display: flex;

  gap: 18px;

  margin-top: 30px;

  flex-wrap: wrap;
}

.product-extra-buttons button {
  border: 1px solid var(--border-color);

  background: var(--pure-white);

  color: var(--heading-color);

  padding: 14px 25px;

  border-radius: 4px;

  transition: 0.35s;
}

.product-extra-buttons button:hover {
  background: #ff4f9a;
}

.product-meta {
  margin-top: 35px;

  border-top: 1px solid var(--border-color, #e5e5e5);

  padding-top: 25px;
}

.product-meta p {
  color: #666666;

  margin-bottom: 12px;
}

.product-meta strong {
  color: var(--heading-color, #111);
}

@media (max-width: 576px) {
  .product-action-buttons {
    flex-direction: column;
  }

  .product-cart-btn,
  .product-buy-btn {
    width: 100%;

    text-align: center;
  }
}
/*=========================================================
                PRODUCT TABS
=========================================================*/

.product-tabs-section {
  padding: 100px 0;

  background: var(--pure-white);
}

.product-tabs-nav {
  display: flex;

  justify-content: center;

  gap: 20px;

  flex-wrap: wrap;

  margin-bottom: 50px;
}

.product-tab-btn {
  padding: 15px 35px;

  border: 1px solid var(--border-color);

  border-radius: 4px;

  background: var(--luxury-light-gray);

  color: var(--heading-color);

  transition: 0.35s;
}

.product-tab-btn:hover,
.active-tab {
  background: #ff4f9a;
}

.product-tab-content {
  display: none;

  color: #cfcfcf;

  line-height: 1.9;
}

.active-content {
  display: block;
}

.product-tab-content h3 {
  color: var(--heading-color);

  margin-bottom: 25px;
}

.product-info-table {
  width: 100%;

  border-collapse: collapse;
}

.product-info-table th,
.product-info-table td {
  border: 1px solid var(--border-color, #e5e5e5);

  padding: 18px;
}

.product-info-table th {
  width: 220px;

  color: var(--heading-color);

  background: var(--luxury-light-gray);
}

.product-info-table td {
  color: #555555;
}

.product-review-card {
  background: var(--pure-white);

  border: 1px solid var(--border-color);

  border-radius: 4px;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);

  padding: 25px;

  height: 100%;
}

.review-top {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 15px;
}

.review-top h5 {
  color: var(--heading-color);

  margin: 0;
}

.review-stars {
  color: #ffc107;
}

.product-review-card p {
  color: var(--text-color);

  margin: 0;
}

@media (max-width: 768px) {
  .product-tabs-nav {
    gap: 12px;
  }

  .product-tab-btn {
    width: 100%;
  }
}
/*=========================================================
                RELATED PRODUCTS
=========================================================*/

.related-products-section {
  padding: 100px 0;

  background: var(--pure-white);
}

.related-product-card {
  background: var(--pure-white);

  border-radius: 4px;

  overflow: hidden;

  border: 1px solid var(--border-color);

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);

  transition: 0.4s;

  height: 100%;
}

.related-product-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 20px 45px rgba(255, 79, 154, 0.18);
}

.related-product-image {
  overflow: hidden;
}

.related-product-image img {
  width: 100%;

  transition: 0.45s;
}

.related-product-card:hover img {
  transform: scale(1.08);
}

.related-product-content {
  padding: 22px;
}

.related-product-content span {
  color: #ff4f9a;

  font-size: 14px;
}

.related-product-content h5 {
  color: var(--heading-color);

  margin: 12px 0;
}

.related-price {
  color: var(--heading-color);

  font-size: 22px;

  font-weight: 700;
}
/*=========================================================
                PRODUCT JS EFFECTS
=========================================================*/

.image-fade {
  opacity: 0.3;

  transform: scale(0.95);

  transition: 0.25s;
}
/*=========================================================
            PRODUCT JS ACTIVE CLASSES
=========================================================*/

.wishlist-active {
  background: #ff4f9a !important;

  color: #fff !important;
}

.cart-added {
  background: #28a745 !important;

  color: #fff !important;

  transition: 0.35s;
}

.product-tab-content {
  animation: fadeTab 0.35s ease;
}

@keyframes fadeTab {
  from {
    opacity: 0;

    transform: translateY(20px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}
/*=========================================================
            PRODUCT MICRO ANIMATIONS
=========================================================*/

.product-hidden {
  opacity: 0;

  transform: translateY(50px);

  transition: 0.7s ease;
}

.product-show {
  opacity: 1;

  transform: translateY(0);
}

.product-buy-btn {
  position: relative;

  overflow: hidden;
}

.buy-ripple {
  position: absolute;

  width: 20px;

  height: 20px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.6);

  transform: translate(-50%, -50%) scale(0);

  animation: ripple 0.6s linear;

  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: translate(-50%, -50%) scale(15);

    opacity: 0;
  }
}
/*=========================================================
                BACK TO TOP
=========================================================*/

.back-to-top {
  position: fixed;

  right: 30px;

  bottom: 30px;

  width: 55px;

  height: 55px;

  border: none;

  border-radius: 50%;

  background: #ff4f9a;

  color: #fff;

  font-size: 20px;

  cursor: pointer;

  opacity: 0;

  visibility: hidden;

  transform: translateY(20px);

  transition: 0.35s;

  z-index: 999;
}

.show-top {
  opacity: 1;

  visibility: visible;

  transform: translateY(0);
}

.back-to-top:hover {
  background: #111;
}
/*=========================================================
        PRODUCT PAGE — NEWSLETTER SECTION
=========================================================*/

.shop-newsletter-section {
  padding: 100px 0;
  background: var(--pure-white);
}

.shop-newsletter-box {
  max-width: 850px;
  margin: auto;
  text-align: center;
  background: var(--pure-white);
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  padding: 70px 50px;
  border: 1px solid var(--border-color);
}

.shop-newsletter-box span {
  color: #ff4f9a;
  letter-spacing: 2px;
}

.shop-newsletter-box h2 {
  color: var(--heading-color);
  margin: 18px 0;
  font-size: 42px;
}

.shop-newsletter-box p {
  color: #666666;
  margin-bottom: 35px;
}

.shop-newsletter-form {
  display: flex;
  max-width: 650px;
  margin: auto;
}

.shop-newsletter-form input {
  flex: 1;
  height: 60px;
  border: none;
  outline: none;
  background: #1f1f1f;
  color: #fff;
  padding: 0 20px;
  border-radius: 50px 0 0 50px;
}

.shop-newsletter-form button {
  width: 180px;
  border: none;
  background: #ff4f9a;
  color: #fff;
  border-radius: 0 50px 50px 0;
  transition: 0.35s;
}

.shop-newsletter-form button:hover {
  background: #fff;
  color: #111;
}

@media (max-width: 768px) {
  .shop-newsletter-form {
    flex-direction: column;
    gap: 15px;
  }

  .shop-newsletter-form input,
  .shop-newsletter-form button {
    width: 100%;
    border-radius: 50px;
  }

  .shop-newsletter-box {
    padding: 50px 25px;
  }

  .shop-newsletter-box h2 {
    font-size: 32px;
  }
}
