.page-template-front-page .site-header {
    margin-bottom: 0!important;
}


.p70{padding:70px 0;}


.hero-banner {
    background: var(--primary-color, #0073aa);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}
.hero-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.hero-banner p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}
.hero-btn {
    background: #fff;
    color: var(--primary-color, #0073aa);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}
.hero-btn:hover {
    background: #f1f1f1;
}





/* ===========================
   New Arrivals Section
   =========================== */

/* Section header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.section-subtitle {
    font-size: 1rem;
    color: #666;
}

/* Product grid - 6 items per row on desktop */
.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* exactly 6 columns */
    gap: 15px;
}

/* Responsive breakpoints */
@media (max-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr); /* 5 per row on large laptops */
    }
}
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 per row on medium screens */
    }
}
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 per row on tablets */
    }
}
@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row on mobiles */
    }
}
@media (max-width: 400px) {
    .products-grid {
        grid-template-columns: 1fr; /* single column on very small screens */
    }
}

/* Product card */
.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.product-card img {
    border-radius: 8px;
    margin-bottom: 15px;
    max-width: 100%;
    height: auto;
}
.product-title {
    font-size: 1.1rem;
    margin: 10px 0;
    font-weight: 600;
}
.product-price {
    color: var(--primary-color);
    font-weight: 700;
}

/* Actions */
.product-actions {
    margin-top: 15px;
}
.product-actions .button {
    background: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    padding: 8px 15px;
    transition: background 0.3s ease;
    font-size: 0.9rem;
}
.product-actions .button:hover {
    background: #005f8d;
}












/* Section header */
.shop-categories .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.shop-categories .section-header h2 {
    font-size: 2rem;
    font-weight: 700;
}
.shop-categories .see-all {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.shop-categories .see-all:hover {
    color: #005f8d;
}

/* Categories grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr); /* 8 per row on desktop */
    gap: 25px;
}
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}
@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 600px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Category card */
.category-card {
    background: #fff;
    border-radius: 12px;
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.category-card img {
    max-width: 200px;
    margin-bottom: 15px;
    width: 100%;
}
.category-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}



.site-footer {
    padding: 0!important;
}



.site-info {
    padding: 0;
    text-align: center;
    border-top: 1px solid#333;
    padding-top: 30px!important;
}















/* ============================================
   THEMEFOREST PREMIUM PRODUCT PAGE
   Version: 1.0.0
   ============================================ */

/* Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #7c3aed;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --gray-color: #6b7280;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container */
.premium-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.premium-breadcrumb {
    background: var(--light-color);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.breadcrumb-wrapper {
    font-size: 14px;
}

.breadcrumb-wrapper a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

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

.breadcrumb-wrapper .separator {
    margin: 0 10px;
    color: var(--border-color);
}

/* Main Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Gallery Sticky */
.product-gallery-sticky {
    position: sticky;
    top: 30px;
}

/* Product Info Card */
.product-info-card {
    background: white;
    border-radius: 20px;
    padding: 0;
}

/* Product Badges */
.product-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.badge {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sale-badge {
    background: var(--danger-color);
    color: white;
}

.stock-badge {
    background: var(--warning-color);
    color: white;
}

.outofstock-badge {
    background: var(--gray-color);
    color: white;
}

.featured-badge {
    background: var(--secondary-color);
    color: white;
}

/* Product Title */
.premium-product-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 15px 0;
    line-height: 1.3;
}

/* Rating */
.premium-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.stars-wrapper {
    display: flex;
    gap: 3px;
}

.star {
    font-size: 18px;
}

.star.filled {
    color: #fbbf24;
}

.star.empty {
    color: var(--border-color);
}

.rating-link {
    color: var(--gray-color);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.rating-link:hover {
    color: var(--primary-color);
}

/* Price Section */
.premium-price-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.price-wrapper .price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

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

.price-wrapper .price del {
    font-size: 20px;
    color: var(--gray-color);
    margin-right: 10px;
}

.discount-badge {
    background: var(--danger-color);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

/* Short Description */
.premium-short-description {
    margin-bottom: 25px;
}

.premium-short-description h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: var(--dark-color);
}

.premium-short-description p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* Stock Counter */
.stock-counter-card {
    background: #fef3c7;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
}

.stock-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.stock-icon {
    font-size: 20px;
}

.stock-title {
    font-weight: 600;
    color: #92400e;
}

.stock-bar {
    background: #fed7aa;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.stock-progress {
    background: #f59e0b;
    height: 100%;
    transition: width 0.5s ease;
}

.stock-message {
    font-size: 12px;
    color: #92400e;
    margin: 0;
}

/* Countdown Timer */
.countdown-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    color: white;
}

.countdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.countdown-icon {
    font-size: 24px;
}

.countdown-title {
    font-weight: 600;
    font-size: 16px;
}

.premium-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.timer-block {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 8px;
    min-width: 60px;
}

.timer-number {
    font-size: 28px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.timer-label {
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.8;
}

.timer-separator {
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

/* Add to Cart Section */
.add-to-cart-section {
    margin-bottom: 25px;
}

.quantity-wrapper {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.quantity-buttons {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 50px;
    border: none;
    background: var(--light-color);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--border-color);
}

.qty-input {
    width: 60px;
    height: 50px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.qty-input:focus {
    outline: none;
}

.premium-btn {
    flex: 1;
    height: 50px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.add-to-cart-btn {
    background: var(--dark-color);
    color: white;
}

.add-to-cart-btn:hover {
    background: #111827;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.buy-now-btn {
    background: var(--primary-color);
    color: white;
    width: 100%;
}

.buy-now-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Trust Badges */
.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-icon {
    font-size: 28px;
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-content strong {
    font-size: 14px;
    color: var(--dark-color);
}

.badge-content span {
    font-size: 12px;
    color: var(--gray-color);
}

/* Product Meta */
.premium-product-meta {
    margin-bottom: 20px;
}

.premium-product-meta .sku_wrapper,
.premium-product-meta .posted_in,
.premium-product-meta .tagged_as {
    font-size: 13px;
    color: var(--gray-color);
    margin-bottom: 8px;
}

.premium-product-meta a {
    color: var(--primary-color);
    text-decoration: none;
}

.premium-product-meta a:hover {
    text-decoration: underline;
}

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
}

.share-label {
    font-size: 14px;
    color: var(--gray-color);
}

.share-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
}

.share-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Tabs Section */
.premium-tabs-section {
    background: var(--light-color);
    padding: 60px 0;
    margin: 40px 0;
}

.tabs-wrapper {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background: white;
    overflow-x: auto;
}

.tab-btn {
    padding: 18px 30px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

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

.tab-btn.active {
    color: var(--primary-color);
}

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

.tabs-content {
    padding: 40px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table th,
.specs-table td {
    padding: 15px;
    text-align: left;
}

.specs-table th {
    width: 30%;
    font-weight: 600;
    color: var(--dark-color);
    background: var(--light-color);
}

.specs-table td {
    color: var(--gray-color);
}




/* Related Products */
.premium-related-section {
    padding: 60px 0;
}


/* Product Card Styling for Related Products */
.products .product,
.related-products-grid .product {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.products .product:hover,
.related-products-grid .product:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-gallery-sticky {
        position: relative;
        top: 0;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tabs-content {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .premium-product-title {
        font-size: 24px;
    }
    
    .price-wrapper .price {
        font-size: 28px;
    }
    
    .trust-badges-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .quantity-wrapper {
        flex-direction: column;
    }
    
    .premium-timer {
        gap: 8px;
    }
    
    .timer-block {
        min-width: 50px;
        padding: 8px;
    }
    
    .timer-number {
        font-size: 20px;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-header {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        text-align: center;
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 10px;
        font-size: 14px;
    }
}





/* ============================================
   FULL-WIDTH PREMIUM PRODUCT PAGE
   No Sidebar - 100% Width
   ============================================ */



/* Premium Container */
.premium-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb - Full Width Background */
.premium-breadcrumb {
    background: #f9fafb;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
    width: 100%;
}

/* Hero Section - Full Width */
.premium-product-main {
    background: white;
    padding: 40px 0;
    width: 100%;
}

/* Product Grid - Centered Content */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tabs Section - Full Width Background */
.premium-tabs-section {
    background: #f9fafb;
    padding: 60px 0;
    width: 100%;
}

/* Tabs Content Centered */
.premium-tabs-section .premium-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Related Products Section - Full Width */
.premium-related-section {
    padding: 60px 0;
    background: white;
    width: 100%;
}

.premium-related-section .premium-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Upsells Section */
.premium-upsells-section {
    background: #f9fafb;
    padding: 60px 0;
    width: 100%;
}

.premium-upsells-section .premium-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Related Products Grid */
.related-products-grid {
    display: grid;

    gap: 30px;
}

/* Product Cards */
.products .product,
.related-products-grid .product,
.upsells-slider .product {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 0 !important;
}

.products .product:hover,
.related-products-grid .product:hover,
.upsells-slider .product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .premium-product-main {
        padding: 20px 0;
    }
    
    .product-grid {
        padding: 0 15px;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-content {
        padding: 20px;
    }
    
    .tab-btn {
        font-size: 14px;
        padding: 12px 15px;
    }
}




li.product.type-product {
    padding-bottom: 32px;
}







/* ============================================
   WORKING PRODUCT GALLERY
   ============================================ */

/* Gallery Container */
.woocommerce-product-gallery {
    position: relative;
    margin-bottom: 20px;
    opacity: 1 !important;
}

/* Main Image Viewport */
.woocommerce-product-gallery .flex-viewport {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    background: #f9fafb;
}

/* Main Image */
.woocommerce-product-gallery__image {
    position: relative;
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Thumbnails */
.flex-control-nav {
    display: flex !important;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flex-control-nav li {
    width: 80px !important;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.flex-control-nav li img {
    width: 100% !important;
    height: auto !important;
    display: block;
}

.flex-control-nav li.flex-active {
    border-color: #2563eb;
}

.flex-control-nav li:hover {
    transform: translateY(-2px);
}

/* Navigation Arrows */
.flex-direction-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.flex-direction-nav li {
    position: absolute;
    list-style: none;
    pointer-events: auto;
}

.flex-direction-nav .flex-nav-prev {
    left: 10px;
}

.flex-direction-nav .flex-nav-next {
    right: 10px;
}

.flex-direction-nav a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #1f2937;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
}

.woocommerce-product-gallery:hover .flex-direction-nav a {
    opacity: 1;
}

.flex-direction-nav a:hover {
    background: white;
    transform: scale(1.05);
}

/* Hide default sale badge */
.onsale {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .flex-control-nav li {
        width: 60px !important;
    }
    
    .flex-direction-nav a {
        width: 32px;
        height: 32px;
        font-size: 16px;
        opacity: 0.6;
    }
}



/* ============================================
   WORKING GALLERY CSS
   ============================================ */

/* Gallery Container */
.woocommerce-product-gallery {
    position: relative;
    margin-bottom: 2em;
}

.woocommerce-product-gallery .flex-viewport {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    background: #f9fafb;
}

.woocommerce-product-gallery .flex-viewport img {
    width: 100%;
    height: auto;
    display: block;
}

/* Thumbnails */
.woocommerce-product-gallery .flex-control-nav {
    display: flex !important;
    justify-content: flex-start;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-product-gallery .flex-control-nav li {
    width: 80px !important;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    margin: 0 !important;
}

.woocommerce-product-gallery .flex-control-nav li img {
    width: 100% !important;
    height: auto !important;
    display: block;
}

.woocommerce-product-gallery .flex-control-nav li.flex-active {
    border-color: #2563eb;
}

/* Navigation Arrows */
.woocommerce-product-gallery .flex-direction-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.woocommerce-product-gallery .flex-direction-nav li {
    position: absolute;
    list-style: none;
    pointer-events: auto;
}

.woocommerce-product-gallery .flex-direction-nav .flex-nav-prev {
    left: 10px;
}

.woocommerce-product-gallery .flex-direction-nav .flex-nav-next {
    right: 10px;
}

.woocommerce-product-gallery .flex-direction-nav a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #1f2937;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
}

.woocommerce-product-gallery:hover .flex-direction-nav a {
    opacity: 1;
}

.woocommerce-product-gallery .flex-direction-nav a:hover {
    background: white;
    transform: scale(1.05);
}

/* Hide default sale badge */
.onsale {
    display: none !important;
}

/* Lightbox */
.pswp__img {
    object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-product-gallery .flex-control-nav li {
        width: 60px !important;
    }
    
    .woocommerce-product-gallery .flex-direction-nav a {
        width: 32px;
        height: 32px;
        font-size: 16px;
        opacity: 0.6;
    }
}










/* ============================================
   SIMPLE CHECKOUT PAGE STYLES
   ============================================ */

/* Remove default WooCommerce checkout styles */
.woocommerce-checkout .entry-header,
.woocommerce-checkout .woocommerce {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Main Checkout Container */
.custom-checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 60vh;
}

/* Checkout Header */
.checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.checkout-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.checkout-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    font-size: 0.85rem;
}

.checkout-steps .step {
    color: #cbd5e0;
    font-weight: 500;
}

.checkout-steps .step.active {
    color: #667eea;
}

.checkout-steps .step-separator {
    color: #cbd5e0;
}

/* Checkout Columns */
.checkout-columns {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

/* Checkout Cards */
.checkout-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 25px;
}

.checkout-card:last-child {
    margin-bottom: 0;
}

/* Section Titles */
.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Form Fields */
.form-row-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.form-field {
    margin-bottom: 0;
}

.form-field label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4a5568;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Shipping Address Toggle */
.shipping-address-toggle {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #4a5568;
}

.checkbox-label input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Order Items */
.order-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.order-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f5;
}

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

.item-image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

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

.item-details {
    flex: 1;
}

.item-name {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.item-quantity {
    font-size: 0.75rem;
    color: #718096;
}

.item-price {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.85rem;
}

/* Order Totals */
.order-totals {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

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

.totals-row.total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #e9ecef;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a;
}

/* Payment Methods */
.payment-methods {
    margin-bottom: 20px;
}

.payment-methods h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.payment-methods .wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-methods .wc_payment_method {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.payment-methods .wc_payment_method label {
    cursor: pointer;
    font-weight: 500;
}

.payment-methods .payment_box {
    margin-top: 10px;
    padding: 10px;
    background: white;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #4a5568;
}

/* Place Order Button */
.place-order-button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.place-order-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Sticky Summary */
.sticky-summary {
    position: sticky;
    top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .checkout-columns {
        grid-template-columns: 1fr;
    }
    
    .sticky-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .custom-checkout-container {
        padding: 20px 15px;
    }
    
    .form-row-group {
        grid-template-columns: 1fr;
    }
    
    .checkout-title {
        font-size: 1.5rem;
    }
    
    .checkout-steps {
        font-size: 0.75rem;
        gap: 10px;
    }
    
    .checkout-card {
        padding: 20px;
    }
}

/* Empty Cart Message */
.woocommerce-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

.woocommerce-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.woocommerce-info a:hover {
    text-decoration: underline;
}