/* Mohaana Wallet - Public & My Account Styles */

/* ==========================================================================
   1. My Account Layout (Side-by-Side Modern Flexbox)
   ========================================================================== */
.woocommerce-account .woocommerce {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 36px !important;
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation-wrapper {
    flex: 0 0 260px !important;
    width: 260px !important;
    max-width: 260px !important;
    float: none !important;
    margin: 0 !important;
    border-inline-end: 1px solid var(--et_border-color, #e8e8e8) !important;
    padding-inline-end: 28px !important;
    box-sizing: border-box !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   2. User Info Card Alignment (Avatar, Name, Email)
   ========================================================================== */
.MyAccount-user-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 10px 10px 22px 10px !important;
    margin-bottom: 22px !important;
    border-bottom: 1px solid var(--et_border-color, #eee) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.MyAccount-user-info img {
    border-radius: 50% !important;
    width: 84px !important;
    height: 84px !important;
    max-width: 84px !important;
    margin: 0 auto 12px auto !important;
    border: 3px solid #f8f4f0 !important;
    display: block !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
}

.MyAccount-user-info div {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
}

.woocommerce-MyAccount-navigation-wrapper .MyAccount-user-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
    text-align: center !important;
    word-break: break-word !important;
}

.MyAccount-user-info div > div:not(.MyAccount-user-name) {
    font-size: 12.5px !important;
    color: #888888 !important;
    word-break: break-all !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

/* ==========================================================================
   3. Menu Items Laser-Straight Column Alignment
   ========================================================================== */
.woocommerce-MyAccount-navigation-wrapper ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce-MyAccount-navigation-wrapper li {
    margin-bottom: 3px !important;
}

.woocommerce-MyAccount-navigation-wrapper li a {
    display: flex !important;
    align-items: center !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: #333333 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Force every icon to share the exact same 22px fixed slot */
.woocommerce-MyAccount-navigation-wrapper li a:before,
.woocommerce-MyAccount-navigation li a:before {
    display: inline-flex !important;
    width: 22px !important;
    min-width: 22px !important;
    justify-content: center !important;
    align-items: center !important;
    margin-right: 12px !important;
    margin-inline-end: 12px !important;
    font-size: 16px !important;
    text-align: center !important;
}

.woocommerce-MyAccount-navigation-wrapper li a:hover {
    background: #fdf5f4 !important;
    color: #E56D6D !important;
}

.woocommerce-MyAccount-navigation-wrapper li.is-active a {
    background: #fdf2f1 !important;
    color: #E56D6D !important;
    font-weight: 600 !important;
}

/* Dedicated SVG Wallet Icon for My Wallet menu item */
.woocommerce-MyAccount-navigation-wrapper li.woocommerce-MyAccount-navigation-link--my-wallet a:before,
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--my-wallet a:before {
    content: '' !important;
    display: inline-flex !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444444' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z'%3E%3C/path%3E%3Cpath d='M16 3H4a2 2 0 0 0-2 2v2'%3E%3C/path%3E%3Cpath d='M22 12h-4a2 2 0 0 0-2 2v0a2 2 0 0 0 2 2h4'%3E%3C/path%3E%3Ccircle cx='18.5' cy='14' r='0.75' fill='%23444444'%3E%3C/circle%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    margin-right: 12px !important;
    margin-inline-end: 12px !important;
}

.woocommerce-MyAccount-navigation-wrapper li.woocommerce-MyAccount-navigation-link--my-wallet.is-active a:before,
.woocommerce-MyAccount-navigation-wrapper li.woocommerce-MyAccount-navigation-link--my-wallet:hover a:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E56D6D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z'%3E%3C/path%3E%3Cpath d='M16 3H4a2 2 0 0 0-2 2v2'%3E%3C/path%3E%3Cpath d='M22 12h-4a2 2 0 0 0-2 2v0a2 2 0 0 0 2 2h4'%3E%3C/path%3E%3Ccircle cx='18.5' cy='14' r='0.75' fill='%23E56D6D'%3E%3C/circle%3E%3C/svg%3E") !important;
}

/* ==========================================================================
   4. Wallet Dashboard Inner Layout & Metric Cards
   ========================================================================== */
.mohaana-wallet-dashboard {
    margin-top: 0 !important;
    padding-top: 0 !important;
    font-family: inherit;
}

.mohaana-wallet-header h3 {
    margin-top: 0 !important;
    line-height: 1.2 !important;
}

.mohaana-wallet-cards-grid .wallet-metric-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mohaana-wallet-cards-grid .wallet-metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
}

#mohaana-wallet-checkout-toggle-box {
    transition: border-color 0.2s ease;
}

#mohaana-wallet-checkout-toggle-box:hover {
    border-color: #E56D6D !important;
}

.mohaana-wallet-top-banner {
    border-left: 4px solid #E56D6D !important;
    background: #fff8f6 !important;
    color: #222 !important;
    margin-bottom: 20px !important;
}

/* ==========================================================================
   5. Header Wallet Element & Icon (Site-wide)
   ========================================================================== */
.mohaana-header-wallet-element {
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
    vertical-align: middle !important;
}

.mohaana-header-wallet-element .elementor-button-link {
    display: inline-flex !important;
    align-items: center !important;
    color: inherit !important;
    text-decoration: none !important;
    padding: 0 8px !important;
    position: relative !important;
    line-height: 1 !important;
    transition: color 0.2s ease !important;
}

.mohaana-header-wallet-element .elementor-button-link:hover {
    color: #E56D6D !important;
}

.mohaana-header-wallet-element .elementor-button-icon {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mohaana-header-wallet-svg {
    width: 20px !important;
    height: 20px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    stroke: currentColor !important;
    transition: transform 0.2s ease, stroke 0.2s ease !important;
}

.mohaana-header-wallet-element:hover .mohaana-header-wallet-svg {
    transform: scale(1.08);
    stroke: #E56D6D !important;
}

/* Wallet Badge (Balance Pill) */
.mohaana-wallet-header-badge {
    position: absolute !important;
    top: -7px !important;
    right: -8px !important;
    background: #E56D6D !important;
    color: #ffffff !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    padding: 2.5px 5px !important;
    border-radius: 9px !important;
    border: 1.5px solid #ffffff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
    white-space: nowrap !important;
    pointer-events: none !important;
}

/* Mobile bottom bar wallet item */
.mohaana-mobile-panel-wallet a {
    color: inherit !important;
    text-decoration: none !important;
}

.mohaana-mobile-panel-wallet svg {
    stroke: currentColor !important;
}

/* ==========================================================================
   6. Mobile Responsive Alignment
   ========================================================================== */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column !important;
        gap: 20px !important;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation-wrapper {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        border-inline-end: none !important;
        border-bottom: 1px solid var(--et_border-color, #e8e8e8) !important;
        padding-inline-end: 0 !important;
        padding-bottom: 20px !important;
    }
    .woocommerce-account .woocommerce-MyAccount-content {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
}


/* ==========================================================================
   7. Top Marquee Bar
   ========================================================================== */
.mohaana-marquee-ticker {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background: #F37461;
    color: #ffffff;
    padding: 9px 0;
    box-sizing: border-box;
    font-family: 'AlbertSans-SemiBold', sans-serif;
    font-size: 13.5px;
    letter-spacing: 0.6px;
    line-height: 1.3;
}
.mohaana-marquee-track {
    display: inline-block;
    white-space: nowrap;
    animation: mohaanaMarqueeScroll 26s linear infinite;
    will-change: transform;
}
.mohaana-marquee-ticker:hover .mohaana-marquee-track {
    animation-play-state: paused;
}
.mohaana-marquee-track .m-text {
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #ffffff;
}
.mohaana-marquee-track .m-highlight {
    background: rgba(255, 255, 255, 0.22);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    color: #ffffff;
}
.mohaana-marquee-track .m-sep {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 16px;
}
@keyframes mohaanaMarqueeScroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   8. Logo Sizing (Bigger in Header & Footer)
   ========================================================================== */
.site-logo img,
.elementor-widget-theme-etheme_site-logo img,
.header-logo img {
    max-width: 215px !important;
    width: 215px !important;
    height: auto !important;
    transition: all 0.3s ease;
}
.elementor-widget-image .elementor-widget-container img[src*="Mohaana-Logo"],
.footer-logo img {
    max-width: 225px !important;
    width: 225px !important;
    height: auto !important;
}
@media (max-width: 991px) {
    .site-logo img,
    .elementor-widget-theme-etheme_site-logo img {
        max-width: 165px !important;
        width: 165px !important;
    }
}
@media (max-width: 480px) {
    .site-logo img,
    .elementor-widget-theme-etheme_site-logo img {
        max-width: 140px !important;
        width: 140px !important;
    }
}

/* ==========================================================================
   9. Brand Colour Palette (Matching Logo #F37461 & #F59394)
   ========================================================================== */
:root {
    --mohaana-primary: #F37461 !important;
    --mohaana-primary-hover: #E05A47 !important;
    --mohaana-secondary: #F59394 !important;
    --mohaana-bg-soft: #FFF9F8 !important;
    --et_main-color: #F37461 !important;
    --et_dark-color: #222222 !important;
}

.button.btn-checkout,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.btn-primary,
.et-btn-primary {
    background-color: #F37461 !important;
    border-color: #F37461 !important;
    color: #ffffff !important;
}
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.btn-primary:hover,
.et-btn-primary:hover {
    background-color: #E05A47 !important;
    border-color: #E05A47 !important;
    color: #ffffff !important;
}

.price ins,
.woocommerce div.product p.price ins,
.woocommerce ul.products li.product .price ins,
.woocommerce div.product span.price ins {
    color: #F37461 !important;
}
.onsale,
.badge-sale {
    background-color: #F37461 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   10. Pick Your Pattern Section
   ========================================================================== */
.mohaana-pattern-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 25px;
    border: 1px solid #F6EAE7;
}
.mohaana-pattern-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(243, 116, 97, 0.18);
}
.mohaana-pattern-card .pat-img-wrap {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
}
.mohaana-pattern-card .pat-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.mohaana-pattern-card:hover .pat-img-wrap img {
    transform: scale(1.06);
}
.mohaana-pattern-card .pat-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #F37461;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 30px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.mohaana-pattern-card .pat-info {
    padding: 22px 20px 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}
.mohaana-pattern-card .pat-info h3 {
    font-family: 'AlbertSans-SemiBold', sans-serif;
    font-size: 21px;
    color: #222222;
    margin: 0 0 10px 0;
}
.mohaana-pattern-card .pat-info p {
    color: #666666;
    font-size: 14.5px;
    line-height: 1.5;
    margin: 0 0 18px 0;
    flex-grow: 1;
}
.mohaana-pattern-card .pat-btn {
    display: inline-block;
    background: #FFF5F5;
    color: #F37461;
    border: 1.5px solid #F37461;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.mohaana-pattern-card .pat-btn:hover {
    background: #F37461;
    color: #ffffff;
}

/* ==========================================================================
   11. Footer Clean Contact
   ========================================================================== */
.mohaana-footer-contact a {
    transition: opacity 0.2s ease;
}
.mohaana-footer-contact a:hover {
    opacity: 0.85;
}


/* ==========================================================================
   12. Founder & Owner Story Placeholder (About Us Page)
   ========================================================================== */
.mohaana-founder-section {
    background: #FFF9F8;
    border-radius: 20px;
    padding: 50px 45px;
    border: 1px solid #F6EAE7;
    margin: 30px auto;
    max-width: 1200px;
    box-sizing: border-box;
}
.founder-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 50px;
    align-items: center;
}
@media (max-width: 991px) {
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .mohaana-founder-section {
        padding: 30px 20px;
    }
}
.founder-photo-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(243, 116, 97, 0.1);
    border: 1px solid #F5E5E2;
    text-align: center;
}
.founder-photo-placeholder {
    background: linear-gradient(135deg, #FFF0EE 0%, #FFE5E0 100%);
    border: 2px dashed #F59394;
    border-radius: 12px;
    aspect-ratio: 4 / 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
    box-sizing: border-box;
}
.ph-icon {
    margin-bottom: 12px;
}
.ph-tag {
    display: inline-block;
    background: #F37461;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.ph-note {
    font-size: 13px;
    color: #666666;
    margin: 0;
    line-height: 1.4;
}
.founder-meta {
    margin-top: 14px;
}
.founder-name {
    font-family: 'AlbertSans-SemiBold', sans-serif;
    font-size: 18px;
    color: #222222;
    margin: 0 0 4px 0;
}
.founder-role {
    font-size: 12px;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.founder-badge {
    display: inline-block;
    background: #FFEBE8;
    color: #F37461;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.founder-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    color: #222222;
    line-height: 1.1;
    margin: 0 0 16px 0;
    letter-spacing: 0.5px;
}
.founder-lead {
    font-size: 16.5px;
    line-height: 1.6;
    color: #F37461;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 18px;
}
.founder-body p {
    font-size: 15px;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 18px;
}
.founder-story-box {
    background: #ffffff;
    border-left: 4px solid #F37461;
    border-radius: 8px;
    padding: 18px 22px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.story-box-header .story-tag {
    color: #F37461;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
}
.story-placeholder-text {
    color: #777777;
    font-size: 14px;
    line-height: 1.6;
    margin: 8px 0 0 0;
}
.founder-highlights {
    display: flex;
    gap: 30px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #F0DCD7;
}
@media (max-width: 600px) {
    .founder-highlights {
        flex-direction: column;
        gap: 15px;
    }
}
.fh-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.fh-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 30px;
    color: #F37461;
    line-height: 1;
}
.fh-text strong {
    display: block;
    font-size: 14px;
    color: #222222;
}
.fh-text span {
    font-size: 12.5px;
    color: #777777;
}


/* ==========================================================================
   Mohaana Arts - Active Filters Bar & Homepage Category Circles
   ========================================================================== */
.mohaana-active-filters-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 25px;
    padding: 10px 20px;
    background: #FFF9F8;
    border: 1px dashed #F59394;
    border-radius: 50px;
    font-size: 14px;
    color: #444444;
}
.mohaana-active-filters-bar .maf-label {
    font-weight: 600;
    color: #F37461;
}
.mohaana-active-filters-bar .maf-tags {
    color: #222222;
}
.mohaana-active-filters-bar .maf-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: #F37461;
    color: #FFFFFF !important;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.mohaana-active-filters-bar .maf-clear-btn:hover {
    background: #222222;
    color: #FFFFFF !important;
}

/* Homepage 3 Category Circles Centering */
.elementor-element-108b37d .swiper-wrapper {
    justify-content: center !important;
}
@media (max-width: 767px) {
    .elementor-element-108b37d .swiper-wrapper {
        justify-content: flex-start !important;
    }
}

/* Hide legacy demo categories in filter dropdowns */
.etheme-product-filters .cat-item-19,
.etheme-product-filters a[data-value="uncategorized"] {
    display: none !important;
}
