/*
 * Huteco — Order Form
 */

.huteco-order-form {
    --of-bg:           #dbeeff;
    --of-accent:       #27b3e9;
    --of-accent-hover: #1a95c8;
    --of-red:          #e63946;
    --of-text:         #1a1a2e;
    --of-text-muted:   rgba(26,26,46,0.6);
    --of-border:       #c8d8ea;
    --of-input-bg:     #ffffff;
    --of-radius:       10px;
    --of-font:         var(--huteco-font, 'Inter', sans-serif);
}

.huteco-order-form {
    background: var(--of-bg);
    padding: 3rem 0 3.5rem;
    position: relative;
}

.huteco-of__inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 var(--huteco-container-px, 1rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

/* ── Heading ────────────────────────────────────────────────────────────── */
.huteco-of__heading {
    font-family: var(--of-font);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 900;
    color: var(--of-text);
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-align: center;
    margin: 0;
}

/* ── Promo bar ──────────────────────────────────────────────────────────── */
.huteco-of__promo-bar {
    background: rgba(255,255,255,0.85);
    border-radius: 999px;
    padding: 10px 28px;
    font-family: var(--of-font);
    font-size: 1rem;
    color: var(--of-text);
    text-align: center;
    width: 100%;
    max-width: 440px;
    border: 1.5px solid rgba(39,179,233,0.2);
}

.huteco-of__promo-bar strong {
    color: var(--of-red);
    font-weight: 900;
    font-size: 1.2em;
}

/* ── Price list ─────────────────────────────────────────────────────────── */
.huteco-of__price-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.huteco-of__price-list li {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
    font-family: var(--of-font);
    font-size: 0.9375rem;
    color: var(--of-text);
    font-weight: 700;
    line-height: 1.5;
    padding-left: 18px;
    position: relative;
}

.huteco-of__price-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--of-text);
}

.huteco-of__price-label {
    white-space: normal;
}

.huteco-of__price-val {
    color: var(--of-red);
    font-weight: 900;
}

.huteco-of__price-origin {
    font-size: 0.8125rem;
    color: var(--of-text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

.huteco-of__trust-item {
    font-weight: 700;
}

/* ── Form ───────────────────────────────────────────────────────────────── */
.huteco-of__form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* 2-col row */
.huteco-of__row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* 3-col row */
.huteco-of__row-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
}

/* Inputs */
.huteco-of__input {
    background: var(--of-input-bg) !important;
    border: 1.5px solid var(--of-border) !important;
    border-radius: var(--of-radius) !important;
    padding: 13px 14px !important;
    height: auto !important;
    min-height: 48px !important;
    font-size: 0.9375rem !important;
    color: var(--of-text) !important;
    font-family: var(--of-font) !important;
    outline: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    vertical-align: top !important;
    margin: 0 !important;
}

.huteco-of__input::placeholder {
    color: #9bafc2 !important;
    font-weight: 400 !important;
}

.huteco-of__input:focus {
    border-color: var(--of-accent) !important;
    box-shadow: 0 0 0 3px rgba(39,179,233,0.15) !important;
    background: #ffffff !important;
    outline: none !important;
}

/* Select arrow */
.huteco-of__select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239bafc2' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 32px !important;
    cursor: pointer !important;
}

/* Textarea */
.huteco-of__textarea {
    resize: vertical !important;
    min-height: 80px !important;
    line-height: 1.5 !important;
}

/* Checkboxes */
.huteco-of__checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--of-input-bg);
    border: 1.5px solid var(--of-border);
    border-radius: var(--of-radius);
    padding: 12px 14px;
}

.huteco-of__check-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: var(--of-font);
    font-size: 0.9375rem;
    color: var(--of-text);
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

.huteco-of__check-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px !important;
    height: 18px !important;
    min-height: auto !important;
    accent-color: var(--of-accent);
    cursor: pointer;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* ── Countdown block ────────────────────────────────────────────────────── */
.huteco-of__cd-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.huteco-of__cd-title {
    font-family: var(--of-font);
    font-size: 1rem;
    font-weight: 800;
    color: var(--of-text);
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}

.huteco-of__countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
}

.huteco-of__cd-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: #e07b00;
    padding: 14px 8px;
}

.huteco-of__cd-item:first-child { border-radius: 4px 0 0 4px; }
.huteco-of__cd-item:last-child  { border-radius: 0 4px 4px 0; }

.huteco-of__cd-val {
    font-family: var(--of-font);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.huteco-of__cd-label {
    font-family: var(--of-font);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}

.huteco-of__cd-sep {
    font-size: 2rem;
    font-weight: 900;
    color: #e07b00;
    line-height: 1;
    padding: 0 4px;
    margin-bottom: 20px;
}

/* ── Submit ─────────────────────────────────────────────────────────────── */
.huteco-of__submit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 15px 24px !important;
    color: #fff !important;
    font-family: var(--of-font) !important;
    font-size: 1.0625rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.06em !important;
    border: none !important;
    border-radius: var(--of-radius) !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    transition: filter 0.2s ease, transform 0.2s ease !important;
    margin-top: 0.25rem !important;
}

.huteco-of__submit:hover {
    filter: brightness(1.1) !important;
    transform: translateY(-2px) !important;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .huteco-of__row-2col {
        grid-template-columns: 1fr 1fr;
    }

    .huteco-of__row-3col {
        grid-template-columns: 1fr;
    }

    .huteco-of__cd-val {
        font-size: 1.5rem;
    }
}

/* ── Message ────────────────────────────────────────────────────────────── */
.huteco-of__msg {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--of-radius);
    border: 1.5px solid;
    font-family: var(--of-font);
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
}

/* Flatsome resets */
.huteco-order-form input,
.huteco-order-form textarea,
.huteco-order-form select {
    margin-bottom: 0 !important;
}
