/*
 Theme Name: Twenty Twenty Child
 Template: twentytwenty
*/
/* ===============================
   PRODUCT ATTRIBUTES STYLING
   =============================== */
.product-attributes {
  display: none !important;
}

.woocommerce-product-details__short-description {
  background-color: #e1e1e1a3 !important;
  padding: 30px;
  border-radius: 5px;
  margin: 7px 0px 0px 8px;
  width: 40vw;
  font-size: 17px;
}

/* MOBILE VIEW */
@media (max-width: 480px) {
  .product-attributes {
    padding: 15px;
  }

  .product-attributes .attr-item {
    font-size: 14px;
    flex-direction: column;
    margin-bottom: 12px;
  }

  .product-attributes .attr-item strong {
    margin-bottom: 4px;
    min-width: auto;
  }
}

/* Updated Styles*/
.product-info-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

/* TITLES */
.section-title {
  color: #7b2b82;
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

.side-title {
  color: #7b2b82;
  font-size: 22px;
  margin: 25px 0 15px;
  font-weight: bold;
  text-transform: uppercase;
}

/* ACCORDION */
.accordion-item {
  background: #fff3df;
  border-radius: 18px;
  margin-bottom: 15px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 18px 22px;
  border: none;
  background: #fff3df;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  text-transform: uppercase;
}

.accordion-body {
  display: none;
  background: #fff;
  padding: 20px;
  color: #333;
}

.accordion-item.active .accordion-body {
  display: block;
}

.arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease;
  color: #7b2b82;
  /* or inherit */
}

.arrow svg {
  display: block;
}

.accordion-item.active .arrow {
  transform: rotate(180deg);
}

/* IMAGE */
.hero-img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 15px;
}

/* RIGHT SIDE CARDS */

/* Swiper Configurations */
.swiper {
  position: relative;
  padding-bottom: 40px;
}

.swiper-slide {
  background: transparent;
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: auto;
}

.swiper-button-prev .swiper-navigation-icon,
.swiper-button-next .swiper-navigation-icon {
  display: none !important;
}

.swiper-button-prev,
.swiper-button-next {
  width: 50px !important;
  height: 50px !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease !important;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 20px !important;
  color: #333 !important;
  font-weight: bold !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  transform: scale(1.1) !important;
}

.swiper-button-prev:active,
.swiper-button-next:active {
  transform: scale(0.95) !important;
}

/* FIXED: Disabled state - only reduce opacity slightly and disable interaction */
.swiper-button-disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* OPTIONAL: Remove hover/active effects when disabled */
.swiper-button-disabled:hover,
.swiper-button-disabled:active {
  background-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  transform: none !important;
}

/* Product Cards - Updated Design */
.product-cards {
  max-width: 30em;
}

.card {
  width: 100%;
  background: #f5f0eb;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

/* Card Image Section */
.card-image-section {
  position: relative;
  /* background: radial-gradient(circle at 30% 50%, #4a5a8a 0%, #2a3a6a 50%, #1a2a5a 100%); */
  /* padding: 30px 20px; */
  display: flex;
  justify-content: center;
  align-items: center;
  /* min-height: 250px; */
}

.card-image-section::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  top: 20%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.card-image-section::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  bottom: 20%;
  right: 15%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

.discount-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff6b35;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
  z-index: 10;
}

.product-jar {
  position: relative;
  z-index: 5;
  max-width: 160px;
  width: 100%;
  height: auto;
}

/* Card Details Section */
.card-details {
  padding: 20px;
  background: #f5f0eb;
}

.card-title {
  color: #4a2c5e;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.card-tagline {
  font-weight: bold;
}

.card-quantity {
  color: #666;
  font-size: 13px;
  margin-bottom: 10px;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 15px;
  color: #666;
  font-size: 13px;
}

.star {
  color: #ff6b35;
  font-size: 18px;
}

.rating-text {
  font-weight: 600;
  color: #333;
}

.separator {
  margin: 0 3px;
}

.card-price-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.card-current-price {
  color: #4a2c5e;
  font-size: 24px;
  font-weight: bold;
}

.card-original-price {
  color: #999;
  font-size: 16px;
  text-decoration: line-through;
}

/* Action Buttons */
.card-action-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.card-favorite-button {
  width: 50px;
  height: 50px;
  border: none;
  background: #ffc145;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.card-favorite-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 193, 69, 0.4);
}

.heart-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #7a4a8f;
  stroke-width: 2.5;
  transition: all 0.3s ease;
}

.card-favorite-button:hover .heart-icon {
  fill: #7a4a8f;
}

.card-add-to-cart {
  flex: 1;
  background: linear-gradient(135deg, #7a4a8f 0%, #5a2a6f 100%);
  color: white !important;
  border: none;
  padding: 14px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(122, 74, 143, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Select options button - adds arrow */
.card-select-options::after {
  content: "›";
  margin-left: 8px;
  font-size: 18px;
  font-weight: bold;
}

.card-add-to-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(122, 74, 143, 0.4);
  background: linear-gradient(135deg, #8a5a9f 0%, #6a3a7f 100%);
}

.card-add-to-cart.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.card-add-to-cart.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  right: 15px;
}

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

.card-add-to-cart.added {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%) !important;
}

.card-add-to-cart.added::before {
  content: "✓ ";
  margin-right: 5px;
}

/* Legacy styles (for backward compatibility if needed) */
.card--tall {
  background: radial-gradient(circle at top, #3b1746, #140a18);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-image {
  position: relative;
  padding: 20px;
  display: flex;
  justify-content: center;
}

.card-image img {
  width: 100%;
  max-width: 220px;
}

.card-content {
  background: #fbf8f2;
  border-radius: 0 0 28px 28px;
  padding: 18px;
  text-align: center;
}

.meta {
  font-size: 12px;
  color: #ccc;
}

.card h4 {
  font-size: 24px;
  margin: 0px 0 5px;
  word-wrap: break-word;
  overflow: hidden;
}

.card p {
  font-size: 14px;
  color: #808080;
}

.price {
  margin: 8px 0;
}

.current {
  color: #fff;
  font-weight: 700;
}

.old {
  text-decoration: line-through;
  color: #aaa;
  font-size: 12px;
  margin-left: 5px;
}

.btn-cart {
  width: 100%;
  background: #7b2b82;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 25px;
  cursor: pointer;
}

.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: orange;
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 12px;
}

.reviews-title {
  color: #4a2c5e;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 40px;
}

.reviews-wrapper {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 40px;
}

/* LEFT COLUMN - RATING SUMMARY */
.reviews-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.rating-summary {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.overall-rating {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 25px;
}

.rating-number {
  font-size: 72px;
  font-weight: 700;
  color: #4a2c5e;
  line-height: 1;
}

.rating-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 10px;
}

.rating-meta p {
  color: #666;
  font-size: 14px;
}

.rating-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stars-display {
  display: flex;
  gap: 3px;
  min-width: 120px;
}

.star {
  color: #ffc145;
  font-size: 18px;
}

.star.empty {
  color: #e0e0e0;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: #ffc145;
  border-radius: 10px;
  transition: width 0.5s ease;
}

.rating-count {
  min-width: 30px;
  text-align: right;
  color: #666;
  font-size: 14px;
  font-weight: 600;
}

/* WRITE REVIEW BUTTON */
.write-review-btn {
  width: 100%;
  background: linear-gradient(135deg, #f4c542 0%, #e8b633 100%);
  color: #4a2c5e;
  border: none;
  padding: 18px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(244, 197, 66, 0.3);
  transition: all 0.3s ease;
}

.write-review-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 197, 66, 0.4);
}

/* REVIEW FORM */
.review-form {
  background: #fff9e6;
  padding: 30px;
  border-radius: 20px;
  border: 2px solid #f4c542;
}

.form-header {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.product-thumbnail {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
}

.form-title-section h3 {
  color: #4a2c5e;
  font-size: 20px;
  margin-bottom: 5px;
}

.form-title-section h4 {
  color: #7a4a8f;
  font-size: 18px;
  font-weight: 600;
}

.rating-input {
  margin: 20px 0;
}

.rating-input label {
  color: #4a2c5e;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.star-ratings {
  display: flex;
  gap: 8px;
  font-size: 28px;
}

.star-ratings .star {
  cursor: pointer;
  transition: all 0.2s ease;
  color: #e0e0e0;
}

.star-ratings .star.active {
  color: #ffc145;
}

.star-ratings .star:hover {
  transform: scale(1.2);
}

.review-textarea {
  width: 100%;
  min-height: 120px;
  padding: 5px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  margin-top: 10px;
  transition: border-color 0.3s ease;
}

.review-textarea:focus {
  outline: none;
  border-color: #f4c542;
}

.submit-btn {
  background: linear-gradient(135deg, #f4c542 0%, #e8b633 100%);
  color: #4a2c5e;
  border: none;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  float: right;
  margin-top: 15px;
  box-shadow: 0 4px 12px rgba(244, 197, 66, 0.3);
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(244, 197, 66, 0.4);
}

/* RIGHT COLUMN - REVIEWS LIST */
.reviews-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-card {
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.review-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.review-header {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.reviewer-info {
  flex: 1;
}

.reviewer-name-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.reviewer-name {
  color: #333;
  font-weight: 700;
  font-size: 16px;
}

.verified-badge {
  width: 18px;
  height: 18px;
  fill: #667eea;
}

.reviewer-location {
  color: #888;
  font-size: 13px;
  margin-bottom: 8px;
}

.review-rating-date {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-stars .star {
  font-size: 16px;
}

.review-date {
  color: #999;
  font-size: 13px;
}

.review-text {
  color: #555;
  line-height: 1.6;
  font-size: 15px;
}

.review-text.faded {
  color: #ddd;
}

.see-more-btn {
  align-self: flex-start;
  background: transparent;
  border: none;
  color: #7a4a8f;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 15px 0;
  transition: color 0.3s ease;
}

.see-more-btn:hover {
  color: #5a2a6f;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .product-info-wrapper {
    grid-template-columns: 1fr;
  }

  .reviews-wrapper {
    grid-template-columns: 1fr;
  }

  .reviews-left {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .product-cards {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  /* Product Info Section */
  .product-info-wrapper {
    grid-template-columns: 1fr;
    padding: 20px 15px;
    gap: 30px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  /* Accordion adjustments */
  .accordion-header {
    padding: 14px 18px;
    font-size: 14px;
  }

  .accordion-body {
    padding: 15px;
    font-size: 14px;
  }

  /* Product Cards - Mobile */
  .product-cards {
    max-width: 100%;
  }

  .swiper,
  .swiper-freq {
    padding-bottom: 35px;
  }

  .card {
    border-radius: 16px;
  }
  .card-image-section {
    min-height: 200px;
    /* padding: 20px 15px; */
  }

  .card h4 {
    font-size: 24px;
    margin: 0px 0 5px;
    word-wrap: break-word;
    overflow: hidden;
  }
  .product-jar {
    max-width: 130px;
  }

  .discount-badge {
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    font-size: 12px;
  }

  /* .swiper-slide .card-details {
    flex: 1;
    padding: 25px;
  } */

  .card-title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .card-quantity {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .card-rating {
    font-size: 12px;
    gap: 4px;
    margin-bottom: 12px;
  }

  .star {
    font-size: 24px;
  }

  .card-price-section {
    gap: 8px;
    margin-bottom: 12px;
  }

  .card-current-price {
    font-size: 20px;
  }

  .card-original-price {
    font-size: 14px;
  }

  .card-action-buttons {
    gap: 8px;
  }

  .card-favorite-button {
    width: 45px;
    height: 45px;
  }

  .heart-icon {
    width: 20px;
    height: 20px;
  }

  .card-add-to-cart {
    padding: 12px 16px;
    font-size: 13px;
    border-radius: 22px;
  }

  /* Reviews Section - Mobile */
  .reviews-title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .reviews-wrapper {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .reviews-left {
    max-width: 100%;
    gap: 20px;
  }

  .rating-summary {
    padding: 20px;
    border-radius: 16px;
  }

  .overall-rating {
    flex-direction: row;
    gap: 20px;
    margin-bottom: 20px;
  }

  .rating-number {
    font-size: 56px;
  }

  .rating-meta p {
    font-size: 13px;
  }

  .rating-breakdown {
    gap: 10px;
  }

  .rating-row {
    gap: 8px;
  }

  .stars-display {
    min-width: 100px;
  }

  .stars-display .star {
    font-size: 16px;
  }

  .progress-bar {
    height: 6px;
  }

  .rating-count {
    font-size: 13px;
    min-width: 25px;
  }

  /* Write Review Button */
  .write-review-btn {
    padding: 15px 25px;
    font-size: 16px;
    border-radius: 40px;
  }

  /* Review Form - Mobile */
  .review-form {
    padding: 20px;
    border-radius: 16px;
  }

  .form-header {
    gap: 12px;
    margin-bottom: 15px;
  }

  .product-thumbnail {
    width: 60px;
    height: 60px;
  }

  .form-title-section h3 {
    font-size: 18px;
  }

  .form-title-section h4 {
    font-size: 16px;
  }

  .rating-input {
    margin: 15px 0;
  }

  .star-ratings {
    gap: 6px;
    font-size: 24px;
  }

  .review-textarea {
    min-height: 100px;
    padding: 2px;
    font-size: 13px;
  }

  .submit-btn {
    padding: 12px 30px;
    font-size: 14px;
    margin-top: 12px;
  }

  /* Review Cards - Mobile */
  .reviews-right {
    gap: 15px;
  }

  .review-card {
    padding: 18px;
    border-radius: 14px;
  }

  .review-header {
    gap: 12px;
    margin-bottom: 12px;
  }

  .reviewer-avatar {
    width: 45px;
    height: 45px;
  }

  .reviewer-name {
    font-size: 15px;
  }

  .verified-badge {
    width: 16px;
    height: 16px;
  }

  .reviewer-location {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .review-rating-date {
    gap: 10px;
  }

  .review-stars .star {
    font-size: 14px;
  }

  .review-date {
    font-size: 12px;
  }

  .review-text {
    font-size: 14px;
    line-height: 1.5;
  }

  .see-more-btn {
    font-size: 18px;
    padding: 12px 0;
  }
}

@media (max-width: 480px) {
  /* Extra small mobile adjustments */
  .product-info-wrapper {
    padding: 15px 10px;
    gap: 25px;
  }

  .section-title {
    font-size: 27px;
    font-weight: bold;
    text-transform: uppercase;
  }

  .combo-product-title,
  .side-title {
    font-size: 27px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 1px 0px 20px 3px;
  }

  .card-image-section {
    min-height: 180px;
  }

  .product-jar {
    max-width: 110px;
  }

  .card-title {
    font-size: 15px;
  }

  .card-current-price {
    font-size: 18px;
  }

  .card-favorite-button {
    width: 40px;
    height: 40px;
  }

  .heart-icon {
    width: 18px;
    height: 18px;
  }

  .card-add-to-cart {
    padding: 10px 14px;
    font-size: 12px;
  }

  /* Reviews */
  .reviews-title {
    font-size: 27px;
    margin-bottom: 20px;
    text-transform: uppercase;
  }

  .rating-meta {
    gap: 5px;
  }

  .rating-number {
    font-size: 48px;
  }

  .rating-summary {
    padding: 15px;
  }

  .overall-rating {
    gap: 15px;
  }

  .stars-display {
    min-width: 85px;
  }

  .stars-display .star {
    font-size: 14px;
  }

  .write-review-btn {
    padding: 14px 20px;
    font-size: 15px;
  }

  .review-form {
    padding: 15px;
  }

  .product-thumbnail {
    width: 50px;
    height: 50px;
  }

  .form-title-section h3 {
    font-size: 16px;
  }

  .form-title-section h4 {
    font-size: 15px;
  }

  .star-ratings {
    font-size: 22px;
    gap: 5px;
  }

  .reviews-container {
    margin: -40px 0px 0px 0px;
  }

  .review-card {
    padding: 15px;
  }

  .reviewer-avatar {
    width: 40px;
    height: 40px;
  }

  .reviewer-name {
    font-size: 14px;
  }

  .review-text {
    font-size: 13px;
  }
}

/* Single column layout for cards on mobile */
@media (max-width: 768px) {
  .swiper {
    overflow: visible;
  }

  .swiper-slide {
    width: 100% !important;
    max-width: 400px;
    margin: 0 auto;
  }

  .card-image-section::before {
    width: 100px;
    height: 100px;
  }

  .card-image-section::after {
    width: 80px;
    height: 80px;
  }

  .submit-btn {
    float: none;
    width: 100%;
    margin-top: 15px;
  }

  .product-cards {
    max-width: 100% !important;
    width: 100%;
  }

  .product-right,
  .product-left {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .swiper,
  .swiper-freq {
    width: 100%;
    overflow: hidden;
  }

  .card {
    max-width: 100%;
    width: 100%;
  }
}

.single-product .woocommerce-product-rating {
  display: none;
}

/* Testimonial Section */
.testimonial-section {
  padding: 13px 7px;
  text-align: center;
}

.testimonial-section .contents {
  max-width: 900px;
  margin: 0 auto 50px;
}

.combo-product-title,
.testimonial_header {
  font-size: 36px;
  font-weight: 700;
  color: #5c2e5c;
  margin: 34px 0px 71px 1px;
  line-height: 1.2;
  text-transform: uppercase !important;
}

.testimonial-section p {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  max-width: 800px;
  margin: 24px auto;
  text-align: left !important;
}

/* Reels Container - Desktop (Grid) */
.reels-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Reel Card */
.reel-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.reel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.reel-card iframe {
  width: 100%;
  height: 500px;
  display: block;
  border: none;
}

/* Mobile - Horizontal Scroll */
@media (max-width: 768px) {
  .combo-product-title,
  .testimonial_header {
    font-size: 27px;
    margin: 30px 0px -10px 1px;
  }

  .combo-product-title {
    font-size: 29px;
    margin: -6px 0px 15px 11px;
  }

  .testimonial-section p {
    font-size: 16px;
  }

  .reels-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 0 20px 20px 20px;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }

  /* Hide scrollbar for Chrome, Safari and Opera */
  .reels-container::-webkit-scrollbar {
    display: none;
  }

  .reel-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
  }

  .reel-card iframe {
    height: 400px;
  }
}

/* Tablet - 2 columns grid */
@media (min-width: 769px) and (max-width: 1024px) {
  .reels-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.single-product div.product .product_meta {
  display: none !important;
}

/* .single-product .stock.in-stock {
  all: unset;
  display: none !important;
} */

@media (max-width: 480px) {
  .twb-pack-cards {
    all: unset;
  }
}

/* Mobile & Tablet Layout (Scrollable) */
@media (max-width: 768px) {
  .woocommerce-product-details__short-description {
    padding: 8px;
    border-radius: 5px;
    margin: 10px 0px 0px 8px;
    width: 88vw;
    font-size: 18px;
  }
  .twb-pack-cards {
    display: flex;
    flex-wrap: nowrap; /* Prevents cards from dropping to a new line */
    overflow-x: auto; /* Enables horizontal scrolling */
    overflow-y: hidden; /* Prevents accidental vertical jitter */
    gap: 12px;
    padding: 10px 5px; /* Adds breathing room for shadows */
    width: 100%;
    max-width: 100vw;

    /* Smooth Snapping Effect */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  }

  .twb-pack-card {
    flex: 0 0 75%; /* Shows one card and a peek of the next one */
    min-width: 250px; /* Ensures cards don't get too skinny */
    scroll-snap-align: center;
  }

  /* Optional: Hide the scrollbar for a cleaner look */
  .twb-pack-cards::-webkit-scrollbar {
    display: none;
  }
  .twb-pack-cards {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }
}

/* Desktop Layout (Standard) */
@media (min-width: 769px) {
  .twb-pack-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
  }
}

/* Mobile Scroll Override */
@media (max-width: 480px) {
  .twb-pack-cards {
    /* "Deselecting" the wrap and center styles */
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;

    /* Enabling horizontal scroll */
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;

    /* Standardizing width and spacing */
    max-width: 84vw !important;
    padding: 15px 10px !important;
    gap: 12px !important;

    /* Smooth swiping experience */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  /* Ensuring individual cards don't shrink or stack */
  @media (max-width: 480px) {
    .twb-pack-cards .twb-pack-card {
      flex: 0 0 131px !important;
      min-width: 145px !important;
    }
  }
  /* Optional: Clean look by hiding scrollbar */
  .twb-pack-cards::-webkit-scrollbar {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .qty-btn {
    width: 23px !important;
    height: 40px;
    font-size: 18px;
  }
}

/* ===============================
   SWIPER CARD SLIDER FIX
   =============================== */

.swiper-slide .card {
  display: flex !important;
  flex-direction: column !important;
  width: 24vw !important; /* Fixed card width for vertical layout */
  height: auto !important;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e8e8e8;
}

.swiper-slide .card-image-section {
  width: 310px;
  flex-shrink: 0;
}

/* .swiper-slide .card-details {
  flex: 1;
  padding: 15px;
} */

/* ---- CUSTOM PAGINATION ---- */
.swiper-pagination {
  position: relative;
  margin-top: 20px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px;
}

.swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  background: #d4b5d8 !important;
  opacity: 1 !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.swiper-pagination-bullet:hover {
  background: #a366aa !important;
}

.swiper-pagination-bullet-active {
  width: 35px !important;
  height: 10px !important;
  background: #7b2b82 !important;
  border-radius: 20px !important;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 0px !important;
}

/* Swiper pagination responsive adjustments */
@media (max-width: 768px) {
  .woocommerce div.product .product_title {
    font-weight: 800;
    font-size: 27px !important;
    padding-left: 0px;
    margin: 0px;
  }
  .swiper-slide .card {
    display: flex !important;
    flex-direction: column !important;
    width: 83vw !important;
    height: auto !important;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8;
  }

  .swiper-slide .card-image-section {
    width: 72vw !important;
    flex-shrink: 0;
  }

  .swiper-pagination {
    margin-top: 15px !important;
    gap: 1px;
  }

  .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
  }

  .swiper-pagination-bullet-active {
    width: 28px !important;
    height: 8px !important;
  }
  .swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    bottom: 0px !important;
  }
}

.twb-badge-icon {
  display: none !important;
}

/* Fix cart order summary on mobile - MORE SPECIFIC! */
@media (max-width: 768px) {
  /* Main summary block */
  .wp-block-woocommerce-cart-order-summary-block {
    padding: 0 20px !important;
    margin: 0 !important;
  }

  /* The totals block inside */
  .wp-block-woocommerce-cart-order-summary-totals-block {
    padding: 15px 20px !important;
  }

  /* The wrapper with all the items */
  .wc-block-components-totals-wrapper {
    padding: 0 !important;
  }

  /* Each individual line (Add coupons, Free shipping, etc) */
  .wc-block-components-totals-item {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* The coupon form */
  .wp-block-woocommerce-cart-order-summary-coupon-form-block {
    padding: 15px 20px !important;
  }

  /* The shipping block */
  .wp-block-woocommerce-cart-order-summary-shipping-block {
    padding: 15px 0 !important;
  }

  /* Cart items */
  .wc-block-cart-items__row,
  .wc-block-cart-item__wrap {
    padding: 15px 20px !important;
  }

  /* Product name and price */
  .wc-block-components-product-name,
  .wc-block-cart-item__product {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* Override WooCommerce blocks flexbox with better mobile layout */

/* Keep flex on desktop but fix spacing */
@media (min-width: 1024px) {
  .wc-block-grid__products {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -15px 20px !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  .wc-block-grid__product {
    width: calc(25% - 30px) !important; /* 4 columns */
    margin: 0 15px 30px !important;
  }
}

/* Tablet - 2 columns */
@media (max-width: 1023px) and (min-width: 481px) {
  .wc-block-grid__products {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    padding: 0 15px !important;
    gap: 15px !important;
  }

  .wc-block-grid__product {
    width: calc(50% - 10px) !important; /* 2 columns */
    margin: 0 0 20px 0 !important;
  }
}

/* Mobile - 1 column stacked */
@media (max-width: 480px) {
  .wc-block-grid__products {
    display: block !important; /* Change from flex to block */
    margin: 0px 18px 100px !important;
    padding: 0 20px 20px !important;
    flex-wrap: nowrap !important;
  }

  .wc-block-grid__product {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 25px 0 !important;
    padding: 0 !important;
    display: block !important;
  }
}

/* Force vertical stacking on mobile */
@media (max-width: 768px) {
  .single-product div.product form.cart {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .single-product div.product form.cart .quantity {
    width: 100% !important;
    max-width: 30% !important;
    margin: 0 0 0px 0 !important;
  }

  .single-product div.product form.cart .single_add_to_cart_button,
  .single-product div.product form.cart .buy-now-button {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: block !important;
  }
}

/* ===============================
   SWIPER CARD SLIDER FIX - UPDATED
   =============================== */

/* Desktop Swiper */
@media (min-width: 769px) {
  .swiper-slide {
    /* width: 280px !important;  */
    height: auto !important;
  }

  .swiper-slide .card {
    display: flex !important;
    flex-direction: column !important;
    /* width: 280px !important; */
    height: 100% !important; /* Fill the slide height */
    background: #f5f0eb;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }

  .swiper-slide .card-image-section {
    width: 100% !important; /* Full card width */
    height: 280px !important; /* Fixed height for all images */
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f0eb;
  }

  .swiper-slide .card-image-section img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* Keep full image visible */
    object-position: center !important;
  }

  /* .swiper-slide .card-details {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
  } */
}
/* ===============================
   SWIPER CARD SLIDER - FIXED
   =============================== */

.product-cards.swiper {
  width: 100% !important;
  overflow: hidden !important;
  padding-bottom: 50px !important;
}

.product-cards .swiper-wrapper {
  display: flex !important;
  align-items: stretch !important;
}

/* Desktop */
@media (min-width: 1024px) {
  .swiper-slide {
    width: 100% !important; /* Fixed width */
    height: 100% !important;
  }
}

/* Mobile & Tablet */

/* Card styling - SAME FOR ALL SCREENS */
.swiper-slide .card {
  display: flex !important;
  flex-direction: column !important;
  width: auto !important;
  height: auto !important;
  background: #f5f0eb !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Image section - CONSISTENT HEIGHT */
.swiper-slide .card-image-section {
  width: 100% !important;
  height: 280px; /* Fixed height for all images */
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

/* Image styling */
.swiper-slide .card-image-section img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important; /* Show full image without cropping */
  object-position: center !important;
}

/* Card details */
.swiper-slide .card-details {
  flex: 1 !important;
  padding: 27px 19px 21px !important;
  display: flex !important;
  flex-direction: column !important;
  margin: 0px 12px;
}

/* Discount badge positioning */
.discount-badge {
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  z-index: 10 !important;
}

/* Pagination styling */
.swiper-pagination {
  position: relative !important;
  margin-top: 20px !important;
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
}

.swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  background: #d4b5d8 !important;
  opacity: 1 !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
  width: 35px !important;
  height: 10px !important;
  background: #7b2b82 !important;
  border-radius: 20px !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .product-cards.swiper {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .swiper-slide .card-image-section {
    height: 250px !important; /* Slightly shorter on mobile */
  }

  .swiper-slide .card-details {
    padding: 15px !important;
  }
  /* Position pagination below cards */
  .swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 0px !important;
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    gap: 0px !important;
  }

  .swiper-pagination {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 25px !important;
  }

  .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: #d4b5d8 !important;
    opacity: 1 !important;
    border-radius: 50% !important;
    margin: 0 4px !important;
  }

  .swiper-pagination-bullet:hover {
    background: #a366aa !important;
  }

  .swiper-pagination-bullet-active {
    width: 35px !important;
    height: 10px !important;
    background: #7b2b82 !important;
    border-radius: 20px !important;
  }
}
/* ===============================
   WOOCOMMERCE SUCCESS MESSAGE STYLING
   =============================== */

/* Message wrapper */
.woocommerce-notices-wrapper {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 400px;
  animation: slideInRight 0.4s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Success message box */
.woocommerce-message {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  color: white;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 15px;
  line-height: 1.5;
  border-left: 5px solid #2e7d32;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Add checkmark icon */
.woocommerce-message::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  flex-shrink: 0;
}

/* View cart button */
.woocommerce-message .button.wc-forward {
  background: white;
  color: #e6f337;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.woocommerce-message .button.wc-forward:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Error messages (if needed) */
.woocommerce-error {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
  color: white;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(244, 67, 54, 0.3);
  border-left: 5px solid #c62828;
}

.woocommerce-error::before {
  content: "✕";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  margin-right: 12px;
}

/* Info messages */
.woocommerce-info {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  color: white;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(33, 150, 243, 0.3);
  border-left: 5px solid #0d47a1;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .woocommerce-notices-wrapper {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    max-width: none;
    animation: slideInDown 0.4s ease-out;
  }

  @keyframes slideInDown {
    from {
      opacity: 0;
      transform: translateY(-50px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .woocommerce-message {
    padding: 16px 18px;
    font-size: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    border-radius: 10px;
  }

  .woocommerce-message::before {
    width: 25px;
    height: 25px;
    font-size: 16px;
  }

  .woocommerce-message .button.wc-forward {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }
}

/* Extra small mobile */
@media (max-width: 480px) {
  .woocommerce-notices-wrapper {
    top: 5px;
    left: 5px;
    right: 5px;
  }

  .woocommerce-message {
    padding: 14px 16px;
    font-size: 13px;
  }
}

/* Auto-dismiss after 5 seconds (optional) */
@keyframes slideOutRight {
  to {
    opacity: 0;
    transform: translateX(100px);
  }
}

.woocommerce-message.auto-dismiss {
  animation:
    slideInRight 0.4s ease-out,
    slideOutRight 0.4s ease-in 4.6s;
}

/* Purple theme version (to match your site colors) */
.woocommerce-message.purple-theme {
  background: linear-gradient(135deg, #7b2c7f 0%, #5a1f5e 100%);
  border-left-color: #430c41;
  box-shadow: 0 8px 24px rgba(123, 44, 127, 0.3);
}

.woocommerce-message.purple-theme .button.wc-forward {
  background: #ffc145;
  color: #430c41;
}

.woocommerce-message.purple-theme .button.wc-forward:hover {
  background: #ffd166;
}

/* ===============================
   FEATURED PRODUCTS - ONE CARD AT A TIME
   =============================== */

/* Featured Products - Force 1 slide on all screens */
.product-cards.swiper .swiper-slide {
  width: 100% !important;
  max-width: 500px !important;
  margin: 0 auto !important;
  flex-shrink: 0 !important;
}

.product-cards.swiper .swiper-slide .card {
  width: 314px !important;
  height: 100% !important;
}

/* Mobile - Featured Products */
@media (max-width: 767px) {
  .product-cards.swiper .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 20px !important;
  }
}

/* Tablet - Featured Products */
@media (min-width: 768px) and (max-width: 1023px) {
  .product-cards.swiper .swiper-slide {
    width: 100% !important;
    max-width: 450px !important;
  }
}

/* Desktop - Featured Products - STILL ONE CARD */
@media (min-width: 1024px) {
  .product-cards.swiper .swiper-slide {
    width: 100% !important;
    max-width: 354px !important;
  }
}

/* ===============================
   COMBO PRODUCTS - MULTIPLE CARDS
   =============================== */

/* Combo Products - Allow multiple slides */
.combo-product-cards.swiper .swiper-slide {
  width: auto !important;
  flex-shrink: 0 !important;
}

/* Mobile - Combo Products */
@media (max-width: 767px) {
  .combo-product-cards.swiper .swiper-slide {
    width: 90vw !important;
    max-width: 380px !important;
  }
}

/* Tablet - Combo Products - 2 cards */
@media (min-width: 768px) and (max-width: 1023px) {
  .combo-product-cards.swiper .swiper-slide {
    width: calc(50% - 15px) !important;
  }
}

/* Desktop - Combo Products - 3 cards */
@media (min-width: 1024px) {
  .combo-product-cards.swiper .swiper-slide {
    width: calc(33.333% - 20px) !important;
  }
}

/* Large Desktop - Combo Products - 4 cards */
@media (min-width: 1200px) {
  .combo-product-cards.swiper .swiper-slide {
    width: calc(25% - 25px) !important;
  }
}

/* Cards fill slides */
.swiper-slide .card {
  width: 90% !important;
  height: 90% !important;
}

/* ===============================
   FEATURED PRODUCTS - MOBILE FIX
   =============================== */

/* Mobile - Featured Products - ONE CARD CENTERED */
@media (max-width: 767px) {
  .product-cards.swiper {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  s .product-cards.swiper .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 20px !important;
  }

  .product-cards.swiper .swiper-slide .card {
    width: 100% !important; /* Fill the slide */
    height: 100% !important;
    max-width: none !important;
  }
}

/* Tablet - Featured Products */
@media (min-width: 768px) and (max-width: 1023px) {
  .product-cards.swiper .swiper-slide {
    width: 70vw !important;
    max-width: 450px !important;
  }

  .product-cards.swiper .swiper-slide .card {
    width: 100% !important;
    height: 100% !important;
  }
}

/* Desktop - Featured Products */
@media (min-width: 1024px) {
  .product-cards.swiper .swiper-slide {
    width: 50vw !important;
    max-width: 500px !important;
  }

  .product-cards.swiper .swiper-slide .card {
    width: 100% !important;
    height: 100% !important;
  }
}

@media (max-width: 767px) {
  .elementor-488 .elementor-element.elementor-element-f9b0b7c {
    margin-top: 27px !important;
  }

  .side-title,
  .reviews-title,
  .section-title,
  .combo-product-title,
  .testimonial_header {
    text-align: center;
    color: #7b2b82 !important;
  }
}

p.product-tagline {
  font-size: 13px;
  color: #919191;
}

/* Video Field On Single Page Start */
.video-grid-wrapper {
  width: 100%;
  max-width: 360px;
  margin-bottom: 55px;
  margin-top: 55px;
}

/* ── Card ── */
.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

/* ── Video element ── */
.video-card iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  transition: transform 0.4s ease;
  background: #111;
}

.video-card:active iframe {
  transform: scale(1.04);
}

/* ── Dark overlay ── */
.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  z-index: 1;
  border-radius: inherit;
  transition: background 0.3s ease;
  pointer-events: none; /* ← ADD THIS */
}

.video-card:active::before {
  background: rgba(0, 0, 0, 0.38);
}

/* ── Play / Pause button ── */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 54px;
  height: 54px;
  min-width: 44px;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition:
    opacity 0.25s ease,
    transform 0.2s ease;
}

/* Hide button while playing — tap to reveal pause */
.video-card.playing .play-btn {
  opacity: 0;
  pointer-events: none;
}
.video-card.playing:active .play-btn {
  opacity: 1 !important;
  pointer-events: auto;
}
.video-card:active .play-btn {
  -webkit-transform: translate(-50%, -50%) scale(0.92);
  transform: translate(-50%, -50%) scale(0.92);
}

.play-btn svg {
  width: 20px;
  height: 20px;
  fill: #111;
  pointer-events: none;
}

/* Toggle play/pause icons */
.icon-play {
  display: block;
  margin-left: 3px;
}
.icon-pause {
  display: none;
}
.video-card.playing .icon-play {
  display: none;
}
.video-card.playing .icon-pause {
  display: block;
}

/* ── Layout ── */
.top-card {
  height: clamp(160px, 48vw, 240px);
  margin-bottom: 10px;
}

.bottom-row {
  display: -webkit-flex;
  display: flex;
  gap: 10px;
}

.bottom-row .video-card {
  -webkit-flex: 1;
  flex: 1;
  height: clamp(220px, 65vw, 370px);
}

/* ── Fade-in on load ── */
.video-card {
  animation: fadeUp 0.45s ease both;
}
.top-card {
  animation-delay: 0s;
}
.bottom-row .video-card:nth-child(1) {
  animation-delay: 0.12s;
}
.bottom-row .video-card:nth-child(2) {
  animation-delay: 0.22s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(16px);
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

/* ── Ripple ── */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(0);
  animation: ripple-anim 0.5s linear;
  pointer-events: none;
  z-index: 3;
}
@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
/* Video Field On Single Page End */
