/* Main Layout */
.product-gallery {
    max-width: 800px;
    margin: auto;

}

/* Thumbnails */
.thumbnails {
    display: flex;
    gap: 10px;
    padding: 7px 0;

}

.thumbnails img {
    width: 90px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.thumbnails img.active {
    border-color: #2962ff;
}

/* Main Image */
.main-image {
    position: relative;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.main-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;

}
/* Zoom only on non-touch devices */
@media (hover: hover) {
    .thumbnails img:hover {
        transform: scale(1.1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .product-gallery {
        flex-direction: column;
    }

    .thumbnails {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }

    .thumbnails img {
        width: 70px;
    }

    .main-image img {
        max-width: 100%;
    }
}
/* Zoom container */
.zoom-container {
    overflow: hidden;
    cursor: zoom-in;
}

/* Zoom image */
.zoom-image {
    transition: transform 0.3s ease;
    transform-origin: center;
}

/* Hover zoom (desktop only) */
@media (min-width: 769px) {
    .zoom-container:hover .zoom-image {
        transform: scale(1.8);
    }
}

/* Disable zoom on mobile */
@media (max-width: 768px) {
    .zoom-container {
        cursor: default;
    }
}
/* Mobile Fixes */
@media (max-width: 768px) {

    /* Rating Buttons Wrapper */
    .rating-section {
        width: 100%;
    }

    .rating-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 8px;
        margin-top: 10px;
    }

    .rating-links button {
        width: 100%;
        font-size: 15px !important;
        padding: 10px !important;
    }

    .rating-badge {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .divider {
        display: none; /* hide | on mobile */
    }

    /* Price Layout */
    .price-section {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .price-section ins,
    .price-section del,
    .price-section .offer_off {
        margin: 0 !important;
        font-size: 20px !important;
    }

    .price-section del {
        margin-top: 5px !important;
    }

    .offer_off {
        display: inline-block;
        padding: 4px 8px;
        margin-top: 6px;
        border-radius: 4px;
    }

    /* Delivery line */
    .delivery-text {
        font-size: 16px !important;
        line-height: 22px;
        text-align: left;
    }

    /* Product short description */
    .short-desc {
        font-size: 15px;
        line-height: 22px;
    }
}



.bundle-container h2 {
    text-align: center;
    font-weight: 700;
}

/* Bundle Box */
.bundle-container .bundle-box {
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 12px;
    display: block;
    cursor: pointer;
    transition: 0.3s;
	width:45%;
	float:left;
	margin-right:25px;
}

.bundle-container .bundle-box label {
	padding: 10px;
	
}

.bundle-container .bundle-box.active,
.bundle-container .bundle-box:hover {
    border-color: #000;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* Content Layout */
.bundle-container .bundle-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bundle-container .title {
    font-size: 12px;
    font-weight: 700;
}

.bundle-container .subtitle {
    font-size: 13px;
    color: #555;
}

/* Right Side */
.bundle-container .save-tag {
    background: #f6b100;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 5px;
}

.buy-now-btn {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
	
}

.buy-now-btn:hover {
    background: #333;
    transform: translateY(-2px);
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .bundle-container .bundle-box {
        width: 100% !important;
        float: none !important;
        margin: 10px 0 !important;
    }

    .bundle-container .bundle-content {
        flex-direction: column; 
        align-items: flex-start;
    }

    .bundle-container .bundle-content button {
        margin-top: 10px;
        width: 100%; /* full width button on mobile */
    }

    .bundle-container .title {
        font-size: 16px;
    }

    .bundle-container .subtitle {
        font-size: 13px;
    }
}


/* ----- PRICE BOX ----- */
.price-box-detail {
    background: #f8fafc;
    padding: 15px 25px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    margin-bottom: 22px;
}

.price-box-detail .main-price {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.price-box-detail .old-price {
    font-size: 20px;
    color: #9ca3af;
    margin-left: 12px;
    text-decoration: line-through;
}

.price-box-detail .off-tag {
    font-size: 20px;
    color: #16a34a;
    font-weight: 700;
    margin-left: 15px;
    background: #dcfce7;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ----- DELIVERY BOX ----- */
.delivery-box {
    background: #fff7ed;
    padding: 15px 22px;
    border-radius: 12px;
    border: 1px solid #fbbf24;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.delivery-box i {
    font-size: 26px;
    color: #f97316;
}

/* ----- BULLET STYLE ----- */
.desc-list {
    list-style: none;
    padding-left: 0;
}

.desc-list li {
    padding: 8px 0;
    font-size: 16px;
    position: relative;
    padding-left: 26px;
}

.desc-list li::before {
    content: "✔";
    color: #16a34a;
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    left: 0;
}

/* ----- RATING BADGE ----- */
.rating-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-badge {
    background: #00ca81;
    padding: 6px 14px;
    border-radius: 20px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Buttons */
.rating-links button {
    border-radius: 25px;
    border: 2px solid #00ca81 !important;
    background: #f0fdf4;
    transition: 0.2s ease;
}

.rating-links button:hover {
    background: #00ca81;
    color: #fff !important;
}


/*Start Variants*/
.variant-section {
    margin-top: 20px;
}

.variant-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.variant-group {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.variant-card {
    position: relative;
    cursor: pointer;
}

.variant-content {
    border: 2px solid #e4e4e4;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    transition: 0.25s ease;
    background: #fff;
}

.variant-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.variant-price {
    display: block;
    font-size: 13px;
    color: #555;
    margin-top: 4px;
}

/* Active */
.variant-card input:checked + .variant-content {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
}

/* Hover */
.variant-card:hover .variant-content {
    border-color: #2563eb;
}

/* Disabled */
.variant-card.disabled {
    cursor: not-allowed;
}

.variant-card.disabled .variant-content {
    opacity: 0.5;
    background: #f5f5f5;
}

.variant-group::-webkit-scrollbar {
    display: none;
}
.variant-group {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Mobile: horizontal scroll */

/* Desktop: grid layout */

/*End Variants*/

/*Specication Designe Start*/
body {
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
}

/* PAGE LAYOUT */
.product-page {
  display: flex;
  max-width: 1200px;
  margin: auto;
  gap: 24px;
}

/* LEFT IMAGE — STICKY */
.product-left {
  width: 38%;
  position: sticky;
  top: 80px; /* header height */
  height: fit-content;
}

.product-left img {
  width: 100%;
  border: 1px solid #eee;
  border-radius: 4px;
}

/* RIGHT CONTENT */
.product-right {
  width: 100%;
}

/* TOP INFO */
.product-info {
  padding-bottom: 30px;
}

/* SPECIFICATIONS */
.spec-wrapper {
  border-top: 1px solid #eee;
  padding-top: 16px;
}

/* ONLY THIS SCROLLS */
.spec-scroll {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 8px;
}

/* Scrollbar */
.spec-scroll::-webkit-scrollbar {
  width: 6px;
}
.spec-scroll::-webkit-scrollbar-thumb {
  background: #cfcfcf;
}

/* Accordion */
details {
  border-bottom: 1px solid #f0f0f0;
}

summary {
  cursor: pointer;
  padding: 12px 0;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "▾";
  float: right;
  transition: transform 0.3s;
}

details[open] summary::after {
  transform: rotate(180deg);
}

/* Rows */
.spec-row {
  display: grid;
  grid-template-columns: 40% 60%;
  font-size: 13px;
  padding: 8px 0;
}

.spec-row span:first-child {
  color: #878787;
}

/* Description */
.spec-desc {
  font-size: 13px;
  background: #fafafa;
  padding: 10px;
  margin-bottom: 10px;
}

/* BOTTOM CONTENT */
.product-bottom {
  padding-top: 40px;
}

/*Specication Designe End*/