@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ─── Global / Reset ─── */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
button,
input,
textarea,
select {
    font-family: 'Montserrat', sans-serif !important;
}

body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ─── Header Fixes ─── */
.header_area {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.header_area .top_header_area {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    height: auto !important;
    min-height: auto !important;
    margin-top: 0 !important;
}

.header_area .header-cart-menu .cart {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px !important;
    height: auto !important;
    line-height: normal !important;
}

.header_area .header-cart-menu .cart>a {
    display: inline-flex !important;
    align-items: center !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    height: auto !important;
    line-height: 1 !important;
    padding: 0 !important;
}

/* ─── Star Rating Widget ─── */
.star-rating-widget {
    display: flex;
    flex-direction: row;
    gap: 6px;
}

.star-rating-widget .star-btn {
    cursor: pointer;
    font-size: 28px;
    color: #ddd;
    transition: color 0.15s;
    line-height: 1;
}

.star-rating-widget .star-btn.hovered,
.star-rating-widget .star-btn.selected {
    color: #ffc107;
}

/* ─── Premium Slider with Side Thumbnails ─── */
#product_details_slider {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    align-items: flex-start !important;
}

#product_details_slider .carousel-inner {
    flex: 1 !important;
    max-width: calc(100% - 95px) !important;
    order: 2;
}

#product_details_slider .carousel-indicators {
    position: static !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 80px !important;
    max-height: 550px !important;
    overflow-y: auto !important;
    order: 1;
    flex-shrink: 0 !important;
}

#product_details_slider .carousel-indicators li {
    width: 80px !important;
    height: 105px !important;
    text-indent: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    border: 1px solid #eee !important;
    border-radius: 2px !important;
    opacity: 0.8 !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    cursor: pointer !important;
    display: block !important;
}

#product_details_slider .carousel-indicators li.active {
    opacity: 1 !important;
    border-color: #ce9d43 !important;
    box-shadow: 0 0 0 2px #ce9d43 !important;
}

/* Hide default indicators bars */
#product_details_slider .carousel-indicators li::before,
#product_details_slider .carousel-indicators li::after {
    display: none !important;
}

/* ─── Responsive Slider ─── */
@media (max-width: 991px) {
    #product_details_slider {
        gap: 10px !important;
    }

    #product_details_slider .carousel-indicators {
        width: 70px !important;
    }

    #product_details_slider .carousel-indicators li {
        width: 70px !important;
        height: 90px !important;
    }

    #product_details_slider .carousel-inner {
        max-width: calc(100% - 80px) !important;
    }
}

@media (max-width: 767px) {
    #product_details_slider {
        flex-direction: column !important;
    }

    #product_details_slider .carousel-indicators {
        order: 2 !important;
        flex-direction: row !important;
        width: 100% !important;
        max-height: none !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        margin-top: 15px !important;
        justify-content: flex-start !important;
        padding-bottom: 5px !important;
    }

    #product_details_slider .carousel-indicators li {
        width: 60px !important;
        height: 80px !important;
        flex-shrink: 0 !important;
    }

    #product_details_slider .carousel-inner {
        max-width: 100% !important;
        order: 1 !important;
    }
}

/* ─── Slider Controls ─── */
.carousel-control-prev,
.carousel-control-next {
    width: 40px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    color: #000 !important;
    border-radius: 50% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
}

#product_details_slider:hover .carousel-control-prev,
#product_details_slider:hover .carousel-control-next {
    opacity: 1 !important;
}

.carousel-control-prev {
    left: 10px !important;
}

#product_details_slider .carousel-control-prev {
    left: 105px !important;
    /* Thumbnail width (80) + gap (15) + padding (10) */
}

#product_details_slider .carousel-control-next {
    right: 15px !important;
}

@media (max-width: 767px) {
    #product_details_slider .carousel-control-prev {
        left: 15px !important;
    }
}

.carousel-control-next {
    right: 10px !important;
}

.carousel-control-prev i,
.carousel-control-next i {
    font-size: 20px !important;
    font-weight: 700 !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #000 !important;
    color: #fff !important;
}

/* ─── Product Typography ─── */
.det-product-name {
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 1.6rem !important;
    color: #000;
}

.det-price-block {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
}

.det-widget-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #444;
    letter-spacing: 0.2px;
    text-transform: none;
    font-family: 'Montserrat', sans-serif !important;
}

.det-review-meta {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #666;
}

/* ─── Variant Selection ─── */
.new-style-options .variant-option,
.new-style-options .length-btn {
    text-decoration: none;
    font-size: 0.8rem;
    color: #333;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 40px;
    border-radius: 0;
    padding: 0 10px;
    border: 1px solid #efefef !important;
    transition: 0.15s;
    font-weight: 500;
    margin-right: 12px;
    margin-bottom: 12px;
}

.new-style-options .variant-option:hover,
.new-style-options .variant-option.active,
.new-style-options .length-btn:hover,
.new-style-options .length-btn.active {
    border-color: #000 !important;
    background-color: #000 !important;
    color: #fff !important;
}

.disabled-opt {
    opacity: 0.25 !important;
    cursor: not-allowed !important;
    text-decoration: line-through !important;
    pointer-events: none !important;
    border-color: #e0e0e0 !important;
}

/* ─── Quantity Box ─── */
.new-qty-box {
    border: 1px solid #000;
    border-radius: 6px;
    overflow: hidden;
    height: 45px;
    width: 120px;
}

.new-qty-box .qty-text {
    box-shadow: none;
    width: 40px;
    font-size: 1rem;
    font-weight: 500;
    border: none !important;
    background-color: transparent;
}

.new-qty-box .btn {
    background: transparent;
    color: #000;
    height: 100%;
    padding: 0 15px;
    transition: 0.2s;
}

.new-qty-box .btn:hover {
    background: #f8f8f8;
}

.det-comments-textarea {
    border: 1px solid #e1e1e1 !important;
    border-radius: 6px !important;
    font-size: 0.8rem;
    padding: 12px 15px !important;
    background-color: #fff !important;
    color: #333 !important;
    transition: all 0.3s ease !important;
    height: auto !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

select.det-comments-textarea {
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 0.9rem !important;
    padding: 12px 15px !important;
    transition: all 0.3s ease !important;
    background: #fff !important;
}

.det-select-style {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 12px !important;
    padding-right: 40px !important;
    height: 50px !important;
}

.det-comments-textarea:focus,
.det-select-style:focus {
    border-color: #ce9d43 !important;
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(206, 157, 67, 0.15) !important;
}

/* ─── Sheila Cards ─── */
.sheila-card {
    transition: all 0.2s ease;
    border-radius: 6px;
    padding: 15px 12px;
    cursor: pointer;
    position: relative;
    background: #fff;
    display: block;
    height: 100%;
    border: 1px solid #eee;
}

.sheila-card.selected-card {
    border: 1.5px solid #000;
    box-shadow: none;
    padding: 15px 12px;
}

.sheila-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-radio-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #c0cce0;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    margin-right: 15px;
    margin-top: 0px;
    background: #fff;
}

input[type="radio"]:checked+.custom-radio-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3b5998;
    /* Navy blue dot from screenshot */
}

.sheila-badge {
    position: absolute;
    color: #fff !important;
    background: #000 !important;
    border-radius: 50px;
    font-weight: 700;
    white-space: nowrap;
    display: none;
    z-index: 5;
    text-transform: none;
    letter-spacing: 0px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    border: none;
    line-height: 1;
    pointer-events: none;
    /* Prevents badge from blocking clicks */
}

.sheila-card.selected-card .sheila-badge {
    display: block;
}

/* Specific Badge Colors from Screenshot */
.sheila-badge-mid-top {
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 7px 22px;
    font-size: 0.8rem;
}

.sheila-badge-top {
    top: -12px;
    right: -10px;
    padding: 7px 18px;
    font-size: 0.8rem;
}

.sheila-badge-bottom {
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 7px 22px;
    font-size: 0.8rem;
}

/* ─── Buttons ─── */
/* ─── Buttons ─── */
.det-add-cart-btn {
    height: 50px;
    background-color: #fff !important;
    color: #000 !important;
    border: 1.5px solid #000 !important;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0;
    transition: 0.3s;
    width: 280px !important;
    max-width: 100%;
    display: block !important;
    margin: 0 0 15px 0 !important;
}

.det-add-cart-btn:hover {
    background-color: #000 !important;
    color: #fff !important;
}

/* ─── Bought With Section ─── */
.bought-product-card {
    transition: 0.3s;
}

.bought-product-card img {
    border: 1px solid #f0f0f0;
}

.add-small-btn {
    transition: 0.2s;
}

.add-small-btn:hover {
    background: #000 !important;
    color: #fff !important;
}

/* ─── Related Products Slider ─── */
.you_make_like_slider .product-description {
    display: flex !important;
    flex-direction: column !important;
    padding: 15px 5px !important;
    align-items: center !important;
    text-align: center !important;
}

.you_make_like_slider .product-description p {
    order: 1 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #333 !important;
    margin-bottom: 8px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
}

.you_make_like_slider .product-description .product-price {
    order: 2 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ce9d43 !important;
    margin: 0 !important;
    text-align: center !important;
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
    #product_details_slider {
        flex-direction: column !important;
    }

    #product_details_slider .carousel-inner {
        max-width: 100% !important;
    }

    #product_details_slider .carousel-indicators {
        flex-direction: row !important;
        width: 100% !important;
        height: auto !important;
        overflow-x: auto !important;
        padding-bottom: 10px !important;
    }

    #product_details_slider .carousel-indicators li {
        width: 60px !important;
        height: 70px !important;
        flex-shrink: 0 !important;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 4px !important;
    height: 4px !important;
}

::-webkit-scrollbar-track {
    background: #f2f1ed !important;
}

::-webkit-scrollbar-thumb {
    background: #d7b56d !important;
    border-radius: 20px !important;
    transition: background 0.3s ease !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #c5a059 !important;
}

.det-size-guide-link {
    font-size: 0.7rem !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    color: #333 !important;
    cursor: pointer;
    text-transform: uppercase !important;
    letter-spacing: 1.5px;
    border-bottom: none !important;
}

.det-size-guide-link i {
    font-size: 13px;
    margin-right: 5px;
}

/* Color Swatches */
.color-swatch {
    display: inline-block;
    margin-right: 15px;
    padding: 2px;
}

.color-swatch a {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ddd;
    padding: 2px;
    transition: all 0.2s ease;
    background: #fff;
}

.color-swatch a span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.color-swatch a:hover,
.color-swatch a.active {
    border-color: #000;
    transform: scale(1.1);
}

.widget-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 12px;
}

/* Bought With Styling */
.bought-with-container {
    padding: 30px !important;
}

.bought-with-item {
    gap: 15px;
}

.bought-with-name {
    font-size: 0.95rem !important;
    color: #888 !important;
    font-weight: 400 !important;
}

.bought-with-price {
    font-size: 1rem !important;
    color: #000 !important;
    font-weight: 700 !important;
}

.quick-buy-btn {
    border: 1px solid #000 !important;
    background: #fff !important;
    color: #000 !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    letter-spacing: 2px !important;
    padding: 10px 30px !important;
    transition: all 0.3s ease !important;
    border-radius: 4px !important;
    width: auto !important;
    min-width: 200px !important;
}

.quick-buy-btn:hover {
    background: #000 !important;
    color: #fff !important;
}

.bought-with-img img {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}