/* Hide the default radio */
.size-options input[type="radio"] {
    display: none;
}

/* Style the label like a button */
.size-label {
    display: inline-block;
    padding: 8px 16px;
    margin: 5px;
    border: 2px solid #ccc;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    background-color: #f8f8f8;
}

/* Selected (checked) style */
/* .size-options input[type="radio"]:checked + .size-label {
    background-color: #734a90; 
    color: white;
    border-color: #734a90;
} */
input[type="radio"].peer:checked + label.size-label {
    background-color: #734a90;
    color: white;
    border-color: #734a90;
}

.size-label:hover {
    background-color: #e0e0e0;
}

:root {
    --primary-color: #734a90;
    --secondary-color: #f8f9fa;
    --border-color: #dee2e6;
}

body {
    background-color: #f8f9fa;
    font-family: "Arial", sans-serif;
}

.checkout-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 15px;
}

.checkout-header {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.checkout-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.section-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.section-content {
    padding: 2rem;
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    align-items: center;
    margin: 0 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 0.5rem;
}

.step.active .step-number {
    background: var(--primary-color);
    color: white;
}

.step.completed .step-number {
    background: #28a745;
    color: white;
}

.step-connector {
    width: 50px;
    height: 2px;
    background: #e9ecef;
    margin: 0 1rem;
}

.step.completed + .step .step-connector,
.step.active .step-connector {
    background: var(--primary-color);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(115, 74, 144, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #5c3a73;
    border-color: #5c3a73;
}

.shipping-option {
    transition: all 0.3s ease;
    cursor: pointer;
}

.shipping-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.shipping-option .form-check-input:checked ~ .form-check-label {
    color: var(--primary-color);
}

.order-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.summary-row.total {
    border-top: 2px solid var(--primary-color);
    padding-top: 1rem;
    margin-top: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none !important;
}

.payment-form {
    max-width: 500px;
}

#card-element {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
}

.cart-item-row {
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

.cart-item-row:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

/* .thumb img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
} */

.product-image-carousel {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-item img {
    height: 400px;
    object-fit: cover;
}

.carousel-indicators {
    bottom: -30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 3px;
}

.size-label {
    display: inline-block;
    padding: 8px 16px;
    margin: 4px;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-label:hover {
    border-color: #007bff;
    background-color: #f8f9fa;
}

input[name="size_id"]:checked + .size-label {
    border-color: #007bff;
    background-color: #007bff;
    color: white;
}

.btn-group-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-group-actions .btn {
    flex: 1;
    min-width: 120px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    max-width: 150px;
    margin: 15px 0;
}

.quantity-controls button {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-controls input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
}

.blog-item-box {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info h3 {
    color: #333;
    margin: 15px 0 10px 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.meta ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
    margin: 10px 0;
}

.meta li {
    color: #666;
    font-size: 0.9rem;
}

.cats a {
    background: #734a90;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.8rem;
}

.product-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #734a90;
    margin: 15px 0;
}

/* Mobile-specific styles for shop banner */
@media only screen and (max-width: 767px) {
    .breadcrumb-area.bg-fixed {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        min-height: 250px;
        padding: 100px 0;
        background-repeat: no-repeat !important;
    }

    .breadcrumb-area.bg-fixed .container {
        position: relative;
        z-index: 2;
    }

    .breadcrumb-area.bg-fixed h2 {
        font-size: 32px !important;
        margin-bottom: 15px;
    }
}

/* Additional mobile optimization for very small screens */
@media only screen and (max-width: 480px) {
    .breadcrumb-area.bg-fixed {
        min-height: 200px;
        padding: 80px 0;
    }

    .breadcrumb-area.bg-fixed h2 {
        font-size: 28px !important;
    }
}
