@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;700&display=swap');

:root {
    --premium-primary: #e31019; /* Shwapno Red */
    --premium-secondary: #fcd514; /* Shwapno Yellow (User requested #fcd514) */
    --premium-accent: #e31019;
    --premium-text-main: #111111;
    --premium-text-muted: #888888;
    --premium-bg-light: #ffffff;
    --premium-glass: rgba(255, 255, 255, 0.95);
    --premium-glass-border: rgba(0, 0, 0, 0.1);
    --premium-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --premium-font: 'Outfit', sans-serif !important;
    --luxury-font: 'Playfair Display', serif;
}

body {
    font-family: var(--premium-font);
    overflow-x: hidden !important;
}

/* --- Layout Enhancements --- */
.main-details-page {
    background-color: #fff;
    padding: 20px 0;
}

.product-section {
    background: #fff;
    padding: 0;
}

/* --- Gallery Layout (Side Thumbnails) --- */
.gallery-container {
    display: flex;
    gap: 20px;
}

.indicator_thumb_beside {
    width: 90px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.indicator_thumb_beside .indicator-item {
    width: 90px;
    height: 90px;
    border: 1px solid #eee;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
}

.indicator_thumb_beside .indicator-item.active {
    border-color: var(--premium-primary);
    box-shadow: 0 0 0 2px rgba(227, 16, 25, 0.1);
}

.indicator_thumb_beside .indicator-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main_image_area {
    position: relative;
    flex: 1;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.details_slider .dimage_item img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

/* --- Product Info --- */
.name {
    font-family: var(--luxury-font) !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: var(--premium-dark);
    line-height: 1.2 !important;
    margin-bottom: 12px;
}

.details-price {
    margin-bottom: 25px;
}

.details-price span {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: var(--premium-primary);
}

/* --- Action Buttons (Image Match) --- */
.luxury-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-row-top {
    display: flex;
    gap: 10px;
}

.add_cart_btn, .order_now_btn {
    flex: 1;
    height: 55px;
    border-radius: 5px !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-transform: none !important;
    padding: 0 15px !important;
}

.add_cart_btn {
    background: #0e365c !important; /* Navy */
}

.order_now_btn {
    background: #d13642 !important; /* Red */
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* --- Action Buttons --- */
input.add_cart_btn, button.add_cart_btn, .add_cart_btn {
    background: #fcd514 !important;
    color: #000000 !important;
    border: 1px solid #fcd514 !important;
    border-radius: 6px !important;
    padding: 0 20px !important;
    height: 55px !important;
    line-height: 55px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-align: center !important;
    display: inline-block !important;
}

input.add_cart_btn:hover, button.add_cart_btn:hover, .add_cart_btn:hover {
    background: #e6c212 !important;
    transform: translateY(-2px) !important;
}

input.order_now_btn, button.order_now_btn, .order_now_btn {
    background: #e31019 !important;
    color: #ffffff !important;
    border: 1px solid #e31019 !important;
    border-radius: 6px !important;
    padding: 0 20px !important;
    height: 55px !important;
    line-height: 55px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-align: center !important;
    display: inline-block !important;
}

input.order_now_btn:hover, button.order_now_btn:hover, .order_now_btn:hover {
    background: #c20d15 !important;
    transform: translateY(-2px) !important;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none !important;
    border-radius: 6px !important;
}

.bg-orange {
    background: #000 !important; /* Change orange to black for brand consistency */
    color: #fff !important;
}

.bg-orange:hover {
    background: #222 !important;
}

/* --- Delivery Charge Area --- */
.del_charge_area {
    margin-top: 10px;
}

.del_charge_box {
    border: 1px solid #d13642;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
}

.del_charge_box i {
    font-size: 40px;
    color: #000;
}

.del_charge_text {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #000;
}

/* --- Variant Selection --- */
.color-item input:checked + label {
    border-color: var(--premium-primary) !important;
    transform: scale(1.1);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--premium-primary);
}

.size-item input:checked + label {
    background: var(--premium-primary) !important;
    color: #fff !important;
    border-color: var(--premium-primary) !important;
}

.details-metadata .uppercase {
    letter-spacing: 1px;
    font-size: 11px;
}

/* --- Wholesale Section --- */
.wholesale-pricing-section {
    margin-top: 20px;
    padding: 15px;
    border: 1px dashed #ddd;
    border-radius: 8px;
    background: #fdfdfd;
}

/* --- Luxury Sidebar List (Match Reference Image) --- */
.luxury-sidebar-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.luxury-sidebar-list li {
    padding: 22px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.luxury-sidebar-list li span {
    font-weight: 800;
    color: #1a1a1a;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.luxury-sidebar-list li i.fa-chevron-right {
    color: #ccc;
    font-size: 14px;
}

.luxury-sidebar-list li:hover span {
    color: var(--premium-primary);
}

/* --- Premium Sidebars --- */
/* --- Premium Drawers (Consolidated) --- */
.premium-drawer {
    position: fixed;
    top: 0 !important;
    right: -550px;
    width: 500px;
    height: 100vh;
    background: #fff;
    z-index: 2147483647 !important; /* Max possible z-index */
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    visibility: hidden;
    overflow-y: auto;
}

.premium-drawer.active {
    right: 0;
    visibility: visible;
}

.drawer-overlay {
    position: fixed;
    top: 0 !important;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 2147483646 !important;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.drawer-header {
    padding: 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-content {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

body.drawer-open {
    overflow: hidden;
}

/* --- Premium Info Table --- */
.premium-info-table {
    border: none;
    font-size: 14px;
}

.premium-info-table th {
    background: #fcfcfc;
    color: #555;
    font-weight: 600;
    border-color: #eee;
}

.premium-info-table td {
    color: #1a1a1a;
    border-color: #eee;
}

.premium-info-table .badge {
    padding: 6px 12px;
    font-weight: 600;
    border-radius: 4px;
}

/* --- Star Rating Input --- */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
    color: #ffc107;
}

.add-review-section {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
}

.form-control:focus {
    border-color: var(--premium-primary);
    box-shadow: 0 0 0 0.2rem rgba(227, 16, 25, 0.1);
}

@media (max-width: 991px) {
    .gallery-container {
        flex-direction: column;
    }
    .indicator_thumb_beside {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
    }
    .premium-drawer {
        width: 100%;
        right: -100%;
    }
}
/* --- Related Products Slider Nav --- */
.related_product_slider {
    position: relative;
}

.related_product_slider .owl-stage {
    display: flex;
}

.related_product_slider .owl-item {
    display: flex;
}

.related_product_slider .owl-item .pro-p-card {
    width: 100%;
}

.related_product_slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px !important;
    height: 35px !important;
    background: var(--premium-secondary) !important;
    color: #000 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0.8;
}

.related_product_slider .owl-nav button:hover {
    background: var(--premium-primary) !important;
    color: #fff !important;
    opacity: 1;
}

.related_product_slider .owl-prev {
    left: -15px;
}

.related_product_slider .owl-next {
    right: -15px;
}

@media (max-width: 768px) {
    .related_product_slider .owl-nav {
        display: none;
    }
}
