/*
Theme Name: Hindi Kay Bol
Template: signify
Description: Hindi Kay Bol design (2026): announcement bar, new header and footer, Fraunces + Nunito, warm palette. Child theme of Signify.
Version: 1.0.0
Text Domain: hindikaybol
*/

/* ================= Fonts (self-hosted) ================= */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/fraunces-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url(fonts/nunito-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-style: italic; font-weight: 200 1000; font-display: swap;
  src: url(fonts/nunito-latin-wght-italic.woff2) format("woff2"); }
/* Devanagari falls through to Mukta in every stack */
@font-face { font-family: "Mukta"; font-weight: 400; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
  src: url(fonts/mukta-devanagari-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Mukta"; font-weight: 600; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
  src: url(fonts/mukta-devanagari-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Mukta"; font-weight: 700 900; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
  src: url(fonts/mukta-devanagari-700-normal.woff2) format("woff2"); }

/* ================= Tokens ================= */
:root {
  --hkb-cream: #FAF5EA;
  --hkb-sand: #F1E9DA;
  --hkb-green: #3F5E58;
  --hkb-sage: #93B5A8;
  --hkb-terracotta: #9C4A34;
  --hkb-terracotta-dark: #83392A;
  --hkb-coral: #D98B72;
  --hkb-gold: #E8C887;
  --hkb-ink: #283539;
  --hkb-text: #3A4548;
  --hkb-muted: #5F6A6C;
  --hkb-line: #DCD2BF;
  --hkb-pink: #F1CFC3;
  --hkb-mint: #D0E0D8;
  --hkb-butter: #F2DFAE;
  --hkb-sky: #D6DEE6;
  --hkb-serif: "Fraunces", "Mukta", Georgia, serif;
  --hkb-sans: "Nunito", "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hkb-radius: 16px;
  --hkb-wrap: 1140px;
  --hkb-gutter: clamp(16px, 4vw, 40px);
}

/* ================= Base ================= */
html { scroll-behavior: smooth; background: var(--hkb-cream); }
body, body.custom-background {
  background: var(--hkb-cream) !important;
  color: var(--hkb-text);
  font-family: var(--hkb-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body, button, input, select, optgroup, textarea { font-family: var(--hkb-sans); color: var(--hkb-text); }
h1, h2, h3, h4, h5, h6,
.entry-title, .page-title, .site-title, .widget-title,
.woocommerce div.product .product_title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--hkb-serif);
  color: var(--hkb-ink);
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-transform: none;
}
h1, .entry-title, .page-title { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.12rem; }
a { color: var(--hkb-terracotta); }
a:hover, a:focus { color: var(--hkb-terracotta-dark); }
.entry-content a:not(.button):not(.wp-block-button__link) { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--hkb-gold); outline-offset: 2px; }
::selection { background: var(--hkb-gold); color: var(--hkb-ink); }
img { border-radius: 0; }
hr { background: var(--hkb-line); }

.hkb-wrap { max-width: var(--hkb-wrap); margin: 0 auto; padding: 0 var(--hkb-gutter); box-sizing: content-box; }

/* ================= Announcement bar ================= */
.hkb-bar {
  background: var(--hkb-green);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
  line-height: 1.4;
}

/* ================= Header ================= */
.hkb-header { background: var(--hkb-cream); position: relative; z-index: 50; }
.hkb-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.hkb-logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.hkb-logo__img { display: block; height: 88px; width: auto; max-width: none; mix-blend-mode: multiply; }
.hkb-wordmark { font-family: var(--hkb-serif); font-size: 1.5rem; color: var(--hkb-ink); font-weight: 700; }

.hkb-nav .hkb-menu, .hkb-nav ul { list-style: none; margin: 0; padding: 0; }
.hkb-nav .hkb-menu { display: flex; align-items: center; gap: 6px; }
.hkb-nav .hkb-menu > li { position: relative; margin: 0; }
.hkb-nav a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  color: var(--hkb-ink);
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
}
.hkb-nav a:hover, .hkb-nav a:focus { color: var(--hkb-terracotta); }
.hkb-nav .current-menu-item > a, .hkb-nav .current_page_item > a { color: var(--hkb-terracotta); }
.hkb-nav .hkb-cart-item > a {
  background: var(--hkb-ink); color: #fff; padding: 9px 18px; margin-left: 8px;
}
.hkb-nav .hkb-cart-item > a:hover, .hkb-nav .hkb-cart-item > a:focus { background: var(--hkb-green); color: #fff; }
.hkb-cart-count {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box;
  border-radius: 999px; background: var(--hkb-gold); color: var(--hkb-ink);
  font-size: 12px; font-weight: 800; line-height: 1;
}
.hkb-cart-count.is-empty { display: none; }
/* sub-menus */
.hkb-nav .sub-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 200px;
  background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 10px 30px rgba(40,53,57,.12);
}
.hkb-nav li:hover > .sub-menu, .hkb-nav li:focus-within > .sub-menu { display: block; }
.hkb-nav .sub-menu a { display: block; border-radius: 8px; }

.hkb-menu-toggle { display: none; }

@media (max-width: 860px) {
  .hkb-header__inner { min-height: 76px; }
  .hkb-menu-toggle {
    display: inline-grid; place-items: center;
    width: 46px; height: 46px; padding: 0; margin: 0;
    border: 1.5px solid var(--hkb-ink); border-radius: 999px;
    background: transparent; cursor: pointer;
  }
  .hkb-menu-toggle__bars, .hkb-menu-toggle__bars::before, .hkb-menu-toggle__bars::after {
    display: block; width: 18px; height: 2px; background: var(--hkb-ink); border-radius: 2px; position: relative; content: "";
  }
  .hkb-menu-toggle__bars::before { position: absolute; top: -6px; }
  .hkb-menu-toggle__bars::after { position: absolute; top: 6px; }
  .hkb-menu-toggle[aria-expanded="true"] .hkb-menu-toggle__bars { background: transparent; }
  .hkb-menu-toggle[aria-expanded="true"] .hkb-menu-toggle__bars::before { top: 0; transform: rotate(45deg); }
  .hkb-menu-toggle[aria-expanded="true"] .hkb-menu-toggle__bars::after { top: 0; transform: rotate(-45deg); }
  .hkb-menu-toggle:hover, .hkb-menu-toggle:focus { background: var(--hkb-sand); }

  .hkb-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--hkb-cream); border-top: 1px solid var(--hkb-line);
    padding: 12px var(--hkb-gutter) 20px; box-shadow: 0 16px 30px rgba(40,53,57,.10);
  }
  .hkb-nav.is-open { display: block; }
  .hkb-nav .hkb-menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .hkb-nav a { display: flex; padding: 12px 8px; font-size: 17px; border-radius: 10px; }
  .hkb-nav .hkb-cart-item > a { margin: 8px 0 0; justify-content: center; }
  .hkb-nav .sub-menu { display: block; position: static; box-shadow: none; background: transparent; padding: 0 0 0 16px; }
}

/* WooCommerce's ".woocommerce-page img { height: auto }" must not resize the logo */
.hkb-header .hkb-logo .hkb-logo__img { height: 88px !important; width: auto !important; max-width: none !important; }
@media (max-width: 860px) { .hkb-header .hkb-logo .hkb-logo__img { height: 60px !important; } }

/* ================= Signify accent colour (pink) -> palette ================= */
.singular-content-wrap .entry-content a:not(.more-link):not(.button):not(button):not(.wp-block-button__link):not(.wp-playlist-caption),
.singular-content-wrap .entry-summary a:not(.more-link):not(.button):not(button):not(.wp-block-button__link):not(.wp-playlist-caption) { color: var(--hkb-terracotta); }
.singular-content-wrap .entry-content a:not(.more-link):not(.button):not(button):not(.wp-block-button__link):not(.wp-playlist-caption):hover { color: var(--hkb-terracotta-dark); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link * { color: var(--hkb-ink) !important; text-decoration: none !important; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link:hover .woocommerce-loop-product__title { color: var(--hkb-terracotta) !important; }
.product .woocommerce-Price-amount, .woocommerce ul.products li.product .price .woocommerce-Price-amount { color: inherit; }
.hkb-book h3 a, .hkb-book .hkb-book__price a, .hkb-offer h3 a, .hkb-tile h3 a { color: inherit; }
.singular-content-wrap .entry-content a.hkb-cart-button, .hkb-front a.hkb-cart-button, .hkb-front .wp-block-button__link { color: #fff; }
.hkb-front .is-style-outline .wp-block-button__link { color: var(--hkb-ink); }
.hkb-front .is-style-outline .wp-block-button__link:hover { color: #fff; }
.woocommerce div.product .stock, .woocommerce div.product p.stock.in-stock { color: var(--hkb-green); font-weight: 700; }
.woocommerce div.product .stock.out-of-stock { color: var(--hkb-terracotta); }
.woocommerce div.product .woocommerce-tabs .panel { background: transparent; }
#scrollup { background-color: var(--hkb-ink) !important; color: #fff !important; border-radius: 999px; }
#scrollup:hover, #scrollup:focus { background-color: var(--hkb-green) !important; }
.page-numbers:hover, .page-numbers:focus { color: var(--hkb-terracotta); }

/* ================= Signify layout resets ================= */
#page { background: transparent; overflow-x: clip; min-height: 100vh; display: flex; flex-direction: column; }
#page > .site-content { flex: 1 0 auto; }
#page > .hkb-footer { flex-shrink: 0; }
.site-content { padding: 0; }
.site-content > .wrapper { width: 100%; max-width: calc(var(--hkb-wrap) + 2 * var(--hkb-gutter)); padding: 0 var(--hkb-gutter); box-sizing: border-box; }
body:not(.hkb-home) .site-content > .wrapper { padding-top: 40px; padding-bottom: 72px; }
.page.no-sidebar .content-area, .single.no-sidebar .content-area,
.no-sidebar .site-content > .wrapper .content-area { max-width: 860px; }
.woocommerce-page.no-sidebar .site-content > .wrapper .content-area,
.woocommerce.no-sidebar .site-content > .wrapper .content-area { max-width: 100%; }
.singular-content-wrap, .hentry { background: transparent; }
.entry-header { text-align: left; margin-bottom: 24px; }
.entry-header .entry-title { margin: 0; }
.entry-content, .entry-summary { color: var(--hkb-text); }
.entry-content p { margin-bottom: 1.1em; }
.entry-meta, .entry-footer, .cat-links, .posted-on, .byline { font-family: var(--hkb-sans); color: var(--hkb-muted); font-size: 14px; letter-spacing: 0; text-transform: none; }
.entry-meta a, .entry-footer a { color: var(--hkb-muted); }
.post-thumbnail img, .entry-content img { border-radius: 12px; }
.custom-header, .header-media, #header-media, .section-header-media { display: none !important; }
#secondary .widget { background: var(--hkb-sand); border-radius: var(--hkb-radius); padding: 24px; }

/* Blog list */
.archive .hentry, .blog .hentry, .search .hentry {
  background: #fff; border-radius: var(--hkb-radius); padding: 28px; margin-bottom: 24px;
}
.archive .entry-title, .blog .entry-title, .search .entry-title { font-size: 1.6rem; }
.archive .entry-title a, .blog .entry-title a, .search .entry-title a { color: var(--hkb-ink); text-decoration: none; }
.more-link, .readmore { color: var(--hkb-terracotta); font-weight: 700; }
.more-link, .entry-summary .more-link, .blog .more-link, .archive .more-link {
  display: inline-block; border: 1.5px solid var(--hkb-ink) !important; border-radius: 999px; background: transparent !important;
  color: var(--hkb-ink) !important; padding: 10px 20px; font-size: 15px; letter-spacing: 0; text-transform: none; text-decoration: none !important;
}
.more-link:hover, .more-link:focus { background: var(--hkb-ink) !important; color: #fff !important; }
.navigation .nav-links a, .pagination .page-numbers { color: var(--hkb-ink); }
.page-numbers.current { background: var(--hkb-ink); color: #fff; border-radius: 999px; }

/* ================= Buttons and forms ================= */
.button, button:not(.hkb-menu-toggle):not(.menu-toggle):not(.dropdown-toggle):not(.components-button),
input[type="button"], input[type="reset"], input[type="submit"],
.wp-block-button__link, .wp-element-button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
  font-family: var(--hkb-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.2;
  padding: 13px 22px;
  border-radius: 999px;
  border: 0;
  background: var(--hkb-ink);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.button:hover, button:not(.hkb-menu-toggle):not(.menu-toggle):not(.dropdown-toggle):not(.components-button):hover,
input[type="submit"]:hover, .wp-block-button__link:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
  background: var(--hkb-green); color: #fff;
}
/* Primary actions in terracotta */
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce #payment #place_order, .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.wp-block-button.is-style-fill .wp-block-button__link, .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--hkb-terracotta); color: #fff;
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce #payment #place_order:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--hkb-terracotta-dark); }
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent; color: var(--hkb-ink); border: 1.5px solid var(--hkb-ink); padding: 11.5px 20.5px;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--hkb-ink); color: #fff; }

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"],
input[type="number"], input[type="tel"], input[type="date"], textarea, select,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.select2-container--default .select2-selection--single {
  background: #fff;
  border: 1.5px solid var(--hkb-line);
  border-radius: 10px;
  color: var(--hkb-ink);
  font-size: 16px;
  padding: 11px 14px;
  box-shadow: none;
}
.select2-container--default .select2-selection--single { height: auto; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 1.6; padding: 0; color: var(--hkb-ink); }
input:focus, textarea:focus, select:focus { border-color: var(--hkb-ink); outline: none; box-shadow: 0 0 0 3px rgba(232,200,135,.6); }
label, .woocommerce form .form-row label { color: var(--hkb-ink); font-weight: 600; font-size: 15px; }

/* Ninja Forms (Contact page) */
.nf-form-content .ninja-forms-field:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]) {
  background: #fff !important; border: 1.5px solid var(--hkb-line) !important; border-radius: 10px !important; color: var(--hkb-ink) !important;
}
.nf-form-content input[type="submit"], .nf-form-content input[type="button"] {
  background: var(--hkb-terracotta) !important; color: #fff !important; border-radius: 999px !important; padding: 13px 26px !important; height: auto !important;
}
.nf-form-content label { font-weight: 600; color: var(--hkb-ink); }

/* ================= WooCommerce ================= */
.woocommerce .woocommerce-breadcrumb { color: var(--hkb-muted); font-size: 14px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--hkb-terracotta); }
.woocommerce-products-header__title, .woocommerce .page-title { margin-bottom: 8px; }
.woocommerce .woocommerce-result-count { color: var(--hkb-muted); font-size: 14px; }

.woocommerce ul.products { margin-top: 12px; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  background: #fff;
  border-radius: var(--hkb-radius);
  padding: 14px 14px 18px;
  text-align: left;
  display: flex; flex-direction: column;
  box-sizing: border-box;
}
.woocommerce ul.products li.product a img {
  border-radius: 10px; margin-bottom: 14px; aspect-ratio: 1; object-fit: cover; background: var(--hkb-sand);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1.08rem; padding: 0; margin: 0 0 6px; }
.woocommerce ul.products li.product .price {
  color: var(--hkb-muted) !important; font-family: var(--hkb-sans); font-weight: 600; font-size: 15px; margin-bottom: 14px;
}
.woocommerce ul.products li.product .button { margin-top: auto; text-align: center; }
.woocommerce ul.products li.product a.added_to_cart { display: block; text-align: center; margin-top: 8px; font-weight: 700; font-size: 14px; }
.woocommerce span.onsale { background: var(--hkb-terracotta); border-radius: 999px; min-height: 0; min-width: 0; padding: 4px 12px; line-height: 1.4; font-weight: 700; }

/* Single product */
.woocommerce div.product div.images img { border-radius: var(--hkb-radius); background: #fff; }
.woocommerce div.product .product_title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 10px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--hkb-terracotta); font-family: var(--hkb-sans); font-weight: 800; font-size: 1.4rem; }
.woocommerce div.product form.cart .button { background: var(--hkb-terracotta); padding: 14px 28px; }
.woocommerce div.product form.cart .button:hover { background: var(--hkb-terracotta-dark); }
.woocommerce .quantity .qty { border-radius: 999px; padding: 11px 8px; width: 4.2em; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--hkb-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: var(--hkb-sand); border-color: var(--hkb-line); border-radius: 12px 12px 0 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--hkb-cream); border-bottom-color: var(--hkb-cream); }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--hkb-ink); font-weight: 700; }
.woocommerce .related > h2, .woocommerce .upsells > h2 { margin-top: 24px; }
.product_meta { font-size: 14px; color: var(--hkb-muted); }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: var(--hkb-terracotta); }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
  background: #fff; border-top-color: var(--hkb-green); border-radius: 12px; color: var(--hkb-ink);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--hkb-green); }
.woocommerce-error { border-top-color: var(--hkb-terracotta); }
.woocommerce-message .button, .woocommerce-info .button { padding: 9px 16px; }

/* Cart and checkout (classic shortcodes) */
.woocommerce table.shop_table { border-color: var(--hkb-line); border-radius: var(--hkb-radius); background: #fff; border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th { font-family: var(--hkb-sans); color: var(--hkb-ink); font-weight: 800; text-transform: none; letter-spacing: 0; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--hkb-line); }
.woocommerce table.cart img { border-radius: 8px; width: 64px; }
.woocommerce a.remove { color: var(--hkb-terracotta) !important; }
.woocommerce a.remove:hover { background: var(--hkb-terracotta); color: #fff !important; }
.woocommerce .cart-collaterals .cart_totals h2, .woocommerce-checkout h3 { font-size: 1.4rem; }
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment { background: var(--hkb-sand); border-radius: var(--hkb-radius); }
.woocommerce-checkout #payment div.payment_box { background: #fff; color: var(--hkb-text); border-radius: 10px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--hkb-line); }

.cart-collaterals .shop_table.shop_table_responsive .cart-subtotal,
.cart-collaterals .shop_table.shop_table_responsive .cart-subtotal th,
.cart-collaterals .shop_table.shop_table_responsive .cart-subtotal td,
.cart-collaterals .order-total, .cart-collaterals .order-total th, .cart-collaterals .order-total td { background: var(--hkb-sand) !important; color: var(--hkb-ink) !important; }
.woocommerce table.shop_table thead th { background: var(--hkb-sand); }
.woocommerce table.cart td.actions .coupon .input-text { width: 180px !important; padding: 11px 14px; border-radius: 999px; margin-right: 6px; }
.woocommerce table.cart td.actions .button[name="update_cart"]:disabled { opacity: .45; }
.woocommerce table.cart a.remove { width: 30px; height: 30px; line-height: 28px; font-size: 22px; background: transparent !important; color: var(--hkb-terracotta) !important; border: 1.5px solid var(--hkb-line); }
.woocommerce table.cart a.remove:hover { background: var(--hkb-terracotta) !important; color: #fff !important; border-color: var(--hkb-terracotta); }
.woocommerce-cart table.cart td.product-name a { color: var(--hkb-ink) !important; text-decoration: none !important; font-weight: 700; }
.woocommerce form .form-row label, .woocommerce-checkout h3 label, #ship-to-different-address label {
  text-transform: none !important; letter-spacing: 0 !important; font-family: var(--hkb-sans) !important; font-size: 15px !important; color: var(--hkb-ink); font-weight: 700;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error { padding: 1em 1.4em !important; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none !important; }

/* Cart and checkout (block versions, if used) */
.wc-block-components-button:not(.is-link) { border-radius: 999px; background: var(--hkb-terracotta); color: #fff; font-weight: 700; }
.wc-block-components-button:not(.is-link):hover { background: var(--hkb-terracotta-dark); }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input { border-radius: 10px !important; }

/* Email Download Link forms (Freebies + homepage) */
.ed_form p { margin: 0 0 12px; }
.ed_form .name, .ed_form .email, .ed_form .phone { font-weight: 700; color: var(--hkb-ink); font-size: 15px; }
.ed_form input[type="text"], .ed_form input[type="email"] { width: 100%; box-sizing: border-box; margin-top: 6px; border-color: var(--hkb-ink); }
.ed_form input[type="submit"] { width: 100%; background: var(--hkb-terracotta); padding: 14px 22px; }
.ed_form input[type="submit"]:hover { background: var(--hkb-terracotta-dark); }

/* ================= Footer ================= */
.hkb-footer { background: var(--hkb-ink); color: #E9E4DA; padding: 56px 0 44px; font-size: 15px; }
.hkb-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 8px 40px; align-items: start; }
.hkb-footer__name { font-family: var(--hkb-serif); color: #fff; font-size: 1.6rem; font-weight: 700; margin: 0; line-height: 1.2; }
.hkb-footer__hindi { color: var(--hkb-gold); margin: 6px 0 14px; font-weight: 600; }
.hkb-footer__tagline { margin: 0; max-width: 300px; color: #E9E4DA; }
.hkb-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hkb-footer__links a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.hkb-footer__links a:hover, .hkb-footer__links a:focus { color: var(--hkb-gold); }
.hkb-footer__copy { grid-column: 1 / -1; margin: 28px 0 0; font-size: 13px; color: #C9C3B8; }
@media (max-width: 700px) {
  .hkb-footer__inner { grid-template-columns: 1fr; }
  .hkb-footer__links { margin-top: 20px; }
}

/* ================= Homepage sections ================= */
.hkb-front > * { margin-top: 0; margin-bottom: 0; }
.hkb-front p:empty { display: none; }
/* every section spans the screen; its content sits in the page width */
.hkb-section { padding: 72px var(--hkb-gutter); margin: 0 calc(50% - 50vw); }
.hkb-section > * { max-width: var(--hkb-wrap); margin-left: auto !important; margin-right: auto !important; }
.hkb-section--sand { background: var(--hkb-sand); }
.hkb-section--green { background: var(--hkb-green); color: #F3EEE4; }
.hkb-section--green h2, .hkb-section--green h3 { color: #fff; }

.hkb-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hkb-terracotta); margin: 0 0 10px; }
.hkb-eyebrow[lang="hi"], .hkb-hero .hkb-eyebrow { text-transform: none; letter-spacing: 0; font-size: 17px; }
.hkb-lead { font-size: 18px; color: var(--hkb-text); max-width: 34em; }
.hkb-section h2.wp-block-heading { margin: 0 0 28px; }

/* Hero */
.hkb-hero { padding-top: 40px; padding-bottom: 80px; }
.hkb-hero .wp-block-columns { gap: 56px; align-items: center; margin-bottom: 0; }
.hkb-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.15rem); line-height: 1.06; margin: 0 0 20px; }
.hkb-hero .wp-block-buttons { margin-top: 28px; gap: 12px; }
.hkb-hero figure.wp-block-image { margin: 0; }
.hkb-hero figure.wp-block-image img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 70% 50%;
  border-radius: 24px; display: block;
}

/* Audience cards */
.hkb-cards { gap: 16px; margin-bottom: 0; }
.hkb-card { background: var(--hkb-cream); border-radius: var(--hkb-radius); padding: 26px 22px; }
.hkb-card h3 { font-size: 1.2rem; margin: 0 0 10px; }
.hkb-card p { margin: 0; font-size: 15px; color: var(--hkb-text); }

/* Book section header row */
.hkb-books-head { margin-bottom: 26px !important; }
.hkb-books-head > .wp-block-group__inner-container { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px 16px; flex-wrap: wrap; }
.hkb-books-head h2.wp-block-heading { margin: 0; }
.hkb-books-head p { margin: 0; }
.hkb-books-head a { font-weight: 700; color: var(--hkb-terracotta); text-decoration: underline; text-underline-offset: 3px; }
.hkb-books-head .wp-block-group { margin: 0; }

/* Featured book cards */
.hkb-books { gap: 18px; margin-bottom: 18px; }
.hkb-book { display: flex; flex-direction: column; }
.hkb-book figure.wp-block-image { margin: 0 0 14px; border-radius: var(--hkb-radius); overflow: hidden; background: var(--hkb-coral); padding: 22px; }
.hkb-book--green figure.wp-block-image { background: var(--hkb-green); }
.hkb-book--gold figure.wp-block-image { background: var(--hkb-gold); }
.hkb-book figure.wp-block-image img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 6px;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.18));
}
.hkb-book figure a { display: block; }
.hkb-book h3 { font-size: 1.15rem; margin: 0 0 4px; }
.hkb-book h3 a { color: var(--hkb-ink); text-decoration: none !important; }
.hkb-book h3 a:hover { color: var(--hkb-terracotta); }
.hkb-book .hkb-book__price { font-size: 14px; color: var(--hkb-muted); margin: 0 0 12px; }
.hkb-book .hkb-book__buy { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hkb-cart-button { padding: 10px 18px !important; font-size: 14px !important; }
.hkb-book__buy a.added_to_cart, .hkb-offer a.added_to_cart { align-self: center; font-weight: 700; font-size: 14px; color: var(--hkb-green); }

/* Bundle / set / stickers offers */
.hkb-offers { gap: 18px; margin-bottom: 18px; }
.hkb-offers:last-child { margin-bottom: 0; }
.hkb-offer { background: var(--hkb-sand); border-radius: var(--hkb-radius); padding: 22px; display: flex; gap: 18px; align-items: flex-start; }
.hkb-offer figure.wp-block-image { margin: 0; flex: 0 0 96px; }
.hkb-offer figure.wp-block-image img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; display: block; }
.hkb-offer > .wp-block-group { flex: 1; margin: 0; }
.hkb-offer .hkb-eyebrow { font-size: 12px; margin-bottom: 4px; }
.hkb-offer h3 { font-size: 1.15rem; margin: 0 0 6px; }
.hkb-offer p { font-size: 15px; margin: 0 0 8px; }
.hkb-offer p:last-child { margin: 0; }
.hkb-cart-link { font-weight: 700; color: var(--hkb-terracotta); text-decoration: underline !important; text-underline-offset: 3px; }
.hkb-cart-link.loading { opacity: .6; }
.hkb-cart-link.added::after { content: " ✓"; }
.hkb-soldout { font-weight: 700; color: var(--hkb-muted); }

/* Free printable signup */
.hkb-signup .wp-block-columns { gap: 56px; align-items: center; margin: 0; }
.hkb-signup .hkb-letters { font-family: "Mukta", var(--hkb-serif); font-weight: 700; font-size: clamp(2.6rem, 6vw, 3.4rem); color: var(--hkb-gold); line-height: 1; margin: 0 0 18px; }
.hkb-signup h2.wp-block-heading { margin: 0 0 14px; }
.hkb-signup p { color: #F3EEE4; }
.hkb-signup .hkb-signup__card { background: var(--hkb-cream); border-radius: var(--hkb-radius); padding: 26px 24px 20px; color: var(--hkb-text); }
.hkb-signup .hkb-signup__card p { color: var(--hkb-text); }
.hkb-signup .hkb-signup__card a { color: var(--hkb-terracotta); font-size: 14px; }
.hkb-signup .ed_form .email { font-size: 14px; }

/* Practice tiles */
.hkb-tiles { gap: 16px; margin-bottom: 16px; }
.hkb-tiles:last-child { margin-bottom: 0; }
.hkb-tile { border-radius: var(--hkb-radius); padding: 24px 22px; background: var(--hkb-pink); }
.hkb-tile--mint { background: var(--hkb-mint); }
.hkb-tile--butter { background: var(--hkb-butter); }
.hkb-tile--sky { background: var(--hkb-sky); }
.hkb-tile h3 { font-size: 1.2rem; margin: 0 0 8px; }
.hkb-tile h3 a { color: var(--hkb-ink); text-decoration: none !important; }
.hkb-tile h3 a::after { content: " →"; color: var(--hkb-terracotta); }
.hkb-tile p { margin: 0; font-size: 15px; }

/* Meet the author */
.hkb-author .wp-block-columns { gap: 48px; align-items: center; margin: 0; }
.hkb-author figure.wp-block-image { margin: 0; }
.hkb-author figure.wp-block-image img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 18%; border-radius: 24px; display: block;
}
.hkb-author h2.wp-block-heading { margin: 0 0 16px; }
.hkb-author .wp-block-buttons { margin-top: 22px; }
.hkb-author .wp-block-button .wp-block-button__link { background: var(--hkb-ink); }
.hkb-author .wp-block-button .wp-block-button__link:hover { background: var(--hkb-green); }

/* Reviews */
.hkb-reviews .wp-block-columns { gap: 18px; margin: 0; }
.hkb-reviews figure.wp-block-image { margin: 0; background: var(--hkb-sand); border-radius: var(--hkb-radius); padding: 10px; }
.hkb-reviews figure.wp-block-image img { border-radius: 10px; display: block; width: 100%; height: auto; }
.hkb-reviews figure.wp-block-image figcaption { font-size: 13px; color: var(--hkb-muted); text-align: center; margin: 8px 0 2px; }

/* Homepage on tablets and phones */
@media (max-width: 781px) {
  .hkb-section { padding-top: 52px; padding-bottom: 52px; }
  .hkb-hero { padding-top: 20px; }
  .hkb-hero .wp-block-columns { gap: 32px; }
  .hkb-hero .wp-block-column:last-child { order: -1; }
  .hkb-hero figure.wp-block-image img { aspect-ratio: 16 / 10; border-radius: 18px; }
  .hkb-signup .wp-block-columns, .hkb-author .wp-block-columns { gap: 28px; }
  .hkb-offer { padding: 18px; }
  .hkb-offer figure.wp-block-image { flex-basis: 76px; }
  .hkb-offer figure.wp-block-image img { width: 76px; height: 76px; }
}
