/*
Theme Name: Ayvalık Yazarkasa Premium
Author: Ayvalık Dijital
Version: 1.3.6
*/
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#0b1f3a;--navy2:#102f50;--cyan:#00c2ff;--orange:#ff6b00;--ink:#14243b;--muted:#607086;--bg:#f4f7fb}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font:15px/1.65 Manrope,sans-serif}a{text-decoration:none;color:inherit}.wrap{max-width:1240px;margin:auto;padding:0 26px}.topbar{background:#07192e;color:#b9ccdc;font-size:12px;padding:8px 0}.topbar .wrap,.nav-inner,.head-actions,.footer-grid{display:flex;justify-content:space-between;align-items:center;gap:20px}.sitehead{background:#fff;position:sticky;top:0;z-index:20;box-shadow:0 4px 25px #0b1f3a0b}.nav-inner{min-height:88px}.brand{display:flex;align-items:center;gap:12px}.brandmark{width:46px;height:46px;border-radius:12px;background:var(--navy);display:grid;place-items:center;color:var(--cyan);font:800 30px 'Barlow Condensed'}.brandtext{font:800 26px/1 'Barlow Condensed';letter-spacing:.4px;color:var(--navy)}.brandtext small{display:block;font:700 9px/1.8 Manrope;letter-spacing:2.2px;color:#688098}.navlinks{display:flex;gap:24px;align-items:center;font-weight:800;font-size:13px}.navlinks a:hover{color:#008dc5}.cta{display:inline-flex;align-items:center;justify-content:center;background:var(--orange);color:#fff!important;border-radius:9px;padding:13px 21px;font-weight:800;font-size:13px;transition:transform .2s,box-shadow .2s}.cta:hover{transform:translateY(-2px);box-shadow:0 9px 25px #ff6b0040}.hero{background:radial-gradient(circle at 82% 18%,#155c85 0,transparent 37%),linear-gradient(120deg,#091b34 0%,#0d2b4c 100%);color:#fff;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.12fr .88fr;min-height:530px;align-items:center;gap:35px}.eyebrow{font-size:12px;letter-spacing:2.3px;font-weight:800;color:var(--cyan);text-transform:uppercase}.hero h1{font:800 clamp(49px,5.6vw,80px)/.98 'Barlow Condensed';letter-spacing:.1px;margin:17px 0 22px;text-transform:uppercase}.hero h1 em{font-style:normal;color:var(--cyan)}.hero p{font-size:16px;color:#c4d4e3;max-width:590px}.hero-buttons{display:flex;gap:14px;align-items:center;margin-top:30px;flex-wrap:wrap}.ghost{border:1px solid #5e7891;border-radius:9px;padding:12px 20px;font-weight:800}.hero-art{position:relative;min-height:410px;display:grid;place-items:center}.device{background:linear-gradient(140deg,#252e3b,#090f19);width:215px;height:340px;border:9px solid #28374a;border-radius:31px;transform:rotate(-13deg);box-shadow:30px 35px 50px #0008;position:relative}.device:before{content:'ÖDEME AL';position:absolute;top:29px;left:17px;right:17px;height:150px;background:linear-gradient(135deg,#00b9ed,#1063a6);border-radius:9px;color:white;text-align:center;padding-top:55px;font:800 23px 'Barlow Condensed'}.device:after{content:'₺  1.250,00';position:absolute;top:217px;left:25px;color:#e3faff;font:800 22px 'Barlow Condensed'}.ring{position:absolute;width:400px;height:400px;border:1px solid #ffffff20;border-radius:50%}.ring:after{content:'';position:absolute;inset:45px;border:1px dashed #ffffff24;border-radius:50%}.float{position:absolute;bottom:28px;right:0;background:#fff;color:var(--navy);padding:18px 25px;border-radius:13px;box-shadow:0 20px 45px #0005;font-weight:800}.float b{display:block;color:#008bbd;font:800 29px 'Barlow Condensed'}.trust{background:#f0f5f9;border-bottom:1px solid #e4ebf0}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding-top:23px;padding-bottom:23px}.trust-item{font-size:13px;font-weight:800;color:#29415b}.trust-item span{display:block;font-size:11px;font-weight:600;color:#7b8da0}.section{padding:75px 0}.section.alt{background:var(--bg)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:29px}.section h2{font:800 clamp(35px,4vw,52px)/1 'Barlow Condensed';margin:8px 0;color:var(--navy)}.section-head p{color:var(--muted);max-width:450px;margin:0}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.category{padding:28px 24px;background:white;border:1px solid #e1e8f0;border-radius:15px;min-height:210px;transition:.2s;position:relative;overflow:hidden}.category:hover{transform:translateY(-5px);box-shadow:0 16px 38px #102f5017;border-color:#9ceaff}.category .number{font:800 12px Manrope;color:#00a8db;letter-spacing:1px}.category h3{font:800 26px/1.05 'Barlow Condensed';margin:23px 0 11px;color:var(--navy)}.category p{color:var(--muted);font-size:12px;line-height:1.6}.category .arr{position:absolute;right:20px;bottom:18px;color:#00a9d8;font-size:25px}.brandstrip{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:24px}.brandpill{border:1px solid #dce6ee;border-radius:10px;padding:16px;text-align:center;font:800 24px 'Barlow Condensed';background:white;color:#24415c}.banner{background:var(--navy);border-radius:18px;padding:45px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:25px}.banner h2{color:white;margin:0 0 12px}.banner p{color:#b6c9d9;margin:0}.footer{background:#081a30;color:#bdcfe0;padding:50px 0 25px}.footer-grid{align-items:flex-start}.footer strong{display:block;color:#fff;margin-bottom:13px}.footer a{display:block;margin:8px 0}.copyright{border-top:1px solid #284057;margin-top:35px;padding-top:20px;font-size:12px;color:#829bb1}.content{padding:60px 0;max-width:1200px}.content h1,.content h2{font-family:'Barlow Condensed';color:var(--navy)}.woocommerce ul.products li.product{border:1px solid #e2eaf0;padding:16px;border-radius:13px}.woocommerce ul.products li.product img{object-fit:contain}.woocommerce a.button{background:var(--navy);color:white}@media(max-width:950px){.navlinks{display:none}.hero-grid{grid-template-columns:1fr}.hero-art{display:none}.hero-grid{min-height:470px}.category-grid{grid-template-columns:repeat(2,1fr)}.brandstrip{grid-template-columns:repeat(3,1fr)}}@media(max-width:560px){.wrap{padding:0 17px}.topbar{display:none}.nav-inner{min-height:75px}.brandtext{font-size:22px}.head-actions .cta{padding:11px;font-size:11px}.hero h1{font-size:52px}.hero-grid{min-height:475px}.trust-grid{grid-template-columns:repeat(2,1fr)}.section{padding:50px 0}.category-grid{grid-template-columns:1fr 1fr;gap:10px}.category{padding:17px;min-height:170px}.category h3{font-size:21px}.category p{font-size:11px}.brandstrip{grid-template-columns:repeat(3,1fr)}.brandpill{font-size:19px;padding:12px 5px}.banner{display:block;padding:27px}.banner .cta{margin-top:22px}.footer-grid{display:block}}

/* === WooCommerce vitrin duzeni (Ayvalik Yazarkasa) === */
body.woocommerce #primary{max-width:1180px;margin:0 auto;padding:28px 20px 72px;width:100%;float:none}
body.woocommerce #sidebar{display:none}
.woocommerce-breadcrumb{font-size:13px;color:#5b6b80;margin:0 0 18px}
.woocommerce-breadcrumb a{color:#0B1F3A;text-decoration:none}
.woocommerce-products-header__title.page-title{color:#0B1F3A;font-size:clamp(30px,4.5vw,48px);line-height:1.1;font-weight:800;margin:0 0 18px}
.term-description{color:#44556b;max-width:760px;margin-bottom:20px}
.woocommerce-result-count{color:#5b6b80;font-size:14px;margin:0;float:left;line-height:42px}
.woocommerce-ordering{float:right;margin:0 0 22px}
.woocommerce-ordering select{height:42px;padding:0 12px;border:1px solid #d5deea;border-radius:8px;background:#fff}
.woocommerce ul.products{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:20px;clear:both;list-style:none;margin:0 0 32px;padding:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none !important}
.woocommerce ul.products li.product{float:none !important;width:auto !important;margin:0 !important;padding:16px;background:#fff;border:1px solid #e3e9f1;border-radius:14px;display:flex;flex-direction:column;transition:box-shadow .2s,border-color .2s}
.woocommerce ul.products li.product:hover{border-color:#00C2FF;box-shadow:0 10px 28px rgba(11,31,58,.1)}
.woocommerce ul.products li.product a.woocommerce-loop-product__link{text-decoration:none;color:#0B1F3A;display:flex;flex-direction:column;flex:1}
.woocommerce ul.products li.product img{width:100% !important;height:210px !important;object-fit:contain;margin:0 0 14px !important;background:#fff}
.woocommerce ul.products li.product .woocommerce-loop-product__title{color:#0B1F3A;font-size:16px !important;font-weight:700;line-height:1.35;padding:0 !important;margin:0 0 10px}
.woocommerce ul.products li.product .price{color:#0B1F3A !important;font-size:19px !important;font-weight:800;margin:auto 0 12px;display:block}
.woocommerce ul.products li.product .button{display:block;text-align:center;background:#FF6B00;color:#fff;border-radius:8px;padding:11px 14px;font-weight:800;text-decoration:none;margin:0}
.woocommerce ul.products li.product .button:hover{background:#e25f00;color:#fff}
.woocommerce nav.woocommerce-pagination ul{border:0}
.woocommerce nav.woocommerce-pagination ul li{border:0;margin:0 3px}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{padding:10px 14px;border-radius:7px;background:#f1f5fa;color:#0B1F3A;text-decoration:none}
.woocommerce nav.woocommerce-pagination ul li span.current{background:#0B1F3A;color:#fff}
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:start}
.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none !important;width:auto !important;margin:0 !important}
.woocommerce div.product div.images img{object-fit:contain;max-height:520px;background:#fff}
.woocommerce div.product .product_title{color:#0B1F3A;font-size:clamp(26px,3.6vw,40px);line-height:1.15;font-weight:800;margin:0 0 12px}
.woocommerce div.product p.price{color:#FF6B00 !important;font-size:28px !important;font-weight:800}
.woocommerce div.product form.cart .button,.woocommerce div.product .single_add_to_cart_button{background:#FF6B00 !important;color:#fff !important;border-radius:8px;padding:14px 24px;font-weight:800;text-decoration:none;display:inline-block}
.woocommerce div.product .woocommerce-tabs,.woocommerce div.product .related,.woocommerce div.product .upsells{grid-column:1/-1}
.woocommerce-info,.woocommerce-no-products-found{background:#f1f5fa;border-radius:10px;padding:18px;list-style:none}
@media(max-width:760px){.woocommerce div.product{grid-template-columns:1fr;gap:22px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.woocommerce ul.products li.product{padding:12px}.woocommerce ul.products li.product img{height:150px !important}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px !important}.woocommerce-result-count,.woocommerce-ordering{float:none;width:100%}.woocommerce-ordering select{width:100%}}

/* === Mobil menu === */
@media(max-width:1100px){.sitehead .nav-inner{flex-wrap:wrap}.sitehead .navlinks{display:flex !important;order:3;width:100%;gap:18px;overflow-x:auto;padding:8px 0 10px;white-space:nowrap;-webkit-overflow-scrolling:touch}.sitehead .navlinks a{flex:0 0 auto}.sitehead .head-actions a{white-space:nowrap}}
.sitehead .navlinks{scrollbar-width:none}.sitehead .navlinks::-webkit-scrollbar{display:none}
@media(max-width:560px){.sitehead .nav-inner{flex-wrap:wrap;align-items:center}.sitehead .brand{flex:1 1 0;min-width:0}.sitehead .head-actions{flex:0 0 auto}.sitehead .head-actions a{padding:9px 12px;font-size:12px}}
.ay-cats{clear:both;margin:0 0 22px;display:grid;gap:10px}
.ay-cat-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ay-cat-row strong{min-width:88px;color:#0B1F3A;font-size:14px}
.ay-cat-row a{padding:7px 12px;border:1px solid #d5deea;border-radius:18px;font-size:13px;color:#0B1F3A;text-decoration:none;background:#fff}
.ay-cat-row a:hover,.ay-cat-row a.on{background:#0B1F3A;color:#fff;border-color:#0B1F3A}
@media(max-width:760px){.ay-cat-row{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.ay-cat-row a{flex:0 0 auto}.ay-cat-row strong{flex:0 0 auto;min-width:auto}}
.ay-regions{font-size:13px;opacity:.85;padding-top:14px;padding-bottom:18px}
/* === Gorsel kategoriler, acilir menu, arama === */
.category-thumb{display:block;width:100%;height:150px;object-fit:contain;margin:12px 0 0;background:#fff}
.ay-cats{clear:both;margin:0 0 26px}
.ay-cats-t{color:#0B1F3A;font-size:20px;font-weight:800;margin:0 0 12px}
.ay-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.ay-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:12px;background:#fff;border:1px solid #e3e9f1;border-radius:12px;color:#0B1F3A;text-decoration:none;transition:border-color .2s,box-shadow .2s}
.ay-card:hover,.ay-card.on{border-color:#00C2FF;box-shadow:0 8px 22px rgba(11,31,58,.1)}
.ay-card.on{background:#f0fbff}
.ay-card-img{display:flex;width:100%;height:96px;align-items:center;justify-content:center;margin-bottom:6px}
.ay-card-img img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block}
.ay-card strong{font-size:13px;line-height:1.25;font-weight:800}
.ay-card small{font-size:12px;color:#5b6b80}
.ay-compact .ay-cards{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}
.ay-compact .ay-card-img{height:60px}
.ay-dd{position:relative;display:inline-flex;align-items:center}
.ay-dd-menu{display:none;position:absolute;top:100%;left:-10px;min-width:210px;padding:8px;background:#fff;border:1px solid #e3e9f1;border-radius:10px;box-shadow:0 14px 34px rgba(11,31,58,.14);z-index:40}
.ay-dd:hover .ay-dd-menu,.ay-dd:focus-within .ay-dd-menu{display:block}
.ay-dd-menu a{display:block;padding:8px 10px;border-radius:6px;font-weight:700;white-space:nowrap}
.ay-dd-menu a:hover{background:#f0fbff}
.head-actions{position:relative}
.ay-s-btn{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #d5deea;border-radius:10px;background:#fff;color:#0B1F3A;cursor:pointer}
.ay-s-btn:hover{border-color:#00C2FF;color:#0088b5}
.ay-search{display:none;position:absolute;top:calc(100% + 10px);right:0;width:340px;max-width:calc(100vw - 32px);padding:8px;gap:8px;background:#fff;border:1px solid #e3e9f1;border-radius:12px;box-shadow:0 14px 34px rgba(11,31,58,.14);z-index:45}
.ay-search.open{display:flex}
.ay-search input[type=search]{flex:1;min-width:0;height:42px;padding:0 12px;border:1px solid #d5deea;border-radius:8px;font-size:16px}
.ay-search button{height:42px;padding:0 16px;border:0;border-radius:8px;background:#FF6B00;color:#fff;font-weight:800;cursor:pointer}
@media(max-width:1100px){.ay-dd-menu{display:none !important}.ay-dd{flex:0 0 auto}.ay-dd span{display:none}}
@media(max-width:760px){.ay-cards,.ay-compact .ay-cards{display:flex;overflow-x:auto;scrollbar-width:none;padding-bottom:4px}.ay-cards::-webkit-scrollbar{display:none}.ay-card{flex:0 0 132px}.ay-compact .ay-card{flex:0 0 112px}.ay-home .ay-cards{flex-wrap:wrap;overflow:visible}.ay-home .ay-card{flex:1 1 44%}.ay-s-btn{width:38px;height:38px}}
.category p{padding-right:26px}
@media(max-width:560px){.sitehead .brandtext{font-size:15px;line-height:1.1}.sitehead .brandtext small{display:none}.sitehead .brand{gap:6px}.sitehead .nav-inner{gap:8px;min-height:58px}.sitehead .head-actions{gap:6px}}

/* Yatay logo */
.sitehead .brand{display:flex;align-items:center;flex:0 0 auto;line-height:0}
.sitehead .brand img.ay-logo{display:block;width:auto !important;height:46px !important;max-width:none}
@media (max-width:1280px){.sitehead .brand img.ay-logo{height:40px !important}}
@media (max-width:560px){.sitehead .brand img.ay-logo{height:32px !important}}
@media (max-width:380px){.sitehead .brand img.ay-logo{height:27px !important}}
@media (max-width:380px){.sitehead .head-actions{gap:6px;flex:0 0 auto}.sitehead .head-actions a{padding:9px 10px;font-size:11px;white-space:nowrap}.sitehead .ay-s-btn{width:36px;height:36px}}

/* Temel sıfırlama: harici Tailwind betiği yerine (aynı görünüm, tema kuralları önceliklidir) */
@layer base{
*,::after,::before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}
html{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"}
hr{height:0;color:inherit;border-top-width:1px}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}
a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}
b,strong{font-weight:bolder}
small{font-size:80%}
table{text-indent:0;border-color:inherit;border-collapse:collapse}
summary{display:list-item}
ol,ul,menu{list-style:none}
img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}
img,video{max-width:100%;height:auto}
button,input,select,optgroup,textarea,::file-selector-button{font:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}
::placeholder{opacity:1}
textarea{resize:vertical}
button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{appearance:button}
[hidden]:where(:not([hidden=until-found])){display:none!important}
}

/* İletişim ve yasal sayfalar */
body.page-id-272 main.wrap h1,body.page-id-3 main.wrap h1,body.page-id-12 main.wrap h1{font-size:44px;line-height:1.1;font-weight:800;color:#0B1F3A;margin:0 0 20px}
body.page-id-272 main.wrap h2,body.page-id-3 main.wrap h2,body.page-id-12 main.wrap h2{font-size:24px;line-height:1.25;font-weight:800;color:#0B1F3A;margin:28px 0 8px}
body.page-id-272 main.wrap p,body.page-id-3 main.wrap p,body.page-id-12 main.wrap p{font-size:17px;line-height:1.65;margin:0 0 10px;max-width:760px}
body.page-id-272 main.wrap p a,body.page-id-3 main.wrap p a,body.page-id-12 main.wrap p a{color:#C24A00;font-weight:700;text-decoration:underline}
body.page-id-272 main.wrap p a[href^="https://wa.me"]{display:inline-block;background:#FF6B00;color:#0B1F3A;padding:13px 22px;border-radius:10px;text-decoration:none;font-weight:800}
@media (max-width:560px){body.page-id-272 main.wrap h1,body.page-id-3 main.wrap h1,body.page-id-12 main.wrap h1{font-size:34px}}

@media (max-width:700px){.section-head{display:block !important}.section-head > *{width:auto !important;max-width:none !important}.section-head h2{margin-bottom:8px}}
