@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

:root {
    --border: #2a2a2a;
    --price: #e74c3c;
    --accent: #27ae60;
    --btn-blue: #3498db;
    --btn-blue-hover: #2980b9;
    --accent-hover: #229954;
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.15);
    --gradient-blue: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-green: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    /* background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); */
    margin: 0;
    /* padding: 30px 20px; */
    line-height: 1.6;
    min-height: 100vh;

}

.header-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    margin-top: 10%;
}

/* product */

/* .product-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 12px 0;
}
.product-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0 0 16px 0;
    font-weight: 400;
}
.product-offer {
    display: inline-block;
    background: var(--gradient-green);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: var(--shadow-medium);
    animation: pulse 2s infinite;
} */

/* @keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
} */

.breadcrumb {
    background: transparent;
    font-size: 14px;
    margin-bottom: 1px;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: #999;
}
.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}

/* 1st section */
.product-section {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 1px;

    margin-bottom: 20px;
}

/* left image section */
.left {
  position: sticky;
  top: 0px;
  align-self: flex-start;
}

.product-section .left {
    flex: 1;
    position: sticky;
    top: 10px;
    align-self: flex-start;
    height: 100%;
}

.main-image-container {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.main-image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
}

.main-image-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.main-image img {
    width: 100%;
    height: auto;
    /* height: 100%; */
    display: block;
    border-radius: 8px;
    transition: var(--transition);
}
.main-image img:hover {
    transform: scale(1.02);
}

.active-thumb {
    /* border: 2px solid #007bff !important; */
}
.thumbnail-slider::-webkit-scrollbar {
    height: 6px;
}
.thumbnail-slider::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}
.thumb-arrow {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thumb-container {
    transition: scroll 0.3s ease;
}
/* LEFT - main product end*/

/* RIGHT - product list */
 .product-details-scroll {
  /* height: 500px; */
  height: 100%;
  overflow: auto;
  scroll-behavior: smooth;
  padding-right: 10px;
  padding-top: 40px;
}
.zoom-preview {
    width: 100%;
    height: 550px;
    background-repeat: no-repeat;
    background-size: 150%; /* Controls zoom level */
    border: 2px solid #ddd;
    border-radius: 10px;
    display: none;
    background-position: center;
    transition: background-position 0.1s ease;
}

 /* Hide scrollbar but keep scroll functionality */
.product-details-scroll::-webkit-scrollbar {
  width: 6px;
}
.product-details-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
.product-details-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.product-details-scroll h3{
    font-size: 26px;
    font-weight: 700;
    color: rgb(47, 39, 37);
    line-height: 33px;
}
.product-details-scroll li{
    font-size: 13px;
    font-weight: 500;
    line-height: 17px;
    margin-top: 8px;
}

.checkout-section {
    background: #fff;
    z-index: 5;
    padding-top: 10px;
}

.product-section .right {
    flex: 1;
    align-self: flex-start;
    position: sticky;
    top: 98px; 
    height: fit-content; /* allow full scroll */
}

/* Product rows */
.printer3d-content {
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  padding-top: 3px;
  scroll-behavior: smooth;
}
.printer3d-content::-webkit-scrollbar {
  width: 6px;
}
.printer3d-content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
.printer3d-content::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.product-row {
    display: grid;
    grid-template-columns: 90px 100px 1fr 80px 100px;
    align-items: center;
    gap: 15px;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}
.product-row::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s;
}
.product-row:hover::before {
    left: 100%;
}
.product-row:hover {
    /* transform: translateY(-3px); */
    box-shadow: var(--shadow-medium);
    border-color: var(--btn-blue);
}
.product-row.active {
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.2);
    transform: translateY(-3px);
    background: linear-gradient(135deg, #ffffff 0%, #f8fff9 100%);
}
.product-row .thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}
.product-row .thumb img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--transition);
}
/* .product-row:hover .thumb img {
    transform: scale(1.1);
} */
.product-row .info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.product-row .title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 18px;
    margin: 0;
}
.product-row .size, .weight {
    font-weight: 550;
    color: var(--text-primary);
    font-size: 16px;
}
.product-row .specs {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}
.product-row .price-container {
    text-align: right;
}
.product-row .price {
    color: var(--price);
    font-weight: 800;
    font-size: 20px;
    margin: 0;
}
.product-row .original-price {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: line-through;
    margin: 0;
}
.price {
    font-size: 1.8rem;
    color: #0071ce;
    font-weight: bold;
}
.old-price {
    text-decoration: line-through;
    color: gray;
    margin-left: 10px;
}
.img-thumbnail {
    height: 105px;
    /* width: 100px !important; */
    width: 120px !important;
    object-fit: cover;
    cursor: pointer;
}
.save {
    color: red;
    font-weight: bold;
    margin-left: 10px;
}

.feature-box {
        display: flex;
    /* align-items: center; */
    gap: 10px;
    font-size: 0.8rem;
}

.option-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.option-box:hover {
    border-color: #0071ce;
}

.secure-checkout img {
    height: 30px;
    margin-right: 8px;
}
/* Product rows end*/

/* Enhanced toolbar */
.toolbar {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-medium);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
}

.toolbar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qty-label {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
}
.qty-controls {
    display: flex;
    align-items: center;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    transition: var(--transition);
}
.qty-controls:focus-within {
    border-color: var(--btn-blue);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}
.qty-controls button {
    background: #f8fafc;
    border: 0;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}
.qty-controls button:hover {
    background: var(--btn-blue);
    color: white;
}
.qty-controls input {
    width: 60px;
    text-align: center;
    border: 0;
    padding: 12px 8px;
    font-weight: 600;
    font-size: 16px;
    background: white;
}
/* Enhanced toolbar end*/

/* Wishlist button */
.wishlist-btn {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid #e1e8ed;
    background: white;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}
.wishlist-btn:hover {
    border-color: #e74c3c;
    color: #e74c3c;
    transform: translateY(-2px);
}
.wishlist-btn.active {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}
.wishlist-btn .heart {
    font-size: 18px;
    transition: var(--transition);
}
.wishlist-btn:hover .heart {
    transform: scale(1.2);
}
/* Wishlist button end*/

/* Add to cart button */
.cart-btn {
    padding: 12px 24px;
    background: var(--btn-blue);
    color: white;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}
.cart-btn:hover {
    background: var(--btn-blue-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}
/* Add to cart button end*/

/* Order Now button - enhanced */
.order-now {
    margin-top: 10px;
}
.order-now button {
    width: 100%;
    background: var(--gradient-green);
    border: 0;
    color: white;
    padding: 18px 24px;
    font-weight: 800;
    font-size: 18px;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}
.order-now button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}
.order-now button:hover::before {
    left: 100%;
}
.order-now button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.last-para{
    margin-top: 10%;
}
/* Order Now button end */
/* Product rows end*/

/* responsive */

/* Tablets (≤ 992px) */
@media (max-width: 992px) {
  .product-section {
    /* flex-direction: column; */
    height: auto;
  }

  .product-section .left,
  .product-section .right {
    position: static;
    width: 100%;
  }
  .feature-icon{
    flex-direction: column !important;
    gap: 10px;
    text-align: left !important;
    align-items: flex-start !important;
  }

  .product-details-scroll {
    height: 500px;
    max-height: none;
    overflow: visible;
  }
  .product-details-scroll h3{
    font-size: 20px;
    font-weight: 700;
    color: rgb(47, 39, 37);
    line-height: 22px;
} 

  .checkout-section {
    position: relative;
    bottom: 0;
  }

  .main-image img {
    max-height: 350px;
  }

  .thumbnail-slider {
    justify-content: center;
  }

  /* .feature-box {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.85rem;
  } */

  .product-row {
    grid-template-columns: 70px 80px 1fr 60px 80px;
    padding: 12px;
  }

  .product-row .title{
    font-size: 13px;
  }
  .product-row .size{
    font-size: 13px;
  }
  .product-row .weight{
    font-size: 13px;
  }
  .product-row .price{
    font-size: 14px;
  }

  .last-para{
    margin-top: 25px;
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  .product-section {
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
  }

  .main-image {
    margin-bottom: 15px;
  }

  .breadcrumb li{
    margin-top: 70px !important;
    margin-bottom: -20px;
    font-size: 12px;
  }

  /* .feature-box {
    flex: 1 1 45%;
    font-size: 0.8rem;
  } */
   .feature-box {
    flex-direction: column;
    /* align-items: center; */
    width: 100%;
    font-size: 0.95rem;
  }

  .product-details-scroll h3{
    font-size: 18px !important;
  }

  .checkout-section {
    padding: 10px;
  }

  /* FIRST ROW — qty & wishlist */
  .checkout-section .d-flex.align-items-center {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
  }

  /* Group qty controls together inline */
  #qty-minus, #qty-input, #qty-plus {
    flex: 0 0 auto;
    width: auto !important;
    height: 40px;
    font-size: 15px;
    padding: 0 10px;
  }

  #qty-input {
    width: 60px !important;
    text-align: center;
  }

  /* Wishlist takes the remaining width on the same line */
  #wishlist {
    flex: 1 1 auto;
    min-width: 120px;
    height: 40px;
    font-size: 15px;
  }

  /* SECOND ROW — Add to Cart + Order Now */
  .checkout-section .d-flex.gap-2.mt-3 {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
  }

  .checkout-section .d-flex.gap-2.mt-3 button {
    flex: 1 1 48%;
    font-size: 16px;
    padding: 12px 0;
  }

  /* Secure checkout section centered */
  .secure-checkout {
    text-align: center;
  }
  .secure-checkout img {
    height: 22px;
    margin: 0 4px;
  }
  .secure-checkout p {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .product-row {
    grid-template-columns: 70px 1fr;
    /* grid-template-rows: auto auto; */
    text-align: center;
  }

  .product-row .price {
    font-size: 16px;
  }

  .secure-checkout img {
    height: 24px;
  }

  .zoom-preview {
    display: none; /* Hide zoom preview on mobile */
  }
}

/* Small Mobile (≤ 480px) */
@media (max-width: 480px) {      
  .main-image{
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  .product-section {
    padding: 0 8px;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .product-details-scroll h3 {
    font-size: 20px;
    line-height: 26px;
  }

  .main-image img {
    max-height: 280px;
  }

  .feature-box {
    /* flex: 1 1 100%; */
    font-size: 0.75rem;
    margin-bottom: 5px;
  }
   /* .feature-box {
    font-size: 0.9rem;
    padding: 10px;
  } */

   #qty-minus, #qty-plus {
    padding: 0 8px;
    font-size: 14px;
  }

  #qty-input {
    width: 50px !important;
  }

  #wishlist {
    font-size: 14px;
    padding: 8px;
  }

  .checkout-section .d-flex.gap-2.mt-3 button {
    font-size: 15px;
    padding: 5px 0;
  }
  
  .heading-also-like h2{
    font-size: 18px !important;
  }
  .button-also-like{
    font-size: 8px;
  }
}

/* 1st section ends */


/* Product Specification */
.spec-section {
        width: 100%;
        /* max-width: 900px; */
        margin-top: 8%;
        background: #fff;
        padding: 20px 30px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .spec-section h2 {
        text-align: center;
        margin-bottom: 25px;
        font-size: 24px;
        font-weight: 700;
    }

    .category-title {
        margin-top: 25px;
        margin-bottom: 10px;
        font-size: 18px;
        font-weight: 700;
        color: #333;
    }

    .speci-row {
        display: flex;
        flex-direction: column;
        margin-bottom: 12px;
        padding-bottom: 10px;
        border-bottom: 1px solid #e6e6e6;
    }
    .speci-row strong{
      font-weight: 600;
        color: #444;
    }

    .spec-text {
        margin-top: 4px;
        color: #555;
        line-height: 1.4;
    }

    /* responsive */
    @media (max-width: 768px) {
      .spec-section{
        margin-top: 2%;
      }
      .spec-section h2{
        font-size: 20px;
      }
      .speci-row {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-start;
      gap: 20px;
      padding-bottom: 16px;
    }
    .spec-label {
        width: 30%;
        margin: 0;
        font-size: 16px;
    }
    .spec-text {
        width: 70%;
        margin-top: 0;
    }
}

/* Wider screens */
@media (min-width: 900px) {
    .spec-section {
        padding: 40px 50px;
    }

    .spec-label {
        font-size: 17px;
    }

    .spec-text {
        font-size: 16px;
    }
}

/* Product Specification ends */


/* custom-light */
.custom-light {
  text-align: center;
  margin-top: 3%;
  margin-bottom: 6%;
  background: #fff;
}

.custom-light-heading {
  font-size: 25px;
  font-weight: 700;
  color: #2d2d2d;
  margin-bottom: 20px;
}

.custom-light-content {
  /* max-width: 800px; */
  margin: 0 auto 15px auto;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.image-grid figure {
  margin: 0;
  text-align: center;
}

.image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Image captions */
.image-grid figcaption {
  margin-top: 2px;
  margin-bottom: 20px !important;
  font-size: 0.95rem;
  color: #444;
  font-weight: 600;
  /* bottom: 4px; */
}

/* Responsive behavior */
@media (max-width: 992px) {
  .custom-light{
    margin-top: 5%;
  }
  .custom-light-heading{
    font-size: 20px;
  }
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 576px) {
  .image-grid {
    grid-template-columns: 1fr;
  }
  .custom-light-heading {
    font-size: 1.6rem;
  }
  .custom-light-content {
    font-size: 0.95rem;
  }
}
/* custom-light */

/* Custom Size Section */
.custom-size {
  text-align: center;
  padding: 40px 20px;
}

.image-grid-size {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.image-grid-size figure {
  margin: 0;
  text-align: center;
}

.image-grid-size img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-grid-size img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.image-grid-size figcaption {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #444;
  font-weight: 500;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .image-grid-size {
    grid-template-columns: 1fr;
  }
}

/* Comparison Table */
.comparison-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    /* margin-top: 3rem; */
    margin-top: 5%;
}

.comparison-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.comparison-table a{
    color: white;
    text-decoration: none;
}
.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    font-weight: 600;
    position: sticky;
    top: 0;
}

.comparison-table th:first-child {
    border-radius: 15px 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 15px 0 0;
}

.comparison-table tr:nth-child(even) {
    background: #f8fafc;
}

.comparison-table tr:hover {
    background: #eff6ff;
}

.spec-row {
    font-weight: 600;
    color: #374151;
    background: #f1f5f9 !important;
}

.price-cell {
    color: #dc2626;
    font-weight: 700;
    font-size: 1.1rem;
}
/* Comparison End */

/*

feature */
.product-features {
    /* padding: 10px 0; */
    max-width: 1400px;
    margin: auto;
    background-color: #cef5de;
    overflow: hidden;
}

.product-features .row {
    margin-bottom: 80px;
    display: flex;
    align-items: center;
}

/* Left (text) and right (image) columns */
.product-features .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

/* Headings & text */
.product-features h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #04b9f0;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
}

.product-features p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    max-width: 80%;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-left: 10%;
}

/* Images */
.product-features img {
    /* width: 100%; */
    width: 60%;
    height: auto;
    margin-top: 15px;
}
.product-features img:hover {
    transform: scale(1.05);
}

.collapsed-features {
    max-height: 120px; /* show only part of list initially */
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.collapsed-features.expanded {
    max-height: 1000px; /* large enough to show all content */
}
.view-more .btn{
    font-size:14px;
    text-decoration: none;
}

/* Alternate backgrounds for even rows */
/* .product-features .row:nth-child(even) {
    flex-direction: row-reverse;
    background: #f9f9f9;
    border-radius: 12px;
    padding: 40px 20px;
} */

/* Responsive layout */
@media (max-width: 768px) {
    .product-features .row {
        flex-direction: column !important;
        text-align: center;
    }
    .product-features .col-md-6 {
        max-width: 100%;
    }
    .product-features img {
        width: 90%;
    }
}

/* Product feature end */

/* Video Section  */
.video-section {
    background: #f8fafc;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 18px 0 10px 0;
    margin-top: 10px;
    /* margin-bottom: 48px; */
}

.video-section .video-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a2233;
    margin-bottom: 18px;
    text-align: center;
    padding: 20px 0;
}

.video-section .video-caption {
    font-size: 1.1rem;
    color: #4a5568;
    margin-top: 24px;
    text-align: center;
}

.video-section .video-wrapper {
    position: relative;
    padding-bottom: 30%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 29px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
    background: #000;
    max-width: 900px;
    margin: 0 auto;
}

.video-section .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    background: #000;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .video-section {
        padding: 28px 0 24px 0;
    }
    .video-section .video-title {
        font-size: 1.3rem;
    }
    .video-section .video-wrapper {
        border-radius: 8px;
    }
    .video-section .video-wrapper video {
        border-radius: 8px;
    }
}
/* video section end */

/* Product Image Slider */
.your-design{
    margin-top: 50px;
}
.your-design h2 {
  color: #04b9f0;
}

.gallery-slider-wrapper {
  border: 2px solid #f0f0f0;
  overflow: hidden;
}

.gallery-img {
  flex: 1;
  border-radius: 1rem;
  border: 6px solid #fff;
  height: 309px;
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.custom-control {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.custom-control:hover {
  background: rgba(0, 123, 255, 0.9);
}

.custom-control span {
  filter: invert(1);
}

@media (max-width: 992px) {
  .gallery-img {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .gallery-img {
    flex: 0 0 50%; /* 2 per row on mobile */
  }
}

@media (max-width: 576px) {
  .gallery-img {
    flex: 0 0 100%; /* 1 per row */
  }
}
/* Product Image Slider End */

/* packing list */
/* .packing-list {
    background: linear-gradient(135deg, #f9fafc, #eef3f9);
    border-radius: 24px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
    padding: 50px 30px;
    margin-top: 40px;
    overflow: hidden;
}

.packing-list h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a2233;
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
}
.packing-list h2 span {
    color: #0071ce; 
}

.packing-list img {
    max-height: 420px;
    width: auto;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    display: block;
    margin: 0 auto;
}
.packing-list img:hover {
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
} */
/* packing list end */

/* Feature Images */
.combined-packing-section {
    /* background: linear-gradient(135deg, #f9fafc, #eef3f9); */
    border-radius: 24px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
    padding: 10px 30px;
    /* margin-top: 40px; */
}

/* Left side */
.combined-packing-section .left-content img {
    /* max-height: 300px; */
    max-height: 400px;
    width: auto;
    border-radius: 16px;
    transition: transform 0.5s ease;
    display: block;
    /* margin: 0 auto 20px auto; */
    margin-left: 20%;
}
.combined-packing-section .left-content img:hover {
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.combined-packing-section .left-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a2233;
    line-height: 1.3;
    margin-bottom: 15px;
}
.combined-packing-section .left-content h2 span {
    color: #0071ce;
}
.combined-packing-section .left-content p {
    color: #6c757d;
    margin-bottom: 20px;
}
.combined-packing-section .left-content .btn {
    padding: 10px 28px;
}

/* Right side - packing items */
.combined-packing-section .feature-grid {
    background: #fff;
    border-radius: 18px;
    /* padding: 30px 20px; */
    padding: 10px 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.combined-packing-section .feature-grid h3 {
    color: #1a2233;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}
.combined-packing-section .packing-feature-box {
    background: #fdfdfd;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* padding: 15px 1px; */
    text-align: center;
    /* height: 100%; */
}
.combined-packing-section .packing-feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}
.combined-packing-section .packing-feature-box img {
    max-height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
    padding: 0;
}
.combined-packing-section .packing-feature-box h5 {
    /* font-size: 0.95rem; */
    font-size: 0.7rem;
    font-weight: 600;
    color: #1a2233;
    margin: 0;
}
/* Feature Images End */

/* Specifications */
.specification-section .accordion-button {
    position: relative;
    padding-right: 20px;
    background-color: #f8f9fa;
    font-weight: 600;
    color: #1a2233;
}

.specification-section .accordion-header{
    margin-bottom: 12px;
}

/* Match your FAQ section’s aesthetic */
.specification-section .accordion-button:not(.collapsed) {
    background-color: #eef5ff;
    box-shadow: none;
}

.specification-section .accordion-body {
    padding-top: 0.5rem !important;
    margin-top: 0 !important;
}

/* Specification spacing & text styling */
.specification-section .spec-list li {
    margin-bottom: 8px;
    font-size: 1rem;
    color: #222;
}
.specification-section .spec-list strong {
    color: #0071ce;
}
/* Specifications End */

/* FAQ  */
.faq-section {
    background: #f8fafc;
    border-radius: 18px;
    padding: 40px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.faq-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a2233;
    text-align: center;
    margin-bottom: 15px;
}

.accordion-button {
    font-weight: 600;
    color: #1a2233;
    padding: 15px 20px;
    margin-bottom: 0 !important;
}

.accordion-button.collapsed {
    margin-bottom: 0;
    padding-bottom: 0;
    background-color: transparent;
}

.accordion-button:not(.collapsed) {
    color: #0d6efd;
    background-color: #eef5ff;
    box-shadow: none;
    margin-bottom: 0;
}
.accordion-body {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

@media (max-width: 992px) {
    .faq-section{
        padding-top: 10px !important;
    }

}
/* FAQ end */

/* Review */
.review {
    background: #f8fafc;
    border-radius: 18px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-top: 40px;
}
.review-heading .text-primary {
    font-size: 1.5em;
    vertical-align: middle;
    margin-right: 0.3em;
}
/* .progress-bar{
    background: #0071ce !important;
} */
.secondary-star {
    color: #dfdedeff !important;
}
.pagination .page-link {
    border-radius: 8px !important;
}

@media (max-width: 992px) {
    .review{
        padding-top: 10px !important;
    }

}
/* Review end*/

/* Product you might also like */
.also-like-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; 
  gap: 0.5rem;
  margin: 20px 0;
}

/* better button spacing */
.button-also-like button {
  margin-left: 0.25rem;
}
.product-you-might .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-you-might a{
    text-decoration: none;
}

.product-you-might button{
    width: 175px;
    margin: auto;
}

/* Equal height image containers */
.product-you-might .card-img-top {
    width: 100%;
    height: 220px; 
    object-fit: cover; 
}

/* Columns are equal width and spaced evenly */
.product-you-might .col {
    flex: 0 0 25%;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

/* Make all cards stretch equally */
.product-you-might .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 992px) {
    .product-you-might .col {
        flex: 0 0 50%;
    }
}

@media (max-width: 576px) {
  .also-like-header {
    flex-wrap: nowrap;
    overflow-x: auto; 
  }
  .heading-also-like h2 {
    font-size: 1.2rem; /* smaller text on mobile */
  }
  .button-also-like button {
    padding: 0.3rem 0.5rem;
  }
  .heading-also-like h2{
    font-size: 22px;
  }
  .product-you-might .card-img-top {
    height: 200px; 
}
  .product-you-might .col {
    flex: 0 0 100%;
  }
}
/* Product you might also like end */

/* Alternate background colors */
.product-features .row:nth-child(even) {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 40px 20px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .left {
        position: relative;
    }
}

@media (max-width: 768px) {


    .product-row {
        /* grid-template-columns: 80px 1fr 100px; */
        grid-template-columns: 70px 80px 1fr 60px 80px;
        gap: 15px;
        padding: 16px;
        margin-bottom: 1px !important;
    }

    .product-row .thumb img {
        width: 60px;
        height: 60px;
    }

    .toolbar {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }

    .toolbar-section {
        flex-direction: row;
        justify-content: space-between;
    }

    .product-title {
        font-size: 28px !important;
        color: #202020ff !important;
    }
}

/* Loading animation */
.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--btn-blue);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 576px){
    .product-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 equal columns */
    gap: 10px;
    padding: 13px;
    margin-bottom: 1px !important;
    align-items: center;
    text-align: center;
  }
}

#products {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    overflow-x: hidden; /* Hide scrollbar and prevent manual scroll */
    scroll-behavior: smooth;
    /* padding-bottom: 10px; */
}

.product-row {
    flex: 0 0 auto;
    width: 95px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    /* padding: 10px; */
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-row:hover {
    border-color: #fc602b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-row.active-row {
    border-color: #fc602b;
    background-color: #fff5f0;
}

.product-row .thumb {
    width: 100%;
    height: 100px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 2px;
}

.product-row .thumb img {
    width: 80%;
    height: 80%;
    object-fit: cover;
}

.product-row .title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}

.product-row .size {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.product-row .weight {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.product-row .price {
    font-weight: bold;
    color: #fc602b;
    font-size: 14px;
}

/* Hide scrollbar but keep functionality */
#products::-webkit-scrollbar {
    height: 6px;
}

#products::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 3px;
}
