/**
 * Rainy — sipariş formu (standard_cart tabanlı, Lagom tarzı sade / tek sayfa hissi)
 * Tema --primary-color varsa otomatik uyum.
 */

#order-rainy_one_step.rainy-order-form {
    --ro-primary: var(--primary-color, #2563eb);
    --ro-primary-soft: color-mix(in srgb, var(--ro-primary) 14%, transparent);
    --ro-surface: var(--surface-color, #ffffff);
    --ro-bg: var(--bg-color, #f1f5f9);
    --ro-border: var(--border-color, #e2e8f0);
    --ro-text: var(--text-color, #0f172a);
    --ro-muted: var(--text-muted, #64748b);
    --ro-radius: 12px;
    --ro-radius-sm: 8px;
    --ro-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    --ro-shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08);
    --ro-ease: cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--ro-text);
    animation: rainy-cart-root-in 0.45s var(--ro-ease) both;
}

@keyframes rainy-cart-root-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #order-rainy_one_step.rainy-order-form {
        animation: none;
    }
}

/* viewcart — modallar sipariş kökünün dışında; host layout’u bozmaz */
.rainy-cart-modals-host {
    display: contents;
}

#order-rainy_one_step.rainy-order-form .cart-body .header-lined {
    margin-bottom: 1.35rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid var(--ro-border);
}

#order-rainy_one_step.rainy-order-form .cart-body .header-lined h1 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ro-text);
    margin: 0;
}

#order-rainy_one_step.rainy-order-form .cart-body .header-lined p {
    margin: 0.5rem 0 0;
    font-size: 1.05rem;
    color: var(--ro-muted);
    line-height: 1.5;
    max-width: 42rem;
}

#order-rainy_one_step.rainy-order-form .sub-heading,
#order-rainy_one_step.rainy-order-form .sub-heading-borderless {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    border: none;
    background: transparent;
    padding: 0;
}

#order-rainy_one_step.rainy-order-form .sub-heading span,
#order-rainy_one_step.rainy-order-form .sub-heading-borderless span {
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ro-text);
    background: transparent !important;
    padding: 0.35rem 0 0.35rem 0.85rem;
    border-left: 3px solid var(--ro-primary);
    border-radius: 0;
}

#order-rainy_one_step.rainy-order-form .view-cart-items-header {
    background: var(--ro-surface);
    border: 1px solid var(--ro-border);
    border-radius: var(--ro-radius) var(--ro-radius) 0 0;
    padding: 0.85rem 1.1rem;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ro-muted);
    box-shadow: var(--ro-shadow);
}

#order-rainy_one_step.rainy-order-form .view-cart-items {
    background: var(--ro-surface);
    border: 1px solid var(--ro-border);
    border-top: none;
    border-radius: 0 0 var(--ro-radius) var(--ro-radius);
    overflow: hidden;
    box-shadow: var(--ro-shadow);
    margin-bottom: 1.25rem;
}

#order-rainy_one_step.rainy-order-form .view-cart-items .item {
    padding: 1.1rem 1.15rem;
    border-bottom: 1px solid var(--ro-border);
    transition: background 0.2s var(--ro-ease), box-shadow 0.2s var(--ro-ease);
}

#order-rainy_one_step.rainy-order-form .view-cart-items .item:last-child {
    border-bottom: none;
}

#order-rainy_one_step.rainy-order-form .view-cart-items .item:hover {
    background: color-mix(in srgb, var(--ro-muted) 6%, var(--ro-surface));
}

#order-rainy_one_step.rainy-order-form .view-cart-items .item-title {
    font-weight: 600;
    color: var(--ro-text);
}

#order-rainy_one_step.rainy-order-form .view-cart-items .item-group {
    display: block;
    margin-top: 0.15rem;
    color: var(--ro-muted);
    font-size: 0.875rem;
}

#order-rainy_one_step.rainy-order-form .view-cart-items .item-price {
    font-weight: 600;
    color: var(--ro-text);
    text-align: right;
}

#order-rainy_one_step.rainy-order-form .view-cart-items .item-price .cycle {
    display: block;
    margin-top: 0.2rem;
    font-weight: 500;
    font-size: 0.85em;
    color: var(--ro-muted);
}

#order-rainy_one_step.rainy-order-form .view-cart-items .item-qty .form-control {
    max-width: 4.5rem;
    margin: 0 auto;
}

#order-rainy_one_step.rainy-order-form .view-cart-items .item-qty .btn {
    display: block;
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.3rem 0.5rem !important;
    font-size: 0.75rem !important;
    font-weight: 600;
    border-radius: var(--ro-radius-sm);
    background: color-mix(in srgb, var(--ro-primary) 8%, var(--ro-surface));
    border: 1px solid color-mix(in srgb, var(--ro-primary) 25%, var(--ro-border));
    color: var(--ro-primary) !important;
    transition:
        background 0.15s,
        border-color 0.15s,
        box-shadow 0.15s;
}

#order-rainy_one_step.rainy-order-form .view-cart-items .item-qty .btn:hover {
    background: color-mix(in srgb, var(--ro-primary) 14%, var(--ro-surface));
    box-shadow: 0 2px 8px var(--ro-primary-soft);
}

#order-rainy_one_step.rainy-order-form .btn-remove-from-cart {
    color: var(--ro-muted) !important;
    opacity: 0.85;
    transition: color 0.15s, opacity 0.15s;
}

#order-rainy_one_step.rainy-order-form .btn-remove-from-cart:hover {
    color: #dc2626 !important;
    opacity: 1;
}

/* Sepeti boşalt */
#order-rainy_one_step.rainy-order-form .empty-cart {
    margin: 0 0 1.25rem;
    text-align: right;
    line-height: normal;
}

#order-rainy_one_step.rainy-order-form .empty-cart .btn,
#order-rainy_one_step.rainy-order-form .empty-cart #btnEmptyCart {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem !important;
    font-size: 0.8125rem !important;
    font-weight: 600;
    border-radius: var(--ro-radius-sm);
    background: color-mix(in srgb, var(--ro-muted) 10%, var(--ro-surface)) !important;
    border: 1px solid var(--ro-border) !important;
    color: var(--ro-muted) !important;
    text-decoration: none !important;
    transition:
        color 0.2s,
        border-color 0.2s,
        background 0.2s,
        box-shadow 0.2s;
}

#order-rainy_one_step.rainy-order-form .empty-cart .btn:hover,
#order-rainy_one_step.rainy-order-form .empty-cart #btnEmptyCart:hover {
    color: #b91c1c !important;
    border-color: color-mix(in srgb, #f87171 45%, var(--ro-border)) !important;
    background: color-mix(in srgb, #ef4444 10%, var(--ro-surface)) !important;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.15);
}

/* Promosyon kodu — onayla */
#order-rainy_one_step.rainy-order-form .view-cart-tabs .tab-pane.promo button[type="submit"].btn-block,
#order-rainy_one_step.rainy-order-form .view-cart-tabs .tab-pane.promo .btn-block.btn-default {
    margin-top: 0.75rem;
    padding: 0.7rem 1.25rem !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    border: none !important;
    border-radius: var(--ro-radius-sm) !important;
    color: #fff !important;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--ro-primary) 88%, #0f172a) 0%,
        var(--ro-primary) 100%
    ) !important;
    box-shadow: 0 3px 12px color-mix(in srgb, var(--ro-primary) 28%, transparent);
    transition: transform 0.15s var(--ro-ease), box-shadow 0.2s;
}

#order-rainy_one_step.rainy-order-form .view-cart-tabs .tab-pane.promo button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px var(--ro-primary-soft);
}

#order-rainy_one_step.rainy-order-form .view-cart-tabs .tab-pane #calcTaxes .btn.btn-default {
    padding: 0.55rem 1.35rem !important;
    font-weight: 600;
    border-radius: var(--ro-radius-sm);
    border: 1px solid var(--ro-border) !important;
    background: var(--ro-surface) !important;
    color: var(--ro-text) !important;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

#order-rainy_one_step.rainy-order-form .view-cart-tabs .tab-pane #calcTaxes .btn.btn-default:hover {
    border-color: var(--ro-primary) !important;
    box-shadow: 0 2px 10px var(--ro-primary-soft);
}

#order-rainy_one_step.rainy-order-form .view-cart-promotion-code {
    border-radius: var(--ro-radius-sm);
    border: 1px dashed color-mix(in srgb, var(--ro-primary) 35%, var(--ro-border)) !important;
    background: color-mix(in srgb, var(--ro-primary) 4%, var(--ro-surface)) !important;
    color: var(--ro-text);
}

#order-rainy_one_step.rainy-order-form .view-cart-tabs .promo .text-center .btn.btn-default {
    border-radius: var(--ro-radius-sm);
    font-weight: 600;
    border: 1px solid var(--ro-border) !important;
    color: var(--ro-muted) !important;
    background: var(--ro-surface) !important;
}

#order-rainy_one_step.rainy-order-form .view-cart-tabs .promo .text-center .btn.btn-default:hover {
    border-color: #dc2626 !important;
    color: #dc2626 !important;
    background: color-mix(in srgb, #ef4444 6%, var(--ro-surface)) !important;
}

/* Ödeme Yap — checkout */
#order-rainy_one_step.rainy-order-form a.btn-checkout.btn-success {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-width: 13.5rem;
    padding: 0.85rem 1.65rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: var(--ro-radius-sm) !important;
    color: #fff !important;
    background: linear-gradient(
        165deg,
        #22c55e 0%,
        #16a34a 45%,
        #15803d 100%
    ) !important;
    box-shadow:
        0 4px 14px color-mix(in srgb, #22c55e 35%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 0.15s var(--ro-ease), box-shadow 0.2s, filter 0.2s;
}

#order-rainy_one_step.rainy-order-form a.btn-checkout.btn-success:hover:not(.disabled) {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 10px 28px color-mix(in srgb, #22c55e 45%, transparent);
    color: #fff !important;
}

#order-rainy_one_step.rainy-order-form a.btn-checkout.btn-success.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#order-rainy_one_step.rainy-order-form .btn-continue-shopping {
    display: inline-block;
    margin-top: 0.85rem;
    padding: 0.4rem 0.6rem !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    color: var(--ro-muted) !important;
    text-decoration: none !important;
    border-radius: var(--ro-radius-sm);
    transition: color 0.2s, background 0.2s;
}

#order-rainy_one_step.rainy-order-form .btn-continue-shopping:hover {
    color: var(--ro-primary) !important;
    background: color-mix(in srgb, var(--ro-primary) 7%, transparent);
}

#order-rainy_one_step.rainy-order-form .view-cart-items .item.rainy-reveal {
    animation: rainy-item-in 0.4s var(--ro-ease) both;
}

@keyframes rainy-item-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

#order-rainy_one_step.rainy-order-form .order-summary {
    background: var(--ro-surface);
    border: 1px solid var(--ro-border);
    border-radius: var(--ro-radius);
    padding: 1.35rem 1.25rem 1.5rem;
    box-shadow: var(--ro-shadow-lg);
    transition: box-shadow 0.25s var(--ro-ease), border-color 0.2s;
}

@media (min-width: 992px) {
    #order-rainy_one_step.rainy-order-form .order-summary {
        position: sticky;
        top: 1.25rem;
        align-self: flex-start;
    }
}

#order-rainy_one_step.rainy-order-form .order-summary:hover {
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
}

#order-rainy_one_step.rainy-order-form .order-summary h2 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    margin-top: 0;
    margin-bottom: 1rem;
    padding: 0.65rem 0.85rem;
    border-bottom: none;
    border-radius: var(--ro-radius-sm);
    text-align: left;
    color: #fff !important;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--ro-primary) 92%, #1e293b) 0%,
        var(--ro-primary) 100%
    );
    box-shadow: 0 2px 8px color-mix(in srgb, var(--ro-primary) 25%, transparent);
}

#order-rainy_one_step.rainy-order-form .order-summary .summary-container {
    margin: 0;
    padding: 1rem 1.05rem;
    min-height: 5rem;
    border-radius: var(--ro-radius-sm);
    background: color-mix(in srgb, var(--ro-muted) 5%, var(--ro-surface));
    border: 1px solid var(--ro-border);
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--ro-text);
}

#order-rainy_one_step.rainy-order-form .order-summary .product-name,
#order-rainy_one_step.rainy-order-form .order-summary .product-group {
    color: var(--ro-text);
}

#order-rainy_one_step.rainy-order-form .order-summary .summary-totals {
    color: var(--ro-muted);
}

#order-rainy_one_step.rainy-order-form .order-summary .loader {
    color: var(--ro-primary);
}

#order-rainy_one_step.rainy-order-form .total-due-today .amt {
    color: var(--ro-primary);
    font-weight: 700;
}

#order-rainy_one_step.rainy-order-form .order-summary .subtotal {
    border-bottom-color: var(--ro-border);
}

#order-rainy_one_step.rainy-order-form .order-summary .bordered-totals {
    border-color: var(--ro-border);
}

#order-rainy_one_step.rainy-order-form .order-summary .recurring-charges {
    color: var(--ro-muted) !important;
}

#order-rainy_one_step.rainy-order-form .btn-checkout,
#order-rainy_one_step.rainy-order-form .btn-success.btn-block,
#order-rainy_one_step.rainy-order-form .btn-primary.btn-lg {
    border-radius: var(--ro-radius-sm);
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    transition: transform 0.15s var(--ro-ease), box-shadow 0.2s var(--ro-ease), background 0.2s;
}

#order-rainy_one_step.rainy-order-form .btn-checkout:hover,
#order-rainy_one_step.rainy-order-form .btn-success.btn-block:hover,
#order-rainy_one_step.rainy-order-form .btn-primary.btn-lg:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--ro-primary-soft);
}

#order-rainy_one_step.rainy-order-form .view-cart-tabs {
    margin-top: 1.5rem;
    background: var(--ro-surface);
    border: 1px solid var(--ro-border);
    border-radius: var(--ro-radius);
    overflow: hidden;
    box-shadow: var(--ro-shadow);
}

#order-rainy_one_step.rainy-order-form .view-cart-tabs .nav-tabs {
    border-bottom: 1px solid var(--ro-border);
    background: #f8fafc;
}

#order-rainy_one_step.rainy-order-form .view-cart-tabs .nav-tabs > li > a,
#order-rainy_one_step.rainy-order-form .view-cart-tabs .nav-tabs > li > a.nav-link {
    border: none !important;
    border-radius: 0 !important;
    margin: 0;
    padding: 0.9rem 1.15rem;
    font-weight: 500;
    color: var(--ro-muted) !important;
    background: transparent !important;
    border-bottom: 2px solid transparent !important;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

#order-rainy_one_step.rainy-order-form .view-cart-tabs .nav-tabs > li.active > a,
#order-rainy_one_step.rainy-order-form .view-cart-tabs .nav-tabs > li.active > a:hover,
#order-rainy_one_step.rainy-order-form .view-cart-tabs .nav-tabs > li > a[aria-expanded="true"],
#order-rainy_one_step.rainy-order-form .view-cart-tabs .nav-tabs > li > a[aria-selected="true"] {
    color: var(--ro-primary) !important;
    border-bottom-color: var(--ro-primary) !important;
    background: var(--ro-surface) !important;
}

#order-rainy_one_step.rainy-order-form .view-cart-tabs .tab-content {
    padding: 1.15rem 1.25rem 1.35rem;
    animation: rainy-tab-fade 0.3s var(--ro-ease);
    background: var(--ro-surface);
}

@keyframes rainy-tab-fade {
    from {
        opacity: 0.6;
    }
    to {
        opacity: 1;
    }
}

#order-rainy_one_step.rainy-order-form .form-control,
#order-rainy_one_step.rainy-order-form .field {
    border-radius: var(--ro-radius-sm);
    border-color: var(--ro-border);
    transition: border-color 0.2s, box-shadow 0.2s;
}

#order-rainy_one_step.rainy-order-form .form-control:focus,
#order-rainy_one_step.rainy-order-form .field:focus {
    border-color: var(--ro-primary);
    box-shadow: 0 0 0 3px var(--ro-primary-soft);
}

/* Ürün kartları — dikey: başlık + özellikler + fiyat / Satın Al (tam genişlik alt bant) */
#order-rainy_one_step.rainy-order-form #products.products {
    padding-top: 0.25rem;
    padding-bottom: 0.5rem;
}

#order-rainy_one_step.rainy-order-form .rainy-product-grid > [class*="col-"] {
    margin-bottom: 1.5rem;
}

/* Tema rainy-panel.css’teki eski global .rainy-product-grid { display:grid } sipariş .row’u bozuyordu */
#order-rainy_one_step.rainy-order-form .row.rainy-product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

#order-rainy_one_step.rainy-order-form .rainy-product-grid {
    margin-bottom: 0;
}

#order-rainy_one_step.rainy-order-form .products .rainy-product-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--ro-radius);
    border: 1px solid var(--ro-border);
    background: var(--ro-surface);
    overflow: hidden;
    box-shadow: var(--ro-shadow);
    transition: transform 0.2s var(--ro-ease), box-shadow 0.25s var(--ro-ease), border-color 0.2s var(--ro-ease);
    margin-bottom: 0;
    min-height: 100%;
}

#order-rainy_one_step.rainy-order-form .products .rainy-product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ro-shadow-lg);
}

#order-rainy_one_step.rainy-order-form .products .rainy-product-card.rainy-reveal {
    animation: rainy-item-in 0.45s var(--ro-ease) both;
}

#order-rainy_one_step.rainy-order-form .rainy-product-card__main {
    flex: 1 1 auto;
    padding: 1.25rem 1.35rem;
    min-width: 0;
}

#order-rainy_one_step.rainy-order-form .rainy-product-card--compact .rainy-product-card__main {
    padding: 0.9rem 1rem;
}

#order-rainy_one_step.rainy-order-form .rainy-product-card__main header {
    margin-bottom: 0.75rem;
    padding: 0;
    background: transparent;
    border: none;
}

#order-rainy_one_step.rainy-order-form .rainy-product-card__head-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
}

#order-rainy_one_step.rainy-order-form .rainy-product-card__title-text {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ro-text);
    line-height: 1.25;
}

#order-rainy_one_step.rainy-order-form .rainy-product-card__badge {
    flex-shrink: 0;
    display: inline-block;
    padding: 0.2rem 0.55rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--ro-primary) 0%, color-mix(in srgb, var(--ro-primary) 70%, #1e293b) 100%);
    border-radius: 999px;
    box-shadow: 0 2px 8px var(--ro-primary-soft);
}

#order-rainy_one_step.rainy-order-form .rainy-product-card--popular {
    border-color: color-mix(in srgb, var(--ro-primary) 45%, var(--ro-border));
    box-shadow: var(--ro-shadow), 0 0 0 1px color-mix(in srgb, var(--ro-primary) 18%, transparent);
}

#order-rainy_one_step.rainy-order-form .rainy-product-card--popular:hover {
    box-shadow: var(--ro-shadow-lg), 0 0 0 1px color-mix(in srgb, var(--ro-primary) 28%, transparent);
}

#order-rainy_one_step.rainy-order-form .rainy-product-card__lead {
    font-size: 0.9rem;
    color: var(--ro-muted);
    margin-bottom: 0.85rem;
    line-height: 1.5;
}

#order-rainy_one_step.rainy-order-form .rainy-product-card__specs {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--ro-border);
    border-radius: var(--ro-radius-sm);
    overflow: hidden;
    background: color-mix(in srgb, var(--ro-muted) 4%, var(--ro-surface));
}

#order-rainy_one_step.rainy-order-form .rainy-product-card__specs li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    column-gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    margin: 0;
    border-bottom: 1px solid var(--ro-border);
    font-size: 0.8125rem;
    line-height: 1.35;
}

#order-rainy_one_step.rainy-order-form .rainy-product-card__specs li:last-child {
    border-bottom: none;
}

#order-rainy_one_step.rainy-order-form .rainy-product-card__specs li:nth-child(even) {
    background: color-mix(in srgb, var(--ro-surface) 65%, transparent);
}

#order-rainy_one_step.rainy-order-form .rainy-product-card__specs .feature-value {
    font-weight: 600;
    color: var(--ro-text);
    text-align: right;
    word-break: break-word;
}

#order-rainy_one_step.rainy-order-form .rainy-product-card__spec-label {
    color: var(--ro-muted);
    font-weight: 500;
    text-align: left;
    word-break: break-word;
}

#order-rainy_one_step.rainy-order-form .rainy-product-card__aside {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    width: 100%;
    padding: 1.15rem 1.35rem 1.35rem;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--ro-primary) 6%, var(--ro-surface)) 0%,
        color-mix(in srgb, var(--ro-primary) 3%, var(--ro-surface)) 100%
    );
    border-top: 1px solid var(--ro-border);
    text-align: center;
    margin-top: auto;
}

#order-rainy_one_step.rainy-order-form .rainy-product-card--compact .rainy-product-card__aside {
    padding: 1rem;
}

#order-rainy_one_step.rainy-order-form .rainy-product-card--compact .rainy-product-card__badge {
    font-size: 0.58rem;
    padding: 0.15rem 0.45rem;
}

#order-rainy_one_step.rainy-order-form .rainy-product-card--compact .rainy-product-card__specs li {
    padding: 0.45rem 0.6rem;
    font-size: 0.78rem;
    column-gap: 0.5rem;
}

#order-rainy_one_step.rainy-order-form .rainy-product-card__price-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ro-muted);
    margin-bottom: 0.25rem;
}

#order-rainy_one_step.rainy-order-form .rainy-product-card__aside .price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ro-primary);
    line-height: 1.2;
}

#order-rainy_one_step.rainy-order-form .rainy-product-card__cycle {
    display: block;
    font-size: 0.85rem;
    color: var(--ro-muted);
    margin-top: 0.2rem;
}

#order-rainy_one_step.rainy-order-form .rainy-product-card__setup {
    display: block;
    margin-top: 0.35rem;
    color: var(--ro-muted);
}

#order-rainy_one_step.rainy-order-form .rainy-product-card__cta.btn-success {
    background: var(--ro-primary) !important;
    border-color: var(--ro-primary) !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--ro-radius-sm);
    padding: 0.55rem 1.25rem;
    min-width: 9.5rem;
    transition: transform 0.15s var(--ro-ease), box-shadow 0.2s;
}

#order-rainy_one_step.rainy-order-form .rainy-product-card__cta.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--ro-primary-soft);
    filter: brightness(1.05);
}

#order-rainy_one_step.rainy-order-form .rainy-products--list .rainy-product-grid > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

#order-rainy_one_step.rainy-order-form .rainy-products--list .rainy-product-card {
    flex-direction: column;
    align-items: stretch;
}

@media (max-width: 575px) {
    #order-rainy_one_step.rainy-order-form .rainy-product-card__specs li {
        grid-template-columns: 1fr;
        row-gap: 0.2rem;
    }

    #order-rainy_one_step.rainy-order-form .rainy-product-card__specs .feature-value {
        text-align: left;
        padding-top: 0.1rem;
    }
}

/* —— Sol sütun: Kategoriler (masaüstü panel + mobil seçici) —— */
#order-rainy_one_step.rainy-order-form .cart-sidebar.sidebar {
    padding-top: 0.15rem;
}

#order-rainy_one_step.rainy-order-form .cart-sidebar .panel.card-rainy-order-categories,
#order-rainy_one_step.rainy-order-form .cart-sidebar .panel.card-sidebar {
    border-radius: var(--ro-radius);
    border: 1px solid var(--ro-border);
    box-shadow: var(--ro-shadow);
    background: var(--ro-surface);
    overflow: hidden;
    margin-bottom: 1rem !important;
}

#order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories > .card-header,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories > .panel-heading,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar > .card-header,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar > .panel-heading {
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--ro-primary) 10%, var(--ro-surface)) 0%,
        color-mix(in srgb, var(--ro-primary) 4%, var(--ro-surface)) 50%,
        var(--ro-surface) 100%
    );
    border-bottom: 1px solid var(--ro-border);
    font-weight: 600;
    padding: 0.9rem 1rem 0.85rem;
}

#order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .panel-title,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .card-header h3,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .panel-title,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .card-header h3 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ro-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    line-height: 1.35;
}

#order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .panel-title > i:first-child,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .panel-title > i:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: var(--ro-radius-sm);
    background: color-mix(in srgb, var(--ro-primary) 12%, transparent);
    color: var(--ro-primary);
    font-size: 0.85rem;
}

#order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .panel-title .badge,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .panel-title .badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ro-primary) 18%, var(--ro-surface));
    color: var(--ro-primary);
}

#order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .card-minimise,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .card-minimise {
    margin-left: auto;
    opacity: 0.55;
    font-size: 0.75rem;
    transition: opacity 0.2s, transform 0.2s var(--ro-ease);
}

#order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .card-minimise:hover,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .card-minimise:hover {
    opacity: 1;
}

#order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .list-group,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .list-group {
    padding: 0.5rem;
    margin: 0;
    background: color-mix(in srgb, var(--ro-muted) 4%, var(--ro-surface));
    border: none;
}

#order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .list-group-item,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .list-group-item {
    position: relative;
    border: 1px solid transparent !important;
    border-radius: var(--ro-radius-sm) !important;
    margin-bottom: 0.4rem;
    padding: 0.6rem 0.85rem 0.6rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ro-text);
    background: var(--ro-surface);
    box-shadow: 0 1px 0 color-mix(in srgb, var(--ro-muted) 12%, transparent);
    transition:
        background 0.15s var(--ro-ease),
        color 0.15s,
        border-color 0.15s,
        box-shadow 0.2s var(--ro-ease),
        transform 0.12s var(--ro-ease);
}

#order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .list-group-item:last-child,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .list-group-item:last-child {
    margin-bottom: 0;
}

#order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .list-group-item::before,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .list-group-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    bottom: 0.35rem;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--ro-primary);
    opacity: 0;
    transition: opacity 0.15s var(--ro-ease);
}

/* Açık tema: yumuşak tint + primary metin (önceki koyu tema stili) */
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .list-group-item:hover:not(.active),
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .list-group-item:hover:not(.active) {
    background: color-mix(in srgb, var(--ro-primary) 6%, var(--ro-surface));
    border-color: color-mix(in srgb, var(--ro-primary) 18%, var(--ro-border)) !important;
    color: var(--ro-text);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    transform: translateX(1px);
}

#order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .list-group-item:hover:not(.active)::before,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .list-group-item:hover:not(.active)::before {
    opacity: 1;
    width: 3px;
    background: color-mix(in srgb, var(--ro-primary) 55%, var(--ro-surface));
}

#order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .list-group-item.active,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .list-group-item.active {
    background: color-mix(in srgb, var(--ro-primary) 11%, var(--ro-surface));
    border-color: color-mix(in srgb, var(--ro-primary) 22%, var(--ro-border)) !important;
    color: var(--ro-primary);
    font-weight: 600;
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--ro-primary) 12%, transparent),
        0 2px 8px color-mix(in srgb, var(--ro-primary) 14%, transparent);
}

#order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .list-group-item.active::before,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .list-group-item.active::before {
    opacity: 1;
    background: var(--ro-primary);
    box-shadow: none;
    width: 4px;
    border-radius: 0 4px 4px 0;
    top: 0.25rem;
    bottom: 0.25rem;
}

#order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .list-group-item.active .badge,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .list-group-item.active .badge {
    background: color-mix(in srgb, var(--ro-primary) 20%, var(--ro-surface));
    color: var(--ro-primary);
}

#order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .list-group-item i,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .list-group-item i {
    margin-right: 0.4rem;
    opacity: 0.85;
    width: 1.1rem;
    text-align: center;
}

#order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .list-group-item.active i,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .list-group-item.active i {
    opacity: 1;
    color: var(--ro-primary);
}

#order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .list-group-item.active:hover,
#order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .list-group-item.active:hover {
    background: color-mix(in srgb, var(--ro-primary) 14%, var(--ro-surface));
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--ro-primary) 16%, transparent),
        0 3px 12px color-mix(in srgb, var(--ro-primary) 18%, transparent);
}

/* Karanlık tema: gradient + beyaz metin (önceki açık tema stili) */
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .list-group-item:hover:not(.active),
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .list-group-item:hover:not(.active) {
    background: transparent;
    border-color: color-mix(in srgb, var(--ro-primary) 28%, var(--ro-border)) !important;
    color: var(--ro-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: none;
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .list-group-item:hover:not(.active)::before,
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .list-group-item:hover:not(.active)::before {
    opacity: 0.35;
    width: 3px;
    background: var(--ro-primary);
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .list-group-item.active,
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .list-group-item.active {
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--ro-primary) 12%, var(--ro-surface)) 0%,
        var(--ro-primary) 100%
    );
    border-color: color-mix(in srgb, var(--ro-primary) 45%, transparent) !important;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 6px 20px var(--ro-primary-soft);
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .list-group-item.active::before,
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .list-group-item.active::before {
    opacity: 1;
    top: 0.35rem;
    bottom: 0.35rem;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .list-group-item.active .badge,
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .list-group-item.active .badge {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories .list-group-item.active i,
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar .list-group-item.active i {
    color: #fff;
}

/* Mobil / dar ekran: üstteki kategori seçici */
#order-rainy_one_step.rainy-order-form .sidebar-collapsed {
    margin-top: 0;
    margin-bottom: 1.25rem;
    padding: 0;
    border: none;
    background: transparent;
}

#order-rainy_one_step.rainy-order-form .sidebar-collapsed .panel.card {
    border-radius: var(--ro-radius);
    border: 1px solid var(--ro-border);
    box-shadow: var(--ro-shadow);
    background: var(--ro-surface);
    overflow: hidden;
}

/* Kategoriler + İşlemler vb. üst üste — bitişik görünmesin */
#order-rainy_one_step.rainy-order-form .sidebar-collapsed > .panel.card + .panel.card {
    margin-top: 1rem;
}

#order-rainy_one_step.rainy-order-form .sidebar-collapsed .panel.card > .card-header,
#order-rainy_one_step.rainy-order-form .sidebar-collapsed .panel.card > .panel-heading {
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--ro-primary) 8%, var(--ro-surface)) 0%,
        var(--ro-surface) 100%
    );
    border-bottom: 1px solid var(--ro-border);
    padding: 0.75rem 1rem;
}

#order-rainy_one_step.rainy-order-form .sidebar-collapsed .panel.card .panel-title {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ro-muted);
    margin: 0;
    font-weight: 600;
}

#order-rainy_one_step.rainy-order-form .sidebar-collapsed .panel.card .card-body {
    padding: 1rem;
    background: color-mix(in srgb, var(--ro-muted) 4%, var(--ro-surface));
}

#order-rainy_one_step.rainy-order-form .sidebar-collapsed .panel.card .form-control,
#order-rainy_one_step.rainy-order-form .sidebar-collapsed .panel.card .custom-select {
    border-radius: var(--ro-radius-sm);
    border: 1px solid var(--ro-border);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.55rem 2.25rem 0.55rem 0.85rem;
    min-height: 2.75rem;
    color: var(--ro-text);
    background-color: var(--ro-surface);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

#order-rainy_one_step.rainy-order-form .sidebar-collapsed .panel.card .form-control:focus,
#order-rainy_one_step.rainy-order-form .sidebar-collapsed .panel.card .custom-select:focus {
    border-color: color-mix(in srgb, var(--ro-primary) 45%, var(--ro-border));
    box-shadow: 0 0 0 3px var(--ro-primary-soft);
    outline: none;
}

/* Yapılandırma sayfası */
#order-rainy_one_step.rainy-order-form .rainy-config-header .rainy-config-sub {
    margin: 0.5rem 0 0;
    font-size: 1rem;
    color: var(--ro-muted);
    line-height: 1.5;
    max-width: 48rem;
}

#order-rainy_one_step.rainy-order-form .rainy-config-product-panel {
    border-radius: var(--ro-radius);
    border: 1px solid var(--ro-border);
    background: color-mix(in srgb, var(--ro-muted) 6%, var(--ro-surface));
    padding: 1.25rem 1.35rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--ro-shadow);
}

#order-rainy_one_step.rainy-order-form .rainy-config-product-panel .product-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--ro-text);
}

#order-rainy_one_step.rainy-order-form .rainy-config-product-desc {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ro-muted);
    line-height: 1.55;
}

#order-rainy_one_step.rainy-order-form .rainy-config-help-alert {
    border-radius: var(--ro-radius-sm);
    margin-top: 1.5rem;
}

#order-rainy_one_step.rainy-order-form .rainy-config-order-summary.order-summary {
    border-radius: var(--ro-radius);
}

#order-rainy_one_step.rainy-order-form .rainy-config-continue-btn {
    border-radius: var(--ro-radius-sm);
    font-weight: 600;
    padding: 0.65rem 1.75rem;
    margin-top: 0.5rem;
    transition: transform 0.15s var(--ro-ease), box-shadow 0.2s;
}

#order-rainy_one_step.rainy-order-form .rainy-config-continue-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--ro-primary-soft);
}

/* cart.php?a=confproduct — ürün yapılandırma */
#order-rainy_one_step.rainy-order-form .rainy-config-cart-body {
    padding-bottom: 2rem;
}

#order-rainy_one_step.rainy-order-form .rainy-config-main .field-container {
    margin-bottom: 1.35rem;
}

#order-rainy_one_step.rainy-order-form .rainy-config-main .form-group > label,
#order-rainy_one_step.rainy-order-form .rainy-config-main .field-container > .form-group > label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ro-muted);
    margin-bottom: 0.4rem;
}

#order-rainy_one_step.rainy-order-form .rainy-config-main .form-control,
#order-rainy_one_step.rainy-order-form .rainy-config-main select.form-control {
    background-color: var(--ro-surface);
    color: var(--ro-text);
    min-height: 2.65rem;
    border-color: var(--ro-border);
}

#order-rainy_one_step.rainy-order-form .rainy-config-main .form-control::placeholder {
    color: color-mix(in srgb, var(--ro-muted) 75%, var(--ro-surface));
}

#order-rainy_one_step.rainy-order-form .rainy-config-main .sub-heading {
    height: auto;
    border-top: none;
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

#order-rainy_one_step.rainy-order-form .rainy-config-main > p,
#order-rainy_one_step.rainy-order-form .rainy-config-main ul {
    color: var(--ro-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

#order-rainy_one_step.rainy-order-form .rainy-config-main ul li {
    margin-bottom: 0.35rem;
}

#order-rainy_one_step.rainy-order-form .rainy-config-summary-column {
    padding-top: 0.2rem;
}

#order-rainy_one_step.rainy-order-form .rainy-config-continue-wrap {
    margin-top: 1.15rem;
}

#order-rainy_one_step.rainy-order-form .rainy-config-continue-wrap .rainy-config-continue-btn {
    min-width: 12rem;
}

#order-rainy_one_step.rainy-order-form .rainy-config-main .panel-addon {
    background: var(--ro-surface);
    border: 1px solid var(--ro-border);
    border-radius: var(--ro-radius-sm);
    box-shadow: var(--ro-shadow);
}

#order-rainy_one_step.rainy-order-form .rainy-config-main .panel-addon .panel-body,
#order-rainy_one_step.rainy-order-form .rainy-config-main .panel-addon .card-body {
    color: var(--ro-text);
    font-size: 0.9rem;
}

#order-rainy_one_step.rainy-order-form .rainy-config-main .panel-addon .panel-price {
    color: var(--ro-primary);
    font-weight: 700;
}

#order-rainy_one_step.rainy-order-form .panel-addon {
    border-radius: var(--ro-radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

#order-rainy_one_step.rainy-order-form .panel-addon:hover {
    box-shadow: var(--ro-shadow);
}

#order-rainy_one_step.rainy-order-form .panel-addon-selected {
    border-color: var(--ro-primary) !important;
    box-shadow: 0 0 0 2px var(--ro-primary-soft);
}

#order-rainy_one_step.rainy-order-form .alert {
    border-radius: var(--ro-radius-sm);
    border: none;
    box-shadow: var(--ro-shadow);
}

#order-rainy_one_step.rainy-order-form .alert-danger {
    background: #fef2f2;
    color: #991b1b;
}

#order-rainy_one_step.rainy-order-form .alert-success {
    background: #f0fdf4;
    color: #166534;
}

#order-rainy_one_step.rainy-order-form .alert-warning {
    background: #fffbeb;
    color: #92400e;
}

#order-rainy_one_step.rainy-order-form .alert-info {
    background: #eff6ff;
    color: #1e40af;
}

#order-rainy_one_step.rainy-order-form .domain-selection-options .option {
    border-radius: var(--ro-radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
}

#order-rainy_one_step.rainy-order-form .domain-selection-options .option:hover {
    border-color: color-mix(in srgb, var(--ro-primary) 40%, var(--ro-border));
}

#order-rainy_one_step.rainy-order-form .domain-selection-options .option-selected {
    border-color: var(--ro-primary);
    box-shadow: 0 0 0 2px var(--ro-primary-soft);
}

/* color-mix fallback for very old engines */
@supports not (color: color-mix(in srgb, red, blue)) {
    #order-rainy_one_step.rainy-order-form {
        --ro-primary-soft: rgba(37, 99, 235, 0.12);
    }
    #order-rainy_one_step.rainy-order-form .rainy-product-card__aside {
        background: rgba(37, 99, 235, 0.04);
    }
    #order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories > .card-header,
    #order-rainy_one_step.rainy-order-form .cart-sidebar .card-rainy-order-categories > .panel-heading,
    #order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar > .card-header,
    #order-rainy_one_step.rainy-order-form .cart-sidebar .card-sidebar > .panel-heading {
        background: rgba(37, 99, 235, 0.06);
    }
    #order-rainy_one_step.rainy-order-form .rainy-config-product-panel {
        background: rgba(100, 116, 139, 0.06);
    }
}

/* Karanlık tema — modül hook #rainy-theme-vars ile :root / [data-theme="dark"] */
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form {
    --ro-surface: var(--surface-color, #14171f);
    --ro-bg: var(--bg-color, #0c0e14);
    --ro-text: var(--text-color, #f3f4f6);
    --ro-muted: var(--text-muted, #9ca3af);
    --ro-border: var(--border-color, #2a2f3d);
    --ro-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.35));
    --ro-shadow-lg: var(--shadow-md, 0 12px 40px rgba(0, 0, 0, 0.45));
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .alert-danger {
    background: rgba(127, 29, 29, 0.35);
    color: #fecaca;
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .alert-success {
    background: rgba(20, 83, 45, 0.35);
    color: #bbf7d0;
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .alert-warning {
    background: rgba(120, 53, 15, 0.35);
    color: #fde68a;
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .alert-info {
    background: rgba(30, 58, 138, 0.35);
    color: #bfdbfe;
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .rainy-config-help-alert {
    background: rgba(120, 53, 15, 0.25);
    color: #fde68a;
    border: 1px solid rgba(251, 191, 36, 0.25);
}

/* Koyu temada ürün / grup başlığı — tema .text-dark veya style.css #333 üstüne yazılır */
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .rainy-product-card__title-text,
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .products .product header span,
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .cart-body .header-lined h1,
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .cart-body .header-lined h1.font-size-36 {
    color: var(--ro-text, #f3f4f6) !important;
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .rainy-product-card__lead,
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .products .product header .qty {
    color: var(--ro-muted, #9ca3af) !important;
}

/* confproduct: koyu temada başlık / özet / formlar */
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .rainy-config-product-panel .product-title,
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .product-info .product-title,
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .rainy-config-main .product-title {
    color: var(--ro-text, #f3f4f6) !important;
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .rainy-config-main .form-control,
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .rainy-config-main select.form-control {
    background-color: var(--ro-surface);
    color: var(--ro-text);
    border-color: var(--ro-border);
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .order-summary .summary-container {
    background: color-mix(in srgb, var(--ro-muted) 10%, var(--ro-surface));
    color: var(--ro-text);
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .order-summary .summary-container a,
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .order-summary .product-name {
    color: var(--ro-text) !important;
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .order-summary .summary-container .text-muted {
    color: var(--ro-muted) !important;
}

/* Sepet (view) — koyu tema */
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .view-cart-tabs .nav-tabs {
    background: color-mix(in srgb, var(--ro-muted) 10%, var(--ro-surface));
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .view-cart-items .item:hover {
    background: color-mix(in srgb, var(--ro-muted) 12%, var(--ro-surface));
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .view-cart-items .item-title {
    color: var(--ro-text) !important;
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .view-cart-gateway-checkout {
    background: color-mix(in srgb, var(--ro-muted) 12%, var(--ro-surface)) !important;
    border: 1px solid var(--ro-border);
    color: var(--ro-text);
}

/* —— cart.php?a=checkout — ödeme sayfası —— */
#order-rainy_one_step.rainy-order-form .rainy-checkout-hero .rainy-checkout-lead {
    margin: 0.65rem 0 0;
    font-size: 1rem;
    color: var(--ro-muted);
    line-height: 1.55;
    max-width: 40rem;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-switcher {
    margin: 0.5rem 0 1.25rem;
    min-height: 0;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-switcher-btns .btn {
    border-radius: var(--ro-radius-sm);
    font-weight: 600;
    padding: 0.45rem 1rem !important;
    margin-left: 0.35rem;
}

/* Ödeme sayfası: başlık kartın içinde — dış kenarlıkla çakışma olmaz */
#order-rainy_one_step.rainy-order-form .rainy-checkout-form .rainy-checkout-section {
    margin: 1.35rem 0;
    border: 1px solid var(--ro-border);
    border-radius: var(--ro-radius);
    background: var(--ro-surface);
    box-shadow: var(--ro-shadow);
    overflow: hidden;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-section__title {
    margin: 0;
    padding: 0.85rem 1.1rem;
    background: color-mix(in srgb, var(--ro-muted) 7%, var(--ro-surface));
    border-bottom: 1px solid var(--ro-border);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ro-text);
    text-align: left;
    line-height: 1.35;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-section__title .primary-bg-color {
    display: inline-block;
    background: transparent !important;
    padding: 0.1rem 0 0.1rem 0.85rem;
    border-left: 3px solid var(--ro-primary);
    border-radius: 0;
    color: inherit !important;
    font-weight: 600;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-section__subtitle {
    margin: 0.45rem 0 0;
    padding: 0 0 0 calc(0.85rem + 3px + 0.35rem);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--ro-muted);
    line-height: 1.45;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-section__subtitle small {
    font-size: inherit;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-section--customfields .rainy-checkout-customfields-inner {
    margin: 0;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-customfield > label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ro-muted);
    margin-bottom: 0.4rem;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-customfield .form-control {
    border-radius: var(--ro-radius-sm);
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-notes-field {
    margin-bottom: 0;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-notes-field textarea {
    min-height: 7.5rem;
    resize: vertical;
}

#order-rainy_one_step.rainy-order-form #containerNewUserSignup > .rainy-checkout-section--personal {
    margin-top: 1rem;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-section__body {
    padding: 1rem 1.1rem 1.15rem;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-section__body--captcha {
    padding: 1rem 1.1rem 1.25rem;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-section--payment .rainy-checkout-total-due {
    margin-top: 0;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-section--accounts .rainy-checkout-section__body {
    padding: 0.75rem 0.5rem 0.85rem;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-section--accounts .account-select-container {
    margin-bottom: 0;
    padding-top: 0;
}

/*
 * style.css sipariş formunda .sub-heading { height:0 } + span { top:-11px; text-align:center }
 * checkout’ta başlık ile alanların üst üste binmesine yol açıyordu.
 */
#order-rainy_one_step.rainy-order-form #frmCheckout .sub-heading,
#order-rainy_one_step.rainy-order-form #frmCheckout .sub-heading-borderless {
    height: auto !important;
    min-height: 0 !important;
    text-align: left !important;
    border-top: none !important;
    margin-top: 1.85rem;
    margin-bottom: 1rem;
    padding: 0;
    background: transparent;
}

#order-rainy_one_step.rainy-order-form #frmCheckout .sub-heading span,
#order-rainy_one_step.rainy-order-form #frmCheckout .sub-heading-borderless span {
    position: static !important;
    top: auto !important;
    transform: none !important;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-captcha-inner {
    display: inline-block;
    text-align: center;
    margin: 0;
}

/* style.css içindeki reCAPTCHA negatif margin — ödeme ile arada dev boşluk yaratıyordu */
#order-rainy_one_step.rainy-order-form .captcha-container #google-recaptcha,
#order-rainy_one_step.rainy-order-form .captcha-container #google-recaptcha.recaptcha-transfer {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    transform: none;
    padding-left: 0 !important;
}

#order-rainy_one_step.rainy-order-form .recaptcha-container {
    display: inline-block;
    margin: 0 auto;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-hook-slot {
    margin: 1rem 0;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-total-due {
    border-radius: var(--ro-radius-sm);
    padding: 1rem 1.15rem !important;
    font-size: 1.05rem;
    border: 1px solid color-mix(in srgb, #22c55e 35%, var(--ro-border));
    box-shadow: 0 2px 12px color-mix(in srgb, #22c55e 12%, transparent);
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-total-due #totalCartPrice {
    font-size: 1.15em;
    letter-spacing: -0.02em;
}

#order-rainy_one_step.rainy-order-form .account-select-container {
    border-right: none;
    margin-bottom: 0.5rem;
    padding: 0.35rem 0 0;
}

#order-rainy_one_step.rainy-order-form .account-select-container > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 0.65rem;
}

#order-rainy_one_step.rainy-order-form .account-select-container div.account {
    background: var(--ro-surface);
    border: 1px solid var(--ro-border) !important;
    border-radius: var(--ro-radius-sm);
    padding: 1rem 1.1rem !important;
    box-shadow: var(--ro-shadow);
    transition:
        border-color 0.2s var(--ro-ease),
        box-shadow 0.2s var(--ro-ease),
        background 0.2s;
}

#order-rainy_one_step.rainy-order-form .account-select-container div.account:not(.border-bottom) {
    border-bottom: 1px solid var(--ro-border) !important;
}

#order-rainy_one_step.rainy-order-form .account-select-container div.account.active {
    border-color: color-mix(in srgb, var(--ro-primary) 45%, var(--ro-border)) !important;
    box-shadow: 0 0 0 2px var(--ro-primary-soft), var(--ro-shadow);
    background: color-mix(in srgb, var(--ro-primary) 5%, var(--ro-surface));
}

#order-rainy_one_step.rainy-order-form .account-select-container div.account .radio-inline {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
    margin: 0;
    font-weight: 500;
    color: var(--ro-text);
}

#order-rainy_one_step.rainy-order-form .account-select-container div.account .address {
    flex: 1;
    min-width: 0;
}

#order-rainy_one_step.rainy-order-form .account-select-container div.account .address .small {
    color: var(--ro-muted);
    line-height: 1.45;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-gateways-hint {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-gateway-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-gateway-option {
    display: flex !important;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0.85rem 1rem !important;
    border: 1px solid var(--ro-border);
    border-radius: var(--ro-radius-sm);
    background: var(--ro-surface);
    cursor: pointer;
    font-weight: 500;
    color: var(--ro-text);
    transition:
        border-color 0.2s var(--ro-ease),
        box-shadow 0.2s,
        background 0.2s;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-gateway-option:hover {
    border-color: color-mix(in srgb, var(--ro-primary) 35%, var(--ro-border));
    box-shadow: var(--ro-shadow);
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-gateway-option:has(input:checked) {
    border-color: var(--ro-primary);
    box-shadow: 0 0 0 2px var(--ro-primary-soft);
    background: color-mix(in srgb, var(--ro-primary) 6%, var(--ro-surface));
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-gateway-option input[type="radio"] {
    margin: 0 0.65rem 0 0 !important;
    flex-shrink: 0;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-cc-panel {
    padding: 1.15rem 1.2rem 1.25rem;
    background: color-mix(in srgb, var(--ro-muted) 6%, var(--ro-surface));
    border: 1px solid var(--ro-border);
    border-radius: var(--ro-radius);
    box-shadow: var(--ro-shadow);
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-cc-panel ul {
    margin-bottom: 0.75rem;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-cc-panel .radio-inline {
    font-weight: 600;
    color: var(--ro-text);
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-new-card-row {
    margin-left: -8px;
    margin-right: -8px;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-new-card-row > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-card-number-group.prepend-icon {
    position: relative;
}

/* Ödeme geçidi (Stripe Link vb.) kart alanına eklenen düğmeler */
#order-rainy_one_step.rainy-order-form .rainy-checkout-card-number-group a.btn,
#order-rainy_one_step.rainy-order-form .rainy-checkout-card-number-group button.btn:not(.rainy-checkout-cvv-help),
#order-rainy_one_step.rainy-order-form #cardNumberContainer a.btn,
#order-rainy_one_step.rainy-order-form #cardNumberContainer button.btn:not(.popover-dismiss) {
    border-radius: var(--ro-radius-sm) !important;
    font-weight: 600 !important;
    font-size: 0.8125rem !important;
    padding: 0.35rem 0.75rem !important;
    border: 1px solid var(--ro-border) !important;
    background: var(--ro-surface) !important;
    color: var(--ro-primary) !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    transition:
        background 0.15s,
        border-color 0.15s,
        box-shadow 0.2s;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-card-number-group a.btn:hover,
#order-rainy_one_step.rainy-order-form .rainy-checkout-card-number-group button.btn:not(.rainy-checkout-cvv-help):hover,
#order-rainy_one_step.rainy-order-form #cardNumberContainer a.btn:hover,
#order-rainy_one_step.rainy-order-form #cardNumberContainer button.btn:hover {
    border-color: var(--ro-primary) !important;
    background: color-mix(in srgb, var(--ro-primary) 8%, var(--ro-surface)) !important;
    box-shadow: 0 2px 10px var(--ro-primary-soft);
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-cvv-help {
    border-radius: 0 var(--ro-radius-sm) var(--ro-radius-sm) 0 !important;
    font-weight: 700;
    min-width: 2.5rem;
}

#order-rainy_one_step.rainy-order-form #btnCompleteOrder.btn-primary {
    margin-top: 0.35rem;
    padding: 0.85rem 2rem !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: var(--ro-radius-sm) !important;
    color: #fff !important;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--ro-primary) 88%, #0f172a) 0%,
        var(--ro-primary) 100%
    ) !important;
    box-shadow: 0 4px 16px color-mix(in srgb, var(--ro-primary) 35%, transparent);
}

#order-rainy_one_step.rainy-order-form #btnCompleteOrder.btn-primary:hover:not(:disabled) {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 8px 26px color-mix(in srgb, var(--ro-primary) 40%, transparent);
}

#order-rainy_one_step.rainy-order-form .apply-credit-container {
    border-radius: var(--ro-radius-sm);
    border: 1px solid var(--ro-border);
    padding: 1rem 1.1rem;
    margin: 1rem 0;
    background: var(--ro-surface);
}

/* Kullanım koşulları — okunaklı kutu + büyük onay */
#order-rainy_one_step.rainy-order-form .rainy-checkout-actions {
    margin-top: 0.5rem;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-tos-wrap {
    max-width: 40rem;
    margin: 0 auto 1.25rem;
    text-align: left;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-tos {
    padding: 1rem 1.15rem;
    border: 1px solid var(--ro-border);
    border-radius: var(--ro-radius-sm);
    background: color-mix(in srgb, var(--ro-muted) 6%, var(--ro-surface));
    box-shadow: var(--ro-shadow);
    transition: border-color 0.2s var(--ro-ease), box-shadow 0.2s;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-tos__input:focus-visible {
    outline: 2px solid var(--ro-primary);
    outline-offset: 2px;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-tos__label {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin: 0;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ro-text);
    cursor: pointer;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-tos__input {
    width: 1.25rem;
    height: 1.25rem;
    min-width: 1.25rem;
    margin: 0.2rem 0 0;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--ro-primary);
    border-radius: 4px;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-tos__text {
    flex: 1;
    min-width: 0;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-tos__link {
    font-weight: 600;
    color: var(--ro-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

#order-rainy_one_step.rainy-order-form .rainy-checkout-tos__link:hover {
    color: color-mix(in srgb, var(--ro-primary) 85%, #0f172a);
}

@supports not selector(:has(*)) {
    #order-rainy_one_step.rainy-order-form .rainy-checkout-gateway-option input[type="radio"]:checked {
        accent-color: var(--ro-primary);
    }
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .rainy-checkout-section {
    background: var(--ro-surface);
    border-color: var(--ro-border);
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .rainy-checkout-section__title {
    background: color-mix(in srgb, var(--ro-muted) 12%, var(--ro-surface));
    border-bottom-color: var(--ro-border);
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .rainy-checkout-total-due {
    border-color: color-mix(in srgb, #4ade80 40%, var(--ro-border));
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .rainy-checkout-tos {
    background: color-mix(in srgb, var(--ro-muted) 10%, var(--ro-surface));
    border-color: var(--ro-border);
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .rainy-checkout-tos__label {
    color: var(--ro-text, #f3f4f6);
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .rainy-checkout-tos__link {
    color: #93c5fd;
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .rainy-checkout-tos__link:hover {
    color: #bfdbfe;
}

/* Koyu tema: kart / ödeme geçidi alan etiketleri (Kart numarası, SKT, CVV…) */
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .rainy-checkout-cc-panel label:not(.checkbox-inline):not(.radio-inline),
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form #creditCardInputFields label:not(.checkbox-inline):not(.radio-inline),
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form #paymentGatewayInput label:not(.checkbox-inline):not(.radio-inline),
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .rainy-checkout-section--payment .two-column-grid > div > label,
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .rainy-checkout-section--payment .three-column-grid > div > label {
    color: #f9fafb !important;
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form #paymentGatewayInput .control-label,
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .cc-input-container .control-label,
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form #creditCardInputFields .control-label {
    color: #f9fafb !important;
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .rainy-checkout-cc-panel .field-icon i,
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form #creditCardInputFields .field-icon i {
    color: #e5e7eb !important;
}

html[data-theme="dark"] #order-rainy_one_step.rainy-order-form .rainy-checkout-cc-panel .field-help-text,
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form #paymentGatewayInput .field-help-text,
html[data-theme="dark"] #order-rainy_one_step.rainy-order-form #creditCardInputFields .field-help-text {
    color: var(--ro-muted, #9ca3af) !important;
}
