.victra-variation-form { width: 100%; }
.victra-form-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.victra-color-swatches {
    display: flex;
    gap: 18px;
    margin-bottom: 34px;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.victra-color-swatches label {
    cursor: pointer;
    display: flex;
    align-items: center;
    border: none;
    padding: 0;
    margin: 0;
    background: none;
}
.victra-color-swatches input[type="radio"] { display: none; }
.victra-color-swatches .circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.13);
    display: block;
    transition: border 0.13s, box-shadow 0.13s, width 0.13s, height 0.13s;
}
.victra-color-swatches input[type="radio"]:checked + .circle {
    border: 3.5px solid #ccc;
    width: 32px;
    height: 32px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.17);
}

/* Memory dropdown with custom arrow */
.victra-dropdown-wrap {
    width: 220px;
    margin-bottom: 34px;
    border-bottom: 2px solid #111;
    padding-bottom: 0;
    background: none;
    position: relative;
    display: flex;
    justify-content: center;
}
.victra-dropdown {
    width: 100%;
    border: none;
    font-size: 17px;
    color: #888;
    background: none;
    padding: 0 32px 7px 0;
    outline: none;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-weight: 400;
    box-shadow: none;
    background: none;
    z-index: 2;
    position: relative;
    cursor: pointer;
    text-align: center;
}
.victra-dropdown:focus,
.victra-dropdown option:not([value=""]) { color: #111; }
.victra-dropdown option[value=""] { color: #bbb; }
.victra-dropdown-wrap::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 48%;
    width: 14px;
    height: 14px;
    pointer-events: none;
    background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M5.5 8l4.5 4 4.5-4' stroke='%23222' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center center;
    background-size: 14px 14px;
    transform: translateY(-50%);
    z-index: 3;
}

/* Button */
.victra-pre-order-btn {
    margin-top: 18px;
    width: 270px !important;
    height: 48px;
    border-radius: 999px !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.11) !important; 
    transition: background 0.15s, box-shadow 0.15s, transform 0.11s !important;
    text-align: center !important;
}

.victra-pre-order-btn:hover {
background-color: #c36 !important;
}
.victra-form-error {
    color: #ff2323;
    font-size: 15px;
    margin-bottom: 14px;
    font-weight: 600;
    background: #fff8f8;
    padding: 7px 16px;
    border-radius: 10px;
    box-shadow: 0 0 4px rgba(255,35,35,0.04);
    margin-left: 0;
    text-align: center;
}
/* MODAL styles */
.victra-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0,0,0,0.32);
    align-items: center;
    justify-content: center;
}
.victra-modal.show { display: flex; }
.victra-modal-content {
    background: #fff;
    margin: auto;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    max-width: 50vw;
    min-width: 280px;
    text-align: center;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    /* smooth mobile transitions */
    transition: all .22s cubic-bezier(.4,0,.2,1);
}
.victra-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 28px;
    font-weight: bold;
    color: #222;
    cursor: pointer;
    transition: color 0.18s;
    z-index: 10001;
}
.victra-modal-close:focus,
.victra-modal-close:hover {
    color: #ff2323;
    outline: none;
}

/* Responsive styles for mobile */
@media (max-width: 400px) {
    .victra-modal-content {
        width: 99vw;
        padding: 14px 2vw 18px 2vw;
        border-radius: 10px;
        font-size: 0.97rem;
    }
}
@media (max-width: 600px) {
    .victra-color-swatches { gap: 10px; }
    .victra-dropdown-wrap, .victra-pre-order-btn { width: 98vw; max-width: 98vw; }
    .victra-modal-content { max-width: 98vw; padding: 20px 6vw; }
     .victra-modal-content {
        max-width: 98vw;
        min-width: unset;
        width: 94vw;
        padding: 20px 4vw 24px 4vw;
        border-radius: 12px;
        font-size: 1rem;
        left: 0;
        right: 0;
    }
    .victra-modal-close {
        top: 10px;
        right: 12px;
        font-size: 24px;
    }
    .victra-modal {
        padding: 0;
        align-items: flex-end; /* modal sticks to bottom on mobile, like a sheet */
    }
}