/**
 * WooCommerce Styles for Cosplay Forge Theme
 *
 * Additional styles for WooCommerce pages and components
 *
 * @package Cosplay_Forge
 */

/* ==========================================================================
   Shop Page
   ========================================================================== */

.shop-page {
    padding-bottom: 4rem;
}

.shop-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.shop-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--cf-bg-primary) 0%, var(--cf-bg-secondary) 100%);
}

.shop-hero .hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 240, 255, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(255, 0, 170, 0.1) 0%, transparent 60%);
}

.shop-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 0;
}

.shop-title {
    font-family: var(--cf-font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.shop-description {
    font-size: 1.125rem;
    color: var(--cf-text-secondary);
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.shop-breadcrumbs {
    margin-top: 1.5rem;
}

/* Shop Layout */
.shop-content {
    padding-top: 3rem;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

@media (max-width: 1024px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }
}

/* Filter Toggle (Mobile) */
.filter-toggle {
    display: none;
    margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
    .filter-toggle {
        display: inline-flex;
    }
}

/* ==========================================================================
   Shop Sidebar / Filters
   ========================================================================== */

.shop-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

@media (max-width: 1024px) {
    .shop-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 360px;
        height: 100vh;
        background: var(--cf-bg-secondary);
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        padding: 1.5rem;
    }
    
    .shop-sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--cf-border-color);
    }
}

.sidebar-header {
    display: none;
}

@media (max-width: 1024px) {
    .sidebar-header {
        display: flex;
    }
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--cf-text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

/* Filter Widgets */
.filter-widget {
    background: var(--cf-bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.filter-title {
    font-family: var(--cf-font-heading);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-title .toggle-icon {
    transition: transform 0.3s ease;
}

.filter-widget.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.filter-widget.collapsed .filter-content {
    display: none;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    color: var(--cf-text-secondary);
    transition: all 0.2s ease;
}

.category-list a:hover,
.category-list li.active a {
    background: rgba(0, 240, 255, 0.1);
    color: var(--cf-accent-cyan);
}

.cat-count {
    font-size: 0.75rem;
    background: var(--cf-bg-tertiary);
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-link {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--cf-bg-tertiary);
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--cf-text-secondary);
    transition: all 0.2s ease;
}

.tag-link:hover {
    background: var(--cf-accent-cyan);
    color: var(--cf-bg-primary);
}

/* ==========================================================================
   Shop Toolbar
   ========================================================================== */

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--cf-bg-secondary);
    border-radius: 12px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.toolbar-left .result-count,
.toolbar-left .woocommerce-result-count {
    margin: 0;
    color: var(--cf-text-secondary);
    font-size: 0.875rem;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* View Options */
.view-options {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    background: transparent;
    border: 1px solid var(--cf-border-color);
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    color: var(--cf-text-muted);
    transition: all 0.2s ease;
}

.view-btn:hover,
.view-btn.active {
    border-color: var(--cf-accent-cyan);
    color: var(--cf-accent-cyan);
}

.view-btn svg {
    width: 18px;
    height: 18px;
}

/* Sort Options */
.sort-options select,
.woocommerce-ordering select {
    background: var(--cf-bg-tertiary);
    border: 1px solid var(--cf-border-color);
    border-radius: 6px;
    padding: 0.5rem 2rem 0.5rem 1rem;
    color: var(--cf-text-primary);
    font-family: var(--cf-font-body);
    font-size: 0.875rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a0a0b2' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

/* ==========================================================================
   Product Grid
   ========================================================================== */

.products,
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.products.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.products.list-view {
    grid-template-columns: 1fr;
}

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

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

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

/* ==========================================================================
   Product Card
   ========================================================================== */

.product-card,
.products .product {
    position: relative;
    background: var(--cf-bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover,
.products .product:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(0, 240, 255, 0.1);
}

.product-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Product Image */
.product-card-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--cf-bg-tertiary);
}

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

.product-card-image .product-image-secondary {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.product-card:hover .product-image-primary {
    opacity: 0;
}

.product-card:hover .product-image-secondary {
    opacity: 1;
    transform: scale(1.05);
}

/* Product Badges */
.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 5;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-family: var(--cf-font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sale-badge,
.badge-sale {
    background: var(--cf-accent-magenta);
    color: var(--cf-text-primary);
}

.sold-out-badge,
.badge-sold-out {
    background: var(--cf-text-muted);
    color: var(--cf-text-primary);
}

.featured-badge,
.badge-hot {
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: var(--cf-text-primary);
}

.new-badge,
.badge-new {
    background: var(--cf-accent-cyan);
    color: var(--cf-bg-primary);
}

/* Product Overlay */
.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.9) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.product-quick-actions {
    display: flex;
    gap: 0.75rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.product-card:hover .product-quick-actions {
    transform: translateY(0);
}

.quick-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--cf-bg-secondary);
    border: 1px solid var(--cf-border-color);
    border-radius: 8px;
    color: var(--cf-text-primary);
    font-family: var(--cf-font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-action-btn:hover {
    background: var(--cf-accent-cyan);
    border-color: var(--cf-accent-cyan);
    color: var(--cf-bg-primary);
}

.quick-action-btn svg {
    width: 18px;
    height: 18px;
}

.quick-action-btn .btn-text {
    display: none;
}

.quick-action-btn.add-to-cart-btn .btn-text {
    display: inline;
}

/* Image Count */
.image-count {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.625rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--cf-text-primary);
    z-index: 5;
}

.image-count svg {
    width: 14px;
    height: 14px;
}

/* Product Content */
.product-card-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--cf-accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-card .product-title {
    font-family: var(--cf-font-heading);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.product-card .product-title a {
    color: var(--cf-text-primary);
    transition: color 0.2s ease;
}

.product-card .product-title a:hover {
    color: var(--cf-accent-cyan);
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.product-rating .star-rating {
    font-size: 0.875rem;
    color: #fbbf24;
}

.product-rating .rating-count {
    font-size: 0.75rem;
    color: var(--cf-text-muted);
}

.product-rating.empty .no-rating {
    font-size: 0.75rem;
    color: var(--cf-text-muted);
}

/* Product Price */
.product-card .product-price {
    margin-top: auto;
}

.product-card .product-price .price {
    font-family: var(--cf-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cf-accent-cyan);
}

.product-card .product-price del {
    font-size: 0.875rem;
    color: var(--cf-text-muted);
    margin-right: 0.5rem;
}

.product-card .product-price ins {
    text-decoration: none;
    color: var(--cf-accent-magenta);
}

/* Low Stock Warning */
.low-stock-warning {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.75rem;
    padding: 0.375rem 0.625rem;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 6px;
    font-size: 0.75rem;
    color: #fbbf24;
}

.low-stock-warning svg {
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   Single Product Page
   ========================================================================== */

.single-product-page {
    padding-bottom: 4rem;
}

/* Product Breadcrumbs */
.product-breadcrumbs {
    padding: 1.5rem 0;
    background: var(--cf-bg-secondary);
}

/* Product Main Layout */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

@media (max-width: 1024px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Product Gallery */
.product-gallery {
    position: relative;
}

.product-gallery .sale-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    animation: pulse 2s infinite;
}

.product-gallery .out-of-stock-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: var(--cf-text-muted);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

.gallery-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--cf-bg-secondary);
    margin-bottom: 1rem;
}

.gallery-main-image {
    aspect-ratio: 1;
}

.gallery-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-zoom {
    display: block;
    position: relative;
}

.zoom-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.75rem;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-zoom:hover .zoom-icon {
    opacity: 1;
}

/* Gallery Navigation */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--cf-bg-secondary);
    border: 1px solid var(--cf-border-color);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.gallery-nav:hover {
    background: var(--cf-accent-cyan);
    border-color: var(--cf-accent-cyan);
    color: var(--cf-bg-primary);
}

.gallery-prev {
    left: 1rem;
}

.gallery-next {
    right: 1rem;
}

/* Thumbnails */
.gallery-thumbnails {
    overflow: hidden;
}

.thumbnail-track {
    display: flex;
    gap: 0.75rem;
}

.thumbnail {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    background: none;
    padding: 0;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--cf-accent-cyan);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info .product-categories {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.product-cat-link {
    font-size: 0.75rem;
    color: var(--cf-accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-info .product-title {
    font-family: var(--cf-font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-info .product-rating {
    margin-bottom: 1.5rem;
}

/* Price Wrapper */
.product-price-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-info .product-price .price {
    font-family: var(--cf-font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--cf-accent-cyan);
}

.product-info .product-price del {
    font-size: 1.25rem;
    color: var(--cf-text-muted);
}

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

.savings-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Short Description */
.product-short-description {
    margin-bottom: 1.5rem;
    color: var(--cf-text-secondary);
    line-height: 1.7;
}

.product-short-description p:last-child {
    margin-bottom: 0;
}

/* Stock Status */
.product-stock {
    margin-bottom: 1.5rem;
}

.product-stock .in-stock,
.product-stock .out-of-stock {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.product-stock .in-stock {
    color: #10b981;
}

.product-stock .out-of-stock {
    color: #ef4444;
}

/* Add to Cart Section */
.product-add-to-cart {
    margin-bottom: 1.5rem;
}

.product-add-to-cart .quantity {
    display: inline-flex;
    align-items: center;
    background: var(--cf-bg-secondary);
    border-radius: 8px;
    margin-right: 1rem;
}

.product-add-to-cart .quantity .qty {
    width: 60px;
    text-align: center;
    background: transparent;
    border: none;
    color: var(--cf-text-primary);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem;
}

.product-add-to-cart .single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--cf-accent-cyan);
    border: none;
    border-radius: 8px;
    font-family: var(--cf-font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cf-bg-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-add-to-cart .single_add_to_cart_button:hover {
    background: var(--cf-accent-magenta);
    color: var(--cf-text-primary);
    box-shadow: 0 0 30px rgba(255, 0, 170, 0.3);
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: transparent;
    border: 1px solid var(--cf-border-color);
    border-radius: 8px;
    color: var(--cf-text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    border-color: var(--cf-accent-cyan);
    color: var(--cf-accent-cyan);
}

/* Share Modal */
.share-modal {
    display: none;
    margin-bottom: 1.5rem;
}

.share-modal.active {
    display: block;
}

.share-options {
    display: flex;
    gap: 0.75rem;
}

.share-option {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cf-bg-secondary);
    border: 1px solid var(--cf-border-color);
    border-radius: 50%;
    color: var(--cf-text-primary);
    transition: all 0.2s ease;
}

.share-option:hover {
    transform: translateY(-2px);
}

.share-option.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.share-option.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.share-option.pinterest:hover {
    background: #e60023;
    border-color: #e60023;
}

/* Product Meta */
.product-meta {
    padding: 1.5rem 0;
    border-top: 1px solid var(--cf-border-color);
    border-bottom: 1px solid var(--cf-border-color);
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-label {
    color: var(--cf-text-muted);
}

.meta-value {
    color: var(--cf-text-secondary);
}

.meta-value a {
    color: var(--cf-accent-cyan);
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--cf-bg-secondary);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--cf-text-secondary);
}

.trust-badge svg {
    width: 20px;
    height: 20px;
    color: var(--cf-accent-cyan);
}

/* ==========================================================================
   Product Tabs
   ========================================================================== */

.product-tabs-section {
    padding: 3rem 0;
    background: var(--cf-bg-secondary);
}

.product-tabs {
    background: var(--cf-bg-primary);
    border-radius: 16px;
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--cf-border-color);
}

.tab-btn {
    flex: 1;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    font-family: var(--cf-font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cf-text-muted);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn:hover {
    color: var(--cf-text-primary);
}

.tab-btn.active {
    color: var(--cf-accent-cyan);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cf-accent-cyan);
}

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--cf-accent-cyan);
    border-radius: 999px;
    font-size: 0.625rem;
    color: var(--cf-bg-primary);
    margin-left: 0.5rem;
}

.tabs-content {
    padding: 2rem;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* Specifications Table */
.specifications-table {
    width: 100%;
    border-collapse: collapse;
}

.specifications-table th,
.specifications-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--cf-border-color);
}

.specifications-table th {
    width: 30%;
    color: var(--cf-text-muted);
    font-weight: 500;
}

.specifications-table td {
    color: var(--cf-text-primary);
}

/* Shipping Info */
.shipping-info h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.shipping-info h4:first-child {
    margin-top: 0;
}

.shipping-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shipping-info li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--cf-text-secondary);
}

.shipping-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cf-accent-cyan);
}

/* ==========================================================================
   Related Products
   ========================================================================== */

.related-products-section,
.recently-viewed-section {
    padding: 4rem 0;
}

.related-products-section .section-title,
.recently-viewed-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

/* ==========================================================================
   Cart Page
   ========================================================================== */

.cf-cart-page {
    padding: 3rem 0;
}

/* Checkout Progress */
.checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cf-bg-secondary);
    border: 2px solid var(--cf-border-color);
    border-radius: 50%;
    font-family: var(--cf-font-heading);
    font-weight: 600;
}

.progress-step.active .step-number {
    background: var(--cf-accent-cyan);
    border-color: var(--cf-accent-cyan);
    color: var(--cf-bg-primary);
}

.progress-step.completed .step-number {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.step-label {
    font-family: var(--cf-font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cf-text-muted);
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--cf-text-primary);
}

.progress-line {
    width: 80px;
    height: 2px;
    background: var(--cf-border-color);
    margin: 0 1rem;
}

/* Cart Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

/* Cart Header */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.cart-header h2 {
    font-family: var(--cf-font-heading);
    font-size: 1.5rem;
    margin: 0;
}

.item-count {
    color: var(--cf-text-muted);
    font-size: 0.875rem;
}

/* Cart Items */
.cart-items {
    background: var(--cf-bg-secondary);
    border-radius: 16px;
    overflow: hidden;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 100px 100px;
    gap: 1.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--cf-border-color);
    align-items: center;
}

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

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }
    
    .cart-item-price,
    .cart-item-subtotal {
        display: none;
    }
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

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

.cart-item-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-family: var(--cf-font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.cart-item-title a {
    color: var(--cf-text-primary);
}

.cart-item-sku {
    display: block;
    font-size: 0.75rem;
    color: var(--cf-text-muted);
}

.cart-item-price-mobile {
    display: none;
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--cf-accent-cyan);
}

@media (max-width: 768px) {
    .cart-item-price-mobile {
        display: block;
    }
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.cart-item-quantity .quantity {
    display: flex;
    align-items: center;
}

.remove-item {
    padding: 0.5rem;
    color: var(--cf-text-muted);
    transition: color 0.2s ease;
}

.remove-item:hover {
    color: #ef4444;
}

.cart-item-price,
.cart-item-subtotal {
    font-family: var(--cf-font-heading);
    font-weight: 600;
    text-align: right;
}

.cart-item-subtotal {
    color: var(--cf-accent-cyan);
    font-size: 1.125rem;
}

/* Cart Actions */
.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cf-text-secondary);
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.continue-shopping:hover {
    color: var(--cf-accent-cyan);
}

/* Coupon Section */
.coupon-section {
    background: var(--cf-bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.coupon-section h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.coupon-form {
    display: flex;
    gap: 0.75rem;
}

.coupon-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--cf-bg-tertiary);
    border: 1px solid var(--cf-border-color);
    border-radius: 8px;
    color: var(--cf-text-primary);
}

/* Cart Summary */
.cart-summary {
    background: var(--cf-bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    margin-bottom: 1.5rem;
}

.summary-rows {
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--cf-border-color);
}

.summary-row.total {
    border-bottom: none;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px solid var(--cf-border-color);
}

.summary-row .label {
    color: var(--cf-text-secondary);
}

.summary-row .value {
    font-weight: 600;
}

.summary-row.total .label,
.summary-row.total .value {
    font-family: var(--cf-font-heading);
    font-size: 1.25rem;
    color: var(--cf-text-primary);
}

.summary-row.total .value {
    color: var(--cf-accent-cyan);
}

/* Checkout Button */
.checkout-button .checkout-button,
.checkout-button .wc-proceed-to-checkout a {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--cf-accent-cyan);
    border: none;
    border-radius: 8px;
    font-family: var(--cf-font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    color: var(--cf-bg-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-button .checkout-button:hover,
.checkout-button .wc-proceed-to-checkout a:hover {
    background: var(--cf-accent-magenta);
    color: var(--cf-text-primary);
}

/* Cart Trust Badges */
.cart-trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--cf-border-color);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--cf-text-muted);
}

.trust-item svg {
    width: 16px;
    height: 16px;
    color: #10b981;
}

/* Payment Methods */
.payment-methods {
    margin-top: 1.5rem;
    text-align: center;
}

.payment-methods p {
    font-size: 0.75rem;
    color: var(--cf-text-muted);
    margin-bottom: 0.75rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.payment-icons img {
    height: 24px !important;
    width: auto !important;
    max-width: 50px;
    object-fit: contain;
}

.cart-summary .payment-icons img,
.cf-cart-page .payment-icons img {
    height: 24px !important;
    width: auto !important;
    max-width: 50px;
}

/* ==========================================================================
   Empty Cart
   ========================================================================== */

.cf-empty-cart {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-cart-content {
    max-width: 400px;
    margin: 0 auto 4rem;
}

.empty-cart-icon {
    margin-bottom: 2rem;
}

.empty-cart-icon .icon-wrapper {
    position: relative;
    display: inline-block;
}

.empty-cart-icon svg {
    width: 80px;
    height: 80px;
    color: var(--cf-text-muted);
}

.icon-pulse {
    position: absolute;
    inset: -10px;
    border: 2px solid var(--cf-accent-cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.empty-cart-title {
    font-family: var(--cf-font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.empty-cart-message {
    color: var(--cf-text-secondary);
    margin-bottom: 2rem;
}

.empty-cart-suggestions h3 {
    margin-bottom: 2rem;
}

/* ==========================================================================
   Mini Cart
   ========================================================================== */

.cf-mini-cart {
    max-height: 400px;
    display: flex;
    flex-direction: column;
}

.mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cf-border-color);
    margin-bottom: 1rem;
}

.mini-cart-header h4 {
    margin: 0;
}

.mini-cart-count {
    font-size: 0.75rem;
    color: var(--cf-text-muted);
}

.woocommerce-mini-cart {
    flex: 1;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mini-cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--cf-border-color);
    position: relative;
}

.mini-cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.mini-cart-item-details {
    flex: 1;
    min-width: 0;
}

.mini-cart-item-title {
    font-size: 0.875rem;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-cart-item-title a {
    color: var(--cf-text-primary);
}

.mini-cart-item-meta .quantity {
    font-size: 0.75rem;
    color: var(--cf-text-secondary);
}

.mini-cart-item .remove {
    position: absolute;
    top: 1rem;
    right: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cf-text-muted);
    transition: color 0.2s ease;
}

.mini-cart-item .remove:hover {
    color: #ef4444;
}

.mini-cart-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--cf-border-color);
    margin-top: auto;
}

.mini-cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.mini-cart-subtotal strong {
    color: var(--cf-accent-cyan);
}

.mini-cart-buttons {
    display: flex;
    gap: 0.75rem;
}

.mini-cart-buttons a {
    flex: 1;
    text-align: center;
}

/* Mini Cart Empty */
.mini-cart-empty {
    text-align: center;
    padding: 2rem 1rem;
}

.mini-cart-empty .empty-cart-icon {
    margin-bottom: 1rem;
}

.mini-cart-empty .empty-cart-icon svg {
    width: 48px;
    height: 48px;
    color: var(--cf-text-muted);
}

.mini-cart-empty p {
    color: var(--cf-text-secondary);
    margin-bottom: 1rem;
}

/* ==========================================================================
   Shop Newsletter
   ========================================================================== */

.shop-newsletter {
    padding: 4rem 0;
}

.newsletter-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    background: linear-gradient(135deg, var(--cf-bg-secondary), var(--cf-bg-tertiary));
    border: 1px solid var(--cf-border-color);
    border-radius: 16px;
    padding: 3rem;
}

@media (max-width: 768px) {
    .newsletter-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.newsletter-content h3 {
    font-family: var(--cf-font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.newsletter-content p {
    color: var(--cf-text-secondary);
    margin: 0;
}

.newsletter-signup {
    display: flex;
    gap: 0.75rem;
}

.newsletter-signup input {
    padding: 0.875rem 1.25rem;
    background: var(--cf-bg-primary);
    border: 1px solid var(--cf-border-color);
    border-radius: 8px;
    color: var(--cf-text-primary);
    min-width: 280px;
}

@media (max-width: 480px) {
    .newsletter-signup {
        flex-direction: column;
    }
    
    .newsletter-signup input {
        min-width: auto;
    }
}

/* ==========================================================================
   No Products
   ========================================================================== */

.no-products {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--cf-bg-secondary);
    border-radius: 16px;
}

.no-products-icon {
    margin-bottom: 1.5rem;
}

.no-products-icon svg {
    width: 64px;
    height: 64px;
    color: var(--cf-text-muted);
}

.no-products h2 {
    margin-bottom: 0.75rem;
}

.no-products p {
    color: var(--cf-text-secondary);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   My Account
   ========================================================================== */

.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Account Navigation */
.cf-account-nav {
    background: var(--cf-bg-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.nav-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--cf-border);
}

.nav-user-info .user-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--cf-cyan);
}

.nav-user-info .user-name {
    display: block;
    font-weight: 600;
    color: var(--cf-text-primary);
}

.nav-user-info .user-email {
    display: block;
    font-size: 0.8rem;
    color: var(--cf-text-muted);
}

.cf-account-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cf-account-nav li {
    margin-bottom: 0.25rem;
}

.cf-account-nav li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 10px;
    color: var(--cf-text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.cf-account-nav li a:hover {
    background: rgba(0, 240, 255, 0.1);
    color: var(--cf-cyan);
}

.cf-account-nav li.is-active a {
    background: linear-gradient(135deg, var(--cf-cyan), var(--cf-magenta));
    color: var(--cf-bg-primary);
}

.cf-account-nav .menu-icon svg {
    width: 20px;
    height: 20px;
}

.cf-account-nav .menu-label {
    flex: 1;
}

.cf-account-nav .menu-arrow {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cf-account-nav li a:hover .menu-arrow {
    opacity: 1;
}

.cf-account-nav .menu-arrow svg {
    width: 16px;
    height: 16px;
}

.cf-account-nav .logout-item a {
    color: var(--cf-error);
    margin-top: 1rem;
    border-top: 1px solid var(--cf-border);
    padding-top: 1.5rem;
}

.cf-account-nav .logout-item a:hover {
    background: rgba(239, 68, 68, 0.1);
}

.nav-quick-stats {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--cf-border);
}

.nav-quick-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--cf-text-muted);
}

.nav-quick-stats .stat-item.pending {
    color: var(--cf-warning);
}

.nav-quick-stats .stat-item svg {
    width: 16px;
    height: 16px;
}

/* Account Content Area */
.woocommerce-MyAccount-content {
    background: var(--cf-bg-secondary);
    border-radius: 16px;
    padding: 2rem;
}

/* Dashboard */
.cf-dashboard .dashboard-welcome {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(255, 0, 170, 0.1));
    border-radius: 16px;
    margin-bottom: 2rem;
}

.cf-dashboard .welcome-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--cf-cyan);
}

.cf-dashboard .welcome-text h2 {
    margin-bottom: 0.5rem;
}

.cf-dashboard .welcome-text p {
    color: var(--cf-text-secondary);
    margin: 0;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--cf-bg-tertiary);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--cf-cyan), var(--cf-magenta));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card .stat-icon svg {
    width: 24px;
    height: 24px;
    color: var(--cf-bg-primary);
}

.stat-card .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cf-text-primary);
    font-family: var(--cf-font-heading);
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--cf-text-muted);
}

/* Quick Actions */
.dashboard-actions {
    margin-bottom: 2rem;
}

.dashboard-actions h3 {
    margin-bottom: 1rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--cf-bg-tertiary);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.action-card:hover {
    transform: translateY(-4px);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.2);
}

.action-card .action-icon {
    width: 48px;
    height: 48px;
    background: var(--cf-bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-card .action-icon svg {
    width: 24px;
    height: 24px;
    color: var(--cf-cyan);
}

.action-card .action-label {
    font-size: 0.85rem;
    color: var(--cf-text-secondary);
}

.action-card.logout .action-icon svg {
    color: var(--cf-error);
}

/* Recent Orders Table */
.dashboard-recent-orders {
    background: var(--cf-bg-tertiary);
    border-radius: 16px;
    padding: 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h3 {
    margin: 0;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cf-cyan);
    text-decoration: none;
    font-size: 0.9rem;
}

.view-all svg {
    width: 16px;
    height: 16px;
}

.orders-table-wrapper {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th {
    text-align: left;
    padding: 1rem;
    background: var(--cf-bg-secondary);
    color: var(--cf-text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.orders-table th:first-child {
    border-radius: 8px 0 0 8px;
}

.orders-table th:last-child {
    border-radius: 0 8px 8px 0;
}

.orders-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--cf-border);
}

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

.orders-table .order-number {
    color: var(--cf-cyan);
    font-weight: 600;
    text-decoration: none;
}

.order-status {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.status-pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.order-status.status-processing {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.order-status.status-completed {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.order-status.status-cancelled,
.order-status.status-failed {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.order-status.status-on-hold {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.order-status.status-refunded {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
}

/* Orders Page */
.cf-orders-page .orders-header {
    margin-bottom: 2rem;
}

.cf-orders-page .orders-header h2 {
    margin-bottom: 0.5rem;
}

.cf-orders-page .orders-header p {
    color: var(--cf-text-secondary);
    margin: 0;
}

.orders-filters {
    margin-bottom: 1.5rem;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.5rem 1rem;
    background: var(--cf-bg-tertiary);
    border: 1px solid var(--cf-border);
    border-radius: 8px;
    color: var(--cf-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tab:hover {
    border-color: var(--cf-cyan);
    color: var(--cf-cyan);
}

.filter-tab.active {
    background: var(--cf-cyan);
    border-color: var(--cf-cyan);
    color: var(--cf-bg-primary);
}

/* Order Cards */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-card {
    background: var(--cf-bg-tertiary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--cf-border);
}

.order-card .order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--cf-bg-secondary);
}

.order-card .order-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.order-card .order-number {
    font-size: 0.9rem;
    color: var(--cf-text-secondary);
}

.order-card .order-number strong {
    color: var(--cf-text-primary);
}

.order-card .order-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--cf-text-muted);
}

.order-card .order-date svg {
    width: 14px;
    height: 14px;
}

.order-card .order-items {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    overflow-x: auto;
}

.order-card .order-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
}

.order-card .item-image {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.order-card .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.order-card .item-qty {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: var(--cf-cyan);
    color: var(--cf-bg-primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
}

.order-card .item-name {
    font-size: 0.9rem;
    margin: 0 0 0.25rem;
}

.order-card .item-price {
    font-size: 0.85rem;
    color: var(--cf-text-muted);
}

.order-card .more-items {
    min-width: auto;
    padding: 0.5rem 1rem;
    background: var(--cf-bg-secondary);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--cf-text-muted);
}

.order-card .order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--cf-border);
}

.order-card .order-total .total-label {
    color: var(--cf-text-muted);
    margin-right: 0.5rem;
}

.order-card .order-total .total-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cf-cyan);
}

.order-card .order-actions {
    display: flex;
    gap: 0.75rem;
}

/* View Order Page */
.cf-view-order .order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.cf-view-order .back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cf-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.cf-view-order .back-link:hover {
    color: var(--cf-cyan);
}

.cf-view-order .back-link svg {
    width: 16px;
    height: 16px;
}

/* Order Progress */
.order-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--cf-bg-tertiary);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.order-progress .progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.order-progress .step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--cf-bg-secondary);
    border: 2px solid var(--cf-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.order-progress .step-icon svg {
    width: 24px;
    height: 24px;
    color: var(--cf-text-muted);
}

.order-progress .step-label {
    font-size: 0.85rem;
    color: var(--cf-text-muted);
}

.order-progress .progress-step.completed .step-icon {
    background: var(--cf-success);
    border-color: var(--cf-success);
}

.order-progress .progress-step.completed .step-icon svg {
    color: #fff;
}

.order-progress .progress-step.completed .step-label {
    color: var(--cf-success);
}

.order-progress .progress-step.active .step-icon {
    border-color: var(--cf-cyan);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.order-progress .progress-step.active .step-icon svg {
    color: var(--cf-cyan);
}

.order-progress .progress-step.active .step-label {
    color: var(--cf-cyan);
    font-weight: 600;
}

.order-progress .progress-line {
    width: 80px;
    height: 3px;
    background: var(--cf-border);
    margin: 0 0.5rem;
    margin-bottom: 2rem;
}

.order-progress .progress-line.completed {
    background: var(--cf-success);
}

/* Order Detail Grid */
.order-detail-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.order-items-section {
    background: var(--cf-bg-tertiary);
    border-radius: 16px;
    padding: 1.5rem;
}

.order-items-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.order-items-section h3 svg {
    width: 24px;
    height: 24px;
    color: var(--cf-cyan);
}

.order-items-list .order-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--cf-border);
}

.order-items-list .order-item:last-child {
    border-bottom: none;
}

.order-items-list .item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.order-items-list .item-name {
    margin: 0 0 0.5rem;
}

.order-items-list .item-name a {
    color: var(--cf-text-primary);
    text-decoration: none;
}

.order-items-list .item-name a:hover {
    color: var(--cf-cyan);
}

.order-items-list .item-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--cf-text-muted);
}

.order-items-list .item-total {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Order Totals */
.order-totals {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--cf-border);
}

.order-totals .total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.order-totals .total-row .label {
    color: var(--cf-text-secondary);
}

.order-totals .total-row.discount .value {
    color: var(--cf-success);
}

.order-totals .grand-total {
    border-top: 2px solid var(--cf-border);
    margin-top: 0.75rem;
    padding-top: 1rem;
}

.order-totals .grand-total .label {
    font-weight: 600;
    color: var(--cf-text-primary);
}

.order-totals .grand-total .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cf-cyan);
}

/* Order Info Sidebar */
.order-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-info-sidebar .info-card {
    background: var(--cf-bg-tertiary);
    border-radius: 16px;
    padding: 1.5rem;
}

.order-info-sidebar .info-card h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.order-info-sidebar .info-card h4 svg {
    width: 20px;
    height: 20px;
    color: var(--cf-cyan);
}

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

.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--cf-border);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list .label {
    color: var(--cf-text-muted);
}

.info-list .value {
    font-weight: 500;
}

.order-info-sidebar address {
    font-style: normal;
    line-height: 1.8;
    color: var(--cf-text-secondary);
}

.order-info-sidebar .contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

.order-info-sidebar .contact-info svg {
    width: 16px;
    height: 16px;
    color: var(--cf-cyan);
}

.order-info-sidebar .contact-info a {
    color: var(--cf-text-secondary);
    text-decoration: none;
}

.order-info-sidebar .contact-info a:hover {
    color: var(--cf-cyan);
}

/* Order Notes */
.order-notes {
    list-style: none;
    padding: 0;
    margin: 0;
}

.order-note {
    padding: 1rem 0;
    border-bottom: 1px solid var(--cf-border);
}

.order-note:last-child {
    border-bottom: none;
}

.order-note .note-date {
    display: block;
    font-size: 0.8rem;
    color: var(--cf-text-muted);
    margin-bottom: 0.5rem;
}

.order-note .note-content {
    font-size: 0.9rem;
    color: var(--cf-text-secondary);
}

/* No Orders */
.no-orders {
    text-align: center;
    padding: 4rem 2rem;
}

.no-orders-icon svg {
    width: 80px;
    height: 80px;
    color: var(--cf-text-muted);
    margin-bottom: 1.5rem;
}

.no-orders h3 {
    margin-bottom: 0.75rem;
}

.no-orders p {
    color: var(--cf-text-secondary);
    margin-bottom: 1.5rem;
}

/* Orders Pagination */
.orders-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--cf-border);
}

.orders-pagination .page-info {
    color: var(--cf-text-muted);
}

/* Auth Page */
.cf-auth-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-container {
    width: 100%;
    max-width: 480px;
}

.auth-tabs {
    display: flex;
    background: var(--cf-bg-secondary);
    border-radius: 12px;
    padding: 0.5rem;
    margin-bottom: 2rem;
}

.auth-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--cf-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-tab:hover {
    color: var(--cf-text-primary);
}

.auth-tab.active {
    background: linear-gradient(135deg, var(--cf-cyan), var(--cf-magenta));
    color: var(--cf-bg-primary);
}

.auth-tab svg {
    width: 20px;
    height: 20px;
}

.auth-panels .auth-panel {
    display: none;
}

.auth-panels .auth-panel.active {
    display: block;
}

.panel-header {
    text-align: center;
    margin-bottom: 2rem;
}

.panel-header h2 {
    margin-bottom: 0.5rem;
}

.panel-header p {
    color: var(--cf-text-secondary);
    margin: 0;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--cf-text-secondary);
}

.form-group label svg {
    width: 16px;
    height: 16px;
    color: var(--cf-cyan);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--cf-bg-tertiary);
    border: 1px solid var(--cf-border);
    border-radius: 10px;
    color: var(--cf-text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cf-cyan);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.password-field {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--cf-text-muted);
    cursor: pointer;
    padding: 0.25rem;
}

.toggle-password:hover {
    color: var(--cf-cyan);
}

.toggle-password svg {
    width: 20px;
    height: 20px;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--cf-text-muted);
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.forgot-password {
    color: var(--cf-cyan);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    color: var(--cf-text-muted);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--cf-border);
}

/* Auth Benefits */
.auth-benefits {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--cf-bg-secondary);
    border-radius: 16px;
}

.auth-benefits h3 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.auth-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--cf-text-secondary);
    font-size: 0.9rem;
}

.auth-benefits li svg {
    width: 20px;
    height: 20px;
    color: var(--cf-cyan);
}

/* Edit Account */
.cf-edit-account .form-section {
    background: var(--cf-bg-tertiary);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.cf-edit-account .section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cf-border);
}

.cf-edit-account .section-title svg {
    width: 24px;
    height: 24px;
    color: var(--cf-cyan);
}

.cf-edit-account .section-description {
    color: var(--cf-text-muted);
    margin-bottom: 1.5rem;
}

.profile-avatar-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--cf-border);
}

.profile-avatar-section .current-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--cf-cyan);
}

.profile-avatar-section .avatar-info p {
    color: var(--cf-text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.form-row-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.password-requirements {
    background: var(--cf-bg-secondary);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.password-requirements p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--cf-text-secondary);
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.85rem;
    color: var(--cf-text-muted);
}

.password-requirements li svg {
    width: 14px;
    height: 14px;
}

.password-requirements li.valid {
    color: var(--cf-success);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Addresses Page */
.cf-addresses-page .addresses-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--cf-cyan);
}

.cf-addresses-page .addresses-note svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.addresses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.address-card {
    background: var(--cf-bg-tertiary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--cf-border);
}

.address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--cf-bg-secondary);
}

.address-card-header .address-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.address-card-header .address-title svg {
    width: 20px;
    height: 20px;
    color: var(--cf-cyan);
}

.address-card-header .address-title h3 {
    margin: 0;
    font-size: 1rem;
}

.address-card-header .edit-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cf-cyan);
    text-decoration: none;
    font-size: 0.9rem;
}

.address-card-header .edit-link svg {
    width: 16px;
    height: 16px;
}

.address-card-body {
    padding: 1.5rem;
}

.address-card-body address {
    font-style: normal;
    line-height: 1.8;
    color: var(--cf-text-secondary);
}

.address-card .address-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--cf-border);
}

.address-card .address-contact svg {
    width: 16px;
    height: 16px;
    color: var(--cf-cyan);
}

.address-card .address-contact a {
    color: var(--cf-text-secondary);
    text-decoration: none;
}

.address-card .address-contact a:hover {
    color: var(--cf-cyan);
}

.address-card .no-address {
    text-align: center;
    padding: 1rem 0;
}

.address-card .no-address-icon svg {
    width: 48px;
    height: 48px;
    color: var(--cf-text-muted);
    margin-bottom: 1rem;
}

.address-card .no-address p {
    color: var(--cf-text-muted);
    margin-bottom: 1rem;
}

.address-card-footer {
    padding: 0.75rem 1.5rem;
    background: var(--cf-bg-secondary);
    border-top: 1px solid var(--cf-border);
}

.default-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--cf-success);
}

.default-badge svg {
    width: 14px;
    height: 14px;
}

.addresses-info .info-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--cf-bg-secondary);
    border-radius: 16px;
}

.addresses-info .info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--cf-cyan), var(--cf-magenta));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.addresses-info .info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--cf-bg-primary);
}

.addresses-info .info-content h4 {
    margin: 0 0 0.5rem;
}

.addresses-info .info-content p {
    margin: 0;
    color: var(--cf-text-secondary);
    font-size: 0.9rem;
}

/* Edit Address Form */
.cf-edit-address .section-header .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cf-text-muted);
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.cf-edit-address .section-header .back-link:hover {
    color: var(--cf-cyan);
}

.cf-edit-address .section-header .back-link svg {
    width: 16px;
    height: 16px;
}

/* Responsive Account */
@media (max-width: 992px) {
    .woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
    }
    
    .cf-account-nav {
        position: static;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .actions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .order-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .addresses-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        padding: 1rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .order-progress {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .order-progress .progress-line {
        display: none;
    }
    
    .order-card .order-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .order-card .order-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .order-card .order-actions {
        width: 100%;
    }
    
    .order-card .order-actions .cf-btn {
        flex: 1;
        justify-content: center;
    }
    
    .cf-auth-page {
        padding: 1rem;
    }
    
    .profile-avatar-section {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   ORDER CONFIRMATION / THANK YOU PAGE
   ============================================ */

.cf-order-confirmation {
    padding: 3rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

/* Success Header */
.order-success-header {
    text-align: center;
    margin-bottom: 3rem;
}

.success-animation {
    margin-bottom: 1.5rem;
}

.checkmark-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cf-cyan), var(--cf-magenta));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.checkmark {
    width: 40px;
    height: 20px;
    border-left: 4px solid var(--cf-bg-primary);
    border-bottom: 4px solid var(--cf-bg-primary);
    transform: rotate(-45deg) translateY(-5px);
    animation: checkDraw 0.3s ease 0.3s forwards;
    opacity: 0;
}

@keyframes checkDraw {
    to { opacity: 1; }
}

.order-success-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.order-success-message {
    color: var(--cf-text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Overview Grid */
.order-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.overview-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--cf-bg-elevated);
    border-radius: var(--cf-radius-lg);
    border: 1px solid var(--cf-border-subtle);
}

.overview-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(255, 0, 170, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.overview-icon svg {
    width: 24px;
    height: 24px;
    color: var(--cf-cyan);
}

.overview-label {
    display: block;
    font-size: 0.8rem;
    color: var(--cf-text-muted);
    margin-bottom: 0.25rem;
}

.overview-value {
    font-weight: 600;
    color: var(--cf-text-primary);
}

.overview-value.highlight {
    color: var(--cf-cyan);
    font-size: 1.1rem;
}

/* Order Details Grid */
.order-confirmation-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Order Items Section */
.order-items-section {
    background: var(--cf-bg-elevated);
    border-radius: var(--cf-radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--cf-border-subtle);
}

.order-items-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cf-border-subtle);
}

.order-items-section h3 svg {
    width: 20px;
    height: 20px;
    color: var(--cf-cyan);
}

.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cf-border-subtle);
}

.order-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.order-item .item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--cf-radius-md);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

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

.order-item .item-qty {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: var(--cf-cyan);
    color: var(--cf-bg-primary);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-item .item-details {
    flex: 1;
}

.order-item .item-name {
    font-size: 1rem;
    margin: 0 0 0.5rem;
}

.order-item .item-name a {
    color: var(--cf-text-primary);
    text-decoration: none;
}

.order-item .item-name a:hover {
    color: var(--cf-cyan);
}

.order-item .item-meta,
.order-item .item-sku {
    font-size: 0.85rem;
    color: var(--cf-text-muted);
    margin: 0;
}

.order-item .item-total {
    font-weight: 600;
    color: var(--cf-cyan);
    white-space: nowrap;
}

/* Order Totals */
.order-totals {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--cf-border-subtle);
}

.order-totals .total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.order-totals .total-row.order_total {
    font-size: 1.2rem;
    font-weight: 600;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--cf-border-subtle);
}

.order-totals .total-row.order_total .total-value {
    color: var(--cf-cyan);
}

/* Addresses Section */
.order-addresses-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.address-card {
    background: var(--cf-bg-elevated);
    border-radius: var(--cf-radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--cf-border-subtle);
}

.address-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.address-card h3 svg {
    width: 18px;
    height: 18px;
    color: var(--cf-cyan);
}

.address-card address {
    font-style: normal;
    color: var(--cf-text-secondary);
    line-height: 1.6;
}

.address-card .address-phone,
.address-card .address-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    color: var(--cf-text-secondary);
}

.address-card .address-phone svg,
.address-card .address-email svg {
    width: 14px;
    height: 14px;
}

/* What's Next Card */
.whats-next-card {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), rgba(255, 0, 170, 0.05));
    border-radius: var(--cf-radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--cf-border-subtle);
}

.whats-next-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.whats-next-card h3 svg {
    width: 18px;
    height: 18px;
    color: var(--cf-cyan);
}

.next-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--cf-border-subtle);
    color: var(--cf-text-secondary);
}

.next-steps li:last-child {
    border-bottom: none;
}

.next-steps li svg {
    width: 18px;
    height: 18px;
    color: var(--cf-cyan);
    flex-shrink: 0;
}

/* Order Actions */
.order-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Failed Order */
.order-status-failed {
    text-align: center;
    padding: 4rem 2rem;
}

.order-status-failed .status-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 76, 76, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.order-status-failed .status-icon svg {
    width: 48px;
    height: 48px;
    color: var(--cf-error);
}

/* Order Not Found */
.order-not-found {
    text-align: center;
    padding: 4rem 2rem;
}

.order-not-found .not-found-icon svg {
    width: 80px;
    height: 80px;
    color: var(--cf-text-muted);
    margin-bottom: 1.5rem;
}

/* Order Confirmation Responsive */
@media (max-width: 992px) {
    .order-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .order-confirmation-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .order-overview-grid {
        grid-template-columns: 1fr;
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .order-actions .cf-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   VARIATION SWATCHES
   ============================================ */

.cf-hidden-select {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.cf-variation-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cf-swatch {
    padding: 0;
    border: 2px solid var(--cf-border-subtle);
    background: var(--cf-bg-elevated);
    border-radius: var(--cf-radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.cf-swatch:hover {
    border-color: var(--cf-cyan);
}

.cf-swatch.selected {
    border-color: var(--cf-cyan);
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.2);
}

.cf-swatch.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.cf-swatch.disabled::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cf-text-muted);
    transform: rotate(-45deg);
}

/* Color Swatches */
.cf-swatches-color .cf-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 3px;
}

.cf-swatches-color .swatch-color {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* Size Swatches */
.cf-swatches-size .cf-swatch {
    min-width: 48px;
    height: 40px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-swatches-size .swatch-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--cf-text-primary);
}

.cf-swatches-size .cf-swatch.selected .swatch-label {
    color: var(--cf-cyan);
}

/* ============================================
   SIZE GUIDE MODAL
   ============================================ */

.cf-size-guide-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    background: none;
    border: none;
    color: var(--cf-text-secondary);
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    margin-top: 0.5rem;
}

.cf-size-guide-btn:hover {
    color: var(--cf-cyan);
}

.cf-size-guide-btn svg {
    width: 16px;
    height: 16px;
}

/* Size Unit Toggle */
.size-unit-toggle {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.size-unit-toggle .unit-btn {
    padding: 0.5rem 1.5rem;
    background: var(--cf-bg-tertiary);
    border: 1px solid var(--cf-border-subtle);
    border-radius: var(--cf-radius-md);
    color: var(--cf-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.size-unit-toggle .unit-btn.active {
    background: var(--cf-cyan);
    border-color: var(--cf-cyan);
    color: var(--cf-bg-primary);
}

/* Size Chart Table */
.size-chart {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.size-chart th,
.size-chart td {
    padding: 0.75rem 1rem;
    text-align: center;
    border: 1px solid var(--cf-border-subtle);
}

.size-chart th {
    background: var(--cf-bg-tertiary);
    font-weight: 600;
    color: var(--cf-text-primary);
}

.size-chart td {
    color: var(--cf-text-secondary);
}

.size-chart tbody tr:hover {
    background: rgba(0, 240, 255, 0.05);
}

/* Measuring Tips */
.measuring-tips {
    background: var(--cf-bg-tertiary);
    border-radius: var(--cf-radius-md);
    padding: 1.5rem;
}

.measuring-tips h4 {
    margin: 0 0 1rem;
    font-size: 1rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.measuring-tips .tip {
    font-size: 0.9rem;
    color: var(--cf-text-secondary);
}

.measuring-tips .tip strong {
    color: var(--cf-text-primary);
}

/* ============================================
   AJAX SHOP FILTERS
   ============================================ */

.cf-shop-filters {
    margin-bottom: 2rem;
}

.cf-filter-toggle {
    display: none;
    width: 100%;
    padding: 1rem;
    background: var(--cf-bg-elevated);
    border: 1px solid var(--cf-border-subtle);
    border-radius: var(--cf-radius-md);
    color: var(--cf-text-primary);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
}

.cf-filter-toggle svg {
    width: 18px;
    height: 18px;
}

.filters-wrapper {
    background: var(--cf-bg-elevated);
    border-radius: var(--cf-radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--cf-border-subtle);
}

.filters-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cf-border-subtle);
}

.filters-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.filters-header h3 svg {
    width: 20px;
    height: 20px;
    color: var(--cf-cyan);
}

.filters-close {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    color: var(--cf-text-muted);
    cursor: pointer;
}

.filter-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--cf-border-subtle);
}

.filter-section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-section h4 {
    font-size: 0.9rem;
    margin: 0 0 1rem;
    color: var(--cf-text-primary);
}

/* Filter Search */
.filter-search {
    position: relative;
}

.filter-search input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: var(--cf-bg-tertiary);
    border: 1px solid var(--cf-border-subtle);
    border-radius: var(--cf-radius-md);
    color: var(--cf-text-primary);
}

.filter-search svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--cf-text-muted);
}

/* Filter Categories */
.filter-categories {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 250px;
    overflow-y: auto;
}

.filter-categories li {
    margin-bottom: 0.25rem;
}

.filter-categories label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: var(--cf-radius-sm);
    transition: background 0.2s ease;
}

.filter-categories label:hover {
    background: var(--cf-bg-tertiary);
}

.filter-categories input {
    accent-color: var(--cf-cyan);
}

.filter-categories .count {
    color: var(--cf-text-muted);
    font-size: 0.85rem;
    margin-left: auto;
}

/* Price Range */
.price-range-slider {
    padding: 0 0.5rem;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.price-input {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--cf-bg-tertiary);
    border: 1px solid var(--cf-border-subtle);
    border-radius: var(--cf-radius-md);
    overflow: hidden;
}

.price-input .currency {
    padding: 0 0.75rem;
    color: var(--cf-text-muted);
}

.price-input input {
    flex: 1;
    padding: 0.5rem;
    background: transparent;
    border: none;
    color: var(--cf-text-primary);
    width: 60px;
}

.price-inputs .separator {
    color: var(--cf-text-muted);
}

.range-slider {
    position: relative;
    height: 6px;
    margin: 1rem 0;
}

.range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 6px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: auto;
    width: 18px;
    height: 18px;
    background: var(--cf-cyan);
    border-radius: 50%;
    cursor: pointer;
}

/* Quick Filters */
.quick-filters {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toggle-filter {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.toggle-filter input {
    display: none;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: var(--cf-bg-tertiary);
    border-radius: 12px;
    position: relative;
    transition: background 0.2s ease;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: var(--cf-text-muted);
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: all 0.2s ease;
}

.toggle-filter input:checked + .toggle-switch {
    background: var(--cf-cyan);
}

.toggle-filter input:checked + .toggle-switch::after {
    left: 23px;
    background: var(--cf-bg-primary);
}

/* Filter Attributes */
.filter-attributes {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-attributes li label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--cf-bg-tertiary);
    border: 1px solid var(--cf-border-subtle);
    border-radius: var(--cf-radius-md);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.filter-attributes li label:hover {
    border-color: var(--cf-cyan);
}

.filter-attributes input:checked + span {
    color: var(--cf-cyan);
}

/* Filter Actions */
.filter-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--cf-border-subtle);
}

.filter-actions .cf-btn {
    flex: 1;
    justify-content: center;
}

/* No Products Found */
.cf-no-products {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--cf-bg-elevated);
    border-radius: var(--cf-radius-lg);
}

.cf-no-products .no-products-icon svg {
    width: 60px;
    height: 60px;
    color: var(--cf-text-muted);
    margin-bottom: 1rem;
}

.cf-no-products h3 {
    margin-bottom: 0.5rem;
}

.cf-no-products p {
    color: var(--cf-text-secondary);
    margin-bottom: 1.5rem;
}

/* Loading State */
.cf-products-loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Filters Responsive */
@media (max-width: 992px) {
    .cf-filter-toggle {
        display: flex;
    }
    
    .filters-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 320px;
        height: 100vh;
        z-index: 1000;
        border-radius: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }
    
    .filters-wrapper.active {
        transform: translateX(0);
    }
    
    .filters-header {
        display: flex;
    }
    
    .filters-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .filters-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* ============================================
   BREADCRUMBS
   ============================================ */

.cf-breadcrumbs {
    padding: 1rem 0;
    background: var(--cf-bg-secondary);
    border-bottom: 1px solid var(--cf-border-subtle);
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--cf-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--cf-cyan);
}

.breadcrumb-item a svg {
    width: 14px;
    height: 14px;
}

.breadcrumb-item.current {
    color: var(--cf-text-muted);
}

.breadcrumb-sep {
    display: inline-flex;
    color: var(--cf-text-muted);
    margin: 0 0.25rem;
}

.breadcrumb-sep svg {
    width: 14px;
    height: 14px;
}

/* ============================================
   PRODUCT IMAGE ZOOM
   ============================================ */

.cf-product-zoom-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    background: var(--cf-bg-elevated);
    border: 1px solid var(--cf-border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.cf-product-zoom-btn:hover {
    background: var(--cf-cyan);
    border-color: var(--cf-cyan);
    color: var(--cf-bg-primary);
}

.cf-product-zoom-btn svg {
    width: 20px;
    height: 20px;
}

/* Enhance default WooCommerce zoom */
.woocommerce-product-gallery {
    position: relative;
}

.woocommerce-product-gallery__trigger {
    display: none !important;
}

/* ============================================
   RECENTLY VIEWED PRODUCTS
   ============================================ */

.cf-recently-viewed {
    padding: 4rem 0;
    background: var(--cf-bg-secondary);
    margin-top: 4rem;
}

.cf-recently-viewed .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.cf-recently-viewed .section-title svg {
    width: 28px;
    height: 28px;
    color: var(--cf-cyan);
}

.cf-recently-viewed .products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .cf-recently-viewed .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

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