/*
Theme Name: Bozo-SHOP
Description: Bazaro HTML bileşenlerinin WooCommerce uyarlaması.
Version: 0.2.0
Requires PHP: 8.3
Text Domain: bozo-shop
*/

/* Bozo renkleri ve yerel WooCommerce uyumu. Temel düzen Bazaro main.css'ten gelir. */
.bozo-bazaro {
    --bozo-ink: #161616;
    --bozo-yellow: #ffbd25;
    --aq-common-black: var(--bozo-ink);
    --aq-theme-primary: var(--bozo-yellow);
    --aq-ff-onest: 'Satoshi-Medium', system-ui, sans-serif;
    color: var(--bozo-ink);
    background: #fff;
}
.bozo-bazaro :focus-visible { outline: 3px solid #8b5a00; outline-offset: 3px; }
.skip-link { position: absolute; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.bozo-announcement { background-color: #ffe29a; }
.bozo-announcement a { text-decoration: underline; text-underline-offset: 3px; }
.bozo-masthead {
    --bozo-header-border: #e9e4da;
    --bozo-header-surface: #faf8f3;
    --bozo-header-selected: #ffe5a4;
    position: relative;
    z-index: 5;
    border-bottom: 1px solid var(--bozo-header-border);
    background: #fff;
}
.bozo-masthead-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 76px;
}
.bozo-header-logo { display: block; padding-block: 4px; }
.bozo-header-logo img { display: block; width: auto; height: 62px; }
.bozo-wordmark { font: 800 clamp(1.3rem, 2.1vw, 1.9rem)/1 'Satoshi-Bold', system-ui, sans-serif; letter-spacing: -.06em; white-space: nowrap; }
.bozo-wordmark span { letter-spacing: -.02em; }
.bozo-primary-nav ul,
.bozo-mobile-nav ul,
.bozo-header-actions { margin: 0; padding: 0; list-style: none; }
.bozo-primary-nav ul {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px;
    border: 1px solid var(--bozo-header-border);
    border-radius: 28px;
    background: var(--bozo-header-surface);
}
.bozo-primary-nav a,
.bozo-mobile-nav nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 5px 12px;
    border-radius: 22px;
    color: #33302a;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.25;
}
.bozo-primary-nav a { white-space: nowrap; }
.bozo-primary-nav a:hover,
.bozo-mobile-nav nav a:hover { background: #fff0cf; color: var(--bozo-ink); }
.bozo-primary-nav a[aria-current],
.bozo-mobile-nav nav a[aria-current] { background: var(--bozo-header-selected); color: var(--bozo-ink); }
.bozo-header-actions { display: flex; align-items: center; gap: 6px; justify-self: end; }
.bozo-header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--bozo-header-border);
    border-radius: 22px;
    background: #fff;
    color: var(--bozo-ink);
    line-height: 1;
}
.bozo-header-action svg { display: block; flex: 0 0 auto; }
.bozo-header-action:hover,
.bozo-masthead details[open] > .bozo-header-action { background: #fff0cf; color: var(--bozo-ink); }
.bozo-header-action[aria-current] { background: var(--bozo-header-selected); }
.bozo-header-cart { border-color: #f2d58a; background: #fff5dd; }
.bozo-mobile-nav,
.bozo-header-search { position: relative; }
.bozo-mobile-nav { justify-self: start; }
.bozo-mobile-nav summary,
.bozo-header-search summary { cursor: pointer; list-style: none; }
.bozo-mobile-nav summary::-webkit-details-marker, .bozo-header-search summary::-webkit-details-marker { display: none; }
.bozo-mobile-nav summary { padding-inline: 10px; font-size: .875rem; font-weight: 700; }
.bozo-mobile-nav nav,
.bozo-header-search form {
    position: absolute;
    z-index: 6;
    inset-block-start: calc(100% + 10px);
    width: min(310px, calc(100vw - 24px));
    padding: 10px;
    border: 1px solid var(--bozo-header-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 26px #18110b26;
}
.bozo-mobile-nav nav { inset-inline-start: 0; max-height: 70vh; overflow-y: auto; }
.bozo-mobile-nav nav a { border-radius: 8px; }
.bozo-header-search form { inset-inline-end: 0; }
.bozo-header-search .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
@media (min-width: 1200px) {
    .bozo-masthead-inner { grid-template-columns: minmax(90px, 1fr) auto minmax(144px, 1fr); gap: 16px; }
    .bozo-header-logo { justify-self: start; }
}

.bozo-bazaro .elt-slider-active { margin-inline: 0; }
.bozo-bazaro .elt-slider-active:not(.swiper-initialized) .swiper-slide:not(:first-child) { display: none; }
.bozo-bazaro .elt-slider-item { isolation: isolate; background: var(--slide-bg); }
.bozo-hero-gold { --slide-bg: #ffd45b; }
.bozo-hero-sage { --slide-bg: #dbe6d0; }
.bozo-hero-stone { --slide-bg: #dce0e9; }
.bozo-bazaro .elt-slider-thumb { background: var(--slide-bg); }
.bozo-bazaro .elt-slider-thumb img {
    display: block;
    width: 66%;
    margin-inline-start: auto;
    object-fit: cover;
    mask-image: linear-gradient(to right, transparent, #000 30%);
}
.bozo-bazaro .elt-slider-content { width: min(640px, 52%); }
.bozo-bazaro .elt-slider-content .aq-section-title { font-family: 'Satoshi-Bold', system-ui, sans-serif; }
.bozo-bazaro .elt-slider-price { line-height: 1.5; max-width: 36ch; }
.bozo-bazaro .elt-slider-arrow button { background: #fff; font-size: 26px; }
.bozo-bazaro .elt-slider-arrow button:hover { background: var(--bozo-ink); color: #fff; }
.bozo-feature-wrap { background-color: #f8f7f4; padding: 24px 26px 0; gap: 8px 20px; }
.bozo-feature-wrap .aqf-shop-feature-icon { font-size: 1.55rem; }
.bozo-feature-wrap .aqf-shop-feature-content p { margin-bottom: 0; }
.elt-categories-style .aqf-categories-img { max-width: 100%; border-radius: 10px; overflow: hidden; background: #f6f5f3; }
.elt-categories-style .aqf-categories-img img { width: 100%; height: 100%; object-fit: cover; }
.bozo-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.bozo-section-heading h2 { margin-bottom: 0; }
.bozo-footer { background: #f2f0ed; margin-top: 30px; }
.bozo-support { display: inline-flex; align-items: center; min-height: 44px; border-radius: 24px; padding: 9px 16px; background: #25d366; color: #0b2614; font-weight: 700; }
.bozo-support:hover { color: #0b2614; background: #20bc58; }
.bozo-bazaro .wrap.content { width: min(1320px, 100% - 36px); margin: 0 auto; padding: 35px 0 50px; min-height: 50vh; }
.bozo-bazaro .woocommerce button.button.alt,
.bozo-bazaro .woocommerce a.button.alt { background: var(--bozo-ink); color: #fff; border-radius: 24px; min-height: 44px; }
.bozo-bazaro .woocommerce button.button.alt:hover,
.bozo-bazaro .woocommerce a.button.alt:hover { background: #333; color: #fff; }
.bozo-bazaro .woocommerce .form-row input.input-text,
.bozo-bazaro .woocommerce .form-row textarea { max-width: 100%; }
.bozo-bazaro .woocommerce .quantity input.qty { min-height: 40px; }
.bozo-bazaro .woocommerce-error li, .bozo-bazaro .woocommerce-info li { list-style: none; }
.bozo-woo-content { min-height: 50vh; }
.bozo-transaction-page { min-height: 50vh; }
.bozo-transaction-page .cart-empty, .bozo-transaction-page .return-to-shop { width: min(1320px, 100% - 36px); margin: 24px auto; }
.bozo-catalog-hero { background: #f4f3ef; }
.bozo-catalog-category-mark { display: grid; place-items: center; height: 100%; background: #e9e4d9; border-radius: 50%; }
.bozo-bazaro-catalog .aq-product-area { padding-top: 55px; }
.bozo-bazaro-catalog .aq-product-sidebar-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 22px; }
.bozo-bazaro-catalog .aq-product-sidebar-top .woocommerce-result-count,
.bozo-bazaro-catalog .aq-product-sidebar-top .woocommerce-ordering { float: none; margin: 0; }
.bozo-bazaro-catalog .aq-product-sidebar-top .woocommerce-ordering { margin-inline-start: auto; }
.bozo-bazaro-catalog .woocommerce-ordering select { border: 1px solid #d9d6d0; border-radius: 6px; min-height: 44px; padding: 6px 10px; max-width: 100%; background: #fff; }
.bozo-bazaro .bozo-catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 22px; margin: 0; padding: 0; list-style: none; }
.bozo-bazaro .bozo-catalog-grid.aq-col-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bozo-bazaro .bozo-catalog-grid.bozo-catalog-list { grid-template-columns: minmax(0, 1fr); }
.bozo-bazaro .bozo-catalog-grid .bozo-bazaro-card { width: 100%; min-width: 0; margin: 0; list-style: none; }
.bozo-catalog-list .bozo-bazaro-card { display: grid; grid-template-columns: minmax(90px, 28%) 1fr; gap: 20px; align-items: center; }
.bozo-bazaro-card .aq-product-thumb img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 6px; }
.bozo-bazaro-card.bozo-preview-card .aq-product-thumb img { aspect-ratio: 1; object-fit: contain; }
.bozo-bazaro-card .bozo-bazaro-card-actions .button { background: #f1efeb; color: #171717; border-radius: 22px; min-height: 40px; }
.bozo-bazaro-card .bozo-bazaro-card-actions .button:hover { background: var(--bozo-yellow); }
.bozo-catalog-filters-mobile summary { cursor: pointer; list-style: none; width: max-content; min-height: 44px; border: 1px solid #d9d6d0; border-radius: 24px; padding: 7px 14px; }
.bozo-bazaro .bozo-bazaro-pdp .woocommerce-product-gallery, .bozo-bazaro .bozo-bazaro-pdp .summary { float: none; width: 100%; }
.bozo-guided-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "identity" "gallery" "summary";
    align-items: start;
}
.bozo-guided-product-identity { grid-area: identity; }
.bozo-guided-product-gallery { grid-area: gallery; align-self: stretch; }
.bozo-guided-product-summary { grid-area: summary; }
.bozo-guided-product-summary .entry-summary { padding-block-start: 12px; }
.bozo-guided-product-identity .aq-product-badge { margin-bottom: 8px; }
.aq-product-badge .bozo-stock-quantity { text-transform: none; }
.bozo-product-jumps { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.bozo-product-jumps a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 12px;
    border: 1px solid #e9e4da;
    border-radius: 22px;
    background: #faf8f3;
    color: #332b1d;
    font-size: .875rem;
    font-weight: 700;
}
.bozo-product-jumps a:hover,
.bozo-product-jumps a:last-child { background: #ffe9ad; color: #332b1d; }
.bozo-guided-product-summary h2[tabindex] { scroll-margin-block-start: 16px; }
@media (max-width: 991.98px) {
    .bozo-guided-product-gallery > .product-details-slider-wrap { max-width: 34rem; margin-inline: auto; }
}
@media (min-width: 992px) {
    .bozo-guided-product-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: max-content 1fr;
        grid-template-areas: "gallery identity" "gallery summary";
    }
    .bozo-guided-product-identity,
    .bozo-guided-product-summary { padding-inline-start: calc(var(--bs-gutter-x) * .5 + 24px); }
    .bozo-guided-product-identity { padding-block-start: 25px; }
    .bozo-guided-product-summary .entry-summary { padding-block-start: 0; }
}
.bozo-bazaro .bozo-bazaro-cart .cart-collaterals .cart_totals { float: none; width: 100%; }
.bozo-bazaro .aq-product-sidebar-widget .active > a,
.bozo-bazaro .aq-product-sidebar-widget a:hover { color: #805600; }
.bozo-preview-label { font-size: .9rem; font-weight: 700; color: #39322a; }
.bozo-preview-media-label { display: inline-block; margin-block: 3px 6px; padding: 1px 8px; border-radius: 12px; background: #f1efeb; color: #39322a; font-size: .75rem; }
.bozo-product-guide {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #e9e4da;
    border-radius: 12px;
    background: #faf8f3;
    color: var(--bozo-ink);
}
.bozo-product-guide h2 { margin-bottom: 10px; font-size: 1.18rem; line-height: 1.25; }
.bozo-product-guide dl { margin: 0 0 12px; }
.bozo-product-guide dl div { padding-block: 7px; border-bottom: 1px solid #e9e4da; }
.bozo-product-guide dd { margin-bottom: 0; }
.bozo-product-guide dd,
.bozo-product-guide p { color: #514d44; font-size: .92rem; line-height: 1.45; }
.bozo-product-guide p { margin-bottom: 8px; }
.bozo-product-guide p:last-child { margin-bottom: 0; }
.bozo-product-guide a { color: #694300; text-decoration: underline; text-underline-offset: 3px; }
.bozo-product-comparison { width: 100%; margin-bottom: 10px; border-collapse: collapse; table-layout: fixed; }
.bozo-product-comparison caption { caption-side: top; padding: 0 0 6px; color: #514d44; }
.bozo-product-comparison th,
.bozo-product-comparison td { padding: 7px 6px; border: 1px solid #e9e4da; vertical-align: top; overflow-wrap: anywhere; }
.bozo-product-comparison thead th { background: #f1ece1; }
.bozo-product-comparison thead th:first-child { width: 25%; }
.bozo-product-comparison tbody td { background: #fff; }
.bozo-comparison-current {
    display: block;
    width: fit-content;
    margin-top: 4px;
    padding: 1px 6px;
    border-radius: 10px;
    background: #ffe9ad;
    color: #583906;
    font-size: .75rem;
    font-weight: 700;
}
.bozo-bazaro .bozo-category-index { max-width: 1120px; }
.bozo-category-index h1 { margin-bottom: 24px; }
.bozo-category-index .woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
}
.bozo-category-index .woocommerce ul.products::before,
.bozo-category-index .woocommerce ul.products::after { display: none; }
.bozo-bazaro .bozo-category-index .woocommerce ul.products li.product-category {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    float: none;
    border: 1px solid #ebe9e5;
    border-radius: 10px;
    background: #faf9f7;
}
.bozo-category-index .woocommerce ul.products li.product-category a { display: block; height: 100%; border-radius: inherit; }
.bozo-category-index .woocommerce ul.products li.product-category img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 9px 9px 0 0;
    margin: 0;
}
.bozo-category-index .woocommerce ul.products li.product-category h2 {
    padding: 12px 14px 14px;
    font-weight: 700;
    line-height: 1.35;
}
.bozo-category-index .woocommerce ul.products li.product-category mark { background: transparent; color: #615548; }

.bozo-mobile-search { padding-bottom: 10px; }
.bozo-mobile-search form,
.bozo-header-search form { display: flex; gap: 8px; }
.bozo-mobile-search input[type="search"],
.bozo-header-search input[type="search"] {
    flex: 1;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    height: auto;
    padding: 8px 12px;
    border: 1px solid #d9d6d0;
    border-radius: 8px;
    background: #faf9f7;
    font-size: 1rem;
}
.bozo-mobile-search button,
.bozo-header-search button {
    flex: 0 0 auto;
    min-width: 56px;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--bozo-yellow);
    color: var(--bozo-ink);
    font-weight: 700;
}
.bozo-quick-discovery ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
}
.bozo-catalog-discovery { flex-wrap: wrap; align-items: flex-start; gap: 8px; }
.bozo-catalog-discovery details[open] { flex-basis: 100%; }
.bozo-catalog-discovery details[open] summary { margin-bottom: 16px; }
.bozo-quick-discovery a,
.bozo-catalog-discovery > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 6px 12px;
    border: 1px solid #d9d6d0;
    border-radius: 24px;
    background: #faf9f7;
    color: var(--bozo-ink);
    text-align: center;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.25;
}
.bozo-quick-discovery a:hover,
.bozo-catalog-discovery > a:hover { border-color: var(--bozo-yellow); background: #fff4d9; }

@media (max-width: 767.98px) {
    .bozo-header-logo img { height: 54px; }
    .bozo-quick-discovery ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bozo-category-index .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .bozo-bazaro .elt-slider-item { background: #fff; }
    .bozo-bazaro .elt-slider-thumb { height: min(84vw, 420px); }
    .bozo-bazaro .elt-slider-thumb img { width: 100%; mask-image: none; object-fit: cover; }
    .bozo-bazaro .elt-slider-content { width: 100%; padding: 26px 18px 37px; }
    .bozo-bazaro .elt-slider-content .aq-section-title { font-size: clamp(1.8rem, 8vw, 2.7rem); }
    .bozo-bazaro .elt-slider-price { margin-inline: auto; }
    .bozo-bazaro .elt-slider-arrow { display: flex; gap: 6px; inset-inline-end: 12px; top: calc(min(84vw, 420px) - 55px); bottom: auto; }
    .bozo-feature-wrap { padding: 18px 15px 0; }
    .bozo-feature-wrap .aqf-shop-feature-item { width: 100%; }
    .bozo-bazaro-catalog .aq-product-area { padding-top: 28px; }
    .bozo-bazaro .bozo-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .bozo-bazaro-catalog .aq-product-sidebar-top .woocommerce-ordering { width: 100%; margin: 0; }
    .bozo-bazaro-catalog .woocommerce-ordering select { width: 100%; }
    .bozo-bazaro .aq-checkout-area, .bozo-bazaro .aq-cart-area { padding-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    .bozo-bazaro .elt-slider-content * { animation-duration: .01ms !important; animation-delay: 0ms !important; }
}

/* WooCommerce ürün detayında marka ve adet alanını tema ölçülerinde tut. */
.bozo-masthead .bozo-header-logo img { height: 62px; }
@media (max-width: 767.98px) {
    .bozo-masthead .bozo-header-logo img { height: 54px; }
}
.bozo-bazaro.single-product .quantity input.qty {
    box-sizing: border-box;
    min-width: 4.75rem;
    min-height: 44px;
    padding-inline: .625rem;
}
