/* MARAŞ 18 — Ürün listesi (referans pixel-perfect) */

body.page-products.theme-maras18 {
    --primary-green: #22251F;
    --secondary-green: #2F5D3A;
    --walnut-brown: #C25808;
    --accent-orange: #D9650A;
    --cream: #FAF8F5;
    --text-dark: #1C1F1A;
    --m18-wrap: 1280px;
    background: #ffffff;
}

.m18p-page {
    color: var(--text-dark);
    font-family: "Poppins", system-ui, sans-serif;
}

/* Banner yokken site-page boşluğu filtreleri aşağıda bırakıyordu */
.page-products .site-page:has(.m18p-page--flat) {
    padding-top: 0;
}

.m18p-page--flat .m18p-layout {
    padding-top: 1rem;
}

/* ── Hero (video arka plan — kategoriler ile aynı mantık) ── */
.m18p-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-green);
    overflow: hidden;
    isolation: isolate;
}

.m18p-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: var(--primary-green);
}

.m18p-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
}

.m18p-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(22, 24, 19, 0.72) 0%, rgba(34, 37, 31, 0.82) 55%, rgba(22, 24, 19, 0.9) 100%),
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(217, 101, 10, 0.18), transparent 55%);
    pointer-events: none;
}

.m18p-hero__inner {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 40rem;
    margin-inline: auto;
    padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.75rem);
    text-align: center;
}

.m18p-hero__copy {
    max-width: 36rem;
    margin-inline: auto;
}

.m18p-hero__crumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .45rem;
    margin: 0 0 1rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
}

.m18p-hero__crumb a {
    color: inherit;
    text-decoration: none;
}

.m18p-hero__crumb a:hover {
    color: #fff;
}

.m18p-hero__brand {
    margin: 0 0 .55rem;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1;
    color: rgba(255, 255, 255, .22);
}

.m18p-hero__title {
    margin: -1.2rem 0 .85rem;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
}

.m18p-hero__sub {
    margin: 0 auto;
    max-width: 32rem;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .88);
}

.m18p-hero__desc {
    margin: .65rem auto 0;
    max-width: 34rem;
    font-size: .92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .78);
}

.m18p-hero__script {
    margin: 1.15rem 0 0;
    font-family: "Great Vibes", "Segoe Script", "Brush Script MT", cursive;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    line-height: 1.2;
    color: #efd7a8;
    transform: rotate(-3deg);
}

@media (prefers-reduced-motion: reduce) {
    .m18p-hero__video {
        transform: none;
    }
}

/* ── Layout ── */
.m18p-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.65rem;
    padding: 2rem 0 2.75rem;
    align-items: start;
}

.m18p-layout--solo {
    grid-template-columns: minmax(0, 1fr);
}

.m18p-layout__overlay {
    display: none;
}

.m18p-layout__sidebar {
    position: sticky;
    align-self: start;
    /* Kayan üst menü kısalınca filtreler banner boşluğunda aşağıda kalmasın */
    top: 4.25rem;
}

/* ── Filters ── */
.m18p-filters__stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.m18p-filters__close {
    display: none;
    align-items: center;
    gap: .4rem;
    margin-bottom: .5rem;
    padding: .5rem .75rem;
    border: 1px solid #e6dfd3;
    border-radius: 10px;
    background: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.m18p-filter-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.15rem 1.1rem 1.2rem;
    box-shadow: 0 10px 28px rgba(34, 37, 31, .06);
    border: 1px solid rgba(34, 37, 31, .06);
}

.m18p-filter-card__title {
    margin: 0 0 .85rem;
    font-size: .92rem;
    font-weight: 800;
    color: var(--text-dark);
}

.m18p-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.m18p-cat-list__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .55rem .65rem;
    border: 0;
    border-left: 3px solid transparent;
    border-radius: 8px;
    background: transparent;
    font: inherit;
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

.m18p-cat-list__btn:hover {
    background: rgba(250, 248, 245, .65);
}

.m18p-cat-list__btn.is-active {
    background: var(--cream);
    border-left-color: var(--accent-orange);
    color: var(--walnut-brown);
}

.m18p-cat-list__count {
    color: #8a8278;
    font-weight: 600;
    font-size: .82rem;
}

/* Price range */
.m18p-price__track {
    position: relative;
    height: 2rem;
    margin: .25rem 0 .65rem;
}

.m18p-price__track::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: #e8e2d8;
}

.m18p-price__track::after {
    content: "";
    position: absolute;
    top: 50%;
    height: 4px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: var(--walnut-brown);
    left: var(--m18p-price-min, 0%);
    right: calc(100% - var(--m18p-price-max, 100%));
}

.m18p-price__track input[type="range"] {
    position: absolute;
    left: 0;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    pointer-events: none;
    appearance: none;
    background: transparent;
    height: 4px;
}

.m18p-price__track input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--walnut-brown);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(194, 88, 8, .35);
    cursor: pointer;
}

.m18p-price__track input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--walnut-brown);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(194, 88, 8, .35);
    cursor: pointer;
}

.m18p-price__labels {
    display: flex;
    justify-content: space-between;
    font-size: .82rem;
    font-weight: 700;
    color: var(--walnut-brown);
}

.m18p-checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.m18p-check {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    cursor: pointer;
    font-size: .86rem;
    font-weight: 600;
    color: var(--text-dark);
}

.m18p-check input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.m18p-check__box {
    width: 1.05rem;
    height: 1.05rem;
    margin-top: .12rem;
    flex-shrink: 0;
    border: 1.5px solid #c9bfb0;
    border-radius: 4px;
    background: #fff;
    position: relative;
}

.m18p-check input:checked + .m18p-check__box {
    background: var(--secondary-green);
    border-color: var(--secondary-green);
}

.m18p-check input:checked + .m18p-check__box::after {
    content: "";
    position: absolute;
    left: .28rem;
    top: .08rem;
    width: .28rem;
    height: .55rem;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.m18p-check__count {
    color: #8a8278;
    font-weight: 600;
}

.m18p-promo {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .75rem;
    align-items: center;
    padding: 1rem;
    border-radius: 12px;
    background: var(--secondary-green);
    color: #fff;
    overflow: hidden;
}

.m18p-promo__icon {
    color: #fff;
    opacity: .95;
}

.m18p-promo__copy strong {
    display: block;
    font-size: .88rem;
    margin-bottom: .25rem;
}

.m18p-promo__copy p {
    margin: 0;
    font-size: .78rem;
    opacity: .88;
    line-height: 1.45;
}

.m18p-promo__img {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .25);
}

/* ── Toolbar ── */
.m18p-guide {
    padding: 1.25rem 0 0.25rem;
    max-width: 46rem;
}
.m18p-guide__title {
    margin: 0 0 0.65rem;
    font-size: 1.65rem;
    line-height: 1.25;
    color: var(--m18-green, #22251F);
}
.m18p-guide p {
    margin: 0 0 0.75rem;
    color: var(--m18-ink, #1C1F1A);
    font-size: 0.95rem;
    line-height: 1.6;
}
.m18p-guide__links a {
    color: var(--m18-accent, #D9650A);
    font-weight: 650;
}

.m18p-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1rem;
    margin-bottom: 1.25rem;
    padding: .85rem 1rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(34, 37, 31, .06);
    box-shadow: 0 8px 22px rgba(34, 37, 31, .04);
}

.m18p-toolbar__filter-btn {
    display: none;
    align-items: center;
    gap: .4rem;
    padding: .5rem .85rem;
    border: 1px solid #e0d8cc;
    border-radius: 10px;
    background: var(--cream);
    font: inherit;
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
    color: var(--text-dark);
}

.m18p-toolbar__count {
    margin: 0;
    flex: 1 1 auto;
    font-size: .88rem;
    color: #5c554c;
}

.m18p-toolbar__count strong {
    color: var(--text-dark);
    font-weight: 800;
}

.m18p-toolbar__actions {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-left: auto;
}

.m18p-toolbar__sort {
    margin: 0;
}

.m18p-toolbar__select {
    min-width: 11.5rem;
    padding: .5rem 2rem .5rem .75rem;
    border: 1px solid #e0d8cc;
    border-radius: 10px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235c554c' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right .65rem center;
    appearance: none;
    font: inherit;
    font-size: .84rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
}

.m18p-toolbar__views {
    display: inline-flex;
    border: 1px solid #e0d8cc;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.m18p-toolbar__view {
    display: grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 0;
    background: transparent;
    color: #8a8278;
    cursor: pointer;
}

.m18p-toolbar__view.is-active {
    background: var(--cream);
    color: var(--walnut-brown);
}

/* ── Product grid ── */
.m18p-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
    align-items: stretch;
}

.m18p-grid[data-view="list"] {
    grid-template-columns: 1fr;
}

.m18p-grid[data-view="list"] .m18p-card {
    flex-direction: row;
    max-width: none;
}

.m18p-grid[data-view="list"] .m18p-card__media {
    width: 200px;
    flex-shrink: 0;
}

.m18p-grid[data-view="list"] .m18p-card__body {
    flex: 1;
    min-width: 0;
    justify-content: center;
}

.m18p-grid[data-view="list"] .m18p-card__price {
    flex-direction: column;
    align-items: flex-start;
    flex-basis: auto;
    gap: .1rem;
    height: auto;
    overflow: visible;
}

.m18p-grid[data-view="list"] .m18p-card__price-compare {
    flex: 0 0 auto;
    line-height: 1.1;
}

.m18p-card {
    position: relative;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(34, 37, 31, .07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 26px rgba(34, 37, 31, .05);
    transition: transform .18s ease, box-shadow .18s ease;
}

.m18p-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(34, 37, 31, .1);
}

.m18p-card__media {
    position: relative;
    z-index: 2;
    aspect-ratio: 1;
    flex: 0 0 auto;
    background: var(--cream);
    overflow: hidden;
    pointer-events: none;
}

.m18p-card__img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.m18p-card__media .product-thumb-wrap {
    width: 100%;
    height: 100%;
}

.m18p-card__img,
.m18p-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m18p-card__media .product-thumb-placeholder {
    background: #fff;
}

.m18p-card__media .product-thumb-placeholder__logo {
    width: auto;
    height: auto;
    max-width: 62%;
    max-height: 62%;
    margin: auto;
    object-fit: contain;
}

.m18p-card__media .product-thumb-wrap--dual {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.m18p-card__media .product-thumb-wrap--dual .product-thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease;
}

.m18p-card__media .product-thumb-wrap--dual .product-thumb-img--primary {
    opacity: 1;
    z-index: 1;
}

.m18p-card__media .product-thumb-wrap--dual .product-thumb-img--secondary {
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}

@media (hover: hover) {
    .m18p-card:hover .product-thumb-wrap--dual .product-thumb-img--primary,
    .m18p-card:focus-within .product-thumb-wrap--dual .product-thumb-img--primary {
        opacity: 0;
    }

    .m18p-card:hover .product-thumb-wrap--dual .product-thumb-img--secondary,
    .m18p-card:focus-within .product-thumb-wrap--dual .product-thumb-img--secondary {
        opacity: 1;
    }
}

.m18p-card__badges {
    position: absolute;
    top: .65rem;
    left: .65rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
    max-width: calc(100% - 7.5rem);
    pointer-events: none;
}
.m18p-card__badge {
    position: static;
    padding: .28rem .55rem;
    border-radius: 6px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1.15;
    color: #fff;
}

.m18p-card__badge--brown { background: var(--walnut-brown); }
.m18p-card__badge--green { background: var(--secondary-green); }
.m18p-card__badge--sale { background: var(--accent-orange); }
.m18p-card__badge--blue { background: #3d6b8a; }

.m18p-card__rail {
    position: absolute;
    top: .6rem;
    right: .6rem;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .35rem;
    max-width: calc(100% - 7.5rem);
}

.m18p-card__flags {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .3rem;
    pointer-events: none;
}

.m18p-card__flag {
    padding: .26rem .48rem;
    border-radius: 6px;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1.15;
    color: #fff;
    white-space: nowrap;
}

.m18p-card__flag--brown { background: var(--walnut-brown); }
.m18p-card__flag--green { background: var(--secondary-green); }
.m18p-card__flag--sale { background: var(--accent-orange); }
.m18p-card__flag--blue { background: #3d6b8a; }

.m18p-card__corner {
    position: absolute;
    left: .75rem;
    right: .75rem;
    bottom: .75rem;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .35rem;
    pointer-events: none;
}

.m18p-card__weight {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    flex: 0 0 auto;
    padding: .3rem .6rem .3rem .5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(232, 226, 214, .95);
    box-shadow: 0 4px 12px rgba(34, 37, 31, .12);
    color: #22251F;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1;
    white-space: nowrap;
}

.m18p-card__weight-icon {
    flex-shrink: 0;
    color: var(--walnut-brown);
}

.m18p-card__weight + .m18p-card__pdo {
    margin-left: auto;
}

.m18p-card__pdo {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .35rem;
    max-width: 100%;
    padding: .28rem .4rem .28rem .28rem;
    border-radius: 10px;
    background: rgba(255, 252, 247, .94);
    border: 1px solid rgba(232, 226, 214, .95);
    box-shadow: 0 6px 16px rgba(34, 37, 31, .14);
    pointer-events: none;
}

.m18p-card__pdo-star {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, #003399 0%, #1a4fb5 100%);
    color: #fc0;
    font-size: .62rem;
    line-height: 1;
}

.m18p-card__pdo-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.15;
}

.m18p-card__pdo-text strong {
    font-size: .58rem;
    font-weight: 800;
    color: #22251F;
}

.m18p-card__pdo-text em {
    font-style: normal;
    font-size: .54rem;
    font-weight: 700;
    color: #C25808;
}

.m18p-card__tools {
    position: static;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    pointer-events: auto;
}

.m18p-card__fav,
.m18p-card__compare {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--text-dark);
    text-decoration: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.m18p-card__fav:hover,
.m18p-card__compare:hover {
    color: var(--accent-orange);
}

.m18p-card__fav.is-active,
.m18p-card__fav-btn.is-active {
    color: var(--accent-orange);
}

.m18p-card__fav.is-active {
    background: #fff7ef;
}

.m18p-card__compare.is-active {
    background: var(--primary-green);
    color: #fff;
}

.m18p-card__compare-icon--active {
    display: none;
}

.m18p-card__compare.is-active .m18p-card__compare-icon--default {
    display: none;
}

.m18p-card__compare.is-active .m18p-card__compare-icon--active {
    display: block;
}

.m18p-card__body {
    padding: .95rem .95rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    flex: 1 1 auto;
    min-height: 0;
}

.m18p-card__title {
    margin: 0;
    flex: 0 0 auto;
    height: 2.64em;
    min-height: 2.64em;
    max-height: 2.64em;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.32;
    overflow: hidden;
}

.m18p-card__title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    line-height: 1.32;
    max-height: 2.64em;
}

.m18p-card__title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.m18p-card__title a:hover {
    color: var(--walnut-brown);
}

.m18p-card__rating {
    display: flex;
    align-items: center;
    flex: 0 0 1.15rem;
    height: 1.15rem;
    min-height: 1.15rem;
    gap: .12rem;
    color: #d4a017;
    font-size: .78rem;
    line-height: 1;
}

.m18p-card__rating span {
    margin-left: .2rem;
    color: #8a8278;
    font-weight: 600;
}

.m18p-card__price {
    display: flex;
    align-items: baseline;
    flex: 0 0 1.55rem;
    flex-wrap: nowrap;
    gap: .35rem;
    height: 1.55rem;
    min-height: 1.55rem;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: .95rem;
    line-height: 1.2;
    color: var(--text-dark);
}

.m18p-card__price strong {
    flex: 0 0 auto;
    font-weight: 800;
    font-size: 1.05rem;
    color: #C25808;
}

.m18p-card__price span {
    color: #8a8278;
    font-weight: 600;
    font-size: .85rem;
}

.m18p-card__price-compare {
    display: inline-block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 0;
    color: #a39a8f;
    text-decoration: line-through;
    font-size: .82rem;
    font-weight: 600;
}

.m18p-card__price:has(.m18p-card__price-compare) strong {
    color: #C25808;
}

.m18p-card__actions {
    display: flex;
    gap: .45rem;
    margin-top: auto;
    padding-top: .25rem;
}

.m18p-card__cart-form {
    flex: 1;
    margin: 0;
}

.m18p-card__add {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 2.65rem;
    padding: 0 .85rem;
    border: 1px solid #e0d8cc;
    border-radius: 10px;
    background: #fff;
    color: var(--text-dark);
    font: inherit;
    font-size: .84rem;
    font-weight: 800;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.m18p-card__add:hover,
.m18p-card__add:active,
.m18p-card__add:focus-visible {
    border-color: var(--primary-green);
    background: var(--primary-green);
    color: #fff;
}

.m18p-card__add-label {
    white-space: nowrap;
}

.m18p-card__fav-btn {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    border: 1px solid #e0d8cc;
    border-radius: 10px;
    background: #fff;
    color: var(--text-dark);
    text-decoration: none;
}

.m18p-card__fav-btn:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.m18p-card__fav-btn.is-active {
    border-color: #f0d4b5;
    background: #fff7ef;
    color: var(--accent-orange);
}

/* ── Pagination ── */
.m18p-pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.m18p-pagination__controls {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.m18p-pagination__page,
.m18p-pagination__nav {
    display: grid;
    place-items: center;
    min-width: 2.35rem;
    height: 2.35rem;
    padding: 0 .35rem;
    border-radius: 8px;
    border: 1px solid #e0d8cc;
    background: #fff;
    color: var(--text-dark);
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
}

.m18p-pagination__page.is-active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #fff;
}

.m18p-pagination__nav.is-disabled {
    opacity: .35;
    pointer-events: none;
}

.m18p-pagination__nav:hover,
.m18p-pagination__page:hover:not(.is-active) {
    background: var(--cream);
    border-color: #d4cbbd;
}

/* ── Empty ── */
.m18p-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px dashed #e0d8cc;
    color: #8a8278;
}

.m18p-empty svg {
    margin-bottom: .75rem;
    opacity: .45;
}

/* ── Newsletter — ana sayfa / diğer sayfalarla aynı beyaz şerit ── */
.m18p-news {
    background: #fff !important;
    color: var(--m18-ink, #1C1F1A);
    padding: 1.15rem 0;
    border-top: 1px solid var(--m18-line, #e6dfd3);
}

.m18p-news .m18-news__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
}

.m18p-news .m18-news__copy {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--m18-ink, #1C1F1A);
}

.m18p-news .m18-news__form {
    display: flex;
    gap: 0.5rem;
    flex: 1 1 280px;
    max-width: 420px;
}

.m18p-news .m18-news__form input {
    flex: 1;
    min-width: 0;
    min-height: 2.6rem;
    border: 1px solid var(--m18-line, #e6dfd3);
    border-radius: 8px;
    padding: 0 0.85rem;
    font: inherit;
    font-size: 0.9rem;
    color: var(--m18-ink, #1C1F1A);
    background: #fff;
}

.m18p-news .m18-news__form input::placeholder {
    color: #8a847c;
}

.m18p-news .m18-news__form button {
    border: 0;
    border-radius: 8px;
    background: var(--primary-green, #22251F);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0 1rem;
    min-height: 2.6rem;
    cursor: pointer;
    white-space: nowrap;
}

.m18p-news .m18-news__form button:hover {
    background: var(--secondary-green, #2F5D3A);
}

@media (max-width: 720px) {
    .m18p-news .m18-news__form {
        flex: 1 1 100%;
        max-width: none;
    }
}

/* ── Mobile drawer ── */
@media (max-width: 1024px) {
    .m18p-layout {
        grid-template-columns: 1fr;
    }

    .m18p-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .m18p-toolbar__filter-btn {
        display: inline-flex;
    }

    .m18p-layout__overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 60;
        background: rgba(17, 19, 16, .45);
    }

    .m18p-layout__overlay.hidden {
        display: none;
    }

    .m18p-layout__sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 70;
        width: min(320px, 88vw);
        height: 100vh;
        overflow-y: auto;
        padding: 1rem;
        background: var(--cream);
        transform: translateX(-105%);
        transition: transform .22s ease;
        box-shadow: 8px 0 32px rgba(0, 0, 0, .12);
    }

    .m18p-layout__sidebar.is-open {
        transform: translateX(0);
    }

    .m18p-filters__close {
        display: inline-flex;
    }

    body.spf-drawer-open {
        overflow: hidden;
    }

    .m18p-hero__inner {
        max-width: 100%;
    }

    /* Mobil: altta sadece sepete ekle (favori üst araçlarda) */
    .m18p-card__fav-btn {
        display: none;
    }

    .m18p-card__cart-form {
        flex: 1;
    }

    .m18p-card__add {
        width: 100%;
        gap: .35rem;
        padding: 0 .5rem;
        font-size: .78rem;
    }
}

@media (max-width: 640px) {
    .m18p-toolbar__actions {
        width: 100%;
        justify-content: space-between;
    }

    .m18p-toolbar__select {
        min-width: 0;
        flex: 1;
    }

    .m18p-card__add {
        min-height: 2.45rem;
        font-size: .72rem;
        gap: .3rem;
        padding: 0 .4rem;
    }

    .m18p-card__body {
        padding: .8rem .7rem .9rem;
    }

    .m18p-card__title {
        font-size: 1.02rem;
    }

    .m18p-card__price {
        gap: .22rem;
    }

    .m18p-card__price strong {
        font-size: .98rem;
    }

    .m18p-card__price-compare {
        font-size: .7rem;
    }

    .m18p-card__corner {
        left: .5rem;
        right: .5rem;
        bottom: .5rem;
        gap: .25rem;
    }

    .m18p-card__weight {
        gap: .2rem;
        padding: .22rem .45rem .22rem .38rem;
        font-size: .64rem;
    }

    .m18p-card__weight-icon {
        width: 11px;
        height: 11px;
    }

    .m18p-card__badges {
        top: .4rem;
        left: .4rem;
        gap: .28rem;
        max-width: 58%;
    }

    .m18p-card__rail {
        top: .4rem;
        right: .4rem;
        gap: .22rem;
        max-width: 46%;
    }

    .m18p-card__flags { gap: .22rem; }

    .m18p-card__badge,
    .m18p-card__flag {
        padding: .12rem .32rem;
        border-radius: 5px;
        font-size: .54rem;
        letter-spacing: 0;
    }
}

/* ── İlgili blog yazıları (ürün / kategori) ── */
.m18-related-blogs {
    padding: 2rem 0 2.5rem;
    background: linear-gradient(180deg, #fff 0%, #f7faf7 100%);
    border-top: 1px solid #e7efe8;
}

.m18-related-blogs__head {
    margin-bottom: 1rem;
}

.m18-related-blogs__kicker {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5f7463;
}

.m18-related-blogs__title {
    margin: 0;
    font-size: clamp(1.25rem, 2.4vw, 1.55rem);
    font-weight: 700;
    color: #22251F;
}

.m18-related-blogs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.m18-related-blogs__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.1rem;
    border: 1px solid #e7efe8;
    border-radius: 0.75rem;
    background: #fff;
    color: #22251F;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.m18-related-blogs__link:hover {
    border-color: #22251F;
    background: #eef5ef;
}

.m18-related-blogs__label {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
}

.m18-related-blogs__go {
    flex-shrink: 0;
    color: #5f7463;
}

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

@media (prefers-reduced-motion: reduce) {
    .m18-related-blogs__link {
        transition: none;
    }
}
