/* =========================================================================
   teknotr — WooCommerce görünüm katmanı. Yapı/işlev WooCommerce'te kalır.
   ========================================================================= */

.woocommerce-notices-wrapper{ max-width:var(--tk-max); margin:16px auto 0; padding-inline:16px; }
.woocommerce-message,.woocommerce-info,.woocommerce-error{
  border-radius:var(--tk-radius); border-left:4px solid var(--tk-emerald); background:#fff;
}
.woocommerce-error{ border-left-color:#d64545; }

/* --- Mağaza / arşiv ------------------------------------------------- */
.tk-shop{ padding-block:32px 48px; }
.tk-cathead{ position:relative; overflow:hidden; display:flex; gap:12px; background:#fff; border:1px solid var(--tk-line); border-radius:var(--tk-radius-lg);
  padding:20px; min-height:184px; align-items:center; }
@media(min-width:640px){ .tk-cathead{ padding:28px; min-height:204px; } }
.tk-cathead__ico{ display:none; position:absolute; right:24px; top:50%; transform:translateY(-50%); width:170px; height:170px; border-radius:24px;
  background:linear-gradient(-90deg,var(--tk-emerald-muted),transparent); }
@media(min-width:640px){ .tk-cathead__ico{ display:block; } }
.tk-cathead__body{ position:relative; max-width:60%; }
@media(max-width:639px){ .tk-cathead__body{ max-width:100%; } }
.tk-cathead h1{ margin:8px 0 6px; font-size:1.55rem; font-weight:700; }
@media(min-width:640px){ .tk-cathead h1{ font-size:2rem; } }
.tk-cathead__desc{ margin:0 0 10px; font-size:14px; color:var(--tk-muted); max-width:44ch; }
.tk-cathead__trust{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:6px 16px; font-size:13px; }
.tk-cathead__trust li{ display:flex; align-items:center; gap:6px; color:rgba(18,24,31,.7); }
.tk-cathead__trust li::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--tk-emerald); }
.tk-cathead__count{ font-weight:600; color:var(--tk-emerald-deep); }

.tk-subcats{ margin-top:16px; display:flex; flex-wrap:wrap; gap:8px; }
.tk-subcats a{ border:1px solid var(--tk-line); background:#fff; border-radius:100px; padding:6px 14px; font-size:12px; font-weight:500; color:rgba(18,24,31,.75); }
.tk-subcats a:hover{ border-color:var(--tk-emerald); color:var(--tk-emerald-deep); }

.tk-shop__bar{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin:16px 0; padding-top:12px;
  border-top:1px solid var(--tk-line); font-size:14px; color:var(--tk-muted); }
.tk-shop__ordering select,.woocommerce-ordering select{ border:1px solid var(--tk-line); border-radius:6px; padding:6px 10px; background:#fff; font-size:13px; }
.woocommerce-result-count{ margin:0; }

/* --- Ürün kartı -------------------------------------------------- */
.tk-shop__grid ul.products,
ul.products{ list-style:none; margin:0; padding:0; display:grid; gap:16px;
  grid-template-columns:1fr; }
@media(min-width:480px){ ul.products{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1024px){ ul.products{ grid-template-columns:repeat(3,1fr); } }
@media(min-width:1240px){ ul.products{ grid-template-columns:repeat(4,1fr); } }

li.product.tk-product-card{ position:relative; display:flex; flex-direction:column; background:#fff; border:1px solid var(--tk-line);
  border-radius:12px; overflow:hidden; transition:box-shadow .2s; }
li.product.tk-product-card:hover{ box-shadow:0 8px 30px -12px rgba(0,0,0,.18); }
.tk-card-media{ position:relative; aspect-ratio:1/1; background:#fff; }
.tk-card-media__link{ display:block; height:100%; }
.tk-card-media img{ width:100%; height:100%; object-fit:contain; padding:16px; }
.tk-card-badges{ position:absolute; left:12px; top:12px; display:flex; flex-direction:column; gap:6px; }
.tk-badge{ display:inline-flex; align-items:center; font-size:10.5px; font-weight:700; padding:3px 8px; border-radius:6px; }
.tk-badge--amber{ background:var(--tk-amber); color:#fff; }
.tk-badge--ink{ background:var(--tk-ink); color:#fff; }
.tk-card-fav{ position:absolute; right:10px; top:10px; z-index:2; width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.92); border:1px solid var(--tk-line); border-radius:50%; color:var(--tk-muted); }
.tk-card-fav svg{ width:17px; height:17px; }
.tk-card-fav:hover{ color:var(--tk-emerald); }
.tk-card-body{ display:flex; flex-direction:column; gap:8px; padding:16px; flex:1; }
.tk-card-meta{ display:flex; justify-content:space-between; gap:8px; font-size:11px; }
.tk-card-brand{ font-weight:600; text-transform:uppercase; letter-spacing:.03em; color:var(--tk-muted); }
.tk-card-sku{ font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:10.5px; color:rgba(107,116,129,.8); }
.tk-card-title{ margin:0; font-family:var(--tk-font); font-size:13.5px; font-weight:600; line-height:1.35; min-height:36px; }
.tk-card-title a{ color:var(--tk-ink); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.tk-card-title a:hover{ color:var(--tk-emerald-deep); }
.tk-card-specs{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:6px; }
.tk-card-specs li{ background:#eef1f2; color:var(--tk-muted); font-size:11px; font-weight:500; border-radius:6px; padding:2px 6px; }
.tk-card-rating{ font-size:12px; color:var(--tk-ink); }
.tk-card-rating b{ font-weight:600; }
.tk-card-rating span{ color:var(--tk-muted); }
.tk-card-price{ margin-top:auto; font-family:var(--tk-font-head); font-weight:700; font-size:1.1rem; color:var(--tk-emerald-deep); }
.tk-card-price del{ display:block; font-family:var(--tk-font); font-weight:400; font-size:12px; color:var(--tk-muted); }
.tk-card-price ins{ text-decoration:none; }
.tk-card-stock{ display:flex; align-items:center; gap:6px; font-size:12px; font-weight:500; color:var(--tk-emerald-deep); margin:0; }
.tk-card-stock--out{ color:var(--tk-muted); }
li.product.tk-product-card .button,
li.product.tk-product-card .added_to_cart{ margin:12px 16px 16px; height:40px; }
li.product.tk-product-card .add_to_cart_button.loading::after{ vertical-align:middle; }

/* --- Tekil ürün --------------------------------------------------- */
.tk-single{ padding-block:24px 48px; }
.tk-single__top{ display:grid; gap:32px; margin-top:24px; }
@media(min-width:1024px){ .tk-single__top{ grid-template-columns:1.1fr 1fr; } }
.tk-single__gallery .woocommerce-product-gallery{ margin:0; }
.tk-single__gallery img{ border:1px solid var(--tk-line); border-radius:var(--tk-radius-lg); background:#fff; }
.tk-single__meta{ display:flex; gap:8px; font-size:12px; color:var(--tk-muted); text-transform:uppercase; letter-spacing:.03em; }
.tk-single__sku{ font-family:ui-monospace,Menlo,monospace; text-transform:none; }
.tk-single .product_title{ font-size:1.4rem; font-weight:700; margin:6px 0 8px; }
@media(min-width:640px){ .tk-single .product_title{ font-size:1.75rem; } }
.tk-single .woocommerce-product-rating{ margin-bottom:10px; font-size:14px; }
.tk-single .price{ font-family:var(--tk-font-head); }
.tk-single .summary .price{ display:block; font-size:1.9rem; font-weight:700; color:var(--tk-emerald-deep); margin:0 0 6px; }
.tk-single .summary .price del{ font-family:var(--tk-font); font-weight:400; font-size:14px; color:var(--tk-muted); }
.tk-single .summary > .price,
.tk-single form.cart,
.tk-single .woocommerce-variation-add-to-cart{ background:#fff; border:1px solid var(--tk-line); border-radius:var(--tk-radius-lg); padding:20px; margin-bottom:16px; }
.tk-single form.cart .quantity input{ height:44px; border:1px solid var(--tk-line); border-radius:var(--tk-radius); width:70px; text-align:center; }
.tk-single form.cart .button,
.tk-single .single_add_to_cart_button{ height:44px; background:var(--tk-emerald); color:#fff; border:0; border-radius:var(--tk-radius); font-weight:600; padding:0 24px; }
.tk-single form.cart .button:hover{ background:var(--tk-emerald-deep); }
.tk-single .stock.in-stock{ color:var(--tk-emerald-deep); }
.tk-single__trust{ list-style:none; margin:16px 0 0; padding:0; display:grid; gap:6px; font-size:13px; color:var(--tk-muted); }

/* Teknik Özellikler tablosu (öznitelikler) */
.tk-single__specs{ margin-top:40px; }
.tk-single__specs h2{ font-size:1.15rem; font-weight:700; margin-bottom:12px; }
.tk-spec-group{ margin:16px 0 8px; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--tk-emerald-deep); }
.tk-spec-table{ margin:0; border:1px solid var(--tk-line); border-radius:12px; overflow:hidden; display:grid; grid-template-columns:1fr; }
@media(min-width:782px){ .tk-spec-table{ grid-template-columns:1fr 1fr; } }
.tk-spec-row{ display:flex; gap:12px; padding:10px 16px; font-size:14px; border-bottom:1px solid rgba(231,234,236,.6); }
.tk-spec-row:nth-child(odd){ background:rgba(238,241,242,.4); }
@media(min-width:782px){
  .tk-spec-row:nth-child(odd){ background:transparent; }
  .tk-spec-row:nth-child(4n+1),.tk-spec-row:nth-child(4n+2){ background:rgba(238,241,242,.4); }
  .tk-spec-row:nth-child(odd){ border-right:1px solid rgba(231,234,236,.6); }
  .tk-spec-row:nth-last-child(-n+2){ border-bottom:0; }
}
.tk-spec-row dt{ width:38%; flex-shrink:0; color:var(--tk-muted); margin:0; }
.tk-spec-row dd{ margin:0; font-weight:500; min-width:0; }
.tk-single__specs-note{ margin-top:12px; font-size:12px; color:var(--tk-muted); }

.tk-single__after{ margin-top:40px; }
.tk-single__after .woocommerce-tabs .tab-title,
.tk-single__after .wc-tabs{ border-bottom:1px solid var(--tk-line); }
.tk-single__after h2{ font-size:1.15rem; font-weight:700; }
.tk-single__after .related.products ul.products,
.tk-single__after .up-sells ul.products{ margin-top:16px; }

/* --- Sepet / ödeme / hesap: WooCommerce şablonu + marka rengi ---- */
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation{ background:#fff; border:1px solid var(--tk-line); border-radius:var(--tk-radius-lg); padding:20px; }
.woocommerce table.shop_table{ border-radius:var(--tk-radius-lg); border-color:var(--tk-line); }
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button,
.woocommerce #respond input#submit{ background:var(--tk-emerald); color:#fff; border-radius:var(--tk-radius); border:0; font-weight:600; }
.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover{ background:var(--tk-emerald-deep); }
.woocommerce .button.alt,
.woocommerce #place_order{ background:var(--tk-emerald); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce .select2-container--default .select2-selection--single{ border:1px solid var(--tk-line); border-radius:var(--tk-radius); min-height:44px; }
.woocommerce-MyAccount-navigation ul{ list-style:none; margin:0; padding:0; }
.woocommerce-MyAccount-navigation li a{ display:block; padding:10px 12px; border-radius:6px; font-size:14px; }
.woocommerce-MyAccount-navigation li.is-active a{ background:var(--tk-emerald-muted); color:var(--tk-emerald-deep); font-weight:600; }
.woocommerce ul.products,
.woocommerce-page ul.products{ margin:0; }
