/*
 Theme Name:   Astra Child - House of Kanha
 Theme URI:    https://houseofkanha.au
 Description:  Astra Child Theme for House of Kanha — Krishna devotional products store.
 Author:       House of Kanha
 Author URI:   https://houseofkanha.au
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  astra-child-hok
*/

/* Child theme styles are enqueued via functions.php */

/* ============================================================
   FALLBACK FONT METRIC OVERRIDES — FOUT / Layout Shift Fix
   ============================================================ */

/* Fallback for Poppins (body) */
@font-face {
  font-family: "Poppins-Fallback";
  src: local("Segoe UI"), local("Arial"), local("Helvetica Neue");
  size-adjust: 100.5%;
  ascent-override: 105%;
  descent-override: 35%;
  line-gap-override: 0%;
}

/* Fallback for Cormorant Garamond (headings) */
@font-face {
  font-family: "Cormorant-Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 92%;
  ascent-override: 95%;
  descent-override: 30%;
  line-gap-override: 0%;
}

/* Ab apni font-family stack update karein — fallback include karein */
body:not(.wp-admin),
.hok-body-text,
.hoksf-body-text,
.hok-shop-page {
  font-family: "Poppins", "Poppins-Fallback", "Segoe UI", system-ui, sans-serif !important;
}

body:not(.wp-admin) :where(h1, h2, h3, h4, h5, h6),
.hoksf-wordmark,
.hok-wordmark {
  font-family: "Cormorant Garamond", "Cormorant-Fallback", Georgia, "Times New Roman", serif !important;
}





/* Astra wrapper — Kanha page pe full control */
.page-template-page-kanha .site-content > .ast-container,
.page-template-page-kanha .ast-container {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.page-template-page-kanha #content,
.page-template-page-kanha .site-content {
    max-width: 100%;
    padding: 0;
    margin: 0;
}


/*:root {*/
/*  --hok-ivory: #fbf7ef;*/
/*  --hok-cream: #f6efe1;*/
/*  --hok-sand: #efe5d0;*/
/*  --hok-beige: #e7dac0;*/
/*  --hok-champagne: #d8c08d;*/
/*  --hok-gold: #c3a15c;*/
/*  --hok-gold-deep: #a4813f;*/
/*  --hok-teal: #125c55;*/
/*  --hok-teal-2: #1e7a6e;*/
/*  --hok-teal-deep: #0b423e;*/
/*  --hok-teal-darker: #08302d;*/
/*  --hok-ink: #22332e;*/
/*  --hok-ink-70: rgba(34, 51, 46, 0.72);*/
/*  --hok-ink-55: rgba(34, 51, 46, 0.55);*/
/*  --hok-hairline: rgba(164, 129, 63, 0.32);*/
/*  --hok-white: #fffdf7;*/
/*  --hok-blush: #c96f5e;*/
/*  --hok-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;*/
/*  --hok-font-body: "Poppins", "Segoe UI", system-ui, sans-serif;*/
/*  --hok-font-script: "Pinyon Script", cursive;*/
/*  --hok-ease: cubic-bezier(0.16, 1, 0.3, 1);*/
/*  --hok-shadow-soft: 0 18px 45px -18px rgba(11, 66, 62, 0.22);*/
/*  --hok-shadow-card: 0 10px 30px -12px rgba(11, 66, 62, 0.16);*/
/*}*/


/* YITH Quick View ko completely suppress karo — HOK ka apna modal use hoga */
#yith-quick-view-modal,
.yith-quick-view-modal,
.yith-wcqv-wrapper,
#yith-quick-view-overlay,
.yith-quick-view-overlay,
.qv-card {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}


/* ============================================================
   FALLBACK FONT METRIC OVERRIDES — FOUT Fix
   ============================================================ */

@font-face {
  font-family: "Poppins-Fallback";
  src: local("Segoe UI"), local("Arial"), local("Helvetica Neue");
  size-adjust: 100.5%;
  ascent-override: 105%;
  descent-override: 35%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Cormorant-Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 92%;
  ascent-override: 95%;
  descent-override: 30%;
  line-gap-override: 0%;
}

/* Ab apni font stack update karein */
/*body:not(.wp-admin),*/
/*.hok-body-text,*/
/*.hoksf-body-text,*/
/*.hok-shop-page,*/
/*.hok-shop-page * {*/
/*  font-family: "Poppins", "Poppins-Fallback", "Segoe UI", system-ui, sans-serif !important;*/
/*}*/

/*body:not(.wp-admin) :where(h1, h2, h3, h4, h5, h6),*/
/*.hoksf-wordmark,*/
/*.hok-wordmark,*/
/*h1, h2, h3, h4, h5, h6 {*/
/*  font-family: "Cormorant Garamond", "Cormorant-Fallback", Georgia, "Times New Roman", serif !important;*/
/*}*/


.woocommerce,
.woocommerce-page {
    font-family: inherit !important;
}

.woocommerce-page h1,
.woocommerce-page h2,
.woocommerce-page h3,
.woocommerce-page h4,
.woocommerce-page h5,
.woocommerce-page h6,
.woocommerce-page p,
.woocommerce-page label,
.woocommerce-page button,
.woocommerce-page input,
.woocommerce-page select,
.woocommerce-page textarea {
    font-family: inherit !important;
}


.hoksf-top{
    display: none;
    /*--ease: cubic-bezier(.16, 1, .3, 1);*/
    
    /*position: fixed;*/
    /*left: 50%;*/
    /*bottom: 25px;*/
    /*transform: translate(-50%, 140%);*/
    /*z-index: 400;*/
    /*background: #0b423e;*/
    /*color: red;*/
    /*border-radius: 999px;*/
    /*padding: 14px 45px;*/
    /*display: flex;*/
    /*gap: 12px;*/
    /*align-items: center;*/
    /*font-size: 12.5px;*/
    /*letter-spacing: .04em;*/
    /*box-shadow: 0 20px 44px -14px rgba(8, 48, 45, .55);*/
    /*transition: transform .55s var(--ease);*/
    /*max-width: 92vw;*/
}


/*.hfe-nav-menu__layout-horizontal{*/
/*    padding: 0 25px;*/
/*}*/




.hfe-menu-item {
    color: var(--hok-ink-70);
    position: relative;
    transition: color .3s ease;
}

.hfe-menu-item::after {
    --ease: cubic-bezier(.16, 1, .3, 1);
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    background: var(--hok-gold) !important;
    transform: scaleX(0);
    transform-origin: center;         
    transition: transform .4s var(--ease);
    pointer-events: none;
    width: 70%;
    margin: 0 auto;
}

.hfe-menu-item:hover::after {
    transform: scaleX(1);
}

.hfe-menu-item:hover {
    color: var(--hok-ink);
}

.hok-shop-card-title a {
    color: #ffffff !important;
    font-size: 18px;
    line-height: 1.4;
    word-break: break-word;
    font-weight: 500 !important;
}