/**
 * Modeo Account - Main Layout & Grid
 * 
 * Core styles for account page structure
 */

/* ========================================
   MAIN ACCOUNT WRAPPER - SIDEBAR GRID LAYOUT
   ======================================== */

.site-main .entry-content .woocommerce {
    display: block;
    padding: 0px;
    margin: 0px;
    max-width: 100%;
}

.logged-in .site-main .page .entry-content .woocommerce {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

/* Tablet: Narrower sidebar */
@media (max-width: 1200px) {
    .woocommerce-account .woocommerce {
        grid-template-columns: 260px 1fr;
        gap: 24px;
    }
}

/* Mobile: Stack vertically */
@media (max-width: 991px) {
    .woocommerce-account .woocommerce {
        display: flex;
        flex-direction: column;
        margin: 20px auto;
        gap: 24px;
    }
}

/* ========================================
   ACCOUNT CONTENT AREA
   ======================================== */

.woocommerce-MyAccount-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

@media (max-width: 767px) {
    .woocommerce-MyAccount-content {
        padding: 24px;
        border-radius: 16px;
    }
}

/* ========================================
   SECTION HEADINGS
   ======================================== */

.section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

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

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cc1616;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.view-all-link:hover {
    color: #b31313;
    gap: 10px;
}

.view-all-link .material-icons {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.view-all-link:hover .material-icons {
    transform: translateX(4px);
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */

@media (max-width: 767px) {
    .section-heading {
        font-size: 1.25rem;
    }
}

/* ========================================
   HIDE PAGE TITLE ON ACCOUNT PAGES
   ======================================== */

/* Hide page title on all account pages */
.woocommerce-account .entry-title,
.woocommerce-account .page-title,
.woocommerce-account h1.entry-title,
.woocommerce-account h1.page-title,
.woocommerce-account .woocommerce-products-header__title,
.woocommerce-account header.entry-header {
    display: none !important;
}

/* Hide any page header on account pages */
.woocommerce-account .page-header,
.woocommerce-account .entry-header {
    display: none !important;
}