/*
Theme Name: ExcelShop
Theme URI: https://example.com/
Author: ChatGPT
Author URI: https://example.com/
Description: WooCommerce uyumlu, masaüstünde Excel tarzı ürün tablosu, mobilde kart görünüm.
Version: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: excelshop
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
*/

:root{
  --grid-border:#cfcfcf;
  --hover:#e8f2ff;
  --header:#f3f3f3;
  --text:#111;
}

body{
  color:var(--text);
}

.excelshop-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 12px;
}

.excel-table{
  width:100%;
  border-collapse: collapse;
  font-family: Calibri, Arial, sans-serif;
  font-size: 14px;
}

.excel-table th{
  background:var(--header);
  font-weight:600;
  text-align:left;
}

.excel-table td, .excel-table th{
  border:1px solid var(--grid-border);
  padding:7px 10px;
  vertical-align: top;
}

.excel-table tbody tr{
  cursor:pointer;
}

.excel-table tbody tr:hover{
  background:var(--hover);
}

.excel-table .price{
  white-space:nowrap;
}

.excel-table .delivery{
  white-space:nowrap;
}

.excel-table .name{
  font-weight:600;
}

.excel-note{
  margin: 10px 0 0;
  font-size: 12px;
  opacity: .75;
}
/* Ürün sayfası görsel küçültme */
.woocommerce div.product div.images img {
    max-width: 340px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Mobilde biraz daha büyük */
@media(max-width:768px){
    .woocommerce div.product div.images img {
        max-width: 90%;
    }
}
/* Ürün sayfası layout */
.single-product .product {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.single-product .product_title {
    font-size: 26px;
    font-weight: 600;
}

.single-product .price {
    font-size: 22px;
    color: #0a7cff;
    margin-bottom: 15px;
}

.single-product .single_add_to_cart_button {
    background: #0a7cff;
    border-radius: 8px;
    padding: 14px 26px;
    font-size: 16px;
}
.delivery-badge {
    background: #f0f6ff;
    color: #0a7cff;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: inline-block;
    font-size: 14px;
}
/* WordPress default sidebar ve widget çöplüğünü komple yok et */
#secondary,
#sidebar,
.widget-area,
aside,
.site-content aside {
    display: none !important;
}

/* İçeriği full width yap */
.site-content,
.content-area,
#primary {
    width: 100% !important;
    margin: 0 auto !important;
}
.topbar {
    background: #0f172a;
    color: #fff;
    padding: 14px 0;
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar .logo {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .5px;
}

.topbar .menu a {
    color: #cbd5e1;
    margin-left: 20px;
    text-decoration: none;
    font-size: 14px;
}

.topbar .menu a:hover {
    color: #38bdf8;
}
header.excelshop-wrap {
    display: none !important;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
h1, h2, h3, .product_title {
    font-weight: 600;
    letter-spacing: -0.3px;
}
.category-section {
    margin-bottom: 50px;
}

.category-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
