/* Main Container */
.spc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.spc-product-detail {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.spc-product-gallery {
    flex: 1;
}

.spc-product-info {
    flex: 1;
}

/* Gallery */
.spc-main-image {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.spc-featured-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Product Info */
.spc-breadcrumbs {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.spc-breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.spc-breadcrumbs a:hover {
    color: #333;
}

.spc-category-badge {
    display: inline-block;
    background: #f0f0f0;
    color: #333;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    margin-right: 8px;
    text-decoration: none;
}

.spc-category-badge:hover {
    background: #e0e0e0;
}

.spc-product-title {
    font-size: 28px;
    margin: 15px 0;
    color: #333;
}

.spc-sku {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.spc-price {
    font-size: 24px;
    color: #e74c3c;
    font-weight: bold;
    margin: 20px 0;
}

.spc-price-range {
    color: #333;
}

.spc-description {
    margin: 25px 0;
    line-height: 1.6;
    color: #555;
}

/* Size Selection */
.spc-size-selection {
    margin: 25px 0;
}

.spc-size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.spc-size-option {
    padding: 8px 16px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    color: black;
}

.spc-size-option:hover {
    border-color: #999;
}

.spc-size-option.active {
    border-color: #3498db;
    background: #3498db;
    color: white;
}

/* Quantity */
.spc-quantity {
    margin: 25px 0;
}

.spc-quantity-control {
    display: flex;
    /* align-items: center;
    margin-top: 10px; */
    max-width: 175px;
}

.spc-quantity-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
}

.spc-quantity-btn:hover {
    background: #f5f5f5;
    color: black;
    font-weight: bold;
}

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

/* Action Buttons */
.spc-action-buttons {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.spc-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    text-align: center;
}

.spc-btn-whatsapp {
    background: #25D366;
    color: white;
}

.spc-btn-whatsapp:hover {
    background: #1da851;
}

.spc-btn-checkout {
    background: #3498db;
    color: white;
}

.spc-btn-checkout:hover {
    background: #2980b9;
}

.spc-btn-primary {
    background: #3498db;
    color: white;
    width: 100%;
    padding: 12px;
}

.spc-btn-primary:hover {
    background: #2980b9;
}

/* Stock Info */
.spc-stock-info {
    margin: 15px 0;
    font-size: 14px;
}

.spc-in-stock {
    color: #27ae60;
}

.spc-out-of-stock {
    color: #e74c3c;
}

/* Tags */
.spc-tags {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.spc-tags a {
    color: #3498db;
    text-decoration: none;
}

.spc-tags a:hover {
    text-decoration: underline;
}

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

.spc-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow-x: auto;
    max-height: -webkit-fill-available;
}

.spc-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spc-modal-header h3 {
    margin: 0;
    color: #333;
}

.spc-modal-close {
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.spc-modal-close:hover {
    color: #333;
}

.spc-modal-body {
    padding: 20px;
}

.spc-form-group {
    margin-bottom: 20px;
}

.spc-form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.spc-form-group input,
.spc-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.spc-form-group textarea {
    resize: vertical;
}

.spc-order-summary {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}

.spc-order-summary h4 {
    margin-top: 0;
    color: #333;
}

.spc-order-summary p {
    margin: 8px 0;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .spc-product-detail {
        flex-direction: column;
    }

    .spc-action-buttons {
        flex-direction: column;
    }

    .spc-btn {
        width: 100%;
    }
}