/*
Theme Name: Umre Hac Hediyelik
Theme URI: https://umrehachediyelik.com
Author: Umre Hac Hediyelik
Description: WooCommerce uyumlu, hafif ve mobil odaklı özel mağaza teması.
Version: 1.6.0
Requires PHP: 7.4
Text Domain: umre-hac
*/
:root{--green:#153f35;--gold:#bb9454;--cream:#fbf8f1;--ink:#23332e}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.6}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}.wrap{max-width:1200px;margin:auto;padding:0 22px}.topline{background:var(--green);color:#fff;text-align:center;padding:7px;font-size:13px}.site-head{background:#fff;border-bottom:1px solid #eee;position:sticky;top:0;z-index:30}.head-inner{display:flex;align-items:center;gap:25px;min-height:88px}.brand{font-size:23px;font-weight:800;color:var(--green);line-height:1.1;min-width:190px}.brand small{display:block;font-size:11px;font-weight:500;letter-spacing:2px;color:var(--gold)}.head-search{flex:1}.head-search form{display:flex;border:1px solid #e0e5df;border-radius:40px;overflow:hidden;background:#f8f9f6}.head-search input{flex:1;border:0;background:transparent;padding:13px 18px;min-width:0}.head-search button,.btn{background:var(--green);color:#fff;border:0;padding:12px 24px;border-radius:30px;cursor:pointer}.head-actions{display:flex;gap:15px;white-space:nowrap}.nav{background:var(--cream);border-bottom:1px solid #eee}.nav ul{list-style:none;display:flex;flex-wrap:wrap;gap:25px;margin:0;padding:13px 0;font-weight:600;font-size:14px}.hero{background:linear-gradient(115deg,#123a31,#265c49);color:#fff;overflow:hidden}.hero-grid{min-height:460px;display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:40px;padding-top:55px;padding-bottom:55px}.eyebrow{color:#e1c58d;letter-spacing:2px;font-weight:700;font-size:13px}.hero h1{font-family:Georgia,serif;font-size:clamp(38px,5vw,64px);line-height:1.13;margin:16px 0}.hero p{max-width:540px;color:#e4ede7;font-size:18px}.hero .btn{display:inline-block;background:var(--gold);color:#152f28;font-weight:700;margin-top:18px}.hero-art{min-height:330px;border:1px solid #ffffff45;border-radius:160px 160px 18px 18px;display:grid;place-items:center;background:radial-gradient(circle at 50% 25%,#d2b57a44,transparent 55%),#ffffff0a;text-align:center;padding:30px}.hero-art span{font-size:100px;color:#ddc58f;line-height:1}.hero-art p{font-family:Georgia,serif;color:#e4d7b9}.section{padding:65px 0}.section.alt{background:var(--cream)}.section h2{text-align:center;font-family:Georgia,serif;font-size:34px;color:var(--green);margin:0 0 10px}.sub{text-align:center;color:#69746d;margin:0 0 35px}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.category-card{border:1px solid #eee;background:#fff;border-radius:16px;padding:30px 15px;text-align:center;transition:.2s}.category-card:hover{transform:translateY(-3px);border-color:var(--gold)}.category-card .symbol{font-size:42px;display:block;margin-bottom:12px}.category-card strong{display:block;color:var(--green)}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.feature{border:1px solid #e5e8e3;border-radius:14px;padding:22px;text-align:center}.feature b{display:block;color:var(--green)}.products ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important}.woocommerce ul.products li.product img{border-radius:12px}.woocommerce ul.products li.product .button{border-radius:25px;background:var(--green);color:#fff}.page-area{padding:45px 0;min-height:45vh}.site-foot{background:#10382f;color:#eaf2ed;padding:55px 0 25px}.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.site-foot a{display:block;margin:7px 0}.copyright{border-top:1px solid #ffffff25;margin-top:35px;padding-top:18px;font-size:13px;color:#b8cec2}.mobile-dock{display:none}.woocommerce .button.alt,.woocommerce button.button.alt{background:var(--green)!important}@media(max-width:800px){.head-inner{flex-wrap:wrap;padding-top:14px;padding-bottom:14px;gap:12px}.brand{font-size:19px;min-width:0}.head-actions{margin-left:auto}.head-search{order:3;flex-basis:100%}.nav{overflow-x:auto}.nav ul{flex-wrap:nowrap;white-space:nowrap;gap:18px}.hero-grid{grid-template-columns:1fr;min-height:0;padding-top:55px;padding-bottom:45px}.hero-art{display:none}.category-grid,.products ul.products{grid-template-columns:repeat(2,1fr)!important}.features,.foot-grid{grid-template-columns:1fr}.section{padding:45px 0}.mobile-dock{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;box-shadow:0 -4px 22px #0002;z-index:99;justify-content:space-around;padding:8px 5px max(8px,env(safe-area-inset-bottom))}.mobile-dock a{font-size:12px;text-align:center;color:var(--green);font-weight:700}.mobile-dock span{display:block;font-size:22px}body{padding-bottom:65px}}
/* v1.1 storefront */
:root{--green:#123f33;--gold:#b58d4a;--cream:#faf6ed}.brand{min-width:210px;max-width:245px}.brand img,.brand .custom-logo{max-height:62px;width:auto;object-fit:contain}.head-actions a{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600}.head-search button{font-weight:700;padding:12px 28px}.main-nav{justify-content:center}.nav ul{gap:32px}.nav a:hover,.text-link:hover{color:var(--gold)}.umre-slider{position:relative;overflow:hidden;background:#f7f0e4}.umre-slides{position:relative;aspect-ratio:1967/800;max-height:610px;min-height:260px}.umre-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .6s ease}.umre-slide.active{opacity:1;visibility:visible}.umre-slide a,.umre-slide img{display:block;width:100%;height:100%}.umre-slide img{object-fit:cover}.slide-arrow{position:absolute;top:50%;transform:translateY(-50%);border:1px solid #fff9;background:#ffffffc9;color:var(--green);border-radius:50%;width:43px;height:43px;font-size:32px;cursor:pointer;z-index:2}.slide-arrow.prev{left:22px}.slide-arrow.next{right:22px}.slide-dots{position:absolute;bottom:17px;left:0;right:0;display:flex;justify-content:center;gap:8px;z-index:2}.slide-dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:#ffffffa8;cursor:pointer}.slide-dots button.active{background:var(--green);outline:2px solid #fff}.benefits{background:#fff;border-bottom:1px solid #ece8dd}.benefits-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding-top:22px;padding-bottom:22px}.benefits-grid>div{display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center}.benefits b{color:var(--green)}.benefits span{font-size:13px;color:#66766c}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:26px}.section-head h2{text-align:left;margin:5px 0 0}.kicker{font-size:11px;letter-spacing:2px;font-weight:800;color:var(--gold)}.text-link{color:var(--green);font-weight:700;font-size:14px;white-space:nowrap}.category-card{padding:0 0 20px;overflow:hidden;box-shadow:0 5px 22px #173e3210}.category-card img{display:block;width:100%;height:180px;object-fit:cover;margin-bottom:18px}.category-card .symbol{height:160px;display:grid;place-items:center;background:#f1eadb;color:var(--gold);font-size:65px;margin-bottom:18px}.category-card small{display:block;margin-top:5px;color:#77847a}.collection-banner{background:linear-gradient(100deg,#123d31,#2b6551);color:white;text-align:center;padding:65px 20px}.collection-banner h2{font:normal 42px Georgia,serif;margin:12px 0}.collection-banner p{color:#e5eee8}.collection-banner .btn{display:inline-block;margin-top:18px;background:var(--gold);color:#152f28;font-weight:700}.woocommerce ul.products li.product{border:1px solid #ecece5;border-radius:14px;overflow:hidden;padding:0 0 17px!important;box-shadow:0 5px 20px #0c342b0b}.woocommerce ul.products li.product img{border-radius:0}.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product .price{padding:0 14px!important}.woocommerce ul.products li.product .button{margin-left:14px}.mobile-dock svg{display:block;margin:0 auto 2px}.site-foot{margin-top:0}@media(max-width:800px){.site-head{position:relative}.head-inner{min-height:0;padding-top:12px;padding-bottom:12px}.brand{min-width:0;max-width:175px}.brand img{max-height:48px;max-width:160px}.head-actions a span{display:none}.head-actions{gap:16px}.head-search{order:3}.head-search input{padding:10px 14px;font-size:13px}.head-search button{padding:10px 22px}.nav ul{justify-content:flex-start}.umre-slides{min-height:0;aspect-ratio:1.6}.umre-slide img{object-fit:cover}.slide-arrow{width:30px;height:30px;font-size:23px}.slide-arrow.prev{left:7px}.slide-arrow.next{right:7px}.slide-dots{bottom:9px}.benefits-grid{grid-template-columns:repeat(3,1fr);gap:5px;padding:12px 8px}.benefits b{font-size:11px}.benefits span{display:none}.section{padding:35px 0}.section-head h2{font-size:27px}.category-grid{gap:10px}.category-card img,.category-card .symbol{height:125px}.category-card strong{font-size:13px}.category-card small{font-size:11px}.collection-banner{padding:45px 16px}.collection-banner h2{font-size:29px}.mobile-dock{border-top:1px solid #eaeaea}.mobile-dock a{display:flex;flex-direction:column;align-items:center;gap:2px}.woocommerce ul.products li.product .button{font-size:12px!important;padding:9px 12px!important}}@media(max-width:480px){.umre-slides{aspect-ratio:1.45}.umre-slide img{object-position:center}.topline{font-size:11px;padding:6px 8px}.section-head{align-items:center}.text-link{font-size:12px}}

/* v1.2 — Slider görsel oranı düzeltmesi */
.umre-slider{width:100%;overflow:hidden;background:#f7f0e4}
.umre-slides{width:100%;height:auto;aspect-ratio:1967 / 800;max-height:none;min-height:0}
.umre-slide{position:absolute;inset:0;width:100%;height:100%}
.umre-slide>a{display:block;position:absolute;inset:0;width:100%;height:100%}
.umre-slide img{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:fill;object-position:center}
@media(max-width:800px){.umre-slides{aspect-ratio:1967 / 800;min-height:0;max-height:none}.umre-slide img{object-fit:fill}}
@media(max-width:480px){.umre-slides{aspect-ratio:1967 / 800}.slide-arrow{width:27px;height:27px;font-size:21px}.slide-dots{bottom:5px}}

/* v1.3 mobile-first storefront */
@media(max-width:600px){
 .umre-slides{aspect-ratio:5 / 6!important;min-height:0!important}
 .umre-slide img{object-fit:contain!important}
 .umre-slide picture,.umre-slide source{display:block;width:100%;height:100%}
 .head-inner{gap:8px;padding-top:8px;padding-bottom:9px}
 .brand{max-width:155px}.brand img{max-width:145px;max-height:44px}
 .head-search input{padding:9px 13px}.head-search button{padding:9px 18px}
 .slide-arrow{top:28%;width:29px;height:29px}
 .slide-dots{bottom:12px}.slide-dots button{background:#d8c9ab}.slide-dots button.active{background:#123f33}
 .category-grid{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding-bottom:12px;scrollbar-width:thin}
 .category-card{flex:0 0 42%;scroll-snap-align:start}
 .products ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .woocommerce ul.products li.product{min-width:0!important}
 .benefits-grid{gap:6px}.benefits b{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.umre-slide{transition:none}}

/* v1.4: fixed frame sizing for both default and uploaded pictures */
.umre-slide picture{display:block;position:absolute;inset:0;width:100%;height:100%}
.umre-slide picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
@media(max-width:600px){
 .umre-slides{aspect-ratio:5 / 6!important}
 .umre-slide picture img{object-fit:cover!important}
 .slide-arrow{top:50%!important}
 .slide-dots{bottom:14px}
}

/* v1.5: no letterboxing for uploaded images; use an independent responsive artboard */
.umre-slides{aspect-ratio:1967/800!important;min-height:0!important;max-height:none!important}
.umre-slide picture,.umre-slide picture img{width:100%;height:100%;display:block}
.umre-slide picture img{object-fit:cover!important;object-position:center!important}
@media(max-width:600px){.umre-slides{aspect-ratio:5/6!important}.slide-arrow{top:50%!important}.slide-dots{bottom:12px}}
/* Storefront, product, cart, checkout and account */
.woocommerce .woocommerce-breadcrumb{margin:0 0 22px;color:#687b71;font-size:13px}
.woocommerce div.product{display:flow-root}.woocommerce div.product div.images img{border-radius:16px;background:#faf6ed}
.woocommerce div.product .product_title{font:600 clamp(28px,3vw,42px)/1.18 Georgia,serif;color:var(--green)}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:#98713d;font-weight:800;font-size:25px}
.woocommerce div.product form.cart .button,.woocommerce .button,.woocommerce button.button,.woocommerce input.button{border-radius:9px!important;background:var(--green)!important;color:#fff!important;padding:13px 20px!important}
.woocommerce .quantity .qty{min-height:43px;border:1px solid #d8ded9;border-radius:8px}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--cream)}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;clear:both}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;min-width:0}
.woocommerce ul.products li.product img{aspect-ratio:1;object-fit:cover;background:#f9f6f0}
.woocommerce ul.products li.product .price{color:#9d793d;font-weight:800}
.woocommerce table.shop_table{border:1px solid #e5e7e2;border-radius:12px;overflow:hidden}
.woocommerce-cart .cart-collaterals .cart_totals,.woocommerce-checkout #order_review{background:var(--cream);border-radius:14px;padding:22px}
.woocommerce form.checkout input.input-text,.woocommerce form.checkout textarea,.woocommerce form.checkout select,.woocommerce form.login input.input-text,.woocommerce form.register input.input-text{border:1px solid #d6ded8;border-radius:8px;padding:12px;width:100%;background:#fff}
.woocommerce form.checkout .form-row{margin-bottom:13px}
.woocommerce-info,.woocommerce-message{border-top-color:var(--gold);background:#f7f7f2}
.umre-product-help{display:inline-flex;align-items:center;gap:8px;border:1px solid #bed5c8;padding:11px 16px;border-radius:9px;color:var(--green);font-weight:700;margin:12px 0 20px}
.umre-admin-note{font-size:13px;color:#68776f}
@media(max-width:800px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.woocommerce div.product div.images,.woocommerce div.product div.summary{width:100%!important;float:none!important}.woocommerce-cart .cart-collaterals .cart_totals{width:100%!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px!important}.woocommerce ul.products li.product .button{margin-left:10px;padding:9px 11px!important}}

/* v1.6 checkout, keyboard and responsive polish */
:focus-visible{outline:3px solid #bb9454;outline-offset:3px}
.woocommerce-checkout .woocommerce-checkout-review-order-table,.woocommerce-cart .shop_table{background:#fff}
.woocommerce-checkout #payment{background:#f6f2e9;border-radius:12px}
.woocommerce-checkout #payment ul.payment_methods{border-bottom-color:#e3dccc}
.woocommerce-checkout #payment div.payment_box{background:#fff;border:1px solid #e1e6df;border-radius:10px}
.woocommerce-checkout #payment div.payment_box:before{display:none}
.woocommerce-checkout #place_order{width:100%;min-height:50px;font-size:16px;font-weight:700}
.woocommerce .woocommerce-form-coupon-toggle .woocommerce-info{border-radius:8px}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0;display:grid;gap:6px}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;background:#faf6ed;border-radius:8px;padding:11px 15px}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{background:#123f33;color:white}
@media(max-width:767px){.woocommerce-checkout #customer_details .col-1,.woocommerce-checkout #customer_details .col-2,.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{width:100%;float:none}.woocommerce-cart table.cart td.actions .coupon{display:flex;gap:6px;float:none}.woocommerce-cart table.cart td.actions .coupon input{min-width:0;flex:1}.woocommerce-cart table.cart td.actions .coupon button{flex-shrink:0}.woocommerce ul.products li.product a.button{max-width:calc(100% - 20px);white-space:normal;text-align:center}}
@media(prefers-reduced-motion:reduce){.umre-slide{transition:none!important}*,*:before,*:after{scroll-behavior:auto!important}}
