/*
Theme Name: Çiçekçi Maltepe Child (Fulya)
Theme URI: https://www.cicekcimaltepe.com
Description: Fulya brand layer v1.0.5s — desktop header logo area: top/bottom empty space removed; v1.0.5r — desktop listing price 20px, order-proof specificity; v1.0.5q — desktop listing price 22px; v1.0.5p — desktop listing prices another -20%; v1.0.5o — header stacking rule wins regardless of stylesheet order; v1.0.5n — header stacking fix so dropdowns sit above product images; v1.0.5m — single Teslimat Bilgileri heading (page-id-660); v1.0.5l — homepage SEO text + footer anchors (keyword split), shop hours 09:00–22:00; v1.0.5j — desktop listing prices -30%; Florist schema NAP = Google Business Profile (09:00–22:00 + 7/24 acil sipariş); Product + Florist JSON-LD, homepage H1, product description cleanup; header unstick + teslimat heading/DM Sans — phone required + iyzico gateway hardening (logs iyzico errorCode/errorMessage, no fatal, no silent guard) + checkout validation logger. Parent delivery AJAX untouched.
Author: grafiker + cicekci
Template: cicekcimaltepe
Version: 1.0.5s
Text Domain: cicekcimaltepe-child
*/

/* v1.0.5j — Desktop listing card prices ~30% smaller (homepage grid + category archives).
 * Parent: .product-price 3.2rem (51.2px) → 2.24rem (35.84px); .product-price2 2.2rem → 1.54rem.
 * Mobile (<=768px) untouched; single product page (body.single-product, incl. related) untouched. */
@media (min-width: 769px) {
  body:not(.single-product) .product-price,
  body:not(.single-product) .product-grid .product-price,
  body:not(.single-product) ul.products li.product .product-price,
  body:not(.single-product).woocommerce ul.products li.product .price {
    font-size: 22px !important; /* 1.0.5q: user asked 22px */
    line-height: 1.2 !important;
  }
  body:not(.single-product) .product-price2,
  body:not(.single-product) .product-grid .product-price2 {
    font-size: 15px !important; /* 1.0.5q: same ratio as main price */
    line-height: 1.2 !important;
  }
}

/* v1.0.5m — Teslimat Bilgileri page: one heading.
 * The 1.0.5e rule used body.page-slug-teslimat-bilgileri, a class WordPress never outputs,
 * so the theme title (header.page-header > h1.page-title) stayed visible above the
 * shortcode header (.pd-delivery-page-header > h1). Target the real body class page-id-660. */
body.page-id-660 .page-header,
body.page-id-660 h1.page-title {
  display: none !important;
}

/* v1.0.5n — Dropdown menus hidden behind product images.
 * Root cause: 1.0.5f header unstick set .site-header { position: static; z-index: auto }.
 * Parent .site-header has backdrop-filter, which makes its own stacking layer; with z-index auto
 * that layer paints below later positioned content (product cards), so .sub-menu (z 9999) is
 * trapped under them. position: relative still scrolls away normally (not pinned), and z-index
 * 1000 lifts the header and its dropdowns above page content. Mobile drawer (z 10000+) unaffected. */
.site-header,
header.site-header {
  position: relative !important;
  z-index: 1000 !important;
}

/* v1.0.5o — 1.0.5n lost to garlon-ui.css (loaded later, same specificity, !important) whenever the
 * second copy of this file (?ver=1.0.5l) came from browser cache. Higher specificity wins in any order. */
html body header.site-header.site-header {
  position: relative !important;
  z-index: 1000 !important;
}

/* v1.0.5r — Desktop listing price 20px (user request). High specificity so it wins even when a
 * later or cached copy of this file / garlon-ui.css loads after it. Mobile and single product untouched. */
@media (min-width: 769px) {
  html body:not(.single-product) .product-price.product-price.product-price.product-price.product-price,
  html body:not(.single-product) .product-price.product-price.product-price.product-price.product-price *,
  html body:not(.single-product) ul.products li.product .price.price,
  html body:not(.single-product) ul.products li.product .price.price * {
    font-size: 20px !important;
    line-height: 1.2 !important;
  }
  html body:not(.single-product) .product-price2.product-price2.product-price2.product-price2.product-price2,
  html body:not(.single-product) .product-price2.product-price2.product-price2.product-price2.product-price2 * {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
}

/* v1.0.5s — Desktop header logo area too tall (user request: remove the empty space above and below).
 * Cause: fulya-wordmark.png (1500x505) has ~99px transparent padding top and bottom (~30px at 154px
 * display height), plus .header-main padding 15px and img margin 6px. Negative margins swallow the
 * transparent padding without cropping the artwork. Logo size unchanged. Mobile (<=768px) untouched. */
@media (min-width: 769px) {
  html body .site-header .header-main.header-main {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }
  html body .site-header .header-main a.site-logo.site-logo img {
    margin-top: -28px !important;
    margin-bottom: -28px !important;
    padding-top: 0 !important;
  }
}
