/* ---------------------------------------------------
   CUSTOM SINGLE PRODUCT PAGE DESIGN
--------------------------------------------------- */

.custom-product-bg {
    background-image: url('https://studioelzahr.com/wp-content/uploads/2025/10/897e7636d98458f49711aedefdc0afbeda03b472.png');
     background-repeat: no-repeat;
  background-size: cover;
   
    background-position: center;
    padding: 50px 0;
    display: flex;
    justify-content: center;
    position: relative; /* Add this */
    height: auto;
  }
  
  .custom-product-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-color: transparent;
    border-radius: 12px;
     max-width: 1100px;
    width: 100%;
    padding: 50px;
    gap: 40px;
    position: relative; /* Add this */
    z-index: 1;
  }
  

  
  /* LEFT SIDE */
  .custom-product-left {
    flex: 1 1 50%;
    width: 1200px;
    gap: 20px;
    flex-direction: column;
    align-items: center;
    position: relative; /* Add this */
    z-index: 2; /* Add this to keep it above other elements */
    top:100px;
  }
  .custom-thumbnails{
      width: 100px !important;
      height: 100px !important;
  }
  .custom-main-image {
    width: 100%; /* Add this */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .custom-main-image img {
    max-width: 90%;
    width: 500px !important; /* Add this for more control */
    
 
    object-fit: contain; /* Add this */
  }
  /* Thumbnail Gallery Specific Sizing */
.custom-product-left .flex-control-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.custom-product-left .flex-control-thumbs li {
    width: 100px !important;
    height: 100px !important;
    flex: 0 0 100px;
}

.custom-product-left .flex-control-thumbs li img {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover;
    border: 3px solid #000;
}

/* Make sure main image doesn't affect thumbnails */



.custom-product-left .woocommerce-product-gallery__image img {
    width: 500px !important;
    height: 500px !important;
}
  

  /* RIGHT SIDE */
  .custom-product-right {
    flex: 1 1 50%;
    text-align: left;
    color: #301934;
    width: 552px;
    height: 495px;
    background-color:#F6F4EF;
  
    padding: 40px;
    position: relative;
    
    /* Extend background to top and bottom */
    margin-top: 225px;
    margin-bottom: -100px;
    box-sizing: initial;
  }
  
  .custom-product-title {
    font-family: 'dawshah'!important;
    font-size: 160px;
    font-weight: 400;
    color: #5e1742;
    margin-bottom: 10px;
    text-align: right;
  }
  
  .custom-product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: left;
    }
  
  .custom-review-count {
    font-size: 20px;
    font-family: "2030";
    color: #253580;
    font-weight: 950;
  }
  
  .custom-product-desc {
    font-family: 'Rubik' !important ;
    font-size: 24px;
    line-height: 1.6;
    
    text-align: left;
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    color: #2d2d2d;
  }
  
  .custom-product-price {
    font-family: '2030';
    font-size: 48px;
    font-weight: 950;
    color: #E42980 !important;
    text-align: left;
    margin-bottom: 20px;
  }
  
  .custom-product-cart {
    text-align: right;
  }
  
  /* Custom Add to Cart Button */
  .custom-product-cart .single_add_to_cart_button {
    font-family: "2030" !important;
        background-color: #EA6D44 !important;
        border: 3px solid rgba(255, 255, 255, 0.3) !important; 
        color: #fff;
        width: 300px !important;
        height: 90px !important;
        padding: 12px 30px;
        border-radius: 999px !important;
        font-size: 32px !important;
        font-weight: 950 !important;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25) !important;
        margin-top: 10px;
        position: relative;
        overflow: hidden;
  }
  .custom-product-cart .single_add_to_cart_button::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 330px;
        height: 90px;
        background: rgba(255, 255, 255, 0.1);
        clip-path: path("M7,21 C152,50 262,24 336,22 L330,0 L0,0 Z");
        transform: scale(2);
        z-index: 1;
        pointer-events: none;
      }
  
  .custom-product-cart .single_add_to_cart_button:hover {
    background-color: #EA6D44 !important;
        transform: translateY(-2px);
  }
  
  /* Quantity Field */
  .custom-product-cart .quantity input[type=number] {
    width: 60px;
    border-radius: 6px;
    border: 1px solid #ccc;
    text-align: center;
    margin-right: 5px;
    height: 45px;
    font-size: 16px;
  }
  
  .custom-product-cart form.cart {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
  }
  /* =========================================================
     FONT IMPORTS & GLOBAL VARIABLES
     ========================================================= */
  @import url('https://fonts.googleapis.com/css2?family=2030&display=swap');
  
  :root {
      --primary-color: #253580;
      --secondary-color: #EA6D44;
      --tertiary-color: #E42980;
      --accent-color: #3B1E10;
      --background-color: #F6F4EF;
      --text-color: #253580;
  }
  
  /* =========================================================
     CUSTOM FONT FACE (LOCAL FONT)
     ========================================================= */
  @font-face {
      font-family: '2030';
      src: url('2030/Noir Typo - 2030 Extra Black.otf') format('woff');
      font-weight: normal;
      font-style: normal;
  }
  
  /* =========================================================
     BASE UTILITIES / RESETS
     ========================================================= */
  .font-2030 {
      font-family: "2030";
  }
  
  .font-rubik {
      font-family: "Rubik", sans-serif;
  }
  
  
 
  /* =========================================================
     SECTION 1: INSIDE BOX (What's Inside the Box?)
     ========================================================= */
  .inside-box {
      max-width: 1450px;
      margin: 0 auto;
      margin-top: 50px ;
  }
  
  .inside-box h2 {
      color: #1e2d91;
      font-size: 60px;
      font-weight: 950;
      margin-bottom: 10px;
  }
  
  .inside-box p {
      font-size: 28px;
      font-weight: 400;
      line-height: 150%;
      margin: 5px 0;
  }
  
  /* ---------------- ICON ROW ---------------- */
  .icon-row {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 36px;
      margin-top: 20px;
      font-family: "2030", sans-serif;
  }
  
  .icon-item {
      display: flex;
      align-items: center;
      gap: 8px;
  }
  
  .icon-item img {
      width: 53.25px;
      height: 65.08333587646484px;
      object-fit: contain;
  }
  
  .icon-item span {
      font-weight: 950;
      font-size: 28px;
  }
  
  /* ICON COLORS */
  .brown { color: #3B1E10; }
  .purple { color: #2f195f; }
  .orange { color: #f7802a; }
  .pink{color: #E42980;}
  
  /* =========================================================
     SECTION 2: DISCOVER SECTION (Dropdown lists)
     ========================================================= */
  .discover-section {
      max-width: 1450px;
      margin: 0 auto;
      color: #253580 !important;
      font-family: "2030", sans-serif !important;
      
      font-size: 28px;
      letter-spacing: 0%;
  }
  
  .discover-section h2 {
      color: #1e2d91;
      font-size: 1.8em;
      margin-bottom: 15px;
  }
  
  /* ---------------- DROPDOWN STYLES ---------------- */
  .dropdown-box {
      margin-bottom: 25px; /* spacing between dropdown boxes */
  }

  
  .dropdown-box summary {
      border: 3px solid #3B1E10;
      background: #F6F4EF;
      min-height: 36px;
      color: #EA6D44;
      font-weight: 950;
      font-size: 40px;
      padding: 16px 15px;
      cursor: pointer;
      border-radius: 8px;
      position: relative;
      list-style: none;
      
  }
  
  /* Hide default arrow */
  .dropdown-box summary::marker,
  .dropdown-box summary::-webkit-details-marker {
      display: none;
  }
  
  /* SVG arrow styling */
  .dropdown-box summary::after {
      content: "";
      position: absolute;
      right: 15px;
      top: 10px;
      width: 50px;           /* ⬆ Larger arrow */
      height: 50px;          /* ⬆ Larger arrow */
      background-image: url('https://studioelzahr.com/wp-content/uploads/2025/11/down.svg');
      background-size: contain;
      background-repeat: no-repeat;
      filter: invert(48%) sepia(100%) saturate(1090%) hue-rotate(360deg) brightness(100%) contrast(100%);
      /* above gives an orange tint — adjust as needed */
      transition: transform 0.2s ease;
  }
  
  /* Rotate it when open */
  .dropdown-box[open] summary::after {
      transform: rotate(180deg);
  }
  /* Dropdown Content */
  .dropdown-content {
      padding: 15px 25px;
      background: #fff;
  }
  
  .dropdown-content h3 {
      margin-bottom: 0px;
      margin-top: 10px;
      color: #3B1E10;
     
  }
  
  .dropdown-content ul {
      padding-left:10px;
  }
  
  .dropdown-content ul li {
      margin-bottom: 6px;
      color: var(--text-color);
  }
  
  /* =========================================================
     SECTION 3: HOW TO PLAY (Step Boxes)
     ========================================================= */
  .play-steps {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-top: 20px;
      justify-content: space-between;
  }
  
  .step {
     
      border: 3px solid currentColor;
      border-radius: 30px;
      text-align: center;
      background: #F6F4EF;
      width: 320px;
      height: 210px;
  }
  
  .step-number {
      font-size: 1.6em;
      width: 40px;
      height: 40px;
      margin: 0 auto 10px;
      border: 2px solid currentColor !important;
      border-radius: 50%;
      font-weight: bold;
      display: flex;
      margin-top: 20px ;
      align-items: center;
      justify-content: center;
  }
  .step:hover{
      transform: translateY(-2px);
  }
  
  .step h4 {
      font-weight: 900;
      margin-bottom: 5px;
      color:currentColor;
      font-size:28px;
  }
  
  .step p {
      font-family: "rubik";
      font-size: 28px;
      color: #253580;
      
  }
  
  /* =========================================================
     SECTION 4: RATE SECTION (Ratings and Bars)
     ========================================================= */
  .rate-section {
      max-width: 1450px;
      margin: 0 auto;
      color: #2f195f;
      line-height: 1.5em;
      font-family: "2030", sans-serif;
      font-weight: 950;
      font-size: 28px;
      letter-spacing: 0%;
  }
  
  .rate-section h2 {
      color: #1e2d91;
      font-weight: 950;
      font-size: 1.8em;
  }
  
  /* ---------------- RATING BOX ---------------- */
  
  .rating-wrapper {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 30px;
      margin: 0 auto;
  }
  .rating-container {
      width:900px ;
      height: 269px;
      background: white;
      border: 3px solid var(--primary-color);
      background-color: var(--background-color);
      border-radius: 10px;
      padding: 30px;
      display: flex;
      gap: 30px;
      align-items: center;
      box-sizing: initial;
  }
  
  /* Rating Summary Numbers */
  .rating-summary {
      text-align: center;
      min-width: 120px;
  }
  
  .rating-number {
      font-family: "dawshah" !important;
      font-size: 112px;
      font-weight: 400;
      color: var(--tertiary-color);
      margin-bottom: 8px;
  }
  
  .stars {
      color: var(--secondary-color);
      font-size: 24px;
      margin-bottom: 8px;
      letter-spacing: 2px;
  }
  
  .review-count {
      color: var(--primary-color);
      font-size: 14px;
      font-weight: 600;
  }
  
  /* Rating Bars */
  .rating-bars {
      flex: 1;
      position: relative;
  }
  
  
  .bar-row {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 8px;
  }
  
  .bar-label {
      font-size: 14px;
      font-weight: 600;
      color: var(--tertiary-color);
      width: 15px;
  }
  
  .bar-background {
      flex: 1;
      height: 16px;
      background: #e0e0e0;
      background: transparent;
      overflow: hidden;
      position: relative;
  }
  
  .bar-fill {
      height: 100%;
      background: #1e3a8a;
      border-radius: 0 10px 10px 0;
      transition: width 0.3s ease;
  }
  
  /* Gridlines Behind Bars */
  .chart-gridlines {
      position: absolute;
      top: 0;
      left: 25px;
      right: 0;
      bottom: 30px;
      display: flex;
      justify-content: space-between;
      pointer-events: none;
  }
  
  .gridline {
      width: 2px;
      height: 100%;
      background: repeating-linear-gradient(
          to bottom,
          var(--accent-color) 0,
          var(--accent-color) 4px,
          transparent 4px,
          transparent 8px
      );
  }
  
  /* X-axis Labels */
  .chart-labels {
      display: flex;
      justify-content: space-between;
      margin-top: 10px;
      padding-left: 25px;
      font-family: 'rubik', sans-serif;
      font-size: 14px;
      font-weight: 400;
      color: var(--accent-color);
  }
  /* Mascot Image Styling */
  .mascot-image {
      margin-left: 10px;
      display: flex;
      align-items: center;
  }
  
  .mascot-image img {
      max-height: 269px; /* Match the rating container height */
      width: auto;
      object-fit: contain;
  }
  
  /* Optional: Adjust for responsive */
  @media (max-width: 1200px) {
      .flx {
          flex-direction: column;
          align-items: center;
      }
      
      .mascot-image {
          margin-left: 0;
          margin-top: 30px;
      }
  }
  
  /* =========================================================
     SECTION 5: REVIEW CAROUSEL
     ========================================================= */
  .carousel-container {
      max-width: 1400px;
      margin: 0 auto;
      position: relative;
  }
  
  .carousel-wrapper {
      overflow: visible;
      position: relative;
      padding: 40px 0;
  }
  
  .carousel-track {
      display: flex;
      transition: transform 0.5s ease;
      align-items: center;
  }
  
  /* Review Card Styles */
  .review-card {
      min-width: 800px;
      max-width: 800px;
      margin: 0 20px;
      padding: 30px;
      background: white;
      border-radius: 8px;
      transition: all 0.5s ease;
      opacity: 0.3;
      transform: scale(0.9);
      filter: blur(2px);
  }
  
  .review-card.active {
      opacity: 1;
      transform: scale(1);
      filter: blur(0);
  }
  
  /* Review Header Info */
  .review-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 20px;
  }
  
  .reviewer-info {
      display: flex;
      align-items: center;
      gap: 12px;
  }
  
  .reviewer-avatar {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: #ddd;
      overflow: hidden;
  }
  
  .reviewer-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }
  
  .reviewer-details {
      display: flex;
      align-items: center;
      font-family: 'Rubik', sans-serif;
      font-weight: 400;
      gap: 8px;
  }
  
  .reviewer-name {
      color: #333;
  }
  
  .review-date {
      color: #666;
      font-size: 14px;
  }
  
  .review-stars {
      display: flex;
      gap: 4px;
  }
  
  .star {
      color: #ff6b35;
      font-size: 24px;
  }
  
  .review-text {
      color: #333;
      font-family: 'Rubik', sans-serif;
      font-weight: 400;
      line-height: 1.6;
      font-size: 15px;
      margin-bottom: 15px;
  }
  
  /* Read More Button */
  .read-more {
      color: #7c3aed;
      font-weight: 600;
      cursor: pointer;
      display: inline-block;
      text-decoration: none;
  }
  
  .read-more:hover {
      text-decoration: underline;
  }
  
  /* Carousel Buttons */
  .carousel-controls {
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      transform: translateY(-50%);
      pointer-events: none;
      padding: 0 20px;
  }
  
  .carousel-btn {
      background: var(--primary-color);
      border: none;
      cursor: pointer;
      padding: 15px;
      color: var(--secondary-color);
      border-radius: 50%;
      transition: all 0.3s;
      pointer-events: all;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  
  .carousel-btn:hover {
      background: #2d3748;
      transform: scale(1.1);
  }
  
  .carousel-btn:disabled {
      opacity: 0.3;
      cursor: not-allowed;
  }
  
  .carousel-btn:disabled:hover {
      transform: scale(1);
  }
  
  .carousel-btn svg {
      width: 24px;
      height: 24px;
      stroke: currentColor;
      stroke-width: 3;
      fill: none;
  }
  
  /* Carousel Dots Navigation */
  .carousel-dots {
      display: flex;
      gap: 8px;
      justify-content: center;
      margin-top: 30px;
      margin-bottom: 30px;
  }
  
  .dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #2d3748;
      cursor: pointer;
      transition: background 0.3s;
  }
  
  .dot.active {
      background: #ff6b35;
  }
  
  .dot:not(.active) {
      background: var(--primary-color);
  }
  
  
  /* =========================================================
     RESPONSIVE MEDIA QUERIES - SMALL RANGES
     ========================================================= */
  
  /* 1400px and below */
  @media (max-width: 1400px) {
    .inside-box, .discover-section, .rate-section {
      max-width: 1300px;
      padding: 0 20px;
    }
    
    .carousel-container {
      max-width: 1300px;
      padding: 0 20px;
    }
    
    .review-card {
      min-width: 750px;
      max-width: 750px;
    }
  }
  
  /* 1300px and below */
  @media (max-width: 1300px) {
    .custom-product-container {
      max-width: 1000px;
      padding: 40px;
      gap: 30px;
    }
    
    .inside-box, .discover-section, .rate-section {
      max-width: 1200px;
    }
    
    .rating-container {
      width: 850px;
    }
    
    .review-card {
      min-width: 700px;
      max-width: 700px;
    }
  }
  
  /* 1200px and below */
  @media (max-width: 1200px) {
    .custom-product-bg {
      height: auto;
      min-height: 800px;
    }
    
    .custom-product-container {
      max-width: 950px;
      padding: 35px;
      gap: 25px;
    }
    
    .custom-product-left {
      top: 170px;
    }
    
    .custom-product-right {
      width: 480px;
      height: 460px;
      padding: 35px;
      margin-top: 200px;
    }
    
    .custom-main-image img {
      width: 450px !important;
      height: 450px !important;
    }
    
    .custom-product-left .woocommerce-product-gallery,
    .custom-product-left .woocommerce-product-gallery__image {
      width: 450px;
    }
    
    .custom-product-title {
      font-size: 140px;
    }
    
    .inside-box, .discover-section, .rate-section {
      max-width: 1100px;
    }
    
    .rating-container {
      width: 800px;
      padding: 25px;
      gap: 25px;
    }
    
    .play-steps {
      gap: 15px;
      flex-wrap: nowrap ;
    }
    
    .step {
      width: 300px;
      height: 200px;
    }
    
    .review-card {
      min-width: 650px;
      max-width: 650px;
    }
  }
  
  /* 1100px and below */
  @media (max-width: 1100px) {
    .custom-product-container {
      max-width: 900px;
      padding: 30px;
      gap: 20px;
    }
    
    .custom-product-right {
      width: 430px;
      height: 430px;
      padding: 30px;
      margin-top: 180px;
    }
    
    .custom-main-image img {
      width: 400px !important;
      height: 400px !important;
    }
    
    .custom-product-left .woocommerce-product-gallery,
    .custom-product-left .woocommerce-product-gallery__image {
      width: 400px;
    }
    
    .custom-product-title {
      font-size: 120px;
    }
    
    .custom-product-desc {
      font-size: 22px;
    }
    
    .custom-product-price {
      font-size: 42px;
    }
    
    .inside-box h2 {
      font-size: 54px;
    }
    
    .inside-box p {
      font-size: 26px;
    }
    
    .icon-item span {
      font-size: 26px;
    }
    
    .dropdown-box summary {
      font-size: 36px;
    }
    
    .rating-container {
      width: 750px;
      height: 250px;
      padding: 20px;
      gap: 20px;
    }
    
    .rating-number {
      font-size: 100px;
    }
    
    .review-card {
      min-width: 600px;
      max-width: 600px;
    }
  }
  
  /* 1000px and below */
  @media (max-width: 1000px) {
    .custom-product-container {
      max-width: 850px;
      padding: 25px;
    }
    
    .custom-product-right {
      width: 400px;
      height: 400px;
      padding: 25px;
      margin-top: 160px;
    }
    
    .custom-main-image img {
      width: 370px !important;
      height: 370px !important;
    }
    
    .custom-product-left .woocommerce-product-gallery,
    .custom-product-left .woocommerce-product-gallery__image {
      width: 370px;
    }
    
    .custom-product-title {
      font-size: 110px;
    }
    
    .custom-product-desc {
      font-size: 20px;
      max-width: 450px;
    }
    
    .custom-product-cart .single_add_to_cart_button {
      width: 280px !important;
      height: 85px !important;
      font-size: 30px !important;
    }
    
    .custom-product-cart .single_add_to_cart_button::before {
      width: 310px;
      height: 85px;
    }
    
    .inside-box, .discover-section, .rate-section {
      max-width: 950px;
    }
    
    .rating-container {
      width: 700px;
      height: 240px;
    }
    
    .rating-number {
      font-size: 90px;
    }
    
    .play-steps {
      justify-content: center;
    }
    
    .step {
      width: 280px;
      height: 190px;
    }
    
    .step p {
      font-size: 26px;
    }
    
    .review-card {
      min-width: 550px;
      max-width: 550px;
      padding: 25px;
    }
  }
  
  /* 900px and below */
  @media (max-width: 900px) {
    .custom-product-bg {
      padding: 40px 0;
    }
    
    .custom-product-container {
      flex-direction: column;
      align-items: center;
      max-width: 800px;
      padding: 30px 20px;
      gap: 30px;
    }
    
    .custom-product-left {
      top: 0;
      width: 100%;
    }
    
    .custom-product-right {
      width: 100%;
      max-width: 600px;
      height: auto;
      margin-top: 0;
      margin-bottom: 0;
      padding: 35px;
    }
    
    .custom-main-image img {
      width: 100% !important;
      max-width: 400px !important;
      height: auto !important;
    }
    
    .custom-product-left .woocommerce-product-gallery,
    .custom-product-left .woocommerce-product-gallery__image {
      width: 100%;
      max-width: 400px;
    }
    
    .custom-product-title {
      font-size: 90px;
      text-align: center;
    }
    
    .custom-product-rating,
    .custom-product-desc,
    .custom-product-price {
      text-align: center;
    }
    
    .custom-product-desc {
      max-width: 100%;
      margin-left: 0;
      margin-right: 0;
    }
    
    .custom-product-cart {
      text-align: center;
    }
    
    .custom-product-cart form.cart {
      justify-content: center;
    }
    
    .inside-box, .discover-section, .rate-section {
      max-width: 850px;
      padding: 0 20px;
    }
    
    .inside-box h2 {
      font-size: 48px;
    }
    
    .inside-box p {
      font-size: 24px;
    }
    
    .icon-row {
      gap: 24px;
    }
    
    .icon-item span {
      font-size: 24px;
    }
    
    .dropdown-box summary {
      font-size: 32px;
      padding: 8px 12px;
    }
    
    .rating-wrapper {
      flex-direction: column;
      gap: 20px;
    }
    
    .rating-container {
      width: 100%;
      max-width: 650px;
      height: auto;
      
      padding: 25px;
    }
    
    .mascot-image {
      margin-left: 0;
      margin-top: 20px;
    }
    
    .mascot-image img {
      max-height: 200px;
    }
    
    .play-steps {
      justify-content: center;
    }
    
    .review-card {
      min-width: 500px;
      max-width: 500px;
    }
  }
  
  /* 800px and below */
  @media (max-width: 800px) {
    .custom-product-title {
      font-size: 75px;
    }
    
    .custom-product-desc {
      font-size: 18px;
    }
    
    .custom-product-price {
      font-size: 36px;
    }
    
    .custom-product-cart .single_add_to_cart_button {
      width: 250px !important;
      height: 75px !important;
      font-size: 26px !important;
    }
    
    .custom-product-cart .single_add_to_cart_button::before {
      width: 280px;
      height: 75px;
    }
    
    .inside-box h2 {
      font-size: 42px;
    }
    
    .inside-box p {
      font-size: 22px;
    }
    
    .icon-item span {
      font-size: 22px;
    }
    
    .icon-item img {
      width: 48px;
      height: 58px;
    }
    
    .dropdown-box summary {
      font-size: 28px;
    }
    
    .step {
      width: 260px;
      height: 180px;
    }
    
    .step p {
      font-size: 24px;
    }
    
    .rating-number {
      font-size: 80px;
    }
    
    .review-card {
      min-width: 450px;
      max-width: 450px;
    }
  }
  /* ===== Fix carousel sizing on mobile ===== */
/* ===== FINAL MOBILE CAROUSEL FIX ===== */
@media (max-width: 768px) {
 

  .carousel-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .carousel-track {
    display: flex;
    gap: 16px;
    width: max-content;
    transform: none !important;
    transition: none;
  }

  .review-card {
    flex: 0 0 85%;
    max-width: 85%;
    scroll-snap-align: center;
    opacity: 1;
    transform: scale(1);
    filter: none;
  }

  /* optional UI clean up */
  .carousel-controls {
    display: none;
  }
}
  /* 700px and below */
  @media (max-width: 700px) {
    .custom-product-container {
      padding: 20px 15px;
    }
    
    .custom-product-right {
      padding: 0px;
    }
    
    .custom-product-title {
      font-size: 60px;
    }
    
    .custom-product-desc {
      font-size: 16px;
    }
    
    .custom-product-price {
      font-size: 32px;
    }
    
    .inside-box h2 {
      font-size: 38px;
    }
    
    .inside-box p {
      font-size: 20px;
    }
    
    .icon-row {
      gap: 18px;
    }
    
    .icon-item span {
      font-size: 20px;
    }
    
    .icon-item img {
      width: 42px;
      height: 52px;
    }
    
    .dropdown-box summary {
      font-size: 24px;
      min-height: 40px;
      padding: 6px 10px;
    }
    
    .dropdown-box summary::after {
      width: 40px;
      height: 40px;
      right: 10px;
      top: 6px;
    }
    
    .discover-section {
      font-size: 24px;
    }
    
    .step {
      width: 100%;
      max-width: 280px;
      height: 170px;
    }
    
    .step p {
      font-size: 22px;
    }
    
    .rate-section {
      font-size: 24px;
    }
    
    .rating-container {
      padding: 20px;
    }
    
    .rating-number {
      font-size: 70px;
    }
    
    .stars {
      font-size: 20px;
    }
    
    .review-card {
      min-width: 400px;
      max-width: 400px;
      padding: 20px;
    }
    
    .carousel-controls {
      padding: 0 10px;
    }
    
    .carousel-btn {
      width: 40px;
      height: 40px;
      padding: 10px;
    }
  }
  
  /* 600px and below */
  @media (max-width: 600px) {
    .custom-product-bg {
      padding: 30px 0;
    }
    
    .custom-product-container {
      padding: 20px 10px;
      gap: 20px;
    }
    
    .custom-product-right {
      padding: 0px;
    }
    
    .custom-product-title {
      font-size: 50px;
    }
    
    .custom-product-desc {
      font-size: 15px;
    }
    
    .custom-product-price {
      font-size: 28px;
    }
    
    .custom-product-cart .single_add_to_cart_button {
      width: 220px !important;
      height: 70px !important;
      font-size: 24px !important;
    }
    
    .custom-product-cart .single_add_to_cart_button::before {
      width: 250px;
      height: 70px;
    }
    
    .custom-thumbnails .thumb-item img {
      width: 60px;
      height: 60px;
    }
    
    .inside-box {
      margin-top: 30px;
    }
    
    .inside-box h2 {
      font-size: 34px;
    }
    
    .inside-box p {
      font-size: 18px;
    }
    
    .icon-row {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
    }
    
    .icon-item span {
      font-size: 18px;
    }
    
    .dropdown-box summary {
      font-size: 22px;
    }
    
    .dropdown-content {
      padding: 12px 18px;
    }
    
    .dropdown-content h3 {
      font-size: 22px;
    }
    
    .play-steps {
      flex-direction: column;
      align-items: center;
      gap: 15px;
    }
    
    .step {
      width: 100%;
      max-width: 100%;
    }
    
    .rating-container {
      padding: 15px;
      gap: 15px;
    }
    
    .rating-number {
      font-size: 60px;
    }
    
    .stars {
      font-size: 18px;
    }
    
    .review-count {
      font-size: 12px;
    }
    
    .bar-label {
      font-size: 12px;
    }
    
    .mascot-image img {
      max-height: 150px;
    }
    
    .review-card {
      min-width: 350px;
      max-width: 350px;
      margin: 0 10px;
    }
    
    .review-text {
      font-size: 14px;
    }
  }
  
  /* 500px and below */
  @media (max-width: 500px) {
    .custom-product-title {
      font-size: 42px;
    }
    
    .custom-product-desc {
      font-size: 14px;
    }
    
    .custom-product-price {
      font-size: 24px;
    }
    
    .custom-product-cart .single_add_to_cart_button {
      width: 200px !important;
      height: 65px !important;
      font-size: 22px !important;
    }
    
    .custom-product-cart .single_add_to_cart_button::before {
      width: 230px;
      height: 65px;
    }
    
    .inside-box h2 {
      font-size: 30px;
    }
    
    .inside-box p {
      font-size: 16px;
    }
    
    .icon-item span {
      font-size: 16px;
    }
    
    .icon-item img {
      width: 38px;
      height: 46px;
    }
    
    .dropdown-box summary {
      font-size: 20px;
      padding: 5px 8px;
    }
    
    .dropdown-box summary::after {
      width: 35px;
      height: 35px;
    }
    
    .discover-section {
      font-size: 20px;
    }
    
    .step {
      height: 160px;
    }
    
    .step p {
      font-size: 20px;
    }
    
    .rate-section {
      font-size: 20px;
    }
    
    .rating-number {
      font-size: 50px;
    }
    
    .stars {
      font-size: 16px;
    }
    
    .review-card {
      min-width: 300px;
      max-width: 300px;
      padding: 15px;
    }
    
    .reviewer-avatar {
      width: 40px;
      height: 40px;
    }
    
    .reviewer-name {
      font-size: 14px;
    }
    
    .review-date {
      font-size: 12px;
    }
    
    .star {
      font-size: 20px;
    }
  }
  
  /* 480px and below */
  @media (max-width: 480px) {
    .custom-product-bg {
      padding: 0px 0;
    }
    
    .custom-product-container {
      padding: 0px 8px;
      margin-top: 30px;
    }
    .woocommerce-js div.product div.images .woocommerce-product-gallery__wrapper .zoomImg {
    background-color:transparent !important;
}
.custom-product-left .woocommerce-product-gallery__image img {
    max-width: 375px !important;
    height: 300px !important;
}
.custom-main-image img {
      max-width: 95% !important;
}
.woocommerce-js div.product div.images .woocommerce-product-gallery__trigger {
    display: none !important;
}
    .custom-product-left {
        top: 0;
        width: 390px;
        left: 0px;
    }
    .custom-product-right {
      padding: 0px;
    }
    
    .custom-product-title {
      font-size: 100px;
    }
   
    
    .custom-product-desc {
      font-size: 25px;
    }
    .custom-product-rating {
        justify-content: center;
    }
    .custom-product-price {
      font-size: 22px;
    }
    
    .custom-product-cart .single_add_to_cart_button {
      width: 210px !important;
      height: 60px !important;
      font-size: 20px !important;
    }
    
    .custom-product-cart .single_add_to_cart_button::before {
      width: 210px;
      height: 60px;
    }
    
    .custom-thumbnails {
      gap: 8px;
      margin-top: 15px;
    }
    
    .custom-thumbnails .thumb-item img {
      width: 50px;
      height: 50px;
    }
    
    .inside-box {
      margin-top: 20px;
      padding: 0 15px;
    }
    
    .inside-box h2 {
      font-size: 31px;
    }
    
    .inside-box p {
      font-size: 16px;
    }
    
    .icon-item span {
      font-size: 20px;
      font-weight: 650;
    }
    
    .icon-item img {
      width: 45px;
      height: 43px;
    }
    
    .discover-section {
      padding: 0 15px;
    }
    
    .dropdown-box summary {
      font-size: 24px;
      min-height: 28px;
      padding: 10px;
    }
    
    .dropdown-content {
      padding: 10px 10px;
    }
    dropdown-content p {
        font-size: 18px;
    }
    
    .dropdown-content h3 {
      font-size: 27px;
    }
    .dropdown-content h4 {
      font-size: 26px;
    }
    
    .step {
      height: 150px;
      padding: 0px;
    }
    
    .step-number {
      width: 35px;
      height: 35px;
      font-size: 1.4em;
    }
    
    .step p {
      font-size: 18px;
    }
    
    .rate-section {
      padding: 0 15px;
    }
    
    .rating-container {
      padding: 12px;
      gap: 12px;
      flex-direction: ROW;
    }
    
    .rating-number {
      font-size: 45px;
    }
    
    .stars {
      font-size: 14px;
    }
    
    .review-count {
      font-size: 11px;
    }
    
    .bar-label {
      font-size: 11px;
      width: 12px;
    }
    
    .bar-background {
      height: 14px;
    }
    
    .mascot-image img {
      max-height: 120px;
    }
    
    .review-card {
      min-width: 280px;
      max-width: 280px;
      padding: 12px;
    }
    
    .review-text {
      font-size: 13px;
    }
    
    .carousel-btn {
      width: 35px;
      height: 35px;
      padding: 8px;
    }
    
    .carousel-btn svg {
      width: 20px;
      height: 20px;
    }
    
    .dot {
      width: 10px;
      height: 10px;
    }
  }
  
  /* 400px and below */
  @media (max-width: 400px) {
    .custom-product-bg {
      padding: 0px 0;
    }
    
    .custom-product-container {
      padding: 0px 8px;
      margin-top: 30px;
    }
    .woocommerce-js div.product div.images .woocommerce-product-gallery__wrapper .zoomImg {
    background-color:transparent !important;
}
.custom-product-left .woocommerce-product-gallery__image img {
    width: 380px !important;
    height: 300px !important;
}
.woocommerce-js div.product div.images .woocommerce-product-gallery__trigger {
    display: none !important;
}
    .custom-product-left {
        top: 0;
        width: 100%;
        left: 0px;
    }
    .custom-product-right {
      padding: 0px;
    }
    
    .custom-product-title {
      font-size: 100px;
    }
   
    
    .custom-product-desc {
      font-size: 25px;
    }
    .custom-product-rating {
        justify-content: center;
    }
    .custom-product-price {
      font-size: 22px;
    }
    
    .custom-product-cart .single_add_to_cart_button {
      width: 210px !important;
      height: 60px !important;
      font-size: 20px !important;
    }
    
    .custom-product-cart .single_add_to_cart_button::before {
      width: 210px;
      height: 60px;
    }
    
    .custom-thumbnails {
      gap: 8px;
      margin-top: 15px;
    }
    
    .custom-thumbnails .thumb-item img {
      width: 50px;
      height: 50px;
    }
    
    .inside-box {
      margin-top: 20px;
      padding: 0 15px;
    }
    
    .inside-box h2 {
      font-size: 31px;
    }
    
    .inside-box p {
      font-size: 16px;
    }
    
    .icon-item span {
      font-size: 20px;
      font-weight: 650;
    }
    
    .icon-item img {
      width: 43px;
      height: 43px;
    }
    
    .discover-section {
      padding: 0 15px;
    }
    
    .dropdown-box summary {
      font-size: 24px;
      min-height: 28px;
      padding: 10px;
    }
    
    .dropdown-content {
      padding: 10px 10px;
    }
    dropdown-content p {
        font-size: 18px;
    }
    
    .dropdown-content h3 {
      font-size: 27px;
    }
    .dropdown-content h4 {
      font-size: 26px;
    }
    
    .step {
      height: 150px;
      padding: 0px;
    }
    
    .step-number {
      width: 35px;
      height: 35px;
      font-size: 1.4em;
    }
    
    .step p {
      font-size: 18px;
    }
    
    .rate-section {
      padding: 0 15px;
    }
    
    .rating-container {
      padding: 12px;
      gap: 12px;
      flex-direction: ROW;
    }
    
    .rating-number {
      font-size: 45px;
    }
    
    .stars {
      font-size: 14px;
    }
    
    .review-count {
      font-size: 11px;
    }
    
    .bar-label {
      font-size: 11px;
      width: 12px;
    }
    
    .bar-background {
      height: 14px;
    }
    
    .mascot-image img {
      max-height: 120px;
    }
    
    .review-card {
      min-width: 280px;
      max-width: 280px;
      padding: 12px;
    }
    
    .review-text {
      font-size: 13px;
    }
    
    .carousel-btn {
      width: 35px;
      height: 35px;
      padding: 8px;
    }
    
    .carousel-btn svg {
      width: 20px;
      height: 20px;
    }
    
    .dot {
      width: 10px;
      height: 10px;
    }
  }
  /* Add these rules at the VERY END of your CSS file */
@media (max-width: 480px) {
  /* Force everything to respect viewport width */
 
  
  .custom-product-bg {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  
  .custom-product-container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
  }
  
  .custom-product-right {
    width: 100% !important;
    max-width: calc(100vw - 30px) !important;
    padding: 15px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  
  .custom-product-left {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    padding: 0 !important;
  }
  
  /* Fix the button */
  .custom-product-cart .single_add_to_cart_button {
    max-width: 100% !important;
  }
  
  .custom-product-cart .single_add_to_cart_button::before {
    max-width: 100% !important;
  }
  
  /* Fix title overflow */
  .custom-product-title {
    max-width: 100% !important;
    overflow: hidden !important;
    word-break: break-word !important;
  }
  
  /* Fix form */
  .custom-product-cart form.cart {
    max-width: 100% !important;
  }
}