/*
Theme Name: Sofrada Cunda
Theme URI: https://sofradaege.com.tr/
Author: Sofrada Cunda
Description: Cunda ve Kuzey Ege lezzetleri için WooCommerce destekli özgün mağaza teması.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: sofrada-cunda
*/

:root{--green:#253b2b;--green2:#405b40;--cream:#f9f6ee;--paper:#fffdfa;--gold:#c5a366;--rust:#a45d3d;--ink:#252b22;--muted:#6b7168;--line:#e8e4d9;--shadow:0 18px 55px #21372b14}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'DM Sans',sans-serif;background:var(--paper);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}img{display:block;max-width:100%}.container{width:min(1180px,calc(100% - 44px));margin:auto}.announce{background:var(--green);color:#fff;text-align:center;padding:9px;font-size:12px;letter-spacing:.07em}.nav-wrap{background:rgba(255,253,250,.97);position:sticky;top:0;z-index:30;border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.nav{height:86px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;min-width:220px}.brand img{height:69px;width:69px;object-fit:contain;border-radius:50%}.brand-title{font:600 23px 'Playfair Display',serif;color:var(--green);line-height:1}.brand-title span{display:block;color:var(--rust);font-style:italic}.brand-small{display:block;color:#737c6f;font-size:9px;letter-spacing:.19em;margin-top:7px}.links{display:flex;align-items:center;gap:30px;font-size:13px;font-weight:700}.links a:hover,.footer a:hover{color:var(--rust)}.nav-actions{display:flex;gap:8px}.circle-btn{border:1px solid var(--line);background:#fff;width:43px;height:43px;border-radius:50%;display:grid;place-items:center;color:var(--green);position:relative}.count{position:absolute;top:-4px;right:-5px;background:var(--rust);color:white;border-radius:50%;width:19px;height:19px;display:grid;place-items:center;font-size:10px}.mobile-menu{display:none}.hero{background:var(--cream);overflow:hidden}.hero-grid{min-height:550px;display:grid;grid-template-columns:49% 51%;align-items:stretch}.hero-copy{padding:85px 38px 65px max(0px,calc((100vw - 1180px)/2));display:flex;flex-direction:column;justify-content:center}.eyebrow{font-weight:700;font-size:11px;letter-spacing:.23em;text-transform:uppercase;color:var(--rust);display:flex;align-items:center;gap:10px}.eyebrow:before{content:"";height:1px;width:28px;background:var(--rust)}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:'Playfair Display',serif;font-weight:500}h1{font-size:clamp(43px,5vw,72px);line-height:1.1;letter-spacing:-.035em;color:var(--green);margin:24px 0}h1 em{font-style:italic;color:var(--rust)}.hero-copy p{font-size:15px;line-height:1.9;color:#5d665b;max-width:460px;margin:0 0 30px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:15px 25px;border-radius:3px;background:var(--green);color:#fff;border:1px solid var(--green);font-size:12px;font-weight:700;letter-spacing:.045em;transition:.2s}.btn:hover{background:var(--green2)}.btn-outline{background:transparent;color:var(--green)}.btn-outline:hover{background:#eaece3}.hero-ctas{display:flex;flex-wrap:wrap;gap:12px}.hero-media{position:relative;min-height:520px;background:#d7d0b6}.hero-media img{height:100%;width:100%;object-fit:cover;position:absolute;inset:0}.hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#1c251522,transparent 40%,#152a1509)}.hero-stamp{position:absolute;bottom:31px;left:31px;z-index:2;background:#fffcf0ee;width:132px;height:132px;border-radius:50%;display:flex;align-items:center;justify-content:center;text-align:center;padding:15px;transform:rotate(-12deg);font:500 16px 'Playfair Display',serif;color:var(--green);border:1px solid #e9d9bc}.benefits{border-bottom:1px solid var(--line);background:white}.benefit-grid{display:grid;grid-template-columns:repeat(3,1fr)}.benefit{display:flex;gap:13px;justify-content:center;align-items:center;padding:24px 10px;border-right:1px solid var(--line);font-size:12px;color:var(--green);font-weight:700}.benefit:last-child{border-right:0}.benefit svg{width:23px;height:23px;color:var(--rust);stroke-width:1.5}.section{padding:78px 0}.section-head{text-align:center;margin:0 auto 34px;max-width:640px}.section-head .eyebrow{justify-content:center}.section-head h2{font-size:clamp(31px,3.2vw,45px);color:var(--green);margin:12px 0}.section-head p{color:var(--muted);line-height:1.8;font-size:14px}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.category{min-height:245px;position:relative;overflow:hidden;border-radius:4px;background:#e9e6da;text-align:left;border:0;padding:0;color:white}.category img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .5s}.category:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#172d20be,transparent 65%)}.category:hover img{transform:scale(1.07)}.cat-label{position:absolute;bottom:22px;left:22px;z-index:1;font:500 24px 'Playfair Display',serif}.cat-label small{font:500 11px 'DM Sans',sans-serif;display:block;opacity:.9;letter-spacing:.1em;margin-top:8px}.shop-section{background:var(--cream)}.filter-row{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-bottom:30px}.chip{border:1px solid #dcd9cc;background:transparent;border-radius:30px;padding:10px 18px;color:var(--green);font-size:12px;font-weight:700}.chip.active,.chip:hover{background:var(--green);color:white;border-color:var(--green)}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.product{background:white;border:1px solid #eee9df;position:relative;overflow:hidden;display:flex;flex-direction:column}.product-photo{aspect-ratio:1/1;background:#e7e8df;position:relative;overflow:hidden}.product-photo img{height:100%;width:100%;object-fit:cover;transition:.3s}.product:hover .product-photo img{transform:scale(1.045)}.tag{position:absolute;top:14px;left:14px;z-index:2;background:#fff9e9;color:var(--rust);padding:7px 10px;font-size:10px;font-weight:700}.product-info{padding:17px 16px 18px;display:flex;flex-direction:column;flex:1}.product-info small{color:var(--rust);font-size:10px;text-transform:uppercase;letter-spacing:.1em}.product-info h3{font:500 20px 'Playfair Display',serif;color:var(--green);margin:8px 0}.product-info p{font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 15px;flex:1}.price{font-weight:700;font-size:18px;color:var(--green)}.price-note{font-size:10px;color:#91958d;margin-top:3px}.product-bottom{display:flex;align-items:end;justify-content:space-between;gap:8px}.add-btn{width:37px;height:37px;border:0;background:var(--green);color:white;font-size:23px;line-height:1}.add-btn:hover{background:var(--rust)}.story{display:grid;grid-template-columns:1fr 1fr;background:#e9eade;min-height:450px}.story-photo img{width:100%;height:100%;object-fit:cover;max-height:540px}.story-copy{padding:65px clamp(30px,6vw,95px);display:flex;flex-direction:column;justify-content:center}.story-copy h2{font-size:clamp(34px,3.7vw,52px);line-height:1.2;color:var(--green);margin:20px 0}.story-copy p{font-size:14px;line-height:2;color:#5b6458}.story-copy .btn{align-self:start;margin-top:14px}.quote{text-align:center;background:var(--green);color:white;padding:70px 20px}.quote span{color:#d6b777;letter-spacing:.15em;font-size:12px}.quote p{font:italic 500 clamp(23px,3vw,37px) 'Playfair Display',serif;max-width:790px;margin:18px auto 0;line-height:1.5}.newsletter{text-align:center;padding:65px 20px;background:#f4eee1}.newsletter h2{font-size:35px;color:var(--green);margin:12px 0}.newsletter p{font-size:13px;color:var(--muted)}.newsletter-form{display:flex;max-width:475px;margin:24px auto 0;gap:7px}.newsletter-form input{flex:1;min-width:0;border:1px solid #ded7c7;padding:15px;background:white;outline:none}.footer{background:#1e3024;color:#e9eddf;padding:60px 0 24px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:70px}.footer-brand{font:600 30px 'Playfair Display',serif}.footer-brand em{color:#cfac76}.footer p{color:#c1c9bb;line-height:1.9;font-size:13px;max-width:370px}.footer h4{font-size:12px;letter-spacing:.1em;color:#edd9b9;margin:0 0 18px}.footer a{display:block;color:#c3d0c3;font-size:13px;margin:0 0 12px}.foot-bottom{border-top:1px solid #4a5b4e;margin-top:42px;padding-top:20px;color:#a6b5a8;font-size:11px;display:flex;justify-content:space-between;gap:15px}.overlay{position:fixed;inset:0;background:#14271988;z-index:50;opacity:0;pointer-events:none;transition:.25s}.overlay.show{opacity:1;pointer-events:auto}.drawer{position:fixed;z-index:51;right:0;top:0;height:100dvh;width:min(430px,100%);background:var(--paper);box-shadow:var(--shadow);transform:translateX(105%);transition:transform .25s;display:flex;flex-direction:column}.drawer.show{transform:translateX(0)}.drawer-top{display:flex;justify-content:space-between;align-items:center;padding:25px;border-bottom:1px solid var(--line)}.drawer-top h3{font-size:27px;color:var(--green);margin:0}.x-btn{border:0;background:transparent;font-size:28px;color:var(--green)}.cart-items{padding:22px;overflow:auto;flex:1}.cart-item{display:flex;gap:14px;border-bottom:1px solid var(--line);padding:0 0 20px;margin-bottom:20px}.cart-item img{width:80px;height:83px;object-fit:cover}.cart-item h4{font-size:13px;margin:0 0 7px;color:var(--green)}.cart-item p{font-size:12px;margin:0 0 7px}.quantity{display:flex;gap:12px;align-items:center}.quantity button{width:27px;height:27px;border:1px solid var(--line);background:white}.remove{border:0;background:transparent;color:var(--rust);font-size:11px;padding:0;margin-top:8px}.drawer-bottom{border-top:1px solid var(--line);padding:22px}.subtotal{display:flex;justify-content:space-between;font-weight:700;margin-bottom:7px}.drawer-bottom small{display:block;color:var(--muted);line-height:1.5;margin-bottom:16px}.full{width:100%}.empty{text-align:center;color:var(--muted);margin:55px 15px;line-height:1.8}.modal{position:fixed;z-index:52;left:50%;top:50%;width:min(530px,calc(100% - 30px));max-height:90dvh;overflow:auto;background:white;border-radius:6px;padding:29px;transform:translate(-50%,-45%);opacity:0;pointer-events:none;transition:.2s}.modal.show{opacity:1;pointer-events:auto;transform:translate(-50%,-50%)}.modal-heading{display:flex;justify-content:space-between;align-items:center}.modal h3{font-size:30px;margin:0;color:var(--green)}.note{padding:12px 14px;background:#fff6df;border-left:3px solid #bd9556;font-size:12px;line-height:1.7;color:#77623c;margin:18px 0}.field{display:block;margin-bottom:13px;font-size:12px;font-weight:700;color:var(--green)}.field input,.field textarea{margin-top:6px;width:100%;padding:12px;border:1px solid var(--line);border-radius:2px;outline:none}.field textarea{resize:vertical;min-height:75px}.form-actions{display:flex;gap:8px;flex-wrap:wrap}.form-actions .btn{flex:1}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,20px);background:var(--green);color:white;padding:12px 22px;font-size:13px;z-index:80;border-radius:3px;opacity:0;transition:.25s;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,0)}.search-panel{position:absolute;top:85px;left:0;right:0;background:white;box-shadow:var(--shadow);padding:20px;display:none}.search-panel.show{display:block}.search-panel input{width:100%;padding:14px;border:1px solid var(--line)}.search-hint{font-size:11px;color:var(--muted);margin-top:9px}.mobile-links{display:none}.legal{font-size:11px;color:#a7b4a7;margin-top:12px}
@media(max-width:1050px){.links{gap:17px}.product-grid{grid-template-columns:repeat(2,1fr)}.category-grid{grid-template-columns:repeat(2,1fr)}.hero-copy{padding-left:32px}h1{font-size:55px}}@media(max-width:700px){.container{width:calc(100% - 32px)}.announce{font-size:10px}.nav{height:70px}.brand{min-width:0;gap:8px}.brand img{height:52px;width:52px}.brand-title{font-size:19px}.brand-small{font-size:7px}.links{display:none}.mobile-menu{display:grid}.search-panel{top:69px}.mobile-links{display:none;padding:12px 18px;background:white;border-top:1px solid var(--line)}.mobile-links.show{display:grid;gap:16px}.mobile-links a{font-size:14px;font-weight:700}.circle-btn{height:37px;width:37px}.hero-grid{display:flex;flex-direction:column-reverse}.hero-media{min-height:290px}.hero-copy{padding:38px 25px 48px}.hero-stamp{width:95px;height:95px;font-size:12px;bottom:17px;left:18px}h1{font-size:45px;margin:16px 0}.hero-copy p{font-size:13px}.benefit-grid{grid-template-columns:1fr 1fr}.benefit{padding:13px 4px;font-size:10px;text-align:center;gap:6px}.benefit:last-child{display:none}.benefit svg{width:18px}.section{padding:55px 0}.section-head h2{font-size:34px}.category-grid{gap:10px}.category{min-height:170px}.cat-label{font-size:19px;left:12px;bottom:14px}.product-grid{gap:10px}.product-info{padding:13px 10px}.product-info h3{font-size:17px}.product-info p{font-size:11px}.price{font-size:15px}.story{grid-template-columns:1fr}.story-photo{height:260px}.story-copy{padding:40px 26px}.story-copy h2{font-size:39px}.newsletter-form{flex-direction:column}.footer-grid{grid-template-columns:1fr 1fr;gap:35px}.footer-grid>div:first-child{grid-column:1/-1}.foot-bottom{flex-direction:column}.quote{padding:55px 25px}}

/* WooCommerce storefront additions */
.wp-site-blocks{min-height:100vh}.woocommerce .products ul,.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0;padding:0}.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;background:#fff;border:1px solid #eee9df;padding:0 0 18px!important;overflow:hidden}.woocommerce ul.products li.product img{aspect-ratio:1;object-fit:cover;margin:0 0 12px!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0 15px!important;font:500 20px 'Playfair Display',serif!important;color:#253b2b}.woocommerce ul.products li.product .price{padding:0 15px!important;font-size:17px!important;color:#253b2b!important}.woocommerce ul.products li.product .button{background:#253b2b;color:#fff;margin:8px 15px!important;border-radius:2px}.woocommerce .button,.woocommerce button.button,.woocommerce a.button,.woocommerce #respond input#submit{background:#253b2b;color:white;border-radius:2px}.woocommerce .button:hover{background:#405b40;color:white}.wc-main{padding:60px 0;min-height:60vh}.wc-main h1,.wc-main h2{font-size:34px}.woocommerce div.product div.images img{border-radius:5px}.wp-block-image img{height:auto}.page-copy{padding:75px 0;min-height:55vh}.page-copy h1{font-size:42px}.menu-toggle{display:none}.site-menu-mobile{display:none}.story img{height:100%;object-fit:cover}.wp-customizer-note{font-size:13px;color:#677064}.notice-demo{font-size:11px;color:#7c6d5a} .woocommerce-message{border-top-color:#253b2b}
@media(max-width:850px){.woocommerce .products ul,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.toplinks{display:none}.menu-toggle{display:block}.site-menu-mobile.open{display:flex;flex-direction:column;background:#fff;padding:16px 25px;gap:14px}.nav{height:76px}.brand{min-width:0}.brand-title{font-size:20px}}
@media(max-width:460px){.woocommerce .products ul,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px!important}.brand img{width:54px;height:54px}}
