/*
Theme Name: Gülpınar Doğal Ürünler
Author: Ferhat
Description: Gülpınar yöresinin zeytin ve doğal ürünleri için özel WooCommerce teması. Düzenlenebilir ana sayfa, ürün vitrini ve mobil tasarım.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gulpinar
Tags: e-commerce, custom-logo, custom-menu, featured-images, theme-options
*/
:root{--green:#173d30;--paper:#f2f0e8;--accent:#e7b789;--ink:#182c24;--line:#dcded5;--radius:12px;--width:1320px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:#fff;color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.6}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:5px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}img{max-width:100%;height:auto;vertical-align:middle}svg{flex-shrink:0;vertical-align:middle}h1,h2,h3,h4{line-height:1.08;margin:0 0 20px;font-weight:750;letter-spacing:-.045em}p{margin:0 0 18px}h1{font-size:clamp(36px,4.5vw,66px)}h2{font-size:clamp(28px,3.8vw,50px)}h3{font-size:22px}ul{padding-left:22px}input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea{border:1px solid #bfc8c0;border-radius:7px;padding:12px;background:#fff;color:var(--ink);max-width:100%}input[type=checkbox],input[type=radio]{accent-color:var(--green)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #a16b23;outline-offset:4px}[hidden]{display:none!important}.container{max-width:var(--width);padding:0 36px;margin:0 auto}.screen-reader-text,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{display:block;padding:12px;background:#fff;position:fixed;z-index:1000;top:0;left:0}.announcement{background:var(--green);color:#fff;text-align:center;padding:7px 20px;font-size:12px;letter-spacing:.025em}.announcement svg{width:16px;height:16px;margin-left:6px;color:var(--accent)}.site-header{background:var(--paper);position:relative;z-index:20}.header-inner{min-height:98px;display:flex;gap:32px;align-items:center;justify-content:space-between}.brand{display:inline-block;white-space:nowrap;font-size:31px;font-weight:800;line-height:1.15;letter-spacing:.12em;color:var(--green)}.brand:hover{text-decoration:none}.brand small{display:block;font-size:9px;font-weight:500;letter-spacing:.24em;margin-top:8px}.custom-logo-link img{max-width:220px;max-height:80px;object-fit:contain}.menu{list-style:none;display:flex;align-items:center;gap:24px;margin:0;padding:0;font-size:13px}.menu li{position:relative}.menu a{display:block;padding:14px 0}.menu .sub-menu{display:none;position:absolute;top:100%;left:0;background:var(--paper);box-shadow:0 8px 24px #0002;min-width:210px;list-style:none;padding:10px 20px}.menu li:hover>.sub-menu,.menu li:focus-within>.sub-menu{display:block}.header-actions{display:flex;gap:15px}.icon-button{display:inline-flex;justify-content:center;align-items:center;border:0;background:transparent;padding:8px;color:var(--ink);min-width:40px;min-height:44px}.menu-toggle{display:none}.header-search{padding-top:0;padding-bottom:20px}.search-form{display:flex;gap:10px}.search-form input[type=search]{flex:1;min-width:0}.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wp-element-button,.wp-block-button__link,input[type=submit]{display:inline-flex;justify-content:center;align-items:center;gap:14px;background:var(--green);color:#fff;border:1px solid transparent;border-radius:30px;padding:12px 23px;font-weight:600;font-size:14px;line-height:1.3;text-decoration:none;cursor:pointer;min-height:44px}.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.wp-element-button:hover{background:var(--ink);color:#fff;text-decoration:none}.button svg{width:21px;height:21px}.button.light{background:var(--paper);color:var(--green)}.button.light:hover{background:#fff}.button.outline{border:1px solid #fff;background:transparent}.button.outline:hover{background:#fff;color:var(--green)}.button.small{padding:9px 22px;font-size:13px}.hero{display:grid;grid-template-columns:1.8fr 1fr;max-width:1680px;margin:0 auto;min-height:540px}.hero-main,.hero-tile,.promo,.story-photo,.contact-photo{position:relative;overflow:hidden;isolation:isolate}.gp-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.gp-atlas{display:block;background-image:url('assets/images/products.png');background-size:200% 200%;background-repeat:no-repeat}.gp-atlas-0{background-position:0 0}.gp-atlas-1{background-position:100% 0}.gp-atlas-2{background-position:0 100%}.gp-atlas-3{background-position:100% 100%}.hero-main:after,.hero-tile:after,.promo:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#102b22bd,transparent 100%)}.hero-main{display:flex;align-items:flex-end}.hero-copy{padding:60px clamp(28px,4vw,70px);color:#fff;max-width:700px}.eyebrow{display:block;font-size:11px;font-weight:600;letter-spacing:.21em;margin-bottom:16px}.hero h1{font-size:clamp(42px,5.1vw,78px);line-height:1.0;margin-bottom:16px;letter-spacing:-.055em}.hero p{font-size:17px;line-height:1.5;max-width:380px}.hero-side{display:grid;grid-template-rows:1fr 1fr;gap:5px;padding-left:5px}.hero-tile{min-height:265px;display:flex;align-items:flex-end;color:#fff;padding:28px 32px}.hero-tile>span{font-size:25px;font-weight:700;line-height:1.2}.hero-tile .circle-arrow{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #fff;border-radius:50%;margin-top:12px}.hero-tile:hover,.promo:hover{text-decoration:none}.hero-tile .gp-photo,.promo .gp-photo{transition:transform .4s}.hero-tile:hover .gp-photo,.promo:hover .gp-photo{transform:scale(1.03)}.category-strip{display:grid;grid-template-columns:repeat(4,1fr);padding-top:23px;padding-bottom:23px;background:var(--paper)}.category-strip>a{display:flex;align-items:center;gap:20px;padding:0 22px;border-right:1px solid var(--line);font-size:14px;font-weight:600}.category-strip>a:first-child{padding-left:0}.category-strip>a:last-child{border:0}.category-thumb{position:relative;isolation:isolate;display:block;flex:0 0 70px;height:70px;overflow:hidden;border-radius:50%}.catalog-section{padding-top:64px;padding-bottom:55px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:26px}.section-heading h2{margin:0}.product-tabs{display:flex;gap:18px;max-width:100%;overflow-x:auto;padding:5px 3px 10px}.product-tabs button{background:none;border:0;border-bottom:2px solid transparent;color:var(--ink);padding:10px 0;font-size:12px;white-space:nowrap;min-height:42px}.product-tabs button[aria-selected=true]{font-weight:bold;border-color:var(--green)}.gp-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.gp-product{text-align:center;min-width:0}.product-photo{display:block;overflow:hidden;background:var(--paper);border-radius:8px;aspect-ratio:1/1.12;margin-bottom:18px}.product-photo img{width:100%;height:100%;object-fit:contain;transition:transform .35s}.product-photo:hover img{transform:scale(1.03)}.gp-product h3{font-size:17px;line-height:1.35;letter-spacing:-.02em;margin-bottom:8px}.price{font-weight:700;color:var(--green);margin:8px 0 13px}.price del{opacity:.5;font-size:.85em;font-weight:400}.price ins{text-decoration:none}.stock-label{display:block;font-size:12px;margin:5px}.text-link{display:inline-flex;align-items:center;gap:12px;font-size:14px;border-bottom:1px solid var(--green);padding-bottom:4px;margin-top:25px}.empty-state{padding:45px 24px;background:var(--paper);border-radius:8px;text-align:center}.story{background:var(--green);color:#fff;padding:30px 0}.story-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:50px;align-items:center}.story h2{font-size:clamp(34px,4vw,54px);margin-bottom:18px}.story p{max-width:420px}.story-photo{min-height:320px;border-radius:25px}.promos{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:24px;padding-bottom:35px}.promo{min-height:245px;padding:35px;display:flex;align-items:center;color:#fff;border-radius:10px}.promo:after{background:linear-gradient(90deg,#142c25b3,transparent)}.promo h2{font-size:32px;max-width:245px}.promo .button{font-size:12px}.site-footer{background:var(--paper);padding:50px 0 0;font-size:13px}.footer-grid{display:grid;grid-template-columns:1.7fr 1fr 1fr 1.4fr;gap:40px}.site-footer h2{font-size:15px;letter-spacing:0;margin-bottom:18px}.site-footer ul{list-style:none;margin:0;padding:0}.site-footer li{margin-bottom:8px}.site-footer p{margin-top:15px;overflow-wrap:anywhere}.social-links{display:flex;gap:12px;flex-wrap:wrap}.footer-bottom{display:flex;justify-content:space-between;padding-top:30px;padding-bottom:22px;margin-top:30px;border-top:1px solid var(--line);font-size:11px;color:#58615a}.page-content,.shop-content{padding-top:55px;padding-bottom:70px;min-height:50vh}.page-content h1{margin-bottom:35px}.entry-content{overflow-wrap:anywhere}.entry-content a{text-decoration:underline}.entry-content h2{font-size:32px;margin-top:36px}.entry-content h3{margin-top:28px}.entry-content p{line-height:1.85}.entry-content table{width:100%;border-collapse:collapse}.entry-content th,.entry-content td{padding:12px;border:1px solid var(--line)}.entry-content iframe{max-width:100%}.entry-content:after{content:'';display:table;clear:both}.alignleft{float:left;margin:0 22px 20px 0}.alignright{float:right;margin:0 0 20px 22px}.aligncenter{display:block;margin:auto}.wp-caption{max-width:100%}.wp-caption-text,.gallery-caption{font-size:13px;color:#57645b}.reading-content{max-width:950px}.reading-content .wp-post-image{border-radius:12px;margin-bottom:30px}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.post-card img{aspect-ratio:1.5;object-fit:cover;border-radius:10px}.post-card h2{font-size:25px;margin-top:20px}.post-meta{font-size:13px;color:#536156}.nav-links{display:flex;justify-content:space-between;gap:20px;margin:30px 0}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.contact-photo{min-height:330px;border-radius:16px}.error-page{text-align:center;padding-top:90px;padding-bottom:90px}.comment-list{padding-left:20px}.comment-body{padding:20px 0;border-bottom:1px solid var(--line)}.comment-form textarea{display:block;width:100%}.comment-form label{display:block}.comment-form-cookies-consent label{display:inline}.comments-area{margin-top:50px}.comments-area h2{font-size:28px}.bypostauthor>.comment-body{border-left:3px solid var(--green);padding-left:18px}
/* WooCommerce owns transactional templates and payment logic. */
.woocommerce .woocommerce-breadcrumb{font-size:12px;margin-bottom:28px}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{margin-bottom:25px}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px;padding:0}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none;width:auto;margin:0 0 20px;text-align:center}.woocommerce ul.products li.product a img{border-radius:9px;background:var(--paper);aspect-ratio:1/1.1;object-fit:contain;margin:0 0 18px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:18px;line-height:1.3;letter-spacing:-.025em}.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--green)}.woocommerce ul.products li.product .button{margin-top:10px}.woocommerce span.onsale{background:var(--green);font-size:12px;padding:2px 10px;min-height:34px;line-height:30px;min-width:0;border-radius:18px}.woocommerce div.product .product_title{font-size:clamp(30px,3.5vw,49px)}.woocommerce div.product div.images img{border-radius:12px}.woocommerce div.product form.cart .variations select{min-width:160px}.woocommerce div.product form.cart .button{background:var(--green);min-height:46px}.woocommerce div.product form.cart .quantity{margin-right:12px}.woocommerce .quantity .qty{width:80px;padding:11px 5px}.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:var(--paper);border-color:var(--line);border-radius:8px 8px 0 0}.woocommerce div.product .woocommerce-tabs ul.tabs li:before,.woocommerce div.product .woocommerce-tabs ul.tabs li:after{display:none}.woocommerce div.product .woocommerce-tabs .panel{line-height:1.8}.woocommerce div.product .woocommerce-tabs h2,.woocommerce .related h2,.woocommerce .cart_totals h2,.woocommerce .cross-sells h2{font-size:28px}.woocommerce table.shop_table{border-color:var(--line);border-radius:10px}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:15px}.woocommerce table.cart td.actions .input-text{width:170px}.woocommerce .woocommerce-message,.woocommerce .woocommerce-info{border-top-color:var(--green);background:var(--paper)}.woocommerce .woocommerce-message:before,.woocommerce .woocommerce-info:before{color:var(--green)}.woocommerce-error{border-radius:8px}.woocommerce .woocommerce-MyAccount-navigation ul{list-style:none;padding:10px 20px;background:var(--paper);border-radius:10px;margin:0}.woocommerce .woocommerce-MyAccount-navigation a{display:block;padding:14px 0;border-bottom:1px solid var(--line)}.woocommerce .woocommerce-MyAccount-navigation .is-active a{font-weight:bold}.woocommerce .woocommerce-MyAccount-content h2,.woocommerce .woocommerce-MyAccount-content h3,.woocommerce-checkout h3{font-size:26px}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{line-height:1.5}.woocommerce #payment{background:var(--paper);border-radius:12px}.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--green);color:#fff}.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover{background:var(--ink)}.woocommerce a.button.alt.disabled,.woocommerce button.button.alt.disabled{background:#718177}.woocommerce .star-rating{color:#8e6d2f}.woocommerce nav.woocommerce-pagination ul{border:0}.woocommerce nav.woocommerce-pagination ul li{border:0;margin:4px}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{padding:12px;border-radius:6px}.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--green);color:#fff}.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{min-width:0}.woocommerce .select2-container .select2-selection--single{height:48px;border-color:#bfc8c0}.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:46px}.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px}.wc-block-components-button:not(.is-link){border-radius:30px!important;background:var(--green);color:#fff}.wc-block-components-title,.wc-block-cart__submit-button{font-family:inherit}.wc-block-components-product-name{font-weight:600}.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{color:var(--ink)}.wc-block-components-text-input input{border-radius:7px!important}.wc-block-components-sidebar{background:var(--paper);padding:24px!important;border-radius:12px}.wp-block-woocommerce-empty-cart-block{padding:30px}.woocommerce-product-gallery{opacity:1}
@media(min-width:1500px){.hero{min-height:600px}.hero-tile{min-height:298px}}
@media(max-width:1100px){.container{padding-left:25px;padding-right:25px}.header-inner{gap:15px}.menu{gap:14px}.brand{font-size:26px}.header-actions{gap:5px}.category-strip>a{gap:10px;padding:0 12px;font-size:12px}.category-thumb{flex-basis:56px;height:56px}.hero{min-height:500px}.hero-tile{min-height:247px}.hero-copy{padding:36px}.footer-grid{gap:25px}.section-heading{align-items:flex-start}.gp-product-grid{gap:15px}}
@media(max-width:1050px){.header-inner{min-height:84px}.menu-toggle{display:inline-flex;margin-left:auto}#primary-nav{display:none;position:absolute;top:100%;left:0;right:0;padding:12px 25px;background:var(--paper);box-shadow:0 12px 14px #0001;max-height:70vh;overflow:auto}#primary-nav.is-open{display:block}#primary-nav .menu{display:block}#primary-nav .menu a{padding:12px 0}#primary-nav .sub-menu{position:static;display:block;box-shadow:none;padding:0 0 0 18px;min-width:0}.header-search{position:relative;z-index:2;background:var(--paper)}.hero{grid-template-columns:1.5fr 1fr}.hero-copy{padding:28px}.hero h1{font-size:48px}.hero-tile{padding:22px}.hero-tile>span{font-size:21px}.story-grid{gap:25px}.footer-grid{grid-template-columns:1.5fr 1fr}.gp-product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.post-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.container{padding-left:20px;padding-right:20px}.announcement{font-size:11px}.brand{font-size:23px}.brand small{font-size:7px}.custom-logo-link img{max-width:155px;max-height:60px}.header-inner{gap:4px;min-height:76px}.header-actions{gap:0}.icon-button{padding:7px;min-width:34px}.icon-button svg{width:21px;height:21px}.hero{display:block;min-height:0}.hero-main{min-height:450px}.hero-copy{padding:35px 24px}.hero h1{font-size:53px}.hero p{font-size:15px;max-width:300px}.hero-side{grid-template-columns:1fr 1fr;grid-template-rows:auto;padding:5px 0 0;gap:5px}.hero-tile{min-height:180px;padding:18px}.hero-tile>span{font-size:20px}.hero-tile .circle-arrow{width:32px;height:32px;margin-top:8px}.category-strip{grid-template-columns:1fr 1fr;gap:20px 10px;padding-top:25px;padding-bottom:25px}.category-strip>a{padding:0;border:0;font-size:12px}.category-thumb{flex-basis:49px;height:49px}.catalog-section{padding-top:38px;padding-bottom:38px}.section-heading{gap:14px;margin-bottom:18px}.section-heading h2{font-size:36px}.product-tabs{gap:17px;width:100%}.gp-product-grid{gap:22px 12px}.gp-product h3{font-size:15px}.gp-product .price{font-size:14px}.gp-product .button{padding:9px 12px;font-size:12px;gap:7px}.gp-product .button svg{width:16px}.product-photo{margin-bottom:12px}.story{padding:30px 0}.story-grid{grid-template-columns:1fr;gap:26px}.story h2{font-size:42px}.story-photo{min-height:245px;border-radius:15px}.promos{grid-template-columns:1fr;padding-top:20px;padding-bottom:20px;gap:14px}.promo{min-height:230px;padding:25px}.promo h2{font-size:29px;max-width:210px}.footer-grid{grid-template-columns:1fr 1fr;gap:28px 20px}.footer-grid>div:first-child{grid-column:1/-1}.site-footer{padding-top:35px}.footer-bottom{gap:20px;align-items:center}.footer-grid .brand{font-size:28px}.page-content,.shop-content{padding-top:32px;padding-bottom:45px}.page-content h1{font-size:35px}.post-grid,.contact-grid{grid-template-columns:1fr}.woocommerce ul.products{gap:15px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px}.woocommerce ul.products li.product .button{padding:10px 13px;font-size:12px}.woocommerce .woocommerce-ordering,.woocommerce .woocommerce-result-count{float:none}.woocommerce div.product .product_title{font-size:33px}.woocommerce div.product .woocommerce-tabs ul.tabs li{padding:0 10px;font-size:12px}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:12px 8px}.woocommerce table.cart td.actions .input-text{width:48%}.woocommerce .woocommerce-MyAccount-navigation{margin-bottom:25px}.wc-block-components-sidebar{padding:16px!important}.search-form .button{padding:12px 16px}.entry-content table{display:block;overflow:auto}.alignleft,.alignright{float:none;margin:15px 0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
