/* Ek stiller ve WooCommerce ince ayarları */

.woocommerce ul.products li.product .button {
	width: 100%;
}

.woocommerce span.onsale {
	background: var(--brand-orange);
}

.woocommerce .woocommerce-breadcrumb a,
.woocommerce .woocommerce-breadcrumb {
	color: var(--brand-muted);
}

.woocommerce div.product .product_title {
	margin-bottom: 8px;
}

/* Kart genel görünüm */
.card img { display: block; width: 100%; height: auto; }
.card .price { color: var(--brand-orange); font-weight: 700; } 

/* Shop layout */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.shop-sidebar { border-right: 1px solid #eee; padding-right: 16px; }
.shop-content .page-title { margin-top: 0; }

/* Header cart */
.header-actions { display: flex; align-items: center; gap: 16px; }
.cart-link { font-weight: 700; color: var(--brand-dark); }
.cart-link .header-cart-count { display: inline-block; min-width: 20px; padding: 2px 6px; background: var(--brand-orange); color: #fff; border-radius: 12px; text-align: center; margin-left: 6px; }

/* Product card tweaks */
ul.products { list-style: none; padding: 0; margin: 0; }
ul.products li.product.card { border: 1px solid #eee; border-radius: 10px; overflow: hidden; }
ul.products li.product.card .content { padding: 12px; }
ul.products li.product.card .button { width: 100%; margin-top: 8px; }

/* Badges */
.product-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 2; }
.product-badges .badge { background: var(--brand-orange); color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 999px; }

/* Headings underline */
.shop-content .page-title, .hero h1, h2, h3 { position: relative; }
.shop-content .page-title::after, .hero h1::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 64px; height: 3px; background: var(--brand-orange); border-radius: 2px; }

/* Breadcrumb */
.woocommerce-breadcrumb { color: var(--brand-muted); margin-bottom: 16px; }
.woocommerce-breadcrumb a { color: var(--brand-dark); }

/* Electro header utility */
.header-utility { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 12px 24px; border-top: 1px solid #eee; border-bottom: 1px solid #eee; background: #fff; }
.category-dropdown { position: relative; }
.cat-trigger { width: 100%; background: var(--brand-orange); color: #fff; border: 0; border-radius: 8px; padding: 10px 12px; font-weight: 700; cursor: pointer; }
.cat-panel { position: absolute; top: calc(100% + 8px); left: 0; width: 100%; background: #fff; border: 1px solid #eee; border-radius: 10px; box-shadow: var(--shadow); display: none; z-index: 20; }
.cat-list { list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: 1fr; gap: 6px; }
.category-dropdown:hover .cat-panel { display: block; }
.header-search form { display: flex; }
.header-search input[type="search"], .header-search input[type="text"] { flex: 1; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 8px 0 0 8px; outline: none; }
.header-search button, .header-search input[type="submit"] { background: var(--brand-orange); color: #fff; border: 0; padding: 10px 16px; border-radius: 0 8px 8px 0; cursor: pointer; }

/* Featured categories */
.featured-cats .grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.featured-cats .card { text-align: center; }
.featured-cats .card a { display: block; padding: 16px; font-weight: 700; color: var(--brand-dark); }

/* Tabs */
.tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.tabs .tab { background: #fff; border: 1px solid #eee; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.tabs .tab.active { background: var(--brand-orange); color: #fff; border-color: var(--brand-orange); }
.tab-panels .panel { display: none; }
.tab-panels .panel.active { display: block; }

/* Dropdown open state */
.category-dropdown .cat-panel.open { display: block; }

@media (max-width: 1024px) {
	.shop-layout { grid-template-columns: 1fr; }
	.shop-sidebar { border-right: 0; padding-right: 0; }
} 

/* WooCommerce tables - compact */
.woocommerce table.shop_table { border: 1px solid #eee; border-radius: 10px; box-shadow: var(--shadow); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 10px 12px; }
.woocommerce .quantity .qty { max-width: 72px; }
.woocommerce a.remove { color: #ef4444 !important; }

/* Cart layout */
.woocommerce-cart .cart-collaterals { display: grid; grid-template-columns: 1fr 360px; gap: 24px; }
.woocommerce-cart .cart_totals { border: 1px solid #eee; border-radius: 12px; padding: 16px; box-shadow: var(--shadow); background: #fff; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { width: 100%; font-weight: 700; }

/* Product list visuals */
.woocommerce ul.products li.product a img { aspect-ratio: 1 / 1; object-fit: cover; }
.woocommerce ul.products li.product .price { color: var(--brand-orange); font-weight: 700; }

/* Single product layout */
.woocommerce div.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.woocommerce div.product .product_title { margin-top: 0; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--brand-orange); font-size: 20px; font-weight: 800; }
.woocommerce div.product .summary .cart .button { width: 100%; }
.woocommerce div.product .woocommerce-tabs ul.tabs { border-radius: 10px 10px 0 0; }
.woocommerce div.product .woocommerce-tabs .panel { border: 1px solid #eee; border-top: 0; padding: 16px; border-radius: 0 0 10px 10px; background: #fff; }

@media (max-width: 1024px) {
	.woocommerce-cart .cart-collaterals { grid-template-columns: 1fr; }
	.woocommerce div.product { grid-template-columns: 1fr; }
} 

/* Product card upgrade */
ul.products { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
ul.products li.product.product-card { transition: transform .15s ease, box-shadow .15s ease; }
ul.products li.product.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.title-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px; }
.product-card .actions .button { width: 100%; }

@media (max-width: 1024px) {
	ul.products { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 768px) {
	ul.products { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 480px) {
	ul.products { grid-template-columns: 1fr; }
} 

/* Top categories bar */
.top-categories { display: flex; gap: 12px; padding: 10px 24px; border-top: 1px solid #e6eaf2; border-bottom: 1px solid #e6eaf2; background: #fafcff; }
.top-categories .top-cat { color: var(--brand-dark); background: #fff; border: 1px solid #e6eaf2; padding: 6px 12px; border-radius: 999px; font-weight: 600; }
.top-categories .top-cat:hover { color: var(--brand-white); background: var(--brand-orange); border-color: var(--brand-orange); } 