/* Tatkur storefront refinement: cream canvas, pepper-green wayfinding. */
:root { --store-canvas: #f7f8f2; --store-surface: #fff; --store-tint: #eef3e6; --store-border: #dce5d5; --store-ink: #173e27; --store-soft: #596650; --store-shadow: 0 8px 24px rgba(27, 59, 34, .06); }
html[data-palette="light"] { --store-canvas: #faf9f4; --store-tint: #f2f3e9; --store-ink: #2d3d1b; }
body.tatkur-wordpress { background: var(--store-canvas); }
.tatkur-icon { flex: 0 0 auto; display: block; }
.palette-bar { padding-block: 6px; background: var(--store-canvas); border-color: var(--store-border); }
.palette-bar button { border-radius: 20px; min-height: 36px; font-size: 12px; }
.campaign-bar { background: var(--green-950); }
.site-header, html[data-palette="light"] .site-header { background: var(--store-surface); border-bottom: 1px solid var(--store-border); box-shadow: 0 4px 18px #173e2706; backdrop-filter: none; }
.site-header .header-main { grid-template-columns: 170px minmax(240px, 1fr) auto; height: 100px; gap: 28px; }
.site-header .brand { width: 140px; overflow: visible; }
.site-header .brand img { width: 102px; height: 94px; }
.site-header form.search { position: relative; grid-template-columns: 42px minmax(0, 1fr) auto; border: 1px solid var(--store-border); background: var(--store-canvas); border-radius: 14px; overflow: visible; transition: background .2s, border-color .2s, box-shadow .2s; }
.site-header form.search:focus-within { background: #fff; border-color: var(--green-700); box-shadow: 0 0 0 4px #237a351a, 0 6px 18px #173e270a; }
.search-icon { display: grid; place-items: center; padding-left: 10px; color: var(--store-soft); }
.site-header .search input { height: 50px; padding-left: 4px; font-size: 15px; border-radius: 14px; }
.site-header .search input::placeholder { color: #63715e; }
.site-header .search button { width: 74px; border-radius: 0 12px 12px 0; background: var(--green-900); }
.header-actions { gap: 16px; }
.header-actions .text-action { display: flex; padding: 8px; color: var(--store-ink); min-height: 48px; gap: 10px; }
.action-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.45; font-size: 14px; }
.action-copy small { color: var(--store-soft); font-weight: 400; font-size: 12px; }
.header-actions .cart-button { min-height: 50px; padding: 0 16px; border-radius: 14px; background: var(--green-900); gap: 9px; font-size: 14px; }
.header-actions .cart-button .action-label { background: none; color: inherit; border-radius: 0; margin: 0; padding: 0; font-size: inherit; min-width: 0; height: auto; }
.header-actions #tatkurCartCount { background: #eef3e6; color: var(--store-ink); margin: 0; min-width: 24px; height: 24px; font-weight: 800; }
.site-header .category-nav, html[data-palette="light"] .category-nav { background: var(--store-surface); border-top: 1px solid var(--store-border); }
.site-header .nav-track { position: relative; flex-wrap: nowrap; justify-content: flex-start; gap: 26px; height: 56px; min-height: 56px; padding-block: 0; overflow: visible; }
.site-header .nav-track > a, html[data-palette="light"] .site-header .nav-track > a { min-height: 44px; font-size: 14px; font-weight: 600; color: var(--store-ink); border-bottom: 2px solid transparent; }
.site-header .nav-track > a:hover, .site-header .nav-track > a[aria-current] { border-color: var(--green-700); color: var(--green-700); }
.site-header .nav-track > .nav-secondary { display: none; }
.desktop-category-menu { align-self: stretch; display: flex; border-right: 1px solid var(--store-border); padding-right: 26px; }
.desktop-category-menu summary { display: flex; height: 100%; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; font-size: 14px; list-style: none; color: var(--green-900); }
.desktop-category-menu summary::-webkit-details-marker { display: none; }
.desktop-category-menu summary > svg:last-child { width: 16px; transition: transform .2s; }
.desktop-category-menu[open] summary > svg:last-child { transform: rotate(180deg); }
.category-dropdown { position: absolute; top: 56px; left: 0; width: min(760px, 90vw); padding: 28px; background: #fff; box-shadow: 0 20px 40px #173e2726; border: 1px solid var(--store-border); border-radius: 0 0 16px 16px; }
.category-dropdown > strong { display: block; font-size: 20px; margin-bottom: 18px; color: var(--store-ink); }
.category-dropdown > div { display: grid; grid-template-columns: repeat(3,minmax(0, 1fr)); gap: 6px; }
.site-header .category-dropdown a { display: flex; justify-content: space-between; padding: 12px; min-height: 44px; border-radius: 8px; color: var(--store-ink); font-weight: 500; font-size: 14px; white-space: normal; }
.category-dropdown a:hover { background: var(--store-tint); }
.category-dropdown a svg { width: 16px; opacity: .6; }
.site-header .category-dropdown .all-category-link { justify-content: flex-start; gap: 10px; margin-top: 16px; border-top: 1px solid var(--store-border); border-radius: 0; font-weight: 700; }
.mobile-nav-heading, .nav-backdrop { display: none; }
.section-heading h2, .products-head h2 { color: var(--store-ink); font-size: clamp(30px,3.5vw,44px); letter-spacing: -.025em; }
.category-section, html[data-palette="light"] .category-section { background: var(--store-canvas); color: var(--store-ink); }
.category-section .section-kicker, html[data-palette="light"] .category-section .section-kicker { color: var(--green-700); }
.category-section .section-heading > p:last-child { color: var(--store-soft); max-width: 650px; }
#kategoriler .category-showcase, html[data-palette="light"] #kategoriler .category-showcase { grid-template-columns: repeat(4,minmax(0,1fr)); grid-template-rows: auto; gap: 20px; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
#kategoriler .category-tile { display: flex; flex-direction: column; padding: 0; overflow: hidden; border: 1px solid var(--store-border); border-radius: 18px; background: var(--store-surface); box-shadow: var(--store-shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
#kategoriler .category-tile:last-child { border-right: 1px solid var(--store-border); }
#kategoriler .category-tile:nth-child(2) { grid-column: auto; grid-row: auto; background: var(--store-surface); }
#kategoriler .category-tile img { position: static; width: 100%; height: 270px; padding: 22px 18px; margin: 0; object-fit: contain; background: var(--store-tint); }
#kategoriler .category-tile span { position: static; display: flex; flex-direction: column; flex: 1; min-height: 138px; padding: 20px; border: 0; gap: 6px; }
#kategoriler .category-tile span::after { content: none; }
#kategoriler .category-tile strong { font-size: 19px; color: var(--store-ink); line-height: 1.3; }
#kategoriler .category-tile small { font-size: 14px; color: var(--store-soft); }
.category-discover { display: flex; align-items: center; gap: 10px; font-style: normal; font-size: 13px; font-weight: 700; margin-top: auto; padding-top: 12px; color: var(--green-700); }
.category-discover svg { width: 18px; transition: transform .2s; }
#kategoriler .category-chips { gap: 10px; padding-top: 24px; }
#kategoriler .category-chips a, html[data-palette="light"] #kategoriler .category-chips a { padding: 10px 16px; min-height: 44px; border: 1px solid var(--store-border); border-radius: 24px; background: var(--store-surface); color: var(--store-ink); font-size: 13px; }
#kategoriler .category-chips a:hover { background: var(--store-tint); border-color: var(--green-700); color: var(--green-900); }
.products-section, html[data-palette="light"] .products-section, .process-section { background: var(--store-canvas); }
.products-head p { color: var(--store-soft); }
.product-card { padding: 0; overflow: hidden; border-radius: 18px; border: 1px solid var(--store-border); box-shadow: var(--store-shadow); animation: none; }
.product-card .product-visual { border-radius: 0; aspect-ratio: 1 / 1.12; background: var(--store-tint); overflow: hidden; }
.product-card .product-image-link { bottom: 64px; }
.product-card .product-image-link img { height: 94%; width: 94%; margin: 0; align-self: center; object-fit: contain; }
.product-card .quick-add { display: flex; justify-content: center; align-items: center; position: absolute; left: 16px; right: 16px; bottom: 14px; width: auto; margin: 0; min-height: 46px; border-radius: 10px; color: #fff; font-size: 14px; opacity: 1; transform: none; }
.product-card .product-info { padding: 20px; }
.product-info > small { color: var(--store-soft); font-size: 12px; }
.product-card .product-info h3 { font-size: 18px; font-weight: 650; line-height: 1.4; min-height: 2.8em; }
.product-card .product-bottom strong { color: var(--store-ink); font-size: 23px; }
.woocommerce-shell ul.products li.product { padding: 14px; border-color: var(--store-border); border-radius: 18px; box-shadow: var(--store-shadow); overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.woocommerce-shell ul.products li.product img { padding: 8px; background: var(--store-tint); object-fit: contain; transition: transform .25s; }
.woocommerce-shell ul.products li.product h2 { font-size: 18px; line-height: 1.4; min-height: 2.8em; font-family: inherit; letter-spacing: -.01em; }
.woocommerce-shell ul.products li.product .price { font-size: 22px; color: var(--store-ink); }
.woocommerce-shell ul.products li.product .button { display: flex; justify-content: center; min-height: 46px; width: 100%; margin-top: 16px; border-radius: 10px; font-size: 14px; }
.tatkur-products-sentinel { min-height: 52px; display: grid; place-items: center; color: var(--store-soft); font-size: 13px; }
.tatkur-products-status { padding: 10px 16px; border: 1px solid var(--store-border); border-radius: 999px; background: var(--store-surface); }
.tatkur-whatsapp { position: fixed; left: 20px; bottom: 20px; z-index: 20; display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 16px 0 11px; border-radius: 999px; background: #168447; color: #fff; box-shadow: 0 10px 24px rgba(16, 82, 42, .24); font-size: 13px; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.tatkur-whatsapp span:first-child { display: grid; place-items: center; width: 25px; height: 25px; border: 2px solid currentColor; border-radius: 50%; font-size: 18px; line-height: 1; }
.tatkur-whatsapp:hover { color: #fff; background: #0f6f39; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(16, 82, 42, .32); }
@media (max-width: 760px) { .tatkur-whatsapp { left: 14px; bottom: 14px; min-height: 44px; padding-right: 13px; font-size: 12px; } }
.trust-strip { background: #fff; }
.trust-grid > div { padding-block: 24px; }
.trust-grid strong { font-weight: 650; }
.tatkur-wordpress :focus-visible { outline: 3px solid var(--green-700); outline-offset: 4px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #kategoriler .category-tile:hover { transform: translateY(-4px); border-color: var(--green-700); box-shadow: 0 14px 30px #173e2714; }
  #kategoriler .category-tile:hover img { transform: scale(1.045); }
  .category-tile:hover .category-discover svg { transform: translateX(4px); }
  .product-card:hover { transform: none; border-color: var(--green-700); box-shadow: 0 14px 30px #173e2714; }
  .woocommerce-shell ul.products li.product:hover { border-color: var(--green-700); box-shadow: 0 14px 30px #173e2714; }
  .woocommerce-shell ul.products li.product:hover img { transform: scale(1.025); }
}
@media (min-width: 761px) and (max-width: 1100px) { .site-header .header-main { grid-template-columns: 115px minmax(180px,1fr) auto; gap: 18px; } .header-actions { gap: 8px; } .action-copy { display: none; } .site-header .nav-track { gap: 16px; } .site-header .nav-track > a { font-size: 12px; } .desktop-category-menu { padding-right: 16px; } .desktop-category-menu summary { font-size: 12px; } #kategoriler .category-showcase { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 760px) {
  .site-header .header-main { height: auto; min-height: 138px; grid-template-columns: 44px 1fr auto; grid-template-rows: 72px 50px; padding-bottom: 14px; gap: 0 8px; }
  .site-header .menu-button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--store-border); border-radius: 12px; padding: 0; }
  .site-header .brand { width: 84px; justify-self: start; }
  .site-header .brand img { width: 78px; height: 72px; }
  .site-header .header-actions { gap: 8px; }
  .site-header .text-action { padding: 0; width: 44px; min-height: 44px; justify-content: center; border: 1px solid var(--store-border); border-radius: 12px; }
  .action-copy, .header-actions .cart-button .action-label { display: none; }
  .header-actions .cart-button { min-height: 44px; padding: 0 10px; border-radius: 12px; gap: 7px; }
  .site-header form.search { position: static; display: grid; grid-column: 1 / -1; grid-row: 2; box-shadow: none; }
  .site-header .search input { height: 48px; font-size: 14px; }
  .site-header .search button { width: 64px; }
  .site-header .category-nav { position: fixed; top: 0; left: 0; width: min(360px,90vw); height: 100dvh; padding: 0 20px 24px; background: #fff; border: 0; overflow-y: auto; overscroll-behavior: contain; transform: translateX(-110%); box-shadow: 12px 0 32px #173e2726; z-index: 32; visibility: hidden; transition: transform .25s, visibility .25s; }
  .site-header .category-nav.open { transform: translateX(0); visibility: visible; }
  .mobile-nav-heading { display: flex; justify-content: space-between; align-items: center; min-height: 82px; gap: 12px; color: var(--store-ink); }
  .mobile-nav-heading button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--store-border); border-radius: 10px; background: var(--store-canvas); cursor: pointer; }
  .site-header .nav-track { flex-direction: column; align-items: stretch; gap: 0; width: 100%; height: auto; min-height: 0; }
  .site-header .nav-track > a, .site-header .nav-track > .nav-secondary { display: flex; padding: 14px 10px; border-bottom: 1px solid var(--store-border); min-height: 48px; font-size: 15px; color: var(--store-ink); }
  .site-header .nav-track > .nav-all { border-radius: 10px; background: var(--store-tint); font-weight: 700; }
  .desktop-category-menu { display: none; }
  .nav-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 21; border: 0; padding: 0; background: #132a1bc0; cursor: pointer; }
  .site-header:has(.category-nav.open) { z-index: 30; }
  #kategoriler .category-showcase { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  #kategoriler .category-tile { border-radius: 14px; }
  #kategoriler .category-tile img { height: 190px; padding: 16px 10px; }
  #kategoriler .category-tile span { min-height: 144px; padding: 16px 12px; }
  #kategoriler .category-tile strong { font-size: 16px; overflow-wrap: normal; }
  #kategoriler .category-tile small { font-size: 13px; line-height: 1.4; }
  #kategoriler .category-chips { gap: 8px; }
  #kategoriler .category-chips a { font-size: 12px; padding: 10px 12px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .product-card .product-visual { aspect-ratio: 1 / 1.4; }
  .product-card .quick-add { left: 8px; right: 8px; bottom: 10px; min-height: 44px; font-size: 13px; }
  .product-card .product-info { padding: 14px 12px; }
  .product-card .product-info h3 { font-size: 15px; }
  .product-card .product-bottom strong { font-size: 20px; }
  .woocommerce-shell ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .woocommerce-shell ul.products li.product { padding: 10px; }
  .woocommerce-shell ul.products li.product h2 { font-size: 15px; }
  .woocommerce-shell ul.products li.product .price { font-size: 19px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { min-height: 70px; }
}
@media (max-width: 390px) { #kategoriler .category-tile img { height: 164px; } .site-header .header-actions { gap: 4px; } .product-card .product-info { padding-inline: 10px; } }
@media (prefers-reduced-motion: reduce) { #kategoriler .category-tile:hover, #kategoriler .category-tile:hover img, .product-card:hover .product-visual img, .woocommerce-shell ul.products li.product:hover img { transform: none; } }

/* WooCommerce's mobile 48% float widths must not shrink CSS-grid cells. */
.woocommerce-shell ul.products[class*="columns-"] > li.product {
  float: none !important; width: 100% !important; min-width: 0;
  margin: 0 !important; box-sizing: border-box;
}
@media (max-width: 767px) {
  .woocommerce-shell ul.products[class*="columns-"] {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px; clear: both; width: 100%;
  }
  .woocommerce-shell ul.products[class*="columns-"] > li.product {
    padding: 10px; border-radius: 16px; display: flex; flex-direction: column;
  }
  .woocommerce-shell ul.products li.product .woocommerce-LoopProduct-link { display: block; min-width: 0; }
  .woocommerce-shell ul.products li.product img { display: block; width: 100%; height: auto; padding: 4px; margin-bottom: 14px; box-sizing: border-box; }
  .woocommerce-shell ul.products li.product h2 { font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; min-height: 2.8em; }
  .woocommerce-shell ul.products li.product .price { font-size: 19px; line-height: 1.5; margin-bottom: 8px; }
  .woocommerce-shell ul.products li.product .button { box-sizing: border-box; padding: 12px 6px; min-height: 46px; white-space: normal; margin-top: auto; }
  .woocommerce-shell ul.products li.product .tct-heart { box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; max-width: 100%; min-height: 44px; padding: 8px 4px; font-size: 12px; margin-top: 8px; }
  .woocommerce-shell ul.products li.product .tct-heart svg { flex: 0 0 18px; width: 18px; }
  .woocommerce-shell ul.products li.product .tct-heart span { white-space: normal; }
  .woocommerce-shell .woocommerce-ordering { float: none; width: 100%; margin: 0 0 20px; }
  .woocommerce-shell .woocommerce-ordering select { width: 100%; min-height: 46px; }
}
@media (max-width: 340px) {
  .woocommerce-shell ul.products[class*="columns-"] { grid-template-columns: minmax(0, 1fr); }
}


/* Mobile viewport containment */
@media (max-width: 760px) {
      html
}

/* Mobile viewport containment */
@media (max-width: 760px) {
  html, body.tatkur-wordpress { max-width: 100%; overflow-x: clip; }
  .tatkur-wordpress, .tatkur-wordpress main, .tatkur-wordpress .site-header,
  .tatkur-wordpress .site-footer { min-width: 0; max-width: 100%; }
}
