/**
 * WooCommerce Styles
 * 
 * Product Grid, Single Product, Cart, Checkout
 *
 * @package Flavor_Starter
 */

/* ==========================================================================
   WooCommerce General
   ========================================================================== */

.woocommerce-content {
    padding: var(--space-6) 0;
}

@media (min-width: 768px) {
    .woocommerce-content {
        padding: var(--space-10) 0;
    }
}

.woocommerce-content .container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}


/* ==========================================================================
   Breadcrumb (upoharshop.com style)
   ========================================================================== */

.woocommerce-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 0;
    margin-bottom: 24px;
    font-size: 14px;
    color: #666;
}

.woocommerce-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.woocommerce-breadcrumb a:hover {
    color: #e91e63;
}

.woocommerce-breadcrumb .breadcrumb-separator {
    color: #999;
    font-weight: 300;
}

/* Page Headers */
.woocommerce-products-header {
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 2px solid var(--color-border);
}

.woocommerce-products-header__title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin: 0;
}

@media (min-width: 768px) {
    .woocommerce-products-header__title {
        font-size: var(--font-size-3xl);
    }
}

.term-description {
    margin-top: var(--space-4);
    color: var(--color-text-light);
    line-height: var(--line-height-relaxed);
}

/* ==========================================================================
   Shop Page - upoharshop.com style
   ========================================================================== */

/* Ensure archive/shop page stays within container max width */
.woocommerce-content > .container,
.post-type-archive-product .container,
.tax-product_cat .container,
.tax-product_tag .container,
body.archive.woocommerce .container {
    width: 100%;
    max-width: 1400px !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding, 1rem);
    padding-right: var(--container-padding, 1rem);
}

.shop-header {
    margin-bottom: var(--space-6);
}

.shop-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
    .shop-title {
        font-size: 28px;
    }
}

.shop-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid #eee;
}

.woocommerce-result-count {
    font-size: 14px;
    font-style: italic;
    color: #e91e63;
    margin: 0;
}

.woocommerce-ordering {
    margin: 0;
}

.woocommerce-ordering select {
    min-width: 200px;
    padding: 10px 40px 10px 16px;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}


/* ==========================================================================
   Product Grid - upoharshop.com style
   ========================================================================== */

.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 640px) {
    .products {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .products {
        grid-template-columns: repeat(4, 1fr);
        gap: 28px;
    }
}


/* ==========================================================================
   Product Card - upoharshop.com exact design
   ========================================================================== */

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.product-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* Product Image Wrapper */
.product-card__image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #f5f5f5;
}

/* Product Image */
.product-card__image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.08);
}

.product-card__image-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* Top Left Badges */
.product-card__badges-left {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: row;
    gap: 6px;
    z-index: 10;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    color: #fff;
    line-height: 1;
}

.product-badge--combo {
    background: #e91e63;
}

.product-badge--freewrap {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.product-badge--sale {
    background: #e91e63;
}

.product-badge--new {
    background: #10b981;
}

.product-badge--featured {
    background: #f97316;
}

/* Top Right Action Buttons */
.product-card__actions-top {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.product-card__wishlist,
.product-card__compare {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card__wishlist svg,
.product-card__compare svg {
    color: #666;
    transition: color 0.2s ease;
}

.product-card__wishlist:hover {
    background: #e91e63;
}

.product-card__wishlist:hover svg {
    color: #fff;
    fill: #fff;
}

.product-card__compare:hover {
    background: #e91e63;
}

.product-card__compare:hover svg {
    color: #fff;
}

/* Hover Action Buttons (Center) */
.product-card__hover-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 15;
}

.product-card:hover .product-card__hover-actions {
    opacity: 1;
    visibility: visible;
}

.product-card__quick-view,
.product-card__add-to-cart {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.product-card__quick-view svg,
.product-card__add-to-cart svg {
    color: #333;
    transition: color 0.2s ease;
}

.product-card__quick-view:hover,
.product-card__add-to-cart:hover {
    background: #e91e63;
    transform: scale(1.1);
}

.product-card__quick-view:hover svg,
.product-card__add-to-cart:hover svg {
    color: #fff;
}

/* Image Footer Bar */
.product-card__image-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    z-index: 10;
}

.product-card__sku {
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    opacity: 0.9;
}

.product-card__delivery-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    background: #10b981;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-card__delivery-badge svg {
    flex-shrink: 0;
}

/* Product Card Content */
.product-card__content {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-card__link {
    text-decoration: none;
    color: inherit;
}

.product-card__title {
    margin: 0;
    font-size: var(--product-title-size, 15px);
    font-weight: 700;
    line-height: 1.4;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 768px) {
    .product-card__title {
        font-size: var(--product-title-size, 16px);
    }
}

.product-card__title:hover {
    color: #e91e63;
}

.product-card__description {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #888;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product Card Footer */
.product-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 10px;
    gap: 10px;
    flex-wrap: nowrap;
}

.product-card__price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.product-card__price-label {
    font-size: 10px;
    font-weight: 500;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.product-card__price .price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
    font-size: var(--product-price-size, 18px);
    font-weight: 800;
    color: #e91e63;
}

@media (min-width: 768px) {
    .product-card__price .price {
        font-size: var(--product-price-size, 20px);
    }
}

@media (min-width: 1200px) {
    .product-card__price .price {
        font-size: var(--product-price-size, 22px);
    }
}

.product-card__price del,
.product-card__price .price del {
    font-size: 12px;
    font-weight: 400;
    color: #bbb;
    text-decoration: line-through;
    order: -1;
}

.product-card__price ins,
.product-card__price .price ins {
    text-decoration: none;
    background: none;
}

/* Order Button */
.product-card__order-btn {
    flex-shrink: 0;
}

.product-card__order-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: #222;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .product-card__order-button {
        padding: 11px 18px;
        font-size: 13px;
    }
}

@media (min-width: 1200px) {
    .product-card__order-button {
        padding: 12px 20px;
        font-size: 13px;
    }
}

.product-card__order-button:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

/* Hide old button wrapper */
.product-card__button {
    display: none;
}

/* Stock Status */
.product-card__stock {
    display: none;
}

.product-card__category {
    display: none;
}


/* ==========================================================================
   Single Product - upoharshop.com layout
   ========================================================================== */

.single-product-page {
    padding-top: 24px;
    padding-bottom: 48px;
}

.single-product-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .single-product-content {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: start;
    }
}

/* Product Gallery */
.product-gallery {
    position: relative;
}

.product-gallery__main {
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-lg);
}

.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery__thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.product-gallery__thumb {
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-md);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.product-gallery__thumb:hover,
.product-gallery__thumb.is-active {
    opacity: 1;
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Summary */
.product-summary {
    display: flex;
    flex-direction: column;
}

.product-summary__title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
    .product-summary__title {
        font-size: var(--font-size-3xl);
    }
}

.product-summary__price {
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.product-summary__price .price {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

.product-summary__price del {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
}

.product-summary__price ins {
    text-decoration: none;
    color: var(--color-error);
}

.product-summary__excerpt {
    margin-bottom: var(--space-6);
    font-size: var(--font-size-base);
    color: var(--color-text-light);
    line-height: var(--line-height-relaxed);
}

/* Add to Cart Form */
.product-summary__form {
    margin-bottom: var(--space-6);
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.quantity__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: var(--font-size-lg);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    transition: background-color var(--transition-fast);
}

.quantity__btn:hover {
    background-color: var(--color-bg-alt);
}

.quantity input[type="number"] {
    width: 60px;
    height: 40px;
    padding: 0;
    text-align: center;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    border: none;
    -moz-appearance: textfield;
}

.quantity input[type="number"]::-webkit-outer-spin-button,
.quantity input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.single_add_to_cart_button {
    flex: 1;
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-inverse);
    background-color: var(--color-primary);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.single_add_to_cart_button:hover {
    background-color: var(--color-primary-dark);
}

/* Product Meta */
.product-summary__meta {
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.product-summary__meta > span {
    display: block;
    margin-bottom: var(--space-2);
}

.product-summary__meta a {
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.product-summary__meta a:hover {
    color: var(--color-primary);
}


/* ==========================================================================
   Product Tabs
   ========================================================================== */

.product-tabs {
    margin-top: var(--space-12);
}

.wc-tabs-wrapper {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.wc-tabs {
    display: flex;
    border-bottom: 1px solid var(--color-border);
}

.wc-tabs li {
    margin: 0;
}

.wc-tabs li a {
    display: block;
    padding: var(--space-4) var(--space-6);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-light);
    border-bottom: 2px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.wc-tabs li.active a,
.wc-tabs li a:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.wc-tab {
    padding: var(--space-6);
}

.wc-tab h2 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-4);
}


/* ==========================================================================
   Related Products
   ========================================================================== */

.related-products {
    margin-top: var(--space-16);
}

.related-products__title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
    .related-products__title {
        font-size: var(--font-size-2xl);
    }
}


/* ==========================================================================
   Cart Page - Modern Design
   ========================================================================== */

/* Cart page wrapper */
.cart-page {
    padding: 40px 0 60px;
    background: #f5f5f5;
    min-height: calc(100vh - 200px);
}

/* Cart wrapper */
.flavor-cart-wrapper {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Cart Header */
.cart-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.cart-header__left {
    flex: 1;
}

.cart-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #e91e63;
    text-decoration: none;
    margin-bottom: 12px;
    transition: opacity 0.2s ease;
}

.cart-back-link:hover {
    opacity: 0.8;
}

.cart-back-link svg {
    width: 16px;
    height: 16px;
}

.cart-page-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 6px 0;
    padding: 0;
    border: none;
}

@media (min-width: 768px) {
    .cart-page-title {
        font-size: 32px;
    }
}

.cart-page-subtitle {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.cart-header__right {
    flex-shrink: 0;
}

.cart-secure-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f8fff8;
    border: 1px solid #e0f5e0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #4caf50;
}

.cart-secure-badge svg {
    color: #4caf50;
}

/* Cart Columns Layout */
.cart-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

@media (min-width: 1024px) {
    .cart-columns {
        grid-template-columns: 1fr 380px;
        gap: 40px;
    }
}

/* Cart Items Card */
.cart-items-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Cart Items Header */
.cart-items-header {
    display: none;
    padding: 16px 24px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .cart-items-header {
        display: grid;
        grid-template-columns: 1fr 100px 120px 100px;
        gap: 16px;
        align-items: center;
    }
}

.cart-items-header__qty,
.cart-items-header__subtotal {
    text-align: center;
}

/* Cart Items List */
.cart-items-list {
    padding: 0;
}

/* Individual Cart Item */
.cart-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.cart-item:last-child {
    border-bottom: none;
}

@media (min-width: 768px) {
    .cart-item {
        grid-template-columns: 1fr 100px 120px 100px;
        align-items: center;
    }
}

/* Product Info */
.cart-item__product {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cart-item__thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
}

.cart-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item__thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.cart-item__details {
    flex: 1;
    min-width: 0;
}

.cart-item__name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.cart-item__name a {
    color: inherit;
    text-decoration: none;
}

.cart-item__name a:hover {
    color: #e91e63;
}

.cart-item__sku {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.cart-item__remove {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    font-size: 12px;
    color: #e91e63;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cart-item__remove:hover {
    opacity: 0.7;
}

.cart-item__remove svg {
    width: 14px;
    height: 14px;
}

/* Hide actual WC remove link */
.cart-item__remove-link {
    display: none !important;
}

/* Cart Item Price */
.cart-item__price {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.cart-item__price::before {
    content: attr(data-title) ': ';
    font-weight: 400;
    color: #888;
}

@media (min-width: 768px) {
    .cart-item__price::before {
        display: none;
    }
}

/* Cart Item Quantity */
.cart-item__qty {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.cart-item__qty::before {
    content: attr(data-title) ': ';
    font-weight: 400;
    color: #888;
    font-size: 14px;
}

@media (min-width: 768px) {
    .cart-item__qty {
        justify-content: center;
    }
    
    .cart-item__qty::before {
        display: none;
    }
}

/* Quantity Input Styling */
.cart-item__qty .quantity {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.cart-item__qty .quantity input.qty {
    width: 48px;
    height: 36px;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: #333;
    background: #fff;
    border: none;
    outline: none;
    -moz-appearance: textfield;
}

.cart-item__qty .quantity input.qty::-webkit-outer-spin-button,
.cart-item__qty .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Cart quantity buttons */
.cart-item__qty .quantity__btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
    color: #666;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cart-item__qty .quantity__btn:hover {
    background: #e91e63;
    color: #fff;
}

.cart-item__qty .quantity__btn--minus {
    border-radius: 8px 0 0 8px;
}

.cart-item__qty .quantity__btn--plus {
    border-radius: 0 8px 8px 0;
}

/* Cart Item Subtotal */
.cart-item__subtotal {
    font-size: 16px;
    font-weight: 700;
    color: #e91e63;
}

.cart-item__subtotal::before {
    content: attr(data-title) ': ';
    font-weight: 400;
    color: #888;
    font-size: 14px;
}

@media (min-width: 768px) {
    .cart-item__subtotal {
        text-align: center;
    }
    
    .cart-item__subtotal::before {
        display: none;
    }
}

/* Cart Actions */
.cart-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 24px;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
}

/* Coupon Input */
.cart-coupon {
    display: flex;
    flex: 1;
    min-width: 280px;
    gap: 8px;
}

.cart-coupon__input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

.cart-coupon__input-wrap svg {
    flex-shrink: 0;
}

.cart-coupon__input-wrap input {
    flex: 1;
    height: 44px;
    padding: 0;
    font-size: 14px;
    color: #333;
    background: transparent;
    border: none;
    outline: none;
}

.cart-coupon__btn {
    height: 44px;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #e91e63 0%, #d81b60 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.cart-coupon__btn:hover {
    background: linear-gradient(135deg, #d81b60 0%, #c2185b 100%);
}

/* Update Cart Button */
.cart-update-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: auto;
}

.cart-update-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.cart-update-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==========================================================================
   Cart Totals Sidebar
   ========================================================================== */

.cart-totals-column .cart-collaterals {
    position: sticky;
    top: 100px;
}

.cart-totals-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.cart-totals__title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    padding: 0 0 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Totals Rows */
.cart-totals__rows {
    margin-bottom: 20px;
}

.cart-totals__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-totals__row:last-child {
    border-bottom: none;
}

.cart-totals__label {
    font-size: 14px;
    color: #666;
}

.cart-totals__value {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Shipping Free */
.shipping-free {
    color: #4caf50;
    font-weight: 600;
}

/* Order Total */
.cart-totals__total {
    margin-top: 8px;
    padding-top: 16px !important;
    border-top: 2px solid #333 !important;
    border-bottom: none !important;
}

.cart-totals__total .cart-totals__label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.cart-totals__total-price {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #e91e63 !important;
}

/* Delivery Info */
.cart-delivery-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    margin-bottom: 20px;
    background: #fafafa;
    border-radius: 10px;
}

.cart-delivery-info__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cart-delivery-info__item svg {
    color: #e91e63;
    flex-shrink: 0;
    margin-top: 2px;
}

.cart-delivery-info__item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-delivery-info__item strong {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.cart-delivery-info__item span {
    font-size: 12px;
    color: #888;
}

/* Proceed to Checkout Button */
.wc-proceed-to-checkout {
    margin-bottom: 20px;
}

.wc-proceed-to-checkout .checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 56px;
    padding: 0 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #e91e63 0%, #d81b60 100%);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.3);
    text-decoration: none;
}

.wc-proceed-to-checkout .checkout-button::after {
    content: '→';
    font-size: 18px;
}

.wc-proceed-to-checkout .checkout-button:hover {
    background: linear-gradient(135deg, #d81b60 0%, #c2185b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(233, 30, 99, 0.4);
    color: #fff;
}

/* Trust Badges */
.cart-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.cart-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #888;
}

.cart-trust-badge svg {
    width: 16px;
    height: 16px;
    color: #4caf50;
}

/* Empty Cart */
.woocommerce-cart .cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.woocommerce-cart .cart-empty.woocommerce-info {
    background: #fff;
    border-radius: 16px;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.woocommerce-cart .return-to-shop {
    margin-top: 20px;
}

.woocommerce-cart .return-to-shop .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #e91e63 0%, #d81b60 100%);
    border: none;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.woocommerce-cart .return-to-shop .button:hover {
    background: linear-gradient(135deg, #d81b60 0%, #c2185b 100%);
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .cart-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .cart-secure-badge {
        width: 100%;
        justify-content: center;
    }
    
    .cart-items-card {
        border-radius: 12px;
    }
    
    .cart-item {
        padding: 16px;
    }
    
    .cart-item__thumb {
        width: 70px;
        height: 70px;
    }
    
    .cart-actions {
        flex-direction: column;
        padding: 16px;
    }
    
    .cart-coupon {
        flex-direction: column;
        width: 100%;
    }
    
    .cart-coupon__input-wrap {
        width: 100%;
    }
    
    .cart-coupon__btn {
        width: 100%;
    }
    
    .cart-update-btn {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }
    
    .cart-totals-card {
        padding: 20px;
    }
    
    .cart-page-title {
        font-size: 24px;
    }
}

/* Hide old cart table styles */
.woocommerce-cart .shop_table.cart {
    display: none;
}

.woocommerce-cart-form {
    margin-bottom: 0;
}

.shop_table {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.shop_table th,
.shop_table td {
    padding: var(--space-4);
    text-align: left;
    vertical-align: middle;
}

.shop_table thead {
    background-color: var(--color-bg-alt);
}

.shop_table thead th {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
}

.shop_table tbody tr {
    border-top: 1px solid var(--color-border);
}

.shop_table .product-thumbnail {
    width: 80px;
}

.shop_table .product-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.shop_table .product-name a {
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
}

.shop_table .product-name a:hover {
    color: var(--color-primary);
}

.shop_table .product-remove {
    text-align: center;
}

.shop_table .remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-full);
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.shop_table .remove:hover {
    color: var(--color-text-inverse);
    background-color: var(--color-error);
}

.shop_table .actions {
    padding: var(--space-4);
    background-color: var(--color-bg-alt);
}

/* Responsive Cart Table */
@media (max-width: 767px) {
    .shop_table thead {
        display: none;
    }
    
    .shop_table tbody tr {
        display: grid;
        grid-template-columns: 80px 1fr;
        gap: var(--space-4);
        padding: var(--space-4);
    }
    
    .shop_table tbody td {
        padding: 0;
    }
    
    .shop_table .product-thumbnail {
        grid-row: span 3;
    }
    
    .shop_table .product-remove {
        position: absolute;
        top: var(--space-4);
        right: var(--space-4);
    }
    
    .shop_table .actions {
        grid-column: span 2;
    }
}

/* Cart Totals - Override old styles for new cart design */
.cart-totals-column .cart-collaterals {
    display: block;
    grid-template-columns: none;
}

/* Old cart totals - keep for compatibility but override in new design */
.cart_totals {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
}

.cart_totals h2 {
    display: none;
}

.cart_totals table {
    display: none;
}

.wc-proceed-to-checkout .checkout-button:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-text-inverse);
}


/* ==========================================================================
   Checkout Page - upoharshop.com exact design
   ========================================================================== */

/* Checkout page wrapper */
.checkout-page {
    padding: 40px 0 60px;
    background: #f5f5f5;
    min-height: calc(100vh - 200px);
}

/* Checkout wrapper */
.flavor-checkout-wrapper {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Hide WooCommerce default page title and notices - we have our own */
body.woocommerce-checkout .entry-title,
body.woocommerce-checkout .page-title,
body.woocommerce-checkout .woocommerce-products-header__title,
body.woocommerce-checkout h1.page-title,
body.woocommerce-checkout .entry-header,
body.woocommerce-checkout .page-header,
body.woocommerce-checkout .woocommerce > h1:first-child,
body.woocommerce-checkout .woocommerce > h2:first-child,
.checkout-page > .woocommerce > h1:first-child,
.checkout-page > .woocommerce > h2:first-child,
.checkout-page > h1,
.checkout-page > h2,
.checkout-page .woocommerce-checkout > h1,
.checkout-page .woocommerce-checkout > h2 {
    display: none !important;
}

/* Style/hide coupon toggle notice - we have coupon in order summary */
body.woocommerce-checkout .woocommerce-form-coupon-toggle {
    display: none !important;
}

/* Move notices inside checkout wrapper */
body.woocommerce-checkout .woocommerce-notices-wrapper {
    max-width: var(--container-max);
    margin: 0 auto 20px;
    padding: 0 var(--container-padding);
}

/* Reset WooCommerce default styles */
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout .woocommerce-checkout {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

body.woocommerce-checkout #customer_details {
    display: block;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
    float: none;
    width: 100%;
    padding: 0;
    margin: 0;
}

body.woocommerce-checkout h3#order_review_heading {
    display: none !important; /* Hidden as we have our own */
}

/* Hide default WC checkout page headers */
body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-shipping-fields > h3,
body.woocommerce-checkout .woocommerce-additional-fields > h3 {
    display: none !important;
}

/* Checkout Header */
.checkout-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 0;
}

.checkout-header__left {
    flex: 1;
}

.checkout-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #888;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.checkout-back-link:hover {
    color: #e91e63;
}

.checkout-back-link svg {
    width: 14px;
    height: 14px;
}

/* Page Title */
.checkout-page-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
    padding: 0;
    border: none;
    text-align: left;
}

@media (min-width: 768px) {
    .checkout-page-title {
        font-size: 36px;
    }
}

.checkout-page-subtitle {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: #aaa;
    margin: 0;
    text-transform: uppercase;
}

/* SSL Badge - Turquoise styled like upoharshop */
.checkout-header__right {
    flex-shrink: 0;
}

.checkout-ssl-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    border: 2px solid #26c6da;
    border-radius: 16px;
}

.checkout-ssl-badge svg {
    width: 32px;
    height: 32px;
    color: #26c6da;
    flex-shrink: 0;
}

.checkout-ssl-badge__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.checkout-ssl-badge__title {
    font-size: 14px;
    font-weight: 600;
    color: #26c6da;
}

.checkout-ssl-badge__desc {
    font-size: 11px;
    color: #26c6da;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Two Column Layout */
.woocommerce-checkout .checkout-columns,
form.woocommerce-checkout .checkout-columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 32px;
    align-items: start;
    width: 100%;
}

@media (min-width: 1024px) {
    .woocommerce-checkout .checkout-columns,
    form.woocommerce-checkout .checkout-columns {
        grid-template-columns: 1fr 420px !important;
        gap: 40px;
    }
}

.checkout-customer-details {
    min-width: 0;
    width: 100%;
}

.checkout-order-review {
    min-width: 0;
    width: 100%;
}

/* Checkout Cards */
.checkout-card {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: none;
    border: none;
}

.checkout-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 0;
    border-bottom: none;
}

.checkout-card__number {
    width: 40px;
    height: 40px;
    background: #333;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkout-card__title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding: 0;
    border: none;
}

/* Hide default billing/shipping headers inside cards */
.checkout-card .woocommerce-billing-fields h3,
.checkout-card .woocommerce-shipping-fields h3,
.checkout-card .woocommerce-additional-fields h3 {
    display: none !important;
}

/* ==========================================================================
   Checkout Form Fields - upoharshop.com exact design
   ========================================================================== */

/* Form field wrapper grid */
.checkout-card .woocommerce-billing-fields__field-wrapper,
.checkout-card .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .checkout-card .woocommerce-billing-fields__field-wrapper,
    .checkout-card .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* Form Row */
.woocommerce-checkout .form-row {
    margin-bottom: 0;
    padding: 0;
    position: relative;
}

/* Full width fields */
.woocommerce-checkout .form-row-wide,
.woocommerce-checkout #billing_address_1_field,
.woocommerce-checkout #billing_address_2_field,
.woocommerce-checkout #shipping_address_1_field,
.woocommerce-checkout #shipping_address_2_field,
.woocommerce-checkout #order_comments_field {
    grid-column: 1 / -1;
}

/* Labels */
.woocommerce-checkout .form-row label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: 10px;
}

.woocommerce-checkout .form-row label .required {
    color: #e91e63;
    margin-left: 2px;
}

.woocommerce-checkout .form-row label .optional {
    font-size: 12px;
    color: #999;
    font-weight: 400;
}

/* Input Fields - Clean style without icons */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 400;
    color: #333;
    background: #f5f5f5;
    border: none;
    border-radius: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.woocommerce-checkout .form-row input.input-text::placeholder {
    color: #aaa;
    font-weight: 400;
}

.woocommerce-checkout .form-row textarea {
    height: auto;
    min-height: 120px;
    padding: 18px 16px;
    resize: vertical;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
    background: #fff;
    border: 2px solid #e91e63;
    box-shadow: none;
}

/* Select dropdown styling */
.woocommerce-checkout .form-row select {
    padding-right: 48px;
    appearance: none;
    -webkit-appearance: none;
    background-color: #f5f5f5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' 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: right 16px center;
    background-size: 18px;
    cursor: pointer;
}

.woocommerce-checkout .form-row select:focus {
    background-color: #fff;
}

/* Hide country field if only one country */
.woocommerce-checkout #billing_country_field,
.woocommerce-checkout #shipping_country_field {
    display: none;
}

/* Payment Method Card */
.checkout-payment-card {
    margin-top: 0;
}

.checkout-payment-methods-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-payment-methods-wrapper .wc_payment_method {
    margin: 0;
}

.checkout-payment-methods-wrapper .payment-method-inner {
    padding: 20px;
    background: #fff;
    border: 2px dashed #e0e0e0;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkout-payment-methods-wrapper .payment-method-inner.selected,
.checkout-payment-methods-wrapper .payment-method-inner:has(input:checked) {
    background: #fff0f5;
    border-color: #e91e63;
}

.checkout-payment-methods-wrapper .payment-method-inner label {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    position: relative;
    margin: 0;
    padding: 0;
}

.checkout-payment-methods-wrapper .payment-method-inner input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Payment Icon Box */
.checkout-payment-methods-wrapper .payment-icon {
    width: 52px;
    height: 52px;
    background: #e91e63;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px;
}

/* Payment Text */
.checkout-payment-methods-wrapper .payment-method-text {
    flex: 1;
    padding-top: 4px;
}

.checkout-payment-methods-wrapper .payment-method-text strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.checkout-payment-methods-wrapper .payment-method-text span {
    font-size: 13px;
    color: #e91e63;
    display: block;
}

/* Checkmark Icon */
.checkout-payment-methods-wrapper .payment-check {
    position: absolute;
    top: 0;
    right: 0;
    width: 28px;
    height: 28px;
    color: #e91e63;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.checkout-payment-methods-wrapper .payment-method-inner.selected .payment-check,
.checkout-payment-methods-wrapper .payment-method-inner:has(input:checked) .payment-check {
    opacity: 1;
}

.checkout-payment-methods-wrapper .payment-check svg {
    width: 100%;
    height: 100%;
}

/* Payment box for additional fields */
.checkout-payment-methods-wrapper .payment_box {
    margin-top: 16px;
    padding: 16px;
    font-size: 13px;
    color: #666;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

/* No payment needed text */
.no-payment-needed {
    text-align: center;
    color: #666;
    padding: 20px;
    font-size: 14px;
}

/* Hide default WC payment section completely - we have custom one in left column */
.woocommerce-checkout #payment {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-checkout #payment .wc_payment_methods {
    display: none !important;
}

.woocommerce-checkout #payment .wc_payment_method {
    display: none !important;
}

/* Hide duplicate payment card that comes from WC hooks */
.woocommerce-checkout .checkout-order-review-card #payment {
    display: block !important;
}

.woocommerce-checkout .checkout-order-review-card #payment .form-row.place-order {
    display: block !important;
    padding: 0;
    margin: 0;
}

/* ==========================================================================
   Order Summary Sidebar - upoharshop.com exact design
   ========================================================================== */

.checkout-order-review-card {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: none;
    position: sticky;
    top: 100px;
}

.checkout-order-review-card h3,
.checkout-order-review-card #order_review_heading {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0 0 28px 0;
    padding: 0;
    border: none;
    display: block !important;
}

/* Order Items - Product list */
.checkout-order-items {
    padding-bottom: 20px;
    margin-bottom: 0;
    border-bottom: 1px solid #f0f0f0;
}

.checkout-order-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
    align-items: center;
}

.checkout-order-item:first-child {
    padding-top: 0;
}

.checkout-order-item:last-child {
    border-bottom: none;
}

.checkout-order-item__thumb {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    background: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.checkout-order-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* COMBO badge on thumbnail */
.checkout-order-item__thumb .combo-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #4caf50;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    text-align: center;
    padding: 2px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkout-order-item__details {
    flex: 1;
    min-width: 0;
}

.checkout-order-item__name {
    font-size: 14px;
    font-weight: 500;
    color: #e91e63;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.checkout-order-item__meta {
    font-size: 13px;
    color: #999;
}

/* Quantity Controls for checkout order items */
.checkout-order-item__qty {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 8px;
    background: #f5f5f5;
    border-radius: 8px;
    width: fit-content;
}

.checkout-qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checkout-qty-btn:hover {
    color: #e91e63;
    background: rgba(233, 30, 99, 0.1);
}

.checkout-qty-btn:first-child {
    border-radius: 8px 0 0 8px;
}

.checkout-qty-btn:last-child {
    border-radius: 0 8px 8px 0;
}

.checkout-qty-value {
    min-width: 30px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Actions column - Remove button and total */
.checkout-order-item__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.checkout-item-remove {
    width: 32px;
    height: 32px;
    border: none;
    background: #fce4ec;
    border-radius: 8px;
    color: #e91e63;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checkout-item-remove:hover {
    background: #e91e63;
    color: #fff;
}

.checkout-item-remove svg {
    width: 16px;
    height: 16px;
}

/* Checkout Order Item Loading States */
.checkout-order-item.is-updating,
.checkout-order-item.is-removing {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

.checkout-order-item.is-updating::after,
.checkout-order-item.is-removing::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #e91e63;
    border-top-color: transparent;
    border-radius: 50%;
    animation: checkoutSpinner 0.6s linear infinite;
}

@keyframes checkoutSpinner {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.checkout-order-item.is-removing {
    animation: fadeOutItem 0.3s ease forwards;
}

@keyframes fadeOutItem {
    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

.checkout-order-item__total {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    text-align: right;
}

/* Order Totals */
.checkout-order-totals {
    padding: 20px 0 0 0;
    border-top: 1px solid #f0f0f0;
    margin-top: 0;
}

.checkout-totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.checkout-totals-label {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.checkout-totals-value {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Shipping free badge */
.shipping-free {
    color: #e91e63;
    font-weight: 600;
}

/* Total row */
.checkout-totals-row.checkout-total {
    padding-top: 16px;
    margin-top: 8px;
    border-top: none;
}

.checkout-totals-row.checkout-total .checkout-totals-label {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.checkout-totals-row.checkout-total .checkout-totals-value,
.checkout-total-price {
    font-size: 22px;
    font-weight: 700;
    color: #e91e63;
}

/* Coupon Section */
.checkout-coupon-section {
    padding: 20px 0 0 0;
    border-top: none;
    margin-top: 12px;
}

.checkout-coupon-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #e91e63;
    margin-bottom: 14px;
}

.checkout-coupon-header svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #e91e63;
}

.checkout-coupon-form {
    margin-bottom: 0;
}

.coupon-input-wrapper {
    display: flex;
    gap: 0;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50px;
    padding: 4px 4px 4px 16px;
    position: relative;
    overflow: hidden;
}

.coupon-input-wrapper .coupon-icon {
    width: 20px;
    height: 20px;
    color: #ccc;
    flex-shrink: 0;
}

.coupon-input-wrapper input {
    flex: 1;
    height: 44px;
    padding: 0 12px;
    font-size: 14px;
    border: none;
    background: transparent;
    outline: none;
}

.coupon-input-wrapper input::placeholder {
    color: #aaa;
}

.apply-coupon-btn {
    height: 44px;
    padding: 0 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    background: #e91e63;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.apply-coupon-btn:hover {
    background: #d81b60;
}

/* Place Order Button */
#place_order {
    width: 100%;
    height: 60px;
    padding: 0 32px;
    margin-top: 20px;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    background: #e91e63;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

#place_order::after {
    content: '→';
    font-size: 20px;
    font-weight: 400;
}

#place_order:hover {
    background: #d81b60;
    transform: none;
    box-shadow: 0 4px 16px rgba(233, 30, 99, 0.3);
}

/* Terms and conditions */
.woocommerce-terms-and-conditions-wrapper {
    margin: 12px 0;
    font-size: 13px;
    color: #666;
}

.woocommerce-terms-and-conditions-wrapper a {
    color: #e91e63;
}

/* Custom place order section */
.checkout-place-order {
    margin-top: 20px;
}

.checkout-terms-wrapper {
    margin-bottom: 16px;
}

.checkout-place-order-btn {
    margin-bottom: 16px;
}

.checkout-security-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    font-size: 12px;
    color: #4caf50;
    background: #f8fff8;
    border-radius: 8px;
    border: 1px solid #e0f5e0;
}

.checkout-security-notice svg {
    color: #4caf50;
    flex-shrink: 0;
}

/* Hide original payment methods in order review */
.checkout-order-review-card > #order_review > #payment {
    margin-top: 0;
}

.checkout-order-review-card > #order_review > #payment .wc_payment_methods {
    display: none !important;
}

/* Payment inside order review card */
.checkout-order-review-card #payment {
    background: none;
    border: none;
    padding: 0;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .checkout-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .checkout-ssl-badge {
        width: 100%;
        justify-content: center;
    }
    
    .checkout-card {
        padding: 20px;
    }
    
    .checkout-order-review-card {
        padding: 20px;
        position: static;
    }
    
    .checkout-page-title {
        font-size: 24px;
    }
}

/* ==========================================================================
   Payment Methods - Left Column Card Styling
   ========================================================================== */

/* Hide payment methods in order review (we show them in left column) */
.checkout-order-review-card #payment .wc_payment_methods,
.woocommerce-checkout-review-order #payment .wc_payment_methods {
    display: none !important;
}

/* Keep place order button visible in order review */
.checkout-order-review-card #payment .form-row.place-order,
.woocommerce-checkout-review-order #payment .form-row.place-order {
    display: block !important;
    margin: 0;
    padding: 0;
}

/* Payment card styling in left column */
.checkout-payment-card .wc_payment_methods {
    margin: 0;
    padding: 0;
    list-style: none;
}

.checkout-payment-card .wc_payment_method {
    margin-bottom: 12px;
    position: relative;
}

.checkout-payment-card .wc_payment_method:last-child {
    margin-bottom: 0;
}

.checkout-payment-card .wc_payment_method label {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    padding-right: 60px;
    background: #fff5f8;
    border: 2px dashed #f8bbd9;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: normal;
}

.checkout-payment-card .wc_payment_method label:hover {
    border-color: #e91e63;
    background: #fce4ec;
}

.checkout-payment-card .wc_payment_method input[type="radio"]:checked + label {
    border-color: #e91e63;
    background: #fff5f8;
}

.checkout-payment-card .wc_payment_method input[type="radio"] {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    accent-color: #e91e63;
}

/* Check icon for selected state */
.checkout-payment-card .wc_payment_method input[type="radio"]:checked::after {
    content: '✓';
    position: absolute;
    font-size: 14px;
    color: #4caf50;
}

/* Payment box description */
.checkout-payment-card .payment_box {
    margin-top: 12px;
    padding: 16px;
    font-size: 13px;
    color: #666;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Remove default WooCommerce payment section background */
.woocommerce-checkout #payment {
    background: transparent;
    border: none;
    border-radius: 0;
}

/* Style the place order in order review */
.checkout-order-review-card #payment {
    padding: 0;
    margin: 0;
}


/* ==========================================================================
   WooCommerce Notices
   ========================================================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: var(--space-4);
    margin-bottom: var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
}

.woocommerce-message {
    background-color: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.woocommerce-info {
    background-color: #dbeafe;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.woocommerce-error {
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.woocommerce-error li {
    margin-bottom: var(--space-2);
}

.woocommerce-error li:last-child {
    margin-bottom: 0;
}


/* ==========================================================================
   Empty Cart / No Products
   ========================================================================== */

.cart-empty,
.woocommerce-info.empty-cart {
    text-align: center;
    padding: var(--space-12);
}

.return-to-shop .button {
    display: inline-block;
    margin-top: var(--space-4);
}


/* ==========================================================================
   Pagination
   ========================================================================== */

.woocommerce-pagination {
    margin-top: var(--space-8);
    text-align: center;
}

.woocommerce-pagination ul {
    display: inline-flex;
    gap: var(--space-1);
}

.woocommerce-pagination li {
    display: inline-block;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-3);
    font-size: var(--font-size-sm);
    color: var(--color-text);
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.woocommerce-pagination a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.woocommerce-pagination span.current {
    color: var(--color-text-inverse);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}


/* ==========================================================================
   Enhanced Single Product Page - upoharshop.com exact style
   ========================================================================== */

/* Product Gallery - Left Side */
.single-product .woocommerce-product-gallery {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
}

.single-product .woocommerce-product-gallery__wrapper {
    margin: 0;
}

.single-product .woocommerce-product-gallery__image {
    border-radius: 16px;
    overflow: hidden;
}

.single-product .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
}

.single-product .woocommerce-product-gallery__trigger {
    display: none;
}

/* Sale Badge on Single Product */
.single-product .onsale {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

/* Product Title */
.product_title.entry-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .product_title.entry-title {
        font-size: 28px;
    }
}

/* Price Section */
.single-product .price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}

.single-product .price del {
    font-size: 16px;
    font-weight: 400;
    color: #999;
    text-decoration: line-through;
}

.single-product .price del .woocommerce-Price-amount {
    color: #999;
}

.single-product .price > .woocommerce-Price-amount,
.single-product .price ins .woocommerce-Price-amount {
    font-size: 32px;
    font-weight: 700;
    color: #e91e63;
}

@media (min-width: 768px) {
    .single-product .price > .woocommerce-Price-amount,
    .single-product .price ins .woocommerce-Price-amount {
        font-size: 36px;
    }
}

.single-product .price ins {
    text-decoration: none;
    background: none;
}

/* Short Description */
.single-product .woocommerce-product-details__short-description {
    margin-bottom: 24px;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.single-product .woocommerce-product-details__short-description p {
    margin: 0;
}

/* Single Product Add to Cart - upoharshop.com exact style */
.single-product form.cart {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(233,30,99,0.02) 0%, rgba(233,30,99,0.06) 100%);
    border-radius: 12px;
}

@media (min-width: 768px) {
    .single-product form.cart {
        flex-direction: row;
        align-items: center;
        padding: 20px 24px;
    }
}

/* Quantity Selector with +/- buttons - upoharshop.com exact style */
.single-product form.cart .quantity {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    overflow: hidden;
    height: 52px;
    min-width: 140px;
}

.single-product form.cart .quantity .quantity__btn {
    width: 44px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    transition: all 0.2s ease;
}

.single-product form.cart .quantity .quantity__btn:hover {
    background: rgba(233, 30, 99, 0.05);
    color: #e91e63;
}

.single-product form.cart .quantity .quantity__btn--minus {
    border-right: 1px solid #e0e0e0;
}

.single-product form.cart .quantity .quantity__btn--plus {
    border-left: 1px solid #e0e0e0;
}

.single-product form.cart .quantity .qty {
    flex: 1;
    width: 50px;
    height: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    border: none;
    outline: none;
    background: transparent;
    -moz-appearance: textfield;
}

.single-product form.cart .quantity .qty::-webkit-outer-spin-button,
.single-product form.cart .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to Cart Button */
.single-product form.cart .single_add_to_cart_button {
    flex: 1;
    height: 52px;
    padding: 0 40px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #e91e63 0%, #d81b60 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.3);
}

.single-product form.cart .single_add_to_cart_button:hover {
    background: linear-gradient(135deg, #d81b60 0%, #c2185b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(233, 30, 99, 0.4);
}

/* WhatsApp Order Button */
.whatsapp-order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    width: 100%;
    padding: var(--space-4);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: #fff;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-bottom: var(--space-4);
}

.whatsapp-order-btn:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    transform: translateY(-2px);
    color: #fff;
}

.whatsapp-order-btn svg {
    width: 22px;
    height: 22px;
}

/* Product Meta - Category link */
.single-product .product_meta {
    padding: 16px 0;
    margin-top: 16px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.single-product .product_meta > span {
    display: block;
    padding: 4px 0;
}

.single-product .product_meta > span:last-child {
    border-bottom: none;
}

.single-product .product_meta a {
    color: #e91e63;
    text-decoration: none;
}

.single-product .product_meta a:hover {
    text-decoration: underline;
}

/* Product Tabs - upoharshop.com style */
.single-product .woocommerce-tabs {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #eee;
}

.single-product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 0;
    padding: 0;
    margin: 0 0 0 0;
    border-bottom: 1px solid #eee;
    list-style: none;
}

.single-product .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
}

.single-product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li a:hover {
    color: #e91e63;
    border-bottom-color: #e91e63;
}

.single-product .woocommerce-tabs .panel {
    padding: 24px 0;
}

.single-product .woocommerce-tabs .panel h2 {
    display: none;
}

/* Related Products Enhanced */
.single-product .related.products,
.single-product .upsells.products {
    margin-top: var(--space-16);
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border);
}

.single-product .related.products > h2,
.single-product .upsells.products > h2 {
    font-size: var(--font-size-2xl);
    text-align: center;
    margin-bottom: var(--space-8);
}


/* ==========================================================================
   Enhanced Cart Page (upoharshop style)
   ========================================================================== */

.woocommerce-cart .shop_table {
    border: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.woocommerce-cart .shop_table thead {
    background: linear-gradient(135deg, var(--color-primary), #c2185b);
}

.woocommerce-cart .shop_table thead th {
    color: #fff;
    font-weight: var(--font-weight-semibold);
    padding: var(--space-4) var(--space-3);
}

.woocommerce-cart .shop_table tbody tr {
    transition: background-color var(--transition-fast);
}

.woocommerce-cart .shop_table tbody tr:hover {
    background-color: rgba(233,30,99,0.02);
}

.woocommerce-cart .shop_table .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-border);
}

.woocommerce-cart .shop_table .product-name a {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
}

.woocommerce-cart .shop_table .product-name a:hover {
    color: var(--color-primary);
}

.woocommerce-cart .shop_table .product-price .woocommerce-Price-amount,
.woocommerce-cart .shop_table .product-subtotal .woocommerce-Price-amount {
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

.woocommerce-cart .shop_table .remove {
    width: 32px;
    height: 32px;
    font-size: var(--font-size-xl);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.woocommerce-cart .shop_table .remove:hover {
    background: var(--color-error);
    color: #fff;
    transform: scale(1.1);
}

.woocommerce-cart .shop_table .actions {
    background: var(--color-bg-alt);
    padding: var(--space-5);
}

.woocommerce-cart .coupon {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.woocommerce-cart .coupon input {
    flex: 1;
    min-width: 200px;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.woocommerce-cart .coupon input:focus {
    border-color: var(--color-primary);
    outline: none;
}

/* Cart Totals Enhanced */
.woocommerce-cart .cart_totals {
    background: linear-gradient(135deg, #fef7f9, #fff5f7);
    border: 2px solid rgba(233,30,99,0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
}

.woocommerce-cart .cart_totals h2 {
    font-size: var(--font-size-xl);
    color: var(--color-text);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid rgba(233,30,99,0.1);
}

.woocommerce-cart .cart_totals .order-total .woocommerce-Price-amount {
    font-size: var(--font-size-2xl);
    color: var(--color-primary);
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    padding: var(--space-5);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    background: linear-gradient(135deg, var(--color-primary), #c2185b);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(233,30,99,0.35);
    transition: all var(--transition-fast);
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
    background: linear-gradient(135deg, #c2185b, var(--color-primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(233,30,99,0.45);
}


/* ==========================================================================
   Enhanced Checkout Page (upoharshop style)
   ========================================================================== */

.woocommerce-checkout .checkout-customer-details {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.woocommerce-checkout h3 {
    font-size: var(--font-size-xl);
    color: var(--color-text);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.woocommerce-checkout h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--color-primary);
    border-radius: 2px;
}

.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
    padding: var(--space-4);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-fast);
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(233,30,99,0.1);
}

.woocommerce-checkout .form-row label {
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

/* Order Review Enhanced */
.woocommerce-checkout .checkout-order-review {
    position: sticky;
    top: var(--space-8);
}

.woocommerce-checkout .checkout-order-review h3 {
    margin-bottom: var(--space-4);
}

.woocommerce-checkout #order_review {
    background: linear-gradient(135deg, #fef7f9, #fff5f7);
    border: 2px solid rgba(233,30,99,0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
}

.woocommerce-checkout .woocommerce-checkout-review-order-table {
    margin-bottom: var(--space-6);
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item td {
    padding: var(--space-4) var(--space-2);
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
    font-weight: var(--font-weight-medium);
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total .woocommerce-Price-amount {
    font-size: var(--font-size-xl);
    color: var(--color-primary);
}

/* Payment Methods Enhanced */
.woocommerce-checkout .wc_payment_methods {
    padding: 0;
    margin: 0 0 var(--space-6) 0;
    list-style: none;
}

.woocommerce-checkout .wc_payment_method {
    background: #fff;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-3);
    transition: border-color var(--transition-fast);
}

.woocommerce-checkout .wc_payment_method:has(input:checked) {
    border-color: var(--color-primary);
    background: rgba(233,30,99,0.02);
}

.woocommerce-checkout .wc_payment_method label {
    padding: var(--space-4);
    margin: 0;
    cursor: pointer;
    font-weight: var(--font-weight-semibold);
}

.woocommerce-checkout .payment_box {
    padding: var(--space-4);
    margin: 0;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

/* Place Order Button Enhanced */
.woocommerce-checkout #place_order {
    width: 100%;
    padding: var(--space-5);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), #c2185b);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 20px rgba(233,30,99,0.35);
}

.woocommerce-checkout #place_order:hover {
    background: linear-gradient(135deg, #c2185b, var(--color-primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(233,30,99,0.45);
}


/* ==========================================================================
   My Account Page Enhanced
   ========================================================================== */

.woocommerce-MyAccount-navigation {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
    .woocommerce-MyAccount-navigation {
        margin-bottom: 0;
    }
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation li {
    margin: 0;
}

.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: var(--space-3) var(--space-4);
    color: var(--color-text);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.woocommerce-MyAccount-navigation li a:hover,
.woocommerce-MyAccount-navigation li.is-active a {
    background: linear-gradient(135deg, rgba(233,30,99,0.1), rgba(233,30,99,0.05));
    color: var(--color-primary);
}

.woocommerce-MyAccount-content {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}


/* ==========================================================================
   Sale Flash Badge Enhanced
   ========================================================================== */

.single-product .onsale {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    z-index: 10;
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    border-radius: var(--radius-full);
    box-shadow: 0 2px 10px rgba(255,107,107,0.4);
}


/* ==========================================================================
   Empty States Enhanced
   ========================================================================== */

.woocommerce-info.wc-empty-cart-message,
.cart-empty {
    text-align: center;
    padding: var(--space-16) var(--space-8);
    background: linear-gradient(135deg, #fef7f9, #fff);
    border-radius: var(--radius-xl);
}

.woocommerce-info.wc-empty-cart-message::before,
.cart-empty::before {
    content: '🛒';
    display: block;
    font-size: 4rem;
    margin-bottom: var(--space-4);
}

.return-to-shop {
    margin-top: var(--space-6);
}

.return-to-shop .button {
    padding: var(--space-4) var(--space-8);
    font-weight: var(--font-weight-semibold);
    background: linear-gradient(135deg, var(--color-primary), #c2185b);
    color: #fff;
    border-radius: var(--radius-lg);
}

.return-to-shop .button:hover {
    background: linear-gradient(135deg, #c2185b, var(--color-primary));
    color: #fff;
}


/* ==========================================================================
   Login Page - upoharshop.com exact style
   ========================================================================== */

/* Full page wrapper */
.login-page-wrapper {
    display: flex;
    min-height: 100vh;
    background: #fff;
}

/* Hide default page elements on login page */
.woocommerce-account:not(.logged-in) .site-header,
.woocommerce-account:not(.logged-in) .site-footer,
.woocommerce-account:not(.logged-in) .page-header,
.woocommerce-account:not(.logged-in) .footer-widgets {
    display: none !important;
}

.woocommerce-account:not(.logged-in) .site-main {
    padding: 0 !important;
}

.woocommerce-account:not(.logged-in) .site-main > .container {
    max-width: none;
    padding: 0;
}

.woocommerce-account:not(.logged-in) .page-content {
    padding: 0;
}

.woocommerce-account:not(.logged-in) .site {
    display: block;
}

/* Left Hero Section */
.login-hero {
    display: none;
    width: 50%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .login-hero {
        display: flex;
        align-items: center;
    }
}

.login-hero__content {
    max-width: 500px;
    color: #fff;
}

.login-hero__logo {
    margin-bottom: 60px;
}

.login-hero__logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.login-hero__logo img {
    max-height: 50px;
    filter: brightness(0) invert(1);
}

.login-hero__title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
}

.login-hero__highlight {
    color: #e91e63;
}

.login-hero__desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 60px;
}

.login-hero__stats {
    display: flex;
    align-items: center;
    gap: 16px;
}

.login-hero__avatars {
    display: flex;
}

.login-hero__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    border: 2px solid #1a1a1a;
    margin-left: -8px;
}

.login-hero__avatar:first-child {
    margin-left: 0;
}

.login-hero__customers {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Right Form Section */
.login-form-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow-y: auto;
}

@media (min-width: 1024px) {
    .login-form-wrapper {
        width: 50%;
        padding: 60px;
    }
}

.login-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e91e63 0%, #ff6090 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.login-close-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
    color: #fff;
}

.login-form-inner {
    width: 100%;
    max-width: 420px;
}

/* Form Title */
.login-form__title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.login-form__subtitle {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* Field Header */
.login-form__field-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.login-form__field-header label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.login-form__toggle-link,
.login-form__forgot-link {
    font-size: 13px;
    color: #e91e63;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.login-form__toggle-link:hover,
.login-form__forgot-link:hover {
    text-decoration: underline;
}

/* Input Field */
.login-form__field {
    position: relative;
    margin-bottom: 24px;
}

.login-form__field-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

.login-form__input {
    width: 100%;
    height: 56px;
    padding: 0 48px;
    font-size: 15px;
    color: #333;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s ease;
}

.login-form__input:focus {
    border-color: #e91e63;
}

.login-form__input::placeholder {
    color: #bbb;
}

.login-form__password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 0;
}

.login-form__password-toggle:hover {
    color: #666;
}

/* Submit Button */
.login-form__submit {
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #1a1a1a;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.login-form__submit:hover {
    background: #333;
}

.login-form__submit svg {
    transition: transform 0.3s ease;
}

.login-form__submit:hover svg {
    transform: translateX(4px);
}

/* Divider */
.login-form__divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0;
}

.login-form__divider::before,
.login-form__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.login-form__divider span {
    font-size: 14px;
    color: #888;
}

/* Social Buttons */
.login-form__social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.login-form__social-btn {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.login-form__social-btn:hover {
    border-color: #ccc;
    background: #f9f9f9;
}

/* Register Link */
.login-form__register-link {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.login-form__register-link a {
    color: #e91e63;
    text-decoration: none;
    font-weight: 500;
}

.login-form__register-link a:hover {
    text-decoration: underline;
}

/* Note text */
.login-form__note {
    font-size: 13px;
    color: #888;
    margin-bottom: 24px;
    padding: 12px 16px;
    background: #f9f9f9;
    border-radius: 8px;
}

/* WooCommerce form overrides */
.login-page-wrapper .woocommerce-form-login,
.login-page-wrapper .woocommerce-form-register {
    border: none;
    padding: 0;
    margin: 0;
}

.login-page-wrapper .woocommerce-form-row {
    margin: 0;
}

/* Hide default WooCommerce remember me */
.login-page-wrapper .woocommerce-form-login__rememberme {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .login-form-wrapper {
        padding: 24px;
    }
    
    .login-form__title {
        font-size: 28px;
    }
    
    .login-form__social {
        grid-template-columns: 1fr;
    }
}
