/* =========================================
   PRODUCT DETAILS
========================================= */

.product-details-section {
    background: #050505;
    padding: 90px 0;
    min-height: 70vh;
}


/* =========================================
   PRODUCT IMAGE
========================================= */

.product-details-image {
    width: 100%;
    height: 550px;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-details-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 40px;
}


/* =========================================
   PRODUCT CONTENT
========================================= */

.product-details-content {
    padding: 20px 0;
}

.product-category {
    color: #d4af37;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.product-details-content h1 {
    color: #ffffff;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 18px;
}


/* =========================================
   RATING
========================================= */

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #d4af37;
    margin-bottom: 20px;
}

.product-rating span {
    color: #d4af37;
    margin-left: 8px;
    font-size: 14px;
}


/* =========================================
   PRICE
========================================= */

.product-details-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.current-price {
    color: #d4af37;
    font-size: 30px;
    font-weight: 700;
}

.old-price {
    color: #777;
    font-size: 19px;
    text-decoration: line-through;
}


/* =========================================
   DESCRIPTION
========================================= */

.product-description {
    color: #aaa;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}


/* =========================================
   STOCK
========================================= */

.product-stock {
    color: #d4af37;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
}

.product-stock i {
    margin-right: 7px;
}


/* =========================================
   QUANTITY
========================================= */

.quantity-box {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.quantity-btn {
    width: 42px;
    height: 42px;
    border: none;
    background: #111;
    color: #d4af37;
    font-size: 20px;
    cursor: pointer;
}

.quantity-btn:hover {
    background: #d4af37;
    color: #111;
}

.quantity-box input {
    width: 55px;
    height: 42px;
    border: none;
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    background: #0b0b0b;
    color: #ffffff;
    text-align: center;
    outline: none;
}


/* =========================================
   ADD TO CART
========================================= */

.add-to-cart-btn {
    width: 240px;
    height: 52px;
    padding: 0 24px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: #111;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}
.add-to-cart-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 576px) {
    .add-to-cart-btn {
        width: 100%;
        max-width: 240px;
    }
}


/* =========================================
   WISHLIST
========================================= */

.add-wishlist-btn {
    width: 100%;
    padding: 13px 20px;

    background: transparent;

    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 8px;

    color: #d4af37;

    font-size: 14px;
    font-weight: 600;

    transition: all 0.3s ease;
}

.add-wishlist-btn:hover {
    background: #d4af37;
    color: #111;
}
/* Hide number input spinner arrows */
.quantity-box input[type="number"]::-webkit-inner-spin-button,
.quantity-box input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

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

/* =========================================
   OUT OF STOCK
========================================= */

.out-of-stock-btn {
    width: 100%;
    padding: 14px 20px;

    background: #222;
    border: 1px solid #333;
    border-radius: 8px;

    color: #777;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .product-details-section {
        padding: 70px 0;
    }

    .product-details-image {
        height: 450px;
    }

    .product-details-content h1 {
        font-size: 34px;
    }

}


@media (max-width: 575px) {

    .product-details-section {
        padding: 50px 0;
    }

    .product-details-image {
        height: 350px;
    }

    .product-details-image img {
        padding: 25px;
    }

    .product-details-content h1 {
        font-size: 28px;
    }

    .current-price {
        font-size: 26px;
    }

}

/* ==========================================
   PRODUCT IMAGE GALLERY
========================================== */

.product-gallery {
    width: 100%;
}


/* Main Image Area */

.product-gallery-main {
    position: relative;
    width: 100%;
    height: 610px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}


.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


/* Arrows */

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 46px;
    height: 46px;

    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.75);
    color: #D4AF37;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;

    cursor: pointer;

    z-index: 5;

    transition: all 0.3s ease;
}


.gallery-arrow:hover {
    background: #D4AF37;
    color: #111;
}


.gallery-prev {
    left: 18px;
}


.gallery-next {
    right: 18px;
}


/* Thumbnails */

.product-gallery-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    overflow-x: auto;
}


.gallery-thumbnail {
    width: 78px;
    height: 78px;

    padding: 4px;

    flex-shrink: 0;

    background: #fff;

    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 10px;

    overflow: hidden;

    cursor: pointer;

    transition: all 0.3s ease;
}


.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


.gallery-thumbnail:hover,
.gallery-thumbnail.active {
    border-color: #D4AF37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.20);
}


/* Mobile */

@media (max-width: 991px) {

    .product-gallery-main {
        height: 500px;
    }

}


@media (max-width: 576px) {

    .product-gallery-main {
        height: 400px;
        border-radius: 14px;
    }


    .gallery-arrow {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }


    .gallery-prev {
        left: 10px;
    }


    .gallery-next {
        right: 10px;
    }


    .gallery-thumbnail {
        width: 65px;
        height: 65px;
    }

}
/* ==========================================
   PRODUCT PRICE
========================================== */

.product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 20px 0;
}

.old-price {
    font-size: 20px;
    color: #888;
    text-decoration: line-through;
}

.sale-price {
    font-size: 30px;
    font-weight: 700;
    color: #D4AF37;
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 5px;
    background: #D4AF37;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
















/* ==========================================
   COUPON
========================================== */

.product-coupon {
    margin: 25px 0;
}

.product-coupon label {
    display: block;
    margin-bottom: 8px;
    color: #D4AF37;
    font-size: 14px;
    font-weight: 600;
}

.coupon-row {
    display: flex;
    gap: 10px;
    max-width: 450px;
}

.coupon-row input {
    flex: 1;
    height: 48px;
    padding: 0 15px;
    background: #111;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 7px;
    color: #fff;
    outline: none;
}

.coupon-row input:focus {
    border-color: #D4AF37;
}

.coupon-row input::placeholder {
    color: #777;
}

.coupon-row button {
    height: 48px;
    padding: 0 22px;
    border: 1px solid #D4AF37;
    border-radius: 7px;
    background: #D4AF37;
    color: #111;
    font-weight: 700;
    cursor: pointer;
}

.coupon-row button:hover {
    background: transparent;
    color: #D4AF37;
}

.coupon-row button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#couponMessage {
    margin-top: 10px;
    font-size: 13px;
}

.coupon-success {
    color: #D4AF37;
}

.coupon-success strong {
    display: block;
    margin-top: 4px;
}

.coupon-error {
    color: #dc3545;
}

/* ==========================================
   RECOMMENDED PRODUCTS
========================================== */

.recommended-products-section {
    padding: 70px 0 80px;
    background: #050505;
}

.recommended-heading {
    text-align: center;
    margin-bottom: 40px;
}

.recommended-subtitle {
    display: block;
    color: #D4AF37;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.recommended-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 34px;
    font-weight: 600;
}

.recommended-heading p {
    margin: 10px 0 0;
    color: #888;
    font-size: 15px;
}


/* 5 PRODUCTS IN ONE ROW */

.recommended-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}


/* CARD */

.recommended-product-card {
    background: #0d0d0d;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.recommended-product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.12);
}


/* IMAGE */

.recommended-product-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
    background: #fff;
    overflow: hidden;
}

.recommended-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.recommended-product-card:hover
.recommended-product-image img {
    transform: scale(1.05);
}


/* SALE BADGE */

.recommended-sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    background: #D4AF37;
    color: #111;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
}


/* INFO */

.recommended-product-info {
    padding: 18px;
}

.recommended-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 8px;
}

.recommended-rating i {
    color: #D4AF37;
    font-size: 12px;
}

.recommended-rating span {
    margin-left: 5px;
    color: #888;
    font-size: 12px;
}

.recommended-product-info h3 {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.4;
}

.recommended-product-info h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recommended-product-info h3 a:hover {
    color: #D4AF37;
}


/* PRICE */

.recommended-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.recommended-old-price {
    color: #777;
    font-size: 14px;
    text-decoration: line-through;
}

.recommended-sale-price {
    color: #D4AF37;
    font-size: 19px;
    font-weight: 700;
}


/* BUTTON */

.recommended-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 6px;
    color: #D4AF37;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.recommended-view-btn:hover {
    background: #D4AF37;
    color: #111;
}


/* RESPONSIVE */

@media (max-width: 1199px) {

    .recommended-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

}

@media (max-width: 991px) {

    .recommended-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 767px) {

    .recommended-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .recommended-product-image {
        height: 220px;
    }

}

@media (max-width: 480px) {

    .recommended-products-grid {
        grid-template-columns: 1fr;
    }

}