/* ============================================================
   Kobiadam - WooCommerce Özel Stiller
   ============================================================ */

/* ============================================================
   MAĞAZA / KATEGORİ SAYFALARI
   ============================================================ */
.shop-sidebar,
.kobiadam-shop-sidebar {
    background: var(--kobiadam-white, #fff);
    border-radius: var(--kobiadam-radius-lg, 16px);
    box-shadow: var(--kobiadam-shadow);
    overflow: hidden;
    border: 1px solid var(--kobiadam-border);
}

.shop-sidebar .sidebar-title,
.kobiadam-shop-sidebar .sidebar-title {
    background: var(--kobiadam-primary);
    color: #fff;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-sidebar .category-list,
.kobiadam-shop-sidebar .category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-sidebar .category-list li,
.kobiadam-shop-sidebar .category-list li {
    border-bottom: 1px solid var(--kobiadam-border);
}

.shop-sidebar .category-list li:last-child,
.kobiadam-shop-sidebar .category-list li:last-child {
    border-bottom: none;
}

.shop-sidebar .category-list li a,
.kobiadam-shop-sidebar .category-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: #334155;
    font-size: 14px;
    transition: var(--kobiadam-transition);
}

.shop-sidebar .category-list li a:hover,
.shop-sidebar .category-list li.active a,
.kobiadam-shop-sidebar .category-list li a:hover,
.kobiadam-shop-sidebar .category-list li.active a {
    background: var(--kobiadam-light, #f8fafc);
    color: var(--kobiadam-primary);
    padding-left: 25px;
}

.shop-sidebar .category-list li.active a,
.kobiadam-shop-sidebar .category-list li.active a {
    font-weight: 600;
    border-left: 3px solid var(--kobiadam-primary);
}

.shop-sidebar .category-list .cat-count,
.kobiadam-shop-sidebar .category-list .cat-count {
    background: var(--kobiadam-light, #f8fafc);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    color: var(--kobiadam-gray);
}

/* Mobil filtre butonu */
.mobile-filter-btn {
    display: none;
}

/* Mağaza başlık */
.shop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--kobiadam-border);
}

.shop-header h1 {
    font-size: 1.5rem;
    margin: 0;
}

.shop-header .result-count {
    color: var(--kobiadam-gray);
    font-size: 13px;
}

.shop-header .woocommerce-ordering select {
    border: 1px solid var(--kobiadam-border);
    padding: 8px 12px;
    border-radius: var(--kobiadam-radius);
    font-size: 13px;
    color: #334155;
}

/* ============================================================
   ÜRÜN KARTI (Archive)
   ============================================================ */
.kobiadam-product-card {
    background: var(--kobiadam-white, #fff);
    border-radius: var(--kobiadam-radius-lg, 16px);
    overflow: hidden;
    box-shadow: var(--kobiadam-shadow);
    transition: var(--kobiadam-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--kobiadam-border);
}

.kobiadam-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--kobiadam-shadow-lg);
    border-color: transparent;
}

.kobiadam-product-card .product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--kobiadam-light, #f8fafc);
}

.kobiadam-product-card .product-card-image .product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}

.kobiadam-product-card:hover .product-card-image .product-card-img {
    transform: scale(1.08);
}

.kobiadam-product-card .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #fff;
    z-index: 2;
}

.badge-premium   { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.badge-onepage   { background: linear-gradient(135deg, var(--kobiadam-primary), var(--kobiadam-secondary)); }
.badge-new       { background: linear-gradient(135deg, var(--kobiadam-success, #10b981), #059669); }
.badge-language  { background: linear-gradient(135deg, var(--kobiadam-accent, #f59e0b), #d97706); }
.badge-default   { background: var(--kobiadam-gray, #64748b); }

.kobiadam-product-card .product-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    padding-bottom: 20px;
    opacity: 0;
    transition: var(--kobiadam-transition);
}

.kobiadam-product-card:hover .product-card-overlay {
    opacity: 1;
}

.kobiadam-product-card .product-card-overlay .overlay-btn {
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.kobiadam-product-card .product-card-body {
    padding: 18px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.kobiadam-product-card .product-card-code {
    font-size: 11px;
    color: var(--kobiadam-gray);
    margin-bottom: 5px;
}

.kobiadam-product-card .product-card-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    flex: 1;
    line-height: 1.4;
}

.kobiadam-product-card .product-card-title a {
    color: var(--kobiadam-dark);
}

.kobiadam-product-card .product-card-title a:hover {
    color: var(--kobiadam-primary);
}

.kobiadam-product-card .product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-top: 1px solid var(--kobiadam-border);
    margin-top: auto;
}

.kobiadam-product-card .product-card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--kobiadam-primary);
}

.kobiadam-product-card .product-card-price del {
    font-size: 13px;
    color: var(--kobiadam-gray-light, #94a3b8);
    font-weight: 400;
    display: block;
}

.kobiadam-product-card .product-card-price ins {
    text-decoration: none;
}

.kobiadam-product-card .product-card-buy {
    background: var(--kobiadam-primary);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: var(--kobiadam-radius, 8px);
    font-size: 13px;
    font-weight: 600;
    transition: var(--kobiadam-transition);
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.kobiadam-product-card .product-card-buy:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.2);
    color: #fff;
}

.kobiadam-product-card .product-card-buy.added::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.kobiadam-product-card .product-card-buy.loading {
    opacity: 0.7;
}

/* ============================================================
   TEK ÜRÜN SAYFASI
   ============================================================ */
.single-product-section {
    padding: 40px 0;
}

/* Galeri */
.product-gallery-wrapper {
    position: relative;
}

.product-main-image-link {
    display: block;
    border-radius: var(--kobiadam-radius-lg, 16px);
    overflow: hidden;
    transition: var(--kobiadam-transition);
}

.product-main-image-link:hover .product-main-image {
    transform: scale(1.02);
}

.product-detail-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.product-demo-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: var(--kobiadam-transition);
}

.product-demo-overlay:hover {
    background: var(--kobiadam-primary);
    color: #fff;
}

.product-main-image {
    width: 100%;
    border-radius: var(--kobiadam-radius-lg, 16px);
}

.product-gallery-thumbs {
    margin-top: 12px;
}

.gallery-thumb {
    width: 100%;
    border-radius: var(--kobiadam-radius-sm, 6px);
    border: 2px solid var(--kobiadam-border);
    cursor: pointer;
    transition: var(--kobiadam-transition);
    aspect-ratio: 4/3;
    object-fit: cover;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--kobiadam-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.cursor-pointer {
    cursor: pointer;
}

.gallery-badge-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.gallery-badge-overlay .product-badge {
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

/* Ürün Bilgi */
.product-info-box {
    background: var(--kobiadam-white, #fff);
    border: 1px solid var(--kobiadam-border);
    border-radius: var(--kobiadam-radius-lg, 16px);
    padding: 32px;
}

.price-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--kobiadam-success, #10b981);
    font-weight: 600;
    background: rgba(16, 185, 129, 0.08);
    padding: 6px 14px;
    border-radius: 50px;
}

.product-info-box .product-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.product-short-desc {
    font-size: 14px;
    line-height: 1.7;
}

.product-price-box {
    background: var(--kobiadam-light, #f8fafc);
    border-radius: var(--kobiadam-radius, 10px);
    padding: 20px;
}

.price-label {
    font-size: 13px;
    color: var(--kobiadam-gray);
    font-weight: 500;
}

.product-price-amount {
    font-size: 26px;
    font-weight: 700;
    color: var(--kobiadam-primary);
}

.product-price-amount del {
    font-size: 18px;
    color: var(--kobiadam-gray-light, #94a3b8);
    font-weight: 400;
}

.product-price-amount ins {
    text-decoration: none;
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--kobiadam-border);
}

.product-meta-item i {
    color: var(--kobiadam-primary);
    width: 20px;
    text-align: center;
}

.product-checklist {
    padding: 0;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    color: #475569;
}

.checklist-item i {
    color: var(--kobiadam-success, #10b981);
    font-size: 14px;
}

.product-actions-row {
    display: flex;
    gap: 8px;
}

.product-buy-action {
    margin-top: 4px;
}

/* Demo butonu */
.demo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--kobiadam-primary);
    color: #fff;
    border: none;
    border-radius: var(--kobiadam-radius);
    font-size: 14px;
    font-weight: 600;
    transition: var(--kobiadam-transition);
    text-decoration: none;
}

.demo-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.2);
    color: #fff;
}

/* Aksiyon butonları */
.product-actions {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.product-actions .btn {
    flex: 1;
    font-size: 13px;
    padding: 10px;
}

.product-actions .wish-btn {
    color: var(--kobiadam-danger);
    border-color: var(--kobiadam-danger);
}

.product-actions .wish-btn:hover {
    background: var(--kobiadam-danger);
    color: #fff;
}

/* Sepete ekle (WooCommerce) */
.single_add_to_cart_button {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    background: var(--kobiadam-accent) !important;
    border: none !important;
    border-radius: var(--kobiadam-radius) !important;
    color: #fff !important;
    letter-spacing: 0.02em;
    transition: var(--kobiadam-transition) !important;
}

.single_add_to_cart_button:hover {
    background: var(--kobiadam-accent-hover, #cf6d17) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.2);
}

.quantity .qty {
    width: 80px;
    padding: 10px;
    text-align: center;
    border: 1px solid var(--kobiadam-border);
    border-radius: var(--kobiadam-radius);
    font-size: 14px;
}

/* ============================================================
   ÜRÜN TABLERİ
   ============================================================ */
.kobiadam-product-tabs .nav-tabs {
    border-bottom: 2px solid var(--kobiadam-border);
    gap: 5px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.kobiadam-product-tabs .nav-tabs .nav-link {
    border: none;
    color: var(--kobiadam-gray);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: var(--kobiadam-transition);
}

.kobiadam-product-tabs .nav-tabs .nav-link:hover {
    color: var(--kobiadam-primary);
}

.kobiadam-product-tabs .nav-tabs .nav-link.active {
    color: var(--kobiadam-primary);
    border-bottom-color: var(--kobiadam-primary);
    background: none;
}

.kobiadam-product-tabs .tab-content {
    padding: 25px 0;
}

.kobiadam-product-tabs .tab-pane {
    font-size: 14px;
    line-height: 1.8;
    color: #334155;
}

/* Tab: Admin panel ekran görüntüleri */
.admin-screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.admin-screenshots img {
    border-radius: var(--kobiadam-radius);
    border: 1px solid var(--kobiadam-border);
    cursor: pointer;
    transition: var(--kobiadam-transition);
}

.admin-screenshots img:hover {
    transform: scale(1.03);
    box-shadow: var(--kobiadam-shadow);
}

/* Tab: Ürün SSS */
.product-faq .accordion-item {
    border: 1px solid var(--kobiadam-border);
    border-radius: var(--kobiadam-radius) !important;
    margin-bottom: 10px;
}

.product-faq .accordion-button {
    font-weight: 600;
    font-size: 14px;
}

.product-faq .accordion-button:not(.collapsed) {
    background: var(--kobiadam-light);
    color: var(--kobiadam-primary);
    box-shadow: none;
}

/* Tab: Ödeme yöntemleri */
.payment-methods-info img {
    max-height: 40px;
    margin: 5px;
}

/* ============================================================
   İLGİLİ ÜRÜNLER
   ============================================================ */
.related-products-section {
    padding: 60px 0;
    background: var(--kobiadam-light);
}

.related-products-section h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* ============================================================
   SEPET SAYFASI
   ============================================================ */
.woocommerce-cart .woocommerce table.shop_table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--kobiadam-radius);
    overflow: hidden;
    box-shadow: var(--kobiadam-shadow);
    border: none;
}

.woocommerce-cart .woocommerce table.shop_table th {
    background: var(--kobiadam-light);
    padding: 15px 20px;
    font-weight: 600;
    font-size: 14px;
    border: none;
}

.woocommerce-cart .woocommerce table.shop_table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--kobiadam-border);
    vertical-align: middle;
    font-size: 14px;
}

.woocommerce-cart .woocommerce table.shop_table td.product-thumbnail img {
    width: 80px;
    border-radius: 4px;
}

.woocommerce-cart .woocommerce table.shop_table td.product-name a {
    font-weight: 600;
    color: var(--kobiadam-dark);
}

.woocommerce-cart .woocommerce table.shop_table td.product-name a:hover {
    color: var(--kobiadam-primary);
}

.woocommerce-cart .cart_totals {
    background: #fff;
    border-radius: var(--kobiadam-radius);
    box-shadow: var(--kobiadam-shadow);
    padding: 20px;
}

.woocommerce-cart .cart_totals h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.woocommerce a.remove {
    color: var(--kobiadam-danger) !important;
    font-size: 20px;
}

.woocommerce .button,
.woocommerce button.button {
    background-color: var(--kobiadam-primary) !important;
    color: #fff !important;
    border-radius: var(--kobiadam-radius) !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: var(--kobiadam-transition) !important;
    border: none !important;
}

.woocommerce .button:hover,
.woocommerce button.button:hover {
    background-color: var(--kobiadam-secondary) !important;
}

.woocommerce .button.alt,
.woocommerce button.button.alt {
    background-color: var(--kobiadam-accent) !important;
}

.woocommerce .button.alt:hover,
.woocommerce button.button.alt:hover {
    background-color: #d97706 !important;
}

/* ============================================================
   ÖDEME SAYFASI
   ============================================================ */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.woocommerce-checkout .form-row {
    flex: 1 1 calc(50% - 15px);
    min-width: 250px;
}

.woocommerce-checkout .form-row-wide {
    flex: 1 1 100%;
}

.woocommerce-checkout .input-text,
.woocommerce-checkout select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--kobiadam-border);
    border-radius: var(--kobiadam-radius);
    font-size: 14px;
}

.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus {
    border-color: var(--kobiadam-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.woocommerce-checkout #order_review {
    background: #fff;
    padding: 25px;
    border-radius: var(--kobiadam-radius);
    box-shadow: var(--kobiadam-shadow);
}

.woocommerce-checkout #payment {
    background: var(--kobiadam-light) !important;
    border-radius: var(--kobiadam-radius) !important;
    padding: 20px !important;
}

.woocommerce-checkout #place_order {
    width: 100%;
    padding: 16px !important;
    font-size: 16px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   HESABIM SAYFASI
   ============================================================ */
.woocommerce-account .woocommerce-MyAccount-navigation {
    background: #fff;
    border-radius: var(--kobiadam-radius);
    box-shadow: var(--kobiadam-shadow);
    overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 20px;
    color: #334155;
    font-size: 14px;
    border-bottom: 1px solid var(--kobiadam-border);
    transition: var(--kobiadam-transition);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--kobiadam-light);
    color: var(--kobiadam-primary);
    font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-content {
    background: #fff;
    border-radius: var(--kobiadam-radius);
    box-shadow: var(--kobiadam-shadow);
    padding: 25px;
}

/* ============================================================
   WOO BİLDİRİMLER
   ============================================================ */
.woocommerce-message {
    border-top-color: var(--kobiadam-success) !important;
    background: #f0fdf4;
    padding: 15px 20px !important;
    border-radius: var(--kobiadam-radius);
    font-size: 14px;
}

.woocommerce-error {
    border-top-color: var(--kobiadam-danger) !important;
    background: #fef2f2;
    padding: 15px 20px !important;
    border-radius: var(--kobiadam-radius);
}

.woocommerce-info {
    border-top-color: var(--kobiadam-primary) !important;
    background: #eff6ff;
    padding: 15px 20px !important;
    border-radius: var(--kobiadam-radius);
}

.woocommerce-message::before {
    color: var(--kobiadam-success) !important;
}

.woocommerce-error::before {
    color: var(--kobiadam-danger) !important;
}

.woocommerce-info::before {
    color: var(--kobiadam-primary) !important;
}

/* ============================================================
   ÜRÜN FİLTRE
   ============================================================ */
.shop-filter-offcanvas {
    max-width: 300px;
}

.shop-filter-offcanvas .offcanvas-header {
    background: var(--kobiadam-primary);
    color: #fff;
}

.shop-filter-offcanvas .btn-close {
    filter: brightness(0) invert(1);
}

/* ============================================================
   MİNİ SEPET DROPDOWN
   ============================================================ */
.mini-cart-dropdown {
    min-width: 300px;
    padding: 0;
    border: none;
    box-shadow: var(--kobiadam-shadow-lg);
    border-radius: var(--kobiadam-radius);
}

.mini-cart-items {
    max-height: 300px;
    overflow-y: auto;
    padding: 15px;
}

.mini-cart-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--kobiadam-border);
}

.mini-cart-item:last-child {
    border-bottom: none;
}

.mini-cart-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.mini-cart-item .item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--kobiadam-dark);
}

.mini-cart-item .item-price {
    font-size: 13px;
    color: var(--kobiadam-primary);
}

.mini-cart-total {
    padding: 15px;
    background: var(--kobiadam-light);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    font-size: 15px;
}

.mini-cart-buttons {
    padding: 15px;
    display: flex;
    gap: 10px;
}

.mini-cart-buttons .btn {
    flex: 1;
    font-size: 13px;
    padding: 10px;
}

/* ============================================================
   DEVAM EDEN ALIŞVERİŞ
   ============================================================ */
.woocommerce .return-to-shop .button,
.kobiadam-continue-shopping {
    background: var(--kobiadam-light) !important;
    color: var(--kobiadam-primary) !important;
    border: 1px solid var(--kobiadam-border) !important;
}

.woocommerce .return-to-shop .button:hover,
.kobiadam-continue-shopping:hover {
    background: var(--kobiadam-primary) !important;
    color: #fff !important;
}


/* ============================================================
   WOO ÜRÜN GRID FALLBACK (ul.products)
   ============================================================ */
ul.products {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

ul.products > li {
    list-style: none;
    flex: 0 0 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
}

@media (max-width: 991.98px) {
    ul.products > li {
        flex: 0 0 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
    }
}

@media (max-width: 575.98px) {
    ul.products > li {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Row.products (custom loop-start) */
.row.products {
    list-style: none;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
}


/* ============================================================
   ÜRÜN DETAY SAYFA - BUTON DÜZELTMELERİ
   ============================================================ */
.product-info-box .btn {
    font-size: 13px;
    white-space: nowrap;
}

.product-info-box .btn-outline-primary.w-100 {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--kobiadam-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-actions-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: stretch;
}

.product-actions-row .btn {
    font-size: 12px;
    padding: 8px 14px;
    white-space: nowrap;
    border-radius: var(--kobiadam-radius-sm, 6px) !important;
}

.product-actions-row .btn-outline-secondary {
    border-color: var(--kobiadam-border);
    color: var(--kobiadam-gray);
}

.product-actions-row .btn-outline-secondary:hover {
    background: var(--kobiadam-light, #f8fafc);
    color: var(--kobiadam-primary);
    border-color: var(--kobiadam-primary);
}

.product-actions-row .dropdown {
    flex-shrink: 0;
}

.product-actions-row .kobiadam-add-favorite {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.product-buy-action {
    margin-top: 4px;
}

.product-buy-action .single_add_to_cart_button {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--kobiadam-accent, #f59e0b), var(--kobiadam-accent-hover, #d97706)) !important;
    border: none !important;
    border-radius: var(--kobiadam-radius) !important;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--kobiadam-transition) !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.product-buy-action .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45) !important;
}

.product-buy-action .quantity {
    display: none;
}


/* ============================================================
   ÜRÜN DETAY - GÖRSEL TIKLANMA
   ============================================================ */
.product-gallery-wrapper {
    position: relative;
    cursor: pointer;
}

.product-main-image {
    width: 100%;
    border-radius: var(--kobiadam-radius-lg, 16px);
    box-shadow: var(--kobiadam-shadow);
    transition: transform 0.4s ease;
}

.product-gallery-wrapper:hover .product-main-image {
    transform: scale(1.02);
}


/* ============================================================
   ÜRÜN DETAY - TAB İÇERİĞİ TİPOGRAFİ
   ============================================================ */
.kobiadam-product-tabs .tab-pane h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--kobiadam-dark);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
    border-bottom: 2px solid var(--kobiadam-border);
    padding-bottom: 0.5rem;
}

.kobiadam-product-tabs .tab-pane h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--kobiadam-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    line-height: 1.35;
    position: relative;
    padding-left: 14px;
}

.kobiadam-product-tabs .tab-pane h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(to bottom, var(--kobiadam-primary), var(--kobiadam-accent));
}

.kobiadam-product-tabs .tab-pane h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--kobiadam-dark);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.kobiadam-product-tabs .tab-pane h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--kobiadam-dark-light, #1e293b);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.kobiadam-product-tabs .tab-pane h5,
.kobiadam-product-tabs .tab-pane h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--kobiadam-gray);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.kobiadam-product-tabs .tab-pane p {
    font-size: 14px;
    line-height: 1.9;
    color: #475569;
    margin-bottom: 1rem;
}

.kobiadam-product-tabs .tab-pane ul,
.kobiadam-product-tabs .tab-pane ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.kobiadam-product-tabs .tab-pane li {
    font-size: 14px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 0.35rem;
}

.kobiadam-product-tabs .tab-pane ul li::marker {
    color: var(--kobiadam-primary);
}

.kobiadam-product-tabs .tab-pane ol li::marker {
    color: var(--kobiadam-primary);
    font-weight: 600;
}

.kobiadam-product-tabs .tab-pane img {
    max-width: 100%;
    height: auto;
    border-radius: var(--kobiadam-radius);
    margin: 1rem 0;
    box-shadow: var(--kobiadam-shadow-xs);
}

.kobiadam-product-tabs .tab-pane blockquote {
    border-left: 4px solid var(--kobiadam-primary);
    background: var(--kobiadam-light, #f8fafc);
    padding: 16px 20px;
    margin: 1rem 0;
    border-radius: 0 var(--kobiadam-radius-sm) var(--kobiadam-radius-sm) 0;
    font-style: italic;
    color: #475569;
}

.kobiadam-product-tabs .tab-pane pre,
.kobiadam-product-tabs .tab-pane code {
    background: var(--kobiadam-dark);
    color: #e2e8f0;
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    border-radius: var(--kobiadam-radius-sm);
}

.kobiadam-product-tabs .tab-pane code {
    padding: 2px 6px;
    font-size: 13px;
}

.kobiadam-product-tabs .tab-pane pre {
    padding: 16px;
    overflow-x: auto;
    margin: 1rem 0;
}

.kobiadam-product-tabs .tab-pane table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 14px;
}

.kobiadam-product-tabs .tab-pane table th {
    background: var(--kobiadam-light, #f8fafc);
    font-weight: 600;
    padding: 10px 14px;
    border: 1px solid var(--kobiadam-border);
    text-align: left;
}

.kobiadam-product-tabs .tab-pane table td {
    padding: 10px 14px;
    border: 1px solid var(--kobiadam-border);
}

.kobiadam-product-tabs .tab-pane table tr:hover td {
    background: rgba(37, 99, 235, 0.02);
}

.kobiadam-product-tabs .tab-pane a {
    color: var(--kobiadam-primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.kobiadam-product-tabs .tab-pane a:hover {
    color: var(--kobiadam-primary-dark, #1d4ed8);
}

.kobiadam-product-tabs .tab-pane hr {
    border: none;
    border-top: 1px solid var(--kobiadam-border);
    margin: 1.5rem 0;
}

/* Tab pane first heading - no top margin */
.kobiadam-product-tabs .tab-pane > h1:first-child,
.kobiadam-product-tabs .tab-pane > h2:first-child,
.kobiadam-product-tabs .tab-pane > h3:first-child,
.kobiadam-product-tabs .tab-pane > h4:first-child {
    margin-top: 0;
}
