@import url("general.css");

.thumbnail-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumbnail {
    width: 100px;
    height: 140px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 20px;
}

.thumbnail:hover {
    border-color: #ff2424;
}
.thumbnail.selected {
    border: 2px solid #ff2424;
}

.main-image {
    width: 93%;
    height: 600px;
    border-radius: 20px;
    object-fit: cover;
}
.flex-main-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(244, 244, 244, 1);
    height: 640px;
    width: 100%;
    border-radius: 20px;
}

.wishlist-btn {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    font-size: 18px;
    font-weight: 400;
    font-family: "Lato", sans-serif;
    color: #333333;
}
.category-text {
    font-size: 18px;
    font-weight: 500;
    color: #333333;

    font-family: "Lato", sans-serif;
}
.rating-badge {
    width: 74px;
    height: 34px;
    border-radius: 8px;
    background: radial-gradient(
        90.35% 90.35% at 23.94% 5.43%,
        #e84e1b 0%,
        #ff2424 47.6%,
        #e84e1b 100%
    );
    font-size: 16px;
    justify-content: center;
}
.precent-badge {
    width: 50px;
    height: 28px;
    border-radius: 10px;
    background: radial-gradient(
        90.35% 90.35% at 23.94% 5.43%,
        #e84e1b 0%,
        #ff2424 47.6%,
        #e84e1b 100%
    );
    font-size: 12px;
    justify-content: center;
    font-weight: 500;
}

.color-selector {
    display: flex;
    gap: 8px;
    margin: 15px 0;
}

.variatn-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.color-inner {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.color-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.variatn-option:hover .color-inner {
    width: 30px;
    height: 30px;
}

.variatn-option .selected {
    border: 2px solid #ddd;
    width: 30px;
    height: 30px;
}

.color-blue {
    background: #7ba3e8;
}
.color-gray {
    background: #6b6b6b;
}
.color-yellow {
    background: #c9b76b;
}
.color-mint {
    background: #b8e6d5;
}
.color-green {
    background: #a8d5b8;
}
.color-lavender {
    background: #c7b8e6;
}
.color-purple {
    background: #9b8fd5;
}

.price-section {
    margin: 20px 0;
    /* display: flex; */
    align-items: center;
    gap: 15px;
}
.price-from {
    color: #7f7f7f;
    font-size: 28px;
    font-weight: 400;
}
.old-price {
    text-decoration: line-through;
    color: #7f7f7f;
    font-size: 24px;
    font-weight: 400;
    font-family: "Lato", sans-serif;
}
.product-section-heading {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 100%;
    color: #333333;
}
.current-price {
    font-size: 30px;
    font-weight: 700;
    color: #000000;
    font-family: "Lato", sans-serif;
}

.per-unit {
    font-size: 18px;
    color: #333333;
    font-family: "Lato", sans-serif;
    font-weight: 500;
}
.pack-old-price {
    text-decoration: line-through;
    font-size: 20px;
    color: #7f7f7f;
    font-family: "Lato", sans-serif;
    font-weight: 400;
}
.pack-current-price {
    font-size: 20px;
    color: #000000;
    font-family: "Lato", sans-serif;
    font-weight: 700;
}
.calculator-box {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}
.calculator-box .form-check-input {
    width: 30px;
    height: 30px;
}
.calculate-btn {
    border-color: #ff2424;
    color: #ff2424;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    white-space: nowrap;
    height: 50px;
    background: white;
    font-family: "Lato", sans-serif;
    font-weight: 500;
    font-size: 16px;
}
.calculate-size {
    width: 140px;
    height: 50px;
    border-radius: 10px;
}
.calculate-btn:hover {
    background: radial-gradient(
        90.35% 90.35% at 23.94% 5.43%,
        #e84e1b 0%,
        #ff2424 47.6%,
        #e84e1b 100%
    );
    color: white;
}
.calculate-heading {
    font-family: "Lato", sans-serif;
    font-size: 24px;
    font-weight: 700;
}
.product-heading {
    font-family: "Lato", sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 42px;
}
.quantity-section {
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    height: 50px;
}
.floor-text {
    font-family: "Lato", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 100%;
}
.text-meter {
    font-size: 20px;
    font-weight: 700;
    font-family: "Lato", sans-serif;
}
.calculate-desc {
    font-size: 18px;
    font-weight: 400;
    font-family: "Lato", sans-serif;
}
.total-price {
    font-size: 24px;
    font-weight: 700;
    color: #ff2424;
    font-family: "Lato", sans-serif;
}
.total-price-text {
    font-size: 18px;
    font-weight: 400;
    font-family: "Lato", sans-serif;
}
.quantity-plus-price {
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    font-family: "Lato", sans-serif;
}
/* Add to Cart Button */
.btn-outline-danger {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    border-color: #ff2424;
    color: #ff2424;
    border-radius: 10px !important;
    height: 50px;

    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 16px;
}

.btn-outline-danger:hover {
    background: radial-gradient(
        90.35% 90.35% at 23.94% 5.43%,
        #e84e1b 0%,
        #ff2424 47.6%,
        #e84e1b 100%
    );
    color: white;
    border-color: #ff2424;
}

.buy-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 10px !important;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 16px;
}
.btn-outline-danger:hover .cart-svg {
    filter: brightness(0) invert(1);
}
/* Request Quote Button */
.btn-dark {
    background-color: #000;
    border-color: #000;
    border-radius: 10px !important;
    height: 50px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 14px;
}

/* Quantity Input - Remove spinner arrows */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.quantity-btn {
    display: flex;
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
    border: 0;
    margin: 3px !important;
    padding: 13px;
    background: #f4f4f4;
    border-radius: 10px;
    margin: 2px;
    transition: background 0.2s ease;
}

.quantity-btn .plus-svg {
    display: block; /* ensures no inline spacing issues */
    width: 16px; /* adjust size as needed */
    height: 16px;
}
.quantity-btn .minus-svg {
    display: block; /* ensures no inline spacing issues */
    width: 16px; /* adjust size as needed */
    height: 16px;
}

/* .quantity-input.clicked {
  box-shadow: 0 0 5px #ff2424;
} */
.quantity-btn:active {
    background-color: #ffeaea;
}

/* Tab Styling */
.review-tabe {
    background: #f4f4f4;
    border-radius: 20px;
}
.nav-tabs {
    border-bottom: none;
    gap: 10px;
    flex-wrap: nowrap;
}
.spec-table td:first-child {
    width: 15%;
    font-weight: 500;
    border-right: 1px solid #dee2e6;
}

.spec-table td:last-child {
    width: 65%;
    padding-left: 20px;
}

.spec-table td {
    vertical-align: middle;
    padding: 10px 15px;
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    background-color: white;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    font-family: "Lato", sans-serif;
}

.nav-tabs .nav-link.active {
    background: radial-gradient(
        90.35% 90.35% at 23.94% 5.43%,
        #e84e1b 0%,
        #ff2424 47.6%,
        #e84e1b 100%
    );
    color: white;
}

.nav-tabs .nav-link:hover:not(.active) {
    background-color: #f8f9fa;
}

/* Table Styling */
.table {
    margin-bottom: 0;
}

.table td {
    padding: 16px;
    vertical-align: middle;
}

.table .bg-light {
    background-color: #f8f9fa !important;
    font-weight: 500;
}

.table-bordered {
    border: 1px solid #dee2e6;
}

.table-bordered td {
    border: 1px solid #dee2e6;
}
.reviews-content {
    padding: 20px 0;
}

.review-card {
    background: white;
    padding: 18px;
    border-radius: 20px;
}

.review-card h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
}

.review-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.stars {
    font-size: 0.9rem;
}

.rating-summary {
    position: sticky;
    top: 20px;
    border-radius: 20px;
}
.all-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress {
    background-color: #e9ecef;
}

.progress-bar {
    background-color: #ff5436 !important;
}

.review-star {
    color: #ff5436 !important;
}
/* Responsive */
@media (max-width: 991px) {
    .rating-summary {
        position: relative;
        margin-top: 20px;
    }
}
/* Responsive Fix */
@media (max-width: 1024px) {
    .thumbnail {
        width: 105px;
        height: 130px;
    }
}
/* Mobile view (below 768px) */
@media (max-width: 768px) {
    .d-flex.gap-3 {
        flex-direction: column-reverse;
        align-items: center;
    }

    .thumbnail-images {
        flex-direction: row;
        justify-content: center;
        max-width: 100%;
        gap: 8px;
        margin-top: 10px;
    }

    .thumbnail {
        width: 90px;
        height: 70px;
    }

    .flex-main-image {
        width: 100%;
    }

    .main-image {
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(244, 244, 244, 1);
        height: 362px;
        width: 340px;
        border-radius: 20px;
    }
    .flex-main-image {
        height: 388px;
        width: 370px;
    }
    .calculate-size {
        width: 100%;
    }
}
@media (max-width: 425px) {
    .nav-tabs {
        flex-wrap: wrap;
    }
}
