/*
Theme Name: Zedef Tasarım
Theme URI: https://example.com
Author: Zedef Tasarım
Description: El yapımı dekoratif biblo ve hediyelik ürünler için WhatsApp sipariş teması.
Version: 1.9.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: zedef-tasarim
*/
:root{--dark:#292b30;--red:#c82332;--light:#f7f5f2;--muted:#777;--line:#e7e3df}*{box-sizing:border-box}body{margin:0;color:var(--dark);background:#fff;font:16px/1.65 system-ui,-apple-system,'Segoe UI',sans-serif}a{color:inherit;text-decoration:none}.container{width:min(1180px,92%);margin:auto}.topbar{background:var(--dark);color:#eee;text-align:center;padding:7px;font-size:12px;letter-spacing:1px}.header{border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:20}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:86px}.brand{font-weight:850;font-size:26px;letter-spacing:-1px}.brand span{color:var(--red)}.nav{display:flex;gap:24px;flex-wrap:wrap;font-size:14px;font-weight:600}.nav a:hover{color:var(--red)}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--red);color:#fff;border:0;border-radius:5px;padding:13px 21px;font-weight:700;cursor:pointer}.button:hover{background:#a71c29}.button.dark{background:var(--dark)}.hero{background:linear-gradient(110deg,#25272be8,#25272b85),linear-gradient(140deg,#4b4743,#b3a89e);color:white;padding:110px 0}.hero-content{max-width:680px}.eyebrow{font-size:12px;letter-spacing:3px;font-weight:800;color:#e5a5a8}.hero h1{font-size:clamp(36px,5vw,68px);line-height:1.1;margin:18px 0}.hero p{font-size:18px;color:#e4e0de}.section{padding:75px 0}.section.alt{background:var(--light)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}.section h2{font-size:clamp(27px,3vw,38px);line-height:1.2;margin:8px 0}.section-head p{margin:0;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.product{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:white}.product-image{aspect-ratio:1/1;background:#f0eeeb;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover}.placeholder{font-size:65px;color:#b3aaa3}.product-body{padding:21px}.product-body h3{margin:0 0 8px;font-size:19px}.price{color:var(--red);font-size:20px;font-weight:800;margin:10px 0 18px}.product .button{width:100%}.categories{display:flex;flex-wrap:wrap;gap:10px}.category{padding:10px 18px;border:1px solid var(--line);border-radius:40px;background:white}.category:hover{border-color:var(--red);color:var(--red)}.story{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.story-visual{min-height:330px;background:linear-gradient(145deg,#393b40,#767176);border-radius:12px;display:grid;place-items:center;color:white;font-size:95px}.footer{background:#24262b;color:#ddd;padding:50px 0 25px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.footer small{color:#aaa}.page-title{background:var(--light);padding:55px 0}.single-layout{display:grid;grid-template-columns:1fr 1fr;gap:55px}.single-image{background:var(--light);border-radius:10px;overflow:hidden;aspect-ratio:1}.single-image img{width:100%;height:100%;object-fit:cover}.single-image .placeholder{height:100%;display:grid;place-items:center}.single-layout h1{font-size:38px;line-height:1.2}.single-layout .price{font-size:30px}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.feature{padding:24px;border:1px solid var(--line);border-radius:9px}.feature strong{display:block}.floating-wa{position:fixed;right:23px;bottom:23px;z-index:30;border-radius:50%;background:#25d366;color:white;width:58px;height:58px;display:grid;place-items:center;font-size:26px;box-shadow:0 6px 25px #0003}.empty{padding:40px;border:1px dashed var(--line);grid-column:1/-1;text-align:center}.pagination{margin-top:30px}.pagination .page-numbers{padding:8px 12px;border:1px solid var(--line);margin-right:5px}@media(max-width:760px){.header-inner{min-height:74px;flex-wrap:wrap;padding:12px 0}.nav{width:100%;gap:14px}.hero{padding:75px 0}.grid,.features{grid-template-columns:repeat(2,minmax(0,1fr))}.story,.single-layout,.footer-grid{grid-template-columns:1fr}.section{padding:50px 0}}@media(max-width:480px){.grid,.features{grid-template-columns:1fr}.header .button{padding:9px 12px}.brand{font-size:22px}}

/* v1.1 - gerçek ürün görselleriyle vitrin */
.zedef-photo-hero{background:linear-gradient(90deg,rgba(24,25,28,.91) 0%,rgba(24,25,28,.78) 45%,rgba(24,25,28,.2) 100%),url('assets/modern-vazolar.jpg') center 55%/cover no-repeat!important;color:#fff;min-height:530px;display:flex;align-items:center}
.zedef-photo-hero .hero-content{max-width:670px}.zedef-photo-hero h1,.zedef-photo-hero p{color:#fff}.zedef-photo-hero .eyebrow{color:#f2c8c8}
.zedef-story-photo{background:url('assets/cicek-desenli-set.jpg') center/cover no-repeat!important;min-height:370px}
.product-image img{width:100%;height:100%;object-fit:cover}
@media(max-width:700px){.zedef-photo-hero{min-height:470px;background-position:63% center!important}}

.hero{background-size:cover;background-position:center;min-height:540px;display:flex;align-items:center}.story-visual{background-size:cover;background-position:center}.product{transition:transform .2s,box-shadow .2s}.product:hover{transform:translateY(-4px);box-shadow:0 15px 40px #00000012}.product-label{font-size:10px;letter-spacing:1.4px;color:#9d8a7e;font-weight:800}.product-actions{display:flex;gap:9px}.product-actions .button{flex:1;padding:12px 8px}.product-view{border:1px solid var(--line);border-radius:5px;display:grid;place-items:center;width:44px;font-size:22px}.cart-trigger{background:#292b30;color:white;border:0;border-radius:7px;padding:12px 17px;cursor:pointer;white-space:nowrap;font-weight:700}.cart-trigger span{background:var(--red);border-radius:50%;padding:3px 7px;margin-left:5px}.zedef-cart-overlay{position:fixed;inset:0;background:#101114aa;z-index:100}.zedef-cart-overlay[hidden]{display:none}.zedef-cart-drawer{position:fixed;z-index:101;right:0;top:0;bottom:0;width:min(460px,100%);background:white;box-shadow:-20px 0 60px #0003;transform:translateX(110%);transition:transform .25s;display:flex;flex-direction:column}.zedef-cart-drawer.open{transform:translateX(0)}.cart-drawer-header{padding:22px 25px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.cart-drawer-header small{color:var(--red);letter-spacing:2px}.cart-drawer-header h2{margin:0}.cart-drawer-header button{border:0;background:none;font-size:35px;cursor:pointer}.cart-items{padding:18px 24px;overflow:auto;flex:1}.cart-item{display:grid;grid-template-columns:65px 1fr auto;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.cart-item img{width:65px;height:65px;object-fit:cover;border-radius:6px}.cart-item h3{font-size:14px;margin:0 0 5px}.cart-item small{color:#777}.cart-item-controls{display:flex;gap:8px;align-items:center;margin-top:7px}.cart-item-controls button{cursor:pointer;background:#f6f4f2;border:0;border-radius:4px;padding:3px 10px}.cart-remove{color:var(--red);cursor:pointer;border:0;background:transparent}.cart-bottom{padding:20px 24px;border-top:1px solid var(--line);background:#faf9f7}.cart-total{display:flex;justify-content:space-between;font-size:19px}.cart-hint{font-size:12px;color:#777}.cart-bottom input,.cart-bottom textarea{width:100%;border:1px solid #ddd;border-radius:5px;margin:5px 0;padding:11px;font:inherit}.cart-bottom .button{width:100%;margin-top:8px}.single-cart-actions{display:flex;gap:12px;align-items:center;margin:22px 0}.single-cart-actions input{width:65px;padding:12px;border:1px solid #ddd;border-radius:5px}#zedef-cart-error{color:#b51b2a;font-size:13px}@media(max-width:760px){.hero{min-height:450px}.header-inner{gap:12px}.cart-trigger{margin-left:auto}.cart-bottom{padding:13px 18px}.cart-items{padding:10px 18px}}
.zedef-photo-hero{background-size:cover;background-position:center}

/* Zedef 1.3: product price and social controls */
.zedef-product-visual{position:relative}.zedef-card-tools{display:flex;gap:7px}.zedef-product-visual .zedef-card-tools{position:absolute;right:12px;top:12px;z-index:2;flex-direction:column}.zedef-card-tools button{border:1px solid #e7e3df;background:#fff;color:#292b30;width:37px;height:37px;border-radius:50%;font-size:23px;display:grid;place-items:center;cursor:pointer;box-shadow:0 3px 12px #0001}.zedef-card-tools button:hover,.zedef-card-tools button.is-active{background:var(--red);color:white;border-color:var(--red)}.zedef-price-wrap{min-height:67px;margin:10px 0 15px}.zedef-price-line{display:flex;align-items:baseline;gap:11px;flex-wrap:wrap}.zedef-price-line .price{margin:0}.zedef-old-price{font-size:14px;color:#8a8a8a}.zedef-price-tag{display:inline-block;font-size:11px;letter-spacing:.4px;background:#fce9eb;color:#b41d2a;border-radius:4px;padding:3px 8px;margin-bottom:5px;font-weight:750}.product-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.product-actions .button{width:100%;min-width:0;font-size:13px;padding:12px 6px;text-align:center;line-height:1.3}.product-actions .zedef-view-button{background:#45484f;color:#fff}.product-actions .zedef-view-button:hover{background:#292b30}.single-layout .zedef-card-tools{margin:12px 0}.single-layout .zedef-price-wrap{min-height:0}

/* v1.4 — horizontal premium social icons and add-to-cart flight */
.zedef-product-visual .zedef-card-tools{flex-direction:row;right:12px;top:12px;gap:8px}.zedef-card-tools button{width:39px;height:39px;border-radius:11px;display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s,transform .2s;backdrop-filter:blur(8px)}.zedef-card-tools button:hover{transform:translateY(-2px)}.zedef-card-tools svg{width:19px;height:19px;display:block}.zedef-favorite.is-active svg{fill:currentColor}.zedef-fly-to-cart{position:fixed;z-index:99999;pointer-events:none;overflow:hidden;border-radius:13px;background:#fff;box-shadow:0 10px 28px #0003;will-change:transform,opacity;display:grid;place-items:center;color:#c82332;font-size:35px}.zedef-fly-to-cart img{width:100%;height:100%;object-fit:cover}.zedef-cart-bump{animation:zedefCartBump .4s ease}.zedef-added{filter:brightness(1.12)}@keyframes zedefCartBump{50%{transform:scale(1.1)}}@media(prefers-reduced-motion:reduce){.zedef-cart-bump{animation:none}}

/* Product detail: vertical gallery with double 2px frame */
.zedef-gallery-layout{display:grid;grid-template-columns:minmax(0,1fr) 86px;gap:14px;align-items:start;min-width:0}.zedef-gallery-main{border:2px solid #c82332!important;outline:2px solid #292b30;outline-offset:-7px;border-radius:8px;overflow:hidden;aspect-ratio:1;background:#f7f5f2;position:relative}.zedef-gallery-main img{display:block;width:100%;height:100%;object-fit:cover}.zedef-gallery-thumbs{display:flex;flex-direction:column;gap:10px}.zedef-gallery-thumb{display:block;aspect-ratio:1;width:100%;padding:3px;background:white;border:2px solid #e2e2e2;border-radius:7px;overflow:hidden;cursor:pointer;transition:border-color .2s,transform .2s}.zedef-gallery-thumb:hover,.zedef-gallery-thumb.is-active{border-color:#c82332}.zedef-gallery-thumb:hover{transform:translateY(-2px)}.zedef-gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block;border-radius:3px}@media(max-width:480px){.zedef-gallery-layout{grid-template-columns:minmax(0,1fr) 60px;gap:9px}.zedef-gallery-thumbs{gap:7px}}

/* Demo photography respects editable image settings */
.zedef-photo-hero{background-size:cover!important;background-position:center!important}.zedef-story-photo{background-size:cover!important;background-position:center!important}

/* v1.6.2 — five thumbnails fit the exact height of the main product image */
.zedef-gallery-layout{--zedef-gallery-gap:8px;grid-template-columns:minmax(0,1fr) 78px;gap:12px;align-items:stretch;aspect-ratio:auto;min-height:0}.zedef-gallery-main{width:100%;height:auto;aspect-ratio:1;min-width:0}.zedef-gallery-thumbs{height:100%;min-height:0;display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:var(--zedef-gallery-gap);align-self:stretch}.zedef-gallery-thumb{height:100%;min-height:0;width:100%;aspect-ratio:auto;padding:2px;box-sizing:border-box}.zedef-gallery-thumb img{height:100%;width:100%;object-fit:cover}.zedef-single-summary{font-size:15px;color:#65666a;line-height:1.75}.zedef-single-summary p{margin:0 0 14px}@media(max-width:480px){.zedef-gallery-layout{grid-template-columns:minmax(0,1fr) 58px;gap:8px;--zedef-gallery-gap:6px}}

/* Flexible corporate palette, dynamic dimensions and responsive layouts: see functions.php */
.zedef-color-picker{width:55px!important;height:40px;vertical-align:middle;margin-left:8px;padding:2px!important;cursor:pointer}.zedef-fields .zedef-field input:not([type=color]){max-width:100%}

.zedef-slideshow{position:relative;transition:background-image .3s}.zedef-slide-controls{position:absolute;bottom:25px;left:50%;transform:translateX(-50%);display:flex;gap:10px}.zedef-slide-dot{width:13px;height:13px;border:2px solid white;background:transparent;border-radius:50%;cursor:pointer}.zedef-slide-dot.is-active{background:white}@media(prefers-reduced-motion:reduce){.zedef-slideshow{transition:none}}
/* Slider image is set by the active slide, overriding the legacy demo hero image. */
.zedef-slideshow.zedef-photo-hero{background-image:var(--zedef-active-slide)!important}
