.woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce, .woocommerce-account .woocommerce, .woocommerce-order .woocommerce {
    max-width: 960px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Table styling */
.woocommerce table.shop_table {
    border: 1px solid #e5e7eb;
    border-collapse: collapse;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    background: #fff;
}

.woocommerce table.shop_table th {
    background: #2C3E50;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    border: none;
}

.woocommerce table.shop_table td {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

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

.woocommerce table.shop_table tr:hover td {
    background: #f8fafc;
}

.woocommerce table.shop_table .product-name {
    font-weight: 600;
    color: #2C3E50;
}

.woocommerce table.shop_table .product-name a {
    color: #2C3E50;
    text-decoration: none;
}

.woocommerce table.shop_table .product-name a:hover {
    color: #00C853;
}

.woocommerce table.shop_table .product-thumbnail img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.woocommerce table.shop_table .product-quantity input {
    width: 70px;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

/* Remove product link */
.woocommerce table.shop_table td.product-remove a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 64px;
    border-radius: 50%;
    background: #fee2e2;
    color: #ef4444;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.2s;
}

.woocommerce table.shop_table td.product-remove a:hover {
    background: #ef4444;
    color: #fff;
}

/* Cart totals */
.woocommerce .cart_totals {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
}

.woocommerce .cart_totals h2 {
    font-size: 18px;
    font-weight: 700;
    color: #2C3E50;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #00C853;
}

.woocommerce .cart_totals table th {
    background: transparent;
    color: #6b7280;
    font-weight: 500;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
    padding: 10px 0;
}

.woocommerce .cart_totals table td {
    padding: 10px 0;
    font-weight: 600;
    color: #2C3E50;
}

.woocommerce .cart_totals table {
    border: none;
}

.woocommerce .cart_totals table th,
.woocommerce .cart_totals table td {
    border: none;
}

/* Buttons */
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    line-height: 1.4;
}

.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: #2C3E50;
    color: #fff;
}

.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: #1a252f;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44,62,80,0.3);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce .checkout-button {
    background: #00C853;
    color: #fff !important;
    padding: 14px 32px;
    font-size: 15px;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce .checkout-button:hover {
    background: #00A846;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,200,83,0.4);
}

.woocommerce .button.wc-backward {
    background: transparent;
    color: #2C3E50;
    border: 1px solid #d1d5db;
}

.woocommerce .button.wc-backward:hover {
    border-color: #00C853;
    color: #00C853;
    box-shadow: none;
    transform: none;
}

/* Coupon form */
.woocommerce .coupon {
    margin-bottom: 16px;
}

.woocommerce .coupon .input-text {
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    margin-right: 8px;
    width: 200px;
}

.woocommerce .coupon .input-text:focus {
    border-color: #00C853;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,200,83,0.1);
}

/* Notices / Messages */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-warning {
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    border: none;
}

.woocommerce .woocommerce-message {
    background: #f0fdf4;
    color: #166534;
    border-left: 4px solid #00C853;
}

.woocommerce .woocommerce-info {
    background: #eff6ff;
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

.woocommerce .woocommerce-error {
    background: #fef2f2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.woocommerce .woocommerce-warning {
    background: #fffbeb;
    color: #92400e;
    border-left: 4px solid #f59e0b;
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before,
.woocommerce .woocommerce-warning::before {
    color: inherit;
}

/* Empty cart */
.woocommerce .cart-empty {
    font-size: 18px;
    color: #6b7280;
    text-align: center;
    padding: 40px 0;
}

/* Checkout */
.woocommerce .checkout.woocommerce-checkout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
}

@media (max-width: 900px) {
    .woocommerce .checkout.woocommerce-checkout {
        grid-template-columns: 1fr;
    }
}

.woocommerce .checkout .col2-set .col-1,
.woocommerce .checkout #customer_details {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
}

.woocommerce .checkout #order_review,
.woocommerce .checkout #order_review_heading {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
}

.woocommerce .checkout h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2C3E50;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #00C853;
}

.woocommerce .checkout .form-row {
    margin-bottom: 16px;
}

.woocommerce .checkout .form-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.woocommerce .checkout .form-row .required {
    color: #ef4444;
}

.woocommerce .checkout .form-row input.input-text,
.woocommerce .checkout .form-row textarea,
.woocommerce .checkout .form-row select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.woocommerce .checkout .form-row input.input-text:focus,
.woocommerce .checkout .form-row textarea:focus,
.woocommerce .checkout .form-row select:focus {
    border-color: #00C853;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,200,83,0.1);
}

/* My Account */
.woocommerce-account .woocommerce-MyAccount-navigation {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 24px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 10px 16px;
    border-radius: 8px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: #f3f4f6;
    color: #2C3E50;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: #00C853;
    color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
}

.woocommerce-account .woocommerce-MyAccount-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #2C3E50;
    margin: 0 0 20px 0;
}

.woocommerce-account .woocommerce-MyAccount-content table {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-content table th {
    background: #f8fafc;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    padding: 12px 16px;
}

.woocommerce-account .woocommerce-MyAccount-content table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

/* Shipping methods */
.woocommerce .shipping-methods {
    list-style: none;
    padding: 0;
}

.woocommerce .shipping-methods li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce .shipping-methods li label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
}

/* Payment methods */
.woocommerce .wc_payment_methods {
    list-style: none;
    padding: 0;
}

.woocommerce .wc_payment_methods li {
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 8px;
}

.woocommerce .wc_payment_methods li label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
}

.woocommerce .wc_payment_methods li .payment_box {
    margin-top: 10px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 6px;
    font-size: 13px;
    color: #6b7280;
}

/* Quantities */
.woocommerce .quantity .qty {
    width: 80px;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

/* Section titles */
.woocommerce h1, .woocommerce h2 {
    color: #2C3E50;
    font-weight: 700;
}

/* Select2 dropdowns (used by WC) */
.select2-container--default .select2-selection--single {
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    height: 42px !important;
    padding: 6px 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce table.shop_table {
        font-size: 13px;
    }
    
    .woocommerce table.shop_table th,
    .woocommerce table.shop_table td {
        padding: 10px 8px;
    }
    
    .woocommerce table.shop_table .product-thumbnail img {
        width: 50px;
        height: 50px;
    }
    
    .woocommerce .cart_totals {
        padding: 16px;
    }
    
    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        flex-direction: column;
    }
    
    .woocommerce .coupon .input-text {
        width: 100%;
        margin: 0 0 8px 0;
    }
}

/* Order received / Thank you page */
.woocommerce-order-received .woocommerce-order {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.woocommerce-order-received .woocommerce-order h2 {
    color: #00C853;
    font-size: 24px;
}

/* Form rows spacing fix */
.woocommerce form .form-row {
    margin-bottom: 12px;
}

/* Misc */
.woocommerce .star-rating {
    color: #f59e0b;
}

.woocommerce a {
    color: #00C853;
}

.woocommerce a:hover {
    color: #00A846;
}



/* ============================================ */
/* COMPACT HEADER FOR WOOCOMMERCE PAGES         */
/* ============================================ */
.woocommerce-cart #site-header,
.woocommerce-checkout #site-header,
.woocommerce-account #site-header,
.woocommerce-order #site-header {
    min-height: auto !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

/* Target ONLY header logo images, not footer */
.woocommerce-cart #site-header a > img,
.woocommerce-checkout #site-header a > img,
.woocommerce-account #site-header a > img,
.woocommerce-order #site-header a > img {
    height: 168px !important;
    max-height: 168px !important;
    width: auto !important;
}

/* ============================================ */
/* COMPACT FOOTER FOR WOOCOMMERCE PAGES         */
/* ============================================ */
/* Reduce footer vertical padding */
.woocommerce-cart footer,
.woocommerce-checkout footer,
.woocommerce-account footer,
.woocommerce-order footer {
    font-size: 13px;
}

.woocommerce-cart footer .py-12,
.woocommerce-checkout footer .py-12,
.woocommerce-account footer .py-12,
.woocommerce-order footer .py-12 {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* Make footer 4-column grid more compact, keep all 4 columns */
.woocommerce-cart footer .grid,
.woocommerce-checkout footer .grid,
.woocommerce-account footer .grid,
.woocommerce-order footer .grid {
    gap: 16px !important;
}

/* Footer logo - reduce but don't break */
.woocommerce-cart footer .h-12,
.woocommerce-checkout footer .h-12,
.woocommerce-account footer .h-12,
.woocommerce-order footer .h-12 {
    height: 64px !important;
}

/* Reduce footer spacing */
.woocommerce-cart footer .space-y-4 > :not(:first-child),
.woocommerce-checkout footer .space-y-4 > :not(:first-child),
.woocommerce-account footer .space-y-4 > :not(:first-child),
.woocommerce-order footer .space-y-4 > :not(:first-child) {
    margin-top: 8px !important;
}

.woocommerce-cart footer .space-y-2 > :not(:first-child),
.woocommerce-checkout footer .space-y-2 > :not(:first-child),
.woocommerce-account footer .space-y-2 > :not(:first-child),
.woocommerce-order footer .space-y-2 > :not(:first-child) {
    margin-top: 4px !important;
}

.woocommerce-cart footer .space-y-3 > :not(:first-child),
.woocommerce-checkout footer .space-y-3 > :not(:first-child),
.woocommerce-account footer .space-y-3 > :not(:first-child),
.woocommerce-order footer .space-y-3 > :not(:first-child) {
    margin-top: 6px !important;
}

/* Footer text smaller */
.woocommerce-cart footer .text-sm,
.woocommerce-checkout footer .text-sm,
.woocommerce-account footer .text-sm,
.woocommerce-order footer .text-sm {
    font-size: 12px !important;
}

/* Footer headings smaller */
.woocommerce-cart footer h3,
.woocommerce-checkout footer h3,
.woocommerce-account footer h3,
.woocommerce-order footer h3 {
    font-size: 11px !important;
    margin-bottom: 8px !important;
}

/* Compact footer bottom bar if exists */
.woocommerce-cart footer > div:last-child,
.woocommerce-checkout footer > div:last-child,
.woocommerce-account footer > div:last-child,
.woocommerce-order footer > div:last-child {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* Hide jingle player on WC pages */
.woocommerce-cart #jingle-container,
.woocommerce-checkout #jingle-container,
.woocommerce-account #jingle-container,
.woocommerce-order #jingle-container {
    display: none !important;
}

