/**
 * Professional Page Styling for About Us and FAQ
 * Matches website typography and design standards
 */

/* ============================================
   BREADCRUMB BACKGROUND BANNER (DYNAMIC IMAGE)
   ============================================ */

:root {
    /* Default fallback (can be overridden by Customizer via inline CSS) */
    --porto-breadcrumb-banner: url("../images/banners/images-banner.jpeg");
}

/* Bootstrap breadcrumb used on custom pages */
.page-about .breadcrumb-nav,
.page-contact .breadcrumb-nav,
.page-faq .breadcrumb-nav,
.page-wheels-tires .breadcrumb-nav {
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), var(--porto-breadcrumb-banner);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 24px;
    overflow: hidden;
}

.page-about .breadcrumb-nav .breadcrumb,
.page-contact .breadcrumb-nav .breadcrumb,
.page-faq .breadcrumb-nav .breadcrumb,
.page-wheels-tires .breadcrumb-nav .breadcrumb {
    margin: 0;
    background: transparent;
}

.page-about .breadcrumb-nav .breadcrumb-item,
.page-contact .breadcrumb-nav .breadcrumb-item,
.page-faq .breadcrumb-nav .breadcrumb-item,
.page-wheels-tires .breadcrumb-nav .breadcrumb-item {
    color: rgba(255, 255, 255, 0.9) !important;
}

.page-about .breadcrumb-nav .breadcrumb-item a,
.page-contact .breadcrumb-nav .breadcrumb-item a,
.page-faq .breadcrumb-nav .breadcrumb-item a,
.page-wheels-tires .breadcrumb-nav .breadcrumb-item a {
    color: #fff !important;
    text-decoration: none;
}

.page-about .breadcrumb-nav .breadcrumb-item.active,
.page-contact .breadcrumb-nav .breadcrumb-item.active,
.page-faq .breadcrumb-nav .breadcrumb-item.active,
.page-wheels-tires .breadcrumb-nav .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* WooCommerce breadcrumb used on Shop + Category pages */
body.post-type-archive-product .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb {
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), var(--porto-breadcrumb-banner);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9) !important;
}

body.post-type-archive-product .woocommerce-breadcrumb a,
body.tax-product_cat .woocommerce-breadcrumb a {
    color: #fff !important;
    text-decoration: none;
}

body.post-type-archive-product .woocommerce-breadcrumb a:hover,
body.tax-product_cat .woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

/* ============================================
   GLOBAL BREADCRUMB HERO BANNER (shared)
   Uses: assets/images/banners/images-banner.jpeg
   ============================================ */

.page-hero-banner {
    position: relative;
    background-image: var(--porto-breadcrumb-banner);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 14px;
    overflow: hidden;
    margin: 0 0 2rem;
}

.page-hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.page-hero-banner .page-hero-inner {
    position: relative;
    padding: 28px 24px;
}

.page-hero-banner .page-hero-title {
    color: #fff;
    font-weight: 800;
    margin: 0 0 6px;
    line-height: 1.2;
}

.page-hero-banner .breadcrumb-nav {
    margin: 0;
}

.page-hero-banner .breadcrumb {
    margin: 0;
}

.page-hero-banner .breadcrumb-item,
.page-hero-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.92);
}

.page-hero-banner .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.92);
}

.page-hero-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.75);
}

.page-hero-banner .breadcrumb a:hover {
    color: #fff;
}

.page-hero-banner .breadcrumb i {
    color: rgba(255, 255, 255, 0.92);
}

.page-hero-banner .woocommerce-breadcrumb,
.page-hero-banner .woocommerce-breadcrumb a {
    color: rgba(255, 255, 255, 0.92);
}

.page-hero-banner .woocommerce-breadcrumb a:hover {
    color: #fff;
}

/* ============================================
   ABOUT US PAGE - PROFESSIONAL DESIGN
   ============================================ */

/* Hero Section */
.page-about .about-hero-section {
    padding: 3rem 0;
    margin-bottom: 4rem;
}

.page-about .about-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.page-about .about-subtitle {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.6;
    font-weight: 400;
}

.page-about .about-hero-image img {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-about .about-hero-image:hover img {
    transform: scale(1.02);
}

/* Main Content */
.page-about .about-content {
    font-size: 1.125rem;
    line-height: 1.9;
    color: #555;
}

.page-about .about-content p {
    margin-bottom: 1.5rem;
}

.page-about .about-content h2,
.page-about .about-content h3,
.page-about .about-content h4 {
    color: #333;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Mission & Vision Cards */
.page-about .mission-vision-card {
    background: #fff;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.page-about .mission-vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f0a402 0%, #ffb733 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.page-about .mission-vision-card:hover::before {
    transform: scaleX(1);
}

.page-about .mission-vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.page-about .card-icon-wrapper {
    margin-bottom: 2rem;
}

.page-about .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f0a402 0%, #ffb733 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(240, 164, 2, 0.3);
    transition: all 0.3s ease;
}

.page-about .mission-vision-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(240, 164, 2, 0.4);
}

.page-about .card-icon i {
    font-size: 2rem;
    color: #fff;
}

.page-about .card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.page-about .card-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* Values Section */
.page-about .values-section {
    padding: 4rem 0;
}

.page-about .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.page-about .title-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #f0a402, #ffb733);
    margin: 0 auto 3rem;
    border-radius: 2px;
}

.page-about .value-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid #f0f0f0;
    position: relative;
}

.page-about .value-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f0a402, #ffb733);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.page-about .value-card:hover::after {
    transform: scaleX(1);
}

.page-about .value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.page-about .value-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f0a402 0%, #ffb733 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 20px rgba(240, 164, 2, 0.3);
    transition: all 0.3s ease;
}

.page-about .value-card:hover .value-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(240, 164, 2, 0.4);
}

.page-about .value-icon-wrapper i {
    font-size: 2.5rem;
    color: #fff;
}

.page-about .value-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.page-about .value-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* ============================================
   FAQ PAGE - PROFESSIONAL DESIGN
   ============================================ */

/* FAQ Header */
.page-faq .faq-header {
    padding: 2rem 0 3rem;
}

.page-faq .faq-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.page-faq .faq-subtitle {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.6;
    font-weight: 400;
}

/* Accordion Styling */
.page-faq .faq-accordion {
    margin-top: 2rem;
}

.page-faq .accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 12px !important;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-faq .accordion-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: #f0a402;
}

.page-faq .accordion-button {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    padding: 1.5rem 2rem;
    background: #fff;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
    line-height: 1.5;
    cursor: pointer;
    pointer-events: auto;
    z-index: 1;
    position: relative;
}

.page-faq .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #f0a402 0%, #ffb733 100%);
    color: #fff;
    box-shadow: 0 5px 20px rgba(240, 164, 2, 0.3);
}

.page-faq .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(240, 164, 2, 0.25);
    border-color: #f0a402;
}

.page-faq .faq-question-text {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
}

.page-faq .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
    width: 1.5rem;
    height: 1.5rem;
}

.page-faq .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

.page-faq .accordion-body {
    padding: 2rem;
    background: #f8f9fa;
}

.page-faq .faq-answer-content {
    font-size: 1.125rem;
    line-height: 1.9;
    color: #555;
}

.page-faq .faq-answer-content p {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    line-height: 1.9;
}

.page-faq .faq-answer-content p:last-child {
    margin-bottom: 0;
}

.page-faq .faq-answer-content ul,
.page-faq .faq-answer-content ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
    font-size: 1.125rem;
    line-height: 1.9;
}

.page-faq .faq-answer-content li {
    margin-bottom: 0.75rem;
}

.page-faq .faq-answer-content h2,
.page-faq .faq-answer-content h3,
.page-faq .faq-answer-content h4 {
    color: #333;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Empty Message */
.page-faq .faq-empty-message {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: none;
    border-radius: 12px;
    padding: 2.5rem;
    font-size: 1.125rem;
    color: #333;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 991px) {
    .page-about .about-main-title,
    .page-faq .faq-main-title {
        font-size: 2.5rem;
    }
    
    .page-about .about-subtitle,
    .page-faq .faq-subtitle {
        font-size: 1.25rem;
    }
    
    .page-about .section-title {
        font-size: 2.25rem;
    }
    
    .page-about .card-title {
        font-size: 1.75rem;
    }
    
    .page-about .mission-vision-card {
        padding: 2.5rem 2rem;
    }
}

/* ============================================
   WHEELS & TYRES PAGE STYLES
   ============================================ */

.page-header .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.shop-sidebar .widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0a402;
    margin-bottom: 15px;
}

.shop-sidebar .category-link {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.shop-sidebar .category-link:hover,
.shop-sidebar .category-link.active {
    background: #f0a402;
    color: #fff !important;
    transform: translateX(5px);
}

.shop-sidebar .category-link i {
    font-size: 0.75rem;
}

.shop-sidebar .category-link .badge {
    font-size: 0.75rem;
}

/* WooCommerce Products Grid - Bootstrap Layout */
.page-wheels-tires .row.g-4 {
    margin-left: -15px;
    margin-right: -15px;
}

.page-wheels-tires .row.g-4 > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

.page-wheels-tires .product-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-wheels-tires .product-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: #f0a402;
}

.page-wheels-tires .product-image {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: #f8f9fa;
    padding: 1rem;
}

.page-wheels-tires .product-image a {
    display: block;
    width: 100%;
}

.page-wheels-tires .product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.page-wheels-tires .product-item:hover .product-image img {
    transform: scale(1.05);
}

.page-wheels-tires .product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f0a402;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
}

.page-wheels-tires .product-badge .badge-text {
    color: #fff;
}

.page-wheels-tires .product-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-wheels-tires .product-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    min-height: 3rem;
}

.page-wheels-tires .product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-wheels-tires .product-title a:hover {
    color: #f0a402;
}

.page-wheels-tires .product-price {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.page-wheels-tires .product-price del {
    color: #999;
    font-size: 1rem;
    font-weight: 400;
    margin-right: 0.5rem;
}

.page-wheels-tires .product-price .sale-price {
    color: #f0a402;
}

.page-wheels-tires .product-price .woocommerce-Price-amount {
    color: #f0a402;
    font-weight: 700;
}

.page-wheels-tires .product-actions {
    margin-top: auto;
}

.page-wheels-tires .product-actions .btn {
    width: 100%;
    padding: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    border-radius: 4px;
}

@media (max-width: 767px) {
    .page-about .about-main-title,
    .page-faq .faq-main-title {
        font-size: 2rem;
    }
    
    .page-about .about-subtitle,
    .page-faq .faq-subtitle {
        font-size: 1.125rem;
    }
    
    .page-about .section-title {
        font-size: 1.75rem;
    }
    
    .page-about .card-title {
        font-size: 1.5rem;
    }
    
    .page-about .value-title {
        font-size: 1.5rem;
    }
    
    .page-about .mission-vision-card,
    .page-about .value-card {
        padding: 2rem 1.5rem;
    }
    
    .page-faq .accordion-button {
        font-size: 1.125rem;
        padding: 1.25rem 1.5rem;
    }
    
    .page-faq .faq-question-text {
        font-size: 1.125rem;
    }
    
    .page-faq .accordion-body {
        padding: 1.5rem;
    }
    
    .page-faq .faq-answer-content,
    .page-faq .faq-answer-content p {
        font-size: 1rem;
    }
    
    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .page-header .page-title {
        font-size: 2rem;
    }
}

/* ============================================
   MY ACCOUNT PAGE - PRODUCTION LEVEL DESIGN
   ============================================ */

/* Account Hero Banner */
.account-hero-banner {
    margin-bottom: 2.5rem;
}

/* Account Wrapper */
.woocommerce-account-wrapper {
    padding: 0 0 3rem;
}

/* Hide sidebar on My Account pages */
body.woocommerce-account .main .container > .row > .col-lg-3:last-child,
body.woocommerce-account .main .container > .row > aside,
body.woocommerce-account .main .container > .row > .sidebar,
body.woocommerce-account .main .container .widget-area,
body.woocommerce-account .main .container #secondary,
body.woocommerce-account .main .container .sidebar,
body.woocommerce-account .main .container .widget,
body.woocommerce-account .main .container .widget_search,
body.woocommerce-account .main .container .widget_recent_entries,
body.woocommerce-account .main .container .widget_recent_comments,
body.woocommerce-account .main .container .widget_archive,
body.woocommerce-account .main .container .widget_categories {
    display: none !important;
}

/* Hide sidebar from page.php template on account pages */
body.woocommerce-account .main .container .row .col-lg-3:has(.widget),
body.woocommerce-account .main .container .row .col-lg-3:has(#secondary),
body.woocommerce-account .main .container .row .col-lg-3:has(.sidebar) {
    display: none !important;
}

/* Make content full width when sidebar is hidden */
body.woocommerce-account .woocommerce-account-wrapper .container .row {
    margin: 0;
}

body.woocommerce-account .woocommerce-account-wrapper .container .row > .col-lg-9 {
    max-width: 100%;
    flex: 0 0 100%;
}

@media (min-width: 992px) {
    body.woocommerce-account .woocommerce-account-wrapper .container .row > .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    
    body.woocommerce-account .woocommerce-account-wrapper .container .row > .col-lg-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }
}

/* Additional CSS to hide any remaining sidebar elements */
/* body.woocommerce-account .main .container .row > div:last-child:not(.col-lg-9):not(.col-lg-3):not(.woocommerce-MyAccount-content) {
    display: none !important;
} */

/* More aggressive sidebar hiding for My Account pages */
body.woocommerce-account .main .container .row .col-lg-3:not(:first-child),
body.woocommerce-account .main .container .row > div:has(.widget),
body.woocommerce-account .main .container .row > div:has(#secondary),
body.woocommerce-account .main .container .row > div:has(.sidebar),
body.woocommerce-account .main .container .row > div:has(.widget_search),
body.woocommerce-account .main .container .row > div:has(.widget_recent_entries),
body.woocommerce-account .main .container .row > div:has(.widget_recent_comments),
body.woocommerce-account .main .container .row > div:has(.widget_archive),
body.woocommerce-account .main .container .row > div:has(.widget_categories) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure My Account wrapper takes full width */
body.woocommerce-account .woocommerce-account-wrapper {
    width: 100%;
    max-width: 100%;
}

body.woocommerce-account .woocommerce-account-wrapper .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Account Sidebar Navigation */
.woocommerce-MyAccount-navigation.account-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.account-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.account-user-avatar img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid #f8f9fa;
}

.account-user-details {
    flex: 1;
}

.account-user-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.account-user-email {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

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

.account-menu-item {
    margin-bottom: 0.5rem;
}

.account-menu-item:last-child {
    margin-bottom: 0;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.account-menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: #495057;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.account-menu-link:hover {
    background: #f8f9fa;
    color: #007bff;
    transform: translateX(4px);
}

.account-menu-item.is-active .account-menu-link {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.25);
}

.account-menu-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.menu-label {
    flex: 1;
}

/* Account Content Area */
.woocommerce-MyAccount-content.account-content {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-height: 400px;
}

/* Dashboard Welcome */
.dashboard-welcome {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
}

.dashboard-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.5rem;
}

.dashboard-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
}

.dashboard-subtitle a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.dashboard-subtitle a:hover {
    text-decoration: underline;
}

/* Dashboard Stats */
.dashboard-stats {
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, #f0a402 0%, #9b7321 100%);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
    color: #fff;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.stat-icon i {
    font-size: 1.75rem;
    color: #fff;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Dashboard Quick Links */
.dashboard-quick-links {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #495057;
}

.quick-link-card:hover {
    border-color: #d0920e;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    color: #d0920e;
}

.quick-link-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #d0920e 0%, #d8a64e 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-link-icon i {
    font-size: 1.25rem;
    color: #fff;
}

.quick-link-text {
    flex: 1;
}

.quick-link-text strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333;
}

.quick-link-text span {
    display: block;
    font-size: 0.875rem;
    color: #6c757d;
}

.quick-link-card:hover .quick-link-text strong,
.quick-link-card:hover .quick-link-text span {
    color: #d0920e;
}

.quick-link-arrow {
    font-size: 1.25rem;
    color: #adb5bd;
    transition: transform 0.3s ease;
}

.quick-link-card:hover .quick-link-arrow {
    transform: translateX(4px);
    color: #d0920e;
}

.dashboard-description {
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.dashboard-description p {
    font-size: 1rem;
    color: #495057;
    line-height: 1.7;
    margin: 0;
}

.dashboard-description a {
    color: #d0920e;
    text-decoration: none;
    font-weight: 600;
}

.dashboard-description a:hover {
    text-decoration: underline;
}

/* Orders Table */
.account-orders-table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.account-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.account-orders-table thead {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.account-orders-table thead th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.account-orders-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background 0.2s ease;
}

.account-orders-table tbody tr:hover {
    background: #f8f9fa;
}

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

.account-orders-table tbody td,
.account-orders-table tbody th {
    padding: 1.25rem 1.25rem;
    vertical-align: middle;
    font-size: 0.95rem;
    color: #495057;
}

.order-number-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.order-number-link:hover {
    color: #d0920e;
    text-decoration: underline;
}

.order-date {
    color: #6c757d;
}

.order-status-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-status-processing {
    background: #fff3cd;
    color: #856404;
}

.order-status-completed {
    background: #d4edda;
    color: #155724;
}

.order-status-on-hold {
    background: #d1ecf1;
    color: #0c5460;
}

.order-status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.order-status-refunded {
    background: #e2e3e5;
    color: #383d41;
}

.order-status-failed {
    background: #f8d7da;
    color: #721c24;
}

.order-total {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.order-action-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.order-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Account Pagination */
.account-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.account-pagination .button {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.account-pagination .button i {
    font-size: 1rem;
}

/* Empty State */
.account-empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state-icon i {
    font-size: 3rem;
    color: #adb5bd;
}

.account-empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.75rem;
}

.account-empty-state p {
    font-size: 1rem;
    color: #6c757d;
    margin: 0 0 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.account-empty-state .button {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .woocommerce-account-wrapper .row {
        flex-direction: column-reverse;
    }
    
    .woocommerce-MyAccount-navigation.account-sidebar {
        margin-bottom: 0;
        margin-top: 2rem;
    }
    
    .account-user-info {
        flex-direction: column;
        text-align: center;
    }
    
    .account-menu-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .account-menu-item {
        margin-bottom: 0;
    }
    
    .account-menu-item:last-child {
        grid-column: 1 / -1;
        padding-top: 1rem;
        border-top: 1px solid #e9ecef;
        margin-top: 0.5rem;
    }
    
    .account-menu-link {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .woocommerce-MyAccount-content.account-content {
        padding: 1.5rem;
    }
    
    .dashboard-title {
        font-size: 1.5rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
    
    .account-orders-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .account-orders-table {
        min-width: 600px;
    }
}

@media (max-width: 575.98px) {
    .account-hero-banner {
        margin-bottom: 1.5rem;
    }
    
    .woocommerce-account-wrapper {
        padding-bottom: 2rem;
    }
    
    .woocommerce-MyAccount-navigation.account-sidebar {
        padding: 1rem;
    }
    
    .account-menu-list {
        grid-template-columns: 1fr;
    }
    
    .account-menu-item:last-child {
        grid-column: 1;
    }
    
    .woocommerce-MyAccount-content.account-content {
        padding: 1.25rem;
    }
    
    .dashboard-stats .col-6 {
        margin-bottom: 0.75rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .quick-link-card {
        flex-direction: column;
        text-align: center;
    }
    
    .quick-link-arrow {
        display: none;
    }
    
    .account-pagination {
        flex-direction: column;
    }
    
    .account-pagination .button {
        width: 100%;
        justify-content: center;
    }
    
    .account-empty-state {
        padding: 2rem 1rem;
    }
    
    .empty-state-icon {
        width: 80px;
        height: 80px;
    }
    
    .empty-state-icon i {
        font-size: 2.5rem;
    }
}

/* ============================================
   MY ACCOUNT - ADDRESSES PAGES
   ============================================ */

/* Addresses Listing Page */
.account-addresses-page {
    padding: 0;
}

.addresses-header {
    margin-bottom: 2rem;
}

.addresses-header .page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.5rem;
}

.addresses-header .page-description {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
}

.address-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.address-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
}

.address-card.has-address {
    border-color: #28a745;
}

.address-card.no-address {
    border-color: #ffc107;
}

.address-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px 12px 0 0;
}

.address-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.address-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.address-title-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.address-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.address-edit-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.address-edit-link:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    color: #fff;
}

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

.address-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #495057;
}

.address-content address {
    font-style: normal;
    margin: 0;
}

.address-empty {
    text-align: center;
    padding: 2rem 1rem;
}

.address-empty .empty-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: #6c757d;
    font-size: 1rem;
    margin: 0 0 1.5rem;
}

.address-empty .empty-message i {
    font-size: 2.5rem;
    color: #adb5bd;
}

/* Edit Address Form Page */
.account-edit-address-page {
    padding: 0;
}

.edit-address-header {
    margin-bottom: 2rem;
}

.edit-address-header .page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.edit-address-header .page-title i {
    font-size: 1.5rem;
    color: #007bff;
}

.edit-address-header .page-description {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
}

.address-form {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e9ecef;
}

.woocommerce-address-fields__field-wrapper {
    margin: 0;
}

.form-field-wrapper {
    margin-bottom: 1.5rem;
}

.form-field-wrapper label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.95rem;
}

.form-field-wrapper input[type="text"],
.form-field-wrapper input[type="email"],
.form-field-wrapper input[type="tel"],
.form-field-wrapper input[type="number"],
.form-field-wrapper select,
.form-field-wrapper textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-field-wrapper input:focus,
.form-field-wrapper select:focus,
.form-field-wrapper textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-field-wrapper .required {
    color: #dc3545;
}

.form-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.form-actions .button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.form-actions .btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
}

.form-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.form-actions .btn-outline-secondary {
    background: #fff;
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.form-actions .btn-outline-secondary:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #495057;
}

/* ============================================
   MY ACCOUNT - ORDER DETAILS PAGE
   ============================================ */

.account-view-order-page {
    padding: 0;
}

.order-header {
    margin-bottom: 2rem;
}

.order-header-top {
    margin-bottom: 1rem;
}

.back-to-orders-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.back-to-orders-link:hover {
    color: #0056b3;
    transform: translateX(-4px);
}

.order-info-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
}

.order-info-item {
    text-align: center;
}

.info-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #333;
}

.info-value.order-number {
    color: #007bff;
    font-size: 1.5rem;
}

.info-value.order-date {
    color: #495057;
}

.info-value.order-total-amount {
    color: #28a745;
    font-size: 1.5rem;
}

/* Order Updates Section */
.order-updates-section {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
}

.order-updates-section .section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.order-updates-section .section-title i {
    color: #ffc107;
}

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

.order-update-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.update-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.update-date i {
    color: #007bff;
}

.update-content {
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.7;
}

.update-content p {
    margin: 0 0 0.5rem;
}

.update-content p:last-child {
    margin-bottom: 0;
}

/* WooCommerce Order Details Styling */
.woocommerce-order-details {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.woocommerce-order-details__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.woocommerce-table--order-details {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.woocommerce-table--order-details thead {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.woocommerce-table--order-details thead th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.woocommerce-table--order-details tbody tr {
    border-bottom: 1px solid #e9ecef;
}

.woocommerce-table--order-details tbody tr:last-child {
    border-bottom: none;
}

.woocommerce-table--order-details tbody td {
    padding: 1.25rem 1.25rem;
    vertical-align: middle;
}

.woocommerce-table--order-details tfoot th {
    padding: 1rem 1.25rem;
    text-align: right;
    font-weight: 600;
    color: #495057;
    background: #f8f9fa;
}

.woocommerce-table--order-details tfoot td {
    padding: 1rem 1.25rem;
    text-align: right;
    font-weight: 700;
    color: #333;
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
    border-top: 2px solid #dee2e6;
    font-size: 1.125rem;
}

/* Order Customer Details */
.woocommerce-customer-details {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.woocommerce-customer-details h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.woocommerce-customer-details .woocommerce-column__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #495057;
    margin: 0 0 1rem;
}

.woocommerce-customer-details address {
    font-style: normal;
    line-height: 1.7;
    color: #495057;
}

/* Responsive Design for Addresses and Orders */
@media (max-width: 991.98px) {
    .address-card-header {
        flex-direction: column;
        text-align: center;
    }
    
    .address-title-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .order-info-card .row {
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .addresses-header .page-title,
    .edit-address-header .page-title {
        font-size: 1.5rem;
    }
    
    .address-card-header {
        padding: 1.25rem;
    }
    
    .address-card-body {
        padding: 1.25rem;
    }
    
    .address-form {
        padding: 1.5rem;
    }
    
    .order-info-card {
        padding: 1.25rem;
    }
    
    .order-info-item {
        margin-bottom: 1rem;
    }
    
    .woocommerce-order-details,
    .woocommerce-customer-details {
        padding: 1.5rem;
    }
    
    .woocommerce-table--order-details {
        font-size: 0.875rem;
    }
    
    .woocommerce-table--order-details thead th,
    .woocommerce-table--order-details tbody td,
    .woocommerce-table--order-details tfoot th,
    .woocommerce-table--order-details tfoot td {
        padding: 0.75rem;
    }
}

/* ============================================
   MY ACCOUNT - LOGIN & REGISTER FORMS
   ============================================ */

/* Login/Register Forms - Using Bootstrap with minimal theme matching */
.woocommerce-account .card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
}

.woocommerce-account .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.woocommerce-account .card-title i {
    color: #007bff;
    margin-right: 0.5rem;
}

.woocommerce-account .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.woocommerce-account .form-control {
    border: 1px solid #ced4da;
    border-radius: 8px;
}

.woocommerce-account .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.woocommerce-account .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.woocommerce-account .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}
