/* Granty Prestij — WooCommerce stilleri */

.woocommerce-message,.woocommerce-info,.woocommerce-error{
  display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;
  border:1px solid var(--g-line);border-left:3px solid var(--g-accent);
  background:var(--g-mist);padding:15px 18px;margin:0 0 24px;list-style:none;font-size:.94rem;
}
/* Woo kendi ikonunu ::before ile mutlak konumlandirir ve metnin uzerine biner. */
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{content:none !important;display:none !important}
.woocommerce-message,.woocommerce-info,.woocommerce-error{position:relative}
.woocommerce-error{border-left-color:#c0392b;display:block}
.woocommerce-error li{margin-bottom:6px}
.woocommerce-error li:last-child{margin-bottom:0}
.woocommerce-message .button,.woocommerce-info .button{float:none;margin:0;flex:none;order:2}
.wc-block-components-notice-banner{border-radius:0}

/* ---------- magaza duzeni ---------- */
.g-shop{display:grid;grid-template-columns:1fr;gap:clamp(26px,3vw,44px);padding-block:clamp(28px,3.4vw,48px)}
@media(min-width:1000px){.g-shop{grid-template-columns:266px minmax(0,1fr);gap:clamp(32px,3.4vw,56px)}}

.g-archive-hero{position:relative;background:var(--g-mist)}
.g-archive-hero__media{position:relative;height:clamp(200px,26vw,340px);overflow:hidden}
.g-archive-hero__media img{width:100%;height:100%;object-fit:cover}
.g-archive-hero__media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.5),rgba(0,0,0,.1))}
.g-archive-hero__body{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;z-index:2;color:#fff}
.g-archive-hero__body h1{color:#fff;margin-bottom:10px}
.g-archive-hero__body p{color:rgba(255,255,255,.85);max-width:56ch}
.g-archive-hero__body .g-crumbs{color:rgba(255,255,255,.8)}
.g-archive-hero--plain{background:#fff;border-bottom:1px solid var(--g-line-2)}
.g-archive-hero--plain .g-archive-hero__body{position:static;color:var(--g-ink);padding-block:clamp(30px,3.6vw,58px)}
.g-archive-hero--plain h1{color:var(--g-ink)}
.g-archive-hero--plain p{color:var(--g-muted)}

/* alt kategori serit */
.g-subcats{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:26px}
.g-subcats a{display:inline-flex;align-items:center;gap:7px;padding:9px 17px;border:1px solid var(--g-line);font-size:.88rem;transition:.2s}
.g-subcats a span{color:var(--g-muted);font-size:.78rem}
.g-subcats a:hover,.g-subcats a.is-active{background:var(--g-ink);border-color:var(--g-ink);color:#fff}
.g-subcats a:hover span,.g-subcats a.is-active span{color:rgba(255,255,255,.7)}

/* filtre sutunu */
.g-filters{align-self:start}
@media(min-width:1000px){.g-filters{position:sticky;top:calc(var(--g-header-h) + 16px)}}
.g-filters__box{border:1px solid var(--g-line-2);padding:20px;margin-bottom:16px;background:#fff}
.g-filters__box h4{font-size:.95rem;font-weight:500;margin-bottom:14px}
.g-filters__box ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:.92rem}
.g-filters__box li a{display:flex;justify-content:space-between;gap:10px;color:var(--g-ink-2);transition:.2s}
.g-filters__box li a:hover{color:var(--g-accent)}
.g-filters__box li.is-active>a{font-weight:600;color:var(--g-ink)}
.g-filters__box li ul{margin-top:8px;padding-left:12px;border-left:1px solid var(--g-line-2)}
.g-filters__box .count{color:var(--g-muted);font-size:.8rem}
.g-filters__toggle{display:none;width:100%;justify-content:space-between}
@media(max-width:999px){
  .g-filters__toggle{display:flex}
  .g-filters__inner{display:none;margin-top:14px}
  .g-filters.is-open .g-filters__inner{display:block}
}
.g-swatches{display:flex;flex-wrap:wrap;gap:9px}
.g-swatch{width:32px;height:32px;border-radius:50%;border:1px solid var(--g-line);display:block;position:relative}
.g-swatch.is-active{box-shadow:0 0 0 2px #fff,0 0 0 3px var(--g-ink)}

/* araclar cubugu */
.g-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;
  padding-bottom:16px;margin-bottom:24px;border-bottom:1px solid var(--g-line-2)}
.g-toolbar__count{font-size:.88rem;color:var(--g-muted)}
.woocommerce-ordering select,.g-toolbar select{
  height:44px;padding:0 38px 0 14px;border:1px solid var(--g-line);background:#fff;
  appearance:none;font-size:.9rem;cursor:pointer;
  background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3e%3cpath fill='none' stroke='%2316181a' stroke-width='1.4' d='M1 1.5 6 6.5 11 1.5'/%3e%3c/svg%3e");
  background-repeat:no-repeat;background-position:right 14px center;background-size:11px;
}
.g-toolbar select:focus{outline:none;border-color:var(--g-ink)}

/* ---------- urun izgarasi ---------- */
ul.products{list-style:none;margin:0;padding:0;display:grid;gap:clamp(16px,1.8vw,28px);
  grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:700px){ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1180px){ul.products{grid-template-columns:repeat(var(--g-cols,4),minmax(0,1fr))}}
ul.products.columns-3{--g-cols:3}
/* WooCommerce'in clearfix ::before/::after'i grid icinde bos hucre isgal ediyor
   (ilk urunun solunda bos sutun olusuyordu). */
ul.products::before,ul.products::after,
.woocommerce ul.products::before,.woocommerce ul.products::after,
.woocommerce-page ul.products::before,.woocommerce-page ul.products::after{
  content:none !important;display:none !important;
}
/* Woo varsayilan izgarasi li.product'a yuzde genislik + float verir;
   kendi grid'imizi bozdugu icin notrlestiriyoruz. */
ul.products li.product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  width:auto !important;margin:0 !important;float:none !important;clear:none !important;
  text-align:left;padding:0;
}
ul.products li.product::before,ul.products li.product::after,
.woocommerce ul.products li.product::before,.woocommerce ul.products li.product::after{content:none}
.woocommerce ul.products li.product .price{color:var(--g-ink);font-size:1.05rem;font-weight:500;margin:0}
.woocommerce ul.products li.product a img{margin:0;box-shadow:none;width:100%}
.woocommerce ul.products li.product .g-card__title{font-size:.97rem;padding:0;margin:0 0 12px}

li.product{position:relative;display:flex;flex-direction:column;background:#fff;transition:box-shadow .28s}
li.product:hover{box-shadow:0 18px 40px -26px rgba(0,0,0,.34)}
.g-card__media{position:relative;display:block;background:var(--g-mist);overflow:hidden;padding:14px}
.g-card__media img{width:100%;aspect-ratio:1/1;object-fit:contain;transition:transform .7s cubic-bezier(.2,.6,.2,1);margin:0 auto}
li.product:hover .g-card__media img{transform:scale(1.045)}
.g-card__flags{position:absolute;top:12px;left:12px;display:flex;flex-direction:column;gap:6px;z-index:2}
.g-card__flag{background:var(--g-ink);color:#fff;font-size:.68rem;letter-spacing:.06em;padding:5px 9px}
.g-card__flag--sale{background:var(--g-accent)}
.g-card__body{display:flex;flex-direction:column;flex:1;padding:16px 16px 18px}
.g-card__brand{font-size:.72rem;letter-spacing:.12em;color:var(--g-muted);margin-bottom:7px;text-transform:uppercase}
.g-card__title{font-size:.97rem;font-weight:400;line-height:1.4;margin:0 0 12px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.8em}
li.product:hover .g-card__title{color:var(--g-accent)}
.g-card__foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}
.g-card__price .price{font-size:1.05rem;font-weight:500;color:var(--g-ink)}
.g-card__price del{color:var(--g-muted);font-weight:400;font-size:.85rem;margin-right:6px}
.g-card__price ins{text-decoration:none}
/* Woo'nun ".woocommerce ul.products li.product .button" kurali display:inline-block
   ve margin-top:1em veriyor; bizim daire butondan daha ozgul oldugu icin ikonu
   sol uste kaydiriyordu. Ayni zincire kendi sinifimizi ekleyerek geciyoruz. */
.g-card__cart .button,
.woocommerce .g-card__cart a.button,
.woocommerce .g-card__cart button.button,
.woocommerce ul.products li.product .g-card__cart .button,
.woocommerce-page ul.products li.product .g-card__cart .button,
.woocommerce ul.products li.product .g-card__cart .added_to_cart{
  width:42px;height:42px;min-height:42px;padding:0;margin:0;line-height:1;
  border-radius:50%;border:1px solid var(--g-line);background:#fff;
  display:inline-flex;align-items:center;justify-content:center;color:var(--g-ink);transition:.22s;font-size:0;
}
.g-card__cart .button svg,
.woocommerce ul.products li.product .g-card__cart .button svg{width:18px;height:18px;display:block}
.g-card__cart .button .screen-reader-text{font-size:0}
.g-card__cart .button:hover,
.woocommerce .g-card__cart a.button:hover,
.woocommerce ul.products li.product .g-card__cart .button:hover{background:var(--g-ink);border-color:var(--g-ink);color:#fff}
.g-card__cart .button.loading{opacity:.55}
.g-card__cart .button.loading::after{display:none}
.g-card__cart .button.added svg{opacity:.35}
.g-card__cart .added_to_cart,
.woocommerce ul.products li.product .g-card__cart .added_to_cart{display:none}
.g-card__swatches{display:flex;gap:5px;margin-top:12px}
.g-card__swatches span{width:14px;height:14px;border-radius:50%;border:1px solid var(--g-line)}

/* ---------- urun detay ---------- */
.g-single{padding-block:clamp(24px,3vw,44px)}
.g-single__grid{display:grid;grid-template-columns:1fr;gap:clamp(26px,3vw,56px)}
@media(min-width:980px){.g-single__grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}}

.g-gallery{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:700px){.g-gallery{grid-template-columns:84px minmax(0,1fr);align-items:start}}
.g-gallery__thumbs{display:flex;gap:10px;order:2;overflow-x:auto}
@media(min-width:700px){.g-gallery__thumbs{order:0;flex-direction:column;overflow:visible}}
.g-gallery__thumbs button{
  width:78px;height:78px;flex:none;border:1px solid var(--g-line-2);background:var(--g-mist);padding:6px;cursor:pointer;transition:.2s;
}
.g-gallery__thumbs button img{width:100%;height:100%;object-fit:contain}
.g-gallery__thumbs button.is-active{border-color:var(--g-ink)}
.g-gallery__main{position:relative;background:var(--g-mist);display:flex;align-items:center;justify-content:center;padding:clamp(18px,3vw,44px)}
.g-gallery__main img{width:100%;max-height:min(64vh,620px);object-fit:contain}

.g-buy{align-self:start}
@media(min-width:980px){.g-buy{position:sticky;top:calc(var(--g-header-h) + 18px)}}
.g-buy__brand{font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:var(--g-muted);margin-bottom:12px}
.g-buy h1{font-size:clamp(1.5rem,2.4vw,2.15rem);font-weight:300;margin-bottom:12px}
.g-buy__sku{font-size:.84rem;color:var(--g-muted);margin-bottom:20px}
.g-buy__price{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:6px}
.g-buy__price .price{font-size:1.9rem;font-weight:400;color:var(--g-ink)}
.g-buy__price del{color:var(--g-muted);font-size:1.05rem}
.g-buy__price ins{text-decoration:none}
.g-buy__vat{font-size:.8rem;color:var(--g-muted);margin-bottom:22px}
.g-buy .woocommerce-product-details__short-description{color:var(--g-ink-2);font-size:.97rem;margin-bottom:24px;
  padding-bottom:24px;border-bottom:1px solid var(--g-line-2)}
.g-buy__trust{list-style:none;margin:24px 0 0;padding:22px 0 0;border-top:1px solid var(--g-line-2);display:flex;flex-direction:column;gap:12px}
.g-buy__trust li{display:flex;gap:11px;align-items:flex-start;font-size:.9rem;color:var(--g-ink-2)}
.g-buy__trust svg{width:18px;height:18px;flex:none;color:var(--g-accent);margin-top:3px}

.quantity{display:inline-flex;align-items:center;border:1px solid var(--g-line);height:54px;background:#fff}
.quantity input[type=number],.quantity input.qty{
  width:52px;height:52px;border:0;text-align:center;background:none;padding:0;
  -moz-appearance:textfield;appearance:textfield;font-size:.98rem;
}
.quantity input:focus{outline:none}
.quantity input::-webkit-outer-spin-button,.quantity input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

/* JS ile eklenen arttir / azalt dugmeleri */
.g-qty__btn{
  width:40px;height:52px;border:0;background:none;cursor:pointer;color:var(--g-ink);
  display:flex;align-items:center;justify-content:center;font-size:1.15rem;line-height:1;
  transition:.18s;padding:0;
}
.g-qty__btn:hover:not(:disabled){background:var(--g-mist)}
.g-qty__btn:disabled{opacity:.3;cursor:not-allowed}
.g-qty__btn--eksi{border-right:1px solid var(--g-line)}
.g-qty__btn--arti{border-left:1px solid var(--g-line)}
.woocommerce .quantity .g-qty__btn{min-height:0}
form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:8px}
/* Varyasyonlu urunde adet ve buton, secim tablosunun altinda tek satir olmali. */
form.cart.variations_form{display:block}
.woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.woocommerce-variation-add-to-cart .quantity{flex:none}
.woocommerce-variation-add-to-cart .button{flex:1;min-width:200px}
.single_variation_wrap{margin-top:4px}
.woocommerce-variation.single_variation{margin-bottom:14px}
form.cart .button,form.cart button[type=submit]{
  flex:1;min-width:200px;min-height:54px;padding:0 30px;background:var(--g-accent);color:#fff;border:1px solid var(--g-accent);
  font-size:.98rem;font-weight:500;cursor:pointer;transition:.22s;
}
form.cart .button:hover{background:var(--g-ink);border-color:var(--g-ink)}
form.cart .button.disabled,form.cart .button:disabled{background:var(--g-line);border-color:var(--g-line);color:var(--g-muted);cursor:not-allowed}

table.variations{width:100%;border-collapse:collapse;margin-bottom:14px}
table.variations tr{display:block}
table.variations th,table.variations td{display:block;padding:0;text-align:left}
table.variations th{font-size:.82rem;font-weight:500;color:var(--g-muted);padding-top:14px;padding-bottom:8px}
table.variations select{width:100%;height:52px;padding:0 40px 0 14px;border:1px solid var(--g-line);background:#fff;appearance:none;
  background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3e%3cpath fill='none' stroke='%2316181a' stroke-width='1.4' d='M1 1.5 6 6.5 11 1.5'/%3e%3c/svg%3e");
  background-repeat:no-repeat;background-position:right 15px center;background-size:11px}
.reset_variations{font-size:.82rem;color:var(--g-muted);display:inline-block;margin-top:6px;text-decoration:underline}
.woocommerce-variation-availability{font-size:.86rem;color:var(--g-muted)}
.woocommerce-variation-price{margin-bottom:14px}
.woocommerce-variation-price .price{font-size:1.6rem}

/* ozellik serit */
.g-specs{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1px;background:var(--g-line-2);margin-top:clamp(34px,4vw,60px)}
.g-specs__i{background:#fff;padding:20px 18px}
.g-specs__i span{display:block;font-size:.76rem;letter-spacing:.1em;text-transform:uppercase;color:var(--g-muted);margin-bottom:6px}
.g-specs__i strong{font-weight:500;font-size:.98rem}

/* sekmeler / akordeon */
.g-acc{margin-top:clamp(34px,4vw,60px);border-top:1px solid var(--g-line)}
.g-acc__item{border-bottom:1px solid var(--g-line)}
.g-acc__btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:22px 0;background:none;border:0;cursor:pointer;text-align:left;font-size:1.1rem;font-weight:400}
.g-acc__btn svg{width:14px;height:14px;flex:none;transition:transform .25s}
.g-acc__item.is-open .g-acc__btn svg{transform:rotate(45deg)}
.g-acc__panel{display:none;padding-bottom:26px;color:var(--g-ink-2);max-width:78ch}
.g-acc__item.is-open .g-acc__panel{display:block}
.g-acc__panel table{width:100%;border-collapse:collapse}
.g-acc__panel th,.g-acc__panel td{border-bottom:1px solid var(--g-line-2);padding:11px 0;font-size:.94rem;text-align:left}
.g-acc__panel th{width:38%;font-weight:500;color:var(--g-muted)}
.g-acc__panel p{margin-bottom:1em}

.woocommerce-tabs{display:none}

/* iliskili urunler */
.related,.upsells,.up-sells,.cross-sells{padding-block:clamp(38px,4.4vw,70px);border-top:1px solid var(--g-line-2);margin-top:clamp(38px,4.4vw,70px)}
.related>h2,.upsells>h2{font-size:clamp(1.4rem,2.2vw,1.9rem);margin-bottom:28px}

/* mobil yapiskan sepet */
.g-sticky-buy{
  position:fixed;left:0;right:0;bottom:0;z-index:340;background:#fff;border-top:1px solid var(--g-line);
  padding:10px 16px calc(10px + env(safe-area-inset-bottom));
  display:none;align-items:center;justify-content:space-between;gap:14px;
  box-shadow:0 -8px 24px -18px rgba(0,0,0,.4);transform:translateY(110%);transition:transform .3s;
}
.g-sticky-buy.is-on{transform:translateY(0)}
@media(max-width:979px){.g-sticky-buy{display:flex}body.single-product{padding-bottom:76px}}
.g-sticky-buy__p{font-size:1.05rem;font-weight:500}
.g-sticky-buy__p small{display:block;font-size:.72rem;color:var(--g-muted);font-weight:400}
.g-sticky-buy button{min-height:46px;padding:0 24px;background:var(--g-accent);color:#fff;border:0;font-weight:500;cursor:pointer}

/* ---------- sepet / odeme / hesabim ----------
   NOT: WooCommerce blok sepetinde/odemesinde duzen (display/grid/float) Woo tarafindan kurulur.
   Burada yalnizca genislik siniri, renk, tipografi ve bosluk verilir. */
.g-woo-page{padding-block:clamp(30px,3.6vw,60px)}
/* Woo blok duzenine (display/grid/flex) dokunmuyoruz; yalnizca tasmayi engelliyoruz. */
.g-woo-page>*{max-width:100%}
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{max-width:100%;margin-left:auto;margin-right:auto}
.g-woo-page .alignfull,.g-woo-page .alignwide{max-width:100%;width:auto;margin-left:auto;margin-right:auto}
.wc-block-components-sidebar-layout{max-width:100%}
.wc-block-components-sidebar-layout .wc-block-components-main,
.wc-block-components-sidebar-layout .wc-block-components-sidebar{min-width:0}
.wc-block-components-sidebar{box-sizing:border-box}
.wc-block-cart,.wc-block-checkout{font-size:1rem}
.wc-block-components-title,.wc-block-cart__submit-container{font-family:var(--g-head)}
.wc-block-components-product-name{font-weight:400;color:var(--g-ink)}
.wc-block-components-totals-item__value,.wc-block-components-product-price{font-weight:500}
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button{
  background:var(--g-accent) !important;color:#fff !important;border-radius:0 !important;
  min-height:54px;font-weight:500;
}
.wc-block-components-button:not(.is-link):hover{background:var(--g-ink) !important}
.wc-block-components-text-input input,.wc-block-components-textarea,.wc-block-components-select__container{border-radius:0}
.wc-block-components-sidebar-layout .wc-block-components-sidebar{background:var(--g-mist)}
.wc-block-components-sidebar-layout .wc-block-components-sidebar>*{padding-left:clamp(16px,2vw,26px);padding-right:clamp(16px,2vw,26px)}
.wc-block-components-order-summary__content,.wc-block-components-totals-wrapper{box-sizing:border-box}
.wc-block-components-panel{border-color:var(--g-line-2)}

/* --- blok sepet / odeme: tipografi, bosluk ve gorsel olcusu --- */
.wc-block-cart-items__row .wc-block-components-product-name{
  font-size:1rem;line-height:1.45;text-transform:none;letter-spacing:0;
}
.wc-block-cart-items__row .wc-block-components-product-name:hover{color:var(--g-accent)}
.wc-block-cart-item__image img{width:96px;max-width:none}
.wc-block-cart-items__row{padding:22px 0}
.wc-block-cart-items th{
  font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--g-muted);
  padding-bottom:14px;border-bottom:1px solid var(--g-line-2);
}
.wc-block-cart-item__wrap .wc-block-components-product-metadata{font-size:.86rem;color:var(--g-muted)}
.wc-block-cart-item__remove-link{color:var(--g-muted);text-decoration:underline;text-underline-offset:3px}
.wc-block-cart-item__remove-link:hover{color:var(--g-accent)}

/* Ozet paneli */
.wc-block-components-sidebar .wc-block-components-title,
.wc-block-components-sidebar .wc-block-cart__totals-title,
.wc-block-components-checkout-order-summary__title{
  font-size:.74rem !important;letter-spacing:.15em;text-transform:uppercase;color:var(--g-muted);
}
.wc-block-components-totals-item{font-size:.94rem;padding:10px 0}
.wc-block-components-totals-footer-item{
  border-top:1px solid var(--g-line-2);padding-top:16px;margin-top:6px;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label{font-size:1.05rem;font-weight:500}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-size:1.35rem;font-weight:500;font-family:var(--g-head)}
.wc-block-components-sidebar-layout .wc-block-components-sidebar{padding-block:clamp(20px,2.4vw,30px)}

/* Odeme sayfasinda ozet yukarida kalsin */
@media(min-width:1000px){
  .wc-block-checkout .wc-block-components-sidebar{position:sticky;top:calc(var(--g-header-h) + 20px);align-self:start}
}

/* Adim basliklari */
.wc-block-components-checkout-step__title{font-family:var(--g-head);font-size:1.2rem;font-weight:400}
.wc-block-components-checkout-step__description{color:var(--g-muted);font-size:.88rem}
.wc-block-checkout__form .wc-block-components-checkout-step{border-bottom:1px solid var(--g-line-2);padding-bottom:26px;margin-bottom:26px}
.wc-block-checkout__form .wc-block-components-checkout-step:last-of-type{border-bottom:0}

/* ============================================================
   Sepet ve odeme: yumusak kart gorunumu
   Sitenin geri kalani keskin kosaeli; burada okunurluk ve guven
   icin gri zemin uzerinde beyaz, yuvarlak kosaeli kartlar kullaniliyor.
   ============================================================ */
body.woocommerce-cart,body.woocommerce-checkout{background:var(--g-mist)}
body.woocommerce-cart .g-page-head,
body.woocommerce-checkout .g-page-head{background:transparent;border-bottom:0;padding-bottom:clamp(18px,2vw,28px)}

.g-woo-page{--g-r:14px;--g-kart-golge:0 1px 2px rgba(22,24,26,.04),0 10px 30px rgba(22,24,26,.055)}

/* ana sutun ve ozet kutusu birer kart.
   Woo blok stilleri bazen bizimkinden sonra basiliyor; kart kimligini
   garanti altina almak icin bu birkac ozellikte !important kullaniliyor. */
.g-woo-page .wc-block-cart .wc-block-cart__main,
.g-woo-page .wc-block-cart .wc-block-cart__sidebar,
.g-woo-page .wc-block-checkout .wc-block-checkout__main,
.g-woo-page .wc-block-checkout .wc-block-checkout__sidebar,
.g-woo-page .wc-block-components-sidebar-layout>.wc-block-components-main,
.g-woo-page .wc-block-components-sidebar-layout>.wc-block-components-sidebar{
  background:#fff !important;border-radius:var(--g-r) !important;box-shadow:var(--g-kart-golge);
  padding:clamp(18px,2.2vw,30px) !important;box-sizing:border-box;
}
.g-woo-page .wc-block-components-sidebar>*{padding-left:0;padding-right:0}

/* Kutular arasi bosluk.
   Woo gutter'i ana sutunun sag ic boslugu olarak veriyor; kart zemini
   olunca iki kart birbirine yapisiyordu. Ic boslugu disari, margin'e
   tasiyip genisligi calc ile dengeliyoruz. */
@media(min-width:782px){
  .g-woo-page .wc-block-components-sidebar-layout>.wc-block-components-main{
    width:calc(65% - 15px);padding-right:clamp(18px,2.2vw,30px) !important;margin-right:30px;
  }
  .g-woo-page .wc-block-components-sidebar-layout>.wc-block-components-sidebar{width:calc(35% - 15px)}
}
@media(max-width:781px){
  .g-woo-page .wc-block-components-sidebar-layout>.wc-block-components-main,
  .g-woo-page .wc-block-components-sidebar-layout>.wc-block-components-sidebar{margin-bottom:18px}
}

/* Kart icinde ikinci kart olusmasin (odeme sayfasi ozet blogu). */
.g-woo-page .wc-block-components-checkout-order-summary{border:0;padding:0;background:none}
.g-woo-page .wc-block-components-checkout-order-summary__title{padding:0;margin-bottom:14px}
.g-woo-page .wc-block-components-checkout-order-summary__title-text,
.g-woo-page .wc-block-components-checkout-order-summary__title button{
  font-size:.74rem !important;letter-spacing:.15em;text-transform:uppercase;
  color:var(--g-muted);font-weight:500;font-family:var(--g-body);
}
.g-woo-page .wc-block-components-order-summary__content{padding:0}

/* Mobilde yapiskan "Odemeye git" seridi kartin disina tasiyordu. */
.g-woo-page .wc-block-cart__submit-container{padding-left:0;padding-right:0}
.g-woo-page .wc-block-cart__submit-container--sticky{
  padding:12px 16px;background:#fff;box-shadow:0 -6px 22px rgba(22,24,26,.1);border-top:1px solid var(--g-line-2);
}

/* sepet satirlari */
.g-woo-page .wc-block-cart-items{border-collapse:separate}
.g-woo-page .wc-block-cart-items__row{border-bottom:1px solid var(--g-line-2)}
.g-woo-page .wc-block-cart-items__row:last-child{border-bottom:0;padding-bottom:0}
.g-woo-page .wc-block-cart-item__image img{border-radius:10px;background:var(--g-mist)}
.g-woo-page .wc-block-cart-items th{border-bottom:1px solid var(--g-line-2)}

/* dugmeler, alanlar ve adet kutusu yuvarlak */
.g-woo-page .wc-block-components-button:not(.is-link),
.g-woo-page .wc-block-cart__submit-button,
.g-woo-page .wc-block-components-checkout-place-order-button{border-radius:10px !important}
.g-woo-page .wc-block-components-text-input input,
.g-woo-page .wc-block-components-textarea,
.g-woo-page .wc-block-components-select__container,
.g-woo-page .wc-block-components-combobox-control input{border-radius:10px}
.g-woo-page .wc-block-components-quantity-selector{border-radius:10px;overflow:hidden}
.g-woo-page .wc-block-components-panel,
.g-woo-page .wc-block-components-radio-control-accordion-option,
.g-woo-page .wc-block-components-radio-control__option{border-radius:10px}
.g-woo-page .wc-block-components-notice-banner{border-radius:10px}

/* odeme adimlari: cizgi yerine yumusak ayrim */
.g-woo-page .wc-block-checkout__form .wc-block-components-checkout-step{
  border-bottom:1px solid var(--g-line-2);padding-bottom:clamp(20px,2.4vw,30px);margin-bottom:clamp(20px,2.4vw,30px);
}

/* Sepet/odeme altina konan guvence seridi */
.g-woo-guven{margin-top:clamp(30px,3.5vw,52px)}
.g-woo-guven .g-trust{border:0;background:transparent;gap:clamp(12px,1.5vw,20px)}
.g-woo-guven .g-trust__i{border-radius:var(--g-r);box-shadow:var(--g-kart-golge);padding:22px}

/* klasik sepet (blok kullanilmiyorsa) */
.woocommerce-cart-form table.shop_table{width:100%;border-collapse:collapse;border:1px solid var(--g-line-2)}
.woocommerce-cart-form th,.woocommerce-cart-form td,.shop_table th,.shop_table td{
  padding:16px 14px;border-bottom:1px solid var(--g-line-2);text-align:left;font-size:.95rem}
.woocommerce-cart-form .product-thumbnail img{width:74px}
.cart_totals{margin-top:28px}
.cart_totals h2,.woocommerce-checkout h3{font-size:1.3rem;margin-bottom:16px}
.woocommerce .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{
  background:var(--g-ink);color:#fff;border:1px solid var(--g-ink);border-radius:0;
  min-height:50px;padding:0 26px;display:inline-flex;align-items:center;justify-content:center;
  font-size:.95rem;font-weight:500;transition:.22s;line-height:1;
}
.woocommerce .button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--g-accent);border-color:var(--g-accent);color:#fff}
.woocommerce .button.alt,.woocommerce button.button.alt,#place_order{background:var(--g-accent);border-color:var(--g-accent)}
.woocommerce .button.alt:hover,#place_order:hover{background:var(--g-ink);border-color:var(--g-ink)}
/* Varyasyon secilmeden once Woo butonu %25 saydam yapiyor; kirmizi beyaz
   uzerinde pembe/mor gorunuyordu. Net bir "pasif" gorunumu veriyoruz. */
.woocommerce .button.disabled,.woocommerce button.button:disabled,
.woocommerce button.button.disabled,.woocommerce button.button:disabled[disabled]{
  opacity:1;background:var(--g-line);border-color:var(--g-line);color:var(--g-muted);cursor:not-allowed;
}
.woocommerce .button.disabled:hover,.woocommerce button.button:disabled:hover{background:var(--g-line);border-color:var(--g-line);color:var(--g-muted)}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,
.select2-container--default .select2-selection--single{
  width:100%;min-height:50px;padding:12px 14px;border:1px solid var(--g-line);border-radius:0;background:#fff}
.woocommerce form .form-row label{font-size:.86rem;color:var(--g-muted);margin-bottom:6px;display:block}

/* Klasik sepet tablosu mobilde satir satir yigilir (smallscreen.css devre disi). */
@media(max-width:600px){
  .shop_table thead{display:none}
  .shop_table tr{display:block;border-bottom:1px solid var(--g-line);padding:10px 0}
  .shop_table td{display:flex;justify-content:space-between;gap:14px;border:0;padding:7px 0}
  .shop_table td::before{content:attr(data-title);font-weight:500;color:var(--g-muted)}
  .shop_table td.product-remove::before,.shop_table td.actions::before{content:none}
}

/* Adres sayfasi vb. iki sutunlu bloklar (woocommerce-layout.css devre disi). */
.col2-set{display:grid;grid-template-columns:1fr;gap:28px}
@media(min-width:760px){.col2-set{grid-template-columns:1fr 1fr;gap:38px}}
.col2-set .col-1,.col2-set .col-2{width:auto;float:none}

/* ---------- hesabim ---------- */
/* Woo, .woocommerce icine once bos bir .woocommerce-notices-wrapper basiyor.
   Grid'de bu bos div ilk hucreyi kapip menuyu saga, icerigi alt satira
   itiyordu; bu yuzden sutunlari acikca atiyoruz. */
.woocommerce-account .woocommerce{display:grid;grid-template-columns:1fr;gap:30px}
.woocommerce-account .woocommerce>.woocommerce-notices-wrapper{grid-column:1/-1}

@media(min-width:920px){
  .woocommerce-account.logged-in .woocommerce{grid-template-columns:250px minmax(0,1fr);gap:clamp(32px,4vw,56px);align-items:start}
  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation{grid-column:1}
  .woocommerce-account.logged-in .woocommerce-MyAccount-content{grid-column:2}
}

.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;border:1px solid var(--g-line-2)}
.woocommerce-MyAccount-navigation li{border-bottom:1px solid var(--g-line-2)}
.woocommerce-MyAccount-navigation li:last-child{border-bottom:0}
.woocommerce-MyAccount-navigation a{display:block;padding:14px 18px;font-size:.94rem;color:var(--g-ink);transition:.2s}
.woocommerce-MyAccount-navigation a:hover{background:var(--g-mist)}
.woocommerce-MyAccount-navigation li.is-active a{background:var(--g-mist);font-weight:500;box-shadow:inset 3px 0 0 var(--g-accent)}
.woocommerce-MyAccount-content>p:first-child{margin-top:0}
.woocommerce-MyAccount-content .woocommerce-Address{border:1px solid var(--g-line-2);padding:22px}
.woocommerce-MyAccount-content .woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.woocommerce-MyAccount-content .woocommerce-Address-title h2,
.woocommerce-MyAccount-content .woocommerce-Address-title h3{font-size:1.05rem;margin:0}

/* ---------- giris / kayit ---------- */
.g-auth{width:100%;max-width:1040px;margin:0 auto;display:grid;grid-template-columns:1fr;gap:clamp(20px,3vw,36px)}
.g-auth:not(.g-auth--iki){max-width:520px}
@media(min-width:860px){.g-auth--iki{grid-template-columns:1fr 1fr}}
.g-auth__kart{border:1px solid var(--g-line-2);padding:clamp(24px,3vw,40px)}

/* WooCommerce form.login / form.register'a kendi cercevesini, ic bosluguyla
   yuvarlak kosesini ve butona float veriyor: kart icinde ikinci bir kutu
   olusuyor ve buton kutunun disina tasiyordu. */
.woocommerce .g-auth form.login,
.woocommerce .g-auth form.register,
.woocommerce-page .g-auth form.login,
.woocommerce-page .g-auth form.register{
  border:0;padding:0;margin:0;border-radius:0;background:none;overflow:visible;
}
.g-auth form::before,.g-auth form::after,
.g-auth .form-row::before,.g-auth .form-row::after{content:none !important}
.g-auth form>*:empty:not(input):not(button):not(br){display:none !important}
.g-auth input[type=hidden]{display:none !important}
.woocommerce .g-auth button.button,
.woocommerce .g-auth .button,
.woocommerce-page .g-auth button.button{width:100%;float:none;margin:0;min-height:52px}
.g-auth__kart h2{font-size:1.35rem;font-weight:400;margin:0 0 8px;letter-spacing:-.01em}
.g-auth__not{color:var(--g-muted);font-size:.9rem;line-height:1.55;margin:0 0 22px}
.g-auth .g-alan{margin:0 0 16px}
.g-auth label{display:block;font-size:.86rem;color:var(--g-muted);margin-bottom:6px}
.g-auth .required{color:var(--g-accent);text-decoration:none}
.g-auth input[type=text],.g-auth input[type=email],.g-auth input[type=password]{
  width:100%;min-height:50px;padding:12px 14px;border:1px solid var(--g-line);border-radius:0;background:#fff;
}
.g-auth input[type=text]:focus,.g-auth input[type=email]:focus,.g-auth input[type=password]:focus{outline:none;border-color:var(--g-ink)}
.g-auth__satir{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:18px 0 22px}
.g-auth__hatirla{display:flex;align-items:center;gap:9px;margin:0;font-size:.88rem;color:var(--g-ink)}
.g-auth__hatirla input[type=checkbox]{width:16px;height:16px;min-height:0;margin:0;accent-color:var(--g-ink)}
.g-auth__unuttum{font-size:.88rem;color:var(--g-muted);text-decoration:underline;text-underline-offset:3px}
.g-auth__unuttum:hover{color:var(--g-ink)}
.g-auth__kvkk{font-size:.82rem;color:var(--g-muted);line-height:1.55;margin-bottom:20px}
.g-auth__kvkk p{margin:0}
.woocommerce .g-auth button.button,.woocommerce .g-auth .button{width:100%}
.g-auth .woocommerce-privacy-policy-text{font-size:.82rem;color:var(--g-muted)}

/* parolami unuttum formu */
.woocommerce-ResetPassword{max-width:520px;margin:0 auto;border:1px solid var(--g-line-2);padding:clamp(24px,3vw,40px)}
.woocommerce-ResetPassword .form-row{margin-bottom:16px}

/* siralama/sonuc sayaci gizli (araclar cubugunda gosteriliyor) */
.woocommerce-result-count{display:none}
.woocommerce-breadcrumb{display:none}
