/*
Theme Name: OceanWP Child
Description: Custom child theme for OceanWP with WooCommerce customizations
Template: oceanwp
Version: 1.0.0
*/

/* Test CSS - if you see red background, child theme is working */
body.woocommerce-page {
    border-top: 5px solid #e74c3c;
}

/* Modern Single Product Page - Minimalistic Design */

/* Full width container for single products */
.woocommerce .single-product-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Modern Product Wrapper - Main Layout with equal 50/50 split */
.woocommerce div.product.modern-single-product .modern-product-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

/* Product Gallery - Enhanced size and fit */
.woocommerce div.product.modern-single-product .modern-product-gallery {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 400px;
}

.woocommerce div.product.modern-single-product .modern-product-gallery .woocommerce-product-gallery {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    height: 100%;
    width: 100%;
}

.woocommerce div.product.modern-single-product .modern-product-gallery .woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
}

.woocommerce div.product.modern-single-product .modern-product-gallery .woocommerce-product-gallery__wrapper {
    width: 100%;
    height: 100%;
}

.woocommerce div.product.modern-single-product .modern-product-gallery .woocommerce-product-gallery__image {
    width: 100%;
    height: auto;
}

.woocommerce div.product.modern-single-product .modern-product-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Product Information Section */
.woocommerce div.product.modern-single-product .modern-product-info {
    padding-left: 20px;
}

/* Product Summary Styling */
.woocommerce div.product.modern-single-product .modern-product-summary {
    margin-bottom: 40px;
}

.woocommerce div.product.modern-single-product .product_title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.woocommerce div.product.modern-single-product .price {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
}

.woocommerce div.product.modern-single-product .price del {
    color: #95a5a6;
    font-weight: 400;
}

.woocommerce div.product.modern-single-product .price ins {
    text-decoration: none;
    color: #27ae60;
}

/* Karat & Weight Display - Beautiful Badges */
.woocommerce div.product.modern-single-product .product-karat-display {
    margin: 15px 0 10px 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
}

.woocommerce div.product.modern-single-product .karat-badge,
.woocommerce div.product.modern-single-product .weight-badge,
.woocommerce div.product.modern-single-product .size-badge {
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Karat Badge Styling */
.woocommerce div.product.modern-single-product .karat-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: 2px solid #B8860B;
}

/* Weight Badge Styling */
.woocommerce div.product.modern-single-product .weight-badge {
    background: linear-gradient(135deg, #C0C0C0 0%, #A9A9A9 100%);
    border: 2px solid #808080;
    box-shadow: 0 3px 10px rgba(169, 169, 169, 0.3);
}

/* Size Badge Styling */
.woocommerce div.product.modern-single-product .size-badge {
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
    border: 2px solid #4169E1;
    box-shadow: 0 3px 10px rgba(70, 130, 180, 0.3);
}

/* Circle Design (default) */
.woocommerce div.product.modern-single-product .karat-badge.karat-circle,
.woocommerce div.product.modern-single-product .weight-badge.weight-circle,
.woocommerce div.product.modern-single-product .size-badge.size-circle {
    border-radius: 50%;
}

/* Alternative Box Design (uncomment to use instead of circle) */
/*
.woocommerce div.product.modern-single-product .karat-badge.karat-box,
.woocommerce div.product.modern-single-product .weight-badge.weight-box,
.woocommerce div.product.modern-single-product .size-badge.size-box {
    border-radius: 12px;
    width: 90px;
    height: 60px;
}
*/

.woocommerce div.product.modern-single-product .karat-badge:before,
.woocommerce div.product.modern-single-product .weight-badge:before,
.woocommerce div.product.modern-single-product .size-badge:before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(-45deg);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(-45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(-45deg); }
}

.woocommerce div.product.modern-single-product .karat-badge:hover,
.woocommerce div.product.modern-single-product .weight-badge:hover,
.woocommerce div.product.modern-single-product .size-badge:hover {
    transform: scale(1.05);
}

.woocommerce div.product.modern-single-product .karat-badge:hover {
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.woocommerce div.product.modern-single-product .weight-badge:hover {
    box-shadow: 0 6px 20px rgba(169, 169, 169, 0.4);
}

.woocommerce div.product.modern-single-product .size-badge:hover {
    box-shadow: 0 6px 20px rgba(70, 130, 180, 0.4);
}

.woocommerce div.product.modern-single-product .karat-value,
.woocommerce div.product.modern-single-product .weight-value,
.woocommerce div.product.modern-single-product .size-value {
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 2;
    position: relative;
    word-break: break-word;
    text-align: center;
    max-width: 90%;
}

.woocommerce div.product.modern-single-product .karat-label,
.woocommerce div.product.modern-single-product .weight-label,
.woocommerce div.product.modern-single-product .size-label {
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    margin-top: 1px;
    z-index: 2;
    position: relative;
    text-align: center;
}

/* Karat Badge Text Colors */
.woocommerce div.product.modern-single-product .karat-value,
.woocommerce div.product.modern-single-product .karat-label {
    color: #8B4513;
}

/* Weight Badge Text Colors */
.woocommerce div.product.modern-single-product .weight-value,
.woocommerce div.product.modern-single-product .weight-label {
    color: #2F4F4F;
}

/* Size Badge Text Colors */
.woocommerce div.product.modern-single-product .size-value,
.woocommerce div.product.modern-single-product .size-label {
    color: #1E3A8A;
}

/* Responsive font scaling for longer values */
.woocommerce div.product.modern-single-product .karat-value.long-text,
.woocommerce div.product.modern-single-product .weight-value.long-text,
.woocommerce div.product.modern-single-product .size-value.long-text {
    font-size: 11px;
}

/* Ultra-small badges for tablet view */
@media (min-width: 481px) and (max-width: 768px) {
    .woocommerce div.product.modern-single-product .karat-badge,
    .woocommerce div.product.modern-single-product .weight-badge,
    .woocommerce div.product.modern-single-product .size-badge {
        width: 55px;
        height: 55px;
    }
    
    .woocommerce div.product.modern-single-product .karat-value,
    .woocommerce div.product.modern-single-product .weight-value,
    .woocommerce div.product.modern-single-product .size-value {
        font-size: 12px;
    }
    
    .woocommerce div.product.modern-single-product .karat-label,
    .woocommerce div.product.modern-single-product .weight-label,
    .woocommerce div.product.modern-single-product .size-label {
        font-size: 7px;
    }
}

/* Product Description */
.woocommerce div.product.modern-single-product .woocommerce-product-details__short-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #5a6c7d;
    margin-bottom: 30px;
}

/* Add to Cart Section - margin-bottom removed */

.woocommerce div.product.modern-single-product .quantity {
    margin-right: 15px;
}

.woocommerce div.product.modern-single-product .quantity input {
    width: 80px;
    height: 50px;
    text-align: center;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1rem;
}

.woocommerce div.product.modern-single-product .single_add_to_cart_button {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.woocommerce div.product.modern-single-product .single_add_to_cart_button:hover {
    background: #34495e;
    transform: translateY(-1px);
}

/* Hide Stock Status */
.woocommerce div.product.modern-single-product .stock {
    display: none !important;
}

/* Hide Add to Cart Section after specifications */
.woocommerce div.product.modern-single-product .modern-add-to-cart-section {
    display: none !important;
}

/* Hide Page Header Title on Product Pages */
.single-product .page-header-title {
    display: none !important;
}

/* Hide entire page header on product pages if needed */
.single-product .page-header {
    display: none !important;
}

/* Keep SKU wrapper in one line only */
.woocommerce div.product.modern-single-product .spec-item {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    align-items: center !important;
}

/* Increase font size of product_meta */
.woocommerce div.product.modern-single-product .product_meta {
    font-size: 1.1rem !important;
}

.woocommerce div.product.modern-single-product .product_meta span {
    font-size: 1.1rem !important;
}

/* Remove product_meta from product page */
.woocommerce div.product.modern-single-product .product_meta {
    display: none !important;
}

/* MRP tax text styling - positioned within price element */
.mrp-tax-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-weight: normal;
    line-height: 1.2;
}

.mrp-tax-text span {
    display: block;
    margin-top: 2px;
}

/* Product Meta */
.woocommerce div.product.modern-single-product .product_meta {
    border-top: 1px solid #ecf0f1;
    padding-top: 25px;
    margin-top: 25px;
}

.woocommerce div.product.modern-single-product .product_meta span {
    display: block;
    margin-bottom: 8px;
    color: #5a6c7d;
    font-size: 0.95rem;
}

/* Product Specifications */
.woocommerce div.product.modern-single-product .modern-product-specifications {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
}

.woocommerce div.product.modern-single-product .specifications-container h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
}

.woocommerce div.product.modern-single-product .specs-grid,
.woocommerce div.product.modern-single-product .additional-specs {
    margin-bottom: 20px;
}

.woocommerce div.product.modern-single-product .spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #ecf0f1;
}

.woocommerce div.product.modern-single-product .spec-item:last-child {
    border-bottom: none;
}

.woocommerce div.product.modern-single-product .spec-label {
    font-weight: 500;
    color: #5a6c7d;
    flex: 0 0 40%;
}

.woocommerce div.product.modern-single-product .spec-value {
    color: #2c3e50;
    text-align: right;
    flex: 1;
}

/* Add to Cart Section - Positioned after specifications */
.woocommerce div.product.modern-single-product .modern-add-to-cart-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #ecf0f1;
}

.woocommerce div.product.modern-single-product .modern-add-to-cart-section form.cart {
    margin-bottom: 0;
}

/* Full Width Product Details */
.woocommerce div.product.modern-single-product .modern-product-details {
    margin-top: 80px;
}

/* Product Tabs Redesign */
.woocommerce div.product.modern-single-product .woocommerce-tabs {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 60px;
}

.woocommerce div.product.modern-single-product .woocommerce-tabs ul.tabs {
    border-bottom: 1px solid #ecf0f1;
    background: #f8f9fa;
    margin: 0;
    padding: 0 30px;
}

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

.woocommerce div.product.modern-single-product .woocommerce-tabs ul.tabs li a {
    padding: 20px 25px;
    color: #5a6c7d;
    font-weight: 500;
    border: none;
    background: none;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce div.product.modern-single-product .woocommerce-tabs ul.tabs li.active a {
    color: #2c3e50;
    background: none;
    border-bottom: 3px solid #2c3e50;
}

.woocommerce div.product.modern-single-product .woocommerce-tabs .panel {
    padding: 40px;
    border: none;
    box-shadow: none;
    background: white;
}

/* Related Products */
.woocommerce div.product.modern-single-product .related.products,
.woocommerce div.product.modern-single-product .upsells.products {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 40px;
}

.woocommerce div.product.modern-single-product .related.products h2,
.woocommerce div.product.modern-single-product .upsells.products h2 {
    font-size: 1.8rem;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

/* Mobile Responsive Design - Mobile First */
@media (max-width: 768px) {
    .woocommerce .single-product-container {
        padding: 0 15px;
    }
    
    .woocommerce div.product.modern-single-product .modern-product-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .woocommerce div.product.modern-single-product .modern-product-info {
        padding-left: 0;
    }
    
    .woocommerce div.product.modern-single-product .product_title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .woocommerce div.product.modern-single-product .price {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    /* Mobile Karat & Weight Display */
    .woocommerce div.product.modern-single-product .product-karat-display {
        justify-content: flex-start;
        margin: 10px 0;
        gap: 10px;
    }
    
    .woocommerce div.product.modern-single-product .karat-badge,
    .woocommerce div.product.modern-single-product .weight-badge,
    .woocommerce div.product.modern-single-product .size-badge {
        width: 50px;
        height: 50px;
    }
    
    .woocommerce div.product.modern-single-product .karat-value,
    .woocommerce div.product.modern-single-product .weight-value,
    .woocommerce div.product.modern-single-product .size-value {
        font-size: 11px;
    }
    
    .woocommerce div.product.modern-single-product .karat-label,
    .woocommerce div.product.modern-single-product .weight-label,
    .woocommerce div.product.modern-single-product .size-label {
        font-size: 7px;
        letter-spacing: 0.1px;
    }
    
    .woocommerce div.product.modern-single-product form.cart {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .woocommerce div.product.modern-single-product .quantity {
        margin-right: 0;
        align-self: flex-start;
    }
    
    .woocommerce div.product.modern-single-product .single_add_to_cart_button {
        width: 100%;
        padding: 18px;
        font-size: 1.1rem;
    }
    
    .woocommerce div.product.modern-single-product .modern-product-specifications {
        padding: 20px;
        margin-top: 20px;
    }
    
    .woocommerce div.product.modern-single-product .modern-product-details {
        margin-top: 40px;
    }
    
    .woocommerce div.product.modern-single-product .woocommerce-tabs ul.tabs {
        padding: 0 15px;
    }
    
    .woocommerce div.product.modern-single-product .woocommerce-tabs ul.tabs li a {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .woocommerce div.product.modern-single-product .woocommerce-tabs .panel {
        padding: 25px 20px;
    }
    
    .woocommerce div.product.modern-single-product .related.products,
    .woocommerce div.product.modern-single-product .upsells.products {
        padding: 25px 20px;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .woocommerce div.product.modern-single-product .modern-product-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .woocommerce div.product.modern-single-product .product_title {
        font-size: 2.2rem;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .woocommerce .single-product-container {
        padding: 0 40px;
    }
    
    .woocommerce div.product.modern-single-product .modern-product-wrapper {
        gap: 80px;
    }
}

/* Reposition Product Navigation to avoid image overlap */
.woocommerce div.product.modern-single-product .owp-product-nav-wrap {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1080px) {
    .woocommerce div.product.modern-single-product .owp-product-nav-wrap {
        position: absolute !important;
        top: 20px !important;
        right: 20px !important;
        text-align: right;
        margin: 0;
        padding: 15px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        z-index: 10;
    }
}

/* Remove Zoom Icon from Product Gallery */
.woocommerce div.product.modern-single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    display: none !important;
}

.woocommerce div.product.modern-single-product .woocommerce-product-gallery .zoomImg {
    display: none !important;
}

.woocommerce div.product.modern-single-product .woocommerce-product-gallery img:hover {
    cursor: default !important;
}

/* Ensure admin bar maintains original WordPress design */
#wpadminbar {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    background: #23282d !important;
    border-bottom: 1px solid #23282d !important;
    height: 32px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    font-size: 13px !important;
    line-height: 32px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Reset admin bar menu items to original styling */
#wpadminbar .ab-item {
    color: #eee !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    padding: 0 8px !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 32px !important;
    height: 32px !important;
    display: block !important;
    float: left !important;
    position: relative !important;
}

#wpadminbar .ab-item:hover {
    background: #32373c !important;
    color: #fff !important;
}

/* Hide Add to Cart button from product grid/archive pages */
.products.oceanwp-row.clr.grid .product .button,
.products.oceanwp-row.clr.grid .product .add_to_cart_button,
.woocommerce .products.oceanwp-row.clr.grid .product .button,
.woocommerce .products.oceanwp-row.clr.grid .product .add_to_cart_button,
.woocommerce ul.products.oceanwp-row.clr.grid li.product .button,
.woocommerce ul.products.oceanwp-row.clr.grid li.product .add_to_cart_button {
    display: none !important;
}

/* Change product price color */
.woocommerce ul.products li.product .price .amount {
    color: #d54e4c !important;
}

/* ===================================================================
   MY ACCOUNT PAGE - MODERN DESIGN
   Similar layout structure to single product page
   =================================================================== */

/* Main My Account Layout - Improved */
.woocommerce .modern-myaccount-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* My Account Navigation - Horizontal Modern Design */
.woocommerce .modern-myaccount-navigation {
    margin-bottom: 40px;
    width: 100%;
}

.woocommerce .modern-myaccount-navigation .woocommerce-MyAccount-navigation {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

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

.woocommerce .modern-myaccount-navigation .woocommerce-MyAccount-navigation ul li {
    border-bottom: none;
    border-right: 1px solid #f0f0f0;
    flex: 1;
    min-width: 120px;
}

.woocommerce .modern-myaccount-navigation .woocommerce-MyAccount-navigation ul li:last-child {
    border-right: none;
}

.woocommerce .modern-myaccount-navigation .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 15px 12px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: center;
    font-size: 0.9rem;
    border-bottom: 3px solid transparent;
}

.woocommerce .modern-myaccount-navigation .woocommerce-MyAccount-navigation ul li a:hover {
    background: #f8f9fa;
    color: #2c3e50;
    border-bottom-color: #2c3e50;
}

.woocommerce .modern-myaccount-navigation .woocommerce-MyAccount-navigation ul li.is-active a {
    background: #2c3e50;
    color: white;
    border-bottom-color: #34495e;
}

/* My Account Content - Full Width */
.woocommerce .modern-myaccount-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    padding: 40px;
    width: 100%;
}

/* ===================================================================
   LOGIN & REGISTRATION FORMS - MODERN DESIGN
   =================================================================== */

/* Main Login Wrapper */
.woocommerce .modern-login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* Form Sections */
.woocommerce .modern-login-section,
.woocommerce .modern-register-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    padding: 40px;
    height: fit-content;
    align-self: start;
}

/* Form Headers */
.woocommerce .modern-form-header {
    margin-bottom: 30px;
    text-align: center;
}

.woocommerce .modern-form-header h2 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    color: #2c3e50;
    font-weight: 600;
}

.woocommerce .modern-form-header .form-description {
    color: #666 !important;
    margin: 0 !important;
    font-size: 1.2rem !important;
}

/* Form Styling */
.woocommerce .modern-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Form Sections */
.woocommerce .modern-form-section {
    margin-bottom: 30px;
}

.woocommerce .modern-form-section .section-title {
    font-size: 1.1rem;
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 600;
}

/* Form Groups */
.woocommerce .modern-form-group {
    margin-bottom: 20px;
}

.woocommerce .modern-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.woocommerce .modern-form-group.half-width {
    margin-bottom: 20px;
}

/* Labels */
.woocommerce .modern-form label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 500 !important;
    color: #333 !important;
    font-size: 1rem !important;
}

/* Input Fields */
.woocommerce .modern-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
    box-sizing: border-box;
}

.woocommerce .modern-input:focus {
    outline: none;
    border-color: #2c3e50;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

/* Buttons */
.woocommerce .modern-button {
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.woocommerce .modern-button-primary {
    background: #2c3e50;
    color: white;
}

.woocommerce .modern-button-primary:hover {
    background: #34495e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

/* Form Actions */
.woocommerce .modern-form-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
    margin-top: 20px;
}

/* Checkboxes */
.woocommerce .modern-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 15px;
}

.woocommerce .modern-checkbox input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.woocommerce .modern-checkbox span {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Links */
.woocommerce .modern-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.woocommerce .modern-link:hover {
    color: #34495e;
    text-decoration: underline;
}

.woocommerce .modern-form-links {
    text-align: center;
    margin-top: 15px;
}

/* Form Help Text */
.woocommerce .form-help {
    color: #888;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

/* Form Notice */
.woocommerce .modern-form-notice {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.woocommerce .modern-form-notice p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

/* Required Fields */
.woocommerce .required {
    color: #e74c3c;
}

/* Responsive Design */
@media (max-width: 768px) {
    .woocommerce .modern-myaccount-wrapper {
        padding: 0 15px;
    }
    
    .woocommerce .modern-login-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .woocommerce .modern-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .woocommerce .modern-login-section,
    .woocommerce .modern-register-section,
    .woocommerce .modern-myaccount-content {
        padding: 25px;
    }
    
    /* Mobile Navigation - Stack Vertically on Small Screens */
    .woocommerce .modern-myaccount-navigation .woocommerce-MyAccount-navigation ul {
        flex-direction: column;
    }
    
    .woocommerce .modern-myaccount-navigation .woocommerce-MyAccount-navigation ul li {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        min-width: auto;
    }
    
    .woocommerce .modern-myaccount-navigation .woocommerce-MyAccount-navigation ul li:last-child {
        border-bottom: none;
    }
    
    .woocommerce .modern-myaccount-navigation .woocommerce-MyAccount-navigation ul li a {
        text-align: left;
        padding: 15px 20px;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .woocommerce .modern-myaccount-navigation .woocommerce-MyAccount-navigation ul li a:hover {
        border-left-color: #2c3e50;
        border-bottom: none;
    }
    
    .woocommerce .modern-myaccount-navigation .woocommerce-MyAccount-navigation ul li.is-active a {
        border-left-color: #34495e;
        border-bottom: none;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .woocommerce .modern-myaccount-navigation .woocommerce-MyAccount-navigation ul li a {
        padding: 12px 8px;
        font-size: 0.85rem;
    }
}

/* ===========================
   MOBILE-FRIENDLY FOOTER STYLES
   =========================== */

/* Enhanced Footer Widgets Mobile Responsiveness */
@media only screen and (max-width: 1024px) {
    /* Footer Widgets Container */
    #footer-widgets {
        padding: 40px 0 30px 0;
    }
    
    #footer-widgets .footer-widgets-inner {
        padding: 0 20px;
    }
    
    /* Footer Box Spacing and Layout */
    #footer-widgets .footer-box {
        padding: 0 0 30px 0;
        margin-bottom: 20px;
        width: 100% !important;
        float: none;
        clear: both;
    }
    
    #footer-widgets .footer-box:last-child {
        margin-bottom: 0;
    }
    
    /* Widget Titles - Better Mobile Typography */
    #footer-widgets .footer-box .widget-title {
        font-size: 18px !important;
        line-height: 1.4;
        margin-bottom: 15px !important;
        font-weight: 600;
    }
    
    /* Widget Content */
    #footer-widgets .footer-box .footer-widget {
        margin-bottom: 25px;
    }
    
    #footer-widgets .footer-box .footer-widget:last-child {
        margin-bottom: 0;
    }
    
    /* Widget Text and Links */
    #footer-widgets .footer-box,
    #footer-widgets .footer-box p,
    #footer-widgets .footer-box li,
    #footer-widgets .footer-box a {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }
    
    /* Widget Lists */
    #footer-widgets .footer-box ul li {
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    #footer-widgets .footer-box ul li:last-child {
        border-bottom: none;
    }
    
    /* Widget Links - Better Touch Targets */
    #footer-widgets .footer-box a {
        display: inline-block;
        padding: 5px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        transition: color 0.3s ease;
    }
    
    /* Social Media Icons (if present) */
    #footer-widgets .social-widget li a {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 5px;
    }
}



/* Extra Small Mobile Devices */
@media only screen and (max-width: 768px) {
    /* Footer Widgets */
    #footer-widgets {
        padding: 30px 0 20px 0;
    }
    
    #footer-widgets .footer-widgets-inner {
        padding: 0 15px;
    }
    
    #footer-widgets .footer-box {
        padding: 0 0 25px 0;
        margin-bottom: 15px;
    }
    
    /* Widget Titles */
    #footer-widgets .footer-box .widget-title {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }
    
    /* Widget Text */
    #footer-widgets .footer-box,
    #footer-widgets .footer-box p,
    #footer-widgets .footer-box li,
    #footer-widgets .footer-box a {
        font-size: 14px !important;
    }
    
    /* Footer Bottom */
    #footer-bottom {
        padding: 15px 0;
    }
    
    #footer-bottom #footer-bottom-inner {
        padding: 0 15px;
    }
}

/* Very Small Mobile Devices (older phones) */
@media only screen and (max-width: 480px) {
    /* Even more compact spacing for very small screens */
    #footer-widgets .footer-widgets-inner {
        padding: 0 10px;
    }
    
    #footer-widgets .footer-box .widget-title {
        font-size: 15px !important;
    }
    
    #footer-widgets .footer-box,
    #footer-widgets .footer-box p,
    #footer-widgets .footer-box li,
    #footer-widgets .footer-box a {
        font-size: 13px !important;
    }
}

/* Accessibility Improvements */
@media only screen and (max-width: 1024px) {
    /* Focus States for Better Accessibility */
    #footer-widgets .footer-box a:focus {
        outline: 2px solid #13aff0;
        outline-offset: 2px;
    }
    
    /* High Contrast Mode Support */
    @media (prefers-contrast: high) {
        #footer-widgets .footer-box a {
            border: 1px solid currentColor;
        }
    }
}
