.account-page-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 992px) {
    .account-page-layout {
        gap: 28px;
        grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    }
}

.account-page-sidebar {
    min-width: 0;
}

.account-page-content {
    min-width: 0;
}

/* Favori kartları kendi grid hücresinde kalır; kaynak görsel kartı büyütmez. */
.wishlist-product-grid > * {
    min-width: 0;
}

@media (min-width: 768px) {
    .wishlist-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .wishlist-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.wishlist-product-card .product-image {
    align-items: center;
    display: flex;
    height: 220px;
    justify-content: center;
}

.wishlist-product-card .product-image > a {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.wishlist-product-card .product-image img {
    height: 100%;
    max-height: 220px;
    object-fit: contain;
    width: 100%;
}

@media (max-width: 767px) {
    .wishlist-product-card .product-image {
        height: 190px;
    }

    .wishlist-product-card .product-image img {
        max-height: 190px;
    }
}

.account-page-layout {
    --account-input-bg: #f7f7f7;
    --account-input-border: rgba(0, 0, 0, 0.1);
    --account-input-radius: 6px;
    --account-input-min-height: 36px;
}

.account-page-layout input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="submit"], [type="button"], [type="file"], [type="image"], [type="reset"]),
.account-page-layout textarea,
.account-page-layout select,
.account-form-grid input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="submit"], [type="button"], [type="file"], [type="image"], [type="reset"]),
.account-form-grid textarea,
.account-form-grid select {
    background: var(--account-input-bg);
    border: 1px solid var(--account-input-border);
    border-radius: var(--account-input-radius);
    color: #1a1a1a;
    font-size: 13px;
    min-height: var(--account-input-min-height);
    padding: 0 12px;
    width: 100%;
}

.account-page-layout textarea,
.account-form-grid textarea {
    min-height: 96px;
    padding: 8px 12px;
    resize: vertical;
}

.account-page-layout input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="submit"], [type="button"], [type="file"], [type="image"], [type="reset"]):focus,
.account-page-layout textarea:focus,
.account-page-layout select:focus,
.account-form-grid input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="submit"], [type="button"], [type="file"], [type="image"], [type="reset"]):focus,
.account-form-grid textarea:focus,
.account-form-grid select:focus {
    background: #fff;
    border-color: #073b6f;
    box-shadow: 0 0 0 2px rgba(7, 59, 111, 0.1);
    outline: none;
}

.account-page-layout input[readonly] {
    background: #f0f0f0;
    color: #6b6b6b;
}

.account-nav {
    margin-bottom: 0;
}

.account-password-form {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
}

.account-password-form label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    min-width: 0;
}

.account-password-form input {
    width: 100%;
}

.account-password-form input:focus {
    border-color: #073b6f;
    box-shadow: 0 0 0 2px rgba(7, 59, 111, 0.1);
    outline: none;
}

.account-password-form-submit {
    align-self: end;
}

.account-password-form-submit .btn {
    min-height: 38px;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .account-password-form {
        align-items: end;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    }
}

.account-profile-panel {
    padding: 20px 22px;
}

.account-profile-intro {
    color: #6b6b6b;
    font-size: 13px;
    line-height: 20px;
    margin: 0 0 20px;
}

.account-required {
    color: #c0392b;
}

.account-profile-grid {
    display: grid;
    gap: 16px 20px;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .account-profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.account-profile-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.account-profile-label {
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 500;
}

.account-profile-field input {
    width: 100%;
}

.account-profile-field input[readonly] {
    background: #f0f0f0;
    color: #6b6b6b;
}

.account-profile-input-row {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 0;
}

.account-profile-input-row input {
    flex: 1;
    min-width: 0;
}

.account-profile-action-btn,
.account-profile-submit {
    align-items: center;
    background: #073b6f !important;
    border: 0 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    color: #fff !important;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 13px !important;
    font-weight: 600 !important;
    justify-content: center;
    line-height: 1.2;
    min-height: 42px;
    padding: 0 22px !important;
    text-transform: uppercase;
    transition: background-color 0.15s ease;
    white-space: nowrap;
}

.account-profile-action-btn:hover:not(.is-verified):not(:disabled),
.account-profile-submit:hover {
    background: #052d55 !important;
}

.account-profile-action-btn.is-verified {
    cursor: default;
    pointer-events: none;
}

.account-profile-change-btn {
    background: #fff !important;
    border: 1px solid #073b6f !important;
    color: #073b6f !important;
    pointer-events: auto;
}

.account-profile-change-btn:hover {
    background: rgba(7, 59, 111, 0.08) !important;
}

.account-profile-field-hint {
    color: #919eab;
    font-size: 12px;
    line-height: 18px;
    margin: 6px 0 0;
}

.account-profile-date-wrap {
    position: relative;
}

.account-profile-date-input {
    display: none;
}

.account-profile-date-trigger {
    align-items: center;
    background: #f7f7f7;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    font-family: inherit;
    font-size: 13px;
    gap: 10px;
    justify-content: space-between;
    min-height: 40px;
    padding: 0 12px;
    text-align: left;
    width: 100%;
}

.account-profile-date-value {
    flex: 1;
    min-width: 0;
}

.account-profile-date-icon {
    color: #073b6f;
    flex-shrink: 0;
    font-size: 18px;
    line-height: 1;
}

.account-profile-date-trigger.is-placeholder .account-profile-date-value {
    color: #9a9a9a;
}

.account-profile-date-trigger:focus {
    background: #fff;
    border-color: #073b6f;
    box-shadow: 0 0 0 2px rgba(7, 59, 111, 0.1);
    outline: none;
}

.account-profile-calendar {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    left: 0;
    margin-top: 8px;
    padding: 12px;
    position: absolute;
    top: 100%;
    width: min(100%, 320px);
    z-index: 20;
}

.account-profile-calendar-head {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: 32px 1fr 32px;
    margin-bottom: 10px;
}

.account-profile-calendar-title {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.account-profile-calendar-nav {
    align-items: center;
    background: #f7f7f7;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    color: #1a1a1a;
    cursor: pointer;
    display: inline-flex;
    font-size: 18px;
    height: 32px;
    justify-content: center;
    line-height: 1;
    width: 32px;
}

.account-profile-calendar-nav:hover {
    border-color: #073b6f;
    color: #073b6f;
}

.account-profile-calendar-weekdays,
.account-profile-calendar-grid {
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.account-profile-calendar-weekdays {
    margin-bottom: 6px;
}

.account-profile-calendar-weekdays span {
    color: #9a9a9a;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.account-profile-calendar-day {
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: #1a1a1a;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    height: 34px;
    width: 100%;
}

.account-profile-calendar-day:hover:not(:disabled) {
    background: rgba(7, 59, 111, 0.08);
    color: #073b6f;
}

.account-profile-calendar-day.is-selected {
    background: #073b6f;
    color: #fff;
}

.account-profile-calendar-day.is-today:not(.is-selected) {
    border: 1px solid rgba(7, 59, 111, 0.35);
}

.account-profile-calendar-day:disabled {
    color: #c8c8c8;
    cursor: not-allowed;
}

.account-profile-consent {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 22px;
    padding-top: 18px;
}

.account-profile-consent-title {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px;
}

.account-profile-consent-check {
    align-items: flex-start;
    color: #6b6b6b;
    display: flex;
    font-size: 13px;
    gap: 10px;
    line-height: 20px;
}

.account-profile-consent-check input {
    accent-color: #073b6f;
    flex-shrink: 0;
    margin-top: 3px;
}

.account-consent-tooltip {
    display: inline-block;
    position: relative;
}

.account-consent-link {
    background: none;
    border: 0;
    color: #073b6f;
    cursor: help;
    font: inherit;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.account-consent-popover {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    color: #4a4a4a;
    font-size: 12px;
    left: 50%;
    line-height: 18px;
    opacity: 0;
    padding: 12px 14px;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 8px);
    transform: translate(-50%, 4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
    visibility: hidden;
    width: min(320px, 70vw);
    z-index: 5;
}

.account-consent-popover::before {
    border-color: transparent transparent #fff transparent;
    border-style: solid;
    border-width: 0 7px 7px;
    content: '';
    left: 50%;
    position: absolute;
    top: -7px;
    transform: translateX(-50%);
}

.account-consent-tooltip:hover .account-consent-popover,
.account-consent-tooltip:focus-within .account-consent-popover {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    visibility: visible;
}

.account-profile-footer {
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    margin-top: 22px;
    padding-top: 18px;
}

.account-profile-cancel-trigger {
    margin: 0;
}

.account-profile-cancel-btn {
    border-radius: 6px !important;
    color: #6b6b6b !important;
    font-size: 13px !important;
    min-height: 42px;
    padding: 0 18px !important;
}

.account-profile-cancel-btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.account-profile-cancel-panel {
    flex: 1 1 100%;
    margin-top: 12px;
    order: 3;
}

.account-profile-cancel-note {
    color: #6b6b6b;
    font-size: 13px;
    line-height: 20px;
    margin: 0 0 10px;
}

.account-profile-cancel-form,
.account-profile-verify-form {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.account-profile-cancel-form input,
.account-profile-verify-form input {
    max-width: 180px;
}

.account-profile-verify-panel {
    background: rgba(7, 59, 111, 0.04);
    border: 1px solid rgba(7, 59, 111, 0.12);
    border-radius: 8px;
    margin-top: 18px;
    padding: 14px 16px;
}

.account-profile-verify-panel p {
    color: #052d55;
    font-size: 13px;
    margin: 0 0 10px;
}

.account-profile-dev-code {
    color: #9a9a9a;
    font-size: 12px;
    margin: 8px 0 0;
}

.account-profile-kvkk {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 20px;
    padding-top: 20px;
}

.account-profile-kvkk-lead,
.account-profile-kvkk-note {
    color: #637381;
    font-size: 13px;
    line-height: 20px;
    margin: 0 0 12px;
}

.account-profile-kvkk-form {
    margin: 0;
}

.account-profile-kvkk-btn {
    border-radius: 6px !important;
    color: #073b6f !important;
    font-size: 13px !important;
    min-height: 42px;
    padding: 0 18px !important;
}

.account-profile-data-requests {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.account-profile-data-request-item {
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr auto auto;
    padding: 10px 12px;
}

.account-profile-data-request-type {
    color: #161c24;
    font-size: 13px;
    font-weight: 600;
}

.account-profile-data-request-status {
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    text-transform: uppercase;
}

.account-profile-data-request-status-pending,
.account-profile-data-request-status-processing {
    background: rgba(255, 171, 0, 0.16);
    color: #b76e00;
}

.account-profile-data-request-status-completed {
    background: rgba(0, 171, 85, 0.16);
    color: #007b55;
}

.account-profile-data-request-status-failed {
    background: rgba(255, 86, 48, 0.16);
    color: #b71d18;
}

.account-profile-data-request-date {
    color: #919eab;
    font-size: 12px;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .account-profile-data-request-item {
        grid-template-columns: 1fr;
    }
}

.account-panel {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 16px 20px;
}

.account-panel-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.account-panel-lead {
    color: #637381;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.account-security-table-wrap {
    overflow-x: auto;
}

.account-security-table {
    border-collapse: collapse;
    font-size: 13px;
    min-width: 100%;
    width: 100%;
}

.account-security-table th,
.account-security-table td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 10px 8px;
    text-align: left;
    vertical-align: top;
}

.account-security-table th {
    color: #637381;
    font-weight: 600;
}

.account-security-status {
    border-radius: 999px;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 10px;
}

.account-security-status--success {
    background: rgba(0, 171, 85, 0.12);
    color: #007b55;
}

.account-security-status--failed {
    background: rgba(255, 72, 66, 0.12);
    color: #b42318;
}

.account-empty-text {
    color: #637381;
    font-size: 13px;
}

.account-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 768px) {
    .account-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.account-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
}

.account-form-actions {
    align-items: center;
    display: flex;
    gap: 8px;
}

.account-checkbox {
    align-items: center !important;
    flex-direction: row !important;
    gap: 8px;
}

.account-order-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.account-orders-page {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.account-orders-head {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .account-orders-head {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }
}

.account-orders-title {
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

.account-orders-search {
    display: flex;
    gap: 8px;
    width: 100%;
}

@media (min-width: 768px) {
    .account-orders-search {
        max-width: 420px;
        width: auto;
    }
}

.account-orders-search-input {
    flex: 1;
}

.account-orders-search-input:focus {
    border-color: #073b6f;
    box-shadow: 0 0 0 2px rgba(7, 59, 111, 0.1);
    outline: none;
}

.account-orders-search-btn {
    border-radius: 6px !important;
    font-size: 13px !important;
    min-height: 36px;
    padding: 0 14px !important;
    white-space: nowrap;
}

.account-orders-tabs {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 16px;
}

.account-orders-tab {
    border-bottom: 2px solid transparent;
    color: #6b6b6b;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: -1px;
    padding: 10px 16px;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.account-orders-tab:hover {
    color: #073b6f;
}

.account-orders-tab.is-active {
    border-bottom-color: #073b6f;
    color: #073b6f;
}

.account-orders-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 16px;
}

.account-orders-count {
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.account-orders-year-form {
    align-items: center;
    display: flex;
    gap: 8px;
}

.account-orders-year-select,
.account-orders-year-btn {
    cursor: pointer;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    min-height: 32px;
    padding: 0 10px;
}

.account-orders-year-select {
    color: #6b6b6b;
    padding-right: 28px;
}

.account-orders-year-btn:hover {
    border-color: #073b6f;
    color: #073b6f;
}

.account-orders-year-form .nice-select.account-orders-year-select {
    align-items: center !important;
    background: #f7f7f7 !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 6px !important;
    float: none !important;
    height: 32px !important;
    line-height: 30px !important;
    min-height: 32px;
    padding: 0 28px 0 10px !important;
}

.account-orders-year-form .nice-select.account-orders-year-select:hover,
.account-orders-year-form .nice-select.account-orders-year-select.open,
.account-orders-year-form .nice-select.account-orders-year-select:focus {
    border-color: #073b6f !important;
}

.account-orders-year-form .nice-select.account-orders-year-select span.current {
    color: #6b6b6b !important;
    font-size: 12px !important;
    line-height: 30px !important;
}

.account-orders-year-form .nice-select.account-orders-year-select:hover span.current,
.account-orders-year-form .nice-select.account-orders-year-select.open span.current {
    color: #073b6f !important;
}

.account-orders-year-form .nice-select.account-orders-year-select:before {
    font-size: 14px !important;
    line-height: 1 !important;
    right: 8px !important;
}

.account-orders-year-form .nice-select.account-orders-year-select .list {
    border-radius: 6px !important;
    font-size: 12px !important;
    margin-top: 4px !important;
    min-width: 100% !important;
}

.account-orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.account-orders-empty {
    color: #9a9a9a;
    font-size: 13px;
}

.account-orders-pagination {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 28px;
    padding-top: 24px;
}

.account-pagination-list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.account-pagination-btn {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    color: #1a1a1a;
    display: inline-flex;
    font-size: 13px;
    font-weight: 500;
    gap: 6px;
    height: 38px;
    justify-content: center;
    line-height: 1;
    min-width: 38px;
    padding: 0 12px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.account-pagination-btn:hover {
    background: rgba(7, 59, 111, 0.08);
    border-color: #073b6f;
    color: #073b6f;
}

.account-pagination-btn.is-active {
    background: #073b6f;
    border-color: #073b6f;
    box-shadow: 0 1px 2px rgba(7, 59, 111, 0.18);
    color: #fff;
    cursor: default;
    font-weight: 600;
    pointer-events: none;
}

.account-pagination-btn.is-disabled {
    background: #f7f7f7;
    border-color: rgba(0, 0, 0, 0.08);
    color: #b0b0b0;
    cursor: not-allowed;
    pointer-events: none;
}

.account-pagination-btn-nav {
    padding: 0 14px;
}

.account-pagination-btn i {
    font-size: 16px;
    line-height: 1;
}

.account-pagination-ellipsis {
    align-items: center;
    color: #9a9a9a;
    display: inline-flex;
    font-size: 14px;
    height: 38px;
    justify-content: center;
    min-width: 24px;
    user-select: none;
}

.account-pagination-meta {
    color: #6b6b6b;
    font-size: 12px;
    margin: 12px 0 0;
    text-align: center;
}

@media (max-width: 639px) {
    .account-pagination-btn-nav span {
        clip: rect(0, 0, 0, 0);
        border: 0;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        white-space: nowrap;
        width: 1px;
    }

    .account-pagination-btn-nav {
        min-width: 38px;
        padding: 0;
        width: 38px;
    }
}

.account-order-meta-bar {
    background: #073b6f;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: grid;
    gap: 12px 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px 16px;
}

.account-order-meta-bar:not(.account-order-meta-bar-cancelled) .account-order-meta-label {
    color: rgba(255, 255, 255, 0.72);
}

.account-order-meta-bar:not(.account-order-meta-bar-cancelled) .account-order-meta-value {
    color: #fff;
}

.account-order-meta-bar:not(.account-order-meta-bar-cancelled) .account-order-meta-muted {
    color: rgba(255, 255, 255, 0.55);
}

.account-order-meta-bar:not(.account-order-meta-bar-cancelled) .account-order-number {
    color: #fff;
}

.account-order-meta-bar:not(.account-order-meta-bar-cancelled) .account-order-inline-link {
    color: #fff;
}

.account-order-meta-bar:not(.account-order-meta-bar-cancelled) .account-order-inline-link:hover {
    color: #fff;
    text-decoration: underline;
}

.account-order-meta-bar-cancelled {
    align-items: end;
    background: #f7f7f7;
    grid-template-columns: minmax(0, 1fr) auto;
}

.account-order-meta-bar-cancelled .account-order-number {
    color: #073b6f;
}

.account-order-meta-bar-cancelled .account-order-meta-inline .account-order-number {
    color: #073b6f;
}

.account-order-meta-inline {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.account-order-meta-inline .account-order-meta-label {
    margin: 0;
}

.account-order-meta-inline .account-order-number {
    color: #073b6f;
    font-size: 13px;
    font-weight: 600;
}

.account-order-meta-bar:not(.account-order-meta-bar-cancelled) .account-order-meta-inline .account-order-number {
    color: #fff;
}

.account-order-meta-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-top: 6px;
}

.account-order-meta-separator {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    line-height: 1;
    user-select: none;
}

.account-order-meta-bar-cancelled .account-order-meta-separator {
    color: rgba(0, 0, 0, 0.25);
}

.account-order-address-summary {
    align-items: center;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    gap: 6px;
    list-style: none;
    max-width: 100%;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.55);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.15s ease;
}

.account-order-address-summary span:first-child {
    color: #fff;
}

.account-order-meta-bar:not(.account-order-meta-bar-cancelled) .account-order-address-summary,
.account-order-meta-bar:not(.account-order-meta-bar-cancelled) .account-order-address-summary span:first-child {
    color: #fff;
}

.account-order-address-summary:hover {
    text-decoration-color: #fff;
}

.account-order-address-chevron {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    display: inline-block;
    height: 7px;
    margin-top: -2px;
    transform: rotate(45deg);
    transition: transform 0.15s ease;
    width: 7px;
}

.account-order-address-toggle[open] .account-order-address-chevron {
    margin-top: 2px;
    transform: rotate(225deg);
}

.account-order-address-popover {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: #6b6b6b;
    font-size: 12px;
    font-style: normal;
    line-height: 18px;
    margin-top: 8px;
    max-width: 280px;
    padding: 10px 12px;
}

.account-order-invoice-toggle {
    display: inline-block;
    position: relative;
}

.account-order-invoice-summary {
    align-items: center;
    display: inline-flex;
    gap: 4px;
    list-style: none;
}

.account-order-invoice-chevron {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    display: inline-block;
    height: 6px;
    margin-top: -2px;
    transform: rotate(45deg);
    transition: transform 0.15s ease;
    width: 6px;
}

.account-order-invoice-toggle[open] .account-order-invoice-chevron {
    margin-top: 2px;
    transform: rotate(225deg);
}

.account-order-invoice-popover {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-top: 8px;
    min-width: 220px;
    padding: 10px 12px;
    position: absolute;
    right: 0;
    z-index: 20;
}

.account-order-invoice-list {
    display: grid;
    gap: 8px;
    list-style: disc;
    margin: 0;
    padding-left: 18px;
}

.account-order-invoice-list a,
.account-order-invoice-action {
    background: none;
    border: 0;
    color: #073b6f;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    padding: 0;
    text-align: left;
    text-decoration: none;
}

.account-order-invoice-list a:hover,
.account-order-invoice-action:hover {
    text-decoration: underline;
}

.account-order-invoice-muted {
    color: #9a9a9a;
    font-size: 12px;
}

.account-order-invoice-request-form {
    margin: 0;
}

.account-order-meta-bar:not(.account-order-meta-bar-cancelled) .account-order-invoice-popover a,
.account-order-meta-bar:not(.account-order-meta-bar-cancelled) .account-order-invoice-popover .account-order-invoice-action {
    color: #073b6f;
}

.account-order-invoice-toggle summary {
    cursor: pointer;
    list-style: none;
}

.account-order-meta-cell-right {
    text-align: right;
}

.account-order-body-cancelled .account-order-item-row-cancelled {
    grid-template-columns: minmax(0, 1fr);
}

.account-order-cancelled-empty {
    color: #9a9a9a;
    font-size: 13px;
    margin: 0;
    padding: 16px;
}

@media (min-width: 768px) {
    .account-order-meta-bar {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .account-order-meta-bar-cancelled {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

.account-order-meta-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.account-order-meta-cell-order-no {
    grid-column: 1 / -1;
    position: relative;
}

@media (min-width: 768px) {
    .account-order-meta-cell-order-no {
        grid-column: auto;
    }
}

.account-order-meta-label {
    color: #9a9a9a;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.account-order-meta-value {
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 500;
}

.account-order-meta-muted {
    color: #9a9a9a;
}

.account-order-inline-link {
    background: none;
    border: 0;
    color: #073b6f;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    list-style: none;
    padding: 0;
    text-decoration: none;
}

.account-order-inline-link:hover {
    text-decoration: underline;
}

.account-order-address-toggle {
    display: block;
}

.account-order-address-toggle summary::-webkit-details-marker,
.account-order-invoice-toggle summary::-webkit-details-marker {
    display: none;
}

.account-order-body {
    padding: 0;
}

.account-order-state-banner {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 14px 16px;
}

.account-order-state-banner strong {
    color: #1a1a1a;
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.account-order-state-banner p {
    color: #6b6b6b;
    font-size: 12px;
    line-height: 18px;
    margin: 0;
}

.account-order-state-banner-closed strong {
    color: #b72136;
}

.account-order-state-banner-success {
    background: rgba(7, 59, 111, 0.04);
}

.account-order-state-banner-progress {
    background: rgba(7, 59, 111, 0.03);
}

.account-order-state-banner-warning {
    background: rgba(245, 158, 11, 0.06);
}

.account-order-state-banner-danger {
    background: rgba(255, 72, 66, 0.04);
}

.account-order-item-row {
    display: grid;
    gap: 16px 20px;
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
}

@media (min-width: 768px) {
    .account-order-item-row {
        grid-template-columns: minmax(0, 1fr) 220px;
    }
}

.account-order-item-row + .account-order-item-row,
.account-order-item-row-follow {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.account-order-item-main {
    display: flex;
    gap: 14px;
    min-width: 0;
}

.account-order-item-thumb {
    flex-shrink: 0;
}

.account-order-item-thumb img {
    background: #f7f7f7;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    display: block;
    height: auto;
    object-fit: cover;
    width: 72px;
}

.account-order-item-info {
    min-width: 0;
}

.account-order-item-title {
    color: #1a1a1a;
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 4px;
    text-decoration: none;
}

.account-order-item-title:hover {
    color: #073b6f;
}

.account-order-item-qty,
.account-order-item-note {
    color: #6b6b6b;
    font-size: 12px;
    line-height: 18px;
    margin: 0 0 4px;
}

.account-order-item-secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.account-order-secondary-btn {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    color: #1a1a1a;
    font-size: 12px;
    padding: 5px 12px;
    text-decoration: none;
}

.account-order-secondary-btn:hover {
    border-color: #073b6f;
    color: #073b6f;
}

.account-order-item-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 768px) {
    .account-order-item-actions {
        align-items: stretch;
    }
}

.account-order-action-btn {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    color: #1a1a1a;
    display: inline-flex;
    font-size: 12px;
    font-weight: 500;
    justify-content: center;
    line-height: 1.3;
    min-height: 34px;
    padding: 7px 12px;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

.account-order-action-btn:hover {
    border-color: #073b6f;
    color: #073b6f;
}

.account-order-action-btn-primary {
    background: rgba(7, 59, 111, 0.08);
    border-color: rgba(7, 59, 111, 0.22);
    color: #052d55;
}

.account-order-action-btn-danger {
    border-color: rgba(255, 72, 66, 0.22);
    color: #b72136;
}

.account-order-action-btn-muted {
    background: #f7f7f7;
    cursor: default;
}

.account-order-action-form {
    margin: 0;
    width: 100%;
}

.account-order-action-form .account-order-action-btn {
    cursor: pointer;
    width: 100%;
}

.account-order-details {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 0;
    padding: 12px 16px 16px;
}

.account-order-details-toggle {
    color: #073b6f;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    list-style: none;
    user-select: none;
}

.account-order-details-toggle::-webkit-details-marker {
    display: none;
}

.account-order-details-toggle::before {
    content: "▸ ";
    display: inline-block;
    transition: transform 0.15s ease;
}

.account-order-details[open] .account-order-details-toggle::before {
    transform: rotate(90deg);
}

.account-order-details-body {
    margin-top: 14px;
}

.account-order-details[id] {
    scroll-margin-top: 96px;
}

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.account-order-detail-grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 768px) {
    .account-order-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.account-order-detail-section {
    background: #fafafa;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 12px 14px;
}

.account-order-detail-title {
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.account-order-detail-title-spaced {
    margin-top: 14px;
}

.account-order-detail-text,
.account-order-detail-muted,
.account-order-detail-note {
    font-size: 13px;
    line-height: 20px;
    margin: 0;
}

.account-order-detail-muted {
    color: #9a9a9a;
}

.account-order-detail-note {
    background: rgba(7, 59, 111, 0.06);
    border: 1px solid rgba(7, 59, 111, 0.12);
    border-radius: 6px;
    color: #052d55;
    margin-top: 10px;
    padding: 8px 10px;
}

.account-order-address {
    color: #6b6b6b;
    font-size: 13px;
    font-style: normal;
    line-height: 20px;
}

.account-order-meta {
    display: grid;
    gap: 8px;
    margin: 0;
}

.account-order-meta div {
    display: grid;
    gap: 2px;
    grid-template-columns: minmax(0, 110px) minmax(0, 1fr);
}

.account-order-meta dt {
    color: #9a9a9a;
    font-size: 12px;
    font-weight: 400;
    margin: 0;
}

.account-order-meta dd {
    color: #1a1a1a;
    font-size: 13px;
    margin: 0;
}

.account-order-meta a {
    color: #073b6f;
    text-decoration: underline;
}

.account-order-items-table-wrap {
    overflow-x: auto;
}

.account-order-items-table {
    border-collapse: collapse;
    font-size: 12px;
    width: 100%;
}

.account-order-items-table th,
.account-order-items-table td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 6px 4px;
}

.account-order-items-table th {
    color: #9a9a9a;
    font-weight: 500;
    text-align: left;
}

.account-order-items-table .text-right {
    text-align: right;
}

.account-order-total-row td {
    border-bottom: 0;
    padding-top: 8px;
}

.account-order-shipment-timeline {
    border-left: 2px solid rgba(7, 59, 111, 0.15);
    list-style: none;
    margin: 12px 0 0;
    padding: 0 0 0 12px;
}

.account-order-shipment-timeline li {
    display: grid;
    gap: 2px;
    margin-bottom: 10px;
}

.account-order-shipment-time {
    color: #9a9a9a;
    font-size: 11px;
}

.account-order-shipment-desc {
    color: #1a1a1a;
    font-size: 12px;
    line-height: 18px;
}

.account-order-documents {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.account-order-document-link {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(7, 59, 111, 0.18);
    border-radius: 6px;
    color: #073b6f;
    display: inline-flex;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 12px;
    text-decoration: none;
    width: 100%;
}

.account-order-document-link:hover {
    background: rgba(7, 59, 111, 0.04);
}

.account-order-receipt-form {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: grid;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
}

.account-order-receipt-label {
    display: grid;
    font-size: 12px;
    gap: 6px;
}

.account-order-receipt-label input[type=file] {
    font-size: 12px;
    padding: 8px 10px;
}

.account-order-receipt-submit {
    justify-self: start;
    min-height: 32px;
    padding: 6px 14px;
}

.account-order-actions {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
}

.account-alert {
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 12px;
    padding: 10px 12px;
}

.account-alert-success {
    background: rgba(7, 59, 111, 0.06);
    border: 1px solid rgba(7, 59, 111, 0.12);
    color: #052d55;
}

.account-alert-error {
    background: rgba(255, 72, 66, 0.04);
    border: 1px solid rgba(255, 72, 66, 0.16);
    color: #b72136;
}

.content-page-body h2,
.content-page-body h3 {
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 20px;
}

.content-page-body p {
    font-size: 13px;
    line-height: 20px;
    margin-bottom: 12px;
}

.content-page-body ul,
.content-page-body ol {
    font-size: 13px;
    margin: 0 0 12px 1.25rem;
}

/* Hukuki belgeler — ön bilgilendirme & mesafeli satış */
.store-policy-page {
    border-radius: 4px;
    color: #2d2d2d;
    font-family: Georgia, "Times New Roman", serif;
    max-width: 860px;
}

.store-policy-page > h1 {
    border-bottom: 1px solid #d9d9d9;
    color: #202020;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
    margin: 0 0 24px;
    padding-bottom: 14px;
}

.store-policy-page-body {
    color: #333;
    font-size: 14px;
    line-height: 1.75;
}

.store-policy-document h2 {
    color: #202020;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    margin: 24px 0 8px;
}

.store-policy-document p {
    margin: 0 0 14px;
    text-align: justify;
}

.store-policy-document .store-legal-updated {
    color: #707070;
    font-size: 12px;
    font-style: italic;
    margin-bottom: 22px;
    text-align: right;
}

.store-policy-document a {
    color: #066f68;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.store-policy-cookie-manage {
    background: #087f77;
    border: 1px solid #087f77;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    padding: 9px 14px;
}

.store-policy-cookie-manage:hover,
.store-policy-cookie-manage:focus-visible {
    background: #066b65;
    border-color: #066b65;
    outline: none;
}

@media (max-width: 767px) {
    .store-policy-page > h1 {
        font-size: 20px;
    }

    .store-policy-page-body {
        font-size: 13px;
        line-height: 1.7;
    }

    .store-policy-document h2 {
        font-size: 15px;
    }

    .store-policy-document p {
        text-align: left;
    }
}

.store-legal-page-body,
.store-legal-standalone {
    color: #555;
}

.store-legal-doc {
    color: #555;
    font-size: 13px;
    line-height: 1.65;
}

.store-legal-doc-header {
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 24px;
    padding-bottom: 20px;
}

.store-legal-doc-badge {
    color: #073b6f;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.store-legal-doc-title {
    color: #1a1a1a;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0 0 8px;
}

.store-legal-doc-lead {
    color: #666;
    font-size: 14px;
    line-height: 20px;
    margin: 0 0 6px;
}

.store-legal-doc-meta {
    color: #9a9a9a;
    font-size: 12px;
    line-height: 18px;
    margin: 0;
}

.store-legal-doc-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.store-legal-section {
    border: 1px solid #efefef;
    border-radius: 10px;
    overflow: hidden;
}

.store-legal-section-title {
    align-items: center;
    background: #fafafa;
    border-bottom: 1px solid #efefef;
    color: #1a1a1a;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    gap: 10px;
    letter-spacing: -0.01em;
    line-height: 20px;
    margin: 0;
    padding: 12px 16px;
}

.store-legal-section-num {
    align-items: center;
    background: rgba(7, 59, 111, 0.08);
    border-radius: 6px;
    color: #073b6f;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    height: 24px;
    justify-content: center;
    min-width: 24px;
    padding: 0 6px;
}

.store-legal-section-body {
    padding: 14px 16px 16px;
}

.store-legal-section-body p {
    margin: 0 0 10px;
}

.store-legal-section-body p:last-child {
    margin-bottom: 0;
}

.store-legal-info-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .store-legal-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.store-legal-info-box {
    background: #fafafa;
    border: 1px solid #efefef;
    border-radius: 8px;
    padding: 12px 14px;
}

.store-legal-info-title {
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 10px;
}

.store-legal-info-list,
.store-legal-summary,
.store-legal-definitions {
    display: grid;
    gap: 6px 12px;
    grid-template-columns: minmax(120px, 34%) 1fr;
    margin: 0;
}

.store-legal-info-list dt,
.store-legal-summary dt,
.store-legal-definitions dt {
    color: #888;
    font-size: 12px;
    font-weight: 500;
    margin: 0;
}

.store-legal-info-list dd,
.store-legal-summary dd,
.store-legal-definitions dd {
    color: #333;
    font-size: 12px;
    line-height: 18px;
    margin: 0;
    word-break: break-word;
}

.store-legal-summary {
    background: #fafafa;
    border: 1px solid #efefef;
    border-radius: 8px;
    padding: 12px 14px;
}

.store-legal-summary dt:last-of-type,
.store-legal-summary dd:last-of-type {
    color: #1a1a1a;
    font-weight: 600;
}

.store-legal-table-wrap {
    border: 1px solid #efefef;
    border-radius: 8px;
    overflow-x: auto;
}

.store-legal-table {
    border-collapse: collapse;
    font-size: 12px;
    min-width: 100%;
    width: 100%;
}

.store-legal-table th,
.store-legal-table td {
    border-bottom: 1px solid #efefef;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.store-legal-table th {
    background: #fafafa;
    color: #666;
    font-weight: 600;
}

.store-legal-table tr:last-child td {
    border-bottom: 0;
}

.store-legal-list {
    margin: 0;
    padding-left: 1.1rem;
}

.store-legal-list li {
    margin-bottom: 6px;
}

.store-legal-list li:last-child {
    margin-bottom: 0;
}

.store-legal-note {
    background: rgba(7, 59, 111, 0.04);
    border-left: 3px solid #073b6f;
    border-radius: 0 6px 6px 0;
    color: #555;
    font-size: 12px;
    line-height: 18px;
    margin-top: 10px;
    padding: 8px 10px;
}

.store-legal-standalone {
    padding: 4px 2px 8px;
}

.store-legal-page .store-legal-doc-title {
    font-size: 24px;
}

@media (max-width: 767px) {
    .store-legal-info-list,
    .store-legal-summary,
    .store-legal-definitions {
        grid-template-columns: 1fr;
    }
}

/* Adres formu — Cursor-lite (profil) */
.store-address-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.store-address-title {
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.35;
    margin: 0;
}

.store-address-title .store-address-required-note {
    color: #9a9a9a;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
}

.store-address-required-asterisk {
    color: #ff4842;
    font-weight: 700;
}

.store-address-subtitle {
    color: #9a9a9a;
    font-size: 12px;
    line-height: 18px;
    margin: 0;
}

.store-address-section-head h3 {
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 500;
    margin: 0;
}

.store-address-grid {
    display: grid;
    gap: 12px 10px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .store-address-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .store-address-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.store-address-field > span {
    color: #6b6b6b;
    font-size: 12px;
    font-weight: 400;
}

.store-address-field > span b {
    color: #9a9a9a;
    font-weight: 400;
}

.store-address-field-full {
    grid-column: 1 / -1;
}

.store-address-location-grid {
    display: grid;
    gap: 12px 10px;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
    .store-address-location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .store-address-location-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.store-address-field select.store-address-select,
.account-page-layout select.store-address-select {
    appearance: none;
    background-color: var(--account-input-bg, #f7f7f7);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    cursor: pointer;
    padding-right: 38px;
}

.store-address-field select.store-address-select:focus,
.account-page-layout select.store-address-select:focus {
    background-color: #fff;
}

.store-address-field select.store-address-select:disabled,
.account-page-layout select.store-address-select:disabled {
    background-color: #f0f0f0;
    color: #9a9a9a;
    cursor: not-allowed;
    opacity: 1;
}

.store-address-field input[data-turkey-zip] {
    letter-spacing: 0.04em;
    text-align: left;
}

.store-address-field input,
.store-address-field textarea,
.store-address-field select {
    width: 100%;
}

.store-address-field input:focus,
.store-address-field textarea:focus,
.store-address-field select:focus {
    border-color: #073b6f;
    box-shadow: 0 0 0 2px rgba(7, 59, 111, 0.1);
    outline: none;
}

.store-address-field select:disabled {
    background: #f7f7f7;
    color: #9a9a9a;
    cursor: not-allowed;
}

.store-address-field input[readonly] {
    background: #f7f7f7;
    color: #1a1a1a;
    cursor: default;
}

.store-address-kind label {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    color: #6b6b6b;
    font-size: 12px;
    font-weight: 400;
    padding: 6px 12px;
}

.store-address-kind input[type=radio]:checked + label {
    background: rgba(7, 59, 111, 0.06);
    border-color: #073b6f;
    color: #073b6f;
}

.store-address-form[data-kind=individual] .store-corporate-field {
    display: none;
}

.store-address-form[data-kind=corporate] .store-individual-field {
    display: none;
}

.store-address-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    gap: 12px;
    padding-top: 12px;
}

.store-address-checks label {
    color: #6b6b6b;
    font-size: 12px;
}

.store-address-submit {
    font-size: 13px;
    font-weight: 500;
    min-height: 32px;
    padding: 6px 14px;
}

.store-address-cancel {
    color: #9a9a9a;
    font-size: 12px;
    font-weight: 400;
}

.store-address-cancel:hover {
    color: #1a1a1a;
}

/* Adreslerim */
.account-addresses-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.account-addresses-head {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 640px) {
    .account-addresses-head {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }
}

.account-addresses-title {
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
}

.account-addresses-add-btn {
    align-items: center;
    display: inline-flex;
    gap: 6px;
    white-space: nowrap;
}

.account-addresses-add-btn i {
    font-size: 16px;
    line-height: 1;
}

.account-addresses-form-panel {
    padding: 0;
}

.account-addresses-form-panel .store-address-form {
    border: 0;
    border-radius: 0;
    padding: 16px 20px;
}

.account-address-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-address-card {
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 18px;
}

@media (min-width: 768px) {
    .account-address-card {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        padding: 18px 20px;
    }
}

.account-address-card-main {
    flex: 1;
    min-width: 0;
}

.account-address-card-head {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.account-address-card-title {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin: 0;
    text-transform: uppercase;
}

.account-address-badge {
    background: rgba(7, 59, 111, 0.12);
    border-radius: 999px;
    color: #073b6f;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    text-transform: uppercase;
}

.account-address-badge-verified {
    background: rgba(0, 171, 85, 0.12);
    color: #007b55;
}

.account-profile-verify-panel-info {
    background: rgba(255, 171, 0, 0.08);
    border-color: rgba(255, 171, 0, 0.24);
}

.account-address-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-address-line {
    color: #6b6b6b;
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
}

.account-address-name {
    color: #1a1a1a;
    font-weight: 500;
}

.account-address-city {
    color: #9a9a9a;
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.account-address-card-actions {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    gap: 8px;
}

.account-address-delete-form {
    margin: 0;
}

.account-address-action-btn {
    border-radius: 6px !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    min-height: 34px;
    padding: 7px 14px !important;
}

.account-address-action-btn-danger {
    color: #c0392b !important;
}

.account-address-action-btn-danger:hover {
    border-color: rgba(192, 57, 43, 0.35) !important;
    color: #a93226 !important;
}

.account-address-empty {
    align-items: flex-start;
    background: #fafafa;
    border: 1px dashed rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 20px;
}

.account-address-empty p {
    color: #6b6b6b;
    font-size: 13px;
    margin: 0;
}

.account-panel .btn {
    border-radius: 6px;
    box-shadow: none !important;
    font-size: 13px;
    font-weight: 500;
}

/* Yeni mesaj formu */
.account-message-compose {
    margin-bottom: 24px;
    overflow: visible;
    position: relative;
}

.account-message-back {
    align-items: center;
    color: #1a1a1a;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    margin-bottom: 16px;
    text-decoration: none;
    width: 36px;
}

.account-message-back:hover {
    color: #073b6f;
}

.account-message-back i {
    font-size: 22px;
    line-height: 1;
}

.account-message-form {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: visible;
    position: relative;
    z-index: 0;
}

.account-message-fields,
.account-message-field,
.account-message-order-row {
    overflow: visible;
    position: relative;
}

.account-message-fields {
    display: grid;
    gap: 12px 16px;
    grid-template-columns: 1fr;
    padding: 16px;
}

@media (min-width: 768px) {
    .account-message-fields {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.account-message-order-row {
    align-items: end;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: grid;
    gap: 12px 16px;
    grid-template-columns: 1fr;
    overflow: visible;
    padding: 0 16px 16px;
    position: relative;
}

@media (min-width: 768px) {
    .account-message-order-row {
        grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    }
}

.account-message-order-row .account-message-field {
    width: 100%;
}

.account-message-order-row .account-message-select,
.account-message-product-list:not(:has(.account-message-product-option)) {
    box-sizing: border-box;
    height: 40px;
    max-height: 40px;
    min-height: 40px;
}

.account-message-product-list-caption,
.account-message-product-empty {
    align-items: center;
    color: #9a9a9a;
    display: flex;
    font-size: 13px;
    height: 100%;
    line-height: 1.3;
    margin: 0;
    min-height: 38px;
    padding: 0 12px;
}

.account-message-product-list {
    background: #f7f7f7;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    padding: 0;
}

.account-message-product-list:has(.account-message-product-option) {
    height: auto;
    max-height: 220px;
    min-height: 40px;
    overflow-y: auto;
    padding: 4px 0;
}

.account-message-product-list-caption {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    height: auto;
    min-height: 0;
    padding: 10px 12px 8px;
}

.account-message-product-option {
    align-items: flex-start;
    cursor: pointer;
    display: flex;
    font-size: 13px;
    gap: 10px;
    line-height: 1.4;
    padding: 8px 12px;
    transition: background-color 0.15s ease;
}

.account-message-product-option:hover {
    background: rgba(7, 59, 111, 0.06);
}

.account-message-product-option input {
    accent-color: #073b6f;
    flex-shrink: 0;
    height: 16px;
    margin-top: 2px;
    width: 16px;
}

.account-message-product-option span {
    color: #1a1a1a;
    min-width: 0;
}

.account-message-order-row[hidden] {
    display: none !important;
}

.account-message-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.account-message-label {
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.account-message-ticket-type {
    color: #073b6f;
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 4px;
}

.account-message-input,
.account-message-select {
    appearance: auto;
    -webkit-appearance: menulist;
    cursor: pointer;
    display: block;
}

.account-message-form select.account-message-select {
    display: block !important;
}

.account-message-form .nice-select {
    display: none !important;
}

.account-message-textarea {
    color: #1a1a1a;
    line-height: 20px;
    min-height: 140px;
    outline: none;
    resize: vertical;
    width: 100%;
}

.account-message-body .account-message-textarea {
    background: #f7f7f7;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: 140px;
    padding: 16px;
}

.account-message-body .account-message-textarea:focus {
    background: #fff;
    border: 0;
    box-shadow: none;
    outline: none;
}

.account-message-input:focus,
.account-message-select:focus,
.account-message-textarea:focus {
    border-color: #073b6f;
    box-shadow: 0 0 0 2px rgba(7, 59, 111, 0.1);
    outline: none;
}

.account-message-body {
    align-items: stretch;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    min-height: 160px;
}

.account-message-textarea-wrap {
    display: block;
    flex: 1;
    min-width: 0;
}

.account-message-send-wrap {
    align-items: center;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    padding: 16px;
    width: 120px;
}

.account-message-send {
    align-items: center;
    background: none;
    border: 0;
    color: #073b6f;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    font-size: 13px;
    font-weight: 600;
    gap: 8px;
    padding: 8px 12px;
    transition: opacity 0.15s ease;
}

.account-message-send:hover {
    opacity: 0.85;
}

.account-message-send i {
    font-size: 22px;
    line-height: 1;
}

.account-messages-head {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.account-messages-title {
    align-items: center;
    color: #1a1a1a;
    display: inline-flex;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

.account-message-ticket-subject {
    color: #172033;
    font-size: clamp(16px, 1.5vw, 19px);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.35;
    margin: 0;
}

.account-message-status {
    border-radius: 999px;
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 7px 10px;
    white-space: nowrap;
}

.account-message-status-waiting { background: #fff7ed; color: #9a3412; }
.account-message-status-replied,
.account-message-status-answered { background: #eff6ff; color: #1d4ed8; }
.account-message-status-resolved,
.account-message-status-closed { background: #ecfdf5; color: #047857; }

.account-message-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin-top: 14px;
}

.account-message-primary-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.account-message-order-action,
.account-message-reply-action {
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 7px;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    text-decoration: none;
}

.account-message-order-action {
    background: #073b6f;
    border: 1px solid #073b6f;
    color: #fff;
}

.account-message-order-action:hover { background: #052e56; color: #fff; }
.account-message-reply-action { background: #fff; border: 1px solid #073b6f; color: #073b6f; }
.account-message-reply-action:hover { background: #eff6ff; }
.account-message-resolved-action {
    align-items: center;
    align-self: flex-end;
    background: #ecfdf5;
    border: 1px solid #10b981;
    border-radius: 8px;
    color: #047857;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
}

.account-message-reply-deadline {
    color: #64748b;
    font-size: 12px;
    margin: 10px 0 0;
}

.account-message-reply-deadline span { color: #9a3412; font-weight: 700; margin-left: 4px; }

.account-message-reply-form {
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    margin-top: 14px;
    padding: 14px;
}

.account-message-reply-form label { color: #172033; display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.account-message-reply-form textarea { background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; min-height: 100px; padding: 10px 12px; resize: vertical; width: 100%; }
.account-message-reply-form textarea:focus { border-color: #073b6f; box-shadow: 0 0 0 3px rgba(7, 59, 111, .12); outline: none; }
.account-message-reply-form-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.account-message-reply-cancel,
.account-message-reply-submit { border-radius: 7px; cursor: pointer; font-size: 13px; font-weight: 700; min-height: 36px; padding: 7px 13px; }
.account-message-reply-cancel { background: #fff; border: 1px solid #cbd5e1; color: #475569; }
.account-message-reply-submit { background: #073b6f; border: 1px solid #073b6f; color: #fff; }

.account-message-order-dialog {
    background: transparent;
    border: 0;
    margin: auto;
    max-height: 92vh;
    max-width: 920px;
    padding: 0;
    width: calc(100% - 32px);
}

.account-message-order-dialog::backdrop { background: rgba(15, 23, 42, .68); }
.account-message-order-dialog-shell { background: #fff; border-radius: 14px; box-shadow: 0 24px 70px rgba(15, 23, 42, .28); max-height: 92vh; overflow: hidden; }
.account-message-order-dialog-head { align-items: center; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; padding: 16px 20px; }
.account-message-order-dialog-head span { color: #64748b; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.account-message-order-dialog-head h3 { color: #172033; font-size: 20px; margin: 2px 0 0; }
.account-message-order-dialog-close { align-items: center; background: #f1f5f9; border: 0; border-radius: 999px; color: #334155; cursor: pointer; display: inline-flex; font-size: 24px; height: 36px; justify-content: center; line-height: 1; width: 36px; }
.account-message-order-dialog-body { max-height: calc(92vh - 74px); overflow-y: auto; padding: 20px; }
.account-message-order-summary { display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 20px; }
.account-message-order-summary div { background: #f8fafc; border-radius: 9px; padding: 11px; }
.account-message-order-summary dt { color: #64748b; font-size: 11px; font-weight: 700; margin-bottom: 4px; }
.account-message-order-summary dd { color: #172033; font-size: 13px; font-weight: 700; margin: 0; overflow-wrap: anywhere; }
.account-message-order-products,
.account-message-order-document { border-top: 1px solid #e2e8f0; padding-top: 18px; }
.account-message-order-products h4,
.account-message-order-document h4 { color: #172033; font-size: 15px; margin: 0 0 10px; }
.account-message-order-products ul { list-style: none; margin: 0 0 18px; padding: 0; }
.account-message-order-products li { align-items: center; border-bottom: 1px solid #f1f5f9; display: flex; font-size: 13px; gap: 12px; justify-content: space-between; padding: 9px 0; }
.account-message-order-products li strong { flex-shrink: 0; }
.account-message-order-document iframe { background: #f8fafc; border: 1px solid #dbe4ee; border-radius: 9px; display: block; height: min(560px, 58vh); width: 100%; }
.account-message-order-document a { color: #073b6f; display: inline-flex; font-size: 13px; font-weight: 700; margin-top: 10px; text-decoration: underline; }
.account-message-order-document p { color: #64748b; font-size: 13px; }

.account-messages-new-btn {
    border-radius: 6px !important;
    font-size: 13px !important;
    min-height: 36px;
    padding: 0 16px !important;
}

.account-messages-list-hidden {
    display: none;
}

@media (max-width: 767px) {
    .account-message-ticket > .flex.justify-between { align-items: flex-start; flex-direction: column; }
    .account-message-order-action,
    .account-message-reply-action,
    .account-message-resolved-action,
    .account-message-primary-actions { width: 100%; }
    .account-message-order-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account-message-order-dialog { width: calc(100% - 18px); }
    .account-message-order-dialog-head,
    .account-message-order-dialog-body { padding: 14px; }
    .account-message-order-products li { align-items: flex-start; flex-direction: column; gap: 4px; }

    .account-message-body {
        flex-direction: column;
    }

    .account-message-send-wrap {
        border-left: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        justify-content: flex-end;
        width: 100%;
    }

    .account-message-send {
        flex-direction: row;
    }
}

