:root {
    --theme-color: #ff6f00;
}

/* Product Page Enhanced CSS */

/* --- Card & Layout Enhancements --- */
.details-items {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.ratio_asos .img-fluid {
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.ratio_asos:hover .img-fluid {
    transform: scale(1.02);
}

/* --- Typography & Header --- */
.details-image-concept h2 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #232323, #4a4a4a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.label-section .badge {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.label-section .label-text {
    color: #888;
    margin-left: 10px;
    font-weight: 500;
}

.price-detail {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6f00;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-detail span.original-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.price-detail span.discount-tag {
    font-size: 0.9rem;
    background: #ffe3e3;
    color: #d63031;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    vertical-align: middle;
}

/* --- Features Grid --- */
.product-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.feature-item {
    text-align: center;
    padding: 15px;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: #ff6f00;
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
    color: #ff6f00;
    background: rgba(255, 111, 0, 0.1);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
    /* Bouncy pop */
}

.feature-item:hover .feature-icon {
    transform: scale(1.15);
    background: #ff6f00;
    /* Solid Orange Pop */
    color: white;
}

.feature-text {
    font-size: 12px;
    font-weight: 600;
    color: #444;
    line-height: 1.4;
}

/* --- Quantity & Actions --- */
.qty-box {
    background: #f9f9f9;
    border-radius: 50px;
    padding: 5px;
    display: inline-block;
    border: 1px solid #eee;
}

.qty-box .input-group {
    width: auto;
    flex-wrap: nowrap;
}

.qty-box .btn {
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff6f00;
    /* User requested orange fill */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: none;
    color: white;
    /* White icon */
    transition: all 0.3s ease;
}

.qty-box .btn:hover {
    background: #e65100;
}

.qty-box .input-number {
    background: transparent;
    border: none;
    width: 50px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    padding: 0;
}

.product-buttons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.btn-add-cart {
    flex: 1;
    background: #ff6f00;
    color: white;
    font-size: 16px;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(255, 111, 0, 0.3);
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 111, 0, 0.4);
    background: #e65100;
    color: white;
}

.btn-wishlist-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    background: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.btn-wishlist-circle:hover {
    border-color: #ff4757;
    color: #ff4757;
    background: #fff0f1;
}

/* --- Trust Section --- */
.trust-badges {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.trust-item i {
    color: #27ae60;
    font-size: 16px;
}

/* --- Details Content --- */
.product-ingredients,
.product-description {
    margin-top: 20px;
    line-height: 1.7;
    color: #555;
    background: #fcfcfc;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--theme-color);
}

.product-title-2 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: #222;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .details-items {
        padding: 20px;
    }

    .product-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: white;
        padding: 15px;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        margin: 0;
    }

    body {
        padding-bottom: 80px;
        /* Space for fixed footer */
    }

    .details-image-concept h2 {
        font-size: 1.8rem;
    }
}

/* --- Modal Cleanup (User Request) --- */

/* Modern Backdrop with Blur */
.modal-backdrop.show {
    opacity: 0.6 !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(15, 23, 42, 0.4) !important;
}

/* Modal Card Cleanup */
.cart-modal .modal-content,
.quick-view-modal .modal-content {
    border: none;
    border-radius: 24px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: #ffffff;
    overflow: hidden;
}

/* Header Cleanup */
.cart-modal .modal-header,
.quick-view-modal .modal-header {
    border-bottom: 1px solid #f1f5f9;
    padding: 20px 24px;
    background: #fff;
    position: relative;
    z-index: 10;
}

/* Title Styling */
.cart-modal .modal-title,
.quick-view-modal .modal-title {
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.02em;
}

/* Close Button Position */
.cart-modal .btn-close,
.quick-view-modal .btn-close {
    /* Reset abstract positioning */
    top: auto !important;
    right: 20px !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    width: 32px !important;
    height: 32px !important;
    background: #f1f5f9 !important;
    border-radius: 50%;
    opacity: 1;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.cart-modal .btn-close:hover,
.quick-view-modal .btn-close:hover {
    background: #e2e8f0 !important;
    transform: translateY(-50%) rotate(90deg) !important;
}

.cart-modal .btn-close::before,
.quick-view-modal .btn-close::before {
    font-size: 14px !important;
    color: #64748b;
    line-height: 1;
}

/* Success Message Area */
.cart-modal .modal-messages {
    background: #f0fdf4 !important;
    /* Soft Green */
    border: 1px solid #dcfce7 !important;
    color: #166534 !important;
    border-radius: 12px;
    padding: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.cart-modal .modal-messages i {
    background: #166534 !important;
    color: white;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 10px;
}

/* Product Area */
.cart-modal .modal-product {
    padding: 10px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.cart-modal .modal-contain-details h4 {
    font-size: 16px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 4px;
}

.cart-modal .product-total h5 {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.cart-modal .product-total h5 span {
    color: #0f172a;
    font-weight: 700;
    font-size: 16px;
    margin-left: 8px;
}

/* Buttons */
.cart-modal .shop-cart-button {
    gap: 10px;
    display: flex;
}

.cart-modal .conti-button {
    border-radius: 12px !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    border: none !important;
    text-transform: none !important;
    transition: all 0.2s;
}

.cart-modal .conti-button.default-light-theme {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.cart-modal .conti-button.default-light-theme:hover {
    background: #e2e8f0 !important;
    color: #1e293b !important;
}

.cart-modal .conti-button.default-theme {
    background: var(--theme-color) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.25);
}

.cart-modal .conti-button.default-theme:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 111, 0, 0.3);
}