/* ===== General Styling ===== */
.containerr {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.roww {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.coll-md-5,
.coll-md-7 {
    flex: 1;
}

/* ===== Product Image Styling ===== */
.single-product-img img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.single-product-img:hover img {
    transform: scale(1.05);
}

/* ===== Product Details ===== */
.product-title {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 15px;
}

.single-product-pricing {
    font-size: 1.8em;
    color: #ff5733;
    margin-bottom: 20px;
}

.product-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #555;
}

/* ===== Customization Group ===== */
.customization-group {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.customization-label {
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.customization-label i {
    margin-right: 10px;
}

.row-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* ===== Butter Radio Buttons ===== */
input[type="radio"]:checked+label {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

input[type="radio"]+label {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e0e0e0;
    border-radius: 20px;
    border: 2px solid transparent;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

input[type="radio"]:not(:checked)+label:hover {
    background-color: #b3b3b3;
    color: #333;
    transform: translateY(-3px);
}

input[type="radio"]:focus+label {
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.4);
}

/* ===== Input Fields ===== */
.customization-input {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    font-size: 1em;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border 0.3s ease;
}

.customization-input:focus {
    border-color: #4CAF50;
    outline: none;
}

/* ===== Buttons ===== */
.cart-btn {
    padding: 12px 40px;
    background-color: #ff5733;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.cart-btn:hover {
    background-color: #c0392b;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .row-options {
        flex-direction: column;
    }

    .customization-label {
        font-size: 1.1em;
    }
}

/* ===== Color Option Styling ===== */
.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.color-option:hover {
    border-color: #3498db;
}

.color-option.selected {
    border-color: #27ae60;
}

/* ============================================================================================================================= */
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}


.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    max-width: 700px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    animation: modalopen 0.5s;
}

@keyframes modalopen {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: black;
}

.modal-body {
    display: flex;
    margin-top: 20px;
}

.modal-body img {
    width: 100%;
    height: auto;

}

#modal-product-description {
    flex: 1;
}


.review-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background: #fff;
}

.comment {
    margin-top: 10px;
    color: #333;
}

.read-more {
    display: inline-block;
    margin-top: 5px;
    color: #007bff;
    cursor: pointer;
    font-weight: 500;
}


.review-section {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
    overflow: hidden;
}

.review-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
}

.review-slider-wrapper {
    overflow: hidden;
    /* hide scrollbar */
}

.review-slider {
    display: flex;
    gap: 20px;
    animation: slide 10s linear infinite;
}

.review-card {
    flex: 0 0 280px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #c47010;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.review-info {
    display: flex;
    flex-direction: column;
}

.name {
    font-weight: bold;
    color: #333;
    margin: 0;
}

.rating {
    margin-top: 2px;
}

.star {
    font-size: 16px;
    color: #ccc;
}

.star.filled {
    color: #f1c40f;
}

.comment {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    font-style: italic;
    margin-top: 10px;
}

/* Keyframes for infinite scroll */
@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* half because we duplicated slides */
}


.starr-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 5px;
}

.starr-rating input {
    display: none;
}

.starr-rating label {
    font-size: 2rem;
    cursor: pointer;
    color: #ccc;
    /* grey by default */
    transition: color 0.2s;
}

/* Gold when selected */
.starr-rating input:checked~label {
    color: gold;
}


.billing-address-form select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
    background-color: #fff;
    color: #888;
    appearance: none;

}

/* Optional: add custom arrow to select */
.billing-address-form select {
    background-image: url("data:image/svg+xml,%3Csvg fill='gray' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 35px;
    /* space for the arrow */
}

/* Optional: focus effect */
.billing-address-form input:focus,
.billing-address-form select:focus {
    outline: none;
    border-color: #d36e10;
    /* match your theme color */
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}