/*
Theme Name: Blejta
Theme URI: https://blejta.com
Author: Blejta.com
Author URI: https://blejta.com
Description: Theme zyrtar i Blejta.com - E-commerce profesional A-Z. Flying cart drawer, floating button, dizajn modern, plotësisht përgjegjës (responsive) dhe i optimizuar për WooCommerce. Cart, Checkout, My Account, të gjitha të gatshme!
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blejta
Tags: e-commerce, woocommerce, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, responsive-layout, ajax-cart
*/

/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
    --blejta-primary: #d42e2d;
    --blejta-primary-hover: #b82928;
    --blejta-secondary: #000000;
    --blejta-accent: #f8f8f8;
    --blejta-text: #1a1a1a;
    --blejta-text-light: #666666;
    --blejta-border: #e5e5e5;
    --blejta-success: #28a745;
    --blejta-warning: #ffc107;
    --blejta-error: #dc3545;
    --blejta-bg: #ffffff;
    --blejta-bg-alt: #fafafa;
    --blejta-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --blejta-font-heading: 'Inter', sans-serif;
    --blejta-radius: 8px;
    --blejta-radius-sm: 4px;
    --blejta-radius-lg: 12px;
    --blejta-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --blejta-shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.1);
    --blejta-shadow-xl: 0 10px 40px rgba(0, 0, 0, 0.15);
    --blejta-transition: all 0.3s ease;
    --blejta-container: 1320px;
}

/* ============================================
   RESET & BASE
   ============================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--blejta-font-primary);
    font-size: 14px;
    line-height: 1.6;
    color: var(--blejta-text);
    background: var(--blejta-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--blejta-text); text-decoration: none; transition: var(--blejta-transition); }
a:hover { color: var(--blejta-primary); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--blejta-font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--blejta-text);
}

button { cursor: pointer; font-family: inherit; }

/* ============================================
   CONTAINER
   ============================================ */
.blejta-container {
    max-width: var(--blejta-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   TOP BAR
   ============================================ */
.blejta-topbar {
    background: var(--blejta-secondary);
    color: #fff;
    padding: 8px 0;
    font-size: 12px;
}

.blejta-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.blejta-topbar-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.blejta-topbar-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blejta-topbar-links {
    display: flex;
    gap: 15px;
}

.blejta-topbar-links a {
    color: #fff;
    font-size: 12px;
}

.blejta-topbar-links a:hover {
    opacity: 0.8;
}

/* ============================================
   HEADER
   ============================================ */
.blejta-header {
    background: #fff;
    box-shadow: var(--blejta-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.blejta-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 18px 0;
}

.blejta-logo a {
    font-size: 28px;
    font-weight: 800;
    color: var(--blejta-primary);
    letter-spacing: -1px;
    text-decoration: none;
}

.blejta-logo img {
    max-height: 45px;
    width: auto;
}

/* Search */
.blejta-search {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.blejta-search form {
    display: flex;
    border: 2px solid var(--blejta-secondary);
    border-radius: var(--blejta-radius);
    overflow: hidden;
}

.blejta-search input[type="search"] {
    flex: 1;
    padding: 12px 18px;
    border: none;
    outline: none;
    font-size: 14px;
    background: #fff;
}

.blejta-search button {
    background: var(--blejta-secondary);
    color: #fff;
    border: none;
    padding: 0 25px;
    font-weight: 600;
    transition: var(--blejta-transition);
}

.blejta-search button:hover {
    background: var(--blejta-primary);
}

/* Header Actions */
.blejta-header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.blejta-header-icon {
    position: relative;
    color: var(--blejta-text);
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.blejta-header-icon:hover {
    color: var(--blejta-primary);
}

.blejta-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--blejta-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blejta-wishlist-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--blejta-secondary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   NAVIGATION
   ============================================ */
.blejta-nav {
    background: #fff;
    border-top: 1px solid var(--blejta-border);
    border-bottom: 1px solid var(--blejta-border);
}

.blejta-nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.blejta-nav-menu li a {
    display: block;
    padding: 16px 20px;
    color: var(--blejta-text);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.blejta-nav-menu li a:hover,
.blejta-nav-menu li.current-menu-item > a {
    color: var(--blejta-primary);
}

.blejta-nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--blejta-primary);
    transition: var(--blejta-transition);
}

.blejta-nav-menu li:hover a::after,
.blejta-nav-menu li.current-menu-item > a::after {
    width: 80%;
}

.blejta-nav-menu .sub-menu {
    display: none;
    position: absolute;
    background: #fff;
    box-shadow: var(--blejta-shadow-lg);
    min-width: 220px;
    list-style: none;
    border-radius: var(--blejta-radius);
    padding: 8px 0;
    z-index: 1000;
}

.blejta-nav-menu li {
    position: relative;
}

.blejta-nav-menu li:hover > .sub-menu {
    display: block;
}

.blejta-nav-menu .sub-menu li a {
    padding: 10px 20px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.blejta-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--blejta-text);
}

/* ============================================
   FLYING CART DRAWER (Right side)
   ============================================ */
/* CART DRAWER */
.blejta-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);

    /* ANIMATION FIX */
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    display: flex;
    flex-direction: column;
    will-change: transform;
}

/* OPEN STATE */
.blejta-cart-drawer.is-open {
    transform: translateX(0);
}

/* OVERLAY */
.blejta-cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;

    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;

    pointer-events: none;
}

.blejta-cart-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* HEADER */
.blejta-cart-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    color: #fff;
}

/* BODY */
.blejta-cart-body {
    flex: 1;
    overflow-y: auto;
}

/* FOOTER */
.blejta-cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .blejta-cart-drawer {
        max-width: 100%;
    }
}
.blejta-cart-header h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blejta-cart-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--blejta-transition);
}

.blejta-cart-close:hover {
    background: var(--blejta-primary);
    transform: rotate(90deg);
}

.blejta-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.blejta-cart-empty {
    text-align: center;
    padding: 60px 30px;
}

.blejta-cart-empty-icon {
    font-size: 80px;
    color: var(--blejta-border);
    margin-bottom: 20px;
}

.blejta-cart-empty h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.blejta-cart-empty p {
    color: var(--blejta-text-light);
    margin-bottom: 25px;
}

.blejta-cart-shipping-notice {
    background: linear-gradient(135deg, var(--blejta-success), #1e7e34);
    color: #fff;
    padding: 12px 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
}

.blejta-cart-shipping-notice.warning {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #000;
}

.blejta-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden;
}

.blejta-progress-bar-fill {
    height: 100%;
    background: #fff;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.blejta-cart-items {
    padding: 0;
    list-style: none;
}

.blejta-cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 15px;
    padding: 18px 25px;
    border-bottom: 1px solid var(--blejta-border);
    align-items: center;
}

.blejta-cart-item:last-child {
    border-bottom: 0;
}

.blejta-cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--blejta-radius-sm);
    overflow: hidden;
    background: var(--blejta-bg-alt);
}

.blejta-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blejta-cart-item-details h4 {
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.blejta-cart-item-details h4 a {
    color: var(--blejta-text);
}

.blejta-cart-item-meta {
    font-size: 12px;
    color: var(--blejta-text-light);
    margin-bottom: 8px;
}

.blejta-cart-item-price {
    font-weight: 700;
    color: var(--blejta-primary);
    font-size: 14px;
}

.blejta-cart-item-qty {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    border: 1px solid var(--blejta-border);
    border-radius: 4px;
    width: fit-content;
}

.blejta-cart-item-qty button {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--blejta-bg-alt);
    cursor: pointer;
    font-weight: 700;
    color: var(--blejta-text);
}

.blejta-cart-item-qty button:hover {
    background: var(--blejta-secondary);
    color: #fff;
}

.blejta-cart-item-qty input {
    width: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--blejta-border);
    border-right: 1px solid var(--blejta-border);
    height: 28px;
    font-size: 13px;
    -moz-appearance: textfield;
}

.blejta-cart-item-qty input::-webkit-outer-spin-button,
.blejta-cart-item-qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.blejta-cart-item-remove {
    background: none;
    border: none;
    color: var(--blejta-text-light);
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
    align-self: flex-start;
    transition: var(--blejta-transition);
}

.blejta-cart-item-remove:hover {
    color: var(--blejta-primary);
    transform: scale(1.2);
}

.blejta-cart-footer {
    border-top: 2px solid var(--blejta-border);
    padding: 20px 25px;
    background: var(--blejta-bg-alt);
}

.blejta-cart-totals {
    margin-bottom: 15px;
}

.blejta-cart-totals-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.blejta-cart-totals-row.total {
    font-size: 18px;
    font-weight: 700;
    border-top: 1px solid var(--blejta-border);
    margin-top: 8px;
    padding-top: 12px;
    color: var(--blejta-primary);
}

.blejta-cart-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.blejta-cart-actions .blejta-btn {
    padding: 12px;
    font-size: 13px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.blejta-cart-checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--blejta-primary);
    color: #fff;
    border: none;
    border-radius: var(--blejta-radius);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 10px;
    transition: var(--blejta-transition);
    display: block;
    text-align: center;
}

.blejta-cart-checkout-btn:hover {
    background: var(--blejta-primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--blejta-shadow-lg);
}

/* ============================================
   FLOATING CART BUTTON
   ============================================ */
.blejta-floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--blejta-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 20px rgba(212, 46, 45, 0.4);
    transition: var(--blejta-transition);
    animation: blejta-pulse 2s infinite;
}

.blejta-floating-cart:hover {
    transform: scale(1.1);
    background: var(--blejta-primary-hover);
}

.blejta-floating-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--blejta-secondary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

@keyframes blejta-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(212, 46, 45, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(212, 46, 45, 0.7), 0 0 0 10px rgba(212, 46, 45, 0.1);
    }
}

/* Fly to cart animation */
.blejta-fly-image {
    position: fixed;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 99999;
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.blejta-fly-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.blejta-toast {
    position: fixed;
    top: 100px;
    right: 30px;
    background: var(--blejta-secondary);
    color: #fff;
    padding: 15px 25px;
    border-radius: var(--blejta-radius);
    box-shadow: var(--blejta-shadow-xl);
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(400px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 350px;
}

.blejta-toast.show {
    transform: translateX(0);
}

.blejta-toast-success {
    background: var(--blejta-success);
}

.blejta-toast-error {
    background: var(--blejta-error);
}

.blejta-toast i {
    font-size: 20px;
}

/* ============================================
   HERO / SLIDER
   ============================================ */
.blejta-hero {
    position: relative;
    min-height: 500px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e5e5e5 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.blejta-hero-content {
    max-width: 600px;
    padding: 60px 20px;
    position: relative;
    z-index: 2;
}

.blejta-hero-tag {
    display: inline-block;
    background: var(--blejta-primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.blejta-hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--blejta-secondary);
}

.blejta-hero-subtitle {
    font-size: 18px;
    color: var(--blejta-text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.blejta-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--blejta-secondary);
    color: #fff !important;
    border: none;
    border-radius: var(--blejta-radius);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--blejta-transition);
    text-align: center;
    cursor: pointer;
}

.blejta-btn:hover {
    background: var(--blejta-primary);
    transform: translateY(-2px);
    box-shadow: var(--blejta-shadow-lg);
}

.blejta-btn-primary {
    background: var(--blejta-primary);
}

.blejta-btn-primary:hover {
    background: var(--blejta-primary-hover);
}

.blejta-btn-outline {
    background: transparent;
    color: var(--blejta-secondary) !important;
    border: 2px solid var(--blejta-secondary);
}

.blejta-btn-outline:hover {
    background: var(--blejta-secondary);
    color: #fff !important;
}

/* ============================================
   FEATURE BANNER
   ============================================ */
.blejta-features {
    padding: 40px 0;
    background: var(--blejta-bg-alt);
    border-bottom: 1px solid var(--blejta-border);
}

.blejta-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.blejta-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.blejta-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--blejta-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.blejta-feature-text h4 {
    font-size: 14px;
    margin-bottom: 4px;
    font-weight: 700;
}

.blejta-feature-text p {
    font-size: 12px;
    color: var(--blejta-text-light);
}

/* ============================================
   SECTION TITLE
   ============================================ */
.blejta-section {
    padding: 60px 0;
}

.blejta-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.blejta-section-tag {
    color: var(--blejta-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: inline-block;
}

.blejta-section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--blejta-secondary);
}

.blejta-section-subtitle {
    color: var(--blejta-text-light);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.blejta-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.blejta-product-card {
    background: #fff;
    border: 1px solid var(--blejta-border);
    border-radius: var(--blejta-radius);
    overflow: hidden;
    transition: var(--blejta-transition);
    position: relative;
}

.blejta-product-card:hover {
    box-shadow: var(--blejta-shadow-lg);
    transform: translateY(-4px);
}

.blejta-product-image {
    position: relative;
    aspect-ratio: 1/1.1;
    overflow: hidden;
    background: var(--blejta-bg-alt);
}

.blejta-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blejta-product-card:hover .blejta-product-image img {
    transform: scale(1.05);
}

.blejta-product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.blejta-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.blejta-badge-new { background: var(--blejta-success); }
.blejta-badge-sale { background: var(--blejta-primary); }

.blejta-product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--blejta-transition);
    z-index: 5;
    pointer-events: auto;
}

/* Wishlist button - always visible */
.blejta-product-actions .blejta-wishlist-btn {
    opacity: 1 !important;
}

/* Other action buttons - show on hover (desktop only) */
@media (min-width: 768px) {
    .blejta-product-actions a.blejta-product-action-btn {
        opacity: 0;
        transform: translateX(15px);
    }
    
    .blejta-product-card:hover .blejta-product-actions a.blejta-product-action-btn {
        opacity: 1;
        transform: translateX(0);
    }
}

.blejta-product-action-btn {
    width: 38px;
    height: 38px;
    background: #fff;
    border: 1px solid var(--blejta-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    transition: var(--blejta-transition);
    color: var(--blejta-text);
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
}

.blejta-product-action-btn:hover {
    background: var(--blejta-primary);
    color: #fff;
    border-color: var(--blejta-primary);
    transform: scale(1.1);
}

.blejta-product-actions {
    z-index: 5 !important;
    pointer-events: auto !important;
}

.blejta-product-info {
    padding: 16px;
}

.blejta-product-category {
    font-size: 11px;
    color: var(--blejta-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.blejta-product-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--blejta-text);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blejta-product-title a {
    color: inherit;
}

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

.blejta-product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
    color: var(--blejta-secondary);
}

.blejta-product-price del {
    color: var(--blejta-text-light);
    font-weight: 400;
    font-size: 13px;
}

.blejta-product-price ins {
    text-decoration: none;
    color: var(--blejta-primary);
}

.blejta-product-sizes {
    display: flex;
    gap: 5px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.blejta-size-tag {
    background: var(--blejta-bg-alt);
    border: 1px solid var(--blejta-border);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    color: var(--blejta-text);
}

.blejta-add-to-cart-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    background: var(--blejta-secondary);
    color: #fff;
    text-align: center;
    border: none;
    border-radius: var(--blejta-radius-sm);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--blejta-transition);
    text-decoration: none;
}

.blejta-add-to-cart-btn:hover {
    background: var(--blejta-primary);
    color: #fff;
}

.blejta-add-to-cart-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.blejta-add-to-cart-btn.added {
    background: var(--blejta-success);
}

/* ============================================
   CATEGORY BANNERS
   ============================================ */
.blejta-categories-section {
    padding: 60px 0;
}

.blejta-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.blejta-category-card {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--blejta-radius);
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, var(--blejta-secondary), #333);
}

.blejta-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    opacity: 0.85;
}

.blejta-category-card:hover img {
    transform: scale(1.08);
}

.blejta-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.blejta-category-text {
    color: #fff;
}

.blejta-category-text h3 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 8px;
}

.blejta-category-text p {
    font-size: 14px;
    opacity: 0.9;
}

/* ============================================
   FOOTER
   ============================================ */
.blejta-footer {
    background: var(--blejta-secondary);
    color: #ccc;
    padding: 60px 0 0;
    margin-top: 60px;
}

.blejta-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.blejta-footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blejta-footer-col p,
.blejta-footer-col li {
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.blejta-footer-col ul {
    list-style: none;
}

.blejta-footer-col a {
    color: #aaa;
    transition: var(--blejta-transition);
}

.blejta-footer-col a:hover {
    color: var(--blejta-primary);
}

.blejta-footer-logo {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    display: inline-block;
}

.blejta-footer-logo span {
    color: var(--blejta-primary);
}

.blejta-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.blejta-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--blejta-transition);
}

.blejta-social a:hover {
    background: var(--blejta-primary);
    transform: translateY(-3px);
}

.blejta-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.blejta-footer-bottom p {
    color: #888;
    font-size: 13px;
    margin: 0;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.blejta-page-header {
    background: var(--blejta-bg-alt);
    padding: 50px 0;
    text-align: center;
    border-bottom: 1px solid var(--blejta-border);
}

.blejta-page-title {
    font-size: 36px;
    margin-bottom: 12px;
    color: var(--blejta-secondary);
}

.blejta-breadcrumb {
    font-size: 13px;
    color: var(--blejta-text-light);
}

.blejta-breadcrumb a {
    color: var(--blejta-text-light);
}

.blejta-breadcrumb a:hover {
    color: var(--blejta-primary);
}

/* ============================================
   SHOP LAYOUT
   ============================================ */
/* ============================================
   SHOP LAYOUT - PRODUKTET DJATHTE 80% / SIDEBAR MAJTE 20%
   ============================================ */
.blejta-shop-layout {
    display: grid !important;
    grid-template-columns: 250px 1fr !important;
    gap: 30px !important;
    margin: 40px 0;
}

.blejta-shop-layout .blejta-sidebar {
    order: 1 !important;
    grid-column: 1 !important;
}

.blejta-shop-layout .blejta-shop-main {
    order: 2 !important;
    grid-column: 2 !important;
    min-width: 0;
}

/* Force WooCommerce shop to be wide */
.woocommerce.archive .blejta-shop-main,
.blejta-shop-main .woocommerce {
    width: 100% !important;
}

.blejta-sidebar {
    background: #fff;
    padding: 20px;
    border: 1px solid var(--blejta-border);
    border-radius: var(--blejta-radius);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.blejta-sidebar-widget {
    margin-bottom: 30px;
}

.blejta-sidebar-widget:last-child {
    margin-bottom: 0;
}

.blejta-sidebar-widget h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--blejta-secondary);
}

.blejta-sidebar-widget ul {
    list-style: none;
}

.blejta-sidebar-widget li {
    padding: 8px 0;
    border-bottom: 1px solid var(--blejta-border);
    font-size: 14px;
}

.blejta-sidebar-widget li:last-child {
    border-bottom: 0;
}

.blejta-sidebar-widget a {
    color: var(--blejta-text);
    display: flex;
    justify-content: space-between;
}

.blejta-sidebar-widget a:hover {
    color: var(--blejta-primary);
}

.blejta-sidebar-widget .count {
    color: var(--blejta-text-light);
    font-size: 12px;
}

/* ============================================
   SINGLE PRODUCT
   ============================================ */
.blejta-product-single {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin: 40px 0;
}

.blejta-product-gallery img {
    width: 100%;
    border-radius: var(--blejta-radius);
}

.blejta-product-summary h1 {
    font-size: 32px;
    margin-bottom: 12px;
}

.blejta-product-meta {
    color: var(--blejta-text-light);
    font-size: 13px;
    margin-bottom: 20px;
}

.blejta-product-summary .price {
    font-size: 28px;
    font-weight: 800;
    color: var(--blejta-primary);
    margin-bottom: 25px;
}

.blejta-product-summary .price del {
    color: var(--blejta-text-light);
    font-size: 18px;
    margin-right: 10px;
    font-weight: 400;
}

.blejta-product-description {
    margin-bottom: 30px;
    line-height: 1.8;
    color: var(--blejta-text-light);
}

/* ============================================
   CART PAGE
   ============================================ */
.blejta-cart-page {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    margin: 40px 0;
}

.blejta-cart-page-items {
    background: #fff;
    border: 1px solid var(--blejta-border);
    border-radius: var(--blejta-radius);
    overflow: hidden;
}

.blejta-cart-page-summary {
    background: var(--blejta-bg-alt);
    padding: 30px;
    border-radius: var(--blejta-radius);
    border: 1px solid var(--blejta-border);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.blejta-cart-page-summary h3 {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--blejta-secondary);
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.blejta-checkout-page {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.blejta-checkout-form-wrap {
    background: #fff;
    padding: 30px;
    border-radius: var(--blejta-radius);
    border: 1px solid var(--blejta-border);
}

.blejta-checkout-summary {
    background: var(--blejta-bg-alt);
    padding: 30px;
    border-radius: var(--blejta-radius);
    border: 1px solid var(--blejta-border);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.blejta-checkout-step {
    margin-bottom: 30px;
}

.blejta-checkout-step h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--blejta-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.blejta-checkout-step-number {
    width: 30px;
    height: 30px;
    background: var(--blejta-primary);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

/* ============================================
   MY ACCOUNT
   ============================================ */
.blejta-my-account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin: 40px 0;
}

.blejta-my-account-nav {
    background: #fff;
    border: 1px solid var(--blejta-border);
    border-radius: var(--blejta-radius);
    overflow: hidden;
    height: fit-content;
}

.blejta-my-account-nav ul {
    list-style: none;
}

.blejta-my-account-nav li {
    border-bottom: 1px solid var(--blejta-border);
}

.blejta-my-account-nav li:last-child {
    border-bottom: 0;
}

.blejta-my-account-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: var(--blejta-text);
    font-weight: 500;
    transition: var(--blejta-transition);
}

.blejta-my-account-nav a:hover,
.blejta-my-account-nav .is-active a {
    background: var(--blejta-primary);
    color: #fff;
}

.blejta-my-account-content {
    background: #fff;
    padding: 30px;
    border-radius: var(--blejta-radius);
    border: 1px solid var(--blejta-border);
}

/* ============================================
   PAGINATION
   ============================================ */
.blejta-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 40px 0;
}

.blejta-pagination a,
.blejta-pagination span {
    padding: 10px 16px;
    background: #fff;
    border: 1px solid var(--blejta-border);
    border-radius: var(--blejta-radius-sm);
    color: var(--blejta-text);
    font-weight: 500;
    transition: var(--blejta-transition);
}

.blejta-pagination .current,
.blejta-pagination a:hover {
    background: var(--blejta-secondary);
    color: #fff;
    border-color: var(--blejta-secondary);
}

/* ============================================
   BLOG POSTS
   ============================================ */
.blejta-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blejta-post-card {
    background: #fff;
    border-radius: var(--blejta-radius);
    overflow: hidden;
    box-shadow: var(--blejta-shadow);
    transition: var(--blejta-transition);
}

.blejta-post-card:hover {
    box-shadow: var(--blejta-shadow-lg);
    transform: translateY(-4px);
}

.blejta-post-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blejta-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blejta-post-content {
    padding: 25px;
}

.blejta-post-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--blejta-text-light);
    margin-bottom: 12px;
}

.blejta-post-title {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blejta-post-excerpt {
    color: var(--blejta-text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blejta-post-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blejta-primary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.blejta-back-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--blejta-secondary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--blejta-transition);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.blejta-back-top.show {
    opacity: 1;
    visibility: visible;
}

.blejta-back-top:hover {
    background: var(--blejta-primary);
    transform: translateY(-3px);
}

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */
.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: var(--blejta-secondary);
    color: #fff;
    border-radius: var(--blejta-radius-sm);
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    border: none;
    transition: var(--blejta-transition);
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background: var(--blejta-primary);
    color: #fff;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: var(--blejta-primary);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background: var(--blejta-primary-hover);
}

.woocommerce span.onsale {
    background: var(--blejta-primary);
    border-radius: 4px;
    font-weight: 700;
    padding: 5px 10px;
    min-height: auto;
    line-height: 1.5;
}

.woocommerce ul.products li.product .price {
    color: var(--blejta-secondary);
    font-weight: 700;
}

.woocommerce ul.products li.product .price ins {
    color: var(--blejta-primary);
    font-weight: 700;
}

/* WC form fields */
.woocommerce form .form-row {
    margin-bottom: 15px;
    padding: 0;
}

.woocommerce form .form-row label {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
    font-size: 13px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    padding: 12px 15px;
    border: 1px solid var(--blejta-border);
    border-radius: var(--blejta-radius-sm);
    font-size: 14px;
    width: 100%;
    transition: var(--blejta-transition);
    box-sizing: border-box;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--blejta-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 46, 45, 0.1);
}

/* Form rows side-by-side */
.woocommerce form .form-row-first,
.woocommerce form .form-row-last,
.woocommerce-page form .form-row-first,
.woocommerce-page form .form-row-last,
.form-row-first,
.form-row-last {
    width: calc(50% - 8px) !important;
    display: inline-block !important;
    vertical-align: top;
}

.woocommerce form .form-row-first,
.form-row-first {
    margin-right: 16px;
}

.woocommerce form .form-row-wide,
.form-row-wide {
    width: 100% !important;
    clear: both;
}

@media (max-width: 600px) {
    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last,
    .form-row-first,
    .form-row-last {
        width: 100% !important;
        margin-right: 0;
    }
}

/* WC tables */
.woocommerce table.shop_table {
    border: 1px solid var(--blejta-border);
    border-radius: var(--blejta-radius);
    overflow: hidden;
}

.woocommerce table.shop_table th {
    background: var(--blejta-bg-alt);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 15px;
}

.woocommerce table.shop_table td {
    padding: 15px;
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
    border-radius: var(--blejta-radius);
    padding: 15px 20px;
    border-top: none;
    border-left: 4px solid var(--blejta-primary);
}

.woocommerce-message {
    background: #d4edda;
    border-left-color: var(--blejta-success);
    color: #155724;
}

.woocommerce-info {
    background: #d1ecf1;
    border-left-color: #17a2b8;
    color: #0c5460;
}

.woocommerce-error {
    background: #f8d7da;
    border-left-color: var(--blejta-error);
    color: #721c24;
}

/* Quantity */
.woocommerce .quantity .qty {
    width: 80px;
    padding: 10px;
    border: 1px solid var(--blejta-border);
    border-radius: var(--blejta-radius-sm);
    text-align: center;
}

/* Single product gallery */
.woocommerce div.product div.images .flex-control-thumbs li {
    margin: 5px;
}

/* My Account */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
}

/* Checkout */
#order_review .shop_table {
    border-radius: var(--blejta-radius);
}

#payment {
    background: var(--blejta-bg-alt);
    border-radius: var(--blejta-radius);
    padding: 20px;
}

#payment ul.payment_methods {
    border-bottom: 1px solid var(--blejta-border);
}

#payment .payment_box {
    background: #fff;
    border-radius: var(--blejta-radius-sm);
}

/* ============================================
   RELATED / UPSELL PRODUCTS - FORCE SMALL!
   ============================================ */
.related.products,
.upsells.products,
.cross-sells {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--blejta-border);
    clear: both;
}

.related.products > h2,
.upsells.products > h2,
.cross-sells > h2 {
    font-size: 22px !important;
    margin-bottom: 20px !important;
}

/* Force grid layout - override WC defaults */
.woocommerce .related.products ul.products,
.woocommerce .upsells.products ul.products,
.woocommerce .related ul.products,
.woocommerce .upsells ul.products,
.woocommerce-page .related ul.products,
.woocommerce-page .upsells ul.products,
ul.products.columns-4,
.related ul.products.columns-4,
.upsells ul.products.columns-4 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Each related product card - small size */
.woocommerce .related.products ul.products li.product,
.woocommerce .upsells.products ul.products li.product,
.related ul.products li.product,
.upsells ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 12px !important;
    float: none !important;
    clear: none !important;
    background: #fff;
    border: 1px solid var(--blejta-border);
    border-radius: var(--blejta-radius);
}

.woocommerce .related.products ul.products li.product img,
.woocommerce .upsells.products ul.products li.product img,
.related ul.products li.product img,
.upsells ul.products li.product img {
    width: 100% !important;
    height: 200px !important;
    max-height: 200px !important;
    object-fit: cover !important;
    border-radius: var(--blejta-radius-sm);
    margin: 0 !important;
}

.woocommerce .related.products ul.products li.product .woocommerce-loop-product__title,
.woocommerce .upsells.products ul.products li.product .woocommerce-loop-product__title,
.related ul.products li.product h2.woocommerce-loop-product__title,
.related ul.products li.product .woocommerce-loop-product__title,
.upsells ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px !important;
    margin: 8px 0 4px !important;
    padding: 0 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4 !important;
}

.related.products ul.products li.product .price,
.upsells.products ul.products li.product .price {
    font-size: 14px !important;
    color: var(--blejta-primary) !important;
    margin: 0 !important;
}

.related.products ul.products li.product .button,
.upsells.products ul.products li.product .button {
    font-size: 11px !important;
    padding: 8px 12px !important;
    margin-top: 6px !important;
    width: 100%;
    text-align: center;
}

/* ============================================
   WC PRODUCTS LIST (shop archive)
   ============================================ */
.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
}

/* ============================================
   SIZE SELECTOR BUTTONS (variable products)
   ============================================ */
.blejta-size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 0 0;
}

.blejta-size-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 42px;
    padding: 0 16px;
    border: 2px solid var(--blejta-border);
    border-radius: var(--blejta-radius-sm);
    background: #fff;
    color: var(--blejta-text);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--blejta-transition);
    text-transform: uppercase;
}

.blejta-size-btn:hover {
    border-color: var(--blejta-secondary);
    background: var(--blejta-bg-alt);
}

.blejta-size-btn.selected,
.blejta-size-btn.active {
    border-color: var(--blejta-primary) !important;
    background: var(--blejta-primary) !important;
    color: #fff !important;
}

.blejta-size-btn:disabled,
.blejta-size-btn.out-of-stock {
    opacity: 0.4;
    text-decoration: line-through;
    cursor: not-allowed;
    pointer-events: none;
}

/* Style WC variations table */
.variations_form .variations {
    margin-bottom: 20px;
    border: none;
}

.variations_form .variations td,
.variations_form .variations th {
    border: none !important;
    padding: 8px 0 !important;
    background: transparent !important;
}

.variations_form .variations td.label label {
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

.variations_form .single_variation_wrap .woocommerce-variation-price {
    margin: 15px 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--blejta-primary);
}

.reset_variations {
    display: inline-block;
    margin-left: 10px;
    color: var(--blejta-text-light);
    font-size: 12px;
    text-decoration: underline;
}

.woocommerce-variation-availability {
    margin: 10px 0;
    padding: 10px;
    background: var(--blejta-bg-alt);
    border-radius: var(--blejta-radius-sm);
    font-size: 13px;
}

/* ============================================
   SINGLE PRODUCT - Add to Cart Button (PROMINENT)
   ============================================ */
.woocommerce div.product form.cart {
    margin: 20px 0 30px;
}

.woocommerce div.product form.cart .quantity {
    margin-right: 10px;
}

.woocommerce div.product form.cart .quantity input.qty {
    width: 80px !important;
    height: 50px !important;
    padding: 12px !important;
    border: 2px solid var(--blejta-border) !important;
    border-radius: var(--blejta-radius-sm) !important;
    font-size: 16px !important;
    font-weight: 600;
    text-align: center;
}

.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce div.product form.cart button.single_add_to_cart_button {
    background: var(--blejta-primary) !important;
    color: #fff !important;
    padding: 15px 35px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    border-radius: var(--blejta-radius-sm) !important;
    cursor: pointer !important;
    height: 50px !important;
    min-width: 220px !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(212, 46, 45, 0.3) !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.woocommerce div.product form.cart button.single_add_to_cart_button:hover {
    background: var(--blejta-primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 46, 45, 0.4) !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button.disabled,
.woocommerce div.product form.cart button.single_add_to_cart_button:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    background: #999 !important;
    box-shadow: none !important;
}

/* Variations form button styling */
.woocommerce div.product .variations_form .single_variation_wrap {
    margin-top: 20px;
}

/* Make sure button is always visible */
.woocommerce-variation-add-to-cart {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.woocommerce-variation-add-to-cart.woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* Single product page layout responsive */
@media (max-width: 768px) {
    .woocommerce div.product form.cart .single_add_to_cart_button {
        width: 100% !important;
        min-width: 100% !important;
    }
    
    .woocommerce div.product form.cart .quantity {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .woocommerce div.product form.cart .quantity input.qty {
        width: 100% !important;
    }
}

/* ============================================
   SINGLE PRODUCT - Add to Cart Button END
   ============================================ */
.blejta-wishlist-btn {
    transition: all 0.3s ease !important;
}

.blejta-wishlist-btn:hover,
.blejta-wishlist-btn.in-wishlist {
    background: var(--blejta-primary) !important;
    color: #fff !important;
    border-color: var(--blejta-primary) !important;
}

.blejta-wishlist-btn.in-wishlist i {
    color: #fff !important;
    animation: blejta-heart-beat 0.6s ease;
}

@keyframes blejta-heart-beat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.95); }
    75% { transform: scale(1.15); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .blejta-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .blejta-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blejta-cart-page,
    .blejta-checkout-page {
        grid-template-columns: 1fr;
    }
    .blejta-cart-page-summary,
    .blejta-checkout-summary {
        position: static;
    }
}

@media (max-width: 992px) {
    .blejta-header-inner {
        grid-template-columns: auto auto;
    }
    
    .blejta-search {
        order: 3;
        grid-column: 1 / -1;
        max-width: 100%;
    }
    
    .blejta-mobile-toggle {
        display: block;
    }
    
    .blejta-nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: var(--blejta-shadow-lg);
        padding: 20px;
        z-index: 99;
    }
    
    .blejta-nav-menu.active {
        display: flex;
    }
    
    .blejta-shop-layout,
    .blejta-my-account-layout {
        grid-template-columns: 1fr !important;
    }
    
    .blejta-shop-layout .blejta-sidebar {
        order: 2 !important;
        position: static !important;
        grid-column: 1 !important;
    }
    
    .blejta-shop-layout .blejta-shop-main {
        order: 1 !important;
        grid-column: 1 !important;
    }
    
    /* Mobile: collapse sidebar into accordion */
    .blejta-sidebar-widget {
        margin-bottom: 15px;
    }
    
    .related.products ul.products,
    .upsells.products ul.products,
    .woocommerce ul.products,
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .blejta-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blejta-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blejta-product-single {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blejta-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .blejta-posts-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .blejta-hero-title {
        font-size: 36px;
    }
    
    .blejta-section-title {
        font-size: 28px;
    }
    
    .blejta-cart-drawer {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .blejta-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .blejta-categories-grid,
    .blejta-features-grid,
    .blejta-footer-grid,
    .blejta-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blejta-hero-title {
        font-size: 28px;
    }
    
    .blejta-section-title {
        font-size: 24px;
    }
    
    .blejta-topbar {
        font-size: 11px;
    }
    
    .blejta-topbar-info {
        gap: 10px;
    }
    
    .blejta-product-info {
        padding: 10px;
    }
    
    .blejta-product-title {
        font-size: 12px;
    }
    
    .blejta-product-price {
        font-size: 14px;
    }
    
    .blejta-section {
        padding: 40px 0;
    }
    
    .blejta-floating-cart {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .blejta-back-top {
        bottom: 85px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .blejta-toast {
        right: 20px;
        left: 20px;
        max-width: none;
    }
}
