html,
body {
    overflow-x: hidden;
    background: var(--theme-page-bg, #edf3f7);
}

.layout-header__desktop .topbar {
    height: 34px;
    display: flex;
    align-items: center;
    background: var(--theme-topbar-bg, #f4f4f5) !important;
    color: var(--theme-topbar-text, #0f172a) !important;
    font-size: 12px;
}

.topbar__row,
.header-middle__container,
.nav-main__list,
.footer-inner {
    max-width: 1326px;
    margin: 0 auto;
}

.topbar__row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 0;
}

.topbar__item:first-child {
    max-width: 560px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar__spring {
    flex: 1;
}

.topbar__item--link {
    color: inherit;
    text-decoration: none;
}

.topbar__account {
    position: relative;
    z-index: 20;
}

.topbar__account-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.topbar__account-trigger:hover,
.topbar__account.is-open .topbar__account-trigger {
    border-color: rgba(15, 23, 42, .35);
    background: rgba(255, 255, 255, .65);
}

.topbar__account-trigger i {
    font-size: 10px;
    transition: transform .2s ease;
}

.topbar__account.is-open .topbar__account-trigger i {
    transform: rotate(180deg);
}

.topbar__account-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 178px;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .16);
}

.topbar__account-menu::before {
    position: absolute;
    top: -6px;
    right: 22px;
    width: 11px;
    height: 11px;
    border-top: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
    background: #fff;
    content: "";
    transform: rotate(45deg);
}

.topbar__account-menu[hidden] {
    display: none;
}

.topbar__account-menu a {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 9px;
    color: #1e293b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.topbar__account-menu a:hover {
    background: #eff6ff;
    color: #0b63f6;
}

.topbar__account-menu a:last-child:hover {
    background: #fff1f2;
    color: #dc2626;
}

.topbar__account-menu i {
    width: 16px;
    color: #64748b;
    text-align: center;
}

.topbar__item strong {
    color: #00844f;
}

.header-middle {
    min-height: 116px;
    display: flex;
    align-items: center;
    background: var(--theme-header-bg, #fff) !important;
    color: var(--theme-header-text, #111827) !important;
}

.header-middle__container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 246px 150px;
    align-items: center;
    gap: 24px;
}

.site-header__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--theme-header-text, #111827);
    text-decoration: none;
}

.site-header__logo img {
    display: block;
    width: var(--theme-logo-width, 245px);
    max-height: var(--theme-logo-height, 76px);
    object-fit: contain;
}

.heder-middle__center {
    min-width: 0;
}

.search__body {
    display: flex;
    width: 100%;
    border: 1px solid #d7dbe3;
    background: var(--theme-surface-bg, #fff);
}

.search__input {
    flex: 1;
    min-width: 0;
    height: 44px;
    border: 0;
    padding: 0 14px;
}

.search__button {
    min-width: 92px;
    border: 0;
    font-weight: 700;
}

.site-header__sepet_actions {
    display: flex;
    justify-content: flex-end;
    background: transparent !important;
    padding:0px;
}

.indicator__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 146px;
    height: 88px;
    padding: 0 18px;
    border: 1px solid #d6dde8;
    border-radius: 10px;
    background: var(--theme-header-bg, #fff);
    color: var(--theme-header-text, #111827) !important;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(17, 24, 39, .06);
}

.indicator__button:hover {
    color: var(--theme-header-text, #111827) !important;
}

.indicator__area {
    display: grid;
    line-height: 1.2;
}

.indicator__area small {
    color: #64748b;
    font-weight: 500;
}

.cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: #f4f6f8;
    color: var(--theme-header-text, #111827);
    font-size: 20px;
}

.cart-icon em {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--theme-filter-button-bg, #2f64dc);
    color: var(--theme-filter-button-text, #fff);
    font-size: 12px;
    font-style: normal;
    line-height: 22px;
    text-align: center;
}

.header-agent-card {
    display: grid;
    align-content: center;
    height: 88px;
    padding: 8px 14px;
    border-radius: 10px;
    background: var(--theme-info-card-bg, #ffad17);
    color: var(--theme-info-card-text, #121826);
    font-size: 13px;
    line-height: 1.25;
}

.header-agent-card strong,
.header-agent-card span {
    font-weight: 800;
}

.header-agent-card small {
    font-size: 13px;
}

.nav-main {
    min-height: 74px;
    background: var(--theme-menu-bg, #181818) !important;
}

.nav-main__list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    list-style: none;
}

.nav-main__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 104px;
    height: 74px;
    padding: 0 10px;
    color: var(--theme-menu-text, #fff);
    font-weight: 700;
    text-decoration: none;
}

.nav-main__link i {
    font-size: 20px;
}

.nav-main__link:hover {
    color: var(--theme-menu-text, #fff);
    background: rgba(255, 255, 255, .08);
}

.nav-main__item {
    position: relative;
}

.store-submenu {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 50;
    min-width: 210px;
    display: none;
    padding: 10px 0;
    border-radius: 0 0 10px 10px;
    background: var(--theme-surface-bg, #fff);
    box-shadow: 0 18px 34px rgba(17, 24, 39, .16);
}

.store-submenu a {
    display: block;
    padding: 12px 20px;
    color: #394150;
    text-decoration: none;
    white-space: nowrap;
}

.store-submenu a:hover {
    background: #f3f5f8;
    color: #111827;
}

.nav-main__item:hover .store-submenu,
.nav-main__item:focus-within .store-submenu {
    display: block;
}

.site__body > .container.mt-3 {
    max-width: 1320px;
}

.page-header {
    max-width: 1320px;
    margin: 24px auto 0;
    padding: 0;
    background: var(--theme-surface-bg, #fff);
    border-radius: 10px 10px 0 0;
    padding: 28px 16px 0;
}

.page-header__title h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
}

.urunler-list-page-filter-section .container,
.shop-layout,
.block > .container,
.container {
    max-width: 1320px;
}

.new-filter-panel {
    padding: 18px 0 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.new-filter-panel label {
    font-weight: 600;
}

.products-view__options {
    margin: 8px 0 18px;
}

.products-list__body {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.products-list__item,
.products-list[data-layout] .products-list__item {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

.product-card {
    height: 100%;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: var(--theme-surface-bg, #fff);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .06);
}

.product-card__image {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: #f8fafc;
}

.product-card__image a,
.product-card__image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.product-card__image img {
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-card__info {
    flex: 1;
    padding: 14px 16px 8px;
}

.product-card__name {
    min-height: 44px;
    font-weight: 800;
    line-height: 1.35;
}

.product-card__name a {
    color: #111827;
    text-decoration: none;
}

.product-card__features-list {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    color: #64748b;
    font-size: 13px;
}

.product-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px 16px;
}

.product-card__prices {
    color: #1f2937;
    font-size: 17px;
    font-weight: 800;
    white-space: nowrap;
}

.product-card__buttons {
    margin: 0;
}

.sepete-ekle-btn-color,
.urun-ara-btn-color {
    background: var(--theme-filter-button-bg, #3764c9) !important;
    color: var(--theme-filter-button-text, #fff) !important;
    border-color: var(--theme-filter-button-bg, #3764c9) !important;
}

.pagination .page-link {
    color: #111827;
}

.site-footer {
    margin-top: 40px;
    padding: 38px 0;
    background: var(--theme-footer-bg, #030303) !important;
    color: var(--theme-footer-text, #fff);
}

.footer-inner {
    width: 100%;
}

.footer-inner h5 {
    margin-bottom: 18px;
    font-weight: 800;
}

/* Homepage reference composition. Kept at the end to override legacy theme rules. */
@media (min-width: 768px) {
    .turkuaz-home-page { width: min(1420px, calc(100% - 48px)); grid-template-columns: 262px minmax(0, 1fr); gap: 24px; margin: 22px auto 32px; }
    .turkuaz-home-main { gap: 20px; }
    .turkuaz-category-rail { min-height: 0; padding: 17px 18px 18px; border-radius: 10px; }
    .turkuaz-category-rail h2 { display: flex; align-items: center; gap: 10px; padding: 0 0 10px; font-size: 17px; }
    .turkuaz-category-rail h2 i { color: #526b91; font-size: 15px; }
    .turkuaz-category-rail > a { display: grid; grid-template-columns: 20px minmax(0, 1fr) 14px; gap: 10px; min-height: 34px; padding: 8px 0; border-bottom: 0; color: #3e5274; font-size: 13px; font-weight: 700; }
    .turkuaz-category-rail > a > i { color: #7285a5; font-size: 14px; text-align: center; }
    .turkuaz-category-rail > a > b { color: #93a4bd; font-size: 18px; font-weight: 400; }
    .turkuaz-category-rail > a:hover { color: #0b63f6; }
    .turkuaz-category-rail__all { margin-top: 5px; border-top: 1px solid #e8eef7; }
    .turkuaz-category-rail__all span { grid-column: 1 / 3; }
    .turkuaz-campaign-tile { margin: 22px -1px -1px; padding: 18px; border: 1px solid #d9e7fa; background: linear-gradient(135deg, #f5f9ff, #e7f2ff); }
    .turkuaz-campaign-tile strong { font-size: 14px; }
    .turkuaz-campaign-tile span { color: #5d6f8d; font-size: 12px; }
    .turkuaz-campaign-tile a { display: inline-flex; align-items: center; justify-content: space-between; margin-top: 4px; padding: 10px 14px; border-radius: 7px; background: #fff; font-size: 12px; }

    .turkuaz-hero { position: relative; min-height: 336px; border-radius: 11px; background: linear-gradient(90deg, rgba(2, 23, 54, .94) 0%, rgba(2, 23, 54, .82) 37%, rgba(2, 23, 54, .14) 70%), url("/themes/TurkuazPetrokimya/wwwroot/build/images/banners/chemistry-hero-v2.png") center / cover; box-shadow: 0 14px 30px rgba(6, 34, 71, .14); }
    .turkuaz-hero__content { width: min(510px, 57%); min-height: 336px; padding: 44px 62px; gap: 13px; }
    .turkuaz-hero__content span { padding: 7px 12px; border-radius: 7px; color: #9ecaff; font-size: 12px; }
    .turkuaz-hero__content h1 { font-size: clamp(34px, 3vw, 45px); letter-spacing: -.8px; }
    .turkuaz-hero__content h1 em { color: #2574ff; font-style: normal; }
    .turkuaz-hero__content p { max-width: 410px; color: #eff6ff; font-size: 14px; line-height: 1.7; }
    .turkuaz-hero__content a { margin-top: 3px; padding: 13px 18px; border-radius: 8px; background: #fff; color: #113161; font-size: 13px; }
    .turkuaz-hero__arrow { position: absolute; top: 50%; z-index: 1; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(147, 188, 239, .46); border-radius: 50%; background: rgba(6, 34, 71, .52); color: #fff; transform: translateY(-50%); }
    .turkuaz-hero__arrow--prev { left: 17px; } .turkuaz-hero__arrow--next { right: 17px; }
    .turkuaz-hero__dots { position: absolute; right: 50%; bottom: 18px; display: flex; gap: 8px; transform: translateX(50%); }
    .turkuaz-hero__dots i { display: block; width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.6); } .turkuaz-hero__dots .is-active { width: 20px; border-radius: 10px; background: #2678ff; }

    .turkuaz-feature-strip { border-radius: 10px; }
    .turkuaz-feature-strip article { grid-template-columns: 48px 1fr; min-height: 116px; padding: 20px 16px; gap: 5px 14px; }
    .turkuaz-feature-strip i { width: 46px; height: 46px; border-radius: 9px; }
    .turkuaz-feature-strip strong { align-self: end; font-size: 13px; }
    .turkuaz-feature-strip span { font-size: 12px; line-height: 1.45; }
    .turkuaz-feature-strip .feature-secure i { background: #f4efff; color: #7b49ca; }
    .turkuaz-feature-strip .feature-support i { background: #e6f8f4; color: #159b89; }
    .turkuaz-feature-strip .feature-price i { background: #fff3e4; color: #f48c1b; }

    .turkuaz-popular-cats { padding: 19px 18px; border-radius: 10px; }
    .turkuaz-popular-cats h2 { font-size: 16px; }
    .turkuaz-popular-cats header a { font-size: 12px; }
    .turkuaz-popular-cats__items { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 17px; }
    .turkuaz-popular-cats__items a { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 10px; min-width: 0; padding: 12px 10px; border-radius: 8px; background: #f7faff; color: #0b1b3f; text-decoration: none; }
    .turkuaz-popular-cats__items i { width: 40px; height: 40px; margin: 0; font-size: 17px; }
    .turkuaz-popular-cats__items strong, .turkuaz-popular-cats__items small { display: block; overflow: hidden; text-overflow: ellipsis; }
    .turkuaz-popular-cats__items strong { font-size: 12px; line-height: 1.15; } .turkuaz-popular-cats__items small { margin-top: 5px; color: #71819c; font-size: 11px; }
    .turkuaz-popular-cats__items .cat-accent-1 i { background:#fff1df; color:#f48c1b; } .turkuaz-popular-cats__items .cat-accent-2 i { background:#e2f8f0; color:#159b89; } .turkuaz-popular-cats__items .cat-accent-3 i { background:#f2e9ff; color:#8246ca; } .turkuaz-popular-cats__items .cat-accent-4 i { background:#eaf0ff; color:#2b70dd; } .turkuaz-popular-cats__items .cat-accent-5 i { background:#ffeef0; color:#cf4e61; }
    .turkuaz-metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); padding: 16px; border-radius: 10px; }
    .turkuaz-metric-strip span { display: grid; justify-items: center; gap: 3px; color: #71819c; font-size: 12px; }
    .turkuaz-metric-strip strong { color: #1764df; font-size: 22px; line-height: 1.1; }
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 10px 0 16px;
}

.footer-menu a {
    color: var(--theme-footer-text, #dbeafe);
    font-weight: 700;
    text-decoration: none;
}

.footer-menu a:hover {
    color: #ffffff;
}

.store-home {
    min-height: 660px;
    padding: 26px 0 80px;
}

.home-banner-card {
    width: 990px;
    max-width: calc(100vw - 32px);
    margin: 0 auto;
    padding: 32px 22px;
    border-radius: 10px;
    background: var(--theme-surface-bg, #fff);
    box-shadow: 0 16px 40px rgba(17, 24, 39, .06);
}

.home-banner-card img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.legacy-product-page {
    width: 1326px;
    max-width: calc(100vw - 32px);
    margin: 24px auto 0;
}

.legacy-product-shell {
    padding: 22px 16px 20px;
    border-radius: 10px;
    background: var(--theme-surface-bg, #fff);
    box-shadow: 0 16px 40px rgba(17, 24, 39, .06);
}

.legacy-product-shell h1 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 32px;
    font-weight: 900;
}

.legacy-product-filter {
    width: 630px;
    max-width: 100%;
    border: 1px solid #d8dde4;
    border-bottom: 0;
    background: var(--theme-surface-bg, #fff);
}

.filter-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 41px;
    border-bottom: 1px solid #d8dde4;
}

.filter-row label,
.filter-actions strong {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0 12px;
    background: var(--theme-secondary-button-bg, #30363d);
    color: var(--theme-secondary-button-text, #fff);
    font-weight: 800;
    font-size: 13px;
}

.filter-row input,
.filter-row select {
    width: 100%;
    border: 0;
    padding: 0 14px;
    color: #64748b;
    outline: 0;
}

.filter-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 12px 18px;
    border-bottom: 1px solid #d8dde4;
}

.filter-checks label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}

.filter-actions {
    display: grid;
    grid-template-columns: 150px 144px 166px 1fr;
    min-height: 33px;
    margin-top: 46px;
}

.filter-actions button,
.filter-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: var(--theme-secondary-button-bg, #30363d);
    color: var(--theme-secondary-button-text, #fff);
    font-weight: 800;
    text-decoration: none;
}

.filter-actions a {
    background: var(--theme-danger-button-bg, #ff1111);
    color: var(--theme-danger-button-text, #fff);
}

.legacy-product-count {
    margin: 14px 0;
    color: #64748b;
    font-size: 13px;
}

.legacy-product-table-wrap {
    overflow-x: auto;
    border: 1px solid #d8dde4;
}

.legacy-product-table {
    width: 100%;
    min-width: 1320px;
    border-collapse: collapse;
    font-size: 12px;
}

.legacy-product-table th {
    height: 35px;
    padding: 8px 10px;
    border-right: 1px solid #d8dde4;
    background: var(--theme-table-header-bg, #777e82);
    color: var(--theme-table-header-text, #fff);
    font-weight: 800;
    text-align: center;
}

.legacy-product-table th:nth-child(10) {
    background: var(--theme-secondary-button-bg, #050505);
}

.legacy-product-table td {
    padding: 10px 9px;
    border-right: 1px solid #d8dde4;
    border-bottom: 1px solid #d8dde4;
    color: #2f3640;
    vertical-align: middle;
}

.legacy-product-table td:first-child {
    width: 215px;
}

.legacy-product-table td a {
    color: #2f3640;
    text-decoration: none;
}

.legacy-product-table td small {
    display: block;
    margin-top: 5px;
    color: #6b7280;
}

.past-purchases-link {
    display: block;
    margin-top: 5px;
    color: #6b7280 !important;
    font-size: 12px;
}

.stock-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--theme-stock-available, #29bd11);
}

.stock-dot.is-incoming {
    background: var(--theme-stock-incoming, #f4b400);
}

.stock-dot.is-empty {
    background: var(--theme-stock-empty, #dc3545);
}

.stock-badge {
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    border-radius: 999px;
    background: #e9f9ed;
    color: #167a28;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.stock-badge.is-incoming {
    background: #fff5d6;
    color: #8a6100;
}

.stock-badge.is-empty {
    background: #fde7ea;
    color: #b42334;
}

.product-flag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.product-flag.is-campaign {
    background: #fef3c7;
    color: #92400e;
}

.product-flag.is-discount {
    background: #dcfce7;
    color: #166534;
}

.table-product-flags,
.detail-product-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.legacy-tooltip-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.legacy-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    z-index: 90;
    display: none;
    min-width: 220px;
    padding: 10px 12px;
    border: 1px solid #cfd6df;
    border-radius: 4px;
    background: #fff;
    color: #1f2937;
    box-shadow: 0 12px 28px rgba(17, 24, 39, .18);
    transform: translateX(-50%);
}

.legacy-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 12px;
    height: 12px;
    border-right: 1px solid #cfd6df;
    border-bottom: 1px solid #cfd6df;
    background: #fff;
    transform: translate(-50%, -6px) rotate(45deg);
}

.legacy-tooltip-trigger:hover .legacy-tooltip,
.legacy-tooltip-trigger:focus-within .legacy-tooltip {
    display: block;
}

.legacy-tooltip strong {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
}

.legacy-tooltip span {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 5px 0;
    border-top: 1px solid #e5e7eb;
    font-size: 13px;
}

.legacy-tooltip em {
    font-style: normal;
}

.price-tooltip {
    left: 0;
    min-width: 210px;
    transform: translateX(-75%);
}

.depot-tooltip {
    left: 0;
    min-width: 240px;
    transform: translateX(8px);
}

.info-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #263039;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}

.table-product-image {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.table-image-cell {
    display: grid;
    justify-items: center;
    gap: 5px;
}

.table-image-cell .stock-badge {
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-box {
    display: grid;
    gap: 4px;
    min-width: 116px;
    padding: 7px 9px;
    border: 1px solid #dfe5ee;
    border-radius: 5px;
    color: #64748b;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin: 26px 0;
}

.catalog-toolbar select {
    height: 34px;
    border: 1px solid #cfd6df;
    padding: 0 10px;
    background: #fff;
}

.catalog-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.catalog-product-card {
    display: grid;
    grid-template-rows: 360px 28px auto auto auto;
    min-height: 610px;
    padding: 14px;
    border: 1px solid #edf0f5;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(17, 24, 39, .04);
}

.catalog-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #edf0f5;
    border-radius: 10px;
    overflow: hidden;
}

.catalog-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.catalog-product-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin-top: 8px;
    overflow: hidden;
}

.catalog-product-badges .stock-badge {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-product-card h2 {
    margin: 22px 0 14px;
    min-height: 42px;
    color: #111827;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.25;
}

.catalog-product-card dl {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 7px 10px;
    margin: 0 0 14px;
    font-size: 12px;
}

.catalog-product-card dt,
.catalog-product-card dd {
    margin: 0;
}

.catalog-product-card dt {
    color: #4b5563;
    font-weight: 800;
}

.catalog-card-price {
    display: grid;
    gap: 4px;
    margin-top: auto;
    padding: 10px;
    border: 1px solid #dfe5ee;
    border-radius: 6px;
}

.catalog-card-actions {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 8px;
    margin-top: 12px;
}

.catalog-card-actions input,
.catalog-card-actions button {
    height: 36px;
    border: 0;
}

.catalog-card-actions input {
    border: 1px solid #d8dde4;
    text-align: center;
}

.catalog-card-actions button {
    background: var(--theme-add-to-cart-bg, #030303);
    color: var(--theme-add-to-cart-text, #fff);
    font-weight: 900;
}

.payment-shell,
.contact-page-modern,
.collection-page {
    width: 990px;
    max-width: calc(100vw - 32px);
    margin: 0 auto;
    padding: 24px 0 80px;
}

.payment-panel {
    display: none;
}

.payment-panel.active {
    display: block;
}

.payment-grid,
.collection-form-grid,
.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}

.payment-grid label,
.collection-form-grid label,
.contact-form-grid label {
    display: grid;
    gap: 7px;
    font-size: 13px;
}

.payment-grid input,
.collection-form-grid input,
.collection-form-grid select,
.collection-form-grid textarea,
.contact-form-grid input,
.contact-form-grid textarea {
    width: 100%;
    border: 1px solid #cfd6df;
    padding: 9px 10px;
}

.payment-grid .wide,
.collection-form-grid .wide,
.contact-form-grid .wide {
    grid-column: 1 / -1;
}

.payment-panel footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.installment-list {
    display: grid;
    gap: 10px;
    margin: 20px 0;
}

.installment-list label {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px;
}

.payment-success {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #47b388;
    background: #65d3b5;
}

.collection-card,
.contact-card-modern {
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(17, 24, 39, .06);
}

.collection-card {
    padding: 28px 30px;
}

.collection-form-card,
.collection-list-card {
    margin-top: 16px;
    padding: 22px 24px;
    border: 1px solid #edf0f5;
}

.collection-tabs {
    display: flex;
    border-bottom: 1px solid #d8dde4;
    margin-bottom: 16px;
}

.collection-tabs button {
    border: 1px solid transparent;
    border-bottom: 0;
    background: #fff;
    padding: 9px 18px;
}

.collection-tabs .active {
    border-color: #d8dde4;
}

.collection-save,
.contact-form-modern button {
    margin-top: 18px;
    border: 0;
    background: #3764c9;
    color: #fff;
    padding: 9px 22px;
    font-weight: 800;
}

.status-pill.success {
    display: inline-block;
    padding: 4px 10px;
    background: #28a745;
    color: #fff;
    font-weight: 800;
}

.table-action-info,
.table-action-pdf {
    width: 34px;
    height: 28px;
    border: 0;
    color: #fff;
}

.table-action-info {
    background: #17a2b8;
}

.table-action-pdf {
    margin-left: 6px;
    background: #dc3545;
}

.contact-card-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    padding: 32px 22px 18px;
}

.contact-card-modern h1,
.contact-form-modern h2 {
    margin-bottom: 30px;
    font-weight: 900;
}

.price-box span {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.price-box strong {
    color: #111827;
}

.qty-box {
    display: grid;
    grid-template-columns: 32px 38px 32px;
}

.qty-box button,
.qty-box input {
    height: 32px;
    border: 0;
    text-align: center;
}

.qty-box button {
    background: var(--theme-add-to-cart-bg, #121a1d);
    color: var(--theme-add-to-cart-text, #fff);
    font-weight: 800;
}

.qty-box input {
    border-top: 1px solid #d8dde4;
    border-bottom: 1px solid #d8dde4;
}

.cart-table-btn {
    width: 52px;
    height: 32px;
    border: 0;
    border-radius: 4px;
    background: var(--theme-add-to-cart-bg, #030303);
    color: var(--theme-add-to-cart-text, #fff);
    font-size: 16px;
}

.view-table-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 32px;
    border-radius: 0;
    background: var(--theme-filter-button-bg, #ff7417);
    color: var(--theme-filter-button-text, #fff) !important;
    font-size: 16px;
}

.product--layout--standard {
    margin-top: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .06);
}

.product__content {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr) 240px;
    gap: 28px;
    padding: 26px;
}

.product__gallery,
.product-gallery__featured {
    min-width: 0;
}

.product-gallery__featured {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    border: 1px solid #edf0f5;
    border-radius: 6px;
    background: #f8fafc;
}

.product-image__body {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.productDetailBgImageSrc {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
}

.product__name {
    font-size: 28px;
    line-height: 1.25;
    font-weight: 800;
}

.brand__name {
    display: inline-block;
    margin-top: 8px;
    color: #3764c9;
    font-weight: 700;
}

.product__description {
    margin-top: 18px;
    color: #475569;
    line-height: 1.6;
}

.product__meta {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    color: #64748b;
}

.product__sidebar {
    padding: 18px;
    border: 1px solid #edf0f5;
    border-radius: 6px;
    background: #fbfdff;
    align-self: start;
}

.product__prices {
    margin-bottom: 18px;
    color: #111827;
    font-size: 24px;
    font-weight: 800;
}

.product__actions {
    display: grid;
    gap: 12px;
}

.product__actions-item input {
    height: 42px;
}

.card-table .table {
    margin: 0;
}

.cart {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.cart__table {
    grid-column: 1 / 2;
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .05);
}

.cart-table__table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table__column {
    padding: 14px 16px;
    border-bottom: 1px solid #edf0f5;
    text-align: left;
    vertical-align: middle;
}

.cart-table__head .cart-table__column {
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.cart-table__product-name {
    color: #111827;
    font-weight: 800;
    text-decoration: none;
}

.cart-table__product-meta {
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
}

.cart__actions {
    grid-column: 1 / 2;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cart__totals {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
}

.cart__totals .card {
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .05);
}

.cart__totals-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0;
    font-size: 16px;
}

.siparis-tamamlama-btn-color {
    background: #d48a12 !important;
    border-color: #d48a12 !important;
    color: #fff !important;
}

.cart-quantity-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-quantity-form input {
    width: 86px;
}

.cart-clear-form {
    margin: 0;
}

.order-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    gap: 12px;
    margin-bottom: 18px;
}

.legacy-table-shell {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .05);
}

.legacy-table {
    margin: 0;
}

.legacy-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    text-transform: uppercase;
}

.legacy-table th,
.legacy-table td {
    padding: 13px 15px;
    border-bottom: 1px solid #edf0f5;
    vertical-align: middle;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #e8f0ff;
    color: #2451b2;
    font-size: 12px;
    font-weight: 800;
}

.order-detail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 18px 22px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
}

.order-detail-head h3 {
    margin: 0 0 4px;
    font-weight: 800;
}

.order-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.order-panel {
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .04);
}

.order-panel h5 {
    margin-bottom: 12px;
    font-weight: 800;
}

.order-panel p {
    margin: 8px 0;
    color: #64748b;
}

.order-panel-wide {
    grid-column: span 2;
}

.order-total-row,
.order-history-row {
    padding: 10px 0;
    border-top: 1px solid #edf0f5;
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.order-history-row span {
    display: block;
    color: #64748b;
    font-size: 13px;
}

.legacy-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
}

.legacy-modal:target {
    display: block;
}

.legacy-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}

.legacy-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(1140px, calc(100vw - 80px));
    max-height: calc(100vh - 96px);
    margin: 96px auto 0;
    overflow: hidden;
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
}

.legacy-modal__dialog header {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid #dfe3ea;
}

.legacy-modal__dialog h2 {
    margin: 0;
    color: #111827;
    font-size: 22px;
    font-weight: 800;
}

.legacy-modal__dialog header a {
    color: #686f78;
    font-size: 30px;
    font-weight: 800;
    text-decoration: none;
}

.legacy-modal__body {
    max-height: calc(100vh - 160px);
    overflow: auto;
    padding: 26px 16px 16px;
}

.past-legend {
    display: flex;
    gap: 34px;
    margin-bottom: 24px;
}

.past-legend span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dot {
    width: 16px;
    height: 16px;
    display: inline-block;
    border-radius: 50%;
}

.dot.black {
    background: #2d3033;
}

.dot.green {
    background: #27aa3c;
}

.past-table-wrap {
    overflow: auto;
    border: 1px solid #d8dde4;
}

.past-table {
    width: 100%;
    min-width: 1080px;
    border-collapse: collapse;
    font-size: 12px;
}

.past-table th {
    padding: 12px;
    border-right: 1px solid #d8dde4;
    background: var(--theme-table-header-bg, #777e82);
    color: var(--theme-table-header-text, #fff);
    text-align: center;
}

.past-table td {
    padding: 14px 12px;
    border-right: 1px solid #d8dde4;
    border-bottom: 1px solid #d8dde4;
    background: var(--theme-surface-bg, #fff);
}

.past-table tr:nth-child(odd) td {
    background: var(--theme-table-row-alt-bg, #efefef);
}

.product-detail-legacy {
    margin-top: 26px;
    padding: 28px 30px 70px;
    border-radius: 10px 10px 0 0;
    background: var(--theme-surface-bg, #fff);
    box-shadow: 0 16px 40px rgba(17, 24, 39, .06);
}

.product-detail-legacy .legacy-breadcrumb {
    margin: 10px 10px 62px;
}

.product-detail-legacy .legacy-breadcrumb a {
    color: #777f87;
    text-decoration: none;
}

.legacy-detail-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 610px;
    gap: 40px;
    min-height: 430px;
}

.legacy-detail-gallery {
    position: relative;
    min-height: 360px;
}

.gallery-line {
    position: absolute;
    left: 0;
    right: 30px;
    top: 64px;
    border-top: 3px solid #eceff3;
}

.gallery-zoom {
    position: absolute;
    right: 10px;
    top: 70px;
    color: #c6cbd2;
    font-size: 24px;
}

.legacy-detail-info h1 {
    margin: 0 0 2px;
    color: #4a4f55;
    font-size: 18px;
    font-weight: 800;
}

.legacy-detail-info {
    padding-right: 4px;
}

.detail-stock-row {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 30px;
    padding: 12px 0 26px;
    border-top: 1px solid #e2e6ed;
    border-bottom: 1px solid #d8dde5;
}

.detail-stock-dot {
    width: 32px;
    height: 32px;
    display: inline-block;
    border-radius: 50%;
    background: var(--theme-stock-available, #2dbc12);
}

.detail-stock-dot.is-incoming {
    background: var(--theme-stock-incoming, #f4b400);
}

.detail-stock-dot.is-empty {
    background: var(--theme-stock-empty, #dc3545);
}

.detail-price-list {
    display: grid;
    grid-template-columns: 110px 1fr;
    margin: 0;
}

.detail-price-list dt,
.detail-price-list dd {
    min-height: 46px;
    margin: 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #d8dde5;
}

.detail-price-list dt::after {
    content: ":";
    margin-left: auto;
    padding-right: 22px;
}

.detail-price-list input {
    width: 100%;
    height: 24px;
    border: 1px solid #747b85;
    padding: 0 6px;
}

.detail-history-link {
    display: inline-block;
    margin: 12px 0 28px;
    color: #3768cf;
    text-decoration: none;
}

.detail-cart-row {
    display: flex;
    align-items: center;
    gap: 0;
}

.detail-cart-row > button:not(.detail-add-cart):not(.detail-fav),
.detail-cart-row > input {
    width: 34px;
    height: 39px;
    border: 0;
    text-align: center;
}

.detail-cart-row > button:not(.detail-add-cart):not(.detail-fav) {
    background: var(--theme-filter-button-bg, #13a7bd);
    color: var(--theme-filter-button-text, #fff);
    font-weight: 800;
}

.detail-cart-row > input {
    width: 100px;
    border-top: 1px solid #d8dde4;
    border-bottom: 1px solid #d8dde4;
}

.detail-add-cart {
    height: 39px;
    margin-left: 14px;
    padding: 0 28px;
    border: 0;
    background: var(--theme-add-to-cart-bg, #020202);
    color: var(--theme-add-to-cart-text, #fff);
    font-weight: 900;
}

.detail-fav {
    width: 38px;
    height: 39px;
    margin-left: 8px;
    border: 0;
    background: #f2f4f7;
    color: #344054;
}

.detail-overview {
    margin-top: 44px;
    border: 1px solid #d8dde4;
    background: var(--theme-surface-bg, #fff);
}

.detail-tab-title {
    display: inline-flex;
    align-items: center;
    min-height: 35px;
    margin-top: -37px;
    padding: 0 14px;
    background: var(--theme-secondary-button-bg, #30363d);
    color: var(--theme-secondary-button-text, #fff);
    font-weight: 800;
}

.detail-overview table {
    width: 100%;
    border-collapse: collapse;
}

.detail-overview th,
.detail-overview td {
    height: 46px;
    padding: 0 12px;
    border: 1px solid #d8dde4;
    background: #f3f3f3;
    text-align: left;
}

.detail-overview th {
    width: 360px;
}

.detail-overview td:nth-child(2) {
    width: 150px;
    font-weight: 800;
}

.detail-overview td:last-child {
    font-weight: 800;
}

@media (max-width: 1199px) {
    .products-list__body {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .products-list__body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product__content,
    .cart,
    .order-detail-grid {
        grid-template-columns: 1fr;
    }

    .order-panel-wide {
        grid-column: auto;
    }

    .cart__table,
    .cart__actions,
    .cart__totals {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 575px) {
    .products-list__body {
        grid-template-columns: 1fr;
    }

    .page-header,
    .urunler-list-page-filter-section .container,
    .shop-layout {
        padding-left: 12px;
        padding-right: 12px;
    }
}

.legacy-breadcrumb {
    margin: 16px auto 24px;
    color: #777f87;
    font-size: 15px;
}

.legacy-breadcrumb span {
    margin: 0 10px;
    color: #c5cbd3;
}

.legacy-cart-shell,
.payment-shell {
    padding: 16px;
    border-radius: 10px 10px 0 0;
    background: var(--theme-surface-bg, #fff);
    box-shadow: 0 16px 40px rgba(17, 24, 39, .06);
}

.legacy-cart-shell h1,
.payment-shell h1,
.cart-report-page h1 {
    margin: 10px 0 18px;
    color: #303942;
    font-size: 30px;
    font-weight: 800;
}

.legacy-blue-title {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 11px;
    background: var(--theme-filter-button-bg, #3768cf);
    color: var(--theme-filter-button-text, #fff);
    font-weight: 800;
}

.legacy-blue-title a {
    color: var(--theme-filter-button-text, #fff);
    font-size: 13px;
}

.legacy-cart-tabs {
    display: flex;
    gap: 10px;
    margin: 14px 0 18px;
}

.legacy-cart-tabs button {
    min-width: 88px;
    min-height: 35px;
    border: 1px solid #cdd7e5;
    border-radius: 8px;
    background: #f7f9fc;
    color: #46515c;
    font-weight: 800;
}

.legacy-cart-tabs .active {
    background: var(--theme-filter-button-bg, #3658ff);
    color: var(--theme-filter-button-text, #fff);
}

.legacy-cart-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 410px;
    gap: 30px;
}

.legacy-cart-table-wrap,
.legacy-blue-panel,
.legacy-summary {
    border: 1px solid #d8dde4;
    background: var(--theme-surface-bg, #fff);
}

.legacy-cart-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    font-size: 12px;
}

.legacy-cart-table th,
.legacy-cart-table td {
    padding: 10px;
    border-right: 1px solid #d8dde4;
    border-bottom: 1px solid #d8dde4;
    vertical-align: middle;
}

.legacy-cart-table th {
    background: var(--theme-table-header-bg, #777e82);
    color: var(--theme-table-header-text, #fff);
    text-align: center;
}

.legacy-cart-table input {
    max-width: 120px;
    height: 26px;
    border: 1px solid #aeb6c1;
}

.legacy-cart-table small {
    display: block;
    margin-top: 5px;
}

.cart-thumb {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: #e5e7eb;
    color: #7a828b;
    font-size: 10px;
}

.delete-btn {
    min-width: 38px;
    min-height: 32px;
    border: 0;
    border-radius: 4px;
    background: var(--theme-danger-button-bg, #e3344f);
    color: var(--theme-danger-button-text, #fff);
}

.legacy-blue-panel {
    margin-top: 16px;
}

.legacy-blue-panel table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.legacy-blue-panel th {
    background: var(--theme-table-header-bg, #777e82);
    color: var(--theme-table-header-text, #fff);
}

.legacy-blue-panel th,
.legacy-blue-panel td {
    padding: 10px;
    border-right: 1px solid #d8dde4;
    border-bottom: 1px solid #d8dde4;
}

.legacy-blue-panel label {
    display: grid;
    grid-template-columns: 60px 1fr 140px;
    align-items: center;
    min-height: 38px;
    padding: 0 10px;
    border-bottom: 1px solid #e5e7eb;
}

.cart-note {
    width: 100%;
    min-height: 90px;
    margin-top: 16px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    resize: vertical;
}

.legacy-summary dl {
    margin: 0;
    padding: 12px 20px;
}

.legacy-summary dt,
.legacy-summary dd {
    display: inline-block;
    width: 49%;
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.legacy-summary dd {
    text-align: right;
}

.legacy-summary p {
    margin: 14px 20px 0;
}

.legacy-summary button {
    width: calc(100% - 24px);
    margin: 10px 12px;
    min-height: 32px;
    border: 0;
    background: var(--theme-secondary-button-bg, #646d78);
    color: var(--theme-secondary-button-text, #fff);
    font-weight: 800;
}

.checkout-sticky {
    position: sticky;
    bottom: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr 1fr 300px;
    align-items: center;
    gap: 20px;
    min-height: 52px;
    padding: 8px calc((100vw - 1320px) / 2 + 16px);
    background: #f5f5f5;
    box-shadow: 0 -6px 16px rgba(17, 24, 39, .06);
}

.checkout-sticky button {
    height: 32px;
    border: 0;
    background: var(--theme-add-to-cart-bg, #020202);
    color: var(--theme-add-to-cart-text, #fff);
    font-weight: 800;
}

.payment-shell {
    min-height: 690px;
}

.payment-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 36px 0 40px;
    border-top: 4px solid #d6d8dc;
}

.payment-steps div {
    display: grid;
    justify-items: center;
    gap: 10px;
    transform: translateY(-16px);
}

.payment-steps b {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 4px solid #fff;
    border-radius: 999px;
    background: #d7d7d7;
    color: #66707b;
    box-shadow: 0 1px 4px rgba(0,0,0,.28);
    font-size: 20px;
}

.payment-steps span {
    padding: 8px 12px;
    border-radius: 4px;
    background: #d2d2d2;
}

.payment-steps .active b,
.payment-steps .active span {
    background: var(--theme-secondary-button-bg, #303030);
    color: var(--theme-secondary-button-text, #fff);
}

.payment-panel {
    overflow: hidden;
    border-radius: 6px;
    background: var(--theme-surface-bg, #fff);
    box-shadow: 0 8px 18px rgba(17, 24, 39, .12);
}

.payment-panel h2,
.payment-panel footer {
    margin: 0;
    padding: 18px 30px;
    background: var(--theme-secondary-button-bg, #303030);
    color: var(--theme-secondary-button-text, #fff);
    text-align: center;
    font-size: 20px;
}

.payment-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 26px 30px 40px;
}

.payment-row input {
    height: 44px;
    padding: 0 12px;
    border: 1px solid #bfc5cc;
    text-align: right;
    font-weight: 800;
}

.payment-panel footer {
    display: flex;
    justify-content: flex-end;
}

.payment-panel button {
    min-width: 64px;
    min-height: 40px;
    border: 0;
    border-radius: 4px;
    background: var(--theme-add-to-cart-bg, #050505);
    color: var(--theme-add-to-cart-text, #fff);
    font-weight: 800;
}

.sales-page,
.cart-report-page {
    padding: 10px;
    background: #eef0f3;
}

.sales-search,
.sales-select,
.sales-filter-line {
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid #d9dee8;
    border-radius: 8px;
    background: #fff;
}

.sales-search {
    display: grid;
    grid-template-columns: 1fr 90px;
}

.sales-search input,
.sales-search button,
.sales-select,
.sales-filter-line input {
    min-height: 44px;
    border: 0;
    padding: 0 14px;
    background: transparent;
}

.sales-filter-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
}

.sales-table,
.report-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.sales-table th,
.report-table th {
    padding: 18px 20px;
    text-align: left;
    background: #eef0f3;
    color: #111827;
}

.sales-table td {
    padding: 18px 20px;
    background: #fff;
}

.sales-table tr td:first-child {
    border-radius: 10px 0 0 10px;
}

.sales-table tr td:last-child {
    border-radius: 0 10px 10px 0;
}

.sales-table small {
    display: block;
    margin-top: 5px;
}

.sales-table button,
.cart-state {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border: 0;
    border-radius: 999px;
    background: #f2f4f7;
    color: #344054;
}

.customer-select-form {
    margin: 0;
}

.sales-table button.selected {
    border: 1px solid var(--theme-add-to-cart-bg, #111827);
    background: var(--theme-add-to-cart-bg, #111827);
    color: var(--theme-add-to-cart-text, #fff);
}

.selected-customer-row td {
    box-shadow: inset 0 0 0 999px rgba(55, 104, 207, .05);
}

.sales-notice {
    margin-bottom: 10px;
    padding: 12px 16px;
    border: 1px solid #6ee7b7;
    border-radius: 8px;
    background: #d1fae5;
    color: #065f46;
    font-weight: 800;
}

.cart-state.full {
    background: #ddffea;
    color: #008a37;
    font-weight: 800;
}

.cart-report-filter {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 90px;
    gap: 30px;
    align-items: end;
    padding: 16px 20px;
    background: #e6e8eb;
}

.cart-report-filter label {
    display: grid;
    gap: 6px;
    margin: 0;
    font-size: 12px;
}

.cart-report-filter input,
.cart-report-filter select {
    min-height: 32px;
    border: 1px solid #ccd3dd;
    padding: 0 12px;
}

.cart-report-filter button {
    min-height: 32px;
    border: 0;
    background: var(--theme-filter-button-bg, #16a4b8);
    color: var(--theme-filter-button-text, #fff);
    font-weight: 800;
}

.page-size {
    margin: 26px 10px 12px;
    min-width: 62px;
    min-height: 30px;
}

.report-table {
    border-spacing: 0;
    font-size: 12px;
}

.report-table th {
    background: var(--theme-table-header-bg, #777e82);
    color: var(--theme-table-header-text, #fff);
}

.report-table td {
    padding: 14px 12px;
    border-right: 1px solid #d8dde4;
    background: var(--theme-table-row-bg, #d4d6d8);
}

.report-table tr:nth-child(even) td {
    background: var(--theme-table-row-alt-bg, #eef0f3);
}

.report-image {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: var(--theme-surface-bg, #fff);
    color: #aaa;
}

.account-page {
    min-height: 620px;
}

.account-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0 10px 20px;
}

.account-summary-grid article {
    min-height: 92px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 18px 22px;
    border-radius: 8px;
    background: var(--theme-surface-bg, #fff);
    box-shadow: 0 8px 24px rgba(17, 24, 39, .06);
}

.account-summary-grid span {
    color: #667085;
}

.account-summary-grid strong {
    color: #111827;
    font-size: 22px;
}

.report-cards {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.report-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 10px;
}

.report-shortcuts a {
    min-height: 54px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: var(--theme-menu-bg, #181818);
    color: var(--theme-menu-text, #fff);
    font-weight: 800;
    text-decoration: none;
}

.contact-page {
    margin-top: 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: #404854;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    min-height: 40px;
    border: 1px solid #ccd3dd;
    padding: 0 12px;
}

.contact-form textarea {
    min-height: 130px;
    padding-top: 10px;
}

.contact-form .wide {
    grid-column: 1 / -1;
}

.contact-form button {
    width: 170px;
    min-height: 40px;
    border: 0;
    background: var(--theme-filter-button-bg, #3768cf);
    color: var(--theme-filter-button-text, #fff);
    font-weight: 800;
}

.contact-info {
    padding: 22px;
    border-radius: 8px;
    background: var(--theme-info-card-bg, #ffad17);
    color: var(--theme-info-card-text, #111827);
    align-self: start;
}

.contact-info h2 {
    margin-top: 0;
    font-size: 22px;
}

.auth-page {
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    background: #e8edf2;
    font-family: Arial, sans-serif;
}

.auth-placeholder {
    position: fixed;
    left: 14%;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0,0,0,.28);
    font-size: 102px;
    font-weight: 800;
}

.auth-toast {
    position: fixed;
    right: 14px;
    top: 100px;
    width: 298px;
    padding: 18px 20px 18px 50px;
    background: #4fc3a5;
    color: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,.22);
}

.auth-toast b,
.auth-toast span {
    display: block;
}

.auth-toast a {
    display: block;
    margin-top: 10px;
    color: #fff;
    font-weight: 800;
}

.auth-panel {
    position: fixed;
    right: 64px;
    top: 0px;
    width: 448px;
    display: grid;
    gap: 26px;
}

.register-panel {
    top: 112px;
    gap: 18px;
}

.reset-panel {
    top: 260px;
}

.auth-panel img {
    max-width: 310px;
    justify-self: center;
    margin-bottom: 10px;
}

.auth-panel label {
    display: grid;
    gap: 8px;
    color: #404954;
    font-weight: 700;
}

.auth-validation {
    display: block;
    color: #b42318;
    font-size: 13px;
    font-weight: 700;
}

.auth-panel input,
.auth-panel textarea,
.auth-panel select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #c3cbd5;
    padding: 0 12px;
    background: #eaf2ff;
}

.auth-panel textarea {
    min-height: 130px;
    padding-top: 10px;
}

.auth-options,
.radio-line,
.two-cols {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-options {
    justify-content: space-between;
    margin-top: -8px;
}

.auth-options label,
.radio-line label {
    display: inline-flex;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 6px;
}

.auth-options input,
.radio-line input {
    width: auto;
    min-height: auto;
}

.two-cols label {
    flex: 1;
}

.auth-panel button,
.auth-panel .secondary {
    min-height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #6b7785;
    text-decoration: none;
    font-weight: 800;
}

.auth-panel .primary {
    border: 0;
    background: var(--theme-filter-button-bg, #3869d1);
    color: var(--theme-filter-button-text, #fff);
}

.auth-panel .secondary {
    color: #6b7280;
}

.auth-panel .desktop {
    border: 0;
    background: var(--theme-success-badge-bg, #28a745);
    color: var(--theme-success-badge-text, #fff);
}

.auth-powered {
    margin-top: 80px;
    color: #dc2626;
    text-align: center;
    font-size: 34px;
    font-weight: 900;
}

.payments-list-page {
    margin-top: 18px;
}

.payments-list-shell {
    margin: 24px 0 120px;
    padding: 28px 16px 34px;
    border-radius: 10px;
    background: var(--theme-surface-bg, #fff);
    box-shadow: 0 18px 40px rgba(31, 41, 55, .08);
}

.payments-list-shell h1 {
    margin: 0 0 16px;
    color: #404954;
    font-size: 30px;
    font-weight: 900;
}

.payments-table-wrap {
    overflow-x: auto;
}

.payments-table {
    width: 100%;
    min-width: 1160px;
    border-collapse: collapse;
    font-size: 12px;
}

.payments-table th,
.payments-table td {
    border: 1px solid #d7dde5;
    padding: 15px 12px;
    text-align: left;
    vertical-align: middle;
}

.payments-table th {
    background: var(--theme-table-header-bg, #777e82);
    color: var(--theme-table-header-text, #fff);
    font-weight: 900;
}

.payments-table td {
    background: var(--theme-table-row-bg, #e7e7e7);
}

.payment-status {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    padding: 0 7px;
    background: var(--theme-success-badge-bg, #008c14);
    color: var(--theme-success-badge-text, #fff);
    font-size: 11px;
    font-weight: 900;
}

.payments-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}

.payments-footer select {
    width: 58px;
    min-height: 30px;
    border: 1px solid #d6dce4;
    border-radius: 6px;
    background: var(--theme-surface-bg, #fff);
}

.payments-footer nav {
    display: flex;
    gap: 34px;
    color: #b6b6b6;
    font-weight: 900;
}

.legacy-store-page {
    margin-top: 18px;
}

.legacy-store-shell {
    margin-bottom: 80px;
    padding: 16px;
    border-radius: 10px;
    background: var(--theme-surface-bg, #fff);
    box-shadow: 0 18px 40px rgba(31, 41, 55, .08);
}

.legacy-store-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.legacy-store-heading h1 {
    margin: 0;
    color: #303942;
    font-size: 30px;
    font-weight: 900;
}

.legacy-store-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.legacy-store-btn,
.legacy-store-submit {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 0;
    background: var(--theme-filter-button-bg, #3768cf);
    color: var(--theme-filter-button-text, #fff) !important;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.legacy-store-btn.secondary {
    background: var(--theme-secondary-button-bg, #30363d);
    color: var(--theme-secondary-button-text, #fff) !important;
}

.legacy-store-filter {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr) minmax(0, 1fr) 100px;
    gap: 30px;
    align-items: end;
    margin-bottom: 26px;
    padding: 16px 20px;
    background: #e6e8eb;
}

.legacy-store-filter label {
    display: grid;
    gap: 6px;
    margin: 0;
    color: #111827;
    font-size: 12px;
}

.legacy-store-filter input,
.legacy-store-filter select,
.legacy-store-form input,
.legacy-store-form select,
.legacy-store-form textarea {
    width: 100%;
    min-height: 40px;
    border: 1px solid #ccd3dd;
    padding: 0 12px;
    background: var(--theme-surface-bg, #fff);
}

.legacy-store-filter button {
    min-height: 32px;
    border: 0;
    background: var(--theme-filter-button-bg, #16a4b8);
    color: var(--theme-filter-button-text, #fff);
    font-weight: 900;
}

.legacy-store-toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.legacy-store-toolbar select,
.legacy-store-toolbar button {
    min-height: 34px;
    border: 1px solid #bfc7d1;
    background: #f7f7f7;
    color: #1f2937;
    padding: 0 12px;
}

.legacy-store-table-wrap {
    overflow-x: auto;
    border: 1px solid #d8dde4;
}

.legacy-store-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
    font-size: 12px;
}

.legacy-store-table th {
    padding: 12px;
    border-right: 1px solid #d8dde4;
    background: var(--theme-table-header-bg, #777e82);
    color: var(--theme-table-header-text, #fff);
    text-align: left;
}

.legacy-store-table td {
    padding: 14px 12px;
    border-right: 1px solid #d8dde4;
    border-bottom: 1px solid #d8dde4;
    background: var(--theme-table-row-bg, #d4d6d8);
    color: #1f2937;
    vertical-align: middle;
}

.legacy-store-table tr:nth-child(even) td {
    background: var(--theme-table-row-alt-bg, #eef0f3);
}

.legacy-eye {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 30px;
    background: var(--theme-secondary-button-bg, #ff8a00);
    color: var(--theme-secondary-button-text, #fff) !important;
    font-weight: 900;
    text-decoration: none;
}

.legacy-store-count {
    margin: 14px 0 0;
    color: #4b5563;
    font-size: 13px;
}

.legacy-store-empty,
.legacy-store-note {
    padding: 18px 20px;
    border: 1px solid #cde9df;
    background: #d8f5ec;
    color: #103b31;
}

.legacy-store-empty h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.legacy-store-empty p {
    margin: 6px 0;
}

.legacy-store-tabs {
    display: flex;
    gap: 0;
    margin-top: 22px;
}

.legacy-store-tabs button {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #d7dce4;
    background: #f2f4f7;
    color: #596273;
}

.legacy-store-tabs .active {
    border-top: 4px solid #df4357;
    border-bottom-color: #fff;
    background: #fff;
    color: #df4357;
}

.legacy-store-form-box {
    display: grid;
    grid-template-columns: minmax(0, 570px);
    gap: 20px;
    min-height: 430px;
    padding: 20px 14px 34px;
    border: 1px solid #d7dce4;
}

.legacy-store-form label {
    display: grid;
    gap: 8px;
    margin: 0;
    color: #404854;
    font-size: 12px;
}

.legacy-store-form textarea {
    min-height: 130px;
    padding-top: 10px;
    resize: vertical;
}

.legacy-store-submit {
    min-width: 96px;
    margin: 22px auto 0;
    background: #9b73df;
}

.module-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 18px 10px;
}

.module-page-heading h1,
.module-page-heading p {
    margin: 0;
}

.module-page-heading p {
    margin-top: 6px;
    color: #667085;
}

.module-page-heading > a,
.module-search > a,
.module-pagination a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background: var(--theme-secondary-button-bg, #30363d);
    color: var(--theme-secondary-button-text, #fff) !important;
    font-weight: 800;
    text-decoration: none;
}

.module-search {
    grid-template-columns: minmax(0, 1fr) 110px auto;
}

.module-empty-state {
    margin: 18px 10px;
    padding: 36px;
    border: 1px dashed #c8d0dc;
    border-radius: 8px;
    background: var(--theme-surface-bg, #fff);
    text-align: center;
}

.module-empty-state h2 {
    margin-top: 0;
}

.set-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 18px 10px 60px;
}

.set-card {
    overflow: hidden;
    border-radius: 8px;
    background: var(--theme-surface-bg, #fff);
    box-shadow: 0 8px 24px rgba(17, 24, 39, .08);
}

.set-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.set-card > div {
    display: grid;
    gap: 7px;
    padding: 18px;
}

.set-card h2,
.set-card p {
    margin: 0;
}

.set-card span,
.set-card small {
    color: #667085;
}

.report-table-wrap {
    margin: 0 10px;
    overflow-x: auto;
}

.product-reminder-table {
    min-width: 920px;
}

.reminder-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reminder-product img {
    width: 52px;
    height: 52px;
    border-radius: 4px;
    object-fit: cover;
    background: #fff;
}

.status-badge {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    font-weight: 800;
}

.status-badge.is-active {
    background: var(--theme-success-badge-bg, #d8f5df);
    color: var(--theme-success-badge-text, #166534);
}

.status-badge.is-passive {
    background: #e6e8ec;
    color: #596273;
}

.product-reminder-table button,
.detail-reminder-panel button {
    min-height: 34px;
    border: 0;
    padding: 0 12px;
    background: var(--theme-filter-button-bg, #3768cf);
    color: var(--theme-filter-button-text, #fff);
    font-weight: 800;
}

.product-reminder-table .module-danger-button {
    background: var(--theme-danger-button-bg, #d64545);
    color: var(--theme-danger-button-text, #fff);
}

.module-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 22px 10px 60px;
}

.detail-reminder-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 12px;
    border: 1px solid #f0c36c;
    background: #fff8df;
}

.detail-reminder-panel > span {
    flex: 1 1 230px;
    font-weight: 800;
}

@media (max-width: 991px) {
    .legacy-cart-grid,
    .cart-report-filter,
    .checkout-sticky,
    .legacy-store-filter {
        grid-template-columns: 1fr;
    }

    .auth-panel {
        position: static;
        width: auto;
        margin: 80px 24px;
    }

    .auth-placeholder {
        display: none;
    }

    .account-summary-grid,
    .report-cards,
    .report-shortcuts,
    .contact-grid,
    .contact-form,
    .set-card-grid {
        grid-template-columns: 1fr;
    }

    .module-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Final accessibility pass: this block intentionally remains last in the cascade. */
body { color: #172b4d; font-size: 15px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.topbar__item, .topbar__account-trigger, .header-agent-card, .indicator__button, .search__input, .search__button { font-size: 14px; }
.nav-main__link { font-size: 14px !important; }
.turkuaz-page-heading h1 { color: #071b3d !important; font-size: 32px !important; }
.turkuaz-page-heading p, .turkuaz-product-filters label, .turkuaz-product-filters input, .turkuaz-product-filters select, .turkuaz-product-toolbar select, .turkuaz-product-toolbar button { font-size: 15px !important; }
.turkuaz-stat-grid article span, .turkuaz-metric-strip span { color: #526987 !important; font-size: 14px !important; font-weight: 700; }
.turkuaz-stat-grid article small, .turkuaz-metric-strip small { color: #526987 !important; font-size: 13px !important; }
.turkuaz-product-card__body h2 { color: #071b3d !important; font-size: 19px !important; line-height: 1.3 !important; }
.turkuaz-product-card__body p, .turkuaz-product-card__body > a { color: #344d70 !important; font-size: 14px !important; line-height: 1.5 !important; }
.turkuaz-product-card dl dt { color: #526987 !important; font-size: 14px !important; font-weight: 700 !important; }
.turkuaz-product-card dl dd { color: #071b3d !important; font-size: 15px !important; font-weight: 850 !important; line-height: 1.45 !important; }
.turkuaz-product-card dl small { color: #526987 !important; font-size: 13px !important; }
.payments-empty-state { display: grid; justify-items: center; gap: 8px; padding: 34px 20px; color: #526987; text-align: center; }
.payments-empty-state i { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: #edf5ff; color: #1764df; font-size: 20px; }
.payments-empty-state strong { color: #071b3d; font-size: 16px; }
.payments-empty-state span { font-size: 14px; }
.turkuaz-product-card__body a:focus-visible, .turkuaz-product-filters a:focus-visible, .turkuaz-product-filters button:focus-visible, .turkuaz-product-toolbar select:focus-visible { outline: 3px solid rgba(11, 99, 246, .35); outline-offset: 2px; }

/* Readability overrides: keep the light visual language while meeting a usable text contrast. */
body {
    color: #172b4d;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.topbar__item,
.topbar__account-trigger,
.nav-main__link {
    font-size: 14px;
}

.header-agent-card,
.indicator__button,
.search__input,
.search__button {
    font-size: 14px;
}

.turkuaz-page-heading h1 {
    font-size: 32px !important;
}

.turkuaz-page-heading p,
.turkuaz-product-filters label,
.turkuaz-product-filters input,
.turkuaz-product-filters select,
.turkuaz-product-toolbar select,
.turkuaz-product-toolbar button {
    font-size: 15px !important;
}

.turkuaz-stat-grid article span,
.turkuaz-metric-strip span {
    color: #526987 !important;
    font-size: 14px !important;
    font-weight: 700;
}

.turkuaz-stat-grid article small,
.turkuaz-metric-strip small {
    color: #526987 !important;
    font-size: 13px !important;
}

.turkuaz-product-card__body h2 {
    color: #071b3d !important;
    font-size: 19px !important;
    line-height: 1.3 !important;
}

.turkuaz-product-card__body p,
.turkuaz-product-card__body > a {
    color: #344d70 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.turkuaz-product-card dl dt {
    color: #526987 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.turkuaz-product-card dl dd {
    color: #071b3d !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    line-height: 1.45 !important;
}

.turkuaz-product-card dl small {
    color: #526987 !important;
    font-size: 13px !important;
}

.turkuaz-product-card__body a:focus-visible,
.turkuaz-product-filters a:focus-visible,
.turkuaz-product-filters button:focus-visible,
.turkuaz-product-toolbar select:focus-visible {
    outline: 3px solid rgba(11, 99, 246, .35);
    outline-offset: 2px;
}

/* Customer selector polish */
.sales-page {
    overflow: visible;
    padding: 0 !important;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.sales-page::before {
    margin-bottom: 14px;
    color: #71819c;
    font-size: 13px;
}

.sales-filters {
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid #d9e5f6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(13, 35, 70, .06);
}

.sales-filters__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8eef7;
}

.sales-filters__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #0b63f6;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sales-filters__heading h1 {
    margin: 0;
    color: #071b3d;
    font-size: 25px;
    line-height: 1.1;
}

.sales-filters__hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #71819c;
    font-size: 13px;
}

.sales-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    align-items: end;
    gap: 14px;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    box-shadow: none;
}

.sales-filter-field {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: #253a5f;
    font-size: 12px;
    font-weight: 800;
}

.sales-filter-field > span {
    color: #526987;
}

.sales-search__control {
    position: relative;
}

.sales-search__control i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: #8ba0bd;
    transform: translateY(-50%);
}

.sales-search input,
.sales-select,
.sales-filter-input {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #d9e5f6;
    border-radius: 10px;
    background: #fbfdff;
    color: #253a5f;
    font: inherit;
    outline: 0;
}

.sales-search__control input {
    padding-left: 40px;
}

.sales-search input:focus,
.sales-select:focus,
.sales-filter-input:focus {
    border-color: #0b63f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(11, 99, 246, .1);
}

.sales-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    margin: 0;
    border: 0;
    border-radius: 10px;
    background: #0b63f6;
    color: #fff;
    font-weight: 850;
    cursor: pointer;
}

.sales-filter-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px auto;
    align-items: end;
    gap: 14px;
}

.sales-select {
    margin: 0;
}

.sales-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 4px;
    color: #253a5f;
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
}

.sales-check input {
    width: 18px;
    height: 18px;
    accent-color: #0b63f6;
}

.customer-selection-table {
    padding: 0;
    overflow: hidden;
    border: 1px solid #d9e5f6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(13, 35, 70, .06);
}

.sales-table {
    width: 100%;
    min-width: 0;
    margin: 0;
    border: 0;
    table-layout: auto;
}

.sales-table th {
    padding: 14px 16px;
    background: #f6f9fe;
    color: #526987;
    font-size: 11px;
    letter-spacing: .03em;
}

.sales-table td {
    padding: 17px 16px;
    border-top: 1px solid #edf2f8;
    color: #253a5f;
    font-size: 13px;
    vertical-align: middle;
}

.sales-table tbody tr:hover,
.sales-table tbody tr.selected-customer-row {
    background: #f8fbff;
}

.sales-table td strong {
    color: #071b3d;
}

.sales-table button {
    min-width: 74px;
    min-height: 34px;
    border-radius: 9px;
    background: #edf4ff;
    color: #0b63f6;
    font-weight: 800;
}

@media (max-width: 760px) {
    .sales-filters__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .sales-search,
    .sales-filter-grid {
        grid-template-columns: 1fr;
    }

    .sales-check {
        min-height: 42px;
    }

    .customer-selection-table {
        overflow-x: auto;
    }

    .sales-table {
        min-width: 760px;
    }
}

/* Customer selection: keep filters compact and aligned. */
.sales-page {
    padding: 18px !important;
}

.sales-page::after {
    min-height: 24px !important;
}

.sales-search {
    grid-template-columns: minmax(0, 1fr) 120px !important;
    align-items: center;
}

.sales-select {
    min-height: 44px;
    padding: 0 14px;
}

.sales-filter-line {
    grid-template-columns: minmax(0, 1fr) 180px 160px !important;
    align-items: center;
    min-height: 72px;
}

.sales-filter-line > input {
    width: 180px;
}

.sales-filter-line label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    white-space: nowrap;
}

.sales-filter-line label input[type="checkbox"] {
    width: 20px;
    min-height: 20px;
    padding: 0;
    accent-color: #0b63f6;
}

.sales-table {
    margin-top: 12px !important;
}

@media (max-width: 767px) {
    .sales-filter-line {
        grid-template-columns: 1fr !important;
        gap: 8px;
        padding: 12px;
    }

    .sales-filter-line > input {
        width: 100%;
    }
}

/* Product detail layout fix: keep the gallery inside its grid column. */
.product-detail-legacy .legacy-detail-main {
    grid-template-columns: minmax(280px, 430px) minmax(0, 1fr) !important;
    align-items: start !important;
    overflow: hidden !important;
}

.product-detail-legacy .legacy-detail-gallery {
    min-width: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
}

.product-detail-legacy .gallery-main-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 420px !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #f6f8fb !important;
}

.product-detail-legacy .gallery-main-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.product-detail-legacy .legacy-detail-info {
    min-width: 0 !important;
    overflow: hidden !important;
}

.product-detail-legacy .detail-stock-row {
    flex-wrap: wrap !important;
    gap: 12px 22px !important;
    margin-top: 20px !important;
    padding: 14px 0 18px !important;
}

.product-detail-legacy .detail-price-list {
    width: 100% !important;
}

.product-detail-legacy .detail-cart-row {
    min-width: 0 !important;
}

@media (max-width: 767px) {
    .product-detail-legacy .legacy-detail-main {
        grid-template-columns: 1fr !important;
        overflow: visible !important;
    }

    .product-detail-legacy .gallery-main-image {
        height: 300px !important;
    }
}

/* Header representative card */
.header-agent-card {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 78px;
    padding: 10px 14px !important;
    border: 1px solid #cfe0f5 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f1ff 100%) !important;
    color: #0b1b3f !important;
}

.header-agent-card > i {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    background: #0b63f6;
    color: #fff;
    font-size: 17px;
}

.header-agent-card > div {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.header-agent-card strong,
.header-agent-card span,
.header-agent-card small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-agent-card strong {
    color: #0b1b3f;
    font-size: 12px;
}

.header-agent-card span {
    color: #153d72;
    font-size: 13px;
}

.header-agent-card small {
    color: #6880a2;
    font-size: 10px;
}

/* Keep the cart indicator fully inside its header grid cell. */
.header-middle__right,
.site-header__sepet_actions {
    width: 100%;
    min-width: 0;
    overflow: visible !important;
}

.site-header__sepet_actions {
    height: 88px;
}

.site-header__sepet_actions .indicator__button {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box !important;
    margin: 0;
    border: 1px solid #d6dde8 !important;
    border-radius: 10px;
}

/* Final desktop homepage reference overrides. */
@media (min-width: 768px) {
    .turkuaz-home-page { width: min(1420px, calc(100% - 48px)) !important; grid-template-columns: 262px minmax(0, 1fr) !important; gap: 24px !important; margin: 22px auto 32px !important; }
    .turkuaz-home-main { gap: 20px !important; }
    .turkuaz-category-rail { min-height: 0 !important; padding: 17px 18px 18px !important; border-radius: 10px !important; }
    .turkuaz-category-rail h2 { display: flex !important; align-items: center !important; gap: 10px !important; padding-bottom: 10px !important; font-size: 17px !important; }
    .turkuaz-category-rail > a { display: grid !important; grid-template-columns: 20px minmax(0, 1fr) 14px !important; gap: 10px !important; min-height: 34px !important; padding: 8px 0 !important; border-bottom: 0 !important; color: #3e5274 !important; font-size: 13px !important; }
    .turkuaz-category-rail > a > i { color: #7285a5 !important; text-align: center !important; }
    .turkuaz-category-rail > a > b { color: #93a4bd !important; font-size: 18px !important; font-weight: 400 !important; }
    .turkuaz-category-rail__all { margin-top: 5px !important; border-top: 1px solid #e8eef7 !important; }.turkuaz-category-rail__all span { grid-column: 1 / 3; }
    .turkuaz-campaign-tile { margin: 22px -1px -1px !important; padding: 18px !important; border: 1px solid #d9e7fa !important; background: linear-gradient(135deg, #f5f9ff, #e7f2ff) !important; }.turkuaz-campaign-tile a { display: inline-flex !important; align-items: center !important; justify-content: space-between !important; margin-top: 4px !important; padding: 10px 14px !important; border-radius: 7px !important; background: #fff !important; }
    .turkuaz-hero { position: relative !important; min-height: 336px !important; border-radius: 11px !important; background: linear-gradient(90deg, rgba(2, 23, 54, .94) 0%, rgba(2, 23, 54, .82) 37%, rgba(2, 23, 54, .14) 70%), url("/themes/TurkuazPetrokimya/wwwroot/build/images/banners/chemistry-hero-v2.png") center / cover !important; box-shadow: 0 14px 30px rgba(6, 34, 71, .14) !important; }
    .turkuaz-hero__content { width: min(510px, 57%) !important; min-height: 336px !important; padding: 44px 62px !important; gap: 13px !important; }.turkuaz-hero__content h1 { font-size: clamp(34px, 3vw, 45px) !important; letter-spacing: -.8px !important; }.turkuaz-hero__content h1 em { color: #2574ff !important; font-style: normal !important; }.turkuaz-hero__content p { max-width: 410px !important; font-size: 14px !important; line-height: 1.7 !important; }.turkuaz-hero__content a { padding: 13px 18px !important; border-radius: 8px !important; background: #fff !important; color: #113161 !important; }
    .turkuaz-hero__arrow { position: absolute !important; top: 50% !important; z-index: 1 !important; display: grid !important; width: 40px !important; height: 40px !important; place-items: center !important; border: 1px solid rgba(147, 188, 239, .46) !important; border-radius: 50% !important; background: rgba(6, 34, 71, .52) !important; color: #fff !important; transform: translateY(-50%) !important; }.turkuaz-hero__arrow--prev { left: 17px !important; }.turkuaz-hero__arrow--next { right: 17px !important; }.turkuaz-hero__dots { position: absolute !important; right: 50% !important; bottom: 18px !important; display: flex !important; gap: 8px !important; transform: translateX(50%) !important; }.turkuaz-hero__dots i { display: block !important; width: 9px !important; height: 9px !important; border-radius: 50% !important; background: rgba(255,255,255,.6) !important; }.turkuaz-hero__dots .is-active { width: 20px !important; border-radius: 10px !important; background: #2678ff !important; }
    .turkuaz-feature-strip { border-radius: 10px !important; }.turkuaz-feature-strip article { grid-template-columns: 48px 1fr !important; min-height: 116px !important; padding: 20px 16px !important; gap: 5px 14px !important; }.turkuaz-feature-strip i { width: 46px !important; height: 46px !important; border-radius: 9px !important; }.turkuaz-feature-strip strong { align-self: end !important; font-size: 13px !important; }.turkuaz-feature-strip span { font-size: 12px !important; line-height: 1.45 !important; }.turkuaz-feature-strip .feature-secure i { background: #f4efff !important; color: #7b49ca !important; }.turkuaz-feature-strip .feature-support i { background: #e6f8f4 !important; color: #159b89 !important; }.turkuaz-feature-strip .feature-price i { background: #fff3e4 !important; color: #f48c1b !important; }
    .turkuaz-popular-cats { padding: 19px 18px !important; border-radius: 10px !important; }.turkuaz-popular-cats h2 { font-size: 16px !important; }.turkuaz-popular-cats__items { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 10px !important; margin-top: 17px !important; }.turkuaz-popular-cats__items a { display: grid !important; grid-template-columns: 42px minmax(0, 1fr) !important; gap: 10px !important; min-width: 0 !important; padding: 12px 10px !important; border-radius: 8px !important; background: #f7faff !important; color: #0b1b3f !important; text-decoration: none !important; }.turkuaz-popular-cats__items i { width: 40px !important; height: 40px !important; margin: 0 !important; font-size: 17px !important; }.turkuaz-popular-cats__items strong,.turkuaz-popular-cats__items small { display: block !important; overflow: hidden !important; text-overflow: ellipsis !important; }.turkuaz-popular-cats__items strong { font-size: 12px !important; line-height: 1.15 !important; }.turkuaz-popular-cats__items small { margin-top: 5px !important; color: #71819c !important; font-size: 11px !important; }.turkuaz-popular-cats__items .cat-accent-1 i { background:#fff1df !important; color:#f48c1b !important; }.turkuaz-popular-cats__items .cat-accent-2 i { background:#e2f8f0 !important; color:#159b89 !important; }.turkuaz-popular-cats__items .cat-accent-3 i { background:#f2e9ff !important; color:#8246ca !important; }.turkuaz-popular-cats__items .cat-accent-4 i { background:#eaf0ff !important; color:#2b70dd !important; }.turkuaz-popular-cats__items .cat-accent-5 i { background:#ffeef0 !important; color:#cf4e61 !important; }
    .turkuaz-metric-strip { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; padding: 16px !important; border-radius: 10px !important; }.turkuaz-metric-strip span { display: grid !important; justify-items: center !important; gap: 3px !important; color: #71819c !important; font-size: 12px !important; }.turkuaz-metric-strip strong { color: #1764df !important; font-size: 22px !important; line-height: 1.1 !important; }
}

/* Final mobile pass: kept at the end so theme bundle rules cannot override it. */
@media (max-width: 767px) {
    .layout-header__mobile {
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        display: block !important;
        padding: 12px 16px 14px !important;
        background: #fff !important;
    }

    .layout-header__mobile .mobile-header {
        display: grid !important;
        grid-template-columns: 40px minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 12px !important;
        min-height: 48px !important;
    }

    .layout-header__mobile .site-header__logo {
        display: block !important;
        width: 178px !important;
        max-width: 100% !important;
        line-height: 0 !important;
    }

    .layout-header__mobile .site-header__logo img {
        width: 100% !important;
        height: auto !important;
        max-height: 48px !important;
        object-fit: contain !important;
    }

    .mobile-header__menu,
    .mobile-header__search,
    .mobile-header__indicator {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        border-radius: 12px !important;
        color: #071b3d !important;
        text-decoration: none !important;
    }

    .mobile-header__menu { padding: 0 !important; border: 0 !important; background: transparent !important; font-size: 24px !important; }
    .mobile-header__actions { display: flex !important; align-items: center !important; gap: 6px !important; }
    .mobile-header__search { border: 1px solid #d9e5f6 !important; background: #fff !important; }
    .mobile-header__indicator { position: relative !important; color: #0b63f6 !important; font-size: 24px !important; }
    .mobile-header__indicator em { position: absolute !important; top: -3px !important; right: -2px !important; min-width: 18px !important; padding: 2px 5px !important; border-radius: 12px !important; background: #0b63f6 !important; color: #fff !important; font-size: 11px !important; font-style: normal !important; text-align: center !important; }

    .mobile-header__searchbar {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        height: 52px !important;
        margin-top: 12px !important;
        padding: 0 14px !important;
        border: 1px solid #d9e5f6 !important;
        border-radius: 13px !important;
        background: #fff !important;
    }

    .mobile-header__searchbar input { min-width: 0 !important; flex: 1 !important; border: 0 !important; outline: 0 !important; background: transparent !important; }
    .mobile-header__searchbar button { display: none !important; }
    .site-footer { display: none !important; }
    body { padding-bottom: calc(74px + env(safe-area-inset-bottom)) !important; }

    .mobile-bottom-nav {
        position: fixed !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        z-index: 1100 !important;
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        padding: 8px 6px calc(8px + env(safe-area-inset-bottom)) !important;
        border-top: 1px solid #e1e8f3 !important;
        background: rgba(255, 255, 255, .98) !important;
        box-shadow: 0 -8px 24px rgba(13, 35, 70, .08) !important;
    }

    .mobile-bottom-nav a { display: grid !important; justify-items: center !important; gap: 4px !important; color: #71809a !important; font-size: 11px !important; text-decoration: none !important; }
    .mobile-bottom-nav i { font-size: 19px !important; }
    .mobile-bottom-nav a:nth-child(2), .mobile-bottom-nav a:nth-child(4) { color: #0b63f6 !important; }

    .turkuaz-home-page, .turkuaz-product-page, .turkuaz-cart-page { width: calc(100% - 24px) !important; margin: 12px auto 22px !important; }
    .turkuaz-home-page { display: block !important; }
    .turkuaz-category-rail, .turkuaz-hero, .turkuaz-feature-strip, .turkuaz-metric-strip { display: none !important; }
    .turkuaz-product-page { display: flex !important; flex-direction: column !important; gap: 12px !important; }
    .turkuaz-product-filters { order: 0 !important; }
    .turkuaz-product-content { order: 1 !important; }
    .turkuaz-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
    .turkuaz-product-toolbar { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) !important; gap: 8px !important; }
    .turkuaz-product-toolbar select { min-width: 0 !important; max-width: none !important; }
    .turkuaz-product-cards { display: grid !important; gap: 8px !important; padding: 10px !important; }
    .turkuaz-product-card { grid-template-columns: 84px minmax(0, 1fr) 40px !important; gap: 10px !important; padding: 12px !important; border-radius: 14px !important; }
    .turkuaz-product-card__image { grid-row: 1 / span 2 !important; width: 84px !important; height: 84px !important; }
    .turkuaz-product-card__body { min-width: 0 !important; }
    .turkuaz-product-card__body h2 { overflow: hidden !important; font-size: 15px !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
    .turkuaz-card-actions { grid-column: 2 / 4 !important; grid-template-columns: 1fr 42px !important; gap: 8px !important; }
    .turkuaz-product-table-wrap { display: none !important; }

    .turkuaz-cart-page { display: block !important; }
    .turkuaz-cart-heading { display: block !important; padding: 16px !important; }
    .turkuaz-cart-heading > a { margin-top: 12px !important; }
    .turkuaz-cart-products > header { display: block !important; padding: 16px !important; }
    .turkuaz-cart-products > header > div { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; margin-top: 12px !important; }
    .turkuaz-cart-line { display: grid !important; grid-template-columns: 64px minmax(0, 1fr) 34px !important; gap: 10px !important; padding: 14px !important; }
    .turkuaz-cart-line img { width: 64px !important; height: 64px !important; }
    .turkuaz-cart-line__product h3 { font-size: 14px !important; }
    .turkuaz-cart-line > div:not(.turkuaz-cart-line__product), .turkuaz-cart-line > form:not(.turkuaz-cart-line__product) { grid-column: 2 / 4 !important; display: flex !important; justify-content: space-between !important; align-items: center !important; }
    .turkuaz-checkout-grid { display: block !important; }
    .turkuaz-order-summary { margin-top: 12px !important; }
    .turkuaz-complete-btn, .turkuaz-draft-btn { width: 100% !important; }
}

/* Turkuaz EOF lock: final storefront alignment overrides. */
.topbar__row,
.header-middle__container,
.nav-main__list,
.footer-inner,
.turkuaz-home-page,
.turkuaz-product-page,
.turkuaz-cart-page,
.site__body > .module-page {
    width: min(1420px, calc(100% - 48px)) !important;
    max-width: 1420px !important;
}

.header-middle {
    min-height: 112px !important;
}

.nav-main {
    display: block !important;
    min-height: 58px !important;
    background: #062247 !important;
}

.nav-main__list {
    min-height: 58px !important;
    justify-content: center !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
}

.nav-main__list::-webkit-scrollbar {
    display: none !important;
}

.nav-main__link {
    min-height: 58px !important;
    padding: 0 8px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
}

.turkuaz-home-page,
.turkuaz-product-page,
.turkuaz-cart-page,
.site__body > .module-page {
    margin: 24px auto 32px !important;
}

.turkuaz-home-page {
    grid-template-columns: 250px minmax(0, 1fr) !important;
    gap: 24px !important;
}

@media (max-width: 991px) {
    .topbar__row,
    .header-middle__container,
    .nav-main__list,
    .footer-inner,
    .turkuaz-home-page,
    .turkuaz-product-page,
    .turkuaz-cart-page,
    .site__body > .module-page {
        width: min(100% - 24px, 100%) !important;
        max-width: none !important;
    }
}

/* Final readability overrides. */
body { color: #172b4d; font-size: 15px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.nav-main__link { font-size: 14px !important; }
.turkuaz-page-heading h1 { color: #071b3d !important; font-size: 32px !important; }
.turkuaz-page-heading p, .turkuaz-product-filters label, .turkuaz-product-filters input, .turkuaz-product-filters select, .turkuaz-product-toolbar select, .turkuaz-product-toolbar button { font-size: 15px !important; }
.turkuaz-stat-grid article span, .turkuaz-metric-strip span { color: #526987 !important; font-size: 14px !important; font-weight: 700; }
.turkuaz-stat-grid article small, .turkuaz-metric-strip small { color: #526987 !important; font-size: 13px !important; }
.turkuaz-product-card__body h2 { color: #071b3d !important; font-size: 19px !important; line-height: 1.3 !important; }
.turkuaz-product-card__body p, .turkuaz-product-card__body > a { color: #344d70 !important; font-size: 14px !important; line-height: 1.5 !important; }
.turkuaz-product-card dl dt { color: #526987 !important; font-size: 14px !important; font-weight: 700 !important; }
.turkuaz-product-card dl dd { color: #071b3d !important; font-size: 15px !important; font-weight: 850 !important; line-height: 1.45 !important; }
.turkuaz-product-card dl small { color: #526987 !important; font-size: 13px !important; }

/* Final readability overrides. */
body { color: #172b4d; font-size: 15px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.nav-main__link { font-size: 14px !important; }
.turkuaz-page-heading h1 { color: #071b3d !important; font-size: 32px !important; }
.turkuaz-page-heading p, .turkuaz-product-filters label, .turkuaz-product-filters input, .turkuaz-product-filters select, .turkuaz-product-toolbar select, .turkuaz-product-toolbar button { font-size: 15px !important; }
.turkuaz-stat-grid article span, .turkuaz-metric-strip span { color: #526987 !important; font-size: 14px !important; font-weight: 700; }
.turkuaz-stat-grid article small, .turkuaz-metric-strip small { color: #526987 !important; font-size: 13px !important; }
.turkuaz-product-card__body h2 { color: #071b3d !important; font-size: 19px !important; line-height: 1.3 !important; }
.turkuaz-product-card__body p, .turkuaz-product-card__body > a { color: #344d70 !important; font-size: 14px !important; line-height: 1.5 !important; }
.turkuaz-product-card dl dt { color: #526987 !important; font-size: 14px !important; font-weight: 700 !important; }
.turkuaz-product-card dl dd { color: #071b3d !important; font-size: 15px !important; font-weight: 850 !important; line-height: 1.45 !important; }
.turkuaz-product-card dl small { color: #526987 !important; font-size: 13px !important; }

/* Absolute last mobile corrections. */
@media (max-width: 767px) {
    .turkuaz-home-page { display: block !important; grid-template-columns: 1fr !important; gap: 12px !important; }
    .turkuaz-product-page { display: flex !important; flex-direction: column !important; gap: 12px !important; }
    .turkuaz-cart-page { display: block !important; }
    .turkuaz-home-page, .turkuaz-product-page, .turkuaz-cart-page { width: calc(100% - 24px) !important; margin: 12px auto 22px !important; }
}

@media (max-width: 767px) {
    .turkuaz-home-page { display: block !important; grid-template-columns: 1fr !important; gap: 12px !important; }
    .turkuaz-product-page { display: flex !important; flex-direction: column !important; gap: 12px !important; }
    .turkuaz-cart-page { display: block !important; }
    .turkuaz-home-page, .turkuaz-product-page, .turkuaz-cart-page { width: calc(100% - 24px) !important; margin: 12px auto 22px !important; }
}

/* Mobile overrides must remain after the EOF lock above. */
@media (max-width: 767px) {
    .layout-header__mobile { display: block !important; position: sticky !important; top: 0 !important; z-index: 1000 !important; background: #fff !important; }
    .layout-header__mobile .mobile-header { display: grid !important; grid-template-columns: 40px minmax(0, 1fr) auto !important; align-items: center !important; gap: 12px !important; }
    .layout-header__mobile .site-header__logo { display: block !important; width: 178px !important; max-width: 100% !important; }
    .layout-header__mobile .site-header__logo img { width: 100% !important; height: auto !important; max-height: 48px !important; }
    .mobile-header__searchbar { display: flex !important; height: 52px !important; margin-top: 12px !important; border: 1px solid #d9e5f6 !important; border-radius: 13px !important; background: #fff !important; }
    .mobile-bottom-nav { position: fixed !important; right: 0 !important; bottom: 0 !important; left: 0 !important; z-index: 1100 !important; display: grid !important; grid-template-columns: repeat(5, 1fr) !important; padding: 8px 6px calc(8px + env(safe-area-inset-bottom)) !important; background: rgba(255,255,255,.98) !important; box-shadow: 0 -8px 24px rgba(13,35,70,.08) !important; }
    body { padding-bottom: calc(74px + env(safe-area-inset-bottom)) !important; }
    .site-footer { display: none !important; }
    .turkuaz-home-page, .turkuaz-product-page, .turkuaz-cart-page { width: calc(100% - 24px) !important; margin: 12px auto 22px !important; }
    .turkuaz-home-page { display: block !important; }
    .turkuaz-product-page { display: flex !important; flex-direction: column !important; gap: 12px !important; }
    .turkuaz-category-rail, .turkuaz-hero, .turkuaz-feature-strip, .turkuaz-metric-strip { display: none !important; }
    .turkuaz-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
    .turkuaz-product-toolbar { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) !important; gap: 8px !important; }
    .turkuaz-product-cards { display: grid !important; gap: 8px !important; padding: 10px !important; }
    .turkuaz-product-card { grid-template-columns: 84px minmax(0, 1fr) 40px !important; gap: 10px !important; padding: 12px !important; border-radius: 14px !important; }
    .turkuaz-product-card__image { grid-row: 1 / span 2 !important; width: 84px !important; height: 84px !important; }
    .turkuaz-card-actions { grid-column: 2 / 4 !important; grid-template-columns: 1fr 42px !important; gap: 8px !important; }
    .turkuaz-product-table-wrap { display: none !important; }
    .turkuaz-cart-page { display: block !important; }
    .turkuaz-cart-products > header { display: block !important; padding: 16px !important; }
    .turkuaz-cart-products > header > div { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; margin-top: 12px !important; }
    .turkuaz-cart-line { display: grid !important; grid-template-columns: 64px minmax(0, 1fr) 34px !important; gap: 10px !important; padding: 14px !important; }
    .turkuaz-cart-line img { width: 64px !important; height: 64px !important; }
    .turkuaz-cart-line > div:not(.turkuaz-cart-line__product), .turkuaz-cart-line > form:not(.turkuaz-cart-line__product) { grid-column: 2 / 4 !important; display: flex !important; justify-content: space-between !important; align-items: center !important; }
    .turkuaz-checkout-grid { display: block !important; }
    .turkuaz-order-summary { margin-top: 12px !important; }
}

@media (max-width: 767px) {
    .layout-header__mobile { position: sticky !important; top: 0 !important; z-index: 1000 !important; display: block !important; padding: 12px 16px 14px !important; background: #fff !important; }
    .layout-header__mobile .mobile-header { display: grid !important; grid-template-columns: 40px minmax(0, 1fr) auto !important; align-items: center !important; gap: 12px !important; min-height: 48px !important; }
    .layout-header__mobile .site-header__logo { display: block !important; width: 178px !important; max-width: 100% !important; line-height: 0 !important; }
    .layout-header__mobile .site-header__logo img { width: 100% !important; height: auto !important; max-height: 48px !important; object-fit: contain !important; }
    .mobile-header__menu, .mobile-header__search, .mobile-header__indicator { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 42px !important; height: 42px !important; border-radius: 12px !important; color: #071b3d !important; text-decoration: none !important; }
    .mobile-header__menu { padding: 0 !important; border: 0 !important; background: transparent !important; font-size: 24px !important; }
    .mobile-header__actions { display: flex !important; align-items: center !important; gap: 6px !important; }
    .mobile-header__search { border: 1px solid #d9e5f6 !important; background: #fff !important; }
    .mobile-header__indicator { position: relative !important; color: #0b63f6 !important; font-size: 24px !important; }
    .mobile-header__indicator em { position: absolute !important; top: -3px !important; right: -2px !important; min-width: 18px !important; padding: 2px 5px !important; border-radius: 12px !important; background: #0b63f6 !important; color: #fff !important; font-size: 11px !important; font-style: normal !important; text-align: center !important; }
    .mobile-header__searchbar { display: flex !important; align-items: center !important; gap: 10px !important; height: 52px !important; margin-top: 12px !important; padding: 0 14px !important; border: 1px solid #d9e5f6 !important; border-radius: 13px !important; background: #fff !important; }
    .mobile-header__searchbar input { min-width: 0 !important; flex: 1 !important; border: 0 !important; outline: 0 !important; background: transparent !important; }
    .mobile-header__searchbar button { display: none !important; }
    .site-footer { display: none !important; }
    body { padding-bottom: calc(74px + env(safe-area-inset-bottom)) !important; }
    .mobile-bottom-nav { position: fixed !important; right: 0 !important; bottom: 0 !important; left: 0 !important; z-index: 1100 !important; display: grid !important; grid-template-columns: repeat(5, 1fr) !important; padding: 8px 6px calc(8px + env(safe-area-inset-bottom)) !important; border-top: 1px solid #e1e8f3 !important; background: rgba(255, 255, 255, .98) !important; box-shadow: 0 -8px 24px rgba(13, 35, 70, .08) !important; }
    .mobile-bottom-nav a { display: grid !important; justify-items: center !important; gap: 4px !important; color: #71809a !important; font-size: 11px !important; text-decoration: none !important; }
    .mobile-bottom-nav i { font-size: 19px !important; }
    .mobile-bottom-nav a:nth-child(2), .mobile-bottom-nav a:nth-child(4) { color: #0b63f6 !important; }
    .turkuaz-home-page, .turkuaz-product-page, .turkuaz-cart-page { width: calc(100% - 24px) !important; margin: 12px auto 22px !important; }
    .turkuaz-home-page { display: block !important; }
    .turkuaz-category-rail, .turkuaz-hero, .turkuaz-feature-strip, .turkuaz-metric-strip { display: none !important; }
    .turkuaz-product-page { display: flex !important; flex-direction: column !important; gap: 12px !important; }
    .turkuaz-product-filters { order: 0 !important; }
    .turkuaz-product-content { order: 1 !important; }
    .turkuaz-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
    .turkuaz-product-toolbar { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) !important; gap: 8px !important; }
    .turkuaz-product-toolbar select { min-width: 0 !important; max-width: none !important; }
    .turkuaz-product-cards { display: grid !important; gap: 8px !important; padding: 10px !important; }
    .turkuaz-product-card { grid-template-columns: 84px minmax(0, 1fr) 40px !important; gap: 10px !important; padding: 12px !important; border-radius: 14px !important; }
    .turkuaz-product-card__image { grid-row: 1 / span 2 !important; width: 84px !important; height: 84px !important; }
    .turkuaz-product-card__body { min-width: 0 !important; }
    .turkuaz-product-card__body h2 { overflow: hidden !important; font-size: 15px !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
    .turkuaz-card-actions { grid-column: 2 / 4 !important; grid-template-columns: 1fr 42px !important; gap: 8px !important; }
    .turkuaz-product-table-wrap { display: none !important; }
    .turkuaz-cart-page { display: block !important; }
    .turkuaz-cart-heading { display: block !important; padding: 16px !important; }
    .turkuaz-cart-products > header { display: block !important; padding: 16px !important; }
    .turkuaz-cart-products > header > div { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; margin-top: 12px !important; }
    .turkuaz-cart-line { display: grid !important; grid-template-columns: 64px minmax(0, 1fr) 34px !important; gap: 10px !important; padding: 14px !important; }
    .turkuaz-cart-line img { width: 64px !important; height: 64px !important; }
    .turkuaz-cart-line__product h3 { font-size: 14px !important; }
    .turkuaz-cart-line > div:not(.turkuaz-cart-line__product), .turkuaz-cart-line > form:not(.turkuaz-cart-line__product) { grid-column: 2 / 4 !important; display: flex !important; justify-content: space-between !important; align-items: center !important; }
    .turkuaz-checkout-grid { display: block !important; }
    .turkuaz-order-summary { margin-top: 12px !important; }
    .turkuaz-complete-btn, .turkuaz-draft-btn { width: 100% !important; }
}

/* Turkuaz Petrokimya storefront theme */
body {
    color: #0b1b3f;
    background:
        linear-gradient(180deg, rgba(247, 251, 255, .96), rgba(255, 255, 255, .98) 420px),
        #f7fbff;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

.layout-header__desktop .topbar,
.nav-main {
    box-shadow: 0 8px 24px rgba(6, 34, 71, .12);
}

.layout-header__desktop .topbar {
    font-weight: 700;
}

.topbar__item strong {
    color: #00d084;
}

.header-middle {
    min-height: 112px;
    border-bottom: 1px solid #d9e5f6;
}

.topbar__row,
.header-middle__container,
.nav-main__list,
.footer-inner {
    width: min(1420px, calc(100% - 48px));
}

.header-middle__container {
    grid-template-columns: minmax(220px, 280px) minmax(420px, 1fr) 230px 170px;
    gap: 16px;
    min-width: 0;
}

.site-header__logo img {
    width: min(var(--theme-logo-width, 245px), 260px);
    max-width: 100%;
    filter: drop-shadow(0 10px 18px rgba(11, 99, 246, .08));
}

.header-middle__left,
.header-middle__right {
    min-width: 0;
    overflow: hidden;
}

.site-header__logo {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.turkuaz-header-search {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 176px 96px;
    align-items: center;
    min-width: 0;
    height: 48px;
    overflow: hidden;
    border: 1px solid #d9e5f6;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(13, 35, 70, .05);
}

.turkuaz-header-search__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.turkuaz-header-search__input,
.turkuaz-header-search__select,
.turkuaz-header-search__button {
    height: 100%;
    border: 0;
    outline: 0;
    font-weight: 700;
}

.turkuaz-header-search__input {
    min-width: 0;
    color: #0b1b3f;
}

.turkuaz-header-search__input::placeholder {
    color: #7b8ca8;
}

.turkuaz-header-search__select {
    border-left: 1px solid #d9e5f6;
    padding: 0 14px;
    color: #253a5f;
    background: #ffffff;
}

.turkuaz-header-search__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0b63f6;
    color: #ffffff;
}

.search__body,
.header-agent-card,
.indicator__button,
.legacy-product-shell,
.legacy-product-filter,
.products-list__body,
.product-card,
.catalog-product-card,
.legacy-cart-shell,
.legacy-cart-table-wrap,
.checkout-sticky,
.cart__totals .card,
.product-detail-legacy,
.module-panel,
.module-stat,
.account-card,
.contact-card,
.set-card {
    border: 1px solid #d9e5f6 !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 34px rgba(13, 35, 70, .06);
}

.header-agent-card {
    background: #edf6ff;
    color: #0b1b3f;
    min-width: 0;
    min-height: 78px;
    padding: 12px 16px;
}

.indicator__button {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    background: #ffffff !important;
    color: #0b1b3f !important;
}

.cart-icon {
    flex: 0 0 auto;
    min-width: 42px;
    overflow: visible;
}

.cart-icon em,
.indicator__counter {
    background: #0b63f6 !important;
    color: #ffffff !important;
}

.nav-main__list {
    gap: 0;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    justify-content: center;
}

.nav-main__list::-webkit-scrollbar {
    display: none;
}

.nav-main__link {
    min-height: 58px;
    padding: 0 13px;
    font-weight: 800;
    white-space: nowrap;
    gap: 7px;
}

.nav-main__link i {
    font-size: 17px;
}

.nav-main__link:hover,
.nav-main__item.is-active .nav-main__link,
.nav-main__item:hover > .nav-main__link {
    background: #0b63f6;
}

.store-submenu {
    border: 1px solid #d9e5f6;
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(6, 34, 71, .16);
}

.btn-primary,
.search__button,
.catalog-card-actions button,
.cart-table-btn,
.detail-add-cart,
.legacy-store-filter button,
.product-reminder-table button,
.module-primary-button,
.siparis-tamamlama-btn-color {
    background: #0b63f6 !important;
    border-color: #0b63f6 !important;
    color: #ffffff !important;
    box-shadow: 0 10px 18px rgba(11, 99, 246, .18);
}

.btn-primary:hover,
.search__button:hover,
.catalog-card-actions button:hover,
.cart-table-btn:hover,
.detail-add-cart:hover,
.module-primary-button:hover {
    background: #084fd0 !important;
    border-color: #084fd0 !important;
}

.btn-secondary,
.cart-clear-form,
.module-secondary-button {
    background: #ffffff !important;
    border: 1px solid #cbd9ee !important;
    color: #253a5f !important;
}

.legacy-product-table th,
.legacy-cart-table th,
.product-reminder-table th {
    background: #f6f9fe !important;
    color: #253a5f !important;
    border-bottom: 1px solid #d9e5f6 !important;
}

.legacy-product-table td,
.legacy-cart-table td,
.product-reminder-table td {
    border-color: #e7eef9 !important;
}

.product-card__name a,
.catalog-product-card h2,
.cart-table__product-name,
.legacy-cart-shell h1,
.legacy-product-shell h1,
.module-page-heading h1 {
    color: #071b3d !important;
    font-weight: 800;
}

.legacy-product-count,
.product-flag,
.catalog-product-badges .stock-badge {
    border-radius: 8px;
}

.product-flag.is-campaign {
    background: #e6fbff;
    color: #087f95;
}

.product-flag.is-discount {
    background: #eaf7ef;
    color: #16803a;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 991px) {
    .layout-header__mobile {
        border-bottom: 1px solid #d9e5f6;
        box-shadow: 0 8px 24px rgba(6, 34, 71, .08);
    }

    .mobile-header__logo,
    .mobile-header__indicator {
        color: #0b1b3f !important;
        font-weight: 800;
    }

    .legacy-product-shell,
    .legacy-product-filter,
    .legacy-cart-shell,
    .checkout-sticky {
        box-shadow: 0 10px 24px rgba(13, 35, 70, .05);
    }
}

@media (max-width: 767px) {
    body {
        padding-bottom: calc(74px + env(safe-area-inset-bottom));
        background: #f7faff;
    }

    .layout-header__mobile {
        position: sticky;
        top: 0;
        z-index: 1000;
        padding: 12px 16px 14px;
        background: #fff;
    }

    .layout-header__mobile .mobile-header {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
        min-height: 48px;
    }

    .layout-header__mobile .site-header__logo {
        justify-self: start;
        display: block;
        width: 178px;
        max-width: 100%;
        line-height: 0;
    }

    .layout-header__mobile .site-header__logo img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 48px;
        object-fit: contain;
        object-position: left center;
    }

    .mobile-header__menu,
    .mobile-header__search,
    .mobile-header__indicator {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 12px;
        background: #fff;
        color: #071b3d;
        font-size: 21px;
        text-decoration: none;
    }

    .mobile-header__menu {
        padding: 0;
        font-size: 24px;
    }

    .mobile-header__actions {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .mobile-header__search {
        border: 1px solid #d9e5f6;
    }

    .mobile-header__indicator {
        position: relative;
        color: #0b63f6;
        font-size: 24px;
    }

    .mobile-header__indicator em {
        position: absolute;
        top: -3px;
        right: -2px;
        min-width: 18px;
        padding: 2px 5px;
        border-radius: 12px;
        background: #0b63f6;
        color: #fff;
        font-size: 11px;
        font-style: normal;
        line-height: 1.2;
        text-align: center;
    }

    .mobile-header__searchbar {
        display: flex;
        align-items: center;
        gap: 10px;
        height: 52px;
        margin-top: 12px;
        padding: 0 14px;
        border: 1px solid #d9e5f6;
        border-radius: 13px;
        background: #fff;
        color: #64748b;
    }

    .mobile-header__searchbar input {
        min-width: 0;
        flex: 1;
        border: 0;
        outline: 0;
        background: transparent;
        color: #071b3d;
        font-size: 14px;
    }

    .mobile-header__searchbar button {
        display: none;
    }

    .site-footer {
        display: none;
    }

    .mobile-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1100;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
        border-top: 1px solid #e1e8f3;
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 -8px 24px rgba(13, 35, 70, .08);
    }

    .mobile-bottom-nav a {
        display: grid;
        justify-items: center;
        gap: 4px;
        color: #71809a;
        font-size: 11px;
        font-weight: 700;
        text-decoration: none;
    }

    .mobile-bottom-nav i {
        font-size: 19px;
    }

    .mobile-bottom-nav a:nth-child(2),
    .mobile-bottom-nav a:nth-child(4) {
        color: #0b63f6;
    }

    .turkuaz-home-page,
    .turkuaz-product-page,
    .turkuaz-cart-page {
        width: calc(100% - 24px);
        margin: 12px auto 22px;
    }

    .turkuaz-home-page {
        display: block;
    }

    .turkuaz-category-rail,
    .turkuaz-hero,
    .turkuaz-feature-strip,
    .turkuaz-metric-strip {
        display: none;
    }

    .turkuaz-product-page {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .turkuaz-product-filters {
        order: 0;
    }

    .turkuaz-product-filters form {
        padding: 16px;
        border-radius: 16px;
    }

    .turkuaz-product-content {
        order: 1;
        min-width: 0;
    }

    .turkuaz-page-heading {
        padding: 16px;
        border: 1px solid #e1e8f3;
        border-radius: 16px;
        background: #fff;
    }

    .turkuaz-page-heading h1 {
        font-size: 26px;
    }

    .turkuaz-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
        border-radius: 16px;
    }

    .turkuaz-stat-grid article {
        min-height: 104px;
        padding: 12px;
        border-radius: 12px;
    }

    .turkuaz-product-panel,
    .turkuaz-cart-products,
    .turkuaz-order-summary {
        border-radius: 16px;
    }

    .turkuaz-product-toolbar {
        gap: 8px;
        padding: 12px;
    }

    .turkuaz-product-toolbar select {
        max-width: 132px;
    }

    .turkuaz-product-cards {
        display: grid;
        gap: 8px;
        padding: 10px;
    }

    .turkuaz-product-card {
        display: grid;
        grid-template-columns: 84px minmax(0, 1fr) 40px;
        gap: 10px;
        padding: 12px;
        border: 1px solid #e1e8f3;
        border-radius: 14px;
        background: #fff;
    }

    .turkuaz-product-card__image {
        grid-row: 1 / span 2;
        width: 84px;
        height: 84px;
    }

    .turkuaz-product-card__body {
        min-width: 0;
    }

    .turkuaz-product-card__body h2 {
        margin: 0 0 4px;
        overflow: hidden;
        font-size: 15px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .turkuaz-product-card__body p {
        margin: 0;
        font-size: 12px;
    }

    .turkuaz-product-card dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        margin-top: 10px;
    }

    .turkuaz-card-actions {
        grid-column: 2 / 4;
        display: grid;
        grid-template-columns: 1fr 42px;
        gap: 8px;
        align-items: center;
    }

    .turkuaz-card-actions > div {
        min-width: 0;
    }

    .turkuaz-card-actions > button {
        height: 40px;
        border-radius: 10px;
    }

    .turkuaz-eye {
        align-self: start;
    }

    .turkuaz-product-table-wrap {
        display: none;
    }

    .turkuaz-pagination {
        margin-bottom: 12px;
    }
}

@media (max-width: 1199px) {
    .header-middle__container {
        grid-template-columns: 220px minmax(280px, 1fr) 156px;
    }

    .header-agent-card {
        display: none;
    }

    .turkuaz-header-search {
        grid-template-columns: 44px minmax(0, 1fr) 82px;
    }

    .turkuaz-header-search__select {
        display: none;
    }
}

.turkuaz-home-page,
.turkuaz-product-page,
.turkuaz-cart-page {
    width: min(1420px, calc(100% - 48px));
    margin: 24px auto 32px;
}

.turkuaz-home-page {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 24px;
}

.turkuaz-category-rail,
.turkuaz-product-filters form,
.turkuaz-product-panel,
.turkuaz-cart-products,
.turkuaz-address-card,
.turkuaz-delivery-card,
.turkuaz-payment-card,
.turkuaz-order-summary,
.turkuaz-popular-cats,
.turkuaz-metric-strip {
    border: 1px solid #d9e5f6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(13, 35, 70, .06);
}

.turkuaz-category-rail {
    padding: 20px;
    min-height: 642px;
}

.turkuaz-category-rail h2,
.turkuaz-product-filters h2,
.turkuaz-cart-products h2,
.turkuaz-order-summary h2,
.turkuaz-address-card h2,
.turkuaz-delivery-card h2,
.turkuaz-payment-card h2 {
    margin: 0;
    color: #071b3d;
    font-size: 18px;
    font-weight: 900;
}

.turkuaz-category-rail > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eef4fb;
    color: #253a5f;
    font-weight: 750;
    text-decoration: none;
}

.turkuaz-campaign-tile {
    display: grid;
    gap: 9px;
    margin-top: 22px;
    padding: 18px;
    border-radius: 8px;
    background: #edf6ff;
}

.turkuaz-campaign-tile strong {
    color: #0b63f6;
}

.turkuaz-campaign-tile a,
.turkuaz-popular-cats header a {
    color: #0b63f6;
    font-weight: 850;
    text-decoration: none;
}

.turkuaz-home-main {
    display: grid;
    gap: 20px;
}

.turkuaz-hero {
    min-height: 354px;
    overflow: hidden;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(6, 34, 71, .96), rgba(6, 34, 71, .72) 46%, rgba(6, 34, 71, .18)),
        url("/themes/TurkuazPetrokimya/wwwroot/build/images/banners/banner-1.jpg") center / cover;
}

.turkuaz-hero__content {
    display: grid;
    align-content: center;
    gap: 16px;
    width: min(520px, 60%);
    min-height: 354px;
    padding: 48px 54px;
    color: #fff;
}

.turkuaz-hero__content span {
    width: max-content;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(11, 99, 246, .28);
    color: #b9dcff;
    font-weight: 850;
}

.turkuaz-hero__content h1 {
    margin: 0;
    color: #fff;
    font-size: 38px;
    line-height: 1.12;
    font-weight: 950;
}

.turkuaz-hero__content h1::first-line {
    color: #fff;
}

.turkuaz-hero__content p {
    margin: 0;
    color: #e5efff;
    font-size: 16px;
}

.turkuaz-hero__content a,
.turkuaz-filter-actions button,
.turkuaz-complete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: max-content;
    border: 0;
    border-radius: 8px;
    background: #0b63f6;
    color: #fff;
    padding: 12px 18px;
    font-weight: 900;
    text-decoration: none;
}

.turkuaz-feature-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #d9e5f6;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.turkuaz-feature-strip article {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 2px 14px;
    min-height: 106px;
    padding: 22px;
    border-right: 1px solid #e7eef9;
}

.turkuaz-feature-strip article:last-child {
    border-right: 0;
}

.turkuaz-feature-strip i,
.turkuaz-stat-grid i,
.turkuaz-popular-cats i {
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #edf6ff;
    color: #0b63f6;
    font-size: 20px;
}

.turkuaz-feature-strip strong {
    color: #071b3d;
}

.turkuaz-feature-strip span,
.turkuaz-popular-cats span,
.turkuaz-stat-grid small,
.turkuaz-page-heading p,
.turkuaz-cart-heading p {
    color: #64748b;
}

.turkuaz-popular-cats {
    padding: 24px;
}

.turkuaz-popular-cats header,
.turkuaz-page-heading,
.turkuaz-cart-heading,
.turkuaz-cart-products > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.turkuaz-popular-cats h2,
.turkuaz-page-heading h1,
.turkuaz-cart-heading h1 {
    margin: 0;
    color: #071b3d;
    font-weight: 950;
}

.turkuaz-popular-cats > div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.turkuaz-popular-cats > div a {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 2px 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid #e7eef9;
    border-radius: 8px;
    color: #253a5f;
    text-decoration: none;
}

.turkuaz-metric-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 22px 20px;
    text-align: center;
}

.turkuaz-metric-strip span {
    display: grid;
    color: #64748b;
}

.turkuaz-metric-strip strong {
    color: #0b63f6;
    font-size: 24px;
}

.turkuaz-product-page {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 26px;
}

.turkuaz-product-filters form {
    position: sticky;
    top: 16px;
    display: grid;
    gap: 18px;
    padding: 22px;
}

.turkuaz-product-filters header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.turkuaz-product-filters header a,
.turkuaz-cart-heading a,
.turkuaz-outline-action,
.turkuaz-add-line {
    border: 1px solid #cbd9ee;
    border-radius: 8px;
    background: #fff;
    color: #253a5f;
    padding: 10px 14px;
    font-weight: 850;
    text-decoration: none;
}

.turkuaz-product-filters label {
    display: grid;
    gap: 8px;
    color: #071b3d;
    font-weight: 850;
}

.turkuaz-product-filters input,
.turkuaz-product-filters select,
.turkuaz-product-toolbar select,
.turkuaz-note-label textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d9e5f6;
    border-radius: 8px;
    background: #fff;
    color: #253a5f;
    padding: 0 14px;
}

.turkuaz-filter-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.turkuaz-filter-checks label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 750;
}

.turkuaz-product-filters .turkuaz-filter-checks input[type="checkbox"] {
    flex: 0 0 18px;
    width: 18px;
    min-width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 0;
    padding: 0;
    accent-color: #0b63f6;
}

.turkuaz-filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.turkuaz-filter-actions button,
.turkuaz-filter-actions a {
    width: 100%;
}

.turkuaz-filter-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #cbd9ee;
    border-radius: 8px;
    color: #253a5f;
    text-decoration: none;
    font-weight: 900;
}

.turkuaz-product-content {
    min-width: 0;
}

.turkuaz-breadcrumb {
    margin-bottom: 12px;
    color: #64748b;
    font-weight: 750;
}

.turkuaz-breadcrumb span {
    margin: 0 8px;
}

.turkuaz-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0;
}

.turkuaz-stat-grid article {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 2px 14px;
    align-items: center;
    padding: 18px;
    border: 1px solid #d9e5f6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(13, 35, 70, .06);
}

.turkuaz-stat-grid strong {
    color: #071b3d;
    font-size: 24px;
}

.turkuaz-product-panel {
    padding: 14px;
}

.turkuaz-product-toolbar {
    display: grid;
    grid-template-columns: auto 150px 190px;
    justify-content: end;
    gap: 14px;
    margin-bottom: 16px;
}

.turkuaz-view-toggle {
    display: inline-grid;
    grid-template-columns: 40px 40px;
    border: 1px solid #d9e5f6;
    border-radius: 8px;
    overflow: hidden;
}

.turkuaz-view-toggle a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.turkuaz-view-toggle a.is-active {
    background: #edf6ff;
    color: #0b63f6;
}

.turkuaz-product-cards {
    display: grid;
    gap: 14px;
}

.turkuaz-mobile-list-cards {
    display: none;
}

.turkuaz-product-card {
    position: relative;
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr) 216px 48px;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid #e7eef9;
    border-radius: 8px;
    background: #fff;
}

.turkuaz-product-card__image img,
.turkuaz-table-product img,
.turkuaz-cart-line img {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.turkuaz-product-card h2 {
    margin: 0 0 6px;
    color: #071b3d;
    font-size: 18px;
    font-weight: 950;
}

.turkuaz-product-card p,
.turkuaz-product-card a {
    color: #51637f;
    font-weight: 750;
}

.turkuaz-product-card dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 16px 0 0;
}

.turkuaz-product-card dt,
.turkuaz-product-card dd {
    margin: 0;
}

.turkuaz-product-card dt {
    color: #64748b;
}

.turkuaz-product-card dd,
.turkuaz-product-table b {
    color: #071b3d;
    font-weight: 900;
}

.is-low {
    color: #ff3158 !important;
}

.turkuaz-card-actions {
    display: grid;
    gap: 10px;
}

.turkuaz-card-actions div,
.turkuaz-qty,
.turkuaz-cart-qty {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    overflow: hidden;
    border: 1px solid #d9e5f6;
    border-radius: 8px;
}

.turkuaz-card-actions input,
.turkuaz-qty input,
.turkuaz-cart-qty input {
    min-width: 0;
    border: 0;
    text-align: center;
    font-weight: 850;
}

.turkuaz-card-actions button,
.turkuaz-qty button,
.turkuaz-cart-qty button,
.turkuaz-cart-btn {
    border: 0;
    background: #071b3d;
    color: #fff;
    min-height: 42px;
}

.turkuaz-card-actions > button,
.turkuaz-cart-btn {
    border-radius: 8px;
    background: #071b3d;
}

.turkuaz-eye,
.turkuaz-icon-btn,
.turkuaz-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #d9e5f6;
    border-radius: 8px;
    color: #253a5f;
    background: #fff;
}

.turkuaz-product-table-wrap {
    overflow-x: auto;
}

.turkuaz-product-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.turkuaz-product-table th,
.turkuaz-product-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #e7eef9;
    vertical-align: middle;
}

.turkuaz-product-table th {
    background: #f6f9fe;
    color: #253a5f;
    font-size: 12px;
    text-transform: uppercase;
}

.turkuaz-table-product {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
    align-items: center;
}

.turkuaz-table-product img {
    width: 58px;
    height: 58px;
}

.turkuaz-table-product span {
    display: grid;
    gap: 5px;
}

.turkuaz-stock-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #16a34a;
}

.turkuaz-stock-dot.is-empty {
    background: #ff3158;
}

.turkuaz-stock-dot.is-incoming {
    background: #f59e0b;
}

.turkuaz-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.turkuaz-pagination a,
.turkuaz-pagination span {
    border: 1px solid #d9e5f6;
    border-radius: 8px;
    background: #fff;
    color: #253a5f;
    padding: 10px 14px;
    font-weight: 850;
    text-decoration: none;
}

.turkuaz-cart-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
}

.turkuaz-cart-content {
    min-width: 0;
}

.turkuaz-info-banner,
.turkuaz-summary-note {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 16px 0;
    border: 1px solid #bad5ff;
    border-radius: 8px;
    background: #f0f7ff;
    color: #3f5d87;
    padding: 12px 16px;
}

.turkuaz-cart-products {
    overflow: hidden;
}

.turkuaz-cart-products > header {
    padding: 18px;
    border-bottom: 1px solid #e7eef9;
}

.turkuaz-cart-products > header h2 span {
    color: #64748b;
    font-size: 14px;
}

.turkuaz-cart-products > header > div {
    display: flex;
    gap: 10px;
}

.turkuaz-cart-products button,
.turkuaz-address-card button,
.turkuaz-draft-btn {
    border: 1px solid #cbd9ee;
    border-radius: 8px;
    background: #fff;
    color: #253a5f;
    padding: 10px 14px;
    font-weight: 850;
}

.turkuaz-cart-line {
    display: grid;
    grid-template-columns: 84px minmax(210px, 1fr) repeat(4, minmax(105px, 130px)) 42px;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #e7eef9;
}

.turkuaz-cart-line__product {
    display: grid;
    gap: 5px;
}

.turkuaz-cart-line h3 {
    margin: 0;
    color: #071b3d;
    font-size: 16px;
    font-weight: 950;
}

.turkuaz-cart-line div:not(.turkuaz-cart-line__product):not(.turkuaz-cart-qty) {
    display: grid;
    gap: 4px;
    text-align: right;
}

.turkuaz-cart-line span,
.turkuaz-cart-line small {
    color: #64748b;
}

.turkuaz-cart-line strong {
    color: #071b3d;
}

.is-green {
    color: #16a34a !important;
}

.turkuaz-add-line {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px;
    border-style: dashed;
}

.turkuaz-empty-cart {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 40px;
}

.turkuaz-checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
}

.turkuaz-address-card,
.turkuaz-delivery-card,
.turkuaz-payment-card,
.turkuaz-order-summary {
    padding: 18px;
}

.turkuaz-address-card label,
.turkuaz-delivery-card label,
.turkuaz-payment-card label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 16px;
    color: #071b3d;
    font-weight: 850;
}

.turkuaz-address-card p {
    color: #64748b;
    margin: 10px 0 18px 26px;
}

.turkuaz-address-card div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.turkuaz-delivery-card label span {
    display: grid;
    gap: 4px;
}

.turkuaz-payment-card label span {
    color: #071b3d;
}

.turkuaz-delivery-card small {
    width: max-content;
    border-radius: 6px;
    background: #eaf7ef;
    color: #16803a;
    padding: 2px 6px;
}

.turkuaz-checkout-empty {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 14px;
    border: 1px dashed #b9cbe5;
    border-radius: 10px;
    background: #f7fbff;
    color: #526987;
    font-size: 14px;
    line-height: 1.5;
}

.turkuaz-checkout-empty i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #1764df;
}

.turkuaz-order-summary {
    position: sticky;
    top: 16px;
    align-self: start;
}

.turkuaz-order-summary dl {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px 18px;
    margin: 22px 0;
}

.turkuaz-order-summary dt {
    color: #51637f;
}

.turkuaz-order-summary dd {
    margin: 0;
    color: #071b3d;
    font-weight: 900;
}

.turkuaz-grand-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #bad5ff;
    border-radius: 8px;
    background: #f0f7ff;
    padding: 16px;
}

.turkuaz-grand-total strong {
    color: #0b63f6;
    font-size: 24px;
}

.turkuaz-note-label {
    display: grid;
    gap: 8px;
    color: #071b3d;
    font-weight: 850;
}

.turkuaz-note-label textarea {
    min-height: 86px;
    padding-top: 12px;
}

.turkuaz-payment {
    display: block;
    margin: 12px 0;
    color: #253a5f;
}

.turkuaz-payment-empty {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0;
    padding: 10px 12px;
    border: 1px solid #f1d6a4;
    border-radius: 7px;
    background: #fffaf0;
    color: #80611d;
    font-size: 12px;
    line-height: 1.45;
}

.turkuaz-complete-btn,
.turkuaz-draft-btn {
    width: 100%;
    margin-top: 12px;
}

.turkuaz-draft-btn {
    background: #fff;
}

/* Final storefront corrections for filter controls and cart line layout. */
.turkuaz-product-filters .turkuaz-filter-checks label {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    line-height: 1.25;
}

.turkuaz-cart-products > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.turkuaz-cart-products > header > div,
.turkuaz-cart-products > header form,
.turkuaz-cart-line > form,
.turkuaz-cart-qty {
    margin: 0;
}

.turkuaz-cart-products > header > div {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.turkuaz-cart-line {
    min-width: 860px;
}

.turkuaz-cart-line > form:not(.turkuaz-cart-qty) {
    justify-self: end;
}

@media (max-width: 1199px) {
    .turkuaz-cart-products {
        overflow-x: auto;
    }
}

@media (max-width: 767px) {
    .turkuaz-cart-products > header {
        align-items: flex-start;
    }

    .turkuaz-cart-line {
        min-width: 0;
    }
}

@media (max-width: 1199px) {
    .turkuaz-home-page,
    .turkuaz-product-page,
    .turkuaz-cart-page {
        grid-template-columns: 1fr;
    }

    .turkuaz-product-filters form,
    .turkuaz-order-summary {
        position: static;
    }

    .turkuaz-cart-line {
        grid-template-columns: 76px minmax(220px, 1fr) 1fr 1fr 42px;
    }

    .turkuaz-cart-line div:nth-of-type(4),
    .turkuaz-cart-line div:nth-of-type(5) {
        display: none;
    }
}

@media (max-width: 767px) {
    .turkuaz-home-page,
    .turkuaz-product-page,
    .turkuaz-cart-page {
        width: min(100% - 24px, 1326px);
        margin: 16px auto 90px;
    }

    .turkuaz-category-rail {
        display: none;
    }

    .turkuaz-hero__content {
        width: 100%;
        padding: 28px;
    }

    .turkuaz-feature-strip,
    .turkuaz-popular-cats > div,
    .turkuaz-metric-strip,
    .turkuaz-stat-grid,
    .turkuaz-checkout-grid {
        grid-template-columns: 1fr;
    }

    .turkuaz-page-heading,
    .turkuaz-cart-heading,
    .turkuaz-cart-products > header {
        align-items: flex-start;
        flex-direction: column;
    }

    .turkuaz-product-toolbar {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .turkuaz-product-card {
        grid-template-columns: 84px 1fr;
    }

    .turkuaz-card-actions,
    .turkuaz-eye {
        grid-column: 2;
    }

    .turkuaz-cart-line {
        grid-template-columns: 72px 1fr 42px;
    }

    .turkuaz-cart-line > div:not(.turkuaz-cart-line__product) {
        display: none !important;
    }

    .turkuaz-cart-line form:not(.turkuaz-cart-qty) {
        grid-column: 3;
        grid-row: 1;
    }
}

/* Turkuaz final layout pass: keep storefront pages aligned with the reference theme. */
.topbar__row,
.header-middle__container,
.nav-main__list,
.footer-inner,
.turkuaz-home-page,
.turkuaz-product-page,
.turkuaz-cart-page,
.site__body > .module-page {
    width: min(1420px, calc(100% - 48px)) !important;
}

.layout-header__desktop .topbar {
    min-height: 34px !important;
}

.header-middle {
    min-height: 112px !important;
}

.header-middle__container {
    grid-template-columns: minmax(220px, 280px) minmax(420px, 1fr) 230px 170px !important;
    gap: 16px !important;
}

.nav-main {
    display: block !important;
    min-height: 58px !important;
    background: #062247 !important;
    box-shadow: 0 8px 24px rgba(6, 34, 71, 0.16) !important;
}

.nav-main__list {
    min-height: 58px !important;
    gap: 0 !important;
    justify-content: center !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
}

.nav-main__link {
    min-height: 58px !important;
    padding: 0 13px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
}

.nav-main__link i {
    font-size: 17px !important;
}

.site__body > .module-page,
.turkuaz-home-page,
.turkuaz-product-page,
.turkuaz-cart-page {
    margin: 24px auto 32px !important;
}

.turkuaz-home-page {
    grid-template-columns: 250px minmax(0, 1fr) !important;
    gap: 24px !important;
}

.turkuaz-category-rail {
    min-height: 642px !important;
}

.turkuaz-hero,
.turkuaz-hero__content {
    min-height: 354px !important;
}

.turkuaz-feature-strip article {
    min-height: 106px !important;
}

.site__body > .module-page,
.legacy-table-shell,
.orders-filter,
.turkuaz-empty-state,
.turkuaz-stat-grid article,
.module-panel,
.account-card,
.contact-card {
    border-radius: 8px !important;
}

.legacy-table-shell,
.orders-filter,
.turkuaz-empty-state,
.module-panel,
.account-card,
.contact-card {
    border: 1px solid #d9e5f6 !important;
    background: #ffffff !important;
    box-shadow: 0 14px 34px rgba(13, 35, 70, 0.06) !important;
}

.orders-filter,
.legacy-table-shell,
.turkuaz-empty-state {
    margin-top: 18px !important;
}

.turkuaz-page-heading {
    margin-bottom: 18px !important;
}

.turkuaz-page-heading h1,
.module-page-heading h1,
.legacy-cart-shell h1,
.legacy-product-shell h1 {
    color: #071b3d !important;
    font-size: 30px !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
    line-height: 1.15 !important;
}

.turkuaz-page-heading p,
.module-page-heading p {
    color: #64748b !important;
    font-size: 14px !important;
}

.turkuaz-outline-action,
.orders-filter button,
.orders-filter a,
.legacy-table-shell a.btn,
.module-pagination a,
.module-pagination span {
    border-radius: 8px !important;
}

@media (max-width: 1199px) {
    .header-middle__container {
        grid-template-columns: 220px minmax(280px, 1fr) 156px !important;
    }
}

@media (max-width: 991px) {
    .topbar__row,
    .header-middle__container,
    .nav-main__list,
    .footer-inner,
    .turkuaz-home-page,
    .turkuaz-product-page,
    .turkuaz-cart-page,
    .site__body > .module-page {
        width: min(100% - 24px, 100%) !important;
    }

    .turkuaz-home-page,
    .turkuaz-product-page,
    .turkuaz-cart-page,
    .site__body > .module-page {
        margin-top: 16px !important;
    }

    .turkuaz-home-page,
    .turkuaz-product-page {
        grid-template-columns: 1fr !important;
    }
}

/* Compact final desktop navigation */
.nav-main__list {
    justify-content: flex-start !important;
    gap: 4px;
}

.nav-main__link {
    padding: 0 14px;
}

.store-submenu--right {
    left: auto;
    right: 0;
}

@media (min-width: 1200px) {
    .nav-main__list {
        overflow-x: visible;
    }
}

@media (min-width: 1200px) and (max-width: 1450px) {
    .nav-main__link {
        padding: 0 10px;
        font-size: 13px;
    }
}

/* Turkuaz typography tuning */
:root {
    --turkuaz-font: "Poppins", Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

html,
body,
button,
input,
select,
textarea,
table {
    font-family: var(--turkuaz-font) !important;
    letter-spacing: 0;
}

body {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
.turkuaz-page-heading h1,
.turkuaz-cart-heading h1,
.turkuaz-hero__content h1,
.cart-report-page h1,
.collection-card h1,
.payments-list-shell h1,
.contact-card-modern h1,
.legacy-product-shell h1,
.product__name {
    font-family: var(--turkuaz-font) !important;
    font-weight: 800 !important;
    letter-spacing: 0;
}

.turkuaz-page-heading h1,
.turkuaz-cart-heading h1,
.cart-report-page h1,
.collection-card h1,
.payments-list-shell h1,
.contact-card-modern h1 {
    font-size: 30px;
    line-height: 1.18;
}

.turkuaz-hero__content h1 {
    font-size: 36px;
    line-height: 1.14;
}

.topbar,
.topbar__item,
.header-agent-card,
.turkuaz-header-search__input,
.turkuaz-header-search__select,
.turkuaz-header-search__button,
.nav-main__link,
.turkuaz-category-rail,
.turkuaz-feature-strip,
.turkuaz-popular-cats,
.turkuaz-stat-grid,
.turkuaz-product-table,
.turkuaz-cart-page,
.module-page,
.cart-report-page,
.payments-list-page,
.contact-page-modern,
.sales-page,
.collection-page {
    font-family: var(--turkuaz-font) !important;
}

.topbar,
.header-agent-card small,
.turkuaz-breadcrumb,
.legacy-breadcrumb,
.turkuaz-page-heading p,
.turkuaz-cart-heading p,
.turkuaz-feature-strip span,
.turkuaz-popular-cats span,
.account-summary-grid span,
.report-cards span,
.report-table td,
.sales-table td,
.payments-table td,
.legacy-table td {
    font-weight: 500;
}

.topbar__item,
.header-agent-card strong,
.header-agent-card span,
.nav-main__link,
.turkuaz-header-search__button,
.turkuaz-category-rail h2,
.turkuaz-category-rail > a,
.turkuaz-campaign-tile strong,
.turkuaz-feature-strip strong,
.turkuaz-popular-cats strong,
.turkuaz-table-title h2,
.cart-report-filter label,
.orders-filter label,
.collection-form-grid label,
.contact-form-grid label,
.report-table th,
.sales-table th,
.payments-table th,
.legacy-table th,
.btn,
button {
    font-weight: 700 !important;
}

.turkuaz-stat-grid strong,
.account-summary-grid strong,
.report-cards strong,
.turkuaz-metric-strip strong,
.turkuaz-order-total strong,
.checkout-sticky strong {
    font-weight: 800 !important;
}

.report-table th,
.sales-table th,
.payments-table th,
.legacy-table th {
    font-size: 12px;
}

.report-table td,
.sales-table td,
.payments-table td,
.legacy-table td,
.cart-report-filter input,
.cart-report-filter select,
.orders-filter input,
.sales-search input,
.collection-form-grid input,
.collection-form-grid select,
.contact-form-grid input,
.contact-form-grid textarea {
    font-size: 13px;
}

.nav-main__link {
    font-size: 14px;
}

@media (min-width: 1200px) and (max-width: 1450px) {
    .nav-main__link {
        font-size: 12.5px;
    }
}

/* Turkuaz final alignment pass */
.topbar__item--link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.layout-header__desktop .topbar {
    min-height: 32px;
}

.header-middle {
    min-height: 112px;
}

.nav-main {
    min-height: 56px;
}

.nav-main__list {
    justify-content: center;
    min-height: 56px;
    overflow-x: auto;
    overflow-y: visible;
}

.nav-main__item {
    flex: 0 0 auto;
}

.nav-main__link {
    flex-direction: row;
    gap: 8px;
    width: auto;
    min-width: 0;
    height: 56px;
    min-height: 56px;
    padding: 0 13px;
    white-space: nowrap;
    line-height: 1;
    font-size: 14px;
}

.nav-main__link i {
    width: 18px;
    font-size: 17px;
    text-align: center;
}

.nav-main__link span {
    display: inline-block;
}

.site__body > .container.mt-3 {
    display: none !important;
}

.turkuaz-home-page,
.turkuaz-product-page,
.turkuaz-cart-page {
    margin-top: 22px;
}

.turkuaz-product-page {
    align-items: start;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
}

.turkuaz-product-filters form {
    top: 18px;
}

.turkuaz-breadcrumb {
    margin-bottom: 8px;
}

.turkuaz-page-heading {
    margin-bottom: 18px;
}

.turkuaz-stat-grid {
    margin: 0 0 18px;
}

.turkuaz-product-panel {
    padding: 14px 14px 0;
}

.turkuaz-product-toolbar {
    align-items: center;
    margin-bottom: 14px;
}

.turkuaz-product-table th {
    white-space: nowrap;
}

.turkuaz-hero {
    position: relative;
    background:
        radial-gradient(circle at 82% 24%, rgba(80, 176, 255, .42), transparent 28%),
        linear-gradient(100deg, rgba(6, 34, 71, .98), rgba(9, 59, 113, .9) 45%, rgba(211, 226, 241, .92)),
        #062247;
}

.turkuaz-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0 55%, rgba(255, 255, 255, .16) 55% 56%, transparent 56% 62%, rgba(255, 255, 255, .12) 62% 63%, transparent 63%),
        linear-gradient(120deg, transparent 0 58%, rgba(255, 255, 255, .18) 58% 59%, transparent 59%),
        repeating-linear-gradient(90deg, transparent 0 96px, rgba(255, 255, 255, .06) 96px 97px);
    opacity: .5;
}

.turkuaz-hero::after {
    content: "";
    position: absolute;
    right: 56px;
    bottom: 0;
    width: min(42%, 440px);
    height: 80%;
    background:
        radial-gradient(ellipse at 50% 98%, rgba(0, 184, 217, .35), transparent 36%),
        linear-gradient(90deg, transparent 0 13%, rgba(255, 255, 255, .4) 13% 16%, rgba(255, 255, 255, .12) 16% 27%, transparent 27% 35%, rgba(255, 255, 255, .38) 35% 39%, rgba(255, 255, 255, .1) 39% 55%, transparent 55% 66%, rgba(255, 255, 255, .32) 66% 70%, rgba(255, 255, 255, .09) 70% 83%, transparent 83%);
    border-bottom: 3px solid rgba(185, 220, 255, .45);
    opacity: .8;
}

.turkuaz-hero__content {
    position: relative;
    z-index: 1;
}

.turkuaz-feature-strip article .fa-shield::before {
    content: "\f023";
}

.turkuaz-popular-cats .fa-bottle-droplet::before {
    content: "\f0c3";
}

@media (max-width: 1399px) {
    .nav-main__list {
        justify-content: flex-start;
    }

    .nav-main__link {
        padding: 0 12px;
    }
}

/* Turkuaz module/report screens */
.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site__body {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
}

.turkuaz-simple-list-page,
.turkuaz-orders-page,
.contact-page-modern,
.collection-page,
.sales-page,
.cart-report-page,
.payments-list-page {
    width: min(1326px, calc(100% - 48px)) !important;
    max-width: 1326px !important;
    margin: 22px auto 56px !important;
    padding: 0 !important;
}

.cart-report-page,
.sales-page,
.payments-list-shell,
.contact-card-modern,
.collection-card {
    border: 1px solid #d9e5f6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(13, 35, 70, .06);
}

.cart-report-page,
.collection-card {
    padding: 22px;
}

.cart-report-page.account-page {
    background: #fff;
}

.cart-report-page h1,
.collection-card h1,
.payments-list-shell h1,
.contact-card-modern h1,
.sales-page h1 {
    margin: 0 0 18px;
    color: #071b3d;
    font-size: 32px;
    line-height: 1.12;
    font-weight: 950;
}

.cart-report-page::before,
.sales-page::before,
.collection-page::before,
.payments-list-page::before,
.contact-page-modern::before,
.turkuaz-simple-list-page::before,
.turkuaz-orders-page::before {
    display: block;
    margin-bottom: 10px;
    color: #64748b;
    font-weight: 800;
}

.cart-report-page:not(.account-page)::before {
    content: "Anasayfa  ›  Raporlar";
}

.sales-page::before {
    content: "Anasayfa  ›  Müşteriler";
}

.collection-page::before {
    content: "Anasayfa  ›  Tahsilat";
}

.payments-list-page::before {
    content: "Anasayfa  ›  Ödemeler";
}

.contact-page-modern::before {
    content: "Anasayfa  ›  İletişim";
}

.contact-page-modern > .legacy-breadcrumb,
.payments-list-page > .legacy-breadcrumb {
    display: none;
}

.payments-list-page::before {
    display: none !important;
    content: none !important;
}

.payments-list-page > .legacy-breadcrumb {
    display: block !important;
}

.contact-page-modern::before {
    display: none !important;
    content: none !important;
}

.contact-page-modern > .legacy-breadcrumb {
    display: block !important;
}

.account-page-actions {
    margin: -10px 0 18px;
}

.account-action-link,
.turkuaz-outline-action,
.report-shortcuts a,
.payments-footer nav span,
.module-empty-state a,
.legacy-table-shell a.btn,
.legacy-table-shell button {
    border-radius: 8px !important;
}

.account-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #0b63f6;
    border-radius: 8px !important;
    background: #0b63f6;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.account-action-link:hover,
.turkuaz-outline-action:hover {
    background: #0757dc;
    color: #fff !important;
}

.account-summary-grid,
.report-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 18px;
}

.account-summary-grid article,
.report-cards article {
    min-height: 104px;
    padding: 22px;
    border: 1px solid #d9e5f6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(13, 35, 70, .05);
}

.account-summary-grid span,
.report-cards span {
    color: #64748b;
    font-weight: 750;
}

.account-summary-grid strong,
.report-cards strong {
    display: block;
    margin-top: 12px;
    color: #071b3d;
    font-size: 24px;
    font-weight: 950;
}

.cart-report-filter,
.orders-filter,
.sales-search,
.sales-filter-line,
.collection-form-card,
.contact-form-modern {
    border: 1px solid #d9e5f6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(13, 35, 70, .05);
}

.cart-report-filter,
.orders-filter {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 180px;
    gap: 14px;
    align-items: end;
    margin-bottom: 18px;
    padding: 16px;
}

.orders-filter {
    grid-template-columns: minmax(0, 1fr) 130px 130px;
}

.sales-search,
.sales-filter-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 12px;
    margin-bottom: 14px;
    padding: 14px;
}

.sales-select {
    width: 100%;
    margin-bottom: 14px;
}

.cart-report-filter label,
.orders-filter label,
.collection-form-grid label,
.contact-form-grid label,
.sales-filter-line,
.sales-select {
    color: #071b3d;
    font-weight: 850;
}

.cart-report-filter input,
.cart-report-filter select,
.orders-filter input,
.orders-filter select,
.sales-search input,
.sales-select,
.sales-filter-line input,
.collection-form-grid input,
.collection-form-grid select,
.collection-form-grid textarea,
.contact-form-grid input,
.contact-form-grid textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d9e5f6;
    border-radius: 8px;
    background: #fff;
    color: #253a5f;
    padding: 0 14px;
    outline: 0;
}

.collection-form-grid textarea,
.contact-form-grid textarea {
    min-height: 96px;
    padding-top: 12px;
}

.cart-report-filter button,
.orders-filter button,
.sales-search button,
.collection-save,
.contact-form-modern button {
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    background: #0b63f6;
    color: #fff;
    padding: 0 18px;
    font-weight: 900;
    box-shadow: 0 10px 18px rgba(11, 99, 246, .18);
}

.orders-filter a,
.module-empty-state a.btn,
.legacy-table-shell a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 1px solid #cbd9ee !important;
    background: #fff !important;
    color: #253a5f !important;
    padding: 0 16px !important;
    font-weight: 900;
    text-decoration: none;
}

.page-size,
.payments-footer select {
    width: 76px;
    min-height: 38px;
    margin: 10px 0 12px;
    border: 1px solid #d9e5f6;
    border-radius: 8px;
    padding: 0 10px;
}

.report-table,
.sales-table,
.payments-table,
.legacy-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #e7eef9;
    border-radius: 8px;
    background: #fff;
}

.report-table th,
.sales-table th,
.payments-table th,
.legacy-table th {
    background: #f6f9fe !important;
    color: #253a5f !important;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}

.report-table th,
.report-table td,
.sales-table th,
.sales-table td,
.payments-table th,
.payments-table td,
.legacy-table th,
.legacy-table td {
    padding: 14px 16px !important;
    border-bottom: 1px solid #e7eef9 !important;
    vertical-align: middle;
}

.report-table tbody tr:last-child td,
.sales-table tbody tr:last-child td,
.payments-table tbody tr:last-child td,
.legacy-table tbody tr:last-child td {
    border-bottom: 0 !important;
}

.legacy-table-shell,
.payments-table-wrap,
.cart-report-table {
    overflow-x: auto;
    padding: 14px;
    border: 1px solid #d9e5f6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(13, 35, 70, .06);
}

.turkuaz-table-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.turkuaz-table-title h2 {
    margin: 0;
    color: #071b3d;
    font-size: 20px;
    font-weight: 950;
}

.turkuaz-table-title span {
    color: #64748b;
    font-weight: 800;
}

.turkuaz-empty-state {
    margin: 0;
    border: 1px dashed #bad5ff;
    background: #f0f7ff;
    text-align: center;
}

.turkuaz-empty-state h2 {
    margin: 0;
    color: #071b3d;
    font-size: 22px;
}

.turkuaz-empty-state p {
    margin: 0;
    color: #64748b;
}

.payments-list-shell {
    padding: 22px;
}

.payments-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
}

.payments-footer nav {
    display: flex;
    gap: 10px;
}

.payments-footer nav span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid #d9e5f6;
    color: #94a3b8;
    font-weight: 850;
}

.contact-card-modern {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(420px, 1fr);
    gap: 36px;
    padding: 22px;
}

.contact-card-modern > div:first-child {
    padding: 8px 0;
}

.contact-intro {
    position: relative;
    overflow: hidden;
    padding: 28px 24px 24px !important;
    border-radius: 14px;
    background: linear-gradient(145deg, #062247 0%, #0b63f6 140%);
    color: #fff;
}

.contact-intro::after {
    position: absolute;
    right: -56px;
    bottom: -72px;
    width: 210px;
    height: 210px;
    border: 28px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    content: "";
}

.contact-intro h1 {
    position: relative;
    z-index: 1;
    margin-bottom: 12px !important;
    color: #fff !important;
    font-size: 36px !important;
}

.contact-intro p {
    position: relative;
    z-index: 1;
    max-width: 390px;
    margin-bottom: 28px;
    color: #dbeafe !important;
    font-weight: 500 !important;
    line-height: 1.7;
}

.contact-info-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
}

.contact-info-item > i {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.contact-info-item small,
.contact-info-item strong {
    display: block;
}

.contact-info-item small {
    margin-bottom: 2px;
    color: #bfdbfe;
    font-size: 11px;
}

.contact-info-item strong {
    color: #fff;
    font-size: 13px;
}

.contact-card-modern p {
    color: #51637f;
    font-weight: 750;
}

.contact-form-modern {
    padding: 18px;
}

.contact-form-modern h2,
.collection-list-card h2 {
    margin: 0 0 18px;
    color: #071b3d;
    font-size: 28px;
    font-weight: 950;
}

.contact-form-lead {
    margin: -8px 0 18px;
    color: #64748b;
    font-size: 13px;
}

.contact-form-grid,
.collection-form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.contact-form-grid .wide,
.collection-form-grid .wide {
    grid-column: 1 / -1;
}

.contact-form-modern button {
    margin-top: 18px;
}

.sales-page {
    padding: 22px;
}

.sales-page::after {
    content: "";
    display: block;
    min-height: 120px;
}

.sales-table {
    margin-top: 16px;
}

.sales-filter-line {
    grid-template-columns: auto 180px auto;
    align-items: center;
}

.cart-state,
.status-pill,
.payment-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    background: #edf6ff;
    color: #0b63f6;
    padding: 0 12px;
    font-weight: 900;
}

.payment-status,
.status-pill.success {
    background: #dcfce7;
    color: #16a34a;
}

.cart-state.full {
    background: #dcfce7;
    color: #16a34a;
}

.report-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.report-shortcuts a {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #071b3d;
    color: #fff !important;
    font-weight: 950;
    text-decoration: none;
}

.collection-form-card,
.collection-list-card {
    padding: 18px;
}

.collection-list-card {
    margin-top: 18px;
    border: 1px solid #d9e5f6;
    border-radius: 8px;
    background: #fff;
}

.collection-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e7eef9;
}

.collection-tabs label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #071b3d;
    font-weight: 850;
}

.collection-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-save {
    margin-top: 18px;
}

.cart-report-page .report-table,
.cart-report-page .page-size {
    margin-top: 12px;
}

.turkuaz-cart-page {
    margin-bottom: 56px;
}

@media (max-width: 1199px) {
    .account-summary-grid,
    .report-cards,
    .report-shortcuts,
    .contact-card-modern,
    .contact-form-grid,
    .collection-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cart-report-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .turkuaz-simple-list-page,
    .turkuaz-orders-page,
    .contact-page-modern,
    .collection-page,
    .sales-page,
    .cart-report-page,
    .payments-list-page {
        width: min(100% - 24px, 1326px) !important;
        margin: 16px auto 90px !important;
    }

    .account-summary-grid,
    .report-cards,
    .report-shortcuts,
    .contact-card-modern,
    .contact-form-grid,
    .collection-form-grid,
    .cart-report-filter,
    .orders-filter,
    .sales-search,
    .sales-filter-line {
        grid-template-columns: 1fr;
    }
}

/* Turkuaz structural layer for remaining storefront screens */
.site__body > .container,
.site__body > .payments-list-page,
.site__body > .payment-shell,
.site__body > .cart-report-page,
.site__body > .account-page,
.site__body > .module-page,
.site__body > .product-detail-legacy {
    width: min(1326px, calc(100% - 48px));
    max-width: 1326px;
    margin: 28px auto;
    padding-left: 0;
    padding-right: 0;
}

.site__body .container .container,
.site__body .payments-list-page.container,
.site__body .payment-shell.container,
.site__body .product-detail-legacy.container {
    width: min(1326px, calc(100% - 48px));
}

.legacy-breadcrumb,
.page-header__breadcrumb,
.module-page .legacy-breadcrumb,
.payments-list-page .legacy-breadcrumb,
.payment-shell .legacy-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
    color: #64748b;
    font-weight: 750;
}

.page-header,
.module-page-heading,
.payments-list-page > header,
.payment-shell > header,
.cart-report-page > header,
.account-page > header,
.product-detail-legacy > .legacy-breadcrumb + h1,
.container > h1,
.container > .d-flex:first-child,
.container > .row:first-child {
    margin-bottom: 20px;
}

.module-page-heading,
.payments-list-page > header,
.cart-report-page > header,
.account-page > header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.module-page-heading h1,
.payments-list-page h1,
.payment-shell h1,
.cart-report-page h1,
.account-page h1,
.page-header h1,
.container > h1 {
    margin: 0;
    color: #071b3d;
    font-weight: 950;
    letter-spacing: 0;
}

.module-page-heading p,
.payments-list-page header p,
.cart-report-page header p,
.account-page header p {
    margin: 6px 0 0;
    color: #64748b;
}

.legacy-table-shell,
.module-panel,
.module-card,
.module-empty-state,
.payments-list-card,
.payment-panel,
.payment-detail-card,
.cart-report-filter,
.cart-report-table,
.account-card,
.profile-card,
.address-card,
.contact-card-modern,
.collection-card,
.collection-form-card,
.collection-list-card,
.product-detail-legacy,
.legacy-detail-main,
.legacy-detail-info,
.legacy-detail-gallery,
.legacy-modal__dialog,
.set-card,
.reminder-product,
.product-reminder-table,
.report-card,
.report-shortcut,
.auth-card,
.auth-panel,
.login-card,
.register-card {
    border: 1px solid #d9e5f6 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 14px 34px rgba(13, 35, 70, .06) !important;
}

.legacy-table-shell,
.payments-list-card,
.payment-panel,
.payment-detail-card,
.collection-card,
.collection-form-card,
.collection-list-card,
.product-detail-legacy,
.module-panel,
.module-card,
.account-card,
.profile-card,
.address-card,
.contact-card-modern {
    padding: 18px;
}

.legacy-table-shell,
.turkuaz-product-table-wrap,
.table-responsive,
.cart-report-table {
    overflow-x: auto;
}

.legacy-table,
.table,
.module-table,
.product-reminder-table,
.past-table,
.payment-table,
.collection-table,
.cart-report-table table {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0;
    color: #253a5f;
}

.legacy-table th,
.legacy-table td,
.table th,
.table td,
.module-table th,
.module-table td,
.product-reminder-table th,
.product-reminder-table td,
.past-table th,
.past-table td,
.payment-table th,
.payment-table td,
.collection-table th,
.collection-table td,
.cart-report-table th,
.cart-report-table td {
    padding: 14px 12px !important;
    border-bottom: 1px solid #e7eef9 !important;
    vertical-align: middle !important;
}

.legacy-table thead th,
.table thead th,
.module-table thead th,
.product-reminder-table thead th,
.past-table thead th,
.payment-table thead th,
.collection-table thead th,
.cart-report-table thead th {
    background: #f6f9fe !important;
    color: #253a5f !important;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.legacy-table tbody tr:hover,
.table tbody tr:hover,
.module-table tbody tr:hover,
.product-reminder-table tbody tr:hover,
.payment-table tbody tr:hover,
.collection-table tbody tr:hover {
    background: #fbfdff;
}

.module-search,
.cart-report-filter,
.legacy-store-filter,
.payment-filter,
.orders-filter,
.offers-filter,
.returns-filter,
.account-filter,
.collection-form-grid,
.payment-grid,
.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
    padding: 18px;
    border: 1px solid #d9e5f6 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 14px 34px rgba(13, 35, 70, .06) !important;
}

.module-search label,
.cart-report-filter label,
.legacy-store-filter label,
.payment-filter label,
.orders-filter label,
.offers-filter label,
.returns-filter label,
.account-filter label,
.payment-grid label,
.collection-form-grid label,
.contact-form-grid label {
    display: grid;
    gap: 8px;
    color: #071b3d;
    font-weight: 850;
}

.module-search input,
.module-search select,
.cart-report-filter input,
.cart-report-filter select,
.legacy-store-filter input,
.legacy-store-filter select,
.payment-filter input,
.payment-filter select,
.orders-filter input,
.orders-filter select,
.offers-filter input,
.offers-filter select,
.returns-filter input,
.returns-filter select,
.account-filter input,
.account-filter select,
.payment-grid input,
.payment-grid select,
.collection-form-grid input,
.collection-form-grid select,
.collection-form-grid textarea,
.contact-form-grid input,
.contact-form-grid textarea,
.form-control {
    min-height: 44px;
    border: 1px solid #d9e5f6 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #253a5f !important;
    padding: 0 14px;
}

textarea.form-control,
.collection-form-grid textarea,
.contact-form-grid textarea {
    min-height: 92px;
    padding-top: 12px;
}

.btn,
.module-primary-button,
.module-secondary-button,
.module-danger-button,
.payment-panel button,
.collection-save,
.contact-form-modern button,
.legacy-table-shell a.btn,
.legacy-table-shell button,
.table-action-info,
.table-action-pdf,
.status-action,
.filter-button,
.search-button {
    border-radius: 8px !important;
    font-weight: 850 !important;
}

.btn-primary,
.module-primary-button,
.payment-panel button[type="submit"],
.collection-save,
.contact-form-modern button,
.filter-button,
.search-button {
    background: #0b63f6 !important;
    border-color: #0b63f6 !important;
    color: #fff !important;
    box-shadow: 0 10px 18px rgba(11, 99, 246, .18);
}

.btn-secondary,
.module-secondary-button,
.legacy-table-shell a.btn:not(.btn-primary),
.status-action,
.payment-panel button:not([type="submit"]) {
    background: #fff !important;
    border: 1px solid #cbd9ee !important;
    color: #253a5f !important;
}

.btn-danger,
.module-danger-button,
.delete-btn {
    background: #ff3158 !important;
    border-color: #ff3158 !important;
    color: #fff !important;
}

.status-pill,
.badge,
.stock-badge,
.product-flag,
.order-status,
.offer-status,
.payment-status {
    border-radius: 8px !important;
    padding: 5px 9px !important;
    font-weight: 850 !important;
}

.status-pill.success,
.badge-success,
.payment-status.success {
    background: #eaf7ef !important;
    color: #16803a !important;
}

.status-pill.warning,
.badge-warning {
    background: #fff7df !important;
    color: #9a6500 !important;
}

.status-pill.danger,
.badge-danger {
    background: #ffe8ee !important;
    color: #c7183c !important;
}

.report-cards,
.report-shortcuts,
.account-summary-grid,
.set-card-grid,
.contact-grid,
.payment-summary-grid,
.order-detail-grid,
.offer-detail-grid,
.profile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.report-card,
.report-shortcut,
.module-stat,
.account-summary-card,
.payment-summary-card,
.order-summary-card,
.offer-summary-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid #d9e5f6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(13, 35, 70, .06);
}

.report-card strong,
.report-shortcut strong,
.module-stat strong,
.account-summary-card strong,
.payment-summary-card strong {
    color: #071b3d;
    font-size: 22px;
    font-weight: 950;
}

.report-card span,
.report-shortcut span,
.module-stat span,
.account-summary-card span,
.payment-summary-card span {
    color: #64748b;
}

.product-detail-legacy {
    padding: 22px;
}

.legacy-detail-main {
    display: grid;
    grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
    gap: 24px;
    padding: 18px;
}

.legacy-detail-gallery,
.legacy-detail-info {
    box-shadow: none !important;
}

.legacy-detail-info h1,
.product__name {
    color: #071b3d !important;
    font-weight: 950 !important;
}

.detail-cart-row,
.product__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.auth-page,
.auth-shell {
    min-height: calc(100vh - 220px);
    display: grid;
    place-items: center;
    padding: 40px 24px;
    background:
        linear-gradient(120deg, rgba(6, 34, 71, .92), rgba(11, 99, 246, .72)),
        url("/themes/TurkuazPetrokimya/wwwroot/build/images/banners/banner-1.jpg") center / cover;
}

.auth-panel,
.auth-card,
.login-card,
.register-card {
    width: min(460px, 100%);
    padding: 28px;
}

.register-panel {
    width: min(760px, 100%);
}

.auth-placeholder,
.auth-powered {
    display: none !important;
}

/* Registration form: keep the card and its controls within a comfortable
   reading width instead of stretching across the desktop viewport. */
.register-page .register-panel {
    width: min(680px, calc(100vw - 48px));
    max-height: none;
    padding: 30px 36px 28px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 24px 70px rgba(3, 21, 50, .28);
}

.register-brand {
    display: grid;
    min-height: 58px;
    place-items: center;
    margin-bottom: 18px;
}

.register-brand > * { grid-area: 1 / 1; }

.register-brand span {
    color: #062247;
    font-size: 20px;
    font-weight: 800;
}

.register-brand span strong { color: #0b63f6; }

.register-brand img {
    max-width: 220px;
    max-height: 58px;
    margin: 0;
}

.register-page .register-panel form { gap: 12px; }

.register-page .register-panel input,
.register-page .register-panel textarea {
    min-height: 42px;
    border-radius: 8px;
    background: #f8fbff;
}

.register-page .register-panel textarea {
    min-height: 84px;
    padding-top: 10px;
}

.register-page .register-panel .two-cols { gap: 14px; }

@media (max-width: 720px) {
    .register-page .register-panel {
        width: 100%;
        padding: 24px 20px;
    }

    .register-page .register-panel .two-cols {
        grid-template-columns: 1fr;
    }
}

.auth-panel img {
    display: block;
    max-width: 250px;
    max-height: 86px;
    object-fit: contain;
    margin: 0 auto 22px;
}

.auth-panel form {
    display: grid;
    gap: 14px;
}

.auth-panel label {
    display: grid;
    gap: 7px;
    color: #071b3d;
    font-weight: 850;
}

.auth-panel .two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.auth-panel h1,
.auth-card h1,
.login-card h1,
.register-card h1 {
    color: #071b3d;
    font-weight: 950;
}

.auth-panel input,
.auth-panel textarea,
.auth-card input,
.login-card input,
.register-card input {
    min-height: 46px;
    border: 1px solid #d9e5f6;
    border-radius: 8px;
    padding: 0 14px;
}

.auth-panel textarea {
    min-height: 86px;
    padding-top: 12px;
}

.auth-options,
.radio-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #51637f;
}

.auth-panel button.primary,
.auth-panel a.secondary,
.auth-panel button.desktop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
}

.auth-panel button.primary {
    border: 0;
    background: #0b63f6;
    color: #fff;
}

.auth-panel a.secondary,
.auth-panel button.desktop {
    margin-top: 12px;
    border: 1px solid #cbd9ee;
    background: #fff;
    color: #253a5f;
}

.auth-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 20;
    display: grid;
    gap: 4px;
    width: min(360px, calc(100% - 40px));
    border: 1px solid #bad5ff;
    border-radius: 8px;
    background: #f0f7ff;
    color: #253a5f;
    padding: 14px 16px;
    box-shadow: 0 14px 34px rgba(13, 35, 70, .12);
}

.module-pagination,
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.module-pagination a,
.module-pagination span,
.pagination .page-link,
.page-link {
    border: 1px solid #d9e5f6 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #253a5f !important;
    padding: 10px 14px !important;
    font-weight: 850;
}

.module-empty-state {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 40px;
    color: #64748b;
}

@media (max-width: 1199px) {
    .module-search,
    .cart-report-filter,
    .legacy-store-filter,
    .payment-filter,
    .orders-filter,
    .offers-filter,
    .returns-filter,
    .account-filter,
    .payment-grid,
    .collection-form-grid,
    .contact-form-grid,
    .report-cards,
    .report-shortcuts,
    .account-summary-grid,
    .set-card-grid,
    .contact-grid,
    .payment-summary-grid,
    .order-detail-grid,
    .offer-detail-grid,
    .profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legacy-detail-main {
        grid-template-columns: 1fr;
    }
}

/* Turkuaz final override: this block intentionally stays at EOF. */
.topbar__row,
.header-middle__container,
.nav-main__list,
.footer-inner,
.turkuaz-home-page,
.turkuaz-product-page,
.turkuaz-cart-page,
.site__body > .module-page {
    width: min(1420px, calc(100% - 48px)) !important;
    max-width: 1420px !important;
}

.layout-header__desktop .topbar {
    min-height: 34px !important;
}

.header-middle {
    min-height: 112px !important;
}

.header-middle__container {
    grid-template-columns: minmax(220px, 280px) minmax(420px, 1fr) 230px 170px !important;
    gap: 16px !important;
}

.nav-main {
    display: block !important;
    min-height: 58px !important;
    background: #062247 !important;
    box-shadow: 0 8px 24px rgba(6, 34, 71, 0.16) !important;
}

.nav-main__list {
    min-height: 58px !important;
    gap: 0 !important;
    justify-content: center !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scrollbar-width: none !important;
}

.nav-main__list::-webkit-scrollbar {
    display: none !important;
}

.nav-main__link {
    min-height: 58px !important;
    padding: 0 10px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
}

.nav-main__link i {
    font-size: 17px !important;
}

.site__body > .module-page,
.turkuaz-home-page,
.turkuaz-product-page,
.turkuaz-cart-page {
    margin: 24px auto 32px !important;
}

.turkuaz-home-page {
    grid-template-columns: 250px minmax(0, 1fr) !important;
    gap: 24px !important;
}

.turkuaz-category-rail {
    min-height: 642px !important;
}

.turkuaz-hero,
.turkuaz-hero__content {
    min-height: 354px !important;
}

.turkuaz-feature-strip article {
    min-height: 106px !important;
}

.site__body > .module-page,
.legacy-table-shell,
.orders-filter,
.turkuaz-empty-state,
.turkuaz-stat-grid article,
.module-panel,
.account-card,
.contact-card {
    border-radius: 8px !important;
}

.legacy-table-shell,
.orders-filter,
.turkuaz-empty-state,
.module-panel,
.account-card,
.contact-card {
    border: 1px solid #d9e5f6 !important;
    background: #ffffff !important;
    box-shadow: 0 14px 34px rgba(13, 35, 70, 0.06) !important;
}

.orders-filter,
.legacy-table-shell,
.turkuaz-empty-state {
    margin-top: 18px !important;
}

.turkuaz-page-heading {
    margin-bottom: 18px !important;
}

.turkuaz-page-heading h1,
.module-page-heading h1,
.legacy-cart-shell h1,
.legacy-product-shell h1 {
    color: #071b3d !important;
    font-size: 30px !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
    line-height: 1.15 !important;
}

.turkuaz-page-heading p,
.module-page-heading p {
    color: #64748b !important;
    font-size: 14px !important;
}

.turkuaz-outline-action,
.orders-filter button,
.orders-filter a,
.legacy-table-shell a.btn,
.module-pagination a,
.module-pagination span {
    border-radius: 8px !important;
}

@media (max-width: 1199px) {
    .header-middle__container {
        grid-template-columns: 220px minmax(280px, 1fr) 156px !important;
    }
}

@media (max-width: 991px) {
    .topbar__row,
    .header-middle__container,
    .nav-main__list,
    .footer-inner,
    .turkuaz-home-page,
    .turkuaz-product-page,
    .turkuaz-cart-page,
    .site__body > .module-page {
        width: min(100% - 24px, 100%) !important;
        max-width: none !important;
    }

    .turkuaz-home-page,
    .turkuaz-product-page,
    .turkuaz-cart-page,
    .site__body > .module-page {
        margin-top: 16px !important;
    }

    .turkuaz-home-page,
    .turkuaz-product-page {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 767px) {
    .site__body > .container,
    .site__body > .payments-list-page,
    .site__body > .payment-shell,
    .site__body > .cart-report-page,
    .site__body > .account-page,
    .site__body > .module-page,
    .site__body > .product-detail-legacy,
    .site__body .payments-list-page.container,
    .site__body .payment-shell.container,
    .site__body .product-detail-legacy.container {
        width: min(100% - 24px, 1326px);
        margin: 16px auto 90px;
    }

    .module-page-heading,
    .payments-list-page > header,
    .cart-report-page > header,
    .account-page > header {
        align-items: flex-start;
        flex-direction: column;
    }

    .module-search,
    .cart-report-filter,
    .legacy-store-filter,
    .payment-filter,
    .orders-filter,
    .offers-filter,
    .returns-filter,
    .account-filter,
    .payment-grid,
    .collection-form-grid,
    .contact-form-grid,
    .report-cards,
    .report-shortcuts,
    .account-summary-grid,
    .set-card-grid,
    .contact-grid,
    .payment-summary-grid,
    .order-detail-grid,
    .offer-detail-grid,
    .profile-grid {
        grid-template-columns: 1fr;
    }
}
/* Turkuaz EOF lock: final storefront alignment overrides. */
.topbar__row,
.header-middle__container,
.nav-main__list,
.footer-inner,
.turkuaz-home-page,
.turkuaz-product-page,
.turkuaz-cart-page,
.site__body > .module-page {
    width: min(1420px, calc(100% - 48px)) !important;
    max-width: 1420px !important;
}

.header-middle {
    min-height: 112px !important;
}

.nav-main {
    display: block !important;
    min-height: 58px !important;
    background: #062247 !important;
}

.nav-main__list {
    min-height: 58px !important;
    justify-content: center !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
}

.nav-main__list::-webkit-scrollbar {
    display: none !important;
}

.nav-main__link {
    min-height: 58px !important;
    padding: 0 10px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
}

.turkuaz-home-page,
.turkuaz-product-page,
.turkuaz-cart-page,
.site__body > .module-page {
    margin: 24px auto 32px !important;
}

.turkuaz-home-page {
    grid-template-columns: 250px minmax(0, 1fr) !important;
    gap: 24px !important;
}

@media (max-width: 991px) {
    .topbar__row,
    .header-middle__container,
    .nav-main__list,
    .footer-inner,
    .turkuaz-home-page,
    .turkuaz-product-page,
    .turkuaz-cart-page,
    .site__body > .module-page {
        width: min(100% - 24px, 100%) !important;
        max-width: none !important;
    }
}
.turkuaz-order-summary dl > dt:first-of-type,
.turkuaz-order-summary dl > dd:first-of-type {
  display: none !important;
}

/* The first legacy quantity row still contains the old KG label. */
.turkuaz-order-summary dl > dt:nth-of-type(1),
.turkuaz-order-summary dl > dd:nth-of-type(1) {
  display: none !important;
}

/* Product list visual system: compact, table-first layout matching the catalog design. */
.nav-main__link.is-active {
    background: #0b63f6 !important;
    color: #fff !important;
}

.turkuaz-product-page {
    grid-template-columns: 276px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
}

.turkuaz-product-filters form {
    position: sticky;
    top: 18px;
    padding: 22px 18px !important;
    border-radius: 12px !important;
}

.turkuaz-product-filters header {
    padding-bottom: 16px;
    border-bottom: 1px solid #edf2f8;
}

.turkuaz-product-filters header h2 {
    font-size: 18px !important;
}

.turkuaz-filter-fields {
    display: grid;
    gap: 18px;
    padding-top: 18px;
}

.turkuaz-filter-fields > label {
    display: grid;
    gap: 7px;
}

.turkuaz-filter-fields input,
.turkuaz-filter-fields select {
    min-height: 40px !important;
    border: 1px solid #dce5f1 !important;
    border-radius: 7px !important;
    background: #fff !important;
}

.turkuaz-filter-checks {
    display: grid;
    gap: 12px;
}

.turkuaz-filter-checks label {
    display: flex !important;
    align-items: center;
    gap: 9px;
}

.turkuaz-filter-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.turkuaz-filter-actions button,
.turkuaz-filter-actions a {
    min-height: 40px;
    border-radius: 7px !important;
}

.turkuaz-product-content {
    min-width: 0;
}

.turkuaz-breadcrumb {
    margin-bottom: 10px !important;
    color: #94a3b8 !important;
    font-size: 11px !important;
}

.turkuaz-page-heading {
    margin-bottom: 22px !important;
}

.turkuaz-page-heading h1 {
    margin-bottom: 4px !important;
    font-size: 28px !important;
}

.turkuaz-stat-grid {
    gap: 14px !important;
    margin-bottom: 22px;
}

.turkuaz-stat-grid article {
    min-height: 104px;
    padding: 18px !important;
    border-radius: 10px !important;
}

.turkuaz-product-panel {
    overflow: hidden;
    border-radius: 12px !important;
}

.turkuaz-product-toolbar {
    min-height: 58px;
    justify-content: flex-end;
    gap: 10px !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #e8eef6;
}

.turkuaz-product-toolbar::after {
    content: "/ sayfa";
    color: #7183a5;
    font-size: 12px;
    font-weight: 700;
}

.turkuaz-view-toggle {
    margin-right: auto;
}

.turkuaz-view-toggle a,
.turkuaz-product-toolbar select {
    min-height: 36px !important;
    border: 1px solid #dce5f1 !important;
    border-radius: 7px !important;
    background: #fff !important;
}

.turkuaz-view-toggle a.is-active {
    border-color: #0b63f6 !important;
    background: #edf5ff !important;
    color: #0b63f6 !important;
}

.turkuaz-product-table {
    min-width: 1240px !important;
}

.turkuaz-product-table th {
    padding: 13px 12px !important;
    background: #f8faff !important;
    color: #536987 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .02em;
    text-transform: none !important;
    white-space: nowrap;
}

.turkuaz-product-table td {
    min-height: 74px;
    padding: 13px 12px !important;
    color: #344d70;
    font-size: 12px;
}

.turkuaz-product-table td:nth-child(1) { width: 22%; }
.turkuaz-product-table td:nth-child(2) { width: 10%; color: #536987; }
.turkuaz-product-table td:nth-child(3) { width: 12%; color: #536987; }
.turkuaz-product-table td:nth-child(4) { width: 10%; color: #536987; }
.turkuaz-product-table td:nth-child(5),
.turkuaz-product-table td:nth-child(6) { text-align: center; }

.turkuaz-product-table tbody tr:hover {
    background: #fbfdff;
}

.turkuaz-table-product {
    grid-template-columns: 60px minmax(150px, 1fr) !important;
    gap: 10px !important;
}

.turkuaz-table-product img {
    width: 52px !important;
    height: 52px !important;
    padding: 4px;
    border-radius: 8px;
    background: #f5f8fc;
}

.turkuaz-table-product strong {
    color: #17345f;
    font-size: 12px;
    line-height: 1.35;
}

.turkuaz-table-product-name {
    display: grid;
    gap: 5px;
    min-width: 150px;
}

.turkuaz-table-product-name strong {
    color: #17345f;
    font-size: 12px;
    line-height: 1.35;
}

.turkuaz-table-product-name a {
    width: max-content;
    padding: 3px 7px;
    border-radius: 10px;
    background: #edf5ff;
    color: #0b63f6 !important;
    font-size: 10px !important;
    text-decoration: none;
}

.turkuaz-table-image {
    display: block;
    width: 38px !important;
    height: 38px !important;
    padding: 4px;
    border-radius: 8px;
    background: #f5f8fc;
    object-fit: contain;
}

.turkuaz-table-product a {
    width: max-content;
    padding: 3px 7px;
    border-radius: 10px;
    background: #edf5ff;
    color: #0b63f6 !important;
    font-size: 10px !important;
    text-decoration: none;
}

.turkuaz-qty {
    grid-template-columns: 28px 34px 28px !important;
    width: max-content;
    border-radius: 6px !important;
}

.turkuaz-qty button,
.turkuaz-qty input {
    min-height: 32px !important;
}

.turkuaz-cart-btn,
.turkuaz-icon-btn {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 7px !important;
}

.turkuaz-pagination {
    justify-content: flex-end !important;
    margin-top: 14px !important;
}

@media (max-width: 991px) {
    .turkuaz-product-page {
        grid-template-columns: 1fr !important;
    }

    .turkuaz-product-filters form {
        position: static;
    }
}

/* Final product detail spacing and card hierarchy. */
.site__body > .product-detail-legacy {
    margin-top: 18px !important;
    margin-bottom: 32px !important;
    padding: 16px !important;
}

.product-detail-legacy .legacy-breadcrumb {
    margin: 0 0 18px !important;
    min-height: 28px;
}

.product-detail-legacy .legacy-detail-main {
    gap: 22px !important;
    min-height: 0 !important;
    padding: 12px !important;
    border: 1px solid #d9e5f6 !important;
    box-shadow: none !important;
}

.product-detail-legacy .legacy-detail-gallery,
.product-detail-legacy .legacy-detail-info {
    border: 0 !important;
    box-shadow: none !important;
}

.product-detail-legacy .legacy-detail-info h1 {
    margin-bottom: 8px !important;
    font-size: clamp(18px, 1.4vw, 24px) !important;
    line-height: 1.25 !important;
}

.product-detail-legacy .brand__name {
    display: inline-block;
    margin-bottom: 8px;
}

.product-detail-legacy .detail-history-link {
    margin: 12px 0 18px !important;
    line-height: 1.35;
}

@media (max-width: 767px) {
    .site__body > .product-detail-legacy {
        margin-top: 12px !important;
        padding: 10px !important;
    }

    .product-detail-legacy .legacy-detail-main {
        padding: 8px !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .turkuaz-feature-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .turkuaz-feature-strip article {
        min-width: 0 !important;
    }
}
