.storefront-catalog-hero {
    display: grid;
    grid-template-columns: minmax(0, 3.2fr) minmax(13rem, 1fr);
    gap: .75rem;
}

.storefront-catalog-hero-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1rem, 3.5vw, 3rem);
    min-height: 20rem;
    padding: clamp(1.3rem, 3.6vw, 3.3rem);
    border-radius: 1rem;
    background: radial-gradient(ellipse at 100% 15%, #397346, #214f33 64%, #173d28);
    color: #fff;
}

.storefront-catalog-hero-copy { flex: 1 1 22rem; min-width: 0; }
.storefront-catalog-hero-copy h1 { margin: 0; font-size: clamp(1.9rem, 3.25vw, 3.45rem); line-height: 1.09; color: inherit; }
.storefront-catalog-hero-copy p { margin: .85rem 0 1.15rem; max-width: 42ch; color: #edf5eb; }
.storefront-catalog-hero-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.storefront-catalog-hero .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.storefront-catalog-hero .btn-lime { background: #c7eb8d; color: #173d28; }

.home-compact-picture {
    display: contents;
}

.storefront-catalog-hero-photos {
    flex: 1 1 24rem;
    min-width: 0;
    display: flex;
    align-items: flex-end;
    gap: .45rem;
}

.storefront-catalog-hero-photo {
    flex: 1 1 0;
    min-width: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    align-self: stretch;
    border-radius: .65rem;
    overflow: hidden;
    background: #fcfffa;
    color: #214f33;
    text-decoration: none;
}

.storefront-catalog-hero-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: .92;
    object-fit: contain;
    background: #f0f5ee;
}

.storefront-catalog-hero-photo span { padding: .45rem .35rem; text-align: center; font-size: .83rem; font-weight: 650; overflow-wrap: anywhere; }
.storefront-catalog-hero-photo:hover span { background: #e2efd9; }
.storefront-catalog-hero a:focus-visible { outline: 2px solid #82ab43; outline-offset: 2px; }

.storefront-catalog-hero-shortcuts { display: grid; gap: .75rem; }
.storefront-catalog-hero-shortcuts a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .25rem;
    padding: clamp(.85rem, 2vw, 1.5rem);
    border: 1px solid #d8e6d3;
    border-radius: .85rem;
    background: #eff6e9;
    color: #214f33;
    text-decoration: none;
}

.storefront-catalog-hero-shortcuts a:hover { background: #e2efd9; }
.storefront-catalog-hero-shortcuts strong { font-size: clamp(1.05rem, 1.6vw, 1.4rem); line-height: 1.25; }
.storefront-catalog-hero-shortcuts span { font-size: .9rem; color: #365343; }

.storefront-home-flash-inner {
    border-radius: 1rem;
    border: 1px solid #d4e3ce;
    background: #eef6e8;
    padding: clamp(.8rem, 2.3vw, 1.7rem);
}

#kategoriler, #urun-bul { scroll-margin-top: clamp(7rem, 15vh, 12rem); }

.category-card .category-product-image {
  width: min(112px, 100%);
  height: 72px;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.category-card .category-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 480px) {
  .category-card .category-product-image {
    width: min(86px, 100%);
    height: 60px;
  }
}

/* Frequently asked questions */
.storefront-home-faq-list {
    display: grid;
    gap: .65rem;
    max-width: 100%;
}

.storefront-home-faq-item {
    background: #fff;
    border: 1px solid var(--line, #e2e5e9);
    border-radius: 10px;
    overflow-wrap: anywhere;
}

.storefront-home-faq-item > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.4rem;
    padding: .85rem 1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.storefront-home-faq-item > summary::-webkit-details-marker { display: none; }

.storefront-home-faq-item > summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -3px;
    border-radius: 10px;
}

.storefront-home-faq-icon {
    flex: 0 0 auto;
    width: .65rem;
    height: .65rem;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin: -.25rem .2rem 0 .1rem;
}

.storefront-home-faq-item[open] .storefront-home-faq-icon {
    transform: rotate(225deg);
    margin-top: .25rem;
}

.storefront-home-faq-answer {
    padding: 0 1rem 1rem;
}

.storefront-home-faq-answer > :last-child { margin-bottom: 0; }

.storefront-home-finder .v5-finder {
    grid-template-columns: minmax(15rem, .62fr) minmax(0, 1.38fr);
    align-items: stretch;
}

.storefront-home-finder .v5-finder-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    min-width: 0;
    padding: clamp(1rem, 2.5vw, 2.1rem);
    border-inline-end: 1px solid rgba(255, 255, 255, .16);
    border-bottom: 0;
}

.storefront-home-finder .v5-finder-intro::after { content: none; }
.storefront-home-finder .v5-finder-intro h2 { margin: 0; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.2; }
.storefront-finder-intro-copy p { margin: .45rem 0 .75rem; color: #eef5eb; }
.storefront-finder-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; width: min(100%, 20rem); }
.storefront-finder-photos img { width: 100%; height: auto; aspect-ratio: 1.08; object-fit: contain; border-radius: .6rem; background: #eff5ec; }
.storefront-home-finder .v5-finder-panel { min-width: 0; padding: clamp(1rem, 2.4vw, 1.65rem); }

.storefront-home-finder :is(.finder-home-criteria, .finder-home-features) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin: 0;
}

.storefront-home-finder :is(.finder-home-criteria, .finder-home-features) > div {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.finder-home-criteria > div:first-child { grid-column: span 2; }
.finder-home-criteria > div:last-child { grid-column: 1 / -1; }
.storefront-home-finder .form-label { color: #edf5eb; margin-bottom: .32rem; }
.storefront-home-finder :is(.form-control, .form-select) { min-height: 44px; border-color: #abc5aa; }
.storefront-home-finder .v5-finder-panel h2 { margin: 0 0 .65rem !important; font-size: 1.06rem; color: #fff; }
.storefront-home-finder .v5-finder-panel hr { margin-block: 1rem !important; }
.storefront-home-finder .filter-check { min-height: 36px; align-items: center; }

.storefront-home-finder :is(.filter-check, .finder-count, .finder-count strong, .v6-finder-status) {
    color: #f5faf5;
}

.storefront-home-finder .finder-live {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .6rem 1rem;
    margin-top: .9rem !important;
    padding: .65rem .8rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: .65rem;
    background: rgba(255, 255, 255, .07);
}

.storefront-home-finder .finder-live .btn { min-height: 44px; display: inline-flex; align-items: center; }
.storefront-home-finder .finder-live .btn-brand { background: #c7eb8d; border-color: #c7eb8d; color: #173d28; }
.storefront-home-finder [data-finder-results-title]:focus { scroll-margin-top: 8rem; }

.storefront-category-discovery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
    margin: 0;
}

.storefront-category-discovery-card {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 5rem;
    height: 100%;
    padding: .55rem .75rem;
    border: 1px solid #d7e5d2;
    border-radius: .7rem;
    background: #f7fbf5;
    color: #214f33;
    text-decoration: none;
}

.storefront-category-discovery-card:hover { background: #eaf4e6; color: #173d28; }
.storefront-category-discovery-card img { flex: none; width: 3.75rem; height: 3.75rem; object-fit: contain; border-radius: .45rem; background: #fff; }
.storefront-category-discovery-card span { min-width: 0; overflow-wrap: anywhere; }
.storefront-category-discovery-card small { display: block; color: #435b48; }
.storefront-category-discovery-more { margin-top: .65rem; }
.storefront-category-discovery-more summary { display: flex; align-items: center; gap: .65rem; width: fit-content; min-height: 44px; padding: .35rem .7rem; color: #245b38; font-weight: 650; cursor: pointer; }
.storefront-category-discovery-more summary::-webkit-details-marker { display: none; }
.storefront-category-discovery-more .storefront-category-discovery-grid { margin-top: .5rem; }
.storefront-category-discovery-icon { width: .6rem; height: .6rem; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); margin-top: -.25rem; }
.storefront-category-discovery-more[open] .storefront-category-discovery-icon { transform: rotate(225deg); margin-top: .25rem; }

@media (max-width: 1024px) {
    .storefront-catalog-hero { grid-template-columns: minmax(0, 1fr); }
    .storefront-catalog-hero-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .storefront-home-finder .v5-finder { grid-template-columns: minmax(0, 1fr); }
    .storefront-home-finder .v5-finder-intro { border-inline-end: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
    .storefront-home-finder :is(.finder-home-criteria, .finder-home-features) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .finder-home-criteria > div:nth-child(2) { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .storefront-catalog-hero-main { flex-direction: column; align-items: stretch; min-height: 0; }
    .storefront-catalog-hero-copy, .storefront-catalog-hero-photos { flex: none; }
    .storefront-catalog-hero-photo img { aspect-ratio: 1.15; }
    .storefront-catalog-hero-shortcuts span { font-size: .8rem; }
    .storefront-finder-photos { width: min(100%, 15rem); }
    .storefront-category-discovery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .storefront-category-discovery-card { flex-direction: column; align-items: flex-start; gap: .4rem; }
    .storefront-category-discovery-card img { align-self: stretch; width: 100%; height: 4rem; }
}

@media (max-width: 340px) {
    .storefront-catalog-hero-shortcuts { grid-template-columns: minmax(0, 1fr); }
    .storefront-home-finder .finder-home-features { grid-template-columns: minmax(0, 1fr); }
}

body .hero-grid:has(> .home-banner-card--lead, > .hero-side > .home-banner-card--companion) {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(.65rem, 1.3vw, 1.1rem);
}

body .hero-side:has(> .home-banner-card--companion),
.home-banner-rail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    grid-template-rows: none;
    gap: clamp(.65rem, 1.3vw, 1.1rem);
    min-width: 0;
}

.home-banner-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d8e4db;
    border-radius: .9rem;
    background: #fff;
    color: #203d2b;
    text-decoration: none;
}

a.home-banner-card:hover {
    border-color: #86a88d;
    background: #f7fbf6;
    color: #203d2b;
    text-decoration: none;
}

a.home-banner-card:focus-visible {
    outline: 3px solid #22663a;
    outline-offset: -3px;
}

.home-banner-art {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 2028 / 810;
    background: #eff5ef;
}

.home-banner-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-banner-caption {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .45rem .85rem;
    padding: .55rem clamp(.75rem, 1.4vw, 1.1rem);
}

.home-banner-caption-copy {
    flex: 1 1 10rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.home-banner-caption h1,
.home-banner-caption h2 {
    margin: 0;
    color: inherit;
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.25;
}

.home-banner-card--lead .home-banner-caption {
    padding: clamp(.9rem, 2vw, 1.55rem);
}

.home-banner-caption h1 {
    font-size: clamp(1.25rem, 2.4vw, 2rem);
    line-height: 1.12;
}

.home-banner-kicker {
    display: block;
    margin-bottom: .3rem;
    color: #365b41;
    font-size: .85rem;
}

.home-banner-caption p {
    margin: .32rem 0 0;
    color: #46604e;
    font-size: .91rem;
    line-height: 1.48;
}

.home-banner-action {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
    max-width: 100%;
    color: #245c38;
    font-size: .86rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.home-banner-action span {
    flex: none;
    font-size: 1.1em;
}

.home-banner-card--lead .home-banner-action {
    padding-inline: .85rem;
    border-radius: .55rem;
    color: #fff;
    background: #245c38;
}

.home-banner-card--text {
    min-height: 8rem;
    background: #eef6ee;
}

.home-banner-collections {
    padding-block: clamp(.85rem, 2.25vw, 1.8rem);
}

@media (min-width: 1080px) {
    body .hero-grid:has(> .home-banner-card--lead):has(> .hero-side > .home-banner-card--companion) {
        grid-template-columns: minmax(0, 2.08fr) minmax(0, 1fr);
    }

    body .hero-grid:has(> .home-banner-card--lead) > .hero-side:has(> .home-banner-card--companion) {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 680px) {
    body .hero-side:has(> .home-banner-card--companion:nth-child(2)),
    .home-banner-rail:has(> .home-banner-card:nth-child(2)) {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 86%;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
        padding-bottom: .3rem;
    }

    .home-banner-card {
        scroll-snap-align: start;
    }
}

.home-product-shelf.section {
    padding-block: clamp(.85rem, 2vw, 1.5rem);
    background: transparent;
}

.home-product-shelf-inner {
    min-width: 0;
    padding: clamp(.65rem, 1.65vw, 1.45rem);
    border: 1px solid #d8e4db;
    border-radius: .9rem;
    background: #f7faf6;
}

.storefront-home-flash .home-product-shelf-inner {
    background: #eef6e8;
}

.home-product-shelf-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .45rem .85rem;
    margin-bottom: .85rem;
    padding: .15rem .05rem .7rem;
    border-bottom: 1px solid #dde8de;
}

.home-product-shelf-heading > div {
    flex: 1 1 10rem;
    min-width: 0;
}

.home-product-shelf-heading h2 {
    position: relative;
    margin: 0;
    padding-inline-start: .75rem;
    color: #245036;
    font-size: clamp(1.08rem, 1.8vw, 1.5rem);
    font-weight: 760;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.home-product-shelf-heading h2::before {
    position: absolute;
    inset-block: .15em;
    inset-inline-start: 0;
    width: 3px;
    border-radius: 2px;
    background: #418456;
    content: "";
}

.home-product-shelf-heading p {
    margin: .35rem 0 0 .75rem;
    color: #47604f;
    font-size: .9rem;
    overflow-wrap: anywhere;
}

.home-product-shelf-heading .home-product-shelf-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 44px;
    max-width: 100%;
    min-width: 0;
    padding: .45rem .7rem;
    border: 1px solid #c7dacb;
    border-radius: .55rem;
    color: #245a37;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
}

.home-product-shelf-heading .home-product-shelf-action:hover {
    border-color: #7fa68a;
    color: #1d4e2e;
    background: #edf6ec;
}

.home-product-shelf-heading .home-product-shelf-action:focus-visible {
    outline: 2px solid #22663a;
    outline-offset: 2px;
}

.home-product-shelf-heading .home-product-shelf-action span {
    flex: none;
    font-size: 1.1em;
}
