/*
Theme Name:  Özdemir Çanta
Theme URI:   https://ozdemircanta.com.tr/
Description: Twenty Twenty-Five child theme. Header/footer, renk paleti, Inter fontu, WhatsApp barı ve özel stiller. Repoda yaşar, make deploy ile gider.
Author:      Özdemir Çanta
Template:    twentytwentyfive
Version:     1.2.2
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: ozdemircanta
*/

/* === Airo stil kiti (ozdemircanta.com'dan taşındı, custom.css) === */
.wp-block-search.is-style-bar .wp-block-search__button svg{min-width:0;min-height:0;width:calc(var(--wp--custom--designsetgo--icon-button--default-size, 20)*1px);height:calc(var(--wp--custom--designsetgo--icon-button--default-size, 20)*1px)}
.wp-element-button,.wp-block-button__link{transition:transform .15s ease,box-shadow .2s ease,background-color .2s ease;box-shadow:0 4px 14px rgba(0,0,0,.15)}
.wp-element-button:hover,.wp-block-button__link:hover{box-shadow:0 8px 24px rgba(0,0,0,.22);transform:translateY(-2px)}
.wp-block-button:is(.is-style-outline,.is-style-secondary) .wp-block-button__link{backdrop-filter:blur(10px) saturate(1.1);-webkit-backdrop-filter:blur(10px) saturate(1.1);box-shadow:0 2px 10px rgba(0,0,0,.06)}
.wp-block-button:is(.is-style-outline,.is-style-secondary) .wp-block-button__link:hover{box-shadow:0 6px 18px rgba(0,0,0,.1)}
.wp-block-image img{transition:transform .3s ease,box-shadow .3s ease;box-shadow:0 4px 20px rgba(0,0,0,.08)}
.wp-block-image:hover img{transform:translateY(-3px);box-shadow:0 10px 32px rgba(0,0,0,.14)}
.wp-block-cover,.wp-block-designsetgo-section.has-background{overflow:hidden;position:relative}
mark,.wp-block-mark{padding:0 .2em;border-radius:2px}
.wp-element-button:focus-visible,.wp-block-button__link:focus-visible,a:focus-visible{outline:2px solid;outline-offset:3px}
@media (prefers-reduced-motion:reduce){.wp-element-button,.wp-block-button__link,.wp-block-image img{transition:none!important;transform:none!important}}
.wp-block-designsetgo-form-builder input:not([type='submit']):not([type='checkbox']):not([type='radio']),.wp-block-designsetgo-form-builder textarea,.wp-block-designsetgo-form-builder select{border:1px solid;border-radius:var(--wp--custom--designsetgo--border-radius--medium,8px);padding:.75rem 1rem;background:transparent;transition:border-color .2s ease,box-shadow .2s ease}
.wp-block-designsetgo-form-builder input:focus-visible,.wp-block-designsetgo-form-builder textarea:focus-visible,.wp-block-designsetgo-form-builder select:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(0,0,0,.25)}
.wp-block-designsetgo-form-builder label{display:block;font-size:.8125rem;font-weight:500;letter-spacing:.02em;margin-bottom:.4rem;opacity:.85}
.wp-block-designsetgo-form-builder ::placeholder{opacity:.5}
.u-text-display{font-size:var(--wp--preset--font-size--xxx-large);font-weight:700;line-height:1}
.is-style-card--shadow{box-shadow:0 4px 16px color-mix(in srgb,var(--wp--preset--color--contrast,#000) 12%,transparent)}
.wp-block-designsetgo-accordion.dsgo-accordion{--dsgo-accordion-border-radius:0;border:0;background:transparent;overflow:visible}
.wp-block-designsetgo-accordion .dsgo-accordion__items{gap:var(--wp--preset--spacing--20)}
.wp-block-designsetgo-accordion .dsgo-accordion-item{transition:background-color .2s ease}
.wp-block-designsetgo-accordion .dsgo-accordion-item .dsgo-accordion-item__trigger:hover{background:transparent}
.wp-block-designsetgo-accordion .dsgo-accordion-item.dsgo-accordion-item--open{box-shadow:none}
.wp-block-designsetgo-accordion .dsgo-accordion-item .dsgo-accordion-item__trigger:focus-visible{outline-width:2px;outline-style:solid;outline-offset:2px}
.is-style-header-section{background-color:var(--wp--preset--color--base-2)}
.is-style-footer-section{background-color:var(--wp--preset--color--base-3);color:var(--wp--preset--color--contrast-3)!important}
.is-style-footer-section :is(h1,h2,h3,h4,h5,h6),.is-style-footer-section .wp-block-site-title,.is-style-footer-section .wp-block-site-title a{color:var(--wp--preset--color--contrast-3)!important}
.is-style-footer-section a{color:var(--wp--preset--color--contrast-3)}
.is-style-footer-section .is-style-text-muted{color:var(--wp--preset--color--muted-3)!important}
.wp-block-site-logo.is-default-size img{width:auto;height:auto;max-width:180px;max-height:80px}
.wp-block-site-logo img{height:auto}
.ozdemir-site-header .wp-block-site-logo img{height:44px!important;width:auto!important;max-width:none!important}
.ozdemir-site-title,.ozdemir-site-title a,.ozdemir-site-title a:hover{text-decoration:none!important;font-weight:600}
.ozdemir-site-header{z-index:9999}
@media (max-width:767px){
  .ozdemir-site-header{background-color:var(--wp--preset--color--base)!important;box-shadow:0 2px 8px rgba(0,0,0,.12)}
  .ozdemir-site-header .wp-block-site-logo img{height:36px!important}
  .ozdemir-site-header .ozdemir-header-cta{display:none}
  body{padding-bottom:64px}
}

/* === WhatsApp yüzen buton + mobil iletişim barı (footer parçası) === */
.oz-whatsapp-float{position:fixed;right:20px;bottom:20px;z-index:9998;display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:#25d366;color:#fff;box-shadow:0 6px 20px rgba(0,0,0,.25);transition:transform .15s ease}
.oz-whatsapp-float:hover{transform:translateY(-2px);color:#fff}
.oz-mobile-contact-bar{display:none}
@media (max-width:767px){
  .oz-whatsapp-float{display:none}
  .oz-mobile-contact-bar{position:fixed;left:0;right:0;bottom:0;z-index:9998;display:grid;grid-template-columns:1fr 1fr 1fr;height:64px;background:var(--wp--preset--color--accent-1);box-shadow:0 -2px 10px rgba(0,0,0,.2)}
  .oz-mobile-contact-bar a{display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:15px;text-decoration:none;border-right:1px solid rgba(255,255,255,.18)}
  .oz-mobile-contact-bar a:last-child{border-right:0;background:rgba(255,255,255,.12)}
}

/* === Harita (İletişim sayfası, tıklayınca yüklenir) === */
.oz-harita{position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:var(--wp--preset--color--accent-2)}

/* === Ana sayfa ürün slider (DesignSetGo slider bloğu) === */
.ozdemir-hero-slider.dsgo-slider--classic{border-radius:0;background:#f6f1e8}
.ozdemir-hero-slider .dsgo-slide__content{text-shadow:none!important;gap:0;align-items:stretch}
.ozdemir-hero-slider .dsgo-slide{min-height:520px}
.ozdemir-hero-slider .dsgo-slider__arrow{--dsgo-slider-arrow-bg-color:#fff;--dsgo-slider-arrow-color:#5a3a22;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.ozdemir-hero-slider .dsgo-slider__arrow:focus-visible{outline-color:#5a3a22;box-shadow:0 0 0 4px rgba(90,58,34,.35)}
.ozdemir-hero-slider[data-dot-position=outside] .dsgo-slider__dots{margin:0 auto;padding:0 0 20px;background:#f6f1e8}
.ozdemir-hero-slider .dsgo-slider__dot{--dsgo-slider-dot-color:rgba(90,58,34,.3)}
.ozdemir-hero-slider .dsgo-slider__dot--active{--dsgo-slider-dot-color:#5a3a22}
.ozdemir-hero-slider__img img{max-width:560px;width:100%;height:auto;margin:0 auto;display:block}
@media (max-width:767px){
  .ozdemir-hero-slider .dsgo-slider__arrows{display:none}
  .ozdemir-hero-slider .dsgo-slide{min-height:0}
  .ozdemir-hero-slider__img img{max-height:260px;object-fit:cover}
}

/* === Yerleşim / header (1200px kapsayıcı, 900px altında hamburger) === */
html{scroll-padding-top:calc(44px + 2*var(--wp--preset--spacing--30) + 8px)}
@media (min-width:600px) and (max-width:899.98px){
  /* core 600px'te satır içi menüye geçer; 900'e kadar hamburger'da tutuyoruz */
  .ozdemir-site-header .wp-block-navigation__responsive-container-open:not(.always-shown){display:flex}
  .ozdemir-site-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){display:none}
}
.ozdemir-site-header .wp-block-navigation__responsive-container.is-menu-open{background-color:var(--wp--preset--color--base-2)}
.ozdemir-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{font-size:var(--wp--preset--font-size--large)}

/* === Kartlar (tema paletine dönüştürülmüş gruplar) === */
.wp-block-post-content .wp-block-group.has-accent-3-border-color.has-base-background-color{transition:box-shadow .2s ease,transform .2s ease}
.wp-block-post-content .wp-block-group.has-accent-3-border-color.has-base-background-color:hover{box-shadow:0 8px 24px rgba(30,37,38,.08);transform:translateY(-2px)}
@media (prefers-reduced-motion:reduce){.wp-block-post-content .wp-block-group.has-accent-3-border-color.has-base-background-color:hover{transform:none;box-shadow:none}}

/* === Footer === */
.oz-footer-heading{font-size:var(--wp--preset--font-size--xs)!important;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--wp--preset--color--muted-3)!important;margin-bottom:.75rem}
.is-style-footer-section .wp-block-navigation a{color:var(--wp--preset--color--contrast-3);text-decoration:none}
.is-style-footer-section .wp-block-navigation a:hover{text-decoration:underline}
.is-style-footer-section p a{text-decoration:none}
.is-style-footer-section p a:hover{text-decoration:underline}
.is-style-footer-section .wp-block-site-logo img{height:40px;width:auto}
.oz-footer-legal{max-width:70ch;margin-left:auto;margin-right:auto}
@media (min-width:600px) and (max-width:899.98px){
  /* 2×2: core 782px üstünde nowrap uygular */
  .is-style-footer-section .wp-block-columns.oz-footer-cols{flex-wrap:wrap!important}
  .is-style-footer-section .wp-block-columns.oz-footer-cols>.wp-block-column{flex-basis:calc(50% - var(--wp--preset--spacing--40))!important;flex-grow:0}
}
@media (max-width:599.98px){
  .is-style-footer-section .oz-footer-bottom{justify-content:center;text-align:center}
  .is-style-footer-section .oz-footer-bottom .wp-block-navigation{justify-content:center}
}

/* === Ürün fotoğrafları: kart görselleri ve galeri === */
.wp-block-post-content .wp-block-group.has-accent-3-border-color>.wp-block-image{margin:-8px 0 4px}
.wp-block-post-content .wp-block-group.has-accent-3-border-color>.wp-block-image img{box-shadow:none}
.wp-block-post-content .wp-block-group.has-accent-3-border-color>.wp-block-image:hover img{transform:none}
.wp-block-post-content .wp-block-group.has-accent-3-border-color>.wp-block-group.is-layout-grid{margin:-8px 0 4px;width:100%}
.wp-block-post-content .wp-block-group.has-accent-3-border-color>.wp-block-group.is-layout-grid .wp-block-image img{box-shadow:none}
