/* ==========================================================================
   UstaPazar Marketplace Theme — Yellow × Charcoal Industrial Hardware
   Primary: #FFCC00  |  Background: #1A1A1A (header/footer/nav)  |  Body: #F7F7F7
   Overrides theme1 style.css when body.ustapazar-theme is present
   ========================================================================== */

/* ---- Local Inter (latin + latin-ext) — Google Fonts'a bağımlı değil ---- */
:root {
    /* Tema paleti (sabit renkler; marka renkleri --sf-* token'larından gelir). Renk değiştirmek için yalnız buradaki değeri değiştirin. */
    --ustapazar-cyan-48: #0ea5e9;
    --ustapazar-gray-10: #1a1a1a;
    --ustapazar-gray-13: #222222;
    --ustapazar-gray-16: #2a2a2a;
    --ustapazar-gray-20-2: #333333;
    --ustapazar-gray-25: #404040;
    --ustapazar-gray-28: #484848;
    --ustapazar-gray-33: #555555;
    --ustapazar-gray-46-2: #6b7280;
    --ustapazar-gray-60: #999999;
    --ustapazar-gray-60-2: #9a9a9a;
    --ustapazar-gray-64: #a3a3a3;
    --ustapazar-gray-65: #9ca3af;
    --ustapazar-gray-7: #111111;
    --ustapazar-gray-77: #c4c4c4;
    --ustapazar-gray-8: #141414;
    --ustapazar-gray-82: #d0d0d0;
    --ustapazar-gray-85: #d9d9d9;
    --ustapazar-gray-87: #dddddd;
    --ustapazar-gray-88: #e0e0e0;
    --ustapazar-gray-91: #e8e8e8;
    --ustapazar-gray-93: #ececec;
    --ustapazar-gray-93-2: #eeeeee;
    --ustapazar-gray-94: #f0f0f0;
    --ustapazar-gray-95-2: #f3f3f3;
    --ustapazar-gray-96: #f5f5f5;
    --ustapazar-gray-97: #f7f7f7;
    --ustapazar-gray-97-2: #fff1f2;
    --ustapazar-gray-98: #fafafa;
    --ustapazar-gray-98-3: #f8fafc;
    --ustapazar-gray-98-4: #f9fafb;
    --ustapazar-pink-95: #fce7f3;
    --ustapazar-red-42: #b91c1c;
    --ustapazar-red-50-2: #e11d48;
    --ustapazar-red-60: #ef4444;
    --ustapazar-red-60-2: #f43f5e;
    --ustapazar-red-94: #fee2e2;
    --ustapazar-red-95: #ffe4e6;
    --ustapazar-slate-11: #0f172a;
    --ustapazar-slate-17: #1f2937;
    --ustapazar-slate-17-2: #1e293b;
    --ustapazar-slate-27: #374151;
    --ustapazar-slate-27-2: #334155;
    --ustapazar-slate-34: #4b5563;
    --ustapazar-slate-65: #94a3b8;
    --ustapazar-slate-84: #d1d5db;
    --ustapazar-slate-91: #e5e7eb;
    --ustapazar-slate-93: #e9ecef;
    --ustapazar-slate-95: #eef2f6;
    --ustapazar-slate-96: #f3f4f6;
    --ustapazar-teal-24: #047857;
    --ustapazar-teal-96: #ecfdf5;
    --ustapazar-white: #ffffff;
    --ustapazar-yellow-88: #fff9c4;
    --ustapazar-yellow-90: #fff3cd;
    --ustapazar-yellow-92: #fff8d6;
    --ustapazar-yellow-95: #fffde7;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter/inter-latin-ext-400.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter/inter-latin-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter/inter-latin-ext-500.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter/inter-latin-500.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter/inter-latin-ext-600.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter/inter-latin-600.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter/inter-latin-ext-700.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter/inter-latin-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Reset theme1 chrome that fights UstaPazar ---- */
body.ustapazar-theme {
    font-family: var(--font-family-sans-serif, 'Inter', system-ui, sans-serif);
    font-size: var(--font-size-base, 0.9375rem);
    background: var(--body-bg, var(--ustapazar-gray-97));
    color: var(--body-color, var(--ustapazar-gray-10));
    -webkit-font-smoothing: antialiased;
}

body.ustapazar-theme .top-header,
body.ustapazar-theme header.main-header:not(.ustapazar-site-header),
body.ustapazar-theme nav.main-nav,
body.ustapazar-theme .hero-section > .container {
    /* leftover theme1 structures — hide if any slip through */
}

body.ustapazar-theme h1,
body.ustapazar-theme h2,
body.ustapazar-theme h3,
body.ustapazar-theme h4,
body.ustapazar-theme .ustapazar-section-title {
    font-family: var(--font-heading-font-family, 'Inter', system-ui, sans-serif) !important;
    letter-spacing: -0.02em;
}

body.ustapazar-theme main {
    min-height: 50vh;
    background: var(--body-bg, var(--ustapazar-gray-97));
}

/* Bootstrap container → tighter retail width */
body.ustapazar-theme .container,
body.ustapazar-theme .ustapazar-container {
    width: 100% !important;
    max-width: var(--ustapazar-max, 1320px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--ustapazar-gutter, clamp(12px, 2.2vw, 40px)) !important;
    padding-right: var(--ustapazar-gutter, clamp(12px, 2.2vw, 40px)) !important;
}

@media (min-width: 1400px) {
    body.ustapazar-theme .container,
    body.ustapazar-theme .ustapazar-container {
        max-width: min(100%, var(--ustapazar-max, 1320px)) !important;
    }
}

/* ==========================================================================
   UTILITY TRUST BAR — 4-item dark strip above header
   ========================================================================== */
.ustapazar-utility-bar {
    background: var(--ustapazar-gray-16);
    color: rgba(255, 255, 255, 0.75);
    min-height: 38px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.775rem;
}

.ustapazar-utility-bar__row,
.ustapazar-utility-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.45rem 0;
    flex-wrap: nowrap;
}

.ustapazar-utility-bar__item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.775rem;
    font-weight: 500;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    flex: 1;
    justify-content: center;
    transition: color 0.15s ease;
}

.ustapazar-utility-bar__item i,
.ustapazar-utility-bar__item .fa,
.ustapazar-utility-bar__item .fas {
    color: var(--primary-color, var(--sf-primary));
    font-size: 0.85rem;
    flex-shrink: 0;
}

.ustapazar-utility-bar__item:hover,
.ustapazar-utility-bar__item--link:hover {
    color: var(--ustapazar-white);
    text-decoration: none;
}

.ustapazar-utility-bar__item + .ustapazar-utility-bar__item {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991.98px) {
    .ustapazar-utility-bar__item:nth-child(n+3) {
        display: none;
    }
    .ustapazar-utility-bar__item + .ustapazar-utility-bar__item {
        border-left: none;
    }
}

/* ==========================================================================
   HEADER — dark charcoal marketplace bar
   ========================================================================== */
.ustapazar-site-header {
    background: var(--header-bg-color, var(--ustapazar-gray-10));
    border: none;
    border-bottom: none;
    z-index: 1040;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.ustapazar-site-header--sticky {
    position: sticky;
    top: 0;
}

/* Top campaign bar */
.ustapazar-top-bar {
    color: var(--footer-text-muted-color, var(--ustapazar-gray-65));
    font-size: 0.75rem;
}
.ustapazar-theme .ustapazar-top-bar {
    background: var(--footer-bg-color, var(--dark-color, var(--ustapazar-gray-10)));
}

.ustapazar-top-bar--campaign {
    position: relative;
    z-index: 1100;
    background: var(--primary-color, var(--dark-color, var(--ustapazar-gray-10)));
    background-size: cover;
    background-position: center;
}

.ustapazar-top-bar--campaign.ustapazar-top-bar--has-image {
    background-color: var(--primary-dark, var(--dark-color, var(--ustapazar-gray-10)));
}

.ustapazar-top-bar--campaign.ustapazar-top-bar--has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--dark-color, var(--ustapazar-gray-10)) 55%, transparent);
    pointer-events: none;
}

.ustapazar-top-bar--campaign .ustapazar-container {
    position: relative;
    z-index: 1;
}

.ustapazar-top-bar__campaign {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem 1.25rem;
    flex-wrap: wrap;
    padding: 0.55rem 0;
    text-align: center;
}

.ustapazar-top-bar__copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.ustapazar-top-bar__title,
.ustapazar-top-bar__title-link {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.35;
    text-decoration: none !important;
}

.ustapazar-top-bar__subtitle {
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.85;
}

.ustapazar-top-bar--text-light,
.ustapazar-top-bar--text-light .ustapazar-top-bar__title,
.ustapazar-top-bar--text-light .ustapazar-top-bar__title-link,
.ustapazar-top-bar--text-light .ustapazar-top-bar__subtitle {
    color: var(--footer-text-color, var(--ustapazar-gray-98-3)) !important;
}

.ustapazar-top-bar--text-dark,
.ustapazar-top-bar--text-dark .ustapazar-top-bar__title,
.ustapazar-top-bar--text-dark .ustapazar-top-bar__title-link,
.ustapazar-top-bar--text-dark .ustapazar-top-bar__subtitle {
    color: var(--body-color, var(--ustapazar-gray-10)) !important;
}

.ustapazar-top-bar__title-link:hover .ustapazar-top-bar__title {
    text-decoration: underline;
}

.ustapazar-top-bar__btn {
    white-space: nowrap;
    font-weight: 700;
}

.ustapazar-top-bar--campaign .ustapazar-top-bar__btn.btn-primary {
    background: var(--ustapazar-white) !important;
    border-color: var(--ustapazar-white) !important;
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
}

.ustapazar-top-bar--campaign .ustapazar-top-bar__btn.btn-primary:hover {
    background: var(--light-color, var(--ustapazar-slate-96)) !important;
    border-color: var(--light-color, var(--ustapazar-slate-96)) !important;
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
}

.ustapazar-top-bar--campaign .ustapazar-top-bar__btn.btn-outline-primary,
.ustapazar-top-bar--campaign .ustapazar-top-bar__btn.btn-light {
    background: transparent !important;
    border-color: var(--ustapazar-white) !important;
    color: var(--ustapazar-white) !important;
}

.ustapazar-top-bar--campaign .ustapazar-top-bar__btn.btn-outline-primary:hover,
.ustapazar-top-bar--campaign .ustapazar-top-bar__btn.btn-light:hover {
    background: var(--ustapazar-white) !important;
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
}

.ustapazar-top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    flex-wrap: wrap;
}

.ustapazar-top-bar__contact,
.ustapazar-top-bar__links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.ustapazar-top-bar__item i {
    color: var(--primary-color, var(--sf-primary));
    margin-right: 0.35rem;
}

.ustapazar-top-bar__links a {
    color: var(--ustapazar-slate-84);
    text-decoration: none;
    font-weight: 500;
}

.ustapazar-top-bar__links a:hover {
    color: var(--ustapazar-white);
}

/* ==========================================================================
   MAIN HEADER — dark background, white icons + yellow search button
   ========================================================================== */
.ustapazar-main-header {
    padding: 0.75rem 0;
    background: var(--header-bg-color, var(--ustapazar-gray-10));
    position: relative;
    z-index: 1080;
}

.ustapazar-main-header .dropdown-menu,
.ustapazar-main-header .search-results-container {
    z-index: 1085;
}

.ustapazar-main-header .header-cart-dropdown .dropdown-menu.mini-cart,
.ustapazar-main-header .mini-cart.dropdown-menu {
    z-index: 1210 !important;
}

.ustapazar-main-header__row {
    display: grid;
    grid-template-columns: minmax(120px, 200px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.25rem;
}

.ustapazar-main-header__search {
    width: 75%;
    max-width: 75%;
    justify-self: center;
}

.ustapazar-main-header__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ustapazar-main-header__logo img {
    max-height: 48px;
    width: auto;
}

/* Logo text is white on dark header */
.ustapazar-main-header__logo .logo,
.ustapazar-main-header__logo .logo-text,
.ustapazar-main-header__logo .ustapazar-logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--ustapazar-white);
    text-decoration: none;
    letter-spacing: -0.04em;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.ustapazar-logo__mark {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--primary-color, var(--sf-primary));
    color: var(--ustapazar-gray-10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.ustapazar-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    gap: 0.1rem;
}

.ustapazar-logo__name {
    font-family: var(--font-heading-font-family, 'Montserrat', sans-serif);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ustapazar-white);
}

.ustapazar-logo__tagline {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.01em;
    text-transform: none;
}

/* Search bar — white input + yellow button */
.ustapazar-search-bar {
    display: flex;
    align-items: stretch;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    background: var(--ustapazar-white);
    box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.25);
}

.ustapazar-search-bar:focus-within {
    box-shadow: 0 0 0 2px var(--primary-color, var(--sf-primary));
    background: var(--ustapazar-white) !important;
}

.ustapazar-search-bar .form-control {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0.85rem 1.1rem !important;
    font-size: 0.9375rem !important;
    height: auto !important;
    color: var(--ustapazar-gray-10) !important;
}

.ustapazar-search-bar .form-control::placeholder {
    color: var(--ustapazar-gray-65);
}

/* Yellow search button */
.ustapazar-search-bar__btn {
    border: none;
    background: var(--primary-color, var(--sf-primary));
    color: var(--dark-color, var(--ustapazar-gray-10));
    padding: 0 1.25rem;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 0 7px 7px 0;
    transition: background 0.15s;
    flex-shrink: 0;
}

.ustapazar-search-bar__btn:hover {
    background: var(--primary-dark, var(--sf-primary-hover)) !important;
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
}

/* Mobile search variant */
.ustapazar-search-bar--mobile {
    box-shadow: none;
    border-radius: 6px;
    border: 1px solid var(--ustapazar-slate-91);
    background: var(--ustapazar-white);
}

.ustapazar-search-bar--mobile .form-control {
    color: var(--ustapazar-gray-10) !important;
}

/* Header action icons — white on dark */
.ustapazar-main-header__actions {
    display: flex;
    align-items: stretch;
    gap: 0.1rem;
}

.ustapazar-header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.88);
    padding: 0.35rem 0.85rem;
    border-radius: 8px;
    min-width: 72px;
    transition: background 0.15s, color 0.15s;
    position: relative;
}

.ustapazar-header-action:hover,
.ustapazar-header-action:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--primary-color, var(--sf-primary)) !important;
}

.ustapazar-header-action__icon {
    font-size: 1.35rem;
    line-height: 1;
}

.ustapazar-header-action__label {
    font-size: 0.6875rem;
    font-weight: 600;
    margin-top: 0.2rem;
    white-space: nowrap;
}

/* Cart badge — yellow with dark text */
.ustapazar-badge-accent {
    background: var(--primary-color, var(--sf-primary)) !important;
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
    font-size: 0.625rem !important;
    font-weight: 800 !important;
}

.btn-menu-toggle {
    background: none;
    border: none;
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.25rem;
}

/* ==========================================================================
   CATEGORY NAV — dark bar; yellow Kategoriler trigger; white nav links
   ========================================================================== */
.ustapazar-category-nav {
    background: var(--dark-color, var(--ustapazar-gray-10));
    border: none;
    border-top: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1020;
}

.ustapazar-category-nav::after,
.ustapazar-site-header::after {
    display: none;
    content: none;
}

body.theme-mega-open .ustapazar-category-nav,
.ustapazar-category-nav__item--mega.is-open {
    z-index: 1090;
}

.ustapazar-category-nav .ustapazar-container {
    position: relative;
}

.ustapazar-category-nav__list {
    display: flex;
    align-items: stretch;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.ustapazar-category-nav__list::-webkit-scrollbar {
    display: none;
}

.ustapazar-category-nav__item {
    position: relative;
    flex-shrink: 0;
}

/* Regular nav links — white text on dark */
.ustapazar-category-nav__link {
    display: flex;
    align-items: center;
    padding: 0.7rem 0.9rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    border: none;
    background: transparent;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.ustapazar-category-nav__link:hover,
.ustapazar-category-nav__link.active {
    color: var(--primary-color, var(--sf-primary)) !important;
    background: transparent !important;
    border-bottom-color: var(--primary-color, var(--sf-primary)) !important;
}

/* Campaigns / deals link — red accent (Fırsatlar) */
.ustapazar-category-nav__link--deals,
.ustapazar-category-nav__link--campaign,
.ustapazar-category-nav__link[href*="kampanya"],
.ustapazar-category-nav__link[href*="campaign"] {
    color: var(--ustapazar-red-60) !important;
    font-weight: 700 !important;
}

.ustapazar-category-nav__link--deals:hover,
.ustapazar-category-nav__link--campaign:hover,
.ustapazar-category-nav__link[href*="kampanya"]:hover,
.ustapazar-category-nav__link[href*="campaign"]:hover {
    color: var(--sf-accent) !important;
    border-bottom-color: var(--sf-accent) !important;
}

/* Kategoriler trigger — yellow CTA button */
.ustapazar-category-nav__trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--dark-color, var(--ustapazar-gray-10));
    text-decoration: none;
    background: var(--primary-color, var(--sf-primary));
    border: none;
    border-radius: 0;
    white-space: nowrap;
    cursor: pointer;
    margin: 0;
    height: 100%;
    transition: background 0.15s ease;
}

.ustapazar-category-nav__trigger i {
    font-size: 0.9rem;
    opacity: 1;
}

.ustapazar-category-nav__trigger:hover,
.ustapazar-category-nav__item--mega.is-open .ustapazar-category-nav__trigger {
    background: var(--primary-dark, var(--sf-primary-hover)) !important;
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
    border-bottom-color: transparent !important;
}

/* First item (Kategoriler) padding fix */
.ustapazar-category-nav__list > .ustapazar-category-nav__item:first-child .ustapazar-category-nav__trigger {
    padding-left: 1rem;
}

.ustapazar-category-nav__item--mega {
    position: static;
}

.ustapazar-category-nav__item--mega.is-open .ustapazar-category-nav__trigger {
    border-radius: 0 !important;
}

/* ==========================================================================
   MEGA MENU — white panel, soft shadow, high z-index
   ========================================================================== */
.ustapazar-mega.theme-mega {
    --mega-accent: var(--primary-color, #FFCC00);
    --mega-accent-text: var(--dark-color, #1A1A1A);
    --mega-active-bg: color-mix(in srgb, var(--primary-color, #FFCC00) 15%, #fff);
    left: var(--ustapazar-gutter, clamp(12px, 2.2vw, 40px));
    right: var(--ustapazar-gutter, clamp(12px, 2.2vw, 40px));
    width: auto;
    background: var(--ustapazar-white);
    border: 1px solid rgba(26, 26, 26, 0.08);
    border-radius: 0 12px 12px 12px;
    box-shadow:
        0 22px 50px rgba(26, 26, 26, 0.16),
        0 8px 24px rgba(26, 26, 26, 0.08);
    border-top: 3px solid var(--primary-color, var(--sf-primary));
}

.ustapazar-mega.theme-mega .theme-mega__nav-item.is-active,
.ustapazar-mega.theme-mega .theme-mega__nav-item:hover {
    border-top-color: var(--primary-color, var(--sf-primary));
}

.ustapazar-mega.theme-mega .theme-mega__promo-btn,
.ustapazar-mega.theme-mega .theme-mega__banner-btn {
    background: var(--primary-color, var(--sf-primary));
    color: var(--dark-color, var(--ustapazar-gray-10));
    border-radius: 8px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(255, 204, 0, 0.35);
}

.ustapazar-mega.theme-mega .theme-mega__promo-btn:hover,
.ustapazar-mega.theme-mega .theme-mega__banner-btn:hover {
    background: var(--primary-dark, var(--sf-primary-hover));
    color: var(--dark-color, var(--ustapazar-gray-10));
}



.ustapazar-mega.theme-mega .theme-mega__sidebar-more:hover {
    background: color-mix(in srgb, var(--primary-color, var(--sf-primary)) 12%, var(--ustapazar-white));
}

.ustapazar-category-nav__item--mega .dropdown-menu {
    display: none !important;
}

/* ==========================================================================
   HERO ROW — slider + deals sidebar
   ========================================================================== */
.ustapazar-hero-row {
    background: var(--ustapazar-white);
    /* Menüye yapışık — üst boşluk yok; altta hızlı bannerlara hafif nefes */
    padding: 0 0 0 !important;
    margin: 0 !important;
}

.ustapazar-hero-row > .ustapazar-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.ustapazar-hero-row__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.95fr) minmax(260px, 0.9fr);
    gap: 0.75rem;
    align-items: stretch;
}

/* Yan banner / deals yoksa: kenardan kenara tam genişlik */
.ustapazar-hero-row--solo {
    background: var(--ustapazar-white);
}

.ustapazar-hero-row__full {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 !important;
}

.ustapazar-hero-row__grid--solo {
    grid-template-columns: 1fr !important;
    gap: 0;
}

.ustapazar-hero-row__grid--solo .ustapazar-hero-row__slider {
    width: 100%;
    border-radius: 0;
}

.ustapazar-hero-row__grid--solo .ustapazar-hero-slider,
.ustapazar-hero-slider--full {
    min-height: clamp(320px, 42vw, 560px);
    height: clamp(320px, 42vw, 560px) !important;
}

.ustapazar-hero-row__slider,
.ustapazar-hero-deals,
.ustapazar-hero-side-banner {
    background: var(--ustapazar-white);
    border: none;
    /* Üst menüye düz oturur; alt köşeler hafif yuvarlak */
    border-radius: 0 0 10px 10px;
    box-shadow: none;
    overflow: hidden;
    min-height: 0;
    height: 100%;
}

.ustapazar-hero-row__slider {
    display: flex;
    flex-direction: column;
}

.ustapazar-hero-slider {
    flex: 1 1 auto;
    width: 100%;
    min-height: clamp(260px, 28vw, 400px);
    height: 100% !important;
}

.ustapazar-hero-slider .carousel-inner,
.ustapazar-hero-slider .carousel-item {
    height: 100% !important;
}

.ustapazar-hero-slider .carousel-item {
    position: relative;
}

.ustapazar-hero-slider__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.ustapazar-hero-slider__link {
    display: block;
    height: 100%;
}

/* Caption: full-bleed overlay + site container içi metin (mockup) */
.ustapazar-hero-slider__caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(1.25rem, 3vw, 2.5rem) 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.62) 0%,
        rgba(0, 0, 0, 0.38) 42%,
        rgba(0, 0, 0, 0.12) 68%,
        transparent 100%
    );
    color: var(--ustapazar-white);
    text-align: left;
    z-index: 2;
    pointer-events: none;
}

.ustapazar-hero-slider__caption-inner {
    pointer-events: auto;
    width: 100%;
    max-width: var(--ustapazar-max, 1320px);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--ustapazar-gutter, clamp(12px, 2.2vw, 40px));
    padding-right: var(--ustapazar-gutter, clamp(12px, 2.2vw, 40px));
}

/* Yan banner varken slider kolonunda container hizası yerine iç padding */
.ustapazar-hero-row:not(.ustapazar-hero-row--solo) .ustapazar-hero-slider__caption-inner {
    max-width: none;
    margin: 0;
    padding-left: clamp(1rem, 2.5vw, 1.75rem);
    padding-right: 1rem;
}

.ustapazar-hero-slider__title {
    color: var(--ustapazar-white) !important;
    font-size: clamp(1.5rem, 3.6vw, 3rem) !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin: 0 0 0.85rem !important;
    max-width: min(100%, 36rem);
}

.ustapazar-hero-slider__title-line {
    display: block;
    color: var(--ustapazar-white);
    /* Her satır en fazla 2 satıra kırılır (14ch darlığı kaldırıldı) */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.ustapazar-hero-slider__title-line--accent {
    color: var(--primary-color, var(--sf-primary));
}

.ustapazar-hero-slider__text {
    color: rgba(255, 255, 255, 0.92) !important;
    margin: 0 0 1.25rem !important;
    max-width: 36rem;
    font-size: clamp(0.9rem, 1.35vw, 1.05rem);
    line-height: 1.55;
    font-weight: 400;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .ustapazar-hero-slider__title-line {
        white-space: normal;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        text-overflow: unset;
    }
}

/* Hero slider CTA — sarı, yuvarlak, ok ikonlu */
.ustapazar-hero-slider__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: var(--primary-color, var(--sf-primary));
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none !important;
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ustapazar-hero-slider__cta i {
    font-size: 0.8em;
    line-height: 1;
}

.ustapazar-hero-slider__cta:hover {
    background: var(--primary-dark, var(--sf-primary-hover));
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.ustapazar-hero-slider .carousel-indicators {
    margin-bottom: 0.65rem;
}

.ustapazar-hero-slider .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    opacity: 1;
}

.ustapazar-hero-slider .carousel-indicators .active {
    background: var(--primary-color, var(--sf-primary));
}

.ustapazar-hero-slider__nav {
    width: 42px;
    opacity: 1;
}

.ustapazar-hero-slider__nav .carousel-control-prev-icon,
.ustapazar-hero-slider__nav .carousel-control-next-icon {
    display: none;
}

.ustapazar-hero-slider__chevron {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--body-color, var(--ustapazar-gray-10));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ustapazar-hero-slider__nav:hover .ustapazar-hero-slider__chevron {
    background: var(--primary-color, var(--sf-primary));
    color: var(--dark-color, var(--ustapazar-gray-10));
}

/* Deals sidebar */
.ustapazar-hero-deals {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: var(--ustapazar-white);
    border: 1px solid rgba(255, 204, 0, 0.22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    position: relative;
    isolation: isolate;
}

.ustapazar-hero-deals::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color, var(--sf-primary)), var(--sf-primary-hover), var(--primary-color, var(--sf-primary)));
    z-index: 2;
}

.ustapazar-hero-deals__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
    padding: 0.95rem 1rem 0.8rem;
    border-bottom: 1px solid var(--ustapazar-gray-94);
    background: linear-gradient(180deg, var(--ustapazar-yellow-95), var(--ustapazar-white));
}

.ustapazar-hero-deals__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--ustapazar-yellow-88), var(--ustapazar-yellow-95));
    color: var(--primary-color, var(--sf-primary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(255, 204, 0, 0.12);
}

.ustapazar-hero-deals__title {
    margin: 0 !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: var(--body-color, var(--ustapazar-gray-10)) !important;
    letter-spacing: -0.03em;
}

.ustapazar-hero-deals__carousel {
    position: relative;
    flex: 1;
    min-height: 0;
    padding: 0.85rem 0.9rem 1rem;
}

.ustapazar-hero-deals__carousel,
.ustapazar-hero-deals__carousel .carousel-inner,
.ustapazar-hero-deals__carousel .carousel-item {
    height: 100%;
    min-height: 300px;
}

.ustapazar-hero-deals__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: inherit !important;
    padding: 0.55rem;
    border-radius: 10px;
    background: var(--ustapazar-white);
    border: 1px solid var(--ustapazar-slate-95);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ustapazar-hero-deals__card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 204, 0, 0.45);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 204, 0, 0.2);
}

.ustapazar-hero-deals__media {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    background: linear-gradient(160deg, var(--ustapazar-gray-98-3) 0%, var(--ustapazar-gray-98) 100%);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.85rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.ustapazar-hero-deals__ribbon {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ustapazar-red-50-2), var(--ustapazar-red-60-2));
    color: var(--ustapazar-white);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}

.ustapazar-hero-deals__media img {
    max-width: 88%;
    max-height: 210px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.07));
}

.ustapazar-hero-deals__card:hover .ustapazar-hero-deals__media img {
    transform: scale(1.05);
}

.ustapazar-hero-deals__body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0 0.15rem 0.15rem;
}

.ustapazar-hero-deals__brand {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--dark-color, var(--ustapazar-gray-10));
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ustapazar-hero-deals__name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--body-color, var(--ustapazar-gray-10));
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    min-height: 2.4em;
}

.ustapazar-hero-deals__sku {
    font-size: 0.6875rem;
    color: var(--ustapazar-slate-65);
}

.ustapazar-hero-deals__price-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.65rem;
    padding: 0.55rem 0.6rem;
    border-radius: 8px;
    background: var(--ustapazar-yellow-95);
    border: 1px solid rgba(255, 204, 0, 0.25);
}

/* Discount badge — yellow pill */
.ustapazar-hero-deals__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    padding: 0.5rem 0.55rem;
    border-radius: 8px;
    background: linear-gradient(145deg, var(--primary-color, var(--sf-primary)), var(--primary-dark, var(--sf-primary-hover)));
    color: var(--dark-color, var(--ustapazar-gray-10));
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.3);
}

.ustapazar-hero-deals__prices {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.ustapazar-hero-deals__old {
    font-size: 0.75rem;
    color: var(--ustapazar-slate-65);
    text-decoration: line-through;
}

.ustapazar-hero-deals__new {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--price-color, var(--ustapazar-gray-10));
    letter-spacing: -0.03em;
}

/* Deals CTA — yellow button */
.ustapazar-hero-deals__cta {
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    background: var(--primary-color, var(--sf-primary));
    color: var(--dark-color, var(--ustapazar-gray-10));
    font-size: 0.8125rem;
    font-weight: 700;
    transition: background 0.2s ease, gap 0.2s ease;
}

.ustapazar-hero-deals__card:hover .ustapazar-hero-deals__cta {
    background: var(--primary-dark, var(--sf-primary-hover));
    gap: 0.65rem;
}

.ustapazar-hero-deals__nav {
    width: 40px;
    opacity: 1;
}

.ustapazar-hero-deals__nav .carousel-control-prev-icon,
.ustapazar-hero-deals__nav .carousel-control-next-icon {
    display: none;
}

.ustapazar-hero-deals__chevron {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 204, 0, 0.3);
    color: var(--body-color, var(--ustapazar-gray-10));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ustapazar-hero-deals__nav:hover .ustapazar-hero-deals__chevron {
    color: var(--dark-color, var(--ustapazar-gray-10));
    border-color: var(--primary-color, var(--sf-primary));
    background: var(--primary-color, var(--sf-primary));
    transform: scale(1.06);
}

/* Side banner — slider ile aynı yükseklik (stretch) */
.ustapazar-hero-side-banner {
    display: flex;
    flex-direction: column;
    min-height: clamp(260px, 28vw, 400px);
    height: 100%;
    padding: 0;
    background: var(--dark-color, var(--ustapazar-gray-10));
    align-self: stretch;
}

.ustapazar-hero-side-banner__link {
    display: block;
    flex: 1 1 auto;
    height: 100%;
    min-height: inherit;
    text-decoration: none !important;
}

.ustapazar-hero-side-banner__img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.ustapazar-hero-side-banner__link:hover .ustapazar-hero-side-banner__img {
    transform: scale(1.03);
}

/* ==========================================================================
   TRUST / FEATURES SECTION — 4 icon columns under hero
   ========================================================================== */
.ustapazar-trust-features {
    background: var(--ustapazar-white);
    border-top: 1px solid var(--ustapazar-gray-94);
    border-bottom: 1px solid var(--ustapazar-gray-94);
    padding: 1.15rem 0;
}

.ustapazar-trust-features__inner {
    display: grid;
    grid-template-columns: repeat(var(--trust-cols, 4), minmax(0, 1fr)); /* --trust-cols: partials/features (özellik sayısı, en fazla 4) */
    gap: 1rem;
}

.ustapazar-trust-features__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.5rem;
    text-decoration: none;
    color: inherit;
}

.ustapazar-trust-features__icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(255, 204, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--primary-color, var(--sf-primary));
}

.ustapazar-trust-features__icon--dark {
    background: rgba(26, 26, 26, 0.07);
    color: var(--dark-color, var(--ustapazar-gray-10));
}

.ustapazar-trust-features__copy {
    min-width: 0;
}

.ustapazar-trust-features__title {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--body-color, var(--ustapazar-gray-10));
    margin: 0;
    line-height: 1.25;
}

.ustapazar-trust-features__desc {
    font-size: 0.75rem;
    color: var(--ustapazar-gray-46-2);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 767.98px) {
    .ustapazar-trust-features__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 479.98px) {
    .ustapazar-trust-features__inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ustapazar-hero-deals__card,
    .ustapazar-hero-deals__media img,
    .ustapazar-hero-deals__cta,
    .ustapazar-hero-deals__chevron,
    .ustapazar-hero-side-banner__img {
        transition: none !important;
    }

    .ustapazar-hero-deals__card:hover {
        transform: none;
    }

    .ustapazar-hero-deals__card:hover .ustapazar-hero-deals__media img,
    .ustapazar-hero-side-banner__link:hover .ustapazar-hero-side-banner__img {
        transform: none;
    }
}

@media (max-width: 991.98px) {
    .ustapazar-hero-row:not(.ustapazar-hero-row--solo) {
        padding: 0.65rem 0 0 !important;
    }

    .ustapazar-hero-row:not(.ustapazar-hero-row--solo) .ustapazar-hero-row__slider,
    .ustapazar-hero-deals,
    .ustapazar-hero-side-banner {
        border-radius: 8px;
    }

    .ustapazar-hero-row__grid {
        grid-template-columns: 1fr;
    }

    .ustapazar-hero-slider,
    .ustapazar-hero-slider .carousel-inner,
    .ustapazar-hero-slider .carousel-item {
        height: clamp(200px, 48vw, 300px);
    }

    .ustapazar-hero-row--solo .ustapazar-hero-slider,
    .ustapazar-hero-row--solo .ustapazar-hero-slider .carousel-inner,
    .ustapazar-hero-row--solo .ustapazar-hero-slider .carousel-item,
    .ustapazar-hero-slider--full,
    .ustapazar-hero-slider--full .carousel-inner,
    .ustapazar-hero-slider--full .carousel-item {
        height: clamp(220px, 52vw, 360px) !important;
        min-height: clamp(220px, 52vw, 360px);
    }

    .ustapazar-hero-deals__carousel,
    .ustapazar-hero-deals__carousel .carousel-inner,
    .ustapazar-hero-deals__carousel .carousel-item {
        min-height: 300px;
    }
}

/* ==========================================================================
   CAMPAIGN STRIP — rounded squares, full width
   ========================================================================== */
.ustapazar-campaign-strip {
    background: var(--ustapazar-white) !important;
    border-bottom: 1px solid var(--ustapazar-gray-94);
    padding: 1.15rem 0 1.35rem !important;
}

.ustapazar-campaign-strip__track {
    display: flex;
    gap: 1.1rem;
    overflow-x: auto;
    padding: 0.15rem 0 0.35rem;
    scrollbar-width: thin;
}

.ustapazar-campaign-strip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none !important;
    color: var(--body-color, var(--ustapazar-gray-10)) !important;
    min-width: 86px;
    flex-shrink: 0;
}

.ustapazar-campaign-strip__thumb {
    width: 78px;
    height: 78px;
    border-radius: 12px !important;
    background: var(--ustapazar-gray-96);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.ustapazar-campaign-strip__item:nth-child(3n) .ustapazar-campaign-strip__thumb {
    background: linear-gradient(145deg, var(--ustapazar-yellow-88), var(--ustapazar-yellow-90));
}

.ustapazar-campaign-strip__item:nth-child(3n+1) .ustapazar-campaign-strip__thumb {
    background: linear-gradient(145deg, var(--ustapazar-slate-96), var(--ustapazar-slate-93));
}

.ustapazar-campaign-strip__item:nth-child(3n+2) .ustapazar-campaign-strip__thumb {
    background: linear-gradient(145deg, var(--ustapazar-pink-95), var(--ustapazar-red-95));
}

.ustapazar-campaign-strip__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ustapazar-campaign-strip__thumb i {
    font-size: 1.6rem;
    color: var(--dark-color, var(--ustapazar-gray-10));
}

.ustapazar-campaign-strip__item:hover .ustapazar-campaign-strip__thumb {
    border-color: var(--primary-color, var(--sf-primary));
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(255, 204, 0, 0.22);
}

.ustapazar-campaign-strip__name {
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    max-width: 92px;
    line-height: 1.25;
    color: var(--ustapazar-gray-20-2);
}

/* ==========================================================================
   DISCOUNT TIERS
   ========================================================================== */
.ustapazar-discount-tiers {
    background: var(--body-bg, var(--ustapazar-gray-97)) !important;
    background-image: none !important;
    padding: 1.75rem 0 2.75rem !important;
}

.ustapazar-discount-tiers__title {
    text-align: left !important;
}

.ustapazar-discount-tiers__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-decoration: none !important;
    background: var(--tier-bg, var(--ustapazar-white));
    border-radius: 8px !important;
    padding: 1.35rem 1.25rem;
    min-height: 110px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.ustapazar-discount-tiers__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.ustapazar-discount-tiers__item:focus-visible {
    outline: 3px solid var(--primary-color, var(--sf-primary));
    outline-offset: 2px;
}

.ustapazar-discount-tiers__caption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ustapazar-discount-tiers__percent {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color, var(--ustapazar-red-50-2));
    line-height: 1;
}

.ustapazar-discount-tiers__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ustapazar-slate-27);
    margin-top: 0.4rem;
}

.ustapazar-discount-tiers__item--has-image {
    padding: 0;
    min-height: 0;
}

.ustapazar-discount-tiers__media {
    display: block;
    width: 100%;
    aspect-ratio: 368 / 110;
}

.ustapazar-discount-tiers__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ustapazar-discount-tiers__item--has-image .ustapazar-discount-tiers__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.1rem 1.15rem 0.9rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
}

.ustapazar-discount-tiers__item--has-image .ustapazar-discount-tiers__percent,
.ustapazar-discount-tiers__item--has-image .ustapazar-discount-tiers__label {
    color: var(--ustapazar-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.ustapazar-discount-tiers__item--has-image .ustapazar-discount-tiers__label {
    margin-top: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
    .ustapazar-discount-tiers__item {
        transition: none;
    }
    .ustapazar-discount-tiers__item:hover {
        transform: none;
    }
}

/* ==========================================================================
   FLASH BAND — dark charcoal with yellow accent
   ========================================================================== */
.ustapazar-flash {
    background: linear-gradient(100deg, var(--ustapazar-gray-10) 0%, var(--ustapazar-gray-16) 55%, var(--ustapazar-gray-10) 100%) !important;
    padding: 1.35rem 0 1.75rem !important;
    margin: 0 !important;
    width: 100%;
}

.ustapazar-flash__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.ustapazar-flash__heading {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.ustapazar-flash__bolt {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 204, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color, var(--sf-primary));
}

.ustapazar-flash__title {
    color: var(--ustapazar-white) !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    margin: 0 !important;
}

.ustapazar-flash__countdown {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0.35rem;
}

.ustapazar-flash-countdown__unit {
    background: var(--primary-color, var(--sf-primary));
    color: var(--dark-color, var(--ustapazar-gray-10));
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    min-width: 2.1rem;
    text-align: center;
    padding: 0.35rem 0.4rem;
    border-radius: 6px;
    font-size: 0.95rem;
}

.ustapazar-flash-countdown__sep {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 800;
}

.ustapazar-flash__all {
    color: rgba(255, 255, 255, 0.88) !important;
    text-decoration: none !important;
    font-size: 0.875rem;
    font-weight: 700;
    opacity: 0.95;
}

.ustapazar-flash__all:hover {
    color: var(--primary-color, var(--sf-primary)) !important;
}

.ustapazar-flash .ustapazar-product-card {
    background: var(--ustapazar-white) !important;
}

.ustapazar-flash .ustapazar-product-card__media {
    aspect-ratio: 4 / 3;
}

/* Flash shelf: desktop 4, tablet 2, mobile 1 */
.ustapazar-flash__track {
    gap: 0.75rem;
}

.ustapazar-flash__track .ustapazar-shelf__item {
    flex: 0 0 calc((100% - 0.75rem * 3) / 4);
    width: calc((100% - 0.75rem * 3) / 4);
    max-width: none;
}

@media (max-width: 991.98px) {
    .ustapazar-shelf__track {
        flex-wrap: wrap;
        overflow-x: visible;
        scroll-snap-type: none;
    }

    .ustapazar-shelf__item,
    .ustapazar-flash__track .ustapazar-shelf__item {
        flex: 0 0 calc(50% - 0.4rem) !important;
        width: calc(50% - 0.4rem) !important;
        max-width: calc(50% - 0.4rem) !important;
    }
}

@media (max-width: 767.98px) {
    .ustapazar-shelf__item,
    .ustapazar-flash__track .ustapazar-shelf__item {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ==========================================================================
   PRODUCT SHELVES — horizontal scroll
   ========================================================================== */
.ustapazar-shelf {
    background: var(--body-bg, var(--ustapazar-gray-97));
    padding: 1.75rem 0 !important;
}

.ustapazar-shelf--bestsellers,
.ustapazar-shelf--new {
    background: var(--ustapazar-white);
}

.ustapazar-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1rem;
}

.ustapazar-section-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--body-color, var(--ustapazar-gray-10));
    margin: 0;
}

.ustapazar-section-title.ustapazar-discount-tiers__title {
    margin: 0 0 15px !important;
}

.ustapazar-section-link {
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    color: var(--ustapazar-gray-46-2) !important;
    text-decoration: none !important;
    white-space: nowrap;
    border: none !important;
    padding: 0 !important;
    background: none !important;
}

.ustapazar-section-link:hover {
    color: var(--primary-color, var(--sf-primary)) !important;
    background: none !important;
}

.ustapazar-section-link i {
    font-size: 0.7rem;
    margin-left: 0.2rem;
}

.ustapazar-shelf__track {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--ustapazar-slate-84) transparent;
}

.ustapazar-shelf__track::-webkit-scrollbar {
    height: 6px;
}

.ustapazar-shelf__track::-webkit-scrollbar-thumb {
    background: var(--ustapazar-slate-84);
    border-radius: 99px;
}

.ustapazar-shelf__item {
    flex: 0 0 auto;
    width: clamp(160px, 16vw, 220px);
    scroll-snap-align: start;
}

/* ==========================================================================
   PRODUCT CARD — white card, yellow CTA, yellow stars
   ========================================================================== */
body.ustapazar-theme .ustapazar-product-card.product-card,
body.ustapazar-theme .ustapazar-product-card {
    background: var(--ustapazar-white) !important;
    border: 1px solid var(--ustapazar-gray-91) !important;
    border-radius: 8px !important;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: none !important;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    position: relative;
    padding: 0 !important;
}

body.ustapazar-theme .ustapazar-product-card:hover {
    border-color: rgba(255, 204, 0, 0.45) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-2px);
}

.ustapazar-product-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--ustapazar-gray-98);
    overflow: hidden;
}

.ustapazar-product-card__image-link {
    display: block;
    height: 100%;
}

.ustapazar-product-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center;
    transition: transform 0.35s ease;
}

.ustapazar-product-card:hover .ustapazar-product-card__media img {
    transform: scale(1.04);
}

.ustapazar-product-card__badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
    align-items: flex-start;
}

.ustapazar-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 0.28rem 0.45rem;
    border-radius: 4px;
    line-height: 1;
    text-transform: uppercase;
}

.ustapazar-badge--new {
    background: var(--info-color, var(--ustapazar-cyan-48));
    color: var(--ustapazar-white);
}

.ustapazar-badge--discount {
    background: var(--accent-color, var(--ustapazar-red-50-2));
    color: var(--ustapazar-white);
}

.ustapazar-badge--bestseller {
    background: var(--primary-color, var(--sf-primary));
    color: var(--dark-color, var(--ustapazar-gray-10));
    border-radius: 999px;
    max-width: 72px;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
    padding: 0.4rem 0.35rem;
}

/* Wishlist heart */
.ustapazar-product-card__wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ustapazar-gray-65);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.15s;
}

.ustapazar-product-card__wishlist:hover,
.ustapazar-product-card__wishlist .fa-heart {
    color: var(--accent-color, var(--ustapazar-red-50-2));
}

.ustapazar-product-card__quick-view {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    background: var(--dark-color, var(--ustapazar-gray-10));
    color: var(--ustapazar-white) !important;
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
    text-decoration: none !important;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 3;
    white-space: nowrap;
}

.ustapazar-product-card:hover .ustapazar-product-card__quick-view {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.ustapazar-product-card__body {
    padding: 0.7rem 0.75rem 0.9rem !important;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.ustapazar-product-card__shipping {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--ustapazar-white);
    background: var(--ustapazar-gray-16);
    margin: -0.7rem -0.75rem 0.45rem;
    padding: 0.35rem 0.75rem;
}

.ustapazar-product-card__shipping i {
    margin-right: 0.25rem;
}

.ustapazar-product-card__title {
    text-decoration: none !important;
    color: var(--ustapazar-slate-17) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.8125rem;
    line-height: 1.35;
    min-height: 2.3em;
}

.ustapazar-product-card__brand {
    font-weight: 800;
    margin-right: 0.25rem;
}

.ustapazar-product-card__name {
    font-weight: 500;
}

.ustapazar-product-card__proof {
    font-size: 0.6875rem;
    color: var(--sf-success);
    font-weight: 600;
    margin: 0;
}

/* Stars — yellow */
.ustapazar-product-card__rating {
    font-size: 0.75rem;
    color: var(--primary-color, var(--sf-primary));
}

.ustapazar-product-card__rating .empty-star {
    color: var(--ustapazar-slate-91);
}

.ustapazar-product-card__rating small {
    color: var(--ustapazar-gray-65);
    font-size: 0.6875rem;
}

.ustapazar-product-card__price {
    margin-top: auto;
    padding-top: 0.35rem;
}

body.ustapazar-theme .ustapazar-product-card .current-price,
.ustapazar-product-card__price .current-price {
    color: var(--price-color, var(--ustapazar-gray-10));
    font-size: 1.05rem;
    font-weight: 800;
}

body.ustapazar-theme .ustapazar-product-card .old-price,
.ustapazar-product-card__price .old-price {
    font-size: 0.75rem;
    color: var(--ustapazar-gray-65);
}

.ustapazar-product-card__stock {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-color, var(--ustapazar-red-50-2));
    background: var(--ustapazar-gray-97-2);
    padding: 0.3rem 0.45rem;
    border-radius: 4px;
    margin-top: 0.25rem;
}

.ustapazar-product-card__stock-urgency {
    position: relative;
    margin-top: 0.35rem;
    background: var(--ustapazar-gray-97-2);
    border-radius: 4px;
    overflow: hidden;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-color, var(--ustapazar-red-50-2));
    padding: 0.3rem 0.45rem;
}

.ustapazar-product-card__stock-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: rgba(225, 29, 72, 0.12);
}

.ustapazar-product-card__stock-urgency span {
    position: relative;
    z-index: 1;
}

.ustapazar-product-card__stock-out {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ustapazar-gray-65);
    margin-top: 0.25rem;
}

/* "Ürünü İncele" link button */
.ustapazar-product-card__link-btn {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
    text-decoration: none !important;
    border: 1px solid var(--dark-color, var(--ustapazar-gray-10));
    border-radius: 8px;
    padding: 0.45rem;
}

.ustapazar-product-card__link-btn:hover {
    background: var(--dark-color, var(--ustapazar-gray-10));
    color: var(--ustapazar-white) !important;
}

/* "Sepete Ekle" button — YELLOW with dark text */
.ustapazar-product-card .btn-add-cart,
.ustapazar-product-card .add-to-cart-btn,
.ustapazar-product-card .ustapazar-btn-cart {
    margin-top: 0.5rem;
    background: var(--primary-color, var(--sf-primary)) !important;
    border-color: var(--primary-color, var(--sf-primary)) !important;
    border-radius: 8px !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    padding: 0.55rem !important;
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
    transition: background 0.15s, border-color 0.15s;
}

.ustapazar-product-card .btn-add-cart:hover,
.ustapazar-product-card .add-to-cart-btn:hover,
.ustapazar-product-card .ustapazar-btn-cart:hover {
    background: var(--primary-dark, var(--sf-primary-hover)) !important;
    border-color: var(--primary-dark, var(--sf-primary-hover)) !important;
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
}

.ustapazar-theme .ustapazar-btn-cart {
    background: var(--primary-color, var(--sf-primary));
    border-color: var(--primary-color, var(--sf-primary));
    color: var(--dark-color, var(--ustapazar-gray-10));
    font-weight: 700;
    border-radius: 8px;
}

.ustapazar-btn-cart:hover {
    background: var(--primary-dark, var(--sf-primary-hover)) !important;
    border-color: var(--primary-dark, var(--sf-primary-hover)) !important;
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
}

/* Hide theme1 overlay / badges that clash */
body.ustapazar-theme .ustapazar-product-card .badge-new,
body.ustapazar-theme .ustapazar-product-card .badge-discount,
body.ustapazar-theme .ustapazar-product-card .product-overlay {
    display: none !important;
}

/* ==========================================================================
   NEWSLETTER / FORMS
   ========================================================================== */
.ustapazar-newsletter__form,
.ustapazar-newsletter-form {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--ustapazar-slate-84);
    background: var(--ustapazar-white);
}

.ustapazar-newsletter__form input,
.ustapazar-newsletter-form input {
    border: none !important;
    flex: 1;
    padding: 0.65rem 0.85rem;
    font-size: 0.875rem;
    min-width: 0;
}

/* Newsletter button — yellow */
.ustapazar-newsletter__form button,
.ustapazar-newsletter-form button {
    border: none;
    background: var(--primary-color, var(--sf-primary));
    color: var(--dark-color, var(--ustapazar-gray-10));
    padding: 0 1.1rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.15s;
}

.ustapazar-newsletter__form button:hover,
.ustapazar-newsletter-form button:hover {
    background: var(--primary-dark, var(--sf-primary-hover));
    color: var(--dark-color, var(--ustapazar-gray-10));
}

/* ==========================================================================
   QUICK BANNERS — UstaPazar: kare kart + yüklenen ikon görseli + başlık
   Veri: Panel → Tasarım → Hızlı Bannerlar (placement: below / slider altı)
   ========================================================================== */
.ustapazar-quick-banners {
    background: var(--ustapazar-white) !important;
    border: none !important;
    box-shadow: none !important;
    padding: 1.15rem 0 1.4rem;
}


.ustapazar-quick-banners--below {
    padding-top: 0.85rem;
}

.ustapazar-quick-banners__list {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 0.65rem;
    align-items: stretch;
}

.ustapazar-quick-banners__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 108px;
    padding: 0.9rem 0.45rem 0.75rem;
    background: var(--ustapazar-gray-95-2);
    border-radius: 12px;
    text-decoration: none !important;
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.ustapazar-quick-banners__item:hover {
    background: var(--ustapazar-gray-93);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    text-decoration: none !important;
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
}

.ustapazar-quick-banners__thumb {
    width: 44px;
    height: 44px;
    border-radius: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    flex-shrink: 0;
    color: var(--ustapazar-gray-10);
    font-size: 1.35rem;
}

.ustapazar-quick-banners__thumb img,
.ustapazar-quick-banners__thumb > span,
.ustapazar-quick-banners__thumb > i {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.ustapazar-quick-banners__title {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    color: var(--ustapazar-gray-16) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
}

@media (max-width: 1199.98px) {
    .ustapazar-quick-banners__list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .ustapazar-quick-banners {
        padding: 0.75rem 0 1rem;
    }

    .ustapazar-quick-banners__list {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.55rem;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .ustapazar-quick-banners__item {
        flex: 0 0 92px;
        width: 92px;
        min-height: 96px;
        padding: 0.7rem 0.35rem;
    }

    .ustapazar-quick-banners__thumb {
        width: 36px;
        height: 36px;
    }

    .ustapazar-quick-banners__title {
        font-size: 0.68rem;
    }
}

/* ==========================================================================
   POPULAR TILES / CATEGORIES / BANNERS
   ========================================================================== */
.ustapazar-popular-tiles {
    background: var(--body-bg, var(--ustapazar-gray-97));
    padding: 1.75rem 0 !important;
}

.ustapazar-popular-tile {
    display: block;
    text-decoration: none !important;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--dark-color, var(--ustapazar-gray-10));
    box-shadow: none;
    border: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ustapazar-popular-tile__media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto !important;
}

.ustapazar-popular-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.88;
}

.ustapazar-popular-tile__icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.ustapazar-popular-tile__name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem 0.75rem 0.9rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: var(--ustapazar-white) !important;
    font-weight: 800 !important;
    font-size: 0.9rem !important;
    text-align: center;
}

.ustapazar-popular-tiles .row > [class*="col-"]:nth-child(4n+1) .ustapazar-popular-tile { background: var(--ustapazar-gray-10); }
.ustapazar-popular-tiles .row > [class*="col-"]:nth-child(4n+2) .ustapazar-popular-tile { background: var(--ustapazar-gray-16); }
.ustapazar-popular-tiles .row > [class*="col-"]:nth-child(4n+3) .ustapazar-popular-tile { background: var(--ustapazar-gray-20-2); }
.ustapazar-popular-tiles .row > [class*="col-"]:nth-child(4n+4) .ustapazar-popular-tile { background: var(--ustapazar-gray-25); }

.ustapazar-popular-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.ustapazar-category-card {
    background: var(--ustapazar-white) !important;
    border: 1px solid var(--ustapazar-gray-93-2) !important;
    border-radius: 8px !important;
    padding: 1.25rem !important;
    text-decoration: none !important;
}

.ustapazar-banner-grid {
    background: var(--body-bg, var(--ustapazar-gray-97));
}
.ustapazar-theme .ustapazar-banner-grid {
    padding: 1.5rem 0 2rem;
}

.ustapazar-banner-mosaic {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(160px, 22vw);
}

.ustapazar-banner-mosaic--1 .ustapazar-banner-mosaic__item {
    grid-column: span 12;
}

.ustapazar-banner-mosaic--2 .ustapazar-banner-mosaic__item {
    grid-column: span 6;
}

/* İki banner — yan yana promo kartları (mockup) */
.ustapazar-banner-mosaic--promo-duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(200px, 24vw);
    gap: 1rem;
}


.ustapazar-banner-mosaic--promo-duo .ustapazar-banner-mosaic__overlay {
    inset: 0;
    justify-content: flex-end;
    background: linear-gradient(105deg, rgba(26, 26, 26, 0.72) 0%, rgba(26, 26, 26, 0.35) 55%, transparent 100%);
    padding: 1.5rem 1.75rem;
}

.ustapazar-banner-mosaic--promo-duo .ustapazar-banner-mosaic__overlay strong {
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    font-weight: 800;
    line-height: 1.2;
    max-width: 16rem;
}

.ustapazar-banner-mosaic__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 0.65rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: var(--primary-color, var(--sf-primary));
    color: var(--dark-color, var(--ustapazar-gray-10));
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1.2;
}

@media (max-width: 767.98px) {
    .ustapazar-banner-mosaic--promo-duo {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(180px, 42vw);
    }
}

.ustapazar-banner-mosaic--3 .ustapazar-banner-mosaic__item--1 {
    grid-column: span 6;
    grid-row: span 2;
}

.ustapazar-banner-mosaic--3 .ustapazar-banner-mosaic__item--2,
.ustapazar-banner-mosaic--3 .ustapazar-banner-mosaic__item--3 {
    grid-column: span 6;
}

.ustapazar-banner-mosaic--4 .ustapazar-banner-mosaic__item {
    grid-column: span 6;
}

@media (min-width: 992px) {
    .ustapazar-banner-mosaic--4 .ustapazar-banner-mosaic__item--1,
    .ustapazar-banner-mosaic--4 .ustapazar-banner-mosaic__item--2 {
        grid-column: span 4;
    }
    .ustapazar-banner-mosaic--4 .ustapazar-banner-mosaic__item--3 {
        grid-column: span 4;
        grid-row: span 1;
    }
    .ustapazar-banner-mosaic--4 .ustapazar-banner-mosaic__item--4 {
        grid-column: span 12;
        grid-auto-rows: 180px;
        min-height: 180px;
    }
}


.ustapazar-banner-mosaic__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.ustapazar-banner-mosaic__item:hover img {
    transform: scale(1.04);
}

.ustapazar-banner-mosaic__overlay {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    padding: 1.25rem;
    color: var(--ustapazar-white);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

/* ==========================================================================
   FOOTER — dark #1A1A1A, yellow accents (tasarım)
   ========================================================================== */
body.ustapazar-theme .ustapazar-footer,
body.ustapazar-theme footer.ustapazar-footer,
body.ustapazar-theme .footer.ustapazar-footer {
    background: var(--footer-bg-color, var(--ustapazar-gray-10));
    color: var(--footer-text-color, var(--ustapazar-white));
    padding: 0;
    margin-top: 0;
}

.ustapazar-footer__links {
    background: var(--footer-bg-color, var(--ustapazar-gray-10));
    border-top: none;
    padding: 2.75rem 0 1.75rem;
}

.ustapazar-footer__title {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--ustapazar-white);
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ustapazar-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ustapazar-footer__list a {
    color: var(--footer-text-muted-color, var(--ustapazar-gray-64)) !important;
    text-decoration: none !important;
    font-size: 0.8125rem;
    display: inline-block;
    padding: 0.2rem 0;
}

.ustapazar-footer__list a:hover {
    color: var(--primary-color, var(--sf-primary)) !important;
}

.ustapazar-footer__text {
    color: var(--footer-text-muted-color, var(--ustapazar-gray-64));
    font-size: 0.8125rem;
    line-height: 1.55;
}

.ustapazar-footer__logo img {
    max-height: 48px;
    filter: brightness(0) invert(1);
}


.ustapazar-footer__bottom {
    background: var(--ustapazar-gray-7);
    color: var(--footer-text-muted-color, var(--ustapazar-gray-64));
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ustapazar-footer__bottom a {
    color: var(--footer-text-color, var(--ustapazar-slate-84)) !important;
    text-decoration: none;
}

.ustapazar-footer__bottom a:hover {
    color: var(--primary-color, var(--sf-primary)) !important;
}

.ustapazar-footer .form-control,
.ustapazar-footer input[type="email"] {
    background: var(--ustapazar-gray-16) !important;
    border-color: var(--ustapazar-gray-25) !important;
    color: var(--ustapazar-white) !important;
}

.ustapazar-footer__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--ustapazar-gray-25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ustapazar-white) !important;
    margin-right: 0.4rem;
    transition: background 0.15s, border-color 0.15s;
}

.ustapazar-footer__social a:hover {
    background: var(--primary-color, var(--sf-primary));
    border-color: var(--primary-color, var(--sf-primary));
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
}

/* Footer contact icons + copy */
.ustapazar-footer i.fas,
.ustapazar-footer i.far,
.ustapazar-footer i.fab {
    color: var(--primary-color, var(--sf-primary));
}

.ustapazar-footer__contact p {
    color: var(--footer-text-muted-color, var(--ustapazar-gray-64));
    font-size: 0.8125rem;
    margin-bottom: 0.45rem;
}

/* ==========================================================================
   LISTING / PDP / AUTH
   ========================================================================== */
.ustapazar-product-listing {
    background: var(--body-bg, var(--ustapazar-gray-97));
    padding: 1.25rem 0 2rem;
}

.ustapazar-product-listing .ustapazar-filters-sidebar,
body.ustapazar-theme .filters-sidebar {
    background: transparent;
    border: 0;
    padding: 0;
    border-radius: 0;
}

.ustapazar-product-listing .col-lg-3 {
    align-self: flex-start;
}

.ustapazar-product-listing .ustapazar-filters-sidebar {
    position: sticky;
    top: calc(var(--ustapazar-sticky-offset, 5.75rem));
    z-index: 2;
}

/* ==========================================================================
   LISTING FILTERS
   ========================================================================== */
.ustapazar-filter {
    --filter-accent: var(--primary-color, #FFCC00);
    --filter-border: #e5e5e5;
    --filter-text: #333;
    --filter-muted: #8c8c8c;
    background: var(--ustapazar-white);
    border: 1px solid var(--filter-border);
    border-radius: 8px;
    padding: 0 0.85rem;
}

.ustapazar-filter__group {
    border-bottom: 1px solid var(--filter-border);
    padding: 0.15rem 0;
}

.ustapazar-filter__group:last-of-type {
    border-bottom: 0;
}

.ustapazar-filter__summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    padding: 0.85rem 0.1rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--filter-text);
    line-height: 1.25;
}

.ustapazar-filter__summary::-webkit-details-marker { display: none; }
.ustapazar-filter__summary::marker { content: ''; }

.ustapazar-filter__chevron {
    font-size: 0.65rem;
    color: var(--ustapazar-gray-60-2);
    transition: transform 0.18s ease;
}

.ustapazar-filter__group:not([open]) .ustapazar-filter__chevron {
    transform: rotate(180deg);
}

.ustapazar-filter__body {
    padding: 0 0.1rem 0.85rem;
}

.ustapazar-filter__subtitle {
    margin: 0 0 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--filter-muted);
}

.ustapazar-filter__search input,
.ustapazar-filter__search .brand-search-input {
    width: 100%;
    border: 1px solid var(--ustapazar-gray-85);
    border-radius: 6px;
    padding: 0.55rem 0.7rem;
    font-size: 0.8125rem;
    color: var(--filter-text);
    background: var(--ustapazar-white);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ustapazar-filter__search input:focus,
.ustapazar-filter__search .brand-search-input:focus {
    border-color: var(--filter-accent);
    box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.2);
}

.ustapazar-filter__search {
    margin-bottom: 0.65rem;
}

.ustapazar-filter__options {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    max-height: 260px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.ustapazar-filter__option {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.1rem;
    margin: 0;
    cursor: pointer;
    font-size: 0.8125rem;
    color: var(--ustapazar-gray-28);
    line-height: 1.3;
}

.ustapazar-filter__option:hover { color: var(--ustapazar-gray-7); }

.ustapazar-filter__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.ustapazar-filter__box {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border: 1.5px solid var(--ustapazar-gray-77);
    border-radius: 3px;
    background: var(--ustapazar-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.12s ease, background 0.12s ease;
}

.ustapazar-filter__box--radio { border-radius: 50%; }

.ustapazar-filter__input:checked + .ustapazar-filter__box {
    background: var(--filter-accent);
    border-color: var(--filter-accent);
}

.ustapazar-filter__input:checked + .ustapazar-filter__box::after {
    content: '';
    width: 8px;
    height: 5px;
    border-left: 2px solid var(--ustapazar-gray-10);
    border-bottom: 2px solid var(--ustapazar-gray-10);
    transform: rotate(-45deg) translateY(-1px);
    display: block;
}

.ustapazar-filter__input--radio:checked + .ustapazar-filter__box--radio::after {
    width: 6px;
    height: 6px;
    border: 0;
    border-radius: 50%;
    background: var(--ustapazar-gray-10);
    transform: none;
}

.ustapazar-filter__label-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ustapazar-filter__count {
    color: var(--filter-muted);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.ustapazar-filter__cat-list {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.ustapazar-filter__cat-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.1rem;
    text-decoration: none !important;
    color: var(--ustapazar-gray-28) !important;
    font-size: 0.8125rem;
    line-height: 1.3;
}

.ustapazar-filter__cat-link:hover { color: var(--ustapazar-gray-7) !important; }

.ustapazar-filter__cat-link.is-active,
.ustapazar-filter__cat-link.fw-bold {
    color: var(--ustapazar-gray-7) !important;
    font-weight: 600;
}

.ustapazar-filter__check {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border: 1.5px solid var(--ustapazar-gray-77);
    border-radius: 3px;
    background: var(--ustapazar-white);
    position: relative;
}

.ustapazar-filter__cat-link.is-active .ustapazar-filter__check {
    background: var(--filter-accent);
    border-color: var(--filter-accent);
}

.ustapazar-filter__cat-link.is-active .ustapazar-filter__check::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 8px;
    height: 5px;
    border-left: 2px solid var(--ustapazar-gray-10);
    border-bottom: 2px solid var(--ustapazar-gray-10);
    transform: rotate(-45deg);
}

.ustapazar-filter__cat-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ustapazar-filter__cat-children {
    padding-left: 0.85rem;
    margin-top: 0.1rem;
}

.ustapazar-filter__colors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.ustapazar-filter__swatch {
    cursor: pointer;
    margin: 0;
}

.ustapazar-filter__swatch-dot {
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--ustapazar-gray-88);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.ustapazar-filter__swatch:hover .ustapazar-filter__swatch-dot,
.ustapazar-filter__swatch:has(input:checked) .ustapazar-filter__swatch-dot {
    border-color: var(--filter-accent);
    transform: scale(1.06);
}

.ustapazar-filter__price-inputs {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
}

.ustapazar-filter__price-inputs input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--ustapazar-gray-85);
    border-radius: 6px;
    padding: 0.45rem 0.55rem;
    font-size: 0.8125rem;
}

.ustapazar-filter__price-inputs input:focus {
    outline: none;
    border-color: var(--filter-accent);
}

.ustapazar-filter__price-sep { color: var(--filter-muted); }

.ustapazar-filter__apply-btn {
    width: 100%;
    border: 1px solid var(--filter-accent);
    background: var(--ustapazar-white);
    color: var(--dark-color, var(--ustapazar-gray-10));
    border-radius: 6px;
    padding: 0.45rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
}

.ustapazar-filter__apply-btn:hover {
    background: rgba(255, 204, 0, 0.1);
}

.ustapazar-filter__actions {
    display: flex;
    gap: 0.5rem;
    padding: 0.85rem 0.1rem 1rem;
    position: sticky;
    bottom: 0;
    background: linear-gradient(to top, var(--ustapazar-white) 70%, rgba(255, 255, 255, 0.85));
}

.ustapazar-filter__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 0.55rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    border: 1px solid transparent;
}

.ustapazar-filter__btn--primary {
    background: var(--filter-accent);
    border-color: var(--filter-accent);
    color: var(--dark-color, var(--ustapazar-gray-10));
}

.ustapazar-filter__btn--primary:hover {
    background: var(--sf-primary-hover);
    border-color: var(--sf-primary-hover);
}

.ustapazar-filter__btn--ghost {
    background: var(--ustapazar-white);
    border-color: var(--ustapazar-gray-82);
    color: var(--ustapazar-gray-33) !important;
}

.ustapazar-filter__btn--ghost:hover {
    border-color: var(--ustapazar-gray-60);
    color: var(--ustapazar-gray-13) !important;
}

.ustapazar-filter__more {
    display: inline-block;
    margin-top: 0.45rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--filter-accent);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}

.ustapazar-filter__more:hover { text-decoration: underline; }

.ustapazar-filter .brand-hidden,
.ustapazar-filter .cat-hidden {
    display: none !important;
}

/* Eski sınıf uyumu */
body.ustapazar-theme .filter-sidebar {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

/* Breadcrumb: tema container_class; iç içe kullanımda theme-shared nested kuralı geçerli. */

.ustapazar-product-listing .category-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ustapazar-gray-10);
    margin-bottom: 0.15rem !important;
}

.ustapazar-listing-header__plain {
    background: var(--ustapazar-white);
    border: 1px solid var(--ustapazar-gray-93);
    border-radius: 10px;
    padding: 1.15rem 1.25rem;
}

.ustapazar-category-banner {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    min-height: clamp(140px, 18vw, 200px);
    background: var(--dark-color, var(--ustapazar-gray-10));
    box-shadow: 0 4px 20px rgba(26, 26, 26, 0.1);
}

.ustapazar-category-banner__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.ustapazar-category-banner__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: inherit;
    padding: 1.35rem 1.5rem;
    color: var(--ustapazar-white);
    background: linear-gradient(90deg, rgba(26, 26, 26, 0.88) 0%, rgba(26, 26, 26, 0.55) 55%, rgba(26, 26, 26, 0.2) 100%);
}

.ustapazar-category-banner__title {
    font-size: clamp(1.25rem, 2vw, 1.65rem) !important;
    font-weight: 800 !important;
    color: var(--ustapazar-white) !important;
    margin: 0 0 0.35rem !important;
    border-left: 4px solid var(--primary-color, var(--sf-primary));
    padding-left: 0.75rem;
}

.ustapazar-category-banner__desc {
    margin: 0;
    max-width: 42rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
}

.ustapazar-product-grid {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
}

.ustapazar-product-grid > [class*="col-"] {
    display: flex;
}

.ustapazar-product-grid .ustapazar-product-card {
    width: 100%;
    height: 100%;
}

.ustapazar-product-listing .view-btn.active {
    background: var(--primary-color, var(--sf-primary));
    border-color: var(--primary-color, var(--sf-primary));
    color: var(--dark-color, var(--ustapazar-gray-10));
}

.ustapazar-product-listing .view-btn:hover {
    border-color: var(--primary-color, var(--sf-primary));
    color: var(--dark-color, var(--ustapazar-gray-10));
}

.ustapazar-product-listing .active-filter-tag {
    border: 1px solid rgba(255, 204, 0, 0.45);
    font-size: 0.8125rem;
    font-weight: 600;
}
.ustapazar-theme .ustapazar-product-listing .active-filter-tag {
    background: rgba(255, 204, 0, 0.15);
}

body.ustapazar-theme .ustapazar-product-listing .d-lg-none .btn-primary {
    background: var(--primary-color, var(--sf-primary)) !important;
    border-color: var(--primary-color, var(--sf-primary)) !important;
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
    font-weight: 700;
}

.ustapazar-product-listing .product-tools {
    background: var(--ustapazar-white);
    border-radius: 8px;
}
.ustapazar-theme .ustapazar-product-listing .product-tools {
    border: 1px solid var(--ustapazar-gray-93);
    padding: 0.65rem 0.85rem;
    margin-bottom: 1rem;
}

.ustapazar-product-listing .sort-select {
    min-width: 180px;
    font-size: 0.8125rem;
    border-color: var(--ustapazar-gray-87);
}

/* ==========================================================================
   PRODUCT DETAIL (PDP)
   ========================================================================== */
.ustapazar-pdp {
    background: var(--ustapazar-white);
}

.ustapazar-pdp__layout {
    display: grid;
    grid-template-columns: minmax(280px, 1.05fr) minmax(280px, 1.15fr) minmax(240px, 0.8fr);
    gap: 1.5rem 1.75rem;
    align-items: start;
    margin-top: 0.75rem;
}

.ustapazar-pdp__gallery {
    position: sticky;
    top: 5.5rem;
}

.ustapazar-pdp .main-image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: var(--ustapazar-gray-98);
    border: 1px solid var(--ustapazar-gray-93-2);
    aspect-ratio: 3 / 4;
}

.ustapazar-pdp .main-image-container .main-image,
.ustapazar-pdp .main-image {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
}

.ustapazar-pdp__badge {
    position: absolute;
    z-index: 2;
    font-size: 0.6875rem;
    font-weight: 800;
    line-height: 1.2;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    color: var(--ustapazar-white);
}

.ustapazar-pdp__badge--shipping {
    top: 0.75rem;
    left: 0.75rem;
    background: var(--ustapazar-slate-27-2);
}

.ustapazar-pdp__badge--bestseller {
    top: 0.75rem;
    left: 0.75rem;
    background: var(--primary-color, var(--sf-primary));
    color: var(--dark-color, var(--ustapazar-gray-10));
}

.ustapazar-pdp__badge--shipping + .ustapazar-pdp__badge--bestseller {
    top: 2.6rem;
}

.ustapazar-pdp__thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
}

.ustapazar-pdp__thumbs .thumbnail-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    flex: 0 0 auto;
    background: var(--ustapazar-gray-98-3);
}

.ustapazar-pdp__thumbs .thumbnail-image.active,
.ustapazar-pdp__thumbs .thumbnail-image:hover {
    border-color: var(--primary-color, var(--sf-primary));
}

.ustapazar-pdp .product-info {
    padding-left: 0;
}

.ustapazar-pdp__rank {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 204, 0, 0.12);
    color: var(--dark-color, var(--ustapazar-gray-10));
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.ustapazar-pdp__title,
.ustapazar-pdp .product-title {
    font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem) !important;
    font-weight: 800 !important;
    color: var(--body-color, var(--ustapazar-gray-10)) !important;
    line-height: 1.3 !important;
    margin: 0 0 0.75rem !important;
}

.ustapazar-pdp__meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-bottom: 0.65rem;
}

/* PDP stars — yellow */
.ustapazar-pdp .product-rating .stars i {
    color: var(--primary-color, var(--sf-primary));
    font-size: 0.85rem;
}

.ustapazar-pdp__review-summary .stars i,
.ustapazar-pdp__review-card .stars i {
    color: var(--primary-color, var(--sf-primary));
    font-size: 0.85rem;
}

.ustapazar-pdp__rating-score {
    font-weight: 800;
    color: var(--body-color, var(--ustapazar-gray-10));
    font-size: 0.95rem;
}

.ustapazar-pdp__meta-link {
    color: var(--dark-color, var(--ustapazar-gray-10));
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
}

.ustapazar-pdp__meta-link:hover {
    text-decoration: underline;
    color: var(--primary-color, var(--sf-primary));
}

.ustapazar-pdp__social-proof {
    color: var(--sf-success);
    font-size: 0.8125rem;
    font-weight: 700;
}

.ustapazar-pdp__brand-cat {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    color: var(--ustapazar-gray-46-2);
}

.ustapazar-pdp__brand-cat a {
    color: var(--dark-color, var(--ustapazar-gray-10));
    font-weight: 600;
    text-decoration: none;
}

.ustapazar-pdp__brand-cat a:hover {
    color: var(--primary-color, var(--sf-primary));
}

.ustapazar-pdp__sep { color: var(--ustapazar-slate-84); }

.ustapazar-pdp__price {
    margin-bottom: 1.25rem;
}

.ustapazar-pdp__price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
}

.ustapazar-pdp__price .current-price {
    line-height: 1.1;
}
.ustapazar-theme .ustapazar-pdp__price .current-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--price-color, var(--ustapazar-gray-10));
}

.ustapazar-pdp__price .old-price {
    font-size: 1rem;
    color: var(--ustapazar-gray-65);
    text-decoration: line-through;
}

.ustapazar-pdp__price .discount-badge {
    background: var(--ustapazar-red-94);
    color: var(--ustapazar-red-42);
    font-weight: 800;
    font-size: 0.8125rem;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}

.ustapazar-pdp .product-features {
    border-top: 1px solid var(--ustapazar-slate-96);
    padding-top: 1rem;
}

.ustapazar-pdp .product-meta {
    font-size: 0.8125rem;
    color: var(--ustapazar-gray-46-2);
}

.ustapazar-pdp .quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--ustapazar-gray-98-4);
    border: 1px solid var(--ustapazar-slate-91);
    border-radius: 10px;
    padding: 0 0.85rem;
    margin: 0;
    box-sizing: border-box;
}

.ustapazar-pdp .quantity-selector .form-label {
    margin: 0;
    font-size: 0.875rem;
    white-space: nowrap;
    line-height: 1;
}

.ustapazar-pdp__purchase {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 1rem 0 0.5rem;
}

.ustapazar-pdp__purchase-primary {
    --pdp-action-h: 52px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: stretch;
}

.ustapazar-pdp__purchase-primary .quantity-selector {
    flex: 0 1 auto;
    height: var(--pdp-action-h);
    min-height: var(--pdp-action-h);
    max-height: var(--pdp-action-h);
}

.ustapazar-pdp__purchase-primary .quantity-input {
    height: 34px;
    align-items: stretch;
}

.ustapazar-pdp__purchase-primary .quantity-input button,
.ustapazar-pdp__purchase-primary .quantity-input input,
.ustapazar-pdp__purchase-primary .quantity-input .quantity-display {
    height: 34px;
    min-height: 34px;
    max-height: 34px;
    line-height: 34px;
    box-sizing: border-box;
}

.ustapazar-pdp__purchase-primary .ustapazar-pdp__btn-cart,
.ustapazar-pdp__purchase-primary .add-to-cart-btn {
    flex: 1 1 160px;
    height: var(--pdp-action-h);
    min-height: var(--pdp-action-h);
    max-height: var(--pdp-action-h);
    padding-top: 0;
    padding-bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ustapazar-pdp__purchase-secondary {
    display: none;
}

.ustapazar-pdp__secondary-actions {
    --pdp-action-h: 48px;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.65rem;
    align-items: stretch;
    margin: 0.65rem 0 0.75rem;
}

.ustapazar-pdp__secondary-actions .ustapazar-pdp__btn-buy,
.ustapazar-pdp__secondary-actions .buy-now-btn {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: var(--pdp-action-h);
    min-height: var(--pdp-action-h);
    max-height: var(--pdp-action-h);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.ustapazar-pdp__secondary-actions .ustapazar-pdp__btn-wish,
.ustapazar-pdp__secondary-actions .ustapazar-pdp__btn-compare {
    flex: 0 0 var(--pdp-action-h);
    width: var(--pdp-action-h);
    height: var(--pdp-action-h);
    min-height: var(--pdp-action-h);
}

.ustapazar-pdp__btn-buy,
.ustapazar-pdp__btn-cart {
    min-height: 52px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1.0625rem;
    position: relative;
    letter-spacing: -0.01em;
}

.ustapazar-pdp__purchase-primary .ustapazar-pdp__btn-cart,
.ustapazar-pdp__purchase-primary .add-to-cart-btn {
    box-shadow: 0 4px 14px rgba(255, 204, 0, 0.45);
}

/* PDP "Hemen Al" — yellow outline */
.ustapazar-pdp__btn-buy {
    background: var(--ustapazar-white) !important;
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
    border: 2px solid var(--primary-color, var(--sf-primary)) !important;
}

.ustapazar-pdp__btn-buy:hover {
    background: rgba(255, 204, 0, 0.1) !important;
}

/* PDP "Sepete Ekle" — yellow */
.ustapazar-pdp__btn-cart,
.ustapazar-pdp .add-to-cart-btn {
    background: var(--primary-color, var(--sf-primary)) !important;
    border-color: var(--primary-color, var(--sf-primary)) !important;
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
}

.ustapazar-pdp__btn-cart:hover,
.ustapazar-pdp .add-to-cart-btn:hover {
    background: var(--primary-dark, var(--sf-primary-hover)) !important;
    border-color: var(--primary-dark, var(--sf-primary-hover)) !important;
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
}

.ustapazar-pdp__btn-wish,
.ustapazar-pdp__btn-compare {
    width: 48px;
    min-height: 48px;
    border-radius: 50% !important;
    border: 1px solid var(--ustapazar-slate-91) !important;
    background: var(--ustapazar-white) !important;
    color: var(--ustapazar-red-60) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

.ustapazar-pdp__btn-wish.is-active {
    background: var(--ustapazar-red-60) !important;
    border-color: var(--ustapazar-red-60) !important;
    color: var(--ustapazar-white) !important;
}

.ustapazar-pdp__btn-compare {
    color: var(--ustapazar-slate-27) !important;
}

/* PDP aside */
.ustapazar-pdp__aside {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: sticky;
    top: 5.5rem;
}

.ustapazar-pdp__aside-card {
    background: var(--ustapazar-white);
    border: 1px solid var(--ustapazar-slate-91);
    border-radius: 10px;
    padding: 1rem 1.1rem;
}

.ustapazar-pdp__aside-title {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--body-color, var(--ustapazar-gray-10));
    margin: 0 0 0.85rem;
}

.ustapazar-pdp__campaigns,
.ustapazar-pdp__trust {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ustapazar-pdp__campaigns li,
.ustapazar-pdp__delivery-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--ustapazar-slate-96);
}

.ustapazar-pdp__campaigns li:last-child,
.ustapazar-pdp__delivery-row:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.ustapazar-pdp__campaigns i,
.ustapazar-pdp__delivery-row i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 204, 0, 0.1);
    color: var(--dark-color, var(--ustapazar-gray-10));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.ustapazar-pdp__campaigns strong,
.ustapazar-pdp__delivery-row strong {
    display: block;
    font-size: 0.8125rem;
    color: var(--body-color, var(--ustapazar-gray-10));
}

.ustapazar-pdp__campaigns span,
.ustapazar-pdp__delivery-row span {
    display: block;
    font-size: 0.75rem;
    color: var(--ustapazar-gray-46-2);
    margin-top: 0.1rem;
}

.ustapazar-pdp__chip {
    display: inline-flex;
    margin-top: 0.65rem;
    background: var(--ustapazar-teal-96);
    color: var(--ustapazar-teal-24);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
}

.ustapazar-pdp__trust li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ustapazar-slate-27);
    padding: 0.4rem 0;
}

.ustapazar-pdp__trust i {
    color: var(--primary-color, var(--sf-primary));
    width: 1rem;
}

/* PDP Tabs */
.ustapazar-pdp__tabs {
    background: var(--ustapazar-white);
    border: 1px solid var(--ustapazar-gray-93);
    border-radius: 12px;
    padding: 0.35rem 0.75rem 1.25rem;
    margin-top: 0.5rem;
}

.ustapazar-pdp__tabs .nav-tabs {
    border-bottom: 1px solid var(--ustapazar-slate-91);
    gap: 0.25rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
}

.ustapazar-pdp__tabs .nav-link {
    font-weight: 700;
    white-space: nowrap;
}
.ustapazar-theme .ustapazar-pdp__tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    color: var(--ustapazar-gray-46-2);
    padding: 0.85rem 1rem;
    background: transparent;
}

.ustapazar-pdp__tabs .nav-link:hover {
    color: var(--body-color, var(--ustapazar-gray-10)) !important;
    background: rgba(255, 204, 0, 0.08) !important;
}

.ustapazar-theme .ustapazar-pdp__tabs .nav-link.active {
    color: var(--body-color, var(--ustapazar-gray-10));
    border-bottom-color: var(--primary-color, var(--sf-primary));
    background: transparent;
}

.ustapazar-pdp__tabs .tab-content {
    padding: 0 0.25rem;
}

body.ustapazar-theme .ustapazar-pdp .zoom-button {
    background: rgba(26, 26, 26, 0.75);
}

body.ustapazar-theme .ustapazar-pdp .thumbnail-image:hover,
body.ustapazar-theme .ustapazar-pdp .thumbnail-image.active {
    border-color: var(--primary-color, var(--sf-primary)) !important;
}

/* Tab badge — yellow */
.ustapazar-pdp__tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    margin-left: 0.35rem;
    border-radius: 999px;
    background: var(--primary-color, var(--sf-primary));
    color: var(--dark-color, var(--ustapazar-gray-10));
    font-size: 0.7rem;
    font-weight: 800;
}

.ustapazar-pdp__info-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    padding: 1.25rem 0 0.5rem;
}

.ustapazar-pdp__info-desc h4,
.ustapazar-pdp__info-extra h4,
.ustapazar-pdp__reviews-heading {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--body-color, var(--ustapazar-gray-10));
    margin: 0 0 0.85rem;
}

.ustapazar-pdp__info-extra ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ustapazar-pdp__info-extra li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1rem;
    font-size: 0.875rem;
    color: var(--ustapazar-slate-34);
}

.ustapazar-pdp__info-extra li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color, var(--sf-primary));
}

/* Reviews */
.ustapazar-pdp__reviews {
    padding-top: 0.5rem;
}

.ustapazar-pdp__review-summary {
    background: var(--ustapazar-yellow-95);
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1rem;
}

.ustapazar-pdp__review-summary-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
}

.ustapazar-pdp__review-score {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--body-color, var(--ustapazar-gray-10));
}

.ustapazar-pdp__review-counts {
    color: var(--ustapazar-gray-46-2);
    font-size: 0.875rem;
    font-weight: 600;
}

.ustapazar-pdp__review-track {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
}

.ustapazar-pdp__review-card {
    flex: 0 0 min(320px, 85vw);
    scroll-snap-align: start;
    border: 1px solid var(--ustapazar-slate-91);
    border-radius: 10px;
    padding: 1rem;
    background: var(--ustapazar-white);
    min-height: 160px;
}

.ustapazar-pdp__review-card-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.65rem;
    margin-bottom: 0.5rem;
}

.ustapazar-pdp__review-card-top strong {
    font-size: 0.8125rem;
    color: var(--body-color, var(--ustapazar-gray-10));
}

.ustapazar-pdp__review-card-top small {
    margin-left: auto;
    color: var(--ustapazar-gray-65);
    font-size: 0.75rem;
}

.ustapazar-pdp__review-verified {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--sf-success);
    margin-bottom: 0.4rem;
}

.ustapazar-pdp__review-card p {
    font-size: 0.875rem;
    color: var(--ustapazar-slate-27);
    margin: 0;
    line-height: 1.5;
}

.ustapazar-pdp__reviews-footer,
.ustapazar-pdp__reviews-empty {
    text-align: center;
    margin-top: 1.25rem;
}

.ustapazar-pdp__reviews-all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--ustapazar-slate-96);
    color: var(--ustapazar-slate-27);
    border: none;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.8125rem;
    padding: 0.7rem 1.4rem;
    text-decoration: none;
}

.ustapazar-pdp__reviews-all:hover {
    background: var(--primary-color, var(--sf-primary)) !important;
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
}

.ustapazar-pdp__related {
    margin-top: 2.5rem;
    padding: 1.5rem 0 0.5rem !important;
    background: transparent !important;
}

.ustapazar-pdp__related-track .ustapazar-shelf__item {
    flex: 0 0 calc((100% - 0.75rem * 3) / 4);
    width: calc((100% - 0.75rem * 3) / 4);
    max-width: none;
}

@media (max-width: 1199.98px) {
    .ustapazar-pdp__layout {
        grid-template-columns: 1fr 1fr;
    }

    .ustapazar-pdp__aside {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        position: static;
    }
}

@media (max-width: 991.98px) {
    .ustapazar-pdp__layout {
        grid-template-columns: 1fr;
    }

    .ustapazar-pdp__gallery,
    .ustapazar-pdp__aside {
        position: static;
    }

    .ustapazar-pdp__aside {
        grid-template-columns: 1fr;
    }

    .ustapazar-pdp .main-image-container {
        aspect-ratio: 1 / 1;
    }

    .ustapazar-pdp__info-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .ustapazar-pdp__related-track .ustapazar-shelf__item {
        flex-basis: calc((100% - 0.75rem * 2) / 3);
        width: calc((100% - 0.75rem * 2) / 3);
    }
}

@media (max-width: 575.98px) {
    .ustapazar-pdp__related-track .ustapazar-shelf__item {
        flex-basis: calc((100% - 0.75rem) / 2);
        width: calc((100% - 0.75rem) / 2);
    }

    .ustapazar-pdp__purchase-primary {
        flex-direction: column;
    }

    .ustapazar-pdp__purchase-primary .ustapazar-pdp__btn-cart,
    .ustapazar-pdp__purchase-primary .add-to-cart-btn {
        width: 100%;
        flex: 1 1 auto;
    }

    .ustapazar-pdp__secondary-actions {
        flex-wrap: nowrap;
    }

    .ustapazar-pdp__secondary-actions .ustapazar-pdp__btn-wish,
    .ustapazar-pdp__secondary-actions .ustapazar-pdp__btn-compare {
        width: var(--pdp-action-h, 48px);
        flex: 0 0 var(--pdp-action-h, 48px);
        border-radius: 50% !important;
    }
}

/* ==========================================================================
   AUTH / LOGIN
   ========================================================================== */
.ustapazar-login-page,
.login-container {
    background: var(--body-bg, var(--ustapazar-gray-97)) !important;
    min-height: calc(100vh - 200px);
}

body.ustapazar-theme .login-card,
body.ustapazar-theme .register-card {
    border-radius: 10px !important;
    border: 1px solid var(--ustapazar-gray-93-2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06) !important;
}

/* ==========================================================================
   GLOBAL BUTTON OVERRIDES — yellow primary
   ========================================================================== */
body.ustapazar-theme .btn-primary {
    background-color: var(--primary-color, var(--sf-primary)) !important;
    border-color: var(--primary-color, var(--sf-primary)) !important;
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
}

body.ustapazar-theme .btn-primary:hover,
body.ustapazar-theme .btn-primary:focus {
    background-color: var(--primary-dark, var(--sf-primary-hover)) !important;
    border-color: var(--primary-dark, var(--sf-primary-hover)) !important;
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
}

body.ustapazar-theme .btn-outline-primary {
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
    border-color: var(--primary-color, var(--sf-primary)) !important;
}

body.ustapazar-theme .btn-outline-primary:hover {
    background-color: var(--primary-color, var(--sf-primary)) !important;
    border-color: var(--primary-color, var(--sf-primary)) !important;
    color: var(--dark-color, var(--ustapazar-gray-10)) !important;
}

/* Features / brands / showcase soften */
body.ustapazar-theme .features-section,
body.ustapazar-theme .brands-section,
body.ustapazar-theme .showcase-section {
    background: var(--body-bg, var(--ustapazar-gray-97));
}

/* ==========================================================================
   CATALOG SHOWCASE TEMPLATES
   ========================================================================== */
.ustapazar-showcase {
    margin: 1.5rem 0;
}

.ustapazar-showcase--shelf {
    padding: 1.25rem 0 1.75rem;
}

.ustapazar-showcase__desc {
    font-size: 0.925rem;
    margin-top: 0.35rem;
}

.ustapazar-showcase-banner {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 1.25rem;
    align-items: stretch;
    padding: 1.25rem;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--ustapazar-gray-10) 0%, var(--ustapazar-gray-16) 55%, var(--ustapazar-gray-10) 100%);
    color: var(--ustapazar-white);
}

.ustapazar-showcase-banner__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 0.25rem;
}

.ustapazar-showcase-banner__title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
    color: var(--ustapazar-white);
}

.ustapazar-showcase-banner__desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.925rem;
}

/* Showcase CTA — yellow */
.ustapazar-showcase-banner__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    margin-top: 0.35rem;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    background: var(--primary-color, var(--sf-primary));
    color: var(--dark-color, var(--ustapazar-gray-10));
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s;
}

.ustapazar-showcase-banner__cta:hover {
    background: var(--primary-dark, var(--sf-primary-hover));
    color: var(--dark-color, var(--ustapazar-gray-10));
}

.ustapazar-showcase-banner__track {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
}

.ustapazar-showcase-banner__track::-webkit-scrollbar {
    height: 6px;
}

.ustapazar-showcase-banner__track::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 999px;
}

.ustapazar-showcase-banner__item {
    flex: 0 0 180px;
    max-width: 180px;
    scroll-snap-align: start;
}

.ustapazar-showcase-banner__item .product-card,
.ustapazar-showcase-banner__item .ustapazar-product-card {
    background: var(--ustapazar-white);
    border-radius: 8px;
}

@media (max-width: 767.98px) {
    .ustapazar-showcase-banner {
        grid-template-columns: 1fr;
    }

    .ustapazar-showcase-banner__item {
        flex-basis: 46vw;
        max-width: 200px;
    }
}

body.ustapazar-theme .section-title h2,
body.ustapazar-theme .section-heading h2 {
    font-weight: 800 !important;
    color: var(--body-color, var(--ustapazar-gray-10)) !important;
}

/* Offcanvas */
body.ustapazar-theme .offcanvas-header.bg-primary {
    background: var(--dark-color, var(--ustapazar-gray-10)) !important;
}

/* ==========================================================================
   RESPONSIVE — Header & Misc
   ========================================================================== */
@media (max-width: 991.98px) {
    .ustapazar-main-header__row {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 0.75rem;
    }

    .ustapazar-main-header__search {
        grid-column: 1 / -1;
        order: 3;
        width: 100%;
        max-width: 100%;
        justify-self: stretch;
    }

    .ustapazar-header-action__label {
        display: none;
    }

    .ustapazar-header-action {
        min-width: 44px;
        padding: 0.35rem;
    }

    .ustapazar-banner-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 140px;
    }

    
    .ustapazar-hero-slider,
    .ustapazar-hero-slider .carousel-inner,
    .ustapazar-hero-slider .carousel-item {
        height: clamp(180px, 48vw, 260px);
    }
}

@media (max-width: 575.98px) {
    .ustapazar-campaign-strip__thumb {
        width: 64px;
        height: 64px;
        border-radius: 10px !important;
    }

    .ustapazar-flash__title {
        font-size: 1.1rem !important;
    }
}

/* ==========================================================================
   DARK MODE
   ========================================================================== */
[data-bs-theme="dark"] body.ustapazar-theme,
[data-bs-theme="dark"].ustapazar-theme {
    background: var(--dark-body-bg, var(--ustapazar-slate-11));
    color: var(--dark-body-color, var(--ustapazar-gray-98-3));
}

[data-bs-theme="dark"] .ustapazar-site-header,
[data-bs-theme="dark"] .ustapazar-main-header,
[data-bs-theme="dark"] .ustapazar-category-nav,
[data-bs-theme="dark"] .ustapazar-campaign-strip,
[data-bs-theme="dark"] .ustapazar-footer__links,
[data-bs-theme="dark"] .ustapazar-shelf--bestsellers,
[data-bs-theme="dark"] .ustapazar-shelf--new {
    background: var(--dark-main-header-bg, var(--ustapazar-slate-17-2));
}

[data-bs-theme="dark"] .ustapazar-product-card {
    background: var(--dark-card-bg, var(--ustapazar-slate-17-2)) !important;
    border-color: var(--dark-border-color, var(--ustapazar-slate-27-2)) !important;
}

[data-bs-theme="dark"] .ustapazar-search-bar {
    background: var(--dark-input-bg, var(--ustapazar-slate-27-2));
}

[data-bs-theme="dark"] .ustapazar-search-bar .form-control {
    color: var(--ustapazar-gray-98-3) !important;
}

/* Telefon: logo kolonu esner, ikonlar küçülür — header 375 px'e sığar (yatay taşma yok) */
@media (max-width: 575.98px) {
    .ustapazar-main-header__row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.5rem;
    }

    .ustapazar-main-header__logo {
        min-width: 0;
        gap: 0.5rem;
    }

    .ustapazar-main-header__logo .logo {
        display: block;
        min-width: 0;
    }

    .ustapazar-main-header__logo img {
        max-height: 36px;
        max-width: 100%;
    }

    .ustapazar-header-action {
        min-width: 38px;
        padding: 0.25rem;
    }
}

/* Telefon: logo görseli yoksa işaret + site adı tek satır, sığmazsa … (slogan gizlenir) */
@media (max-width: 575.98px) {
    .ustapazar-main-header__logo .ustapazar-logo,
    .ustapazar-logo__text {
        min-width: 0;
    }

    .ustapazar-main-header__logo .ustapazar-logo {
        display: flex;
        gap: 0.5rem;
    }

    .ustapazar-logo__mark {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .ustapazar-logo__name {
        font-size: 1.05rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ustapazar-logo__tagline {
        display: none;
    }
}

/* Dar telefon (320–359 px): ikon kutuları daralır, logoya yer kalır */
@media (max-width: 359.98px) {
    .ustapazar-main-header__row,
    .ustapazar-main-header__logo {
        gap: 0.25rem;
    }

    .ustapazar-main-header__actions {
        gap: 0;
    }

    .ustapazar-header-action {
        min-width: 32px;
        padding: 0.25rem 0.15rem !important;
    }

    .ustapazar-header-action__icon,
    .btn-menu-toggle {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   LISTING — chips, empty, toolbar polish
   ========================================================================== */
.ustapazar-listing__toolbar {
    background: var(--sf-surface);
    border: 1px solid var(--sf-border);
    border-radius: var(--sf-radius);
}
.ustapazar-theme .ustapazar-listing__toolbar {
    padding: 0.65rem 0.85rem;
    margin-bottom: 1rem;
    border-top: 0;
    border-bottom: 0;
}

.ustapazar-listing__count {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--sf-text);
}

.ustapazar-listing__views .view-btn {
    min-width: 44px;
    min-height: 44px;
}

.ustapazar-listing__views .view-btn.active {
    background: var(--sf-primary);
    border-color: var(--ustapazar-gray-10);
    color: var(--ustapazar-gray-10);
}

.ustapazar-listing__chips-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--sf-text-muted);
}

.ustapazar-listing__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 4px;
    background: var(--sf-surface-alt);
    border: 1px solid var(--sf-border);
    color: var(--sf-text);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    min-height: 36px;
}

.ustapazar-listing__chip:hover {
    border-color: var(--ustapazar-gray-10);
    background: var(--ustapazar-yellow-92);
    color: var(--ustapazar-gray-10);
}

.ustapazar-listing__chip-swatch {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.ustapazar-listing__chips-clear {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--sf-danger);
    text-decoration: none;
    margin-left: auto;
}

.ustapazar-listing__empty {
    text-align: center;
    padding: 3rem 1.25rem;
    background: var(--sf-surface-alt);
    border: 1px dashed var(--sf-border);
    border-radius: var(--sf-radius);
}

.ustapazar-listing__empty-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    border-radius: 4px;
    display: grid;
    place-items: center;
    background: var(--ustapazar-white);
    color: var(--sf-text-muted);
    font-size: 1.35rem;
    border: 1px solid var(--sf-border);
}

.ustapazar-listing__empty-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 0.4rem;
}

.ustapazar-listing__empty-text {
    color: var(--sf-text-muted);
    margin: 0 0 1.25rem;
    font-size: 0.925rem;
}

.ustapazar-listing__filter-toggle {
    min-height: 48px;
    font-weight: 700;
    color: var(--ustapazar-gray-10) !important;
}

.ustapazar-showcase {
    scroll-margin-top: 5rem;
}

.ustapazar-brand-item__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    padding: 0.75rem;
    background: var(--ustapazar-white);
    border: 1px solid var(--sf-border);
    border-radius: 4px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ustapazar-brand-item__link:hover {
    border-color: var(--ustapazar-gray-10);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ustapazar-brand-item__link img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.ustapazar-pdp__preview-banner {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: var(--ustapazar-gray-10);
    color: var(--sf-primary);
    padding: 10px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.ustapazar-pdp__features-title {
    font-size: 0.9375rem;
    font-weight: 800;
    margin: 0 0 0.75rem;
}

.ustapazar-pdp__feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1rem;
}

.ustapazar-pdp__feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.ustapazar-pdp__feature-item > i {
    color: var(--sf-success);
    margin-top: 0.2rem;
}

.ustapazar-pdp__sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    border-top: 2px solid var(--ustapazar-gray-10);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.1);
}

.ustapazar-pdp__sticky-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
}

.ustapazar-pdp__sticky-price {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--sf-price);
}

.ustapazar-pdp__sticky-old {
    font-size: 0.75rem;
    color: var(--sf-price-old);
    text-decoration: line-through;
}

.ustapazar-pdp__sticky-cart {
    flex: 0 0 auto;
    min-height: 48px;
    min-width: 148px;
    font-weight: 800 !important;
    border-radius: 4px !important;
    background: var(--sf-primary) !important;
    border-color: var(--ustapazar-gray-10) !important;
    color: var(--ustapazar-gray-10) !important;
}

body:has(.ustapazar-pdp__sticky-bar) {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 575.98px) {
    .ustapazar-pdp__feature-list {
        grid-template-columns: 1fr;
    }
}

[data-bs-theme="dark"] .ustapazar-listing__toolbar,
[data-bs-theme="dark"] .ustapazar-listing__empty,
[data-bs-theme="dark"] .ustapazar-pdp__sticky-bar,
[data-bs-theme="dark"] .ustapazar-brand-item__link {
    background: var(--sf-surface);
    border-color: var(--sf-border);
}

[data-bs-theme="dark"] .ustapazar-listing__chip {
    background: var(--sf-surface-alt);
    color: var(--sf-text);
}
