.sp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}


.sp-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(122, 74, 18, 0.15);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.sp-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sp-logo {
    font-size: 24px;
    font-weight: bold;
    color: #7A4A12;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-logo i {
    font-size: 28px;
}

/* Header actions */
.sp-header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.sp-cart-icon {
    position: relative;
    font-size: 22px;
    color: #5C370C;
    cursor: pointer;
}

.sp-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #C2410C;
    color: #ffffff;
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Breadcrumb */
.sp-breadcrumb {
    background-color: #FFF4DB;
    padding: 12px 20px;
    border-radius: 4px;
    margin: 20px 0;
    font-size: 14px;
}

.sp-breadcrumb a {
    color: #7A4A12;
    text-decoration: none;
}

.sp-breadcrumb a:hover {
    text-decoration: underline;
}

.sp-breadcrumb span {
    color: #8A7A6A;
}

/* Main Content */
.sp-product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(122, 74, 18, 0.12);
}

/* Product Image Section */
.sp-product-image-section {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.sp-book-cover {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(122, 74, 18, 0.25);
    margin-bottom: 20px;
    align-self: center;
}

.sp-assured-badge {
    display: inline-flex;
    align-items: center;
    background-color: #FCEDE6;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
    color: #7A4A12;
    font-size: 14px;
    margin-bottom: 20px;
    align-self: center;
}

.sp-assured-badge i {
    margin-right: 8px;
    font-size: 18px;
}

/* Buttons Container Below Image */
.sp-image-side-buttons {
    margin-top: 10px;
    width: 100%;
    max-width: 320px;
    align-self: center;
}

.sp-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.sp-btns {
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    width: 100%;
}

.sp-btn-buy {
    background-color: #F5BA5E;
    color: #5C370C;
}

.sp-btn-buy:hover {
    background-color: #E9A93C;
    box-shadow: 0 4px 12px rgba(245, 186, 94, 0.4);
}

.sp-btn-cart {
    background-color: #7A4A12;
    color: #ffffff;
}

.sp-btn-cart:hover {
    background-color: #5C370C;
    box-shadow: 0 4px 12px rgba(122, 74, 18, 0.4);
}

.sp-btns i {
    font-size: 18px;
}

/* Quantity Selector */
.sp-quantity-selector {
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sp-quantity-label {
    font-weight: 600;
    color: #5C370C;
}

.sp-quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #E6D5B8;
    border-radius: 4px;
    overflow: hidden;
    width: fit-content;
}

.sp-quantity-btn {
    background-color: #FCEDE6;
    border: none;
    width: 36px;
    height: 36px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-quantity-btn:hover {
    background-color: #F5BA5E;
}

.sp-quantity-input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid #E6D5B8;
    border-right: 1px solid #E6D5B8;
    font-size: 16px;
    font-weight: 600;
    color: #5C370C;
}

/* Product Details */
.sp-product-details {
    flex: 2;
    min-width: 300px;
}

.sp-product-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #5C370C;
    line-height: 1.4;
}

.sp-product-subtitle {
    color: #8A7A6A;
    margin-bottom: 15px;
    font-size: 15px;
}

.sp-ratings {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.sp-rating-box {
    background-color: #2ECC71;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.sp-rating-box i {
    margin-right: 5px;
    font-size: 12px;
}

.sp-rating-count {
    color: #8A7A6A;
    font-size: 14px;
}

/* Price */
.sp-price-section {
    background-color: #FFF4DB;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.sp-current-price {
    font-size: 32px;
    font-weight: 700;
    color: #5C370C;
}

.sp-original-price {
    font-size: 18px;
    color: #8A7A6A;
    text-decoration: line-through;
    margin-left: 10px;
}

.sp-discount {
    color: #2ECC71;
    font-weight: 600;
    font-size: 16px;
    margin-left: 10px;
}

.sp-special-offer {
    color: #2ECC71;
    font-weight: 600;
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.sp-special-offer i {
    margin-right: 8px;
}

/* Coupons and Offers */
.sp-coupons,
.sp-offers {
    margin-top: 25px;
    padding: 20px;
    border: 1px dashed #E6D5B8;
    border-radius: 8px;
    background-color: #FFFDF5;
}

.sp-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #5C370C;
    display: flex;
    align-items: center;
}

.sp-section-title i {
    margin-right: 10px;
    color: #7A4A12;
}

.sp-coupon-item,
.sp-offer-item {
    padding: 12px 0;
    border-bottom: 1px solid #E6D5B8;
    display: flex;
    align-items: center;
}

.sp-coupon-item:last-child,
.sp-offer-item:last-child {
    border-bottom: none;
}

.sp-coupon-item i,
.sp-offer-item i {
    color: #2ECC71;
    margin-right: 12px;
    font-size: 16px;
}

.sp-view-more {
    color: #7A4A12;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    display: inline-block;
}

/* Delivery Section */
.sp-delivery-section {
    margin-top: 25px;
    padding: 20px;
    border: 1px solid #E6D5B8;
    border-radius: 8px;
}

.sp-delivery-input {
    display: flex;
    margin: 15px 0;
    max-width: 400px;
}

.sp-delivery-input input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #E6D5B8;
    border-radius: 4px 0 0 4px;
    font-size: 15px;
}

.sp-delivery-input button {
    background-color: #7A4A12;
    color: #ffffff;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
}

.sp-delivery-info {
    background-color: #FCEDE6;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
    display: flex;
    align-items: center;
}

.sp-delivery-info i {
    color: #2ECC71;
    margin-right: 10px;
    font-size: 18px;
}

/* Cart Notification */
.sp-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #2ECC71;
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.sp-notification i {
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sp-product-container {
        padding: 15px;
        gap: 20px;
    }

    .sp-product-title {
        font-size: 20px;
    }

    .sp-current-price {
        font-size: 28px;
    }

    .sp-original-price {
        font-size: 16px;
    }

    .sp-btns {
        padding: 14px 20px;
    }

    .sp-delivery-input {
        flex-direction: column;
    }

    .sp-delivery-input input {
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .sp-delivery-input button {
        border-radius: 4px;
        padding: 12px;
    }

    .sp-image-side-buttons {
        max-width: 100%;
    }

    .sp-book-cover {
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .sp-header-container {
        flex-direction: column;
        gap: 10px;
    }

    .sp-ratings {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .sp-price-section {
        padding: 15px;
    }

    .sp-coupons,
    .sp-offers,
    .sp-delivery-section {
        padding: 15px;
    }

    .sp-btns {
        width: 100%;
    }

    .sp-product-image-section {
        min-width: 100%;
    }

    .sp-book-cover {
        max-width: 250px;
    }
}
