/* JAJ site chrome: new footer (replaces the theme footer) and a lighter, clearer header. */

/* ---------- Footer ---------- */
.jaj-footer { background: #2A0920; color: #F3E6EC; font: 15px/1.6 'Noto Sans', 'Noto Sans Devanagari', sans-serif; padding: 36px 16px 0; margin-top: 0; }
.jaj-footer a { color: #F3E6EC !important; text-decoration: none; }
.jaj-footer a:hover { color: #F3D9A4 !important; text-decoration: underline; }
.jf-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.jf-logo { font: 700 24px/1.2 'Playfair Display', Georgia, serif; color: #F3D9A4 !important; }
.jf-brand p { margin: 8px 0 14px; color: #D9C3CF; font-size: 14px; max-width: 360px; }
.jf-play { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; background: #000; color: #fff !important; font-weight: 700; font-size: 14px; }
.jf-soon { display: block; margin-top: 8px; font-size: 13px; color: #BFA5B4; }
.jf-h { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #F3D9A4; }
.jf-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.jf-col li a, .jf-col li span { display: inline-flex; min-height: 36px; align-items: center; font-size: 15px; color: #E9D9E1; }
.jf-social { display: flex !important; flex-direction: row !important; gap: 10px; margin-top: 6px; }
.jf-social a { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.jf-bottom { max-width: 1200px; margin: 28px auto 0; padding: 16px 0 90px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #BFA5B4; text-align: center; }
@media (min-width: 900px) {
  .jaj-footer { padding: 48px 24px 0; }
  .jf-wrap { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; gap: 32px; }
  .jf-bottom { padding-bottom: 20px; }
}

/* ---------- Header ---------- */
body.jaj-new-header #masthead { font-family: 'Noto Sans', 'Noto Sans Devanagari', sans-serif; border-bottom: 1px solid #F1DCE6; box-shadow: 0 2px 10px rgba(59,10,45,.05); }
body.jaj-new-header #masthead .main-header-menu > .menu-item > .menu-link { font-weight: 600; font-size: 15px; color: #3B0A2D; text-transform: none; letter-spacing: 0; border-radius: 999px; padding-left: 12px; padding-right: 12px; }
body.jaj-new-header #masthead .main-header-menu > .menu-item > .menu-link:hover { color: #9C1450; background: #FCEAF2; }
body.jaj-new-header #masthead .main-header-menu > .current-menu-item > .menu-link,
body.jaj-new-header #masthead .main-header-menu > .current-menu-ancestor > .menu-link { color: #fff !important; background: #A8335F !important; }
body.jaj-new-header #masthead .main-header-menu .sub-menu { border-radius: 14px; border: 1px solid #F1DCE6; box-shadow: 0 12px 30px rgba(59,10,45,.12); padding: 6px; overflow: hidden; }
body.jaj-new-header #masthead .main-header-menu .sub-menu .menu-link { font-size: 15px; font-weight: 500; color: #3B0A2D !important; text-transform: none; letter-spacing: 0; border-radius: 10px; }
body.jaj-new-header #masthead .main-header-menu .sub-menu .menu-link:hover { background: #FCEAF2; color: #9C1450; }
body.jaj-new-header .ast-mobile-popup-drawer .main-header-menu .menu-link,
body.jaj-new-header .ast-mobile-header-content .main-header-menu .menu-link { font: 600 17px/1.4 'Noto Sans', 'Noto Sans Devanagari', sans-serif; color: #3B0A2D; padding-top: 12px; padding-bottom: 12px; }
@media (min-width: 922px) {
  body.jaj-new-header #ast-desktop-header .main-header-bar-navigation,
  body.jaj-new-header #ast-desktop-header .main-navigation,
  body.jaj-new-header #ast-desktop-header .main-header-menu { background: transparent !important; }
  body.jaj-new-header #ast-desktop-header .main-header-menu { flex-wrap: nowrap; align-items: center; gap: 2px; }
  body.jaj-new-header #ast-desktop-header .main-header-menu > .menu-item > .menu-link { line-height: 1.2 !important; height: auto; padding-top: 9px; padding-bottom: 9px; padding-left: 12px; padding-right: 12px; font-size: 14.5px; white-space: nowrap; }
  body.jaj-new-header #ast-desktop-header .ast-header-woo-cart .ast-woo-header-cart-info-wrap { display: none; }
}
@media (min-width: 922px) and (max-width: 1360px) {
  body.jaj-new-header #ast-desktop-header .main-header-menu > .menu-item > .menu-link { padding-left: 8px; padding-right: 8px; font-size: 13.5px; }
  body.jaj-new-header #ast-desktop-header .main-header-menu { gap: 0; }
}
@media (min-width: 922px) and (max-width: 1180px) {
  body.jaj-new-header #ast-desktop-header .main-header-menu { flex-wrap: wrap; row-gap: 2px; }
}
body.jaj-new-header #masthead .main-header-menu .sub-menu .current-menu-item > .menu-link { color: #fff !important; background: #A8335F !important; }

/* Page top on every page: old spacing hacks (body margin/padding, header margins, Astra negative bar margins)
   made the header cover the notice bar and the top of the page (login, checkout, my account). */
body.jaj-new-header { margin-top: 0 !important; padding-top: 0 !important; }
body.jaj-new-header .jaj-ticker-wrap { position: relative !important; top: auto !important; }
body.jaj-new-header header.site-header,
body.jaj-new-header .main-header-bar { margin-top: 0 !important; }
body.jaj-new-header .ast-primary-header-bar.main-header-bar { margin-top: 0 !important; margin-bottom: 0 !important; }
body.jaj-new-header #masthead { height: auto !important; }

/* One language at a time everywhere (footer and other bilingual text on pages that do not load the page styles). */
html[data-jaj-lang="hi"] .jaj-en, html:not([data-jaj-lang="hi"]) .jaj-hi { display: none !important; }

/* Photos students add to their reviews in the app */
.jaj-rev-photos { display: flex; gap: 8px; margin: 10px 0 4px; }
.jaj-rev-photos img { width: 72px; height: 72px; object-fit: contain; background: #F4ECE4; border-radius: 10px; border: 1px solid rgba(0,0,0,.06); }

/* Calmer buttons everywhere: the theme and WooCommerce buttons were neon pink. */
body .woocommerce a.button, body .woocommerce button.button, body .woocommerce input.button, body .woocommerce #respond input#submit,
body a.button, body button.button, body .wp-block-button__link, body .ast-button, body .ast-custom-button,
body .wc-block-components-button:not(.is-link), body #jaj-otp-box .button.alt, body .single_add_to_cart_button, body .checkout-button,
body #place_order { background-color: #A8335F !important; border-color: #A8335F !important; color: #fff !important; }
body .woocommerce a.button:hover, body .woocommerce button.button:hover, body a.button:hover, body button.button:hover, body .wp-block-button__link:hover,
body #jaj-otp-box .button.alt:hover, body #place_order:hover, body .checkout-button:hover { background-color: #86284B !important; border-color: #86284B !important; }
body .ast-mobile-menu-trigger-fill, body .menu-toggle.main-header-menu-toggle { background-color: #A8335F !important; }

/* Secondary buttons ("Show 24 more designs", "Free preview" …): the theme painted every <button> neon pink.
   Soft gold with plum text, so they stand out on white and cream without competing with the pink "View course". */
body button.jaj-btn-line, body button.jaj-btn-line:focus, body a.jaj-btn-line, body a.jaj-btn-line:focus { background: #F3D9A4 !important; color: #3B0A2D !important; border: 1.5px solid #D9B26B !important; box-shadow: none !important; }
/* Old site-wide pop-ups and prompts (combo builder, login and profile reminders, offer pop-up): brand pink instead of neon. */
body .course-button, body #jajLoginBtn, body #jajEditProfileBtn, body .flashsale-cta { background: #D6197F !important; color: #fff !important; border-color: #D6197F !important; }
body .course-button:hover, body #jajLoginBtn:hover, body #jajEditProfileBtn:hover, body .flashsale-cta:hover { background: #A0145F !important; }
body button.jaj-btn-line:hover, body a.jaj-btn-line:hover { background: #E9C77F !important; color: #3B0A2D !important; border-color: #C9963B !important; }
