.smfb-container {
    background-color: #0d0d0d;
    color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.5);
}

.smfb-header {
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.smfb-logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
}

.smfb-accent-text {
    color: #e30613;
}

.smfb-section {
    margin-bottom: 35px;
}

.smfb-section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Products Grid */
.smfb-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1-fraction));
    gap: 12px;
    margin-bottom: 20px;
}

@media(min-width: 600px) {
    .smfb-products-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.smfb-product-card {
    background-color: #121212;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.25s ease;
}

.smfb-product-card:hover {
    border-color: #e30613;
}

.smfb-product-card.selected {
    border-color: #e30613;
    box-shadow: 0 0 10px rgba(227, 6, 19, 0.2);
}

.smfb-product-img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 8px;
}

.smfb-product-img-placeholder {
    width: 100%;
    height: 80px;
    background-color: #1a1a1a;
    border-radius: 4px;
    margin-bottom: 8px;
}

.smfb-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #e30613;
    color: #fff;
    font-size: 8px;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: bold;
}

.smfb-product-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.smfb-checkbox-custom {
    width: 14px;
    height: 14px;
    border: 1px solid #444;
    border-radius: 3px;
    display: inline-block;
    position: relative;
}

.smfb-product-card.selected .smfb-checkbox-custom {
    background-color: #e30613;
    border-color: #e30613;
}

.smfb-product-card.selected .smfb-checkbox-custom::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 7px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.smfb-product-name {
    font-size: 11px;
    font-weight: 600;
}

/* Custom Input */
.smfb-custom-input-wrap {
    margin-top: 15px;
}

.smfb-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 6px;
    font-weight: 700;
}

.smfb-custom-input {
    width: 100%;
    background-color: #121212;
    border: 1px solid #222;
    border-radius: 6px;
    padding: 10px 14px;
    color: #fff;
    font-size: 13px;
}

.smfb-custom-input:focus {
    border-color: #e30613;
    outline: none;
}

/* File Uploader Row */
.smfb-upload-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media(min-width: 768px) {
    .smfb-upload-row {
        grid-template-columns: 1.5fr 1fr;
    }
}

.smfb-upload-box {
    border: 1px dashed #e30613;
    background-color: #121212;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.smfb-upload-icon {
    width: 40px;
    height: 40px;
    color: #e30613;
    margin-bottom: 12px;
}

.smfb-btn-upload {
    background-color: #e30613;
    border: none;
    color: white;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
}

.smfb-side-box {
    background-color: #121212;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.smfb-quote-icon {
    width: 35px;
    height: 35px;
    color: #e30613;
    margin-bottom: 12px;
}

.smfb-side-text {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Colors Panel */
.smfb-color-palette-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.smfb-color-circles {
    display: flex;
    gap: 8px;
    align-items: center;
}

.smfb-color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
}

.smfb-color-dot.selected {
    border-color: #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.smfb-color-add-plus {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px dashed #666;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    cursor: pointer;
}

/* Dropdowns Grid */
.smfb-dropdowns-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media(min-width: 600px) {
    .smfb-dropdowns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 900px) {
    .smfb-dropdowns-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.smfb-dropdown-item select {
    width: 100%;
    background-color: #121212;
    border: 1px solid #222;
    padding: 10px;
    border-radius: 6px;
    color: #fff;
}

/* Sizes and Qty Layout */
.smfb-size-qty-flex {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

@media(min-width: 768px) {
    .smfb-size-qty-flex {
        flex-direction: row;
    }
    .smfb-half {
        width: 50%;
    }
}

.smfb-sizes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.smfb-size-item {
    background-color: #121212;
    border: 1px solid #222;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
}

.smfb-size-item.selected {
    border-color: #e30613;
}

.smfb-qty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.smfb-quantity-card {
    background-color: #121212;
    border: 1px solid #222;
    padding: 12px;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
}

.smfb-quantity-card.selected {
    border-color: #e30613;
}

/* Textarea & Notes */
textarea {
    width: 100%;
    background-color: #121212;
    border: 1px solid #222;
    border-radius: 6px;
    padding: 15px;
    color: #fff;
    font-size: 13px;
    resize: none;
}

textarea:focus {
    border-color: #e30613;
    outline: none;
}

/* Submit Trigger Button */
.smfb-submit-wrap {
    text-align: center;
    margin-top: 30px;
}

.smfb-btn-submit {
    background-color: #e30613;
    color: white;
    font-weight: bold;
    border: none;
    padding: 15px 40px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    letter-spacing: 1px;
    width: 100%;
}
