/* Tazedal Base & Reset */

/* — Font Face: Inter — */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/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+2000-206F, U+2074, 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: 400;
    font-display: swap;
    src: url('../fonts/inter-latin-ext-400.woff2') format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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-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+2000-206F, U+2074, 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-latin-ext-500.woff2') format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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-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+2000-206F, U+2074, 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-latin-ext-600.woff2') format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* — Font Face: Montserrat — */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/montserrat-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+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/montserrat-latin-ext-500.woff2') format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/montserrat-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+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/montserrat-latin-ext-600.woff2') format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/montserrat-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+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/montserrat-latin-ext-700.woff2') format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* — Reset — */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -moz-tab-size: 4;
    tab-size: 4;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--td-primary-rgb), 0.25) transparent;
    overflow-x: clip;
}

body {
    font-family: var(--td-font-body);
    font-size: var(--td-text-base);
    line-height: 1.6;
    color: var(--td-text-primary);
    background-color: var(--td-warm-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

/* Global Modal & Drawer Scroll Lock (html + body birlikte kilitlenmeli) */
html.tazedal-scroll-locked,
body.tazedal-scroll-locked,
html:has(body.tazedal-modal-open),
body.tazedal-modal-open,
html:has(body.has-story-modal-open),
body.has-story-modal-open,
html:has(body.select-open),
body.select-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
}

/* Modal ve Çekmece içi kaydırılabilir alanlarda scroll-chaining (arka plana sızma) engeli */
.tazedal-side-cart-items-wrapper,
.custom-select-options,
.quick-add-dialog,
.harvest-modal-dialog,
.review-modal-body,
.td-modal-body,
.tazedal-modal-container,
.tazedal-modal-dialog,
.puan-modal-table-wrap,
.mobile-menu,
#mobile-categories-drawer .drawer-body,
.desktop-live-results,
.mobile-live-results,
.mobile-search-body {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* — Headings — */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--td-font-heading);
    line-height: 1.2;
    color: var(--td-text-primary);
}

h1 {
    font-size: var(--td-text-5xl);
    font-weight: 700;
}

h2 {
    font-size: var(--td-text-3xl);
    font-weight: 700;
}

h3 {
    font-size: var(--td-text-2xl);
    font-weight: 600;
}

h4 {
    font-size: var(--td-text-xl);
    font-weight: 600;
}

h5 {
    font-size: var(--td-text-lg);
    font-weight: 600;
}

h6 {
    font-size: var(--td-text-md);
    font-weight: 600;
}

/* — Links — */
a {
    color: var(--td-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* — Selection — */
::selection {
    background-color: var(--td-primary);
    color: #fff;
}

/* — Focus — */
:focus-visible {
    outline: 2px solid var(--td-primary);
    outline-offset: 2px;
}

/* — Scrollbar — */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(var(--td-primary-rgb), 0.25);
    border-radius: var(--td-radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--td-primary-rgb), 0.4);
}

/* — Layout Utilities — */
.container {
    max-width: var(--td-container);
    margin-inline: auto;
    padding-inline: var(--td-space-6);
}

@media (max-width: 767px) {
    .container {
        padding-inline: var(--td-space-4);
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--td-space-12);
}

.section-title {
    font-family: var(--td-font-heading);
    font-size: var(--td-text-3xl);
    font-weight: 700;
    color: var(--td-text-primary);
    margin-bottom: var(--td-space-4);
}

.section-subtitle {
    font-size: var(--td-text-lg);
    color: var(--td-text-secondary);
    max-width: 600px;
    margin-inline: auto;
}

/* — Screen Reader Only — */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
