.odeme-page {
    padding: 30px 0 80px;
}

body.modal-open,
html.modal-open {
    overflow: hidden !important;
    height: 100% !important;
}

/* Stepper */
.checkout-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.step.active .step-circle {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.step.completed .step-circle {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.step-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-500);
}

.step.active .step-label {
    color: var(--primary-blue);
}

.step-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 12px;
    margin-bottom: 26px;
}

.step-line.completed {
    background: #10b981;
}

/* 2-Column Checkout Layout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: flex-start;
    width: 100%;
}

.checkout-left-col,
.checkout-right-col {
    display: flex;
    flex-direction: column;
}

/* Generic Checkout Card */
.checkout-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.02);
    position: relative;
    transition: border-color 0.2s;
}

.checkout-card:hover {
    border-color: #cbd5e1;
}

.address-card-title,
.section-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 14px;
}

/* Address Cards & Preview */
.address-card {
    position: relative;
    padding-bottom: 24px;
}

.address-change-btn {
    position: absolute;
    bottom: 18px;
    right: 22px;
    color: #2563eb;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}

.address-change-btn:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.addr-preview-content {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #475569;
    padding-right: 65px;
}

.addr-recipient-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.96rem;
    margin-bottom: 4px;
}

.addr-lines {
    color: #475569;
}

.addr-location {
    color: #64748b;
}

.addr-phone {
    color: #334155;
    font-weight: 500;
    margin-top: 2px;
}

/* Payment Methods (Radio Cards) */
.payment-methods-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-method-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    position: relative;
    margin: 0;
}

.payment-method-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.payment-method-card.selected {
    border-color: #3b82f6;
    background: #f8faff;
    box-shadow: 0 0 0 1px #3b82f6, 0 4px 12px rgba(59, 130, 246, 0.06);
}

.payment-method-card input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    outline: none;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    background: #ffffff;
}

.payment-method-card.selected input[type="radio"] {
    border-color: #2563eb;
    background: #2563eb;
    box-shadow: inset 0 0 0 3px #ffffff;
}

.payment-method-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 2px 0;
}

.payment-method-card.selected .payment-method-info h4 {
    color: #1d4ed8;
}

.payment-method-info p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

.payment-details-container {
    display: none;
}

.payment-details-container.active {
    display: block;
}

/* Summary Card */
.summary-card-checkout {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.92rem;
}

.summary-row .label {
    color: #64748b;
    font-weight: 500;
}

.summary-row .value {
    color: #1e293b;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.summary-row.total {
    margin-top: 10px;
    padding-top: 14px;
    border-top: 2px dashed #e2e8f0;
}

.summary-row.total .label {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.summary-row.total .value {
    font-size: 1.35rem;
    font-weight: 900;
    color: #0d47a1;
}



/* Order Items in Modal */
#checkout-items-list {
    padding: 8px 0;
}

.checkout-item-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}

.checkout-item-summary:last-child {
    border-bottom: none;
}

.checkout-item-img-wrapper {
    position: relative;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 4px;
    overflow: hidden;
}

.checkout-item-img-small {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.checkout-item-large-preview {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 380px;
    height: 380px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    border: 1px solid #e2e8f0;
}

.checkout-item-large-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.checkout-item-img-wrapper:hover .checkout-item-large-preview {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.checkout-item-img-wrapper:hover .checkout-item-img-small {
    transform: scale(1.05);
}

.checkout-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checkout-item-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.checkout-qty-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 99px;
    padding: 2px 8px;
    width: fit-content;
}

.btn-qty {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--gray-600);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-qty:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.qty-val {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gray-800);
    min-width: 18px;
    text-align: center;
}

.checkout-item-price-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
    text-align: right;
}

.checkout-item-price-col .price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-blue);
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.2px;
}

.btn-remove-item {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-item:hover {
    color: #ef4444;
    background: #fee2e2;
}

/* Credit Card Modal Preview */
.card-preview-container {
    perspective: 1000px;
    width: 100%;
    max-width: 380px;
    height: 230px;
    margin: 0 auto 30px;
}

.flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.card-preview-container.is-flipped .flip-card {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 26px;
    color: white;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    padding: 0;
}

.card-chip {
    width: 48px;
    height: 36px;
    background: linear-gradient(135deg, #ffd700 0%, #daa520 100%);
    border-radius: 8px;
    position: relative;
}

.card-logo {
    position: absolute;
    top: 26px;
    right: 26px;
    font-size: 2rem;
}

.card-number-display {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin: 16px 0;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-holder-display label,
.card-expiry-display label {
    font-size: 0.68rem;
    text-transform: uppercase;
    opacity: 0.7;
    display: block;
    margin-bottom: 4px;
}

.card-holder-display span,
.card-expiry-display span {
    font-size: 0.92rem;
    font-weight: 600;
}

.card-black-line {
    width: 100%;
    height: 46px;
    background: #000;
    margin-top: 26px;
}

.card-cvv-line {
    margin: 18px 26px;
    background: #fff;
    height: 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 14px;
    color: #334155;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.88rem;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.form-group input:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ==========================================================================
   PREMIUM CHECKOUT & GUEST FLOW STYLES
   ========================================================================== */

.odeme-page {
    padding: 30px 0 80px;
}

body.modal-open,
html.modal-open {
    overflow: hidden !important;
    height: 100% !important;
}

/* Stepper */
.checkout-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.step.active .step-circle {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.15);
}

.step.completed .step-circle {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.step-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
}

.step.active .step-label {
    color: #2563eb;
}

.step.completed .step-label {
    color: #10b981;
}

.step-line {
    flex: 1;
    height: 3px;
    background: #e2e8f0;
    margin: 0 12px;
    margin-bottom: 26px;
    border-radius: 2px;
}

.step-line.completed {
    background: #10b981;
}

/* 2-Column Checkout Layout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    align-items: flex-start;
    width: 100%;
}

.checkout-left-col,
.checkout-right-col {
    display: flex;
    flex-direction: column;
}

/* Premium Checkout Card */
.checkout-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    position: relative;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.checkout-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 24px -2px rgba(15, 23, 42, 0.07);
}

.address-card-title,
.section-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Address Cards & Preview */
.address-card {
    position: relative;
    padding-bottom: 24px;
}

.address-change-btn {
    position: absolute;
    bottom: 18px;
    right: 22px;
    color: #2563eb;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}

.address-change-btn:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.addr-preview-content {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #475569;
    padding-right: 65px;
}

/* Register-Style Form Fields */
.field-group {
    margin-bottom: 16px;
    position: relative;
    width: 100%;
}

.field-label {
    display: flex;
    align-items: center;
    font-size: 0.76rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Dynamic Required Asterisk (Shown only on submission attempt when invalid) */
.field-label .req-star {
    display: none;
    color: #ef4444;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1;
    margin-left: 3px;
}

.field-group.has-error .field-label .req-star {
    display: inline-block;
    animation: starPulse 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.field-group.has-error .field-label {
    color: #b91c1c;
}

.field-group.has-error .minimal-input,
.field-group.has-error .minimal-textarea,
.field-group.has-error .custom-select-trigger,
.field-group.has-error .phone-dropdown-trigger,
.field-group.has-error .phone-input-container {
    border-color: #ef4444 !important;
    background-color: #fffbfa !important;
    box-shadow: 0 0 0 3.5px rgba(239, 68, 68, 0.12) !important;
}

@keyframes starPulse {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.4); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.minimal-input,
.minimal-select,
.minimal-textarea {
    width: 100%;
    height: 48px;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1e293b;
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-sizing: border-box;
}

.minimal-textarea {
    height: auto;
    min-height: 84px;
    resize: vertical;
    padding: 12px 16px;
    line-height: 1.45;
}

.minimal-input:hover,
.minimal-select:hover,
.minimal-textarea:hover {
    border-color: #cbd5e1;
}

.minimal-input:focus,
.minimal-select:focus,
.minimal-textarea:focus {
    border-color: #1b72e8;
    box-shadow: 0 0 0 3px rgba(27, 114, 232, 0.12);
    background-color: #ffffff;
}

.minimal-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px 10px;
    padding-right: 38px;
    cursor: pointer;
}

.minimal-select:disabled {
    background-color: #f8fafc;
    color: #94a3b8;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

/* Phone input with custom dropdown or badge */
.phone-input-container {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.phone-prefix-badge {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    font-weight: 700;
    color: #1b72e8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 7px;
    padding: 3px 8px;
    pointer-events: none;
    user-select: none;
    z-index: 2;
    line-height: 1.2;
}

/* Custom Phone Country Dropdown Component */
.custom-phone-dropdown {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.phone-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 10px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    user-select: none;
}

.phone-dropdown-trigger:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
}

.custom-phone-dropdown.open .phone-dropdown-trigger {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.phone-dropdown-trigger .phone-chevron {
    font-size: 0.68rem;
    color: #64748b;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-phone-dropdown.open .phone-dropdown-trigger .phone-chevron {
    transform: rotate(180deg);
    color: #2563eb;
}

.phone-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 290px;
    max-width: calc(100vw - 36px);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(0, 0, 0, 0.04);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.custom-phone-dropdown.open .phone-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.phone-dropdown-search {
    position: relative;
    padding: 8px 10px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.phone-dropdown-search .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.78rem;
    color: #94a3b8;
    pointer-events: none;
}

.phone-search-input {
    width: 100%;
    height: 34px;
    padding: 0 10px 0 32px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    font-size: 0.8rem;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.phone-search-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.phone-dropdown-list {
    max-height: 230px;
    overflow-y: auto;
    padding: 6px 0;
    margin: 0;
    list-style: none;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.phone-dropdown-list::-webkit-scrollbar {
    width: 6px;
}

.phone-dropdown-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.phone-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.phone-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.82rem;
    color: #334155;
    transition: background-color 0.15s ease, color 0.15s ease;
    user-select: none;
    gap: 8px;
}

.phone-dropdown-item:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

.phone-dropdown-item.selected {
    background-color: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
}

.phone-dropdown-item .phone-item-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.phone-dropdown-item .phone-item-code {
    font-size: 0.76rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.phone-dropdown-item.selected .phone-item-code {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.phone-dropdown-empty {
    padding: 16px 12px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-input-container .minimal-input {
    padding-left: 74px !important;
}

.phone-input-container .minimal-input.phone-with-custom-select {
    padding-left: 88px !important;
}

/* ========================================================
   CUSTOM SELECT DROPDOWN COMPONENT (FOR ADDRESS & FORM FIELDS)
   ======================================================== */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    width: 100%;
    height: 48px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.92rem;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    text-align: left;
    user-select: none;
    box-sizing: border-box;
}

.custom-select-trigger:hover:not(.disabled):not(:disabled) {
    border-color: #94a3b8;
    background: #fdfdfd;
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.12);
}

.custom-select-trigger:disabled,
.custom-select-trigger.disabled {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
    pointer-events: none;
}

.custom-select-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.92rem;
    color: #1e293b;
    background: transparent !important;
    opacity: 1 !important;
    cursor: pointer;
}

.custom-select-label.custom-placeholder {
    color: #94a3b8 !important;
    font-weight: 400;
    background: transparent !important;
    opacity: 1 !important;
}

.custom-select-chevron {
    font-size: 0.75rem;
    color: #64748b;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 10px;
    flex-shrink: 0;
}

.custom-select-wrapper.open .custom-select-chevron {
    transform: rotate(180deg);
    color: #2563eb;
}

.custom-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    min-width: 240px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 18px 40px -4px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.custom-select-wrapper.open .custom-select-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.custom-select-search-box {
    position: relative;
    padding: 8px 10px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.custom-select-search-box .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.78rem;
    color: #94a3b8;
    pointer-events: none;
}

.custom-select-search-input {
    width: 100%;
    height: 36px;
    padding: 0 10px 0 32px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.84rem;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-select-search-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.custom-select-list {
    max-height: 230px;
    overflow-y: auto;
    padding: 6px 0;
    margin: 0;
    list-style: none;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.custom-select-list::-webkit-scrollbar {
    width: 6px;
}

.custom-select-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.custom-select-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.custom-select-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    cursor: pointer;
    font-size: 0.86rem;
    color: #334155;
    transition: background-color 0.15s ease, color 0.15s ease;
    user-select: none;
    gap: 8px;
}

.custom-select-item:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

.custom-select-item.selected {
    background-color: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
}

.custom-select-item-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-select-item-badge {
    font-size: 0.74rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.custom-select-item.selected .custom-select-item-badge {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.custom-select-empty {
    padding: 16px 12px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hidden native select for seamless custom select enhancement */
select.minimal-select-hidden {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    pointer-events: none !important;
}

/* 2-Column form grid */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 576px) {
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}


/* Address Title Chips */
.address-title-chips {
    margin-top: 6px;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-address-chip {
    background: #f8fafc;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 6px 15px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-address-chip:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #cbd5e1;
}

.btn-address-chip.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
}

.guest-address-alert {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0369a1;
}

/* Fatura Türü Segmented Control */
.billing-type-toggle {
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    display: flex;
    gap: 4px;
}

.btn-billing-type {
    background: transparent;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-billing-type:hover {
    color: #0f172a;
}

.btn-billing-type.active {
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Right Column - Payment & Summary */
.payment-section-card {
    padding: 24px;
}

.payment-method-card {
    border: 2px solid #2563eb;
    border-radius: 12px;
    padding: 16px 18px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.08);
}

.payment-method-card input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
}

.payment-method-info h4 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
}

.payment-method-info p {
    margin: 2px 0 0;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.summary-card-checkout {
    padding: 26px;
    background: #ffffff;
    border-radius: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.9rem;
    color: #475569;
    border-bottom: 1px solid #f8fafc;
}

.summary-row .label {
    font-weight: 500;
}

.summary-row .value {
    font-weight: 700;
    color: #0f172a;
}

.summary-row.total {
    border-top: 2px solid #e2e8f0;
    border-bottom: none;
    padding-top: 18px;
    margin-top: 10px;
}

.summary-row.total .label {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
}

.summary-row.total .value {
    font-size: 1.45rem;
    font-weight: 800;
    color: #2563eb;
    font-family: 'Outfit', sans-serif;
}

.complete-btn {
    width: 100%;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e86200 0%, #ff6d00 100%);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    border: none;
    box-shadow: 0 8px 24px rgba(255, 109, 0, 0.28);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    cursor: pointer;
    text-decoration: none;
    outline: none;
    user-select: none;
}

.complete-btn:hover:not(:disabled):not([disabled]):not(.disabled) {
    background: linear-gradient(135deg, #d15800 0%, #e86200 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 109, 0, 0.42);
    color: #ffffff;
}

.complete-btn:active:not(:disabled):not([disabled]):not(.disabled) {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(255, 109, 0, 0.28);
}

.complete-btn:disabled,
.complete-btn[disabled],
.complete-btn.disabled {
    background: #94a3b8 !important;
    border-color: #94a3b8 !important;
    box-shadow: none !important;
    transform: none !important;
    cursor: not-allowed !important;
    opacity: 0.7;
    pointer-events: none;
}

.secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #10b981;
    font-weight: 600;
    font-size: 0.82rem;
    margin-top: 16px;
}

@media (max-width: 992px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .checkout-card,
    .guest-form-card {
        padding: 20px 16px;
    }
}