body {
    background-color: #f5f5f5;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

/* ✅ Full-width breadcrumb background */
.breadcrumb-fullbar {
    padding: 10px 0;
    width: 100%;
}

/* ✅ Keep breadcrumb content aligned */
.breadcrumb.container {
    max-width: 1260px;
    margin: 0 auto;
    font-size: 14px;
    color: #333;
}

.breadcrumb {
    font-size: 14px;
    color: #333;
}
.breadcrumb a {
    color: #333333;
    text-decoration: none;
    margin: 0 4px;
}
.breadcrumb span {
    font-weight: 600;
    color: #222;
    padding-left: 5px;

}
/*Description*/
.description-box {
    max-height: 300px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}

.description-box.expanded {
    max-height: none;
}

.read-more-btn {
    display: inline-block;
    background: #ffffff;
    padding: 10px;
    color: #0b0b0b;
    border: none;
    margin: 15px auto 0;
    cursor: pointer;
    font-weight: 500;
    border: 1px solid #b5b5b5;
    text-align: center;
    border-radius: 2px;
    display: block;
}

.read-more-btn:hover {
    text-decoration: none;
    background: #ffffff;
    color: rgba(249, 115, 22, 0.7);
    padding: 10px;

}
/*test*/
.product-detail-box {
    background-color: #fff;
    border-radius: 2px;
    /*padding: 40px;*/
}

/* ✅ Let container stretch full width (bootstrap-style) */
.container {
    max-width: 1260px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* 🖼️ Main Product Image */
.product-gallery {
    position: relative;
}
.main-image {
    position: relative;
    overflow: hidden;
}
.main-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* 👈 Gallery arrows (only on hover) */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 6px 10px;
    font-size: 18px;
    cursor: pointer;
    display: none;
    z-index: 5;
    border-radius: 2px;
}
.gallery-arrow.left { left: 5px; }
.gallery-arrow.right { right: 5px; }
.product-gallery:hover .gallery-arrow {
    display: block;
}

/* 🔳 Gallery Thumbnails */
.gallery-section {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
}
.gallery-section::-webkit-scrollbar {
    display: none;
}
.thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: border 0.3s;
}
.thumb.active {
    border: 2px solid orange;
}

/* ℹ️ Info + Title */
.product-info h1 {
    font-size: 22px;
    margin-bottom: 10px;
}
.product-meta span {
    display: block;
    font-size: 14px;
    margin: 2px 0;
}

/* ================== Product Title Section ================== */
.product-title-section {
    width: 100%;
    padding: 0 0 12px;
    border-bottom: 1px solid #efefef;
    margin-bottom: 25px;
}
.product-title-section h1 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.product-title-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #4f4f4f;
    font-family: Inter, sans-serif;
}
.product-title-meta .rating-badge {
    display: flex;
    align-items: center;
    gap: 6px;
}
.tax-gap {
    gap:2px;
}
.product-title-meta .rating-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: #287f38;
    color: white;
    border-radius: 30px;
    padding: 2px 8px;
    font-weight: 600;
    font-size: 13px;
}
.product-title-meta .rating-pill i {
    font-size: 8px;
}
.product-title-meta span.label {
    color: #222;
    font-weight: 500;
}
.product-title-meta img.brand-logo {
    width: 28px;
    height: auto;
    object-fit: contain;
}
/* ================== END Product Title Section ================== */

/* 🧩 Variant Options */
.variant-option {
    border: 1px solid #ccc;
    padding: 6px 12px;
    border-radius: 2px;
    background: white;
    color: #000;
    cursor: pointer;
    transition: 0.3s;
}
.variant-option.active,
.variant-option.btn-primary {
    background: orange;
    color: #fff;
    border-color: orange;
}
.variant-option:hover {
    border-color: #aaa;
}

/* 💰 Price */
.price-section {
    font-size: 18px;
    margin: 15px 0;
}
.sale-price {
    color: green;
    font-size: 34px;
    font-weight: bold;
}
.regular-price {
    text-decoration: line-through;
    margin-left: 10px;
    color: #999;
}
.discount {
    color: white;
    font-weight: 600;
    margin-left: 10px;
    background: red;
    padding: 4px;
    padding-left: 18px;
    padding-right: 18px;
    border-radius: 50px;
}

/* 🛒 Cart Actions */
.cart-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    background-color: rgba(0, 0, 0, 0.09);
    border: 1px solid #ccc;
    color: #333;
    font-size: 18px;
    width: 32px;
    height: 32px;
    border-radius: 200px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-input {
    width: 50px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px;
    outline: none;
    background-color: #fff;
}
.qty-btn:hover {
    background-color: #f57c00;
    color: #fff;
    border-color: #f57c00;
}
.qty-box {
    display: flex;
    align-items: center;
    gap: 6px;
    /*background: #f5f5f5;*/
    /*padding: 6px 10px;*/
    border-radius: 50px;
    /*border: 1px solid #ddd;*/
    width: fit-content;
}
.btn {
    padding: 10px 15px;
    border: none;
    cursor: pointer;
}
.btn-orange {
    background-color: #f57c00;
    color: #fff;
}
.btn-orange:hover {
    background-color: #e65100; /* darker orange */
    color: #fff;
}

.btn-blue {
    background-color: #3949ab;
    color: #fff;
}
.btn-blue:hover {
    background-color: #303f9f; /* Slightly darker blue */
    color: #fff;
}
.btn-outline {
    border: 1px solid #ccc;
    background: transparent;
    color: #333;
}
.btn-outline:hover {
    border: 1px solid #ccc;
    background: transparent;
    color: #333;
    font-weight: 500;
}


/* 📑 Tabs */
.product-tabs {
    margin-top: 40px;
    border-top: 1px solid #e2e2e2;
    padding-top: 25px;
}
.tab-nav {
    display: flex;
    list-style: none;
    gap: 20px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}
.tab-nav li {
    padding-bottom: 10px;
}
.tab-nav .active {
    border-bottom: 2px solid #000;
    font-weight: bold;
}
.tab-content {
    display: none;
    padding: 20px 0;
    padding-left: 25px;
}
.tab-content.active {
    display: block;
}
.gallery-thumbs-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

/* 👇 Only show 4 thumbnails at a time */
.thumbs-visible-area {
    max-width: calc(60px * 4 + 24px); /* 4 images + spacing */
    overflow-x: hidden;
    position: relative;
}

.gallery-section {
    display: flex;
    gap: 8px;
    transition: transform 0.3s ease;
}

.gallery-section img.thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
}
.gallery-section img.thumb.active {
    border-color: orange;
}

.thumb-nav-arrow {
    background-color: #ffffff;
    border: none;
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}
.thumb-nav-arrow:hover {
    background-color: #ffffff;
}
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
    display: none;
}
.gallery-arrow.left { left: 10px; }
.gallery-arrow.right { right: 10px; }

.main-image:hover .gallery-arrow {
    display: block;
}

.lightbox-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 4px;
}
/*product Sidebar*/
.product-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.sidebar-box {
    /*background: #f9f9f9;*/
    border-bottom: 1px solid #e0e0e0;
    border-radius: 2px;
    padding: 1rem 1rem 1rem 3.2rem;
    position: relative;
    /*box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
    transition: 0.2s ease;
}

.sidebar-box:hover {
    /*background: #fff;*/
    border-color: #d6d6d6;
    /*box-shadow: 0 4px 10px rgba(0,0,0,0.08);*/
}

.sidebar-box strong {
    font-size: 1rem;
    display: block;
    margin-bottom: 0.3rem;
    color: #333;
}

.sidebar-box p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

.sidebar-icon {
    font-size: 1.5rem;
    color: #ff7700;
    position: absolute;
    top: 1rem;
    left: 1rem;
}
.warranty-info-toggle {
    color: #888;
    margin-left: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s;
}

.warranty-info-toggle:hover {
    color: #ff7700;
}

.warranty-details {
    margin-top: 0.75rem;
    background: #fffefc;
    border: 1px solid #f1c99b;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #444;
}

.warranty-details ul {
    padding-left: 1.2rem;
    margin: 0;
}

.warranty-details li {
    margin-bottom: 0.5rem;
}

.hidden {
    display: none;
}
.sidebar-container{
    /*background: #dfdfdf;*/
}
.product-detail-container {
    max-width: 1260px;
    margin: 0 auto;
    /*padding: 30px 15px;*/
    position: relative;
    background-color: #fff;
}

/* ✅ Flex wrapper to split left & right */
.product-detail-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

/* ✅ Left Grid Area */
.product-main-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    padding: 30px 15px;
    gap: 30px;
}

/* ✅ Right Sidebar */
.right-feature-sidebar {
    width: 20%;
    padding-left: 8px;
    position: relative;
    /*background: rgba(227, 103, 19, 0.03);*/
    border-left: 1px solid #e4e4e4;
    padding: 10px;
    height: 100%;
}

/* Optional - prevent sidebar from wrapping */
.right-feature-sidebar,
.product-main-grid {
    min-width: 0;
}
/*Warrany popup*/
.warranty-popover {
    position: absolute;
    top: 70px;
    right: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    z-index: 999;
    width: 400px;
    padding: 10px 12px;
    animation: fadeSlideIn 0.2s ease-in-out;
}

.popover-arrow {
    position: absolute;
    top: 10px;
    left: -7px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #ddd;
}

.warranty-popover-content {
    padding-left: 8px;
}

.warranty-popover-content ul {
    margin: 10px 0 0;
    padding-left: 18px;
}

.warranty-popover-content li {
    font-size: 13px;
    margin-bottom: 10px;
}

.popover-close-btn {
    float: right;
    border: none;
    background: none;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    padding: 0;
    margin-top: -2px;
}

.popover-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

@keyframes popupFade {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.hidden {
    display: none !important;
}
.warranty-list-inline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.warranty-item-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    white-space: nowrap;
}
.variant-btn.selected {
    border: 2px solid #f37021;
    background-color: #fff6f1;
}
.mobile-contact-buttons {
    display: flex;
    flex-direction: row; /* 🟢 Make it inline */
    gap: 10px;
    /*padding: 15px;*/
    margin-top: 10px;
    flex-wrap: wrap; /* optional: handles small screens */
}

.mobile-contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap; /* prevents text wrapping */
    flex: 1 1 auto; /* 🟢 Makes them responsive in row */
    justify-content: center;
    text-align: center;
}

.mobile-contact-btn.call {
    background-color: #f0f0f0;
    color: #000;
    border: 1px solid #ccc;
}

.mobile-contact-btn.whatsapp {
    background-color: #25D366;
    color: #fff;
    border: 1px solid #1ebe5d;
}

.mobile-contact-btn i {
    font-size: 1.1rem;
}
/* Low Stock */
.mobile-low-stock-alert {
    margin-top: 14px;
    font-size: 12px;
    color: red;
    display: flex;
    align-items: center;
    gap: 4px;
}
