.toast-message {
    font-size: 1.25rem;
    /* font-weight: bold; */
}

.toast-title {
    font-size: 1.65rem;
    font-weight: bold;
}

.account__wrapper .header__select--inner {
    width: 100%;
    border: 1px solid var(--border-color);
    margin: 0.6rem 0px;
    border-radius: 5px;
}

.none {
    display: none;
}

.address-div .account__login--input {
    margin-bottom: 0.6rem;
}

.address-card {
    margin: 10px 0px;
}

.footer__widget--desc a {
    color: var(--foreground-sub-color);
}
.footer__widget--desc a:hover {
    color: var(--text-white-color);
}

#product_grid,
#product_list {
    margin: 2.5rem 0;
}

.center {
    text-align: center;
    width: 100%;
}

.left {
    float: left;
}

.mr-5 {
    margin-right: 10px;
}

.heart-icon {
    height: 30px;
    width: 30px;
}

.sub-heart {
    margin: auto;
}

/* Payment sayfaları için özel stiller */
.payment-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
}

.payment-success-title,
.payment-error-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.payment-success-title {
    color: #28a745;
}

.payment-error-title {
    color: #dc3545;
}

.payment-success-message,
.payment-error-message {
    font-size: 1.2rem;
    color: var(--foreground-sub-color);
    max-width: 600px;
    margin: 0 auto;
}

.success-icon,
.error-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Buton stilleri */
.btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    background-color: transparent;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
    border-color: #6c757d;
}

/* Payment form dar kart görünümü ve buton eşitleme */
.payment-card {
    background: var(--bg-offwhite-color);
    border: 1px solid var(--border-color);
}

/* primary__btn ile aynı yapıda outline varyantı */
.primary__btn.is-outline {
    background: transparent;
    color: var(--foreground-color);
    border: 2px solid var(--border-color);
}
.primary__btn.is-outline:hover {
    background: transparent;
    color: var(--foreground-color);
    border-color: #6c757d;
}

/* saved cards */
.saved-cards {
    background: var(--bg-offwhite-color);
    border: 1px solid var(--border-color);
}

/* Balance page tweaks to match payment cards */
.saved-addresses {
    background: var(--bg-offwhite-color);
    border: 1px solid var(--border-color);
}
.address-option {
    height: 100%;
    display: block;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    background: white;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
.address-option:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.12);
}
.address-option .address-option-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.address-option .address-option-holder {
    font-size: 1.2rem;
    color: var(--foreground-sub-color);
}

/* Kart seçim kartları */
.card-option {
    height: 100%;
    display: block;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    background: white;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
.card-option:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.12);
}
.card-option input {
    display: none;
}
.card-option.selected,
.card-option input:checked + .card-option-body {
    /* selected görünümü */
}
.card-option .card-option-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.card-option .card-option-number {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    color: var(--foreground-sub-color);
}
.card-option .card-option-holder {
    font-size: 1.2rem;
    color: var(--foreground-sub-color);
}

.saved-addresses {
    background: var(--bg-offwhite-color);
    border: 1px solid var(--border-color);
}

/* Kart seçim kartları */
.address-option {
    height: 100%;
    display: block;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    background: white;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
.address-option:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.12);
}
.address-option input {
    display: none;
}
.address-option.selected,
.address-option input:checked + .address-option-body {
    /* selected görünümü */
}
.address-option .address-option-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.address-option .address-option-number {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    color: var(--foreground-sub-color);
}
.address-option .address-option-holder {
    font-size: 1.2rem;
    color: var(--foreground-sub-color);
}

/* Input boyutu artışı */
#paymentForm .form-control {
    font-size: 1.05rem;
}

/* Button text vertical centering fix */
.primary__btn,
.primary__btn.is-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Form stilleri */
#paymentForm .form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#paymentForm .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25);
}

#paymentForm .form-label {
    font-weight: 600;
    color: var(--foreground-color);
    margin-bottom: 0.5rem;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .payment-title {
        font-size: 3.5rem;
    }

    .payment-success-title,
    .payment-error-title {
        font-size: 2.2rem;
    }

    .success-icon svg,
    .error-icon svg {
        width: 80px;
        height: 80px;
    }

    .d-flex.justify-content-between {
        /* flex-direction: column; */
        gap: 1rem;
    }

    .d-flex.justify-content-center.gap-3 {
        flex-direction: column;
        align-items: center;
    }
}

.selected {
    border: 2px solid black;
}

.stock-count {
    font-weight: 700;
    font-size: 1.75rem;
    color: #fa5000;
    margin: 10px 0px 15px 0px;
}

/* Anlık Arama Sonuçları Stilleri */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 5px;
}

.search-results-content {
    padding: 0;
}

.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #666;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #fa5000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.search-results-list {
    max-height: 300px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-price {
    font-size: 13px;
    color: #fa5000;
    font-weight: 600;
    margin: 0;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.search-show-more {
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.search-show-more .btn {
    width: 100%;
    background-color: #fa5000;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 1.25rem;
}

.search-show-more .btn:hover {
    background-color: #fa5000;
}

/* Responsive */
@media (max-width: 768px) {
    .search-results-dropdown {
        left: -10px;
        right: -10px;
    }
}

.with-bordered {
    padding: 10px 20px;
    border: 2px solid rgba(0, 0, 0, 0.384);
    width: auto;
    border-radius: 1rem;
    display: inline-flex;
    margin-top: 0px !important;
    transition: all 0.2s ease;
}

.with-bordered:hover {
    background-color: #000000bb;
    color: white;
}
