/**
 * ez-gan WooCommerce Styles
 *
 * Comprehensive styling for Shop, Product, Cart, and Checkout pages
 * Following ez-gan design system - warm, playful, kindergarten-friendly
 *
 * @package ez-gan
 */

/* ============================================================================
   GENERAL WOOCOMMERCE OVERRIDES
   ============================================================================ */

.woocommerce {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    margin-bottom: 24px;
}

/* Page Titles */
.woocommerce-products-header__title,
.woocommerce .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ez-text);
    margin-bottom: 8px;
    text-align: center;
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
    font-size: 14px;
    color: var(--ez-text-light);
    margin-bottom: 32px;
    text-align: center;
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--ez-primary-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* ============================================================================
   SHOP PAGE - PRODUCT ARCHIVE
   ============================================================================ */

/* Subtle decorative corner accents */
body.woocommerce-page::before,
body.post-type-archive-product::before {
    content: '';
    position: fixed;
    top: 100px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(62, 207, 178, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body.woocommerce-page::after,
body.post-type-archive-product::after {
    content: '';
    position: fixed;
    bottom: 100px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 171, 145, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Shop Container */
.woocommerce-page .site-main,
.woocommerce-shop .site-main,
.post-type-archive-product .site-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 24px;
}

/* Shop Header - Clean & Minimal */
.woocommerce-shop .woocommerce-products-header,
.post-type-archive-product .woocommerce-products-header {
    text-align: center;
    margin-bottom: 24px;
    padding: 0 0 16px;
    position: relative;
}

.woocommerce-shop .woocommerce-products-header__title,
.post-type-archive-product .woocommerce-products-header .page-title {
    color: var(--ez-text);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

/* Subtle accent underline */
.woocommerce-shop .woocommerce-products-header__title::after,
.post-type-archive-product .woocommerce-products-header .page-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--ez-primary), var(--ez-secondary));
    border-radius: 2px;
}

/* Optional subtitle/description */
.woocommerce-products-header p,
.woocommerce-products-header .term-description {
    color: var(--ez-text-light);
    font-size: 1.05rem;
    margin: 16px auto 0;
    max-width: 500px;
}

/* ============================================================================
   SHOP FILTERS BAR - "Soft Playground" Design
   Warm, tactile, kindergarten-friendly filter experience
   ============================================================================ */

.ezgan-shop-filters {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(230,255,250,0.4) 100%);
    backdrop-filter: blur(10px);
    border-radius: var(--ez-radius-lg);
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    box-shadow:
        0 4px 24px rgba(62, 207, 178, 0.08),
        0 1px 3px rgba(0,0,0,0.04),
        inset 0 1px 0 rgba(255,255,255,0.8);
    border: 1px solid rgba(62, 207, 178, 0.12);
    position: relative;
    overflow: visible;
}

/* Subtle decorative accent */
.ezgan-shop-filters::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,171,145,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.ezgan-filters-form {
    margin: 0;
    position: relative;
    z-index: 1;
}

.ezgan-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

/* Filter Groups - Unified Style */
.ezgan-filter-group {
    flex: 1;
    min-width: 140px;
    position: relative;
}

.ezgan-filter-group.ezgan-filter-search {
    flex: 1.8;
    min-width: 180px;
}

.ezgan-filter-group.ezgan-filter-price {
    flex: 2;
    min-width: 220px;
}

/* Hide labels visually - placeholders will guide users */
.ezgan-filter-group label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Pill-shaped inputs with soft shadows */
.ezgan-filter-group select,
.ezgan-filter-group input[type="text"] {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.875rem;
    font-family: inherit;
    border: 2px solid transparent;
    border-radius: var(--ez-radius-full);
    background: var(--ez-surface);
    color: var(--ez-text);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.04),
        inset 0 1px 2px rgba(0,0,0,0.02);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.ezgan-filter-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.875rem center;
    padding-left: 2.25rem;
}

.ezgan-filter-group input[type="text"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.875rem center;
    padding-left: 2.5rem;
}

.ezgan-filter-group select:hover,
.ezgan-filter-group input[type="text"]:hover {
    box-shadow:
        0 4px 12px rgba(62, 207, 178, 0.12),
        inset 0 1px 2px rgba(0,0,0,0.02);
    border-color: rgba(62, 207, 178, 0.3);
}

.ezgan-filter-group select:focus,
.ezgan-filter-group input[type="text"]:focus {
    outline: none;
    border-color: var(--ez-primary);
    box-shadow:
        0 0 0 4px rgba(62, 207, 178, 0.15),
        0 4px 12px rgba(62, 207, 178, 0.1);
}

/* Placeholder styling */
.ezgan-filter-group input::placeholder {
    color: var(--ez-text-light);
    opacity: 0.8;
}

/* ============================================================================
   PRICE SLIDER - Floating Bubbles Design
   ============================================================================ */

.ezgan-price-slider-wrapper {
    position: relative;
    height: 44px;
    padding: 0 36px;
    cursor: pointer;
    background: var(--ez-surface);
    border-radius: var(--ez-radius-full);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.04),
        inset 0 1px 2px rgba(0,0,0,0.02);
    transition: all 0.25s ease;
}

.ezgan-price-slider-wrapper:hover {
    box-shadow:
        0 4px 12px rgba(62, 207, 178, 0.12),
        inset 0 1px 2px rgba(0,0,0,0.02);
}

/* Track - subtle rounded bar, vertically centered */
.ezgan-price-slider-wrapper .ezgan-slider-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 36px;
    right: 36px;
    height: 4px;
    background: linear-gradient(90deg, #e8f4f1 0%, #f0e8e4 100%);
    border-radius: 2px;
}

/* Active range - gradient mint to peach */
.ezgan-price-slider-wrapper .ezgan-slider-range {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background: linear-gradient(90deg, var(--ez-primary) 0%, var(--ez-secondary) 100%);
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(62, 207, 178, 0.3);
}

/* Draggable thumbs - playful circles */
.ezgan-thumb {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    margin-right: -9px;
    background: linear-gradient(135deg, var(--ez-primary) 0%, var(--ez-primary-dark) 100%);
    border: 3px solid white;
    border-radius: 50%;
    cursor: grab;
    box-shadow:
        0 2px 8px rgba(62, 207, 178, 0.4),
        0 1px 2px rgba(0,0,0,0.1);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
    z-index: 2;
    touch-action: none;
}

.ezgan-thumb:hover {
    transform: translateY(-50%) scale(1.15);
    box-shadow:
        0 4px 16px rgba(62, 207, 178, 0.5),
        0 2px 4px rgba(0,0,0,0.1);
}

.ezgan-thumb.active {
    transform: translateY(-50%) scale(1.25);
    cursor: grabbing;
    box-shadow:
        0 6px 20px rgba(62, 207, 178, 0.5),
        0 2px 4px rgba(0,0,0,0.15);
}

/* Floating price bubbles - soft pill shape */
.ezgan-thumb-bubble {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 10px;
    background: var(--ez-text);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    border-radius: var(--ez-radius-full);
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(45, 55, 72, 0.25);
    opacity: 0.95;
}

/* Bubble arrow - tiny triangle */
.ezgan-thumb-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--ez-text);
}


/* ============================================================================
   FILTER BUTTONS - Playful Pills
   ============================================================================ */

.ezgan-filter-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.ezgan-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--ez-radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    white-space: nowrap;
}

.ezgan-btn svg {
    width: 14px;
    height: 14px;
}

.ezgan-btn-primary {
    background: linear-gradient(135deg, var(--ez-primary) 0%, var(--ez-primary-dark) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(62, 207, 178, 0.3);
}

.ezgan-btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(62, 207, 178, 0.4);
    color: white;
}

.ezgan-btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.ezgan-btn-secondary {
    background: rgba(45, 55, 72, 0.06);
    color: var(--ez-text);
}

.ezgan-btn-secondary:hover {
    background: rgba(45, 55, 72, 0.1);
    color: var(--ez-text);
}

/* ============================================================================
   ACTIVE FILTERS TAGS - Playful Pills
   ============================================================================ */

.ezgan-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.875rem;
    padding-top: 0.875rem;
    border-top: 1px dashed rgba(62, 207, 178, 0.2);
}

.ezgan-active-label {
    font-size: 0.75rem;
    color: var(--ez-text-light);
    font-weight: 500;
    opacity: 0.8;
}

.ezgan-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.35rem 0.625rem 0.35rem 0.875rem;
    background: linear-gradient(135deg, var(--ez-primary-light) 0%, rgba(255,171,145,0.15) 100%);
    color: var(--ez-primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--ez-radius-full);
    border: 1px solid rgba(62, 207, 178, 0.15);
    transition: all 0.2s ease;
}

.ezgan-filter-tag:hover {
    background: var(--ez-primary-light);
    border-color: rgba(62, 207, 178, 0.3);
}

.ezgan-tag-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: rgba(45, 184, 157, 0.15);
    border-radius: 50%;
    color: var(--ez-primary-dark);
    text-decoration: none;
    font-size: 12px;
    line-height: 1;
    transition: all 0.2s ease;
}

.ezgan-tag-remove:hover {
    background: var(--ez-primary);
    color: white;
    transform: scale(1.1);
}

.ezgan-clear-all {
    font-size: 0.75rem;
    color: var(--ez-text-light);
    text-decoration: none;
    margin-right: auto;
    padding: 0.25rem 0.5rem;
    border-radius: var(--ez-radius-sm);
    transition: all 0.2s ease;
}

.ezgan-clear-all:hover {
    color: var(--ez-primary-dark);
    background: rgba(62, 207, 178, 0.08);
}

/* No Products Found */
.ezgan-no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--ez-surface) 0%, var(--ez-primary-light) 100%);
    border-radius: var(--ez-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.ezgan-no-products p {
    color: var(--ez-text-light);
    margin: 0;
    font-size: 1rem;
}

/* ============================================================================
   RESPONSIVE FILTERS
   ============================================================================ */

@media (max-width: 992px) {
    .ezgan-filters-row {
        flex-wrap: wrap;
    }

    .ezgan-filter-group {
        min-width: calc(50% - 0.5rem);
    }

    .ezgan-filter-group.ezgan-filter-search {
        min-width: 100%;
        order: -1;
    }

    .ezgan-filter-group.ezgan-filter-price {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .ezgan-shop-filters {
        padding: 0.875rem;
        border-radius: var(--ez-radius-md);
    }

    .ezgan-filters-row {
        flex-direction: column;
        gap: 0.625rem;
    }

    .ezgan-filter-group,
    .ezgan-filter-group.ezgan-filter-search,
    .ezgan-filter-group.ezgan-filter-price {
        width: 100%;
        min-width: 100%;
    }

    .ezgan-price-slider-wrapper {
        padding: 0 28px;
    }

    .ezgan-price-slider-wrapper .ezgan-slider-track {
        left: 28px;
        right: 28px;
    }

    .ezgan-price-slider-wrapper .ezgan-slider-range {
        /* JS calculates position dynamically */
    }

    .ezgan-filter-actions {
        width: 100%;
        margin-top: 0.25rem;
    }

    .ezgan-filter-actions .ezgan-btn {
        flex: 1;
    }

    .ezgan-active-filters {
        justify-content: center;
    }

    .ezgan-clear-all {
        margin-right: 0;
        margin-top: 0.25rem;
        width: 100%;
        text-align: center;
    }
}

/* Shop Controls Bar */
.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
    font-size: 14px;
    color: var(--ez-text-light);
}

.woocommerce .woocommerce-ordering select {
    padding: 12px 40px 12px 16px;
    font-family: inherit;
    font-size: 14px;
    border: 1px solid var(--ez-gray-300);
    border-radius: var(--ez-radius-sm);
    background-color: var(--ez-surface);
    color: var(--ez-text);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23718096' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce .woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--ez-primary);
    box-shadow: 0 0 0 3px var(--ez-primary-light);
}

/* ============================================================================
   PRODUCT GRID - "Toy Store Cards" Design
   Playful, tactile cards that feel like friendly building blocks
   ============================================================================ */

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 0;
    margin: 0 0 3rem;
    list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

/* Product Card - Soft Floating Block */
.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0;
    float: none !important;
    background: var(--ez-surface);
    border-radius: var(--ez-radius-lg);
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 50px rgba(62, 207, 178, 0.18),
        0 10px 25px rgba(62, 207, 178, 0.08),
        0 4px 10px rgba(0, 0, 0, 0.04);
}

/* Product Image Container */
.woocommerce ul.products li.product .woocommerce-loop-product__link {
    display: block;
    overflow: hidden;
    position: relative;
}

.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .woocommerce-LoopProduct-link img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #f8fafb;
    margin: 0;
    padding: 1rem;
    border-radius: 0;
    transition: transform 0.35s ease;
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.08);
}

.woocommerce ul.products li.product .attachment-woocommerce_thumbnail {
    display: block;
}

/* Product Content Area */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ez-text);
    margin: 0;
    padding: 1rem 1rem 0.625rem;
    line-height: 1.5;
    min-height: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce ul.products li.product:hover h2 {
    color: var(--ez-primary-dark);
}

/* Product Price - Clean Badge */
.woocommerce ul.products li.product .price {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 1rem 0.75rem;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ez-primary-dark);
    background: var(--ez-primary-light);
    border-radius: var(--ez-radius-sm);
}

.woocommerce ul.products li.product .price del {
    color: var(--ez-text-light);
    font-size: 0.8125rem;
    font-weight: 400;
    opacity: 0.7;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    background: none;
}

/* Sale Badge */
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    left: auto;
    min-width: auto;
    min-height: auto;
    padding: 0.3rem 0.625rem;
    background: var(--ez-secondary);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: var(--ez-radius-sm);
    z-index: 10;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(255, 171, 145, 0.3);
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button {
    display: block;
    width: calc(100% - 2rem);
    margin: 0.5rem 1rem 1rem;
    padding: 0.7rem 1rem;
    background: var(--ez-primary);
    color: white !important;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--ez-radius-sm);
    cursor: pointer;
    transition: all 0.25s ease;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.add_to_cart_button:hover {
    background: var(--ez-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(62, 207, 178, 0.3);
}

/* Added to cart confirmation */
.woocommerce ul.products li.product .added_to_cart {
    display: block;
    text-align: center;
    padding: 0.5rem 1rem;
    margin: 0 1rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ez-primary-dark);
    background: var(--ez-primary-light);
    border-radius: var(--ez-radius-sm);
    text-decoration: none;
}

/* Product Rating Stars */
.woocommerce ul.products li.product .star-rating {
    display: flex;
    justify-content: flex-start;
    margin: 0 1rem 0.5rem;
    font-size: 0.8rem;
    color: var(--ez-accent);
}

/* Out of Stock */
.woocommerce ul.products li.product.outofstock .button {
    background: #e2e8f0;
    color: var(--ez-text-light) !important;
    cursor: not-allowed;
}

.woocommerce ul.products li.product.outofstock .button:hover {
    transform: none;
    box-shadow: none;
    background: #e2e8f0;
}

/* ============================================================================
   SINGLE PRODUCT PAGE - "Cozy Paper Craft Shop"
   Warm, inviting design that feels like browsing a friendly kindergarten store
   ============================================================================ */

/* Page-level warm ambiance with paper texture */
.single-product {
    background:
        /* Subtle dot pattern like craft paper */
        radial-gradient(circle at 20% 80%, rgba(255, 171, 145, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(62, 207, 178, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 215, 61, 0.05) 0%, transparent 30%),
        /* Base warm cream */
        linear-gradient(180deg, #FBF9F7 0%, #FFF8F5 50%, #F8FAF9 100%);
    min-height: 100vh;
}

/* Floating decorative shapes */
.single-product .site-main {
    position: relative;
    overflow: visible;
}

.single-product .site-main::before {
    content: '';
    position: absolute;
    top: 40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(255, 171, 145, 0.35) 0%, rgba(255, 171, 145, 0.15) 100%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
    animation: floatShape1 12s ease-in-out infinite;
}

.single-product .site-main::after {
    content: '';
    position: absolute;
    bottom: 200px;
    left: -60px;
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, rgba(62, 207, 178, 0.3) 0%, rgba(62, 207, 178, 0.1) 100%);
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
    animation: floatShape2 15s ease-in-out infinite;
}

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 30px) scale(1.1); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(0.95); }
}

/* Single Product Page Container */
.woocommerce div.product {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    position: relative;
    z-index: 1;
}

/* Product Layout Container - CSS GRID for reliable alignment */
.woocommerce div.product {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start !important; /* Top alignment for all grid items */
}

/* ============================================================================
   IMAGE & SUMMARY COLUMNS - SAME ROW, TOP ALIGNED
   ============================================================================ */

/* RTL: Summary on right (column 1), Image on left (column 2) - BOTH IN ROW 1 */
.woocommerce div.product div.images,
.woocommerce div.product div.images.woocommerce-product-gallery {
    grid-column: 2 !important;
    grid-row: 1 !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    clear: none !important;
    align-self: start !important; /* CSS Grid alignment */
    position: relative;
    /* Card styling */
    background: linear-gradient(160deg, #ffffff 0%, #FFFBF8 60%, #F8FFFC 100%);
    border-radius: 24px;
    padding: 32px;
    box-shadow:
        0 20px 60px rgba(255, 171, 145, 0.12),
        0 8px 25px rgba(62, 207, 178, 0.06),
        0 2px 6px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 171, 145, 0.12);
}

.woocommerce div.product div.summary,
.woocommerce div.product div.summary.entry-summary {
    grid-column: 1 !important;
    grid-row: 1 !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    clear: none !important;
    align-self: start !important; /* CSS Grid alignment */
}

/* Reset first-child margins inside both containers */
.woocommerce div.product div.images > *:first-child,
.woocommerce div.product div.summary > *:first-child {
    margin-top: 0 !important;
}

/* Override all legacy WooCommerce selectors */
.woocommerce #content div.product div.images,
.woocommerce-page #content div.product div.images,
.woocommerce-page div.product div.images,
.woocommerce #content div.product div.summary,
.woocommerce-page #content div.product div.summary,
.woocommerce-page div.product div.summary {
    float: none !important;
    margin: 0 !important;
    width: 100% !important;
}

/* CRITICAL: Force grid placement with maximum specificity */
body.single-product .woocommerce div.product div.images.woocommerce-product-gallery,
body.single-product .woocommerce div.product > div.images,
body.single-product div.product > div.images {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: start !important;
    margin-top: 0 !important;
}

body.single-product .woocommerce div.product div.summary.entry-summary,
body.single-product .woocommerce div.product > div.summary,
body.single-product div.product > div.summary {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: start !important;
    margin-top: 0 !important;
}

/* Tabs and related span full width in grid */
.woocommerce div.product .woocommerce-tabs {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
}

.woocommerce div.product .related.products {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related.products {
    flex: 1 1 100%;
    order: 3;
}

/* ============================================================================
   PRODUCT GALLERY - Cozy craft shop display
   ============================================================================ */

/* Gallery wrapper - reset all margins */
.woocommerce div.product div.images .woocommerce-product-gallery {
    position: relative;
    margin: 0 !important;
    padding: 0;
}

.woocommerce div.product div.images .flex-viewport,
.woocommerce div.product div.images .woocommerce-product-gallery__image,
.woocommerce div.product div.images figure,
.woocommerce div.product div.images .woocommerce-product-gallery figure {
    margin: 0 !important;
}

/* Main image container - simple since parent is styled */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    background: transparent;
    border-radius: 16px;
    padding: 0;
    position: relative;
    z-index: 1;
    box-shadow: none;
    border: none;
    overflow: hidden;
}

.woocommerce div.product div.images img {
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper:hover img {
    transform: scale(1.02);
}

/* Zoom trigger - playful floating button */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    position: absolute;
    top: 32px;
    left: 32px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ffffff 0%, #FFF8F5 100%);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 6px 20px rgba(255, 171, 145, 0.25),
        0 2px 6px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(255, 171, 145, 0.2);
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger:hover {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, var(--ez-primary-light) 0%, #E6FFFA 100%);
    border-color: var(--ez-primary);
    box-shadow:
        0 10px 30px rgba(62, 207, 178, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Thumbnails - cozy strip with warm shadows */
.woocommerce div.product div.images .flex-control-thumbs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #FFFCFA 100%);
    border-radius: 100px;
    box-shadow:
        0 8px 24px rgba(255, 171, 145, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    list-style: none;
    border: 1px solid rgba(255, 171, 145, 0.1);
}

.woocommerce div.product div.images .flex-control-thumbs li {
    flex: 0 0 auto;
    width: 56px;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: none;
    border: 2px solid transparent;
}

.woocommerce div.product div.images .flex-control-thumbs li img:hover {
    opacity: 0.85;
    transform: scale(1.08) translateY(-2px);
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
    opacity: 1;
    border-color: var(--ez-secondary);
    box-shadow: 0 4px 12px rgba(255, 171, 145, 0.35);
    transform: scale(1.08);
}

/* ============================================================================
   PRODUCT SUMMARY - Cozy info card with sticker-style elements
   ============================================================================ */

.woocommerce div.product div.summary {
    background: linear-gradient(160deg, #ffffff 0%, #FFFBF8 60%, #F8FFFC 100%);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    box-shadow:
        0 20px 60px rgba(255, 171, 145, 0.12),
        0 8px 25px rgba(62, 207, 178, 0.06),
        0 2px 6px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 171, 145, 0.12);
}

/* Decorative corner dot */
.woocommerce div.product div.summary::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 24px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(62, 207, 178, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(15px);
    pointer-events: none;
}

/* Product Title - warm and friendly */
.woocommerce div.product .product_title {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--ez-text);
    margin: 0 0 16px;
    line-height: 1.35;
    letter-spacing: -0.02em;
    position: relative;
    padding-right: 16px;
}

/* Subtle accent line */
.woocommerce div.product .product_title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    width: 4px;
    height: calc(100% - 16px);
    background: linear-gradient(180deg, var(--ez-secondary) 0%, var(--ez-primary) 100%);
    border-radius: 2px;
}

/* Star Rating - sticker style */
.woocommerce div.product .woocommerce-product-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 8px 16px 8px 12px;
    background: linear-gradient(135deg, rgba(255, 215, 61, 0.2) 0%, rgba(255, 215, 61, 0.08) 100%);
    border-radius: 100px;
    border: 1px dashed rgba(255, 215, 61, 0.4);
    transform: rotate(-1deg);
}

.woocommerce .star-rating {
    color: #F6AD55;
    font-size: 14px;
}

.woocommerce .woocommerce-review-link {
    font-size: 13px;
    color: var(--ez-text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.woocommerce .woocommerce-review-link:hover {
    color: var(--ez-primary-dark);
}

/* Product Price - sticker badge style (outer container only - p or span) */
.woocommerce div.product div.summary > p.price,
.woocommerce div.product div.summary > span.price {
    display: inline-block;
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--ez-primary-dark);
    margin-bottom: 28px;
    padding: 14px 24px;
    background: linear-gradient(145deg, var(--ez-primary-light) 0%, #D4FAF4 100%);
    border-radius: 16px;
    position: relative;
    transform: rotate(-1.5deg);
    box-shadow:
        0 6px 20px rgba(62, 207, 178, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(62, 207, 178, 0.15);
}

/* Price "sticker" effect - pin dot */
.woocommerce div.product div.summary > p.price::before,
.woocommerce div.product div.summary > span.price::before {
    content: '';
    position: absolute;
    top: -3px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Reset ALL nested elements inside price - no badge styling */
.woocommerce div.product div.summary > .price span,
.woocommerce div.product div.summary > .price .woocommerce-Price-amount,
.woocommerce div.product div.summary > .price bdi {
    display: inline;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    transform: none;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.woocommerce div.product div.summary > .price span::before,
.woocommerce div.product div.summary > .price bdi::before {
    display: none;
}

.woocommerce div.product div.summary > .price del,
.woocommerce div.product div.summary > .price del span {
    color: var(--ez-text-light);
    font-size: 1rem;
    font-weight: 400;
    margin-left: 12px;
    opacity: 0.6;
}

.woocommerce div.product div.summary > .price ins,
.woocommerce div.product div.summary > .price ins span {
    text-decoration: none;
    background: none;
}

/* Short Description - friendly text */
.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--ez-text-light);
    margin-bottom: 28px;
    padding: 20px;
    background: rgba(251, 249, 247, 0.6);
    border-radius: 14px;
    border: 1px dashed rgba(255, 171, 145, 0.25);
    position: relative;
}

/* Stock Status - playful badge */
.woocommerce div.product .stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 24px;
    transform: rotate(1deg);
}

.woocommerce div.product .stock.in-stock {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.15) 0%, rgba(72, 187, 120, 0.08) 100%);
    color: #2F855A;
    border: 2px dashed rgba(72, 187, 120, 0.4);
}

.woocommerce div.product .stock.in-stock::before {
    content: '✓';
    font-size: 11px;
    background: #48BB78;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce div.product .stock.out-of-stock {
    background: linear-gradient(135deg, rgba(252, 129, 129, 0.15) 0%, rgba(252, 129, 129, 0.08) 100%);
    color: #C53030;
    border: 2px dashed rgba(252, 129, 129, 0.4);
}

.woocommerce div.product .stock.out-of-stock::before {
    content: '✕';
    font-size: 10px;
    background: #E53E3E;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================================
   VARIATIONS - Clean, minimal (no container)
   ============================================================================ */

.woocommerce div.product form.cart .variations {
    width: 100%;
    margin-bottom: 20px;
    border: none;
    background: transparent;
    padding: 0;
}

.woocommerce div.product form.cart .variations tbody {
    display: block;
}

.woocommerce div.product form.cart .variations tr {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.woocommerce div.product form.cart .variations td.label {
    padding: 0;
}

.woocommerce div.product form.cart .variations td.label label {
    font-weight: 600;
    color: var(--ez-text);
    font-size: 14px;
}

.woocommerce div.product form.cart .variations td.value {
    padding: 0;
}

/* Hide native select when custom dropdown is active */
.woocommerce div.product form.cart .variations select {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

/* ============================================================================
   CUSTOM DROPDOWN - Cozy Paper Craft Shop aesthetic
   ============================================================================ */

.ezgan-custom-select {
    position: relative;
    width: 100%;
}

/* Trigger button */
.ezgan-select-trigger {
    width: 100%;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    border: 2px solid rgba(255, 171, 145, 0.25);
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #FFFBF8 100%);
    color: var(--ez-text);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(255, 171, 145, 0.08);
    text-align: right;
}

.ezgan-select-trigger:hover {
    border-color: var(--ez-secondary);
    box-shadow: 0 4px 16px rgba(255, 171, 145, 0.18);
    transform: translateY(-1px);
}

.ezgan-custom-select.is-open .ezgan-select-trigger {
    border-color: var(--ez-primary);
    border-radius: 14px 14px 0 0;
    box-shadow:
        0 0 0 4px rgba(62, 207, 178, 0.12),
        0 4px 16px rgba(62, 207, 178, 0.15);
}

/* Arrow icon */
.ezgan-select-arrow {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.ezgan-select-arrow svg {
    width: 14px;
    height: 14px;
    stroke: var(--ez-secondary);
    stroke-width: 2.5;
    fill: none;
}

.ezgan-custom-select.is-open .ezgan-select-arrow {
    transform: rotate(180deg);
}

/* Dropdown list */
.ezgan-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-top: none;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.2s ease;
}

.ezgan-custom-select.is-open .ezgan-select-dropdown {
    max-height: 220px;
    overflow-y: auto;
    opacity: 1;
}

/* Options list */
.ezgan-select-options {
    padding: 6px;
    list-style: none;
    margin: 0;
}

/* Individual option */
.ezgan-select-option {
    padding: 10px 14px;
    font-size: 15px;
    color: var(--ez-text);
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.15s ease;
}

/* Hover state */
.ezgan-select-option:hover {
    background: var(--ez-background);
}

/* Selected state */
.ezgan-select-option.is-selected {
    background: var(--ez-primary-light);
    font-weight: 600;
}

/* Hide reset/clear button (נקה) */
.woocommerce div.product form.cart .reset_variations {
    display: none !important;
}

/* Hide the variation price that appears under dropdown */
.woocommerce div.product .woocommerce-variation-price,
.woocommerce div.product .woocommerce-variation-availability,
.woocommerce div.product .single_variation_wrap .woocommerce-variation {
    display: none !important;
}

/* Variable product - Add to cart wrapper styling */
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 14px;
    width: 100%;
}

.woocommerce div.product form.cart .single_variation_wrap {
    width: 100%;
}

/* ============================================================================
   QUANTITY & ADD TO CART - Playful, inviting CTA
   ============================================================================ */

.woocommerce div.product form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 28px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(62, 207, 178, 0.06) 0%, rgba(255, 171, 145, 0.06) 100%);
    border-radius: 18px;
    border: 1px solid rgba(62, 207, 178, 0.1);
}

/* Quantity selector - Playful rounded container */
.woocommerce .quantity {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #FFFCFA 100%);
    border: 2px solid rgba(255, 171, 145, 0.25);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 3px 12px rgba(255, 171, 145, 0.1);
}

.woocommerce .quantity:hover {
    border-color: var(--ez-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 171, 145, 0.18);
}

.woocommerce .quantity:focus-within {
    border-color: var(--ez-primary);
    box-shadow:
        0 0 0 4px rgba(62, 207, 178, 0.12),
        0 6px 20px rgba(62, 207, 178, 0.15);
}

.woocommerce .quantity .qty {
    width: 60px;
    padding: 16px 8px;
    text-align: center;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    color: var(--ez-text);
    border: none;
    background: transparent;
    -moz-appearance: textfield;
}

.woocommerce .quantity .qty::-webkit-outer-spin-button,
.woocommerce .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to Cart Button - Big, friendly, bouncy */
.woocommerce div.product form.cart .single_add_to_cart_button {
    flex: 1;
    min-width: 200px;
    padding: 18px 36px;
    background: linear-gradient(145deg, var(--ez-primary) 0%, #2AAE96 100%);
    color: white;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 8px 24px rgba(62, 207, 178, 0.35),
        0 3px 8px rgba(0, 0, 0, 0.08),
        inset 0 2px 0 rgba(255, 255, 255, 0.15),
        inset 0 -2px 0 rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

/* Shimmer effect */
.woocommerce div.product form.cart .single_add_to_cart_button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 60%
    );
    transform: translateX(-100%);
    transition: none;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 14px 36px rgba(62, 207, 178, 0.4),
        0 6px 12px rgba(0, 0, 0, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover::before {
    animation: shimmer 0.8s forwards;
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

.woocommerce div.product form.cart .single_add_to_cart_button:active {
    transform: translateY(-2px) scale(1.01);
}

.woocommerce div.product form.cart .single_add_to_cart_button.disabled {
    background: linear-gradient(135deg, #CBD5E0 0%, #A0AEC0 100%);
    cursor: not-allowed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: none;
}

/* ============================================================================
   PRODUCT META - Cozy info box
   ============================================================================ */

.woocommerce div.product .product_meta {
    font-size: 14px;
    color: var(--ez-text-light);
    padding: 20px 24px;
    margin-top: 12px;
    background: linear-gradient(135deg, rgba(251, 249, 247, 0.8) 0%, rgba(255, 248, 245, 0.6) 100%);
    border-radius: 14px;
    border: 1px dashed rgba(255, 171, 145, 0.2);
}

.woocommerce div.product .product_meta > span {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 6px 0;
}

.woocommerce div.product .product_meta > span:last-child {
    margin-bottom: 0;
}

.woocommerce div.product .product_meta > span::before {
    content: '';
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--ez-secondary) 0%, var(--ez-primary) 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.woocommerce div.product .product_meta a {
    color: var(--ez-primary-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.woocommerce div.product .product_meta a:hover {
    color: var(--ez-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ============================================================================
   PRODUCT TABS - Folder tab style
   ============================================================================ */

.woocommerce div.product .woocommerce-tabs {
    grid-column: 1 / -1;
    margin-top: 24px;
    clear: both;
    position: relative;
}

/* Decorative element above tabs */
.woocommerce div.product .woocommerce-tabs::before {
    content: '';
    position: absolute;
    top: -20px;
    right: 40px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 215, 61, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 4px;
    padding: 0;
    margin: 0 0 0;
    list-style: none;
    border: none;
    position: relative;
    z-index: 1;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
}

/* Folder tab style */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ez-text-light);
    text-decoration: none;
    background: linear-gradient(180deg, rgba(251, 249, 247, 0.9) 0%, rgba(251, 249, 247, 0.7) 100%);
    border-radius: 14px 14px 0 0;
    border: 1px solid rgba(255, 171, 145, 0.15);
    border-bottom: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    top: 1px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--ez-text);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 252, 250, 0.9) 100%);
    transform: translateY(-2px);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--ez-primary-dark);
    background: linear-gradient(180deg, #ffffff 0%, #FFFCFA 100%);
    border-color: rgba(255, 171, 145, 0.2);
    box-shadow:
        0 -4px 16px rgba(255, 171, 145, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.8);
    z-index: 2;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ez-secondary), var(--ez-primary));
}

/* Tab panels - warm card (RTL: tabs on right, so top-right has no radius) */
.woocommerce div.product .woocommerce-tabs .panel {
    background: linear-gradient(160deg, #ffffff 0%, #FFFBF8 60%, #F8FFFC 100%);
    border-radius: 20px 0 20px 20px;
    padding: 36px;
    box-shadow:
        0 12px 40px rgba(255, 171, 145, 0.1),
        0 4px 16px rgba(62, 207, 178, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 171, 145, 0.12);
    position: relative;
}

/* Corner decoration */
.woocommerce div.product .woocommerce-tabs .panel::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(62, 207, 178, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ez-text);
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, var(--ez-secondary), var(--ez-primary)) 1;
    display: inline-block;
}

.woocommerce div.product .woocommerce-tabs .panel p {
    line-height: 1.85;
    color: var(--ez-text-light);
    font-size: 15px;
}

/* Additional Information Table - friendly rows */
.woocommerce div.product .woocommerce-tabs .shop_attributes {
    border: none;
    width: 100%;
}

.woocommerce div.product .woocommerce-tabs .shop_attributes tr {
    border-bottom: 1px dashed rgba(255, 171, 145, 0.2);
}

.woocommerce div.product .woocommerce-tabs .shop_attributes tr:last-child {
    border-bottom: none;
}

.woocommerce div.product .woocommerce-tabs .shop_attributes tr:nth-child(odd) {
    background: rgba(251, 249, 247, 0.4);
}

.woocommerce div.product .woocommerce-tabs .shop_attributes th,
.woocommerce div.product .woocommerce-tabs .shop_attributes td {
    padding: 16px 12px;
    border: none;
    font-size: 14px;
}

.woocommerce div.product .woocommerce-tabs .shop_attributes th {
    font-weight: 700;
    color: var(--ez-text);
    width: 35%;
}

.woocommerce div.product .woocommerce-tabs .shop_attributes td p {
    margin: 0;
}

/* ============================================================================
   REVIEWS - Warm, friendly speech bubbles
   ============================================================================ */

.woocommerce #reviews #comments ol.commentlist {
    padding: 0;
    list-style: none;
}

.woocommerce #reviews #comments ol.commentlist li.review {
    margin-bottom: 24px;
    padding: 28px;
    background: linear-gradient(145deg, #ffffff 0%, #FFFBF8 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 171, 145, 0.15);
    box-shadow:
        0 8px 24px rgba(255, 171, 145, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.03);
    position: relative;
}

/* Speech bubble tail */
.woocommerce #reviews #comments ol.commentlist li.review::before {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 40px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #FFFBF8 0%, #ffffff 100%);
    border: 1px solid rgba(255, 171, 145, 0.15);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    float: right;
    margin: 0 0 12px 20px;
    border: 3px solid var(--ez-surface);
    box-shadow:
        0 4px 12px rgba(255, 171, 145, 0.2),
        0 2px 6px rgba(0, 0, 0, 0.06);
}

.woocommerce #reviews #comments .comment-text .meta {
    font-size: 14px;
    color: var(--ez-text-light);
    margin-bottom: 14px;
}

.woocommerce #reviews #comments .comment-text .meta strong {
    color: var(--ez-text);
    font-weight: 700;
}

/* Review form */
.woocommerce #review_form #respond {
    margin-top: 40px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(251, 249, 247, 0.6) 0%, rgba(255, 248, 245, 0.4) 100%);
    border-radius: 20px;
    border: 1px dashed rgba(255, 171, 145, 0.2);
}

.woocommerce #review_form #respond .comment-reply-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ez-text);
    margin-bottom: 24px;
}

/* ============================================================================
   RELATED PRODUCTS - Warm showcase
   ============================================================================ */

.woocommerce div.product .related.products {
    grid-column: 1 / -1;
    margin-top: 80px;
    padding: 48px 40px;
    background: linear-gradient(160deg, rgba(251, 249, 247, 0.8) 0%, rgba(255, 248, 245, 0.6) 50%, rgba(248, 255, 252, 0.4) 100%);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
}

/* Decorative shapes */
.woocommerce div.product .related.products::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 171, 145, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.woocommerce div.product .related.products::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: 60px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(62, 207, 178, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.woocommerce div.product .related.products > h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ez-text);
    margin-bottom: 32px;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.woocommerce div.product .related.products > h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--ez-secondary), var(--ez-primary));
    border-radius: 2px;
}

.woocommerce div.product .related.products ul.products {
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    z-index: 1;
}

/* ============================================================================
   CART PAGE
   ============================================================================ */

/* Cart Page Container */
.woocommerce-cart .ez-site-main {
    background: var(--ez-background);
    min-height: calc(100vh - 80px);
}

.woocommerce-cart .ezgan-page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.woocommerce-cart .ezgan-page-content > .ezgan-container > h1 {
    display: none; /* Hide default page title */
}

.woocommerce-cart .entry-content {
    width: 100%;
}

.woocommerce-cart .woocommerce {
    width: 100%;
}

.woocommerce-cart .woocommerce-notices-wrapper {
    margin-bottom: 24px;
}

/* Cart Layout - Two Column on Desktop */
@media (min-width: 992px) {
    .woocommerce-cart .woocommerce {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 32px;
        align-items: start;
    }

    .woocommerce-cart .woocommerce-notices-wrapper {
        grid-column: 1 / -1;
    }

    .woocommerce-cart .woocommerce-cart-form {
        grid-column: 1;
    }

    .woocommerce-cart .cart-collaterals {
        grid-column: 2;
        margin-top: 0;
        position: sticky;
        top: 100px;
    }

    .woocommerce-cart .cart-collaterals .cart_totals {
        max-width: none;
    }

    /* Empty cart - center it */
    .woocommerce-cart .woocommerce:has(.wc-empty-cart-message) {
        display: block;
    }
}

/* Cart Section Header */
.woocommerce-cart .woocommerce-cart-form {
    position: relative;
}

.woocommerce-cart .woocommerce-cart-form::before {
    content: 'עגלת הקניות';
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ez-text);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--ez-gray-200);
}

.woocommerce-cart .woocommerce-cart-form::after {
    content: '';
    position: absolute;
    top: 0;
    right: -12px;
    width: 32px;
    height: 32px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233ECFB2' stroke-width='2'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* Cart Table Card */
.woocommerce-cart table.shop_table.cart {
    border: none;
    border-radius: var(--ez-radius-lg);
    overflow: hidden;
    box-shadow: var(--ez-shadow-md);
    margin-bottom: 32px;
    background: var(--ez-surface);
}

.woocommerce table.shop_table {
    border: none;
    border-radius: var(--ez-radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
}

.woocommerce table.shop_table th {
    background: var(--ez-gray-100);
    color: var(--ez-text);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 20px;
    border: none;
    border-bottom: 2px solid var(--ez-gray-200);
}

.woocommerce table.shop_table td {
    padding: 20px;
    border: none;
    border-bottom: 1px solid var(--ez-gray-100);
    vertical-align: middle;
    background: var(--ez-surface);
}

.woocommerce table.shop_table tbody tr:last-child td {
    border-bottom: none;
}

.woocommerce table.shop_table tbody tr:hover td {
    background: var(--ez-gray-100);
}

/* Cart Product Image */
.woocommerce table.shop_table td.product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--ez-radius-sm);
    box-shadow: var(--ez-shadow-sm);
}

/* Cart Product Name */
.woocommerce table.shop_table td.product-name a {
    font-size: 16px;
    font-weight: 600;
    color: var(--ez-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Cart Quantity */
.woocommerce table.shop_table td.product-quantity .quantity {
    background: var(--ez-gray-100);
}

/* Remove Button */
.woocommerce table.shop_table td.product-remove a.remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 24px;
    color: var(--ez-text-light) !important;
    background: var(--ez-gray-100);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.woocommerce table.shop_table td.product-remove a.remove:hover {
    background: rgba(252, 129, 129, 0.2);
    color: #FC8181 !important;
}

/* Cart Actions */
.woocommerce table.shop_table td.actions {
    padding: 20px;
    background: var(--ez-gray-50, #FAFAFA);
    border-top: 2px solid var(--ez-gray-200);
}

.woocommerce table.shop_table td.actions .coupon {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.woocommerce table.shop_table td.actions .coupon input.input-text {
    padding: 14px 16px;
    font-family: inherit;
    font-size: 14px;
    border: 1px solid var(--ez-gray-300);
    border-radius: var(--ez-radius-sm);
    background: var(--ez-surface);
    min-width: 200px;
}

.woocommerce table.shop_table td.actions .coupon input.input-text:focus {
    outline: none;
    border-color: var(--ez-primary);
    box-shadow: 0 0 0 3px var(--ez-primary-light);
}

.woocommerce table.shop_table td.actions .coupon button,
.woocommerce table.shop_table td.actions button[name="update_cart"] {
    padding: 14px 24px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--ez-radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.woocommerce table.shop_table td.actions .coupon button {
    background: var(--ez-surface);
    color: var(--ez-text);
    box-shadow: var(--ez-shadow-sm);
}

.woocommerce table.shop_table td.actions .coupon button:hover {
    box-shadow: var(--ez-shadow-md);
}

.woocommerce table.shop_table td.actions button[name="update_cart"] {
    background: var(--ez-gray-300);
    color: var(--ez-text);
}

.woocommerce table.shop_table td.actions button[name="update_cart"]:hover:not(:disabled) {
    background: var(--ez-gray-200);
}

/* Cart Totals Section */
.woocommerce .cart-collaterals {
    display: flex;
    justify-content: flex-start;
    margin-top: 32px;
}

.woocommerce .cart-collaterals .cart_totals {
    width: 100%;
    max-width: 450px;
    background: var(--ez-surface);
    border-radius: var(--ez-radius-lg);
    box-shadow: var(--ez-shadow-md);
    padding: 28px;
    position: relative;
}

.woocommerce .cart_totals h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ez-text);
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--ez-gray-200);
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce .cart_totals h2::before {
    content: '';
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233ECFB2' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 7h6m0 10v-3m-3 3h.01M9 17h.01M9 14h.01M12 14h.01M15 11h.01M12 11h.01M9 11h.01M7 21h10a2 2 0 002-2V5a2 2 0 00-2-2H7a2 2 0 00-2 2v14a2 2 0 002 2z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.woocommerce .cart_totals table {
    border: none;
    margin-bottom: 0;
}

.woocommerce .cart_totals table th,
.woocommerce .cart_totals table td {
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid var(--ez-gray-100);
    background: transparent;
}

.woocommerce .cart_totals table th {
    font-weight: 500;
    color: var(--ez-text-light);
    font-size: 14px;
}

.woocommerce .cart_totals table td {
    text-align: left;
    font-weight: 600;
    color: var(--ez-text);
}

.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
    border-bottom: none;
    padding-top: 20px;
    font-size: 1.15rem;
    font-weight: 700;
}

.woocommerce .cart_totals .order-total .amount {
    color: var(--ez-primary-dark);
    font-size: 1.35rem;
}

/* Proceed to Checkout */
.woocommerce .cart_totals .wc-proceed-to-checkout {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--ez-gray-100);
}

.woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--ez-primary) 0%, var(--ez-primary-dark) 100%);
    color: white !important;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: var(--ez-radius-sm);
    box-shadow: 0 4px 15px rgba(62, 207, 178, 0.3);
    transition: all 0.25s ease;
}

.woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--ez-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(62, 207, 178, 0.4);
}

/* Empty Cart */
.woocommerce-cart .wc-empty-cart-message {
    text-align: center;
    padding: 60px 24px;
    background: var(--ez-surface);
    border-radius: var(--ez-radius-lg);
    box-shadow: var(--ez-shadow-md);
    max-width: 500px;
    margin: 0 auto;
}

/* Empty Cart Page Title */
.woocommerce-cart .woocommerce:has(.wc-empty-cart-message)::before {
    content: 'עגלת הקניות';
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ez-text);
    margin-bottom: 32px;
}

.woocommerce-cart .wc-empty-cart-message .cart-empty {
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    font-size: 1.1rem;
    color: var(--ez-text-light);
}

.woocommerce-cart .wc-empty-cart-message .cart-empty::before {
    content: '';
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background-color: var(--ez-primary-light);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233ECFB2' stroke-width='1.5'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40px;
}

.woocommerce-cart .return-to-shop {
    text-align: center;
    margin-top: 24px;
}

.woocommerce-cart .return-to-shop a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--ez-primary);
    color: white !important;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--ez-radius-full);
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(62, 207, 178, 0.3);
}

.woocommerce-cart .return-to-shop a:hover {
    background: var(--ez-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(62, 207, 178, 0.4);
}

/* ============================================================================
   CHECKOUT PAGE
   ============================================================================ */

/* Checkout Page Container */
.woocommerce-checkout .ez-site-main {
    background: var(--ez-background);
    min-height: calc(100vh - 80px);
}

.woocommerce-checkout .ezgan-page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.woocommerce-checkout .ezgan-page-content > .ezgan-container > h1 {
    display: none; /* Hide default page title */
}

.woocommerce-checkout .entry-content {
    width: 100%;
}

.woocommerce-checkout .woocommerce {
    width: 100%;
}

/* Checkout Page Title */
.woocommerce-checkout .woocommerce::before {
    content: 'השלמת הזמנה';
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ez-text);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--ez-gray-200);
}

.woocommerce-checkout .woocommerce-notices-wrapper {
    margin-bottom: 24px;
}

/* Checkout Main Layout - Two Column on Desktop */
@media (min-width: 992px) {
    .woocommerce-checkout form.checkout {
        display: grid !important;
        /* RTL: Column 1 (1fr) appears on RIGHT, Column 2 (400px) on LEFT */
        grid-template-columns: 1fr 400px;
        grid-template-rows: auto 1fr;
        gap: 32px;
        align-items: start;
    }

    /* Customer details on RIGHT side (column 1 in RTL) spanning both rows */
    .woocommerce-checkout form.checkout > #customer_details {
        grid-column: 1 !important;
        grid-row: 1 / 3 !important;
        float: none !important;
        width: 100% !important;
    }

    /* Order review heading on LEFT side (column 2 in RTL) */
    .woocommerce-checkout form.checkout > #order_review_heading {
        grid-column: 2 !important;
        grid-row: 1 !important;
        margin-bottom: 0 !important;
        float: none !important;
        width: 100% !important;
    }

    /* Order review content on LEFT side (column 2 in RTL) */
    .woocommerce-checkout form.checkout > #order_review {
        grid-column: 2 !important;
        grid-row: 2 !important;
        float: none !important;
        width: 100% !important;
    }
}

/* Customer Details - Billing & Shipping Stacked */
.woocommerce-checkout #customer_details {
    float: none !important;
    width: 100%;
    clear: none !important;
}

.woocommerce-checkout .col2-set {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    width: 100%;
    float: none;
    background: var(--ez-surface);
    border-radius: var(--ez-radius-lg);
    box-shadow: var(--ez-shadow-md);
    padding: 28px;
}

@media (min-width: 992px) {
    .woocommerce-checkout .col2-set {
        margin-bottom: 0;
    }
}

/* Mobile: Order review below customer details */
@media (max-width: 991px) {
    .woocommerce-checkout #order_review_heading {
        margin-top: 24px;
    }
}

/* Checkout Sections */
.woocommerce-checkout h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ez-text);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ez-gray-200);
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce-checkout h3::before {
    content: '';
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233ECFB2' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* Form Fields */
.woocommerce form .form-row {
    margin-bottom: 20px;
}

.woocommerce form .form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--ez-text);
    font-size: 14px;
}

.woocommerce form .form-row label .required {
    color: var(--ez-secondary);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout #customer_details .input-text,
.woocommerce-checkout #customer_details select {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 15px;
    color: var(--ez-text);
    background: var(--ez-surface);
    border: 1px solid var(--ez-gray-300);
    border-radius: var(--ez-radius-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    outline: none;
    border-color: var(--ez-primary);
    box-shadow: 0 0 0 3px var(--ez-primary-light);
}

.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select {
    border-color: #FC8181;
}

.woocommerce form .form-row.woocommerce-validated input.input-text,
.woocommerce form .form-row.woocommerce-validated select {
    border-color: #48BB78;
}

/* Select2 Dropdown Override */
.woocommerce .select2-container--default .select2-selection--single {
    height: auto;
    padding: 10px 16px;
    border: 1px solid var(--ez-gray-300);
    border-radius: var(--ez-radius-sm);
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5;
    padding: 0;
    color: var(--ez-text);
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    top: 0;
    left: 12px;
    right: auto;
}

/* Order Review Section */
.woocommerce-checkout #order_review_heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ez-text);
    margin: 0;
    padding: 20px 28px;
    background: var(--ez-surface);
    border-radius: var(--ez-radius-lg) var(--ez-radius-lg) 0 0;
    box-shadow: var(--ez-shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    float: none !important;
    width: 100%;
    clear: none !important;
}

.woocommerce-checkout #order_review_heading::before {
    content: '';
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233ECFB2' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.woocommerce-checkout #order_review {
    background: var(--ez-surface);
    border-radius: 0 0 var(--ez-radius-lg) var(--ez-radius-lg);
    box-shadow: var(--ez-shadow-md);
    padding: 28px;
    margin-top: -1px;
    float: none !important;
    width: 100%;
    clear: none !important;
}

.woocommerce-checkout #order_review table.shop_table {
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 24px;
    overflow: visible;
}

.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td {
    background: transparent;
    padding: 14px 0;
    border-bottom: 1px solid var(--ez-gray-100);
}

.woocommerce-checkout #order_review table.shop_table thead th {
    background: transparent;
    color: var(--ez-text);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--ez-gray-200);
}

.woocommerce-checkout #order_review table.shop_table tfoot th {
    font-weight: 500;
    color: var(--ez-text-light);
    font-size: 14px;
}

.woocommerce-checkout #order_review table.shop_table tfoot .order-total th,
.woocommerce-checkout #order_review table.shop_table tfoot .order-total td {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ez-text);
    padding-top: 24px;
}

.woocommerce-checkout #order_review table.shop_table tfoot .order-total td .amount {
    color: var(--ez-primary-dark);
}

/* Payment Methods */
.woocommerce-checkout #payment {
    background: transparent;
    border-radius: 0;
}

.woocommerce-checkout #payment ul.payment_methods {
    padding: 0;
    margin: 0 0 24px;
    list-style: none;
    border: none;
}

.woocommerce-checkout #payment ul.payment_methods li {
    margin-bottom: 12px;
    background: var(--ez-gray-100);
    border-radius: var(--ez-radius-md);
    overflow: hidden;
}

.woocommerce-checkout #payment ul.payment_methods li label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s ease;
}

.woocommerce-checkout #payment ul.payment_methods li label:hover {
    background: var(--ez-gray-200);
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--ez-primary);
}

.woocommerce-checkout #payment ul.payment_methods li .payment_box {
    padding: 20px;
    background: var(--ez-surface);
    border-top: 1px solid var(--ez-gray-200);
    font-size: 14px;
    color: var(--ez-text-light);
}

.woocommerce-checkout #payment ul.payment_methods li .payment_box::before {
    display: none;
}

/* Place Order Button */
.woocommerce-checkout #payment #place_order {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--ez-primary) 0%, var(--ez-primary-dark) 100%);
    color: white;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: var(--ez-radius-sm);
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(62, 207, 178, 0.35);
    transition: all 0.25s ease;
    margin-top: 16px;
}

.woocommerce-checkout #payment #place_order:hover {
    background: linear-gradient(135deg, var(--ez-primary-dark) 0%, var(--ez-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(62, 207, 178, 0.45);
}

/* Terms & Privacy */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 24px;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
    font-size: 13px;
    color: var(--ez-text-light);
}

.woocommerce-checkout .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.woocommerce-checkout .woocommerce-form__label-for-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--ez-primary);
}

/* Login/Coupon Notices */
.woocommerce-checkout .woocommerce-form-login-toggle,
.woocommerce-checkout .woocommerce-form-coupon-toggle {
    margin-bottom: 24px;
}

.woocommerce-checkout .woocommerce-info {
    background: var(--ez-primary-light);
    border: none;
    border-radius: var(--ez-radius-md);
    padding: 16px 20px;
    color: var(--ez-primary-dark);
    font-size: 14px;
}

.woocommerce-checkout .woocommerce-info::before {
    color: var(--ez-primary);
}

.woocommerce-checkout .woocommerce-info a {
    color: var(--ez-primary-dark);
    font-weight: 600;
}

/* Checkout Login/Coupon Forms */
.woocommerce-checkout form.checkout_coupon,
.woocommerce-checkout form.login {
    background: var(--ez-surface);
    border: none;
    border-radius: var(--ez-radius-lg);
    box-shadow: var(--ez-shadow-md);
    padding: 32px;
    margin-bottom: 32px;
}

/* ============================================================================
   ORDER RECEIVED / THANK YOU PAGE
   ============================================================================ */

.woocommerce-order-received .woocommerce {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
    text-align: center;
}

.woocommerce-order-received .woocommerce-thankyou-order-received {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ez-primary-dark);
    margin-bottom: 32px;
}

.woocommerce-order-received .woocommerce-thankyou-order-received::before {
    content: '✓';
    display: block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 40px;
    background: var(--ez-primary-light);
    color: var(--ez-primary-dark);
    border-radius: 50%;
    margin: 0 auto 24px;
}

.woocommerce-order-received .woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    list-style: none;
    padding: 32px;
    margin: 0 0 48px;
    background: var(--ez-surface);
    border-radius: var(--ez-radius-lg);
    box-shadow: var(--ez-shadow-md);
}

.woocommerce-order-received .woocommerce-order-overview li {
    text-align: center;
}

.woocommerce-order-received .woocommerce-order-overview li strong {
    display: block;
    font-size: 1.25rem;
    color: var(--ez-text);
    margin-top: 8px;
}

/* ============================================================================
   MY ACCOUNT PAGES
   ============================================================================ */

.woocommerce-account .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* Account Navigation */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 250px;
    float: right;
    margin-left: 48px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--ez-surface);
    border-radius: var(--ez-radius-lg);
    box-shadow: var(--ez-shadow-md);
    overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid var(--ez-gray-200);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 16px 20px;
    color: var(--ez-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--ez-gray-100);
    color: var(--ez-primary-dark);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--ez-primary-light);
    color: var(--ez-primary-dark);
    border-right: 3px solid var(--ez-primary);
}

/* Account Content */
.woocommerce-account .woocommerce-MyAccount-content {
    overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ez-text);
    margin: 0 0 24px;
}

/* ============================================================================
   NOTICES & MESSAGES
   ============================================================================ */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    border: none;
    border-radius: var(--ez-radius-md);
    font-size: 14px;
    line-height: 1.5;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    order: -1;
    flex-shrink: 0;
    font-size: 18px;
    margin: 0;
    position: static;
    top: auto;
}

.woocommerce-message {
    background: rgba(72, 187, 120, 0.1);
    color: #276749;
}

.woocommerce-message::before {
    color: #48BB78;
}

.woocommerce-info {
    background: var(--ez-primary-light);
    color: var(--ez-primary-dark);
}

.woocommerce-info::before {
    color: var(--ez-primary);
}

.woocommerce-error {
    background: rgba(252, 129, 129, 0.1);
    color: #C53030;
}

.woocommerce-error::before {
    color: #FC8181;
}

.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.button {
    margin-inline-start: auto;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    background: var(--ez-surface);
    color: var(--ez-text);
    border-radius: var(--ez-radius-sm);
    text-decoration: none;
    white-space: nowrap;
    box-shadow: var(--ez-shadow-sm);
}

/* ============================================================================
   PAGINATION
   ============================================================================ */

.woocommerce nav.woocommerce-pagination {
    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    gap: 8px;
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--ez-surface);
    color: var(--ez-text);
    font-weight: 500;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: var(--ez-shadow-sm);
    transition: all 0.2s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: var(--ez-primary-light);
    color: var(--ez-primary-dark);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--ez-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(62, 207, 178, 0.3);
}

/* ============================================================================
   MINI CART / CART WIDGET
   ============================================================================ */

.widget_shopping_cart .cart_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_shopping_cart .cart_list li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ez-gray-200);
}

.widget_shopping_cart .cart_list li:last-child {
    border-bottom: none;
}

.widget_shopping_cart .cart_list li img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--ez-radius-sm);
}

.widget_shopping_cart .total {
    padding: 16px 0;
    font-weight: 600;
    border-top: 2px solid var(--ez-gray-200);
}

.widget_shopping_cart .buttons {
    display: flex;
    gap: 12px;
}

.widget_shopping_cart .buttons a {
    flex: 1;
    padding: 12px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--ez-radius-sm);
    text-decoration: none;
}

.widget_shopping_cart .buttons a.wc-forward:first-child {
    background: var(--ez-gray-100);
    color: var(--ez-text);
}

.widget_shopping_cart .buttons a.checkout {
    background: var(--ez-primary);
    color: white;
}

/* ============================================================================
   RESPONSIVE STYLES
   ============================================================================ */

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

    .woocommerce div.product {
        gap: 32px;
    }

    .woocommerce div.product div.images {
        position: static;
        max-width: 500px;
        margin: 0 auto !important;
        order: 1;
        flex: 1 1 100%;
    }

    .woocommerce div.product div.summary {
        order: 2;
        flex: 1 1 100%;
    }

    /* Hide decorative gallery accent on tablet */
    .woocommerce div.product div.images .woocommerce-product-gallery::before {
        display: none;
    }

    .woocommerce div.product .related.products ul.products {
        grid-template-columns: repeat(3, 1fr);
    }

    .woocommerce div.product .related.products {
        padding: 36px 28px;
    }

    .woocommerce-checkout .col2-set {
        grid-template-columns: 1fr;
    }

    /* Single product page - reduce floating shapes on tablet */
    .single-product .site-main::before,
    .single-product .site-main::after {
        opacity: 0.5;
        filter: blur(60px);
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .woocommerce ul.products li.product a img {
        height: 180px;
    }

    /* Single Product - Mobile Grid */
    .woocommerce div.product {
        grid-template-columns: 1fr; /* Single column on mobile */
        padding: 24px 16px 60px;
    }

    .woocommerce div.product div.images,
    .woocommerce div.product div.summary {
        grid-column: 1;
        width: 100% !important;
        position: relative;
        top: auto;
    }

    .woocommerce div.product div.images {
        grid-row: 1;
        padding: 20px;
    }

    .woocommerce div.product div.summary {
        grid-row: 2;
        padding: 24px;
        border-radius: 20px;
    }

    .woocommerce div.product .woocommerce-tabs {
        grid-row: 3 !important;
    }

    .woocommerce div.product .related.products {
        grid-row: 4 !important;
    }

    .woocommerce div.product .product_title {
        font-size: 1.5rem;
        padding-right: 12px;
    }

    .woocommerce div.product .product_title::before {
        width: 3px;
    }

    .woocommerce div.product div.summary p.price {
        font-size: 1.5rem;
        padding: 12px 20px;
        transform: rotate(-1deg);
    }

    .woocommerce div.product form.cart {
        flex-direction: column;
        padding: 16px;
    }

    .woocommerce div.product form.cart .single_add_to_cart_button {
        width: 100%;
        min-width: auto;
        padding: 16px 28px;
    }

    .woocommerce div.product .variations {
        padding: 16px;
    }

    .woocommerce div.product .related.products {
        padding: 32px 20px;
        border-radius: 20px;
    }

    .woocommerce div.product .related.products ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Tabs - Stack on mobile */
    .woocommerce div.product .woocommerce-tabs ul.tabs {
        flex-direction: column;
        gap: 0;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        padding: 14px 20px;
        font-size: 14px;
        border-radius: 14px;
        border: 1px solid rgba(255, 171, 145, 0.15);
        margin-bottom: 4px;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
        border-radius: 14px;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after {
        display: none;
    }

    .woocommerce div.product .woocommerce-tabs .panel {
        padding: 24px 20px;
        border-radius: 16px;
        margin-top: 8px;
    }

    .woocommerce div.product div.images .flex-control-thumbs {
        padding: 10px 14px;
        gap: 8px;
    }

    .woocommerce div.product div.images .flex-control-thumbs li {
        width: 48px;
    }

    .woocommerce div.product .product_meta {
        padding: 16px 18px;
    }

    /* Hide floating shapes on mobile */
    .single-product .site-main::before,
    .single-product .site-main::after {
        display: none;
    }

    /* Cart Table Mobile */
    .woocommerce table.shop_table,
    .woocommerce table.shop_table thead,
    .woocommerce table.shop_table tbody,
    .woocommerce table.shop_table th,
    .woocommerce table.shop_table td,
    .woocommerce table.shop_table tr {
        display: block;
    }

    .woocommerce table.shop_table thead {
        display: none;
    }

    .woocommerce table.shop_table tbody tr {
        padding: 20px;
        margin-bottom: 16px;
        border: 1px solid var(--ez-gray-200);
        border-radius: var(--ez-radius-md);
    }

    .woocommerce table.shop_table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid var(--ez-gray-100);
    }

    .woocommerce table.shop_table td::before {
        content: attr(data-title);
        font-weight: 600;
        color: var(--ez-text-light);
    }

    .woocommerce table.shop_table td.product-thumbnail {
        justify-content: center;
    }

    .woocommerce table.shop_table td.product-thumbnail::before {
        display: none;
    }

    .woocommerce table.shop_table td.actions {
        flex-direction: column;
        gap: 16px;
    }

    .woocommerce table.shop_table td.actions .coupon {
        width: 100%;
    }

    .woocommerce .cart-collaterals {
        justify-content: stretch;
    }

    .woocommerce .cart-collaterals .cart_totals {
        max-width: none;
    }

    /* My Account Mobile */
    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
        float: none;
        margin: 0 0 32px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        background: transparent;
        box-shadow: none;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul li {
        border: none;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
        padding: 10px 16px;
        background: var(--ez-surface);
        border-radius: var(--ez-radius-full);
        font-size: 14px;
        box-shadow: var(--ez-shadow-sm);
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
        background: var(--ez-primary);
        color: white;
        border-right: none;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .woocommerce ul.products li.product a img {
        height: 200px;
    }

    .woocommerce div.product .related.products ul.products {
        grid-template-columns: 1fr;
    }

    .woocommerce-checkout #order_review {
        padding: 20px;
    }

    .woocommerce-checkout #payment #place_order {
        font-size: 16px;
        padding: 16px 24px;
    }
}

/* ============================================================================
   RTL SPECIFIC ADJUSTMENTS
   ============================================================================ */

[dir="rtl"] .woocommerce ul.products li.product .onsale,
[dir="rtl"] .woocommerce span.onsale {
    right: 16px;
    left: auto;
}

[dir="rtl"] .woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    left: 16px;
    right: auto;
}

[dir="rtl"] .woocommerce .woocommerce-ordering select {
    background-position: left 16px center;
    padding: 12px 16px 12px 40px;
}

[dir="rtl"] .woocommerce table.shop_table td.product-remove a.remove {
    margin-right: 0;
}

[dir="rtl"] .woocommerce-account .woocommerce-MyAccount-navigation {
    float: right;
    margin-left: 48px;
    margin-right: 0;
}

[dir="rtl"] .woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    border-right: 3px solid var(--ez-primary);
    border-left: none;
}

/* ============================================================================
   ANIMATIONS - Playful Entrance Effects
   ============================================================================ */

@keyframes popIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    70% {
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.woocommerce ul.products li.product {
    animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation-fill-mode: both;
}

.woocommerce ul.products li.product:nth-child(1) { animation-delay: 0.03s; }
.woocommerce ul.products li.product:nth-child(2) { animation-delay: 0.06s; }
.woocommerce ul.products li.product:nth-child(3) { animation-delay: 0.09s; }
.woocommerce ul.products li.product:nth-child(4) { animation-delay: 0.12s; }
.woocommerce ul.products li.product:nth-child(5) { animation-delay: 0.15s; }
.woocommerce ul.products li.product:nth-child(6) { animation-delay: 0.18s; }
.woocommerce ul.products li.product:nth-child(7) { animation-delay: 0.21s; }
.woocommerce ul.products li.product:nth-child(8) { animation-delay: 0.24s; }
.woocommerce ul.products li.product:nth-child(9) { animation-delay: 0.27s; }
.woocommerce ul.products li.product:nth-child(10) { animation-delay: 0.3s; }
.woocommerce ul.products li.product:nth-child(11) { animation-delay: 0.33s; }
.woocommerce ul.products li.product:nth-child(12) { animation-delay: 0.36s; }

/* Button Loading State */
.woocommerce .button.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.woocommerce .button.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
