/* AVM19 — Hipicon-inspired editorial marketplace theme */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --avm-font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --avm-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --avm-radius-sm: 4px;
    --avm-radius-md: 8px;
    --avm-radius-lg: 0;
    --avm-shadow-soft: 0 24px 48px rgba(17, 17, 17, 0.06);
    --avm-transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

body.avm19-theme {
    margin: 0;
    font-family: var(--avm-font-body);
    background: var(--avm-bg);
    color: var(--avm-text);
    line-height: 1.55;
    min-height: 100vh;
    font-size: 0.9375rem;
    -webkit-font-smoothing: antialiased;
}

body.avm19-theme[data-theme-variant="dark"] {
    color-scheme: dark;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--avm-transition), opacity var(--avm-transition);
}

a:hover {
    color: var(--avm-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.avm-container {
    width: min(1320px, 100% - 2.5rem);
    margin-inline: auto;
}

.avm-container--wide {
    width: min(1440px, 100% - 1.5rem);
}

/* ——— Promo bar (Hipicon top strip) ——— */
.avm-promo {
    background: var(--avm-text);
    color: #fff;
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    padding: 0.55rem 1rem;
}

.avm-promo a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.avm-promo a:hover {
    opacity: 0.85;
    color: #fff;
}

/* ——— Header ——— */
.avm-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--avm-header-bg);
    border-bottom: 1px solid var(--avm-border);
}

.avm-header__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 72px;
}

.avm-header__nav-row {
    display: none;
    border-top: 1px solid var(--avm-border);
}

.avm-header__nav-row .avm-container {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    min-height: 44px;
    overflow-x: auto;
    scrollbar-width: none;
}

.avm-header__nav-row .avm-container::-webkit-scrollbar {
    display: none;
}

.avm-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.avm-nav a {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--avm-header-text-muted);
    white-space: nowrap;
}

.avm-nav a:hover,
.avm-nav a.is-active {
    color: var(--avm-header-text);
}

.avm-logo img {
    max-height: 36px;
    width: auto;
}

.avm-logo__text {
    font-family: var(--avm-font-display);
    font-weight: 600;
    font-size: 1.65rem;
    letter-spacing: -0.02em;
    color: var(--avm-header-text);
}

.avm-header__search-wrap {
    flex: 1;
    max-width: 520px;
    display: none;
    position: relative;
}

.avm-header__search {
    width: 100%;
    position: relative;
}

.avm-header__search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: var(--avm-text-muted);
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    line-height: 1;
}

.avm-header__search input {
    width: 100%;
    height: 44px;
    border: 1px solid var(--avm-border);
    border-radius: 999px;
    padding: 0 1rem 0 3rem;
    background: var(--avm-surface-alt);
    color: var(--avm-text);
    font-size: 0.875rem;
    box-sizing: border-box;
    appearance: none;
}

.avm-header__search input::placeholder {
    color: var(--avm-text-muted);
    opacity: 1;
}

.avm-header__search input:focus {
    outline: none;
    border-color: var(--avm-text);
    background: var(--avm-surface);
}

.avm-search-suggest {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    z-index: 1080;
    background: var(--avm-surface);
    border: 1px solid var(--avm-border);
    border-radius: var(--avm-radius-md);
    box-shadow: var(--avm-shadow-soft);
    max-height: min(420px, 60vh);
    overflow: auto;
}

.avm-search-suggest__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid var(--avm-border);
    color: var(--avm-text);
    text-decoration: none;
}

.avm-search-suggest__item:last-of-type {
    border-bottom: 0;
}

.avm-search-suggest__item:hover,
.avm-search-suggest__item.is-active {
    background: var(--avm-primary-soft);
}

.avm-search-suggest__thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: var(--avm-radius-sm);
    flex-shrink: 0;
    background: var(--avm-surface-alt);
}

.avm-search-suggest__thumb--empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--avm-text-muted);
}

.avm-search-suggest__body {
    min-width: 0;
    flex: 1;
}

.avm-search-suggest__name {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.avm-search-suggest__meta {
    display: block;
    font-size: 0.75rem;
    color: var(--avm-text-muted);
    margin-top: 0.1rem;
}

.avm-search-suggest__price {
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--avm-primary);
}

.avm-search-suggest__empty,
.avm-search-suggest__all {
    display: block;
    padding: 0.75rem 0.85rem;
    font-size: 0.8125rem;
}

.avm-search-suggest__empty {
    color: var(--avm-text-muted);
}

.avm-search-suggest__all {
    border-top: 1px solid var(--avm-border);
    color: var(--avm-primary);
    font-weight: 600;
    text-align: center;
}

.avm-search-suggest--modal {
    position: static;
    margin-top: 0.5rem;
    max-height: 320px;
}

.avm-search-modal-wrap {
    position: relative;
}

.avm-search-modal-form fieldset input {
    padding-left: 1rem !important;
}

.avm-header__actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
}

@media (min-width: 992px) {
    .avm-header__search-wrap {
        display: block;
    }

    .avm-header__nav-row {
        display: block;
    }

    .avm-header__actions {
        margin-left: 0;
    }
}

.avm-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--avm-header-text);
    cursor: pointer;
    position: relative;
    transition: background var(--avm-transition);
}

.avm-icon-btn:hover {
    background: var(--avm-surface-alt);
    color: var(--avm-header-text);
}

.avm-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--avm-text);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ——— Buttons ——— */
.avm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--avm-transition), border-color var(--avm-transition), color var(--avm-transition), transform var(--avm-transition);
}

a.avm-btn:hover {
    text-decoration: none;
}

.avm-btn--primary {
    background: var(--avm-text);
    border-color: var(--avm-text);
    color: #fff;
}

.avm-btn--primary:hover {
    background: var(--avm-primary);
    border-color: var(--avm-primary);
    color: #fff;
}

.avm-btn--outline {
    background: transparent;
    border-color: var(--avm-border);
    color: var(--avm-text);
}

.avm-btn--outline:hover {
    border-color: var(--avm-text);
    color: var(--avm-text);
}

.avm-btn--ghost {
    background: transparent;
    border-color: transparent;
    color: var(--avm-text);
    padding-inline: 0;
}

.avm-btn--ghost:hover {
    color: var(--avm-primary);
}

.avm-btn--sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.avm-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--avm-text);
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

.avm-link-arrow:hover {
    color: var(--avm-primary);
}

/* ——— Sections ——— */
.avm-section {
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.avm-section--alt {
    background: var(--avm-surface-alt);
}

.avm-section--tight {
    padding-block: 1.75rem;
}

.avm-home .avm-section--tight {
    padding-block: 1.75rem;
}

.avm-section__bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.avm-section__head {
    text-align: left;
    max-width: none;
    margin: 0;
}

.avm-section__head--center {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2rem;
}

.avm-section__title {
    font-family: var(--avm-font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 0.35rem;
}

.avm-section__desc {
    color: var(--avm-text-muted);
    margin: 0;
    font-size: 0.9375rem;
    max-width: 42ch;
}

/* ——— Homepage rhythm ——— */
.avm-home {
    padding-bottom: 0;
    background: var(--avm-bg);
}

.avm-home > .avm-section--hero {
    padding-top: 1rem;
    padding-bottom: 0.25rem;
}

.avm-home > .avm-section--hero + .avm-section {
    padding-top: 1.25rem;
}

.avm-home > .avm-section--alt + .avm-section:not(.avm-section--alt) {
    border-top: 1px solid var(--avm-border);
}

/* ——— Hero slider (Hipicon carousel — same grid as sections) ——— */
.avm-hero-slider {
    width: 100%;
}

.avm-hero-slider__stage {
    display: block;
    position: relative;
    aspect-ratio: 21 / 9;
    max-height: min(52vh, 520px);
    overflow: hidden;
    background: var(--avm-surface-alt);
}

@media (max-width: 767.98px) {
    .avm-hero-slider__stage {
        aspect-ratio: 4 / 3;
        max-height: none;
    }
}

.avm-hero-slider__stage--empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.avm-hero-slider__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--avm-transition);
}

.avm-hero-slider__stage:hover .avm-hero-slider__img {
    transform: scale(1.02);
}

.avm-hero-slider__meta {
    margin-top: 1.25rem;
    margin-bottom: 0;
}

.avm-hero-slider__meta .avm-section__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

/* Legacy full-bleed hero (fallback) */
.avm-hero {
    position: relative;
    min-height: clamp(320px, 50vh, 520px);
    display: flex;
    align-items: flex-end;
    background: var(--avm-surface-alt);
    overflow: hidden;
}

.avm-hero__bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.avm-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.avm-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: clamp(2rem, 6vw, 4rem) 0;
}

.avm-hero__title {
    font-family: var(--avm-font-display);
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0 0 0.75rem;
    color: #fff;
}

.avm-hero__subtitle {
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 1.5rem;
}

/* ——— Horizontal scroll rails (Hipicon selections) ——— */
.avm-scroll-rail {
    margin-inline: calc(-1 * clamp(0.75rem, 2vw, 1.25rem));
    padding-inline: clamp(0.75rem, 2vw, 1.25rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: clamp(0.75rem, 2vw, 1.25rem);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.avm-scroll-rail::-webkit-scrollbar {
    display: none;
}

.avm-scroll-rail__track {
    display: flex;
    gap: 1rem;
    width: max-content;
    padding-bottom: 0.25rem;
}

.avm-scroll-rail__track > * {
    scroll-snap-align: start;
    flex: 0 0 auto;
}

/* ——— Product cards ——— */
.avm-product-grid {
    display: grid;
    gap: 1.5rem 1rem;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .avm-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .avm-product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.avm-product-card {
    background: transparent;
    border: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.avm-product-card__img {
    aspect-ratio: 4 / 5;
    background: var(--avm-surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.avm-product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--avm-transition);
}

.avm-product-card:hover .avm-product-card__img img {
    transform: scale(1.04);
}

.avm-product-card__body {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.avm-product-card__name {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--avm-text);
}

.avm-product-card__name:hover {
    color: var(--avm-primary);
}

.avm-product-card__store {
    font-size: 0.75rem;
    color: var(--avm-text-muted);
    letter-spacing: 0.02em;
}

.avm-product-card__price {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--avm-text);
    margin-top: 0.15rem;
}

.avm-product-card__price-old {
    text-decoration: line-through;
    color: var(--avm-text-muted);
    font-weight: 400;
    font-size: 0.8125rem;
    margin-left: 0.35rem;
}

.avm-scroll-rail .avm-product-card {
    width: min(240px, 42vw);
}

@media (min-width: 768px) {
    .avm-scroll-rail .avm-product-card {
        width: 260px;
    }
}

.avm-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 2px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--avm-text);
    color: #fff;
}

/* ——— Category / selection tiles ——— */
.avm-categories {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.25rem 0;
    scrollbar-width: none;
}

.avm-categories::-webkit-scrollbar {
    display: none;
}

.avm-category-chip {
    flex: 0 0 auto;
    text-align: center;
    min-width: 88px;
}

.avm-category-chip__circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    margin: 0 auto 0.5rem;
    border: 1px solid var(--avm-border);
    background: var(--avm-surface);
    overflow: hidden;
    transition: border-color var(--avm-transition);
}

.avm-category-chip:hover .avm-category-chip__circle,
.avm-category-chip.is-active .avm-category-chip__circle {
    border-color: var(--avm-text);
}

.avm-category-chip__label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.avm-selection-grid {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(-1 * clamp(0.75rem, 2vw, 1.25rem));
    padding-inline: clamp(0.75rem, 2vw, 1.25rem);
}

.avm-selection-grid::-webkit-scrollbar {
    display: none;
}

.avm-selection-card {
    flex: 0 0 auto;
    width: min(280px, 72vw);
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--avm-surface-alt);
}

.avm-selection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--avm-transition);
}

.avm-selection-card:hover img {
    transform: scale(1.05);
}

.avm-selection-card__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
    color: #fff;
    font-family: var(--avm-font-display);
    font-size: 1.35rem;
    font-weight: 500;
}

/* ——— Promo banner block ——— */
.avm-promo-banner {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .avm-promo-banner {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.avm-promo-banner__media {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--avm-surface-alt);
}

.avm-promo-banner__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--avm-transition);
}

.avm-promo-banner:hover .avm-promo-banner__media img {
    transform: scale(1.03);
}

/* ——— Footer ——— */
.avm-footer {
    background: var(--avm-footer-bg);
    color: var(--avm-footer-text);
    margin-top: 0;
    padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
    border-top: 1px solid var(--avm-border);
}

.avm-footer a {
    color: var(--avm-footer-text-muted);
}

.avm-footer a:hover {
    color: var(--avm-footer-text);
}

.avm-footer__newsletter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.avm-footer__newsletter input {
    flex: 1;
    min-width: 200px;
    height: 44px;
    border: 1px solid var(--avm-border);
    border-radius: 0;
    padding: 0 1rem;
    background: var(--avm-surface);
    color: var(--avm-text);
}

.avm-footer__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .avm-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .avm-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }

    .avm-footer__grid--with-pages {
        grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    }
}

.avm-footer__col-title {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--avm-footer-text);
}

.avm-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.avm-footer__brand {
    font-family: var(--avm-font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.avm-footer__bottom {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--avm-border);
    font-size: 0.8125rem;
    color: var(--avm-footer-text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    justify-content: space-between;
}

/* ——— Shop / inner pages ——— */
.avm-shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--avm-border);
    margin-bottom: 1.25rem;
    position: sticky;
    top: 72px;
    z-index: 1020;
    background: var(--avm-bg);
}

.avm-pagination {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 2.5rem;
}

.avm-pagination a,
.avm-pagination span {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    border: 1px solid var(--avm-border);
    font-size: 0.875rem;
}

.avm-pagination .is-active {
    background: var(--avm-text);
    border-color: var(--avm-text);
    color: #fff;
}

/* —— WhatsApp CTA (iletişim sayfası) —— */
.avm-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    background: #25d366;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.35);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.avm-wa-btn:hover,
.avm-wa-btn:focus {
    background: #1ebe57;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(37, 211, 102, 0.45);
}
.avm-wa-btn:focus-visible {
    outline: 2px solid #128c7e;
    outline-offset: 3px;
}
.avm-wa-btn svg {
    flex-shrink: 0;
}

/* —— WhatsApp float (Web Admin contact_info.whatsapp) —— */
.avm-wa-float {
    position: fixed;
    left: 1rem;
    bottom: 1.25rem;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.avm-wa-float:hover,
.avm-wa-float:focus {
    color: #fff;
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.avm-wa-float:focus-visible {
    outline: 2px solid #128c7e;
    outline-offset: 3px;
}
.avm-wa-float__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
@media (max-width: 1199.98px) {
    .avm-wa-float {
        left: 0.75rem;
        /* mobil alt toolbar üstünde */
        bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
        width: 3.25rem;
        height: 3.25rem;
    }
    .avm-wa-float__inner svg {
        width: 26px;
        height: 26px;
    }
}

/* —— Modave mobil alt toolbar (tüm sayfalar) —— */
.tf-toolbar-bottom {
    display: none;
    padding: 15px 0;
    padding-bottom: calc(15px + env(safe-area-inset-bottom, 0));
    position: fixed;
    z-index: 1040;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: var(--avm-header-bg, #fff);
    box-shadow: 0 5px 18px 5px rgba(64, 72, 87, 0.15);
}

.tf-toolbar-bottom .toolbar-item {
    flex: 1 0 20%;
    position: relative;
}

.tf-toolbar-bottom a {
    width: 100%;
    gap: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--avm-header-text-muted, #666);
    text-decoration: none;
}

.tf-toolbar-bottom .toolbar-icon {
    font-size: 20px;
    position: relative;
    display: flex;
}

.tf-toolbar-bottom .toolbar-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--avm-primary, #2563eb);
    border-radius: 50%;
    font-size: 11px;
    line-height: 10px;
    color: #fff;
}

.tf-toolbar-bottom .toolbar-label {
    font-size: 12px;
    line-height: 16px;
}

@media (max-width: 1199.98px) {
    .tf-toolbar-bottom {
        display: flex;
    }
}

/* Modave arama modalı (avm19 layout) */
.modal.modalCentered .modal-dialog {
    margin: 15px auto;
    padding-left: 15px;
    padding-right: 15px;
}

.modal-search .modal-content {
    gap: 24px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--avm-border, #e5e7eb);
}

.modal-search .icon-close-popup {
    font-size: 1.25rem;
    color: var(--avm-text, #111);
    cursor: pointer;
}

.form-search-nav {
    position: relative;
    width: 100%;
}

.form-search-nav fieldset {
    margin: 0;
    border: 0;
    padding: 0;
}

.form-search-nav .btn-action {
    position: absolute;
    font-size: 1.25rem;
    right: 16px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--avm-text-muted, #666);
}

.form-search-nav.style-2 fieldset input {
    width: 100%;
    padding: 11px 52px 11px 15px;
    border: 1px solid var(--avm-border, #e5e7eb);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--avm-surface, #fff);
    color: var(--avm-text, #111);
}

.form-search-nav.style-2 fieldset input:focus {
    outline: none;
    border-color: var(--avm-primary, #2563eb);
}

.avm-mini-cart-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--avm-border);
}

.avm-mini-cart-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    background: var(--avm-surface-alt);
}

.avm-features {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .avm-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.avm-feature-box {
    background: var(--avm-surface);
    border: 1px solid var(--avm-border);
    padding: 1.5rem;
}

.avm-feature-box i {
    font-size: 1.35rem;
    color: var(--avm-text);
    margin-bottom: 0.75rem;
}

.avm-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--avm-text-muted);
    margin-bottom: 0.75rem;
}

.avm-page-head {
    padding: 2rem 0 1.25rem;
}

.avm-page-head h1 {
    font-family: var(--avm-font-display);
    font-weight: 500;
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.avm-panel {
    background: var(--avm-surface);
    border: 1px solid var(--avm-border);
    overflow: hidden;
}

.avm-panel__footer {
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid var(--avm-border);
    background: var(--avm-surface-alt);
}

.avm-product-detail__main {
    background: var(--avm-surface-alt);
    overflow: hidden;
    border: 1px solid var(--avm-border);
}

.avm-product-detail__img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    display: block;
}

.avm-product-detail__img--empty {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avm-product-detail__thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.avm-product-detail__thumb {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border: 1px solid var(--avm-border);
    padding: 0;
    background: var(--avm-surface);
    overflow: hidden;
    cursor: pointer;
}

.avm-product-detail__thumb.is-active {
    border-color: var(--avm-text);
}

.avm-product-detail__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avm-product-detail__title {
    font-family: var(--avm-font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    margin: 0 0 0.5rem;
}

.avm-product-detail__price-current {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--avm-text);
}

.avm-product-detail__desc {
    color: var(--avm-text-muted);
    line-height: 1.65;
}

.avm-product-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: stretch;
}

.avm-qty-input {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--avm-border);
    overflow: hidden;
    background: var(--avm-surface);
}

.avm-qty-input__btn {
    border: 0;
    background: var(--avm-surface-alt);
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--avm-text);
}

.avm-qty-input .form-control {
    width: 3.5rem;
    border: 0;
    text-align: center;
    box-shadow: none;
    background: transparent;
}

.avm-variant-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    min-width: 48px;
    padding: 8px 14px;
    border: 1px solid var(--avm-border);
    font-size: 0.875rem;
    word-break: break-word;
    text-align: center;
}

.avm-variant-btn.is-active {
    border-color: var(--avm-text);
    background: var(--avm-surface-alt);
}

.avm-variant-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--avm-border);
    font-size: 0.85rem;
    color: var(--avm-text);
}

.avm-variant-chip.is-active {
    border-color: var(--avm-text);
    background: var(--avm-surface-alt);
}

.avm-variant-chip img {
    object-fit: cover;
}

.avm-gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .avm-gallery-mosaic {
        grid-template-columns: repeat(4, 1fr);
    }
}

.avm-gallery-mosaic a {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--avm-surface-alt);
}

.avm-gallery-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--avm-transition);
}

.avm-gallery-mosaic a:hover img {
    transform: scale(1.05);
}

.avm-cta-band {
    text-align: center;
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    background: var(--avm-surface-alt);
    border-block: 1px solid var(--avm-border);
}

/* ——— Designers (Hipicon New Designers) ——— */
.avm-designer-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(-1 * clamp(0.75rem, 2vw, 1.25rem));
    padding-inline: clamp(0.75rem, 2vw, 1.25rem);
}

.avm-designer-grid::-webkit-scrollbar {
    display: none;
}

.avm-designer-card {
    flex: 0 0 auto;
    width: min(240px, 62vw);
    scroll-snap-align: start;
}

.avm-designer-card__media {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--avm-surface-alt);
    margin-bottom: 0.85rem;
}

.avm-designer-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--avm-transition);
}

.avm-designer-card:hover .avm-designer-card__media img {
    transform: scale(1.04);
}

.avm-designer-card__name {
    font-family: var(--avm-font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0 0 0.2rem;
    line-height: 1.2;
}

.avm-designer-card__subtitle {
    color: var(--avm-text-muted);
    font-size: 0.8125rem;
    margin: 0 0 0.75rem;
}

/* ——— Editorial block ——— */
.avm-section--editorial {
    padding-block: clamp(2rem, 4vw, 3rem);
}

.avm-editorial {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}

.avm-editorial__title {
    font-family: var(--avm-font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    margin: 0 0 1rem;
}

.avm-editorial__body {
    color: var(--avm-text-muted);
    font-size: 0.9375rem;
    line-height: 1.75;
}

/* ——— Category link grid (Hipicon footer-style nav) ——— */
.avm-section--link-grid {
    border-top: 1px solid var(--avm-border);
    padding-top: 2rem;
}

.avm-link-grid__heading {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

.avm-link-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.avm-link-grid__item {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--avm-text-muted);
    padding: 0.25rem 0;
    border-bottom: 1px solid transparent;
}

.avm-link-grid__item:hover {
    color: var(--avm-text);
    border-bottom-color: currentColor;
}

.avm-home > .avm-promo + .avm-section,
.avm-home > .avm-promo + .avm-section--hero {
    padding-top: 0;
}

/* Kayıtlı adres seçimi (ödeme) + hesap adres kartları */
.avm19-saved-addresses__list {
    display: grid;
    gap: 0.75rem;
}

.avm19-address-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 1px solid var(--line, #e9e9e9);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    margin: 0;
}

.avm19-address-option:hover {
    border-color: var(--primary, #111);
}

.avm19-address-option input[type="radio"] {
    margin-top: 0.3rem;
    flex-shrink: 0;
    accent-color: var(--primary, #111);
}

.avm19-address-option:has(input:checked) {
    border-color: var(--primary, #111);
    background: color-mix(in srgb, var(--primary, #111) 6%, transparent);
}

.avm19-address-option__body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.avm19-address-option__title {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.avm19-address-option__badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: var(--primary, #111);
    color: #fff;
}

.avm19-address-option__text,
.avm19-address-option__meta {
    font-size: 0.875rem;
    color: var(--secondary, #666);
    word-break: break-word;
}

.avm19-address-card {
    border: 1px solid var(--line, #e9e9e9);
    border-radius: 12px;
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.avm19-address-card--default {
    border-color: var(--primary, #111);
}

.avm19-address-card__actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.5rem;
}

.avm19-address-card__actions .btn {
    font-size: 0.8125rem;
}

.avm19-account-mobile-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.avm19-account-mobile-nav::-webkit-scrollbar {
    display: none;
}

.avm19-account-mobile-nav__link {
    flex-shrink: 0;
    padding: 0.45rem 0.95rem;
    border: 1px solid var(--line, #e9e9e9);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: inherit;
    white-space: nowrap;
}

.avm19-account-mobile-nav__link.is-active {
    background: var(--primary, #111);
    border-color: var(--primary, #111);
    color: #fff;
}
