/* =============================================================================
   Avolife — tema temel stilleri
   Kaynak: examples/html (moduller/header.twig + pages/*). Header/menü sınıfları
   kaynak Twig ile birebir (h-banner, h-contact, h-center, menu, mega-menu,
   header.mobile, searchbar, sidebar-menu, sidebar-user). Footer kaynakta yok.
   ========================================================================== */

:root {
    --avo-primary: #4CAF50;
    --avo-accent: #388E3C;
    --avo-deep: #2E7D32;
    --avo-light: #66BB6A;
    --avo-soft: #81C784;
    --avo-forest: #2d5016;
    --avo-ink: #2c3e50;
    --avo-muted: #6c757d;
    --avo-bg: #eeeeee;
    --avo-surface: #ffffff;
    --avo-tint: #f5f9f3;
    --avo-tint-2: #e8f5e8;
    --avo-line: #e9ecef;
    --avo-warn: #e67e22;
    --avo-danger: #d63031;
    --avo-radius: 12px;
    --avo-radius-lg: 2rem;
    --avo-shadow: 0 4px 12px rgba(76, 175, 80, 0.18);
    --font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--avo-bg);
    color: var(--avo-ink);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
}

table,
img {
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--avo-accent);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .5rem;
    line-height: 1.25;
    color: var(--avo-ink);
}

p {
    margin: 0 0 1rem;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font: inherit;
}

.avo-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Fiyat: body font (₺ glifi) — display serif kullanılmaz */
.money,
span.money {
    font-family: var(--font-body);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* ---------------------------------------------------------------------------
   Bootstrap alt kümesi (kaynak Twig harici Bootstrap 4'e dayanıyordu)
   ------------------------------------------------------------------------ */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}

.row > [class^="col"],
.row > [class*=" col"] {
    position: relative;
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
}

@media (min-width: 768px) {
    .col-md-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .col-md-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

.d-flex { display: flex; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.flex-row { flex-direction: row; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.float-right { float: right; }
.text-center { text-align: center; }
.clearfix::after { content: ""; display: table; clear: both; }
.pl-0 { padding-left: 0 !important; }
.ml-1 { margin-left: .25rem; }
.mr-1 { margin-right: .25rem; }
.mr-3 { margin-right: 1rem; }

.form-control {
    display: block;
    width: 100%;
    height: 42px;
    padding: .375rem .9rem;
    font-size: 14px;
    color: var(--avo-ink);
    background: #fff;
    border: 1px solid #dfe3e1;
    border-radius: 8px;
    outline: none;
    transition: border-color .2s ease;
}

.form-control:focus {
    border-color: var(--avo-primary) !important;
    box-shadow: none !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .6rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: all .25s ease;
    text-decoration: none;
}

.btn:focus {
    box-shadow: none !important;
}

.avo-btn-primary {
    background: linear-gradient(135deg, var(--avo-primary), var(--avo-accent));
    color: #fff;
}

.avo-btn-primary:hover {
    background: linear-gradient(135deg, var(--avo-accent), var(--avo-deep));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--avo-shadow);
}

.avo-btn-outline {
    background: #fff;
    color: var(--avo-accent);
    border-color: var(--avo-soft);
}

.avo-btn-outline:hover {
    background: var(--avo-tint-2);
    color: var(--avo-deep);
}

/* ---------------------------------------------------------------------------
   Header — masaüstü (kaynak header.twig: header.desktop)
   ------------------------------------------------------------------------ */
header.desktop {
    display: block;
    position: relative;
    z-index: 50;
    background: #fff;
    box-shadow: 0 2px 12px rgba(44, 62, 80, .06);
}

header.mobile {
    display: none;
}

.h-banner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--avo-primary), var(--avo-accent));
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: .5rem 0;
}

.h-banner a,
.h-banner a:hover {
    color: #fff;
}

.h-contact {
    background: var(--avo-tint);
    border-bottom: 1px solid var(--avo-line);
    font-size: 12px;
    color: var(--avo-muted);
}

.h-contact .container {
    min-height: 38px;
}

.h-contact .row {
    min-height: 38px;
}

.h-contact .info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-height: 38px;
}

.h-contact .info .item {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: 0 .75rem;
}

.h-contact .info .item + .item {
    border-left: 1px solid var(--avo-line);
}

.h-contact .info .item a {
    color: var(--avo-ink);
    font-weight: 600;
}

.h-contact .info .item a:hover {
    color: var(--avo-accent);
}

.h-contact .social-media {
    display: flex;
    align-items: center;
    gap: .35rem;
    min-height: 38px;
    margin-left: .75rem;
}

.social-media a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--avo-accent);
    font-size: 15px;
    transition: all .2s ease;
}

.social-media a:hover {
    background: var(--avo-primary);
    color: #fff;
}

.h-center {
    padding: 18px 0;
    background: #fff;
}

.h-center .header-area {
    display: flex;
    align-items: center;
    height: 100%;
}

.h-center .header-area.last {
    justify-content: flex-end;
}

.h-center .logo a {
    display: inline-flex;
    align-items: center;
}

.h-center .logo img {
    max-height: 56px;
    width: auto;
}

.h-center .search {
    flex: 1;
    min-width: 0;
}

.h-center .search form {
    position: relative;
    display: flex;
    align-items: center;
}

.h-center .search .input-box {
    flex: 1;
}

.h-center .search .form-control {
    height: 48px;
    padding-right: 58px;
    border-radius: 999px;
    border: 2px solid var(--avo-tint-2);
    background: var(--avo-tint);
}

.h-center .search .btn-send {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--avo-primary), var(--avo-accent));
    color: #fff;
    font-size: 17px;
}

.h-center .center-call {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-left: 1.5rem;
    white-space: nowrap;
}

.h-center .center-call .icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--avo-tint-2);
    color: var(--avo-accent);
    font-size: 20px;
}

.h-center .center-call .content {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.h-center .center-call .content a {
    font-weight: 700;
    font-size: 15px;
    color: var(--avo-ink);
}

.h-center .center-call .content span {
    font-size: 12px;
    color: var(--avo-muted);
}

.header-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.header-bar .bar-user a,
.header-bar .bar-cart {
    position: relative;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--avo-tint);
    color: var(--avo-ink);
    font-size: 20px;
    transition: all .2s ease;
}

.header-bar .bar-user a:hover,
.header-bar .bar-cart:hover {
    background: var(--avo-primary);
    color: #fff;
}

.header-bar .bar-cart .icon {
    display: inline-flex;
}

.header-bar .bar-cart .count {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--avo-warn);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

/* Menü */
section.menu {
    background: linear-gradient(135deg, var(--avo-primary), var(--avo-accent));
}

.mega-menu .navbar-nav {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    min-height: 50px;
}

.mega-menu .nav-item {
    position: relative;
}

.mega-menu .nav-link {
    display: flex;
    align-items: center;
    gap: .45rem;
    height: 100%;
    min-height: 50px;
    padding: 0 1rem;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: background .2s ease;
}

.mega-menu .nav-link:hover,
.mega-menu .nav-item:hover > .nav-link,
.mega-menu .nav-link.is-active {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.mega-menu .nav-item--all > .nav-link {
    background: var(--avo-forest);
    padding: 0 1.25rem;
    min-width: 230px;
}

.menu-left {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    background: #fff;
    border-radius: 0 0 var(--avo-radius) var(--avo-radius);
    box-shadow: 0 18px 40px rgba(44, 62, 80, .15);
    padding: .5rem 0;
    z-index: 60;
}

.mega-menu .nav-item--all:hover > .menu-left,
.mega-menu .nav-item--all:focus-within > .menu-left,
.mega-menu .nav-item--has-sub:hover > .menu-left,
.mega-menu .nav-item--has-sub:focus-within > .menu-left {
    display: block;
}

.mega-menu .nav-item--has-sub > .menu-left {
    width: 230px;
}

.mega-menu .nav-item--has-sub .f-li > a,
.mega-menu .nav-item--has-sub .f-li > span {
    padding: .6rem 1.1rem;
}

.menu-left .f-li {
    position: static;
}

.menu-left .f-li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .65rem 1.1rem;
    color: var(--avo-ink);
    font-weight: 500;
}

.menu-left .f-li:hover > a {
    background: var(--avo-tint);
    color: var(--avo-accent);
}

.menu-left .dropdown-menu2 {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 320px;
    min-height: 100%;
    background: #fff;
    border-radius: 0 var(--avo-radius) var(--avo-radius) 0;
    box-shadow: 18px 18px 40px rgba(44, 62, 80, .12);
    padding: 1rem 1.25rem;
}

.menu-left .f-li:hover > .dropdown-menu2,
.menu-left .f-li:focus-within > .dropdown-menu2 {
    display: block;
}

.mega-menu-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .35rem 1.5rem;
}

.mega-menu-container .sub-title {
    display: block;
    padding: .35rem 0;
    color: var(--avo-ink);
    font-weight: 600;
}

.mega-menu-container .sub-title:hover {
    color: var(--avo-accent);
}

.mega-menu-container .cat-img {
    grid-column: 1 / -1;
    max-height: 140px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* ---------------------------------------------------------------------------
   Header — mobil (≤1023px) — kaynak header.twig: header.mobile
   ------------------------------------------------------------------------ */
@media (max-width: 1023px) {
    header.desktop {
        display: none;
    }

    header.mobile {
        display: block;
        position: sticky;
        top: 0;
        z-index: 60;
        background: #fff;
        box-shadow: 0 2px 12px rgba(44, 62, 80, .08);
    }

    header.mobile > .d-flex {
        min-height: 60px;
        padding: 0 .5rem;
    }

    header.mobile .left,
    header.mobile .right {
        width: 56px;
        display: flex;
    }

    header.mobile .right {
        justify-content: flex-end;
    }

    header.mobile .icon-group {
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 50%;
        background: var(--avo-tint);
        color: var(--avo-ink);
        font-size: 22px;
        cursor: pointer;
    }

    header.mobile .logo img {
        max-height: 42px;
        width: auto;
    }

    header.mobile .searchbar {
        padding: 0 .75rem .75rem;
    }

    header.mobile .searchbar .input-box {
        flex: 1;
    }

    header.mobile .searchbar .form-control {
        height: 42px;
        border-radius: 999px 0 0 999px;
        border: 2px solid var(--avo-tint-2);
        border-right: 0;
        background: var(--avo-tint);
    }

    header.mobile .searchbar .btn-send {
        height: 42px;
        width: 50px;
        padding: 0;
        border-radius: 0 999px 999px 0;
        background: linear-gradient(135deg, var(--avo-primary), var(--avo-accent));
        color: #fff;
        font-size: 18px;
    }
}

.op-black {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(44, 62, 80, .45);
    z-index: 70;
}

.sidebar-menu,
.sidebar-user {
    position: fixed;
    top: 0;
    bottom: 0;
    width: min(320px, 86vw);
    background: #fff;
    z-index: 80;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease;
    box-shadow: 0 0 40px rgba(44, 62, 80, .2);
}

.sidebar-menu {
    left: 0;
    transform: translateX(-105%);
}

.sidebar-user {
    right: 0;
    transform: translateX(105%);
}

body.is-sidebar-menu-open .sidebar-menu,
body.is-sidebar-user-open .sidebar-user {
    transform: translateX(0);
}

body.is-sidebar-menu-open .op-black,
body.is-sidebar-user-open .op-black {
    display: block;
}

body.is-sidebar-menu-open,
body.is-sidebar-user-open {
    overflow: hidden;
}

.sidebar-menu .title,
.sidebar-user .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, var(--avo-primary), var(--avo-accent));
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.sidebar-menu .btn-close,
.sidebar-user .btn-close {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.sidebar-menu .scrollbar,
.sidebar-user .scrollbar {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.sidebar-menu .categories li a,
.sidebar-menu .categories li summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .8rem 1.1rem;
    border-bottom: 1px solid var(--avo-line);
    color: var(--avo-ink);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.sidebar-menu .categories li summary::-webkit-details-marker {
    display: none;
}

.sidebar-menu .categories li ul a {
    padding-left: 2rem;
    font-weight: 500;
    background: var(--avo-tint);
}

.sidebar-menu .categories li a.is-active {
    color: var(--avo-accent);
}

.sidebar-user .login-menu a {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem 1.1rem;
    border-bottom: 1px solid var(--avo-line);
    color: var(--avo-ink);
    font-weight: 600;
}

.sidebar-user .title-alt,
.sidebar-menu .title-alt {
    padding: .9rem 1.1rem .4rem;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--avo-muted);
}

.sidebar-user .footer-links a,
.sidebar-menu .footer-links a {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem 1.1rem;
    color: var(--avo-ink);
}

/* ---------------------------------------------------------------------------
   Sayfa iskeleti
   ------------------------------------------------------------------------ */
.avo-main {
    min-height: 50vh;
}

.avo-breadcrumb {
    background: #fff;
    border-bottom: 1px solid var(--avo-line);
    font-size: 13px;
}

.avo-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    margin: 0;
    padding: .75rem 0;
    list-style: none;
}

.avo-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--avo-muted);
}

.avo-breadcrumb li a:hover {
    color: var(--avo-accent);
}

.avo-breadcrumb li[aria-current="page"] {
    color: var(--avo-ink);
    font-weight: 600;
}

/* hakkimizda.html .hero ile aynı görünüm */
.avo-page-hero {
    background: linear-gradient(135deg, var(--avo-primary), var(--avo-accent));
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.avo-page-hero h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.avo-page-hero p {
    font-size: 1.2rem;
    opacity: .9;
    margin: 0 auto;
    max-width: 720px;
}

.avo-section {
    padding: 3rem 0 4rem;
}

.avo-card {
    background: #fff;
    border-radius: var(--avo-radius);
    box-shadow: 0 2px 14px rgba(44, 62, 80, .05);
}

.avo-empty {
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--avo-muted);
    background: #fff;
    border-radius: var(--avo-radius);
}

.avo-empty .avo-icon {
    font-size: 42px;
    color: var(--avo-soft);
    margin-bottom: .75rem;
}

/* ---------------------------------------------------------------------------
   Katalog listesi
   ------------------------------------------------------------------------ */
.avo-catalog {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
}

.avo-cat-sidebar {
    padding: 1.25rem;
    position: sticky;
    top: 1rem;
}

.avo-cat-sidebar h2 {
    font-size: 15px;
    margin-bottom: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--avo-muted);
}

.avo-cat-sidebar form {
    margin-bottom: 1.25rem;
}

.avo-cat-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .55rem .75rem;
    border-radius: 8px;
    color: var(--avo-ink);
    font-weight: 500;
}

.avo-cat-nav a:hover {
    background: var(--avo-tint);
    color: var(--avo-accent);
}

.avo-cat-nav a.is-active {
    background: var(--avo-tint-2);
    color: var(--avo-deep);
    font-weight: 700;
}

.avo-cat-nav .avo-cat-nav__children a {
    padding-left: 1.6rem;
    font-size: 13px;
}

.avo-list-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1.25rem;
}

.avo-list-head h2 {
    font-size: 1.5rem;
    margin: 0;
}

.avo-list-head p {
    margin: 0;
    color: var(--avo-muted);
}

.avo-list-head select {
    width: auto;
    min-width: 200px;
}

.avo-subcats {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.25rem;
}

.avo-subcats a {
    padding: .4rem .9rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--avo-tint-2);
    font-weight: 600;
    color: var(--avo-accent);
}

.avo-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.avo-product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(44, 62, 80, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.avo-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(76, 175, 80, .18);
}

.avo-product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--avo-tint) 0%, var(--avo-tint-2) 100%);
    overflow: hidden;
}

.avo-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.avo-product-card:hover .avo-product-card__media img {
    transform: scale(1.05);
}

.avo-product-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--avo-soft);
    font-size: 48px;
}

.avo-product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: .25rem .65rem;
    border-radius: 999px;
    background: var(--avo-warn);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.avo-product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem 1.1rem 1.2rem;
}

.avo-product-card__cat {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--avo-primary);
    margin-bottom: .25rem;
}

.avo-product-card__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: .35rem;
}

.avo-product-card__title a:hover {
    color: var(--avo-accent);
}

.avo-product-card__summary {
    flex: 1;
    font-size: 13px;
    color: var(--avo-muted);
    margin-bottom: .75rem;
}

.avo-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .85rem;
}

.avo-price .money {
    font-size: 18px;
    font-weight: 800;
    color: var(--avo-deep);
}

.avo-price .avo-price__old {
    font-size: 13px;
    color: var(--avo-muted);
    text-decoration: line-through;
}

.avo-price__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--avo-accent);
}

.avo-product-card__actions {
    display: flex;
    gap: .5rem;
}

.avo-product-card__actions > *,
.avo-product-card__actions form {
    flex: 1;
}

.avo-product-card__actions .btn {
    width: 100%;
    padding: .55rem .75rem;
    font-size: 13px;
}

.avo-pagination {
    display: flex;
    justify-content: center;
    gap: .75rem;
    margin-top: 2rem;
}

.avo-stock {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: 13px;
    font-weight: 600;
    color: var(--avo-accent);
}

.avo-stock--out {
    color: var(--avo-danger);
}

/* ---------------------------------------------------------------------------
   Ürün detayı
   ------------------------------------------------------------------------ */
.avo-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    padding: 2rem;
}

.avo-detail__stage {
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--avo-tint) 0%, var(--avo-tint-2) 100%);
}

.avo-detail__stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avo-detail__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .75rem;
}

.avo-detail__thumbs button {
    width: 72px;
    height: 72px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: var(--avo-tint);
    cursor: pointer;
}

.avo-detail__thumbs button.is-active {
    border-color: var(--avo-primary);
}

.avo-detail__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avo-detail__cat {
    display: inline-block;
    padding: .25rem .75rem;
    border-radius: 999px;
    background: var(--avo-tint-2);
    color: var(--avo-deep);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: .75rem;
}

.avo-detail__title {
    font-size: 2rem;
    margin-bottom: .75rem;
}

.avo-detail__summary {
    color: var(--avo-muted);
    font-size: 15px;
}

.avo-detail .avo-price .money {
    font-size: 28px;
}

.avo-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 1.25rem 0;
}

.avo-detail__actions form {
    display: flex;
}

.avo-detail__actions .btn {
    padding: .8rem 1.75rem;
    font-size: 15px;
}

.avo-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--avo-line);
    font-size: 13px;
    color: var(--avo-muted);
}

.avo-detail__meta strong {
    color: var(--avo-ink);
}

.avo-detail__description {
    margin-top: 2rem;
    padding: 2rem;
}

.avo-detail__description h2 {
    font-size: 1.35rem;
    color: var(--avo-accent);
}

.avo-prose h2,
.avo-prose h3 {
    color: var(--avo-accent);
    margin-top: 1.25rem;
}

.avo-prose ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.avo-prose li {
    margin-bottom: .25rem;
}

/* kargo-bilgi.html ve mevsimlik-bilgi.html kutuları */
.avo-info-box {
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.avo-info-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.avo-info-box p:last-child,
.avo-info-box ul:last-child {
    margin-bottom: 0;
}

.avo-info-box--shipping {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.avo-info-box--shipping h3 {
    color: #28a745;
}

.avo-info-box--seasonal {
    background: #fef7e0;
    border: 1px solid #f0d500;
}

.avo-info-box--seasonal h3,
.avo-info-box--seasonal h4 {
    color: var(--avo-warn);
}

.avo-info-box--seasonal h4 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.avo-info-box--seasonal ul {
    list-style: disc;
    padding-left: 1.25rem;
}

.avo-info-box__note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 10px;
    margin-top: 15px;
}

.avo-info-box__alert {
    background: #ffebeb;
    border: 1px solid #ff7675;
    border-radius: 5px;
    padding: 10px;
    margin: 15px 0;
    color: var(--avo-danger);
}

.avo-info-box__note p,
.avo-info-box__alert p {
    margin: 0;
}

.avo-related {
    margin-top: 3rem;
}

.avo-related h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

/* ---------------------------------------------------------------------------
   Arama
   ------------------------------------------------------------------------ */
.avo-search-form {
    display: flex;
    max-width: 640px;
    margin: 0 auto 2rem;
    padding: .4rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 14px rgba(44, 62, 80, .06);
}

.avo-search-form .form-control {
    border: 0;
    height: 46px;
    background: transparent;
}

.avo-search-form .btn {
    padding: 0 1.5rem;
}

/* ---------------------------------------------------------------------------
   Blog / tarifler
   ------------------------------------------------------------------------ */
.avo-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.avo-blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 14px rgba(44, 62, 80, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.avo-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(76, 175, 80, .18);
    color: inherit;
}

.avo-blog-card__media {
    aspect-ratio: 16 / 10;
    background: var(--avo-tint);
}

.avo-blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avo-blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem;
}

.avo-blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: 12px;
    color: var(--avo-muted);
    margin-bottom: .5rem;
}

.avo-blog-card__meta .avo-chip {
    padding: .1rem .55rem;
    border-radius: 999px;
    background: var(--avo-tint-2);
    color: var(--avo-deep);
    font-weight: 700;
}

.avo-blog-card h2 {
    font-size: 1.1rem;
}

.avo-blog-card p {
    flex: 1;
    font-size: 14px;
    color: var(--avo-muted);
}

.avo-blog-card__more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 700;
    color: var(--avo-accent);
}

.avo-article {
    max-width: 820px;
    margin: 0 auto;
    padding: 2.5rem;
}

.avo-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--avo-muted);
    font-size: 13px;
    margin-bottom: 1.5rem;
}

.avo-article__cover {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 2rem;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.avo-article__body {
    font-size: 16px;
    line-height: 1.8;
}

.avo-article__back {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: 2rem;
    font-weight: 700;
    color: var(--avo-accent);
}

/* ---------------------------------------------------------------------------
   404
   ------------------------------------------------------------------------ */
.avo-404 {
    padding: 4.5rem 0 5rem;
    background: linear-gradient(135deg, var(--avo-tint) 0%, var(--avo-tint-2) 100%);
}

.avo-404__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 3rem;
}

.avo-404__art {
    display: flex;
    justify-content: center;
}

.avo-404__art svg {
    width: min(360px, 80%);
    height: auto;
}

.avo-404__code {
    display: block;
    font-size: clamp(5rem, 14vw, 9rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--avo-primary), var(--avo-forest));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: .75rem;
}

.avo-404 h1 {
    font-size: 2.2rem;
    margin-bottom: .75rem;
}

.avo-404 p {
    color: var(--avo-muted);
    font-size: 16px;
    max-width: 460px;
}

.avo-404__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem;
}

.avo-404__actions .btn {
    padding: .85rem 1.75rem;
    font-size: 15px;
}

/* ---------------------------------------------------------------------------
   Footer (kaynakta yok — palet ile tasarlandı)
   ------------------------------------------------------------------------ */
.avo-footer {
    margin-top: 3rem;
    background: var(--avo-forest);
    color: rgba(255, 255, 255, .78);
}

.avo-footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding: 3.5rem 0 2.5rem;
}

.avo-footer__brand img {
    max-height: 56px;
    width: auto;
    margin-bottom: 1rem;
}

.avo-footer__brand p {
    font-size: 14px;
}

.avo-footer__slogan {
    color: #fff;
    font-weight: 700;
}

.avo-footer h2 {
    color: #fff;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 1rem;
}

.avo-footer li + li {
    margin-top: .5rem;
}

.avo-footer a {
    color: rgba(255, 255, 255, .78);
}

.avo-footer a:hover {
    color: var(--avo-soft);
}

.avo-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
}

.avo-footer__contact .avo-icon {
    margin-top: .25rem;
    color: var(--avo-soft);
}

.avo-footer .social-media {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: 1rem;
}

.avo-footer .social-media a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 16px;
}

.avo-footer .social-media a:hover {
    background: var(--avo-primary);
}

.avo-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 1.1rem 0;
    font-size: 13px;
}

.avo-footer__bottom .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

/* ---------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------ */
@media (max-width: 1023px) {
    .avo-catalog {
        grid-template-columns: minmax(0, 1fr);
    }

    .avo-cat-sidebar {
        position: static;
    }

    .avo-detail {
        grid-template-columns: minmax(0, 1fr);
        padding: 1.25rem;
    }

    .avo-footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .avo-404__inner {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
    }

    .avo-404 p {
        margin-left: auto;
        margin-right: auto;
    }

    .avo-404__actions {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .avo-page-hero {
        padding: 2.75rem 0;
    }

    .avo-page-hero h1 {
        font-size: 2.1rem;
    }

    .avo-page-hero p {
        font-size: 1rem;
    }

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

    .avo-product-card__body {
        padding: .75rem;
    }

    .avo-product-card__actions {
        flex-direction: column;
    }

    .avo-footer__top {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.75rem;
    }

    .avo-article {
        padding: 1.25rem;
    }

    .avo-detail__title {
        font-size: 1.5rem;
    }
}

/* ---------------------------------------------------------------------------
   v1.1 — e-ticaret düzeltmeleri: tipografi, header kullanıcı menüsü, mobil sepet
   sayacı, banner, mega menü küçük görseller, footer yardım/ödeme satırı
   ------------------------------------------------------------------------ */
:root {
    --font-body: "Nunito", "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
}

body {
    font-size: 15px;
}

h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -.01em;
}

.container {
    max-width: 1320px;
}

.h-banner a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .45rem;
    width: 100%;
}

.h-banner__sep {
    opacity: .7;
}

.header-bar {
    gap: .75rem;
}

.h-center .center-call .content strong {
    font-size: 14px;
    color: var(--avo-ink);
}

.header-bar .bar-user {
    position: relative;
}

.bar-user__menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 210px;
    padding: .5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(44, 62, 80, .15);
    z-index: 70;
}

.bar-user__menu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.bar-user:hover .bar-user__menu,
.bar-user:focus-within .bar-user__menu,
.bar-user.is-open .bar-user__menu {
    display: block;
}

.bar-user__menu a,
.bar-user__menu button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .55rem .7rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font: inherit;
    font-weight: 600;
    font-size: 14px;
    color: var(--avo-ink);
    cursor: pointer;
    text-align: left;
    white-space: nowrap;
}

.bar-user__menu a:hover,
.bar-user__menu button:hover {
    background: var(--avo-tint);
    color: var(--avo-deep);
}

.header-bar .bar-cart--primary {
    width: auto;
    padding: 0 1rem 0 .5rem;
    gap: .5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--avo-primary), var(--avo-accent));
    color: #fff;
}

.header-bar .bar-cart--primary .icon {
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bar-cart__label {
    font-size: 13.5px;
    font-weight: 700;
}

.header-bar .bar-cart .count[hidden] {
    display: none;
}

header.mobile .icon-group--cart {
    position: relative;
}

header.mobile .icon-group--cart .count {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--avo-warn);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

header.mobile .icon-group--cart .count[hidden] {
    display: none;
}

.mega-menu {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 1rem;
}

.mega-menu .nav-link__caret {
    margin-left: auto;
}

.menu__cta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: .95;
}

.menu-left .f-li__thumb {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: .5rem;
}

.menu-left .f-li > a > span {
    flex: 1;
}

.menu-left .f-li--all > a {
    border-top: 1px solid var(--avo-line);
    color: var(--avo-accent);
    font-weight: 700;
}

.sidebar-user .login-menu form {
    margin: 0;
}

.sidebar-user .login-menu button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem 1.1rem;
    border: 0;
    border-bottom: 1px solid var(--avo-line);
    background: transparent;
    font: inherit;
    font-weight: 600;
    color: var(--avo-ink);
    cursor: pointer;
    text-align: left;
}

.avo-footer__top {
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
}

.avo-footer__payments {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: 1.25rem;
}

.avo-footer__payments span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .6rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, .08);
    font-size: 12px;
}

.avo-footer__delivery {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.avo-product-card__body {
    gap: .15rem;
}

.avo-product-card__actions .avo-btn-cart {
    gap: .35rem;
}

.avo-empty--large {
    padding: 4rem 1.5rem;
}

.avo-empty--large .avo-icon {
    font-size: 56px;
}

.avo-empty h2 {
    font-size: 1.35rem;
    margin-bottom: .5rem;
    color: var(--avo-ink);
}

.avo-empty p {
    max-width: 520px;
    margin: 0 auto 1.25rem;
}

@media (max-width: 1200px) {
    .h-center .center-call {
        display: none;
    }
}

@media (max-width: 1023px) {
    .avo-footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .avo-footer__top {
        grid-template-columns: minmax(0, 1fr);
    }

    .avo-list-head {
        align-items: stretch;
        flex-direction: column;
    }

    .avo-list-head__tools {
        justify-content: space-between;
    }
}
