/* baskıyabak tema: WooCommerce sayfaları (mağaza, kategori, ürün, sepet, ödeme, hesabım) */

.bb-woo{padding-bottom:20px}
.bb-woo-body{margin-top:clamp(24px,3vw,40px)}

/* ---------- kategori / mağaza başlığı (taslak: kategori.html) ---------- */
.cat-hero{position:relative;background:var(--y);color:var(--k);border-radius:var(--r-lg);overflow:hidden;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:24px;padding:clamp(28px,4vw,56px);isolation:isolate}
.cat-hero::before{content:"";position:absolute;inset:0;z-index:-1;background-image:radial-gradient(circle,rgba(26,26,26,.14) 1.4px,transparent 1.7px);background-size:20px 20px}
.cat-hero .eyebrow{color:var(--k)}
.cat-hero h1{font-size:clamp(44px,7vw,104px);font-weight:800;letter-spacing:-.055em;line-height:.92;margin-top:12px}
.cat-hero .cat-desc{margin-top:16px;max-width:46ch;font-size:17px;color:#3A3A34}
.cat-hero .cat-desc p+p{margin-top:.6em}
.facts{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}
.facts span{display:inline-flex;align-items:center;gap:8px;background:var(--k);color:var(--w);border-radius:999px;padding:8px 14px;font-size:13px;font-weight:600}
.facts span b{color:var(--y)}
.cat-art{position:relative;min-height:240px;display:flex;align-items:center;justify-content:center}
.cat-art .stack{width:min(420px,100%);animation:flt 6s ease-in-out infinite}
.cat-art .stack svg{width:100%;height:auto;display:block;overflow:visible}
.cat-art .mc{position:absolute;left:4%;top:4%;width:22%;animation:flt 5s ease-in-out infinite reverse}
.cat-art .mc svg{width:100%;display:block;filter:drop-shadow(0 10px 12px rgba(0,0,0,.22))}
.cat-art .ghost{position:absolute;right:-2%;bottom:-14%;font-family:var(--display);font-weight:800;font-size:clamp(70px,10vw,150px);letter-spacing:-.06em;color:transparent;-webkit-text-stroke:2px rgba(26,26,26,.16);z-index:-1;line-height:.8}
@keyframes flt{50%{transform:translateY(-12px) rotate(-1.5deg)}}
@media (max-width:820px){.cat-hero{grid-template-columns:1fr}.cat-art{min-height:200px}}

/* ---------- genel WooCommerce öğeleri ---------- */
.woocommerce .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,
.woocommerce #respond input#submit,.woocommerce button.button.alt,.woocommerce a.button.alt{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border:0;border-radius:999px;padding:0 24px;
  background:var(--fg);color:var(--bg);font-family:var(--body);font-weight:600;font-size:15px;line-height:1.2;text-decoration:none;
  transition:transform .2s var(--ease),box-shadow .3s,background .2s}
.woocommerce .button:hover,.woocommerce button.button:hover,.woocommerce a.button:hover,.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover{background:var(--fg);color:var(--bg);box-shadow:0 14px 30px -12px rgba(0,0,0,.55)}
.woocommerce .button:active{transform:scale(.97)}
.woocommerce button.button.alt,.woocommerce a.button.alt,.woocommerce .single_add_to_cart_button{background:var(--y)!important;color:var(--k)!important}
.woocommerce button.button.alt:hover,.woocommerce .single_add_to_cart_button:hover{box-shadow:0 14px 30px -12px rgba(255,200,0,.8)}
.woocommerce .button.disabled,.woocommerce .button:disabled,.woocommerce button.button.alt.disabled{opacity:.45}
.woocommerce a.added_to_cart{display:inline-flex;align-items:center;min-height:40px;margin-left:10px;font-weight:600;font-size:14px;text-underline-offset:3px}

.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,
.woocommerce .quantity .qty,.woocommerce table.variations select,.woocommerce-ordering select,.woocommerce .woocommerce-input-wrapper input{
  min-height:52px;border:1.5px solid var(--line);border-radius:14px;background:var(--card);color:var(--fg);font:inherit;font-size:15px;padding:0 16px;outline:none;transition:border-color .2s,box-shadow .2s}
.woocommerce form .form-row textarea{padding:14px 16px;min-height:110px}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row select:focus,.woocommerce table.variations select:focus,.woocommerce .quantity .qty:focus{border-color:var(--fg);box-shadow:0 0 0 4px color-mix(in srgb,var(--c) 22%,transparent)}
.woocommerce form .form-row label{font-size:13px;font-weight:600;line-height:1.6}
.woocommerce .quantity .qty{width:88px;text-align:center;padding:0 8px}

.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-noreviews,p.no-comments{
  border:0;border-radius:var(--r-md);background:var(--panel);color:var(--fg);padding:18px 22px 18px 56px;font-size:15px;list-style:none;margin:0 0 24px}
.woocommerce-message{box-shadow:inset 4px 0 0 var(--ok)}
.woocommerce-info{box-shadow:inset 4px 0 0 var(--c)}
.woocommerce-error{box-shadow:inset 4px 0 0 var(--err)}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{content:"";font-family:inherit;width:12px;height:12px;border-radius:50%;background:currentColor;left:26px;top:50%;transform:translateY(-50%)}
.woocommerce-message::before{color:var(--ok)}.woocommerce-info::before{color:var(--c)}.woocommerce-error::before{color:var(--err)}

/* ürün bulunamadı */
.bb-empty{margin-top:8px}
.bb-empty .ctas{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.bb-empty .bb-wa-btn{background:#25D366;color:#fff}
.bb-empty .bb-wa-btn svg{width:20px;height:20px}
.woocommerce-message .button,.woocommerce-info .button{min-height:40px;padding:0 18px;font-size:14px}

.woocommerce span.onsale{min-height:0;min-width:0;line-height:1;top:14px;left:14px;right:auto;margin:0;padding:6px 11px;border-radius:999px;background:var(--m);color:var(--w);font-family:var(--display);font-size:11px;font-weight:700;letter-spacing:.5px;z-index:3}

.woocommerce .star-rating{color:#F5A400}
.woocommerce .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--fg)}
.woocommerce .price del{color:var(--muted);opacity:1;font-size:.7em;font-weight:500}
.woocommerce .price ins{text-decoration:none}

/* ---------- liste: sıralama ve sonuç sayısı ---------- */
.woocommerce .woocommerce-result-count{margin:0 0 20px;font-size:15px;color:var(--muted);line-height:52px}
.woocommerce .woocommerce-ordering{margin:0 0 20px}
.woocommerce-ordering select{appearance:none;min-width:220px;padding-right:40px;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 22px) 50%,calc(100% - 16px) 50%;background-size:6px 6px;background-repeat:no-repeat}

/* ---------- ürün kartları ---------- */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:28px 20px;margin:0 0 40px;padding:0;clear:both}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{position:relative;width:auto!important;margin:0!important;float:none!important;padding:0;display:flex;flex-direction:column;gap:10px;min-width:0}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;gap:10px;text-decoration:none;color:var(--fg)}
.woocommerce ul.products li.product a img{margin:0;width:100%;aspect-ratio:1/1.02;object-fit:cover;border-radius:var(--r-md);background:var(--panel);transition:transform .25s var(--ease),box-shadow .3s}
.woocommerce ul.products li.product:hover a img{transform:translateY(-4px);box-shadow:0 26px 40px -28px rgba(0,0,0,.45)}
.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product h3{font-family:var(--body);font-size:16px;font-weight:600;padding:0;margin:0;line-height:1.35}
.woocommerce ul.products li.product .price{font-family:var(--display);font-size:20px;font-weight:800;letter-spacing:-.02em;margin:0;font-variant-numeric:tabular-nums}
.woocommerce ul.products li.product .star-rating{margin:0;font-size:12px}
.woocommerce ul.products li.product .button{margin-top:auto;align-self:flex-start;min-height:44px;padding:0 18px;font-size:14px}
.woocommerce ul.products li.product .button::before{content:"+";font-size:18px;line-height:1;font-weight:700}
.woocommerce ul.products li.product .button.loading{opacity:.6}
.woocommerce ul.products li.product .button.loading::after{display:none}
ul.products li.product-category a{text-decoration:none}
ul.products li.product-category h2{font-size:18px!important;padding:8px 0 0!important}
ul.products li.product-category mark{background:none;color:var(--muted);font-weight:500}

/* ---------- sayfalama ---------- */
.woocommerce nav.woocommerce-pagination ul{border:0;display:inline-flex;gap:6px}
.woocommerce nav.woocommerce-pagination ul li{border:0}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:var(--panel);font-weight:600}
.woocommerce nav.woocommerce-pagination ul li span.current,.woocommerce nav.woocommerce-pagination ul li a:hover{background:var(--fg);color:var(--bg)}

/* ---------- ürün sayfası ---------- */
/* görsel + satın alma alanı ayrı bir kutuda: yapışkan görsel sekmelerin üstüne taşmasın */
.woocommerce div.product{position:relative}
.bb-pd{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(28px,4vw,64px);align-items:start}
.bb-pd::before,.bb-pd::after{display:none}
.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none!important;width:auto!important;margin:0!important}
.woocommerce div.product div.images{position:sticky;top:120px}
.woocommerce div.product div.images img{border-radius:var(--r-lg);background:var(--panel)}
.woocommerce div.product div.images .flex-control-thumbs{display:flex;gap:10px;margin-top:12px}
.woocommerce div.product div.images .flex-control-thumbs li{width:76px!important;float:none!important}
.woocommerce div.product div.images .flex-control-thumbs li img{border-radius:12px;opacity:.55}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,.woocommerce div.product div.images .flex-control-thumbs li img:hover{opacity:1}
.woocommerce div.product .woocommerce-tabs,.woocommerce div.product .related,.woocommerce div.product .upsells{grid-column:1/-1}
@media (max-width:900px){
  .bb-pd{grid-template-columns:minmax(0,1fr)}
  /* static değil relative: sahnenin ızgara deseni ve maskotu kutunun içinde kalsın (static olunca tüm alana yayılıyordu) */
  .woocommerce div.product div.images{position:relative;top:auto}
}
.woocommerce div.product .product_title{font-size:clamp(34px,4.4vw,60px);font-weight:800;letter-spacing:-.045em;line-height:1}
.woocommerce div.product p.price,.woocommerce div.product span.price{font-family:var(--display);font-size:clamp(30px,3vw,40px);font-weight:800;letter-spacing:-.03em;margin:18px 0;font-variant-numeric:tabular-nums}
.woocommerce div.product .woocommerce-product-details__short-description{color:var(--muted);font-size:16px;margin-bottom:22px}
.woocommerce div.product .woocommerce-product-rating{margin:14px 0 0;display:flex;align-items:center;gap:10px;font-size:14px}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch;margin:0 0 20px;padding:22px;border-radius:var(--r-md);background:var(--panel)}
.woocommerce div.product form.cart::before,.woocommerce div.product form.cart::after{display:none}
.woocommerce div.product form.cart .quantity{margin:0!important;float:none}
.woocommerce div.product form.cart .button{float:none;flex:1;min-height:56px;font-size:16px}
.woocommerce div.product form.cart.variations_form{display:block}
.woocommerce div.product form.cart .variations{margin:0 0 8px;border:0;width:100%}
.woocommerce div.product form.cart .variations tr{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.woocommerce div.product form.cart .variations th,.woocommerce div.product form.cart .variations td{display:block;padding:0;text-align:left;line-height:1.4}
.woocommerce div.product form.cart .variations label{font-size:12px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:var(--muted)}
.woocommerce div.product form.cart .variations select{width:100%;max-width:none;margin:0;appearance:none;padding-right:40px;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 22px) 50%,calc(100% - 16px) 50%;background-size:6px 6px;background-repeat:no-repeat}
.woocommerce div.product form.cart .reset_variations{font-size:13px;font-weight:600;margin-top:6px;display:inline-block}
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-add-to-cart{display:flex;gap:12px;flex-wrap:wrap}
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-price .price{font-size:32px;margin:4px 0 14px}
.woocommerce div.product .product_meta{font-size:13px;color:var(--muted);display:flex;flex-direction:column;gap:4px;border-top:1px solid var(--line);padding-top:16px}
.woocommerce div.product .product_meta a{color:var(--fg)}

.bb-wa-inline{display:flex;align-items:center;gap:12px;min-height:56px;border-radius:var(--r-md);padding:10px 18px;margin:0 0 20px;background:color-mix(in srgb,#25D366 12%,var(--bg));color:var(--fg);text-decoration:none;font-weight:600;box-shadow:inset 0 0 0 1.5px color-mix(in srgb,#25D366 45%,transparent);transition:box-shadow .2s}
.bb-wa-inline:hover{box-shadow:inset 0 0 0 2px #25D366}
.bb-wa-inline svg{width:28px;height:28px;color:#1DA851;flex:none}

/* sekmeler */
.woocommerce div.product .woocommerce-tabs{margin-top:clamp(40px,5vw,72px)}
.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;gap:4px;flex-wrap:wrap;padding:4px;margin:0 0 28px;background:var(--panel);border-radius:999px;width:fit-content;max-width:100%;overflow:visible}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.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 ul.tabs li{border:0;background:transparent;border-radius:999px;margin:0;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{display:flex;align-items:center;min-height:44px;padding:0 18px;font-weight:600;font-size:14px;color:var(--fg)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--fg)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--bg)}
.woocommerce div.product .woocommerce-tabs .panel{font-size:16px;line-height:1.7;max-width:78ch}
.woocommerce div.product .woocommerce-tabs .panel h2{font-size:26px;margin-bottom:14px}
/* sekmeler: telefonda tek satır, yana kaydırılır (genel sekme kurallarından SONRA durmalı) */
@media (max-width:900px){
  .woocommerce div.product .woocommerce-tabs ul.tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;width:auto;-webkit-overflow-scrolling:touch}
  .woocommerce div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar{display:none}
  .woocommerce div.product .woocommerce-tabs ul.tabs li{flex:none}
  .woocommerce div.product .woocommerce-tabs ul.tabs li a{white-space:nowrap}
}
.woocommerce table.shop_attributes{border:0;border-radius:var(--r-md);overflow:hidden;background:var(--panel)}
.woocommerce table.shop_attributes th,.woocommerce table.shop_attributes td{border:0;border-bottom:1px solid var(--line);padding:14px 18px;font-style:normal;background:transparent}
.woocommerce table.shop_attributes th{width:200px;font-weight:700}
.woocommerce table.shop_attributes tr:last-child th,.woocommerce table.shop_attributes tr:last-child td{border-bottom:0}
.woocommerce .related>h2,.woocommerce .upsells>h2{font-size:clamp(28px,3vw,40px);font-weight:800;letter-spacing:-.04em;margin:clamp(48px,6vw,88px) 0 24px}

/* yorumlar */
.woocommerce #reviews #comments ol.commentlist li .comment-text{border:0;border-radius:var(--r-md);background:var(--panel)}
.woocommerce #reviews #comments ol.commentlist li img.avatar{border:0;border-radius:12px;background:var(--y)}

/* ---------- sepet ve ödeme (blok) ---------- */
.wc-block-cart,.wc-block-checkout{font-family:var(--body)}
.wc-block-components-button:not(.is-link),.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{
  min-height:56px!important;border-radius:999px!important;background:var(--y)!important;color:var(--k)!important;font-weight:700!important;border:0!important;box-shadow:none}
.wc-block-components-button:not(.is-link):hover{box-shadow:0 14px 30px -12px rgba(255,200,0,.8)!important}
.wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input,.wc-blocks-components-select__select,.wc-block-components-textarea{border-radius:14px!important}
.wc-block-components-totals-wrapper,.wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block,.wp-block-woocommerce-checkout-order-summary-block{border-radius:var(--r-md)}
.wp-block-woocommerce-cart-order-summary-block,.wp-block-woocommerce-checkout-order-summary-block{background:var(--panel);border-radius:var(--r-md);padding:8px 4px}
.wc-block-components-product-name{font-weight:700;text-decoration:none}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,.wc-block-components-totals-footer-item .wc-block-components-totals-item__label{font-family:var(--display);font-weight:800;font-size:22px}
.wc-block-components-radio-control__option-checked,.wc-block-components-radio-control-accordion-option--checked-option-highlighted{box-shadow:inset 0 0 0 2px var(--fg)!important;border-radius:14px}
.wc-block-cart .wc-block-cart__empty-cart__title{font-family:var(--display)}
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link{border-radius:999px;background:var(--fg);color:var(--bg)}

/* klasik sepet/ödeme (blok kullanılmıyorsa) */
.woocommerce table.shop_table{border:0;border-radius:var(--r-md);background:var(--panel);overflow:hidden;border-collapse:separate}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-top:1px solid var(--line);padding:14px 16px}
.woocommerce table.shop_table thead th{border-top:0;font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}
.woocommerce-cart table.cart img{width:72px;border-radius:12px}
.woocommerce-checkout #payment{background:var(--panel);border-radius:var(--r-md)}

/* ---------- hesabım ---------- */
.woocommerce-account .woocommerce{display:grid;grid-template-columns:240px minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:start}
.woocommerce-account .woocommerce::before,.woocommerce-account .woocommerce::after{display:none}
.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{float:none;width:auto}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:8px;background:var(--panel);border-radius:var(--r-md);display:flex;flex-direction:column;gap:2px}
.woocommerce-MyAccount-navigation a{display:flex;align-items:center;min-height:44px;padding:0 14px;border-radius:12px;text-decoration:none;font-weight:600;font-size:14px}
.woocommerce-MyAccount-navigation a:hover{background:var(--card)}
.woocommerce-MyAccount-navigation li.is-active a{background:var(--fg);color:var(--bg)}
.woocommerce-account:not(.logged-in) .woocommerce{display:block}
.woocommerce-account #customer_login{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.woocommerce-account #customer_login::before,.woocommerce-account #customer_login::after{display:none}
.woocommerce-account #customer_login .u-column1,.woocommerce-account #customer_login .u-column2{float:none;width:auto;background:var(--panel);border-radius:var(--r-md);padding:clamp(20px,3vw,32px)}
.woocommerce form.login,.woocommerce form.register{border:0;margin:0;padding:0}
@media (max-width:800px){
  .woocommerce-account .woocommerce{grid-template-columns:minmax(0,1fr)}
  .woocommerce-MyAccount-navigation ul{flex-direction:row;overflow-x:auto;scrollbar-width:none}
  .woocommerce-MyAccount-navigation a{white-space:nowrap}
  .woocommerce-account #customer_login{grid-template-columns:minmax(0,1fr)}
}

/* ---------- ürün sayfası: seçim arayüzü (v1.1, taslak: urun.html) ---------- */
.bb-urun div.product form.cart{background:none;padding:0;border-radius:0;margin:8px 0 18px;display:flex;flex-direction:column;gap:0}
.bb-urun div.product form.cart>*{width:100%}
.bb-urun div.product p.price{margin:14px 0 6px}
.bb-from{display:inline-flex;align-items:baseline;gap:8px}
.bb-from small{font-family:var(--body);font-size:14px;font-weight:600;letter-spacing:0;color:var(--muted)}
ul.products .bb-from small{font-size:12px}

/* görsel yoksa çizimli sahne */
.bb-stage{position:relative;aspect-ratio:1/.92;background:var(--panel);border-radius:var(--r-lg);overflow:hidden;display:flex;align-items:center;justify-content:center;isolation:isolate}
.bb-stage::before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:28px 28px;opacity:.6}
.bb-stage-tag{position:absolute;left:18px;top:16px;font-family:ui-monospace,Consolas,monospace;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}
.bb-stage-art{width:68%;animation:flt 6s ease-in-out infinite}
.bb-stage-art svg{width:100%;height:auto;display:block;overflow:visible}
.bb-stage-mc{position:absolute;right:7%;bottom:8%;width:16%;animation:flt 5s ease-in-out infinite reverse}
.bb-stage-mc svg{width:100%;display:block;filter:drop-shadow(0 10px 12px rgba(0,0,0,.2))}

/* seçenek grupları */
.bb-urun div.product form.cart table.variations.bb-enh{margin:0}
.bb-urun table.variations.bb-enh tr{display:flex;flex-direction:column;gap:10px;margin:0;padding:20px 0;border-top:1px solid var(--line)}
.bb-urun table.variations.bb-enh th,.bb-urun table.variations.bb-enh td{display:block;padding:0;position:relative}
.bb-urun table.variations.bb-enh th label{font-size:14px;font-weight:700;letter-spacing:0;text-transform:none;color:var(--fg)}
.bb-urun table.variations.bb-enh .bb-val{font-size:13px;font-weight:500;color:var(--muted);margin-left:6px}
.bb-urun table.variations.bb-enh select{position:absolute!important;left:0;top:0;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;opacity:0;pointer-events:none}
.bb-urun table.variations.bb-enh .reset_variations{display:none!important}
.opt.is-off span{opacity:.4;cursor:not-allowed;text-decoration:line-through}
.opt.is-off span:hover{border-color:var(--line)}

.qtbl{border:1.5px solid var(--line);border-radius:var(--r-sm);overflow:hidden}
.qrow{display:grid;grid-template-columns:28px 1fr auto auto;gap:14px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--line);cursor:pointer;font-variant-numeric:tabular-nums;transition:background .2s}
.qrow:last-child{border-bottom:0}
.qrow:hover{background:var(--panel)}
.qrow input{appearance:none;width:20px;height:20px;border-radius:50%;border:1.5px solid var(--muted);margin:0;display:grid;place-items:center}
.qrow input::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--k);transform:scale(0);transition:transform .2s var(--spring)}
.qrow input:checked{border-color:var(--k);background:var(--y)}
.qrow input:checked::after{transform:scale(1)}
.qrow input:focus-visible{outline:3px solid var(--c);outline-offset:2px}
.qrow:has(input:checked){background:var(--panel)}
.qrow.is-off{opacity:.4;cursor:not-allowed}
.qrow .q{font-weight:700}
.qrow .u{font-size:13px;color:var(--muted)}
.qrow .t{font-family:var(--display);font-weight:800;font-size:16px;min-width:84px;text-align:right}
.qrow .sv{display:inline-block;margin-left:8px;font-size:11px;font-weight:700;color:var(--ok);background:color-mix(in srgb,var(--ok) 14%,transparent);border-radius:999px;padding:2px 8px}
@media (max-width:520px){.qrow{grid-template-columns:24px 1fr auto;gap:10px}.qrow .u{display:none}}

.bb-grp{display:flex;flex-direction:column;gap:10px;border-top:1px solid var(--line);padding:20px 0}
.bb-lb{font-size:14px;font-weight:700}
.bb-note{font-size:13px;color:var(--muted);margin:0;max-width:60ch}
.bb-toggle{display:inline-flex;align-items:center;gap:12px;font-size:14px;font-weight:600;cursor:pointer;user-select:none;min-height:44px;position:relative}
.bb-toggle input{position:absolute;opacity:0;pointer-events:none}
.bb-toggle .sw{width:48px;height:28px;border-radius:999px;background:var(--line);position:relative;transition:background .25s;flex:none}
.bb-toggle .sw::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:var(--w);box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .35s var(--spring)}
.bb-toggle input:checked+.sw{background:var(--m)}
.bb-toggle input:checked+.sw::after{transform:translateX(20px)}
.bb-toggle input:focus-visible+.sw{outline:3px solid var(--c);outline-offset:2px}
.bb-toggle small{display:block;font-weight:400;color:var(--muted);font-size:12px}

/* fiyat kutusu */
.bb-urun .single_variation_wrap .woocommerce-variation-price{display:none}
.bb-urun .single_variation_wrap .woocommerce-variation-description{font-size:14px;color:var(--muted);margin-bottom:12px}
.bb-urun .single_variation_wrap .woocommerce-variation-add-to-cart{display:flex;flex-direction:column;gap:0}
.bb-sum{position:relative;background:var(--ink);color:var(--ink-fg);border-radius:var(--r-md);padding:22px;display:flex;flex-direction:column;gap:16px;margin-top:6px}
.bb-sum .row1{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap}
.bb-sum small{display:block;font-size:12px;color:var(--ink-muted);font-variant-numeric:tabular-nums}
.bb-sum .big{display:block;font-family:var(--display);font-size:clamp(36px,4vw,48px);font-weight:800;letter-spacing:-.04em;line-height:1.05;font-variant-numeric:tabular-nums;margin:2px 0 4px}
.bb-sum .eta{display:flex;align-items:center;gap:8px;font-size:14px}
.bb-sum .eta b{color:var(--y)}
.bb-sum .eta svg{width:18px;height:18px;flex:none}
.bb-sum .btns{display:flex;gap:10px;align-items:stretch}
.bb-sum .btns .quantity{margin:0!important}
.bb-sum .btns .quantity .qty{background:var(--w);color:#1A1A1A;border-color:transparent;min-height:56px}
.woocommerce.bb-urun div.product form.cart .bb-sum .button{flex:1;margin:0}
.bb-adetli .bb-sum .quantity{display:none!important}

.bb-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;font-size:12px;color:var(--muted);margin:0 0 16px}
.bb-trust span{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;background:var(--panel);border-radius:var(--r-sm);padding:12px 8px}
.bb-trust svg{width:20px;height:20px;color:var(--fg)}

/* sekme içerikleri */
.bb-list{display:flex;flex-direction:column;gap:8px;padding-left:20px;color:var(--muted);margin:16px 0 0}
.woocommerce div.product .woocommerce-tabs .panel table.shop_attributes{max-width:560px}

/* mobil alt çubuk */
.bb-mbar{position:fixed;left:0;right:0;bottom:0;z-index:80;background:var(--bg);border-top:1px solid var(--line);padding:12px max(16px,env(safe-area-inset-right,0px)) calc(12px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));display:none;align-items:center;justify-content:space-between;gap:12px;transform:translateY(110%);transition:transform .35s var(--ease)}
.bb-mbar.on{transform:none}
.bb-mbar b{font-family:var(--display);font-size:22px;font-weight:800;font-variant-numeric:tabular-nums;display:block;line-height:1}
.bb-mbar small{font-size:12px;color:var(--muted)}
@media (max-width:900px){.bb-mbar{display:flex}.bb-urun .bb-wa{bottom:calc(88px + env(safe-area-inset-bottom,0px))}}

/* v1.1.1: seçenek yazıları büyük harf olmasın, adetli ürün sepette tek satır */
.woocommerce.bb-urun div.product form.cart .variations.bb-enh th label{font-size:14px;font-weight:700;letter-spacing:0;text-transform:none;color:var(--fg)}
.woocommerce.bb-urun div.product form.cart .variations.bb-enh td label{font-size:15px;font-weight:inherit;letter-spacing:0;text-transform:none;color:var(--fg);line-height:1.3}
.woocommerce.bb-urun div.product form.cart .variations.bb-enh td .opt span{font-size:14px}

/* Sık sorulan sorular ve özellik tablosu (inc/seo.php) */
.bb-sss{display:grid;gap:10px;margin-top:12px}
.bb-sss details{border:1px solid var(--line);border-radius:var(--r-sm);background:var(--card);overflow:hidden}
.bb-sss summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px}
.bb-sss summary::-webkit-details-marker{display:none}
.bb-sss summary::after{content:'+';flex:none;width:28px;height:28px;border-radius:50%;background:var(--panel);display:grid;place-items:center;font-weight:600;transition:transform .3s var(--ease)}
.bb-sss details[open] summary::after{content:'\2212';background:var(--y)}
.bb-sss summary h3{margin:0;font-family:var(--display);font-size:16px;font-weight:600;line-height:1.4}
.bb-sss-c{padding:0 20px 16px;color:var(--muted);line-height:1.65}
.bb-sss-c p{margin:0 0 8px}
.bb-kat-sss{margin:clamp(40px,6vw,72px) 0 0;max-width:860px}
.bb-kat-sss h2{font-family:var(--display);font-size:clamp(22px,3vw,30px);margin:0 0 8px}
@media (prefers-reduced-motion:reduce){.bb-sss summary::after{transition:none}}

/* Tek değerli seçenek (kilitli) ve şekilli seçim kartları */
.opt-kilit{flex:1 1 100%;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:10px 16px;border:1.5px solid var(--line);border-radius:14px;background:var(--panel);font-size:14px;font-weight:600;color:var(--fg)}
.opt-kilit svg{flex:none;color:var(--muted)}
.opts.opts-sekil{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}
.opt-sekil span{position:relative;align-items:center;text-align:center;gap:8px;min-height:104px;padding:14px 10px 12px}
.opt-ikon{width:44px;height:44px;display:grid;place-items:center;color:var(--fg);font-style:normal}
.opt-ikon svg,.opt-ikon img{width:100%;height:100%;object-fit:contain}
.opt-sekil input:checked+span{background:var(--card)}
.opt-sekil input:checked+span::after{content:"";position:absolute;right:12px;bottom:12px;width:12px;height:6px;border-left:2px solid var(--fg);border-bottom:2px solid var(--fg);transform:rotate(-45deg)}

/* v1.6.7: görsel yukarıdan başlasın, seçenekler arası çizgi yok, kilitliler yan yana, indirimli fiyat alt alta */
/* WooCommerce görsel kutusunu "relative" yapıyordu; top:120px de kutuyu aşağı itiyordu. Yapışkanlık bizden. */
.woocommerce div.product div.images.woocommerce-product-gallery{position:sticky;top:120px}
@media (max-width:900px){.woocommerce div.product div.images.woocommerce-product-gallery{position:relative;top:auto}}
.bb-urun table.variations.bb-enh tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}
.bb-urun table.variations.bb-enh tr{grid-column:1/-1;border-top:0;padding:10px 0;gap:8px}
.bb-urun table.variations.bb-enh tr:has(.opt-kilit){grid-column:auto;gap:6px}
.bb-urun table.variations.bb-enh tr:has(.opt-kilit) th label{font-size:13px;font-weight:600;color:var(--muted)}
.bb-urun .opt-kilit{min-height:42px;padding:8px 14px}
.bb-grp{border-top:0;padding:12px 0}
@media (max-width:420px){.bb-urun table.variations.bb-enh tbody{grid-template-columns:minmax(0,1fr)}}
.woocommerce.bb-urun div.product p.price:has(del){display:flex;flex-direction:column;align-items:flex-start;gap:2px;line-height:1.05}
.woocommerce.bb-urun div.product p.price del{font-size:18px;font-weight:600;letter-spacing:0}
.woocommerce.bb-urun div.product p.price:has(del){margin-bottom:16px}
.woocommerce.bb-urun div.product form.cart .variations.bb-enh tr{margin:0;padding:8px 0}

/* Kendin tasarla (inc/tasarla.php, assets/js/tasarla-urun.js) */
.bb-ed-bos{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px 18px;border-radius:var(--r-sm);background:var(--panel)}
.bb-ed-bos p{margin:0;font-size:14px;color:var(--muted);flex:1 1 220px}
.bb-ed-hazir{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:14px;border-radius:var(--r-sm);border:1.5px solid var(--fg);background:var(--card)}
.bb-ed-on{display:flex;gap:8px}
.bb-ed-on img{width:110px;height:auto;border-radius:4px;box-shadow:0 8px 18px -10px rgba(0,0,0,.45);background:#fff}
.bb-ed-bil{display:flex;flex-direction:column;gap:6px;flex:1 1 200px}
.bb-ed-bil b{display:flex;align-items:center;gap:6px;font-size:15px}
.bb-ed-bil b svg{width:18px;height:18px;color:var(--ok)}
.bb-ed-bil small{font-size:12.5px;color:var(--muted)}
.bb-ed-btns{display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
.bb-ed-btns .btn{min-height:38px;padding:0 14px;font-size:13px}
.bb-ed-modal{position:fixed;inset:0;z-index:100000;background:#F5F5F0}
.bb-ed-modal iframe{position:absolute;inset:0;width:100%;height:100%;border:0;opacity:0;transition:opacity .3s}
.bb-ed-modal.hazir iframe{opacity:1}
.bb-ed-yuk{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:12px;font-weight:600;color:#5E5E57}
.bb-ed-sp{width:22px;height:22px;border-radius:50%;border:3px solid #E6E5DE;border-top-color:#1A1A1A;animation:bbSpin .8s linear infinite}
@keyframes bbSpin{to{transform:rotate(360deg)}}
html.bb-ed-acik,html.bb-ed-acik body{overflow:hidden}