/** HAPPYPIXEL DEVELOPMENT **/
/* Khadime theme · all styles */

:root {
  --kh-ink: #222222;
  --kh-dark: #333333;
  --kh-taupe: #B6A496;
  --kh-taupe-deep: #6e5e51;
  --kh-tint: #efe9e4;
  --kh-paper: #f1ede6;
  --kh-line: #e2d9d1;
  --kh-muted: #5a544c;
  --kh-body: #4a4540;
  --kh-radius: 28px;
  --kh-display: "Bebas Neue", "Quicksand", sans-serif;
  --kh-sans: "Quicksand", system-ui, sans-serif;
}

/* ---------- Base ---------- */
body { margin: 0; font-family: var(--kh-sans); color: var(--kh-ink); background: #fff; -webkit-font-smoothing: antialiased; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Skip link ---------- */
.kh-skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 20px; background: var(--kh-dark); color: #fff; border-radius: 999px; font-weight: 700; text-decoration: none; transition: top .2s; }
.kh-skip:focus { top: 16px; }

/* ---------- Header ---------- */
.kh-header { border-bottom: 1px solid var(--kh-line); background: #fff; font-family: var(--kh-sans); }
.kh-header__inner { max-width: 1280px; margin: 0 auto; padding: 18px 40px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.kh-header__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.kh-header__menu a { display: inline-flex; align-items: center; min-height: 44px; color: var(--kh-ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.kh-header__menu a:hover, .kh-header__menu .current-menu-item > a { color: var(--kh-taupe-deep); }
.kh-header__brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--kh-dark); }
.kh-header__logo { max-height: 56px; width: auto; display: block; }
.kh-header__name { font-family: var(--kh-display); font-size: 30px; letter-spacing: .08em; }
.kh-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.kh-header__cta { min-height: 44px; padding: 0 22px; font-size: 14px; text-decoration: none; }

.kh-basket { position: relative; width: 44px; height: 44px; border: 1px solid var(--kh-line); border-radius: 50%; display: grid; place-items: center; color: var(--kh-dark); text-decoration: none; }
.kh-basket:hover { border-color: var(--kh-dark); }
.kh-basket__count > [aria-hidden] { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box; border-radius: 999px; background: var(--kh-taupe); color: var(--kh-dark); font-size: 11px; font-weight: 700; display: grid; place-items: center; }

@media (max-width: 860px) {
  .kh-header__inner { grid-template-columns: 1fr auto; padding: 14px 20px; }
  .kh-header__brand { grid-column: 1; grid-row: 1; }
  .kh-header__actions { grid-column: 2; grid-row: 1; }
  .kh-header__nav { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Footer ---------- */
.kh-footer { background: var(--kh-dark); color: #fff; font-family: var(--kh-sans); }
.kh-footer a { color: #fff; }
.kh-footer__top { max-width: 1280px; margin: 0 auto; padding: 96px 40px 56px; display: flex; flex-wrap: wrap; gap: 56px; justify-content: space-between; align-items: flex-end; }
.kh-footer__signup { flex: 1 1 480px; max-width: 600px; }
.kh-footer__title { margin: 0 0 10px; font-family: var(--kh-display); font-weight: 400; font-size: 52px; line-height: 1; }
.kh-footer__text { margin: 0 0 24px; color: #e6dfd8; }
.kh-footer__signup input[type="email"], .kh-footer__signup input[type="text"] { min-height: 52px; padding: 0 20px; background: #fff; border: 1px solid #cfc7ba; border-radius: 999px; font: inherit; color: var(--kh-ink); }
.kh-footer__signup button, .kh-footer__signup input[type="submit"] { min-height: 52px; padding: 0 28px; background: var(--kh-taupe); color: var(--kh-dark); border: 0; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; }
.kh-footer__social { display: flex; gap: 12px; }
.kh-footer__icon { width: 48px; height: 48px; border: 1px solid #6b625b; border-radius: 50%; display: grid; place-items: center; }
.kh-footer__icon:hover { border-color: var(--kh-taupe); }
.kh-footer__bottom { max-width: 1280px; margin: 0 auto; padding: 24px 40px 40px; border-top: 1px solid #4a4440; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13px; color: #cfc6bd; }
.kh-footer__bottom p { margin: 0; }
.kh-footer :focus-visible { outline-color: var(--kh-taupe); }
@media (max-width: 720px) { .kh-footer__top, .kh-footer__bottom { padding-inline: 20px; } }

.kh { font-family: var(--kh-sans); color: var(--kh-ink); background: #fff; }
.kh *, .kh *::before, .kh *::after { box-sizing: border-box; }
.kh img { max-width: 100%; display: block; }
.kh a { color: var(--kh-dark); }
.kh a:hover { color: #000; }
.kh :focus-visible { outline: 2px solid var(--kh-dark); outline-offset: 3px; }

.kh-container { max-width: 1280px; margin: 0 auto; padding-inline: 40px; }
.kh-section { padding-block: 112px; }
.kh-section--tight { padding-block: 72px; }
.kh-section--lined { border-top: 1px solid var(--kh-line); border-bottom: 1px solid var(--kh-line); }
.kh-section--tint { background: var(--kh-tint); }
.kh-section--dark { background: var(--kh-dark); color: #fff; }

@media (max-width: 720px) {
  .kh-container { padding-inline: 20px; }
  .kh-section { padding-block: 72px; }
}

/* ---------- Type ---------- */
.kh-eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--kh-taupe-deep); }
.kh-section--dark .kh-eyebrow, .kh-card--dark .kh-eyebrow { color: var(--kh-taupe); }

.kh-display { margin: 0; font-family: var(--kh-display); font-weight: 400; line-height: .92; letter-spacing: .01em; color: var(--kh-dark); }
.kh-display--xl { font-size: clamp(80px, 13vw, 196px); line-height: .85; }
.kh-display--l { font-size: clamp(56px, 7vw, 104px); }
.kh-display--m { font-size: clamp(44px, 5vw, 64px); }
.kh-display--s { font-size: 36px; }
.kh-section--dark .kh-display, .kh-card--dark .kh-display { color: #fff; }

.kh-lead { margin: 24px 0 0; max-width: 620px; font-size: 20px; line-height: 1.6; color: var(--kh-body); }
.kh-section--dark .kh-lead { color: #e6dfd8; }
.kh-text { font-size: 17px; line-height: 1.7; color: var(--kh-body); }
.kh-small { font-size: 14px; color: var(--kh-muted); }

.kh-prose { font-size: 18px; line-height: 1.8; color: var(--kh-body); max-width: 680px; }
.kh-prose p { margin: 0 0 1.2em; }
.kh-prose--wide { max-width: none; }
.kh-prose strong { color: var(--kh-dark); }
.kh-prose h2, .kh-prose h3 { font-family: var(--kh-display); font-weight: 400; color: var(--kh-dark); line-height: 1; margin: 1.6em 0 .5em; }
.kh-prose h2 { font-size: 44px; }
.kh-prose h3 { font-size: 32px; }

/* ---------- Buttons and links ---------- */
.kh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.kh-btn--dark { background: var(--kh-dark); color: #fff !important; }
.kh-btn--dark:hover { background: #000; }
.kh-btn--taupe { background: var(--kh-taupe); color: var(--kh-dark) !important; }
.kh-btn--taupe:hover { background: #a8968a; }
.kh-btn--ghost { border-color: var(--kh-line); color: var(--kh-dark) !important; background: transparent; }
.kh-btn--ghost:hover { border-color: var(--kh-dark); }

.kh-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; }
.kh-link::after { content: "→"; margin-left: 8px; transition: transform .2s; }
.kh-link:hover::after { transform: translateX(4px); }

.kh-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- Media (real image or placeholder) ---------- */
.kh-media { margin: 0; border-radius: 4px; overflow: hidden; background: var(--kh-paper); }
.kh-media img { width: 100%; height: 100%; object-fit: cover; }
.kh-media--portrait { aspect-ratio: 3 / 4; }
.kh-media--tall { aspect-ratio: 3 / 4.4; }
.kh-media--square { aspect-ratio: 1; }
.kh-media--wide { aspect-ratio: 16 / 10; }
.kh-media--round { border-radius: var(--kh-radius); }
.kh-media--arch { border-radius: 400px 400px 8px 8px; }
.kh-media__placeholder { width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 16px; color: #6b645a; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.kh-media__credit { margin-top: 10px; font-size: 12px; color: var(--kh-muted); }

/* ---------- Page hero (inner pages) ---------- */
.kh-hero { padding-block: 96px 0; }
.kh-hero--centre { text-align: center; }
.kh-hero--centre .kh-lead { margin-inline: auto; }
.kh-hero__split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.kh-hero__copy { flex: 999 1 520px; min-width: 0; }
.kh-hero__media { flex: 1 1 360px; max-width: 480px; }
.kh-hero__gallery { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; align-items: end; }

/* ---------- Credits band ---------- */
.kh-band { margin-top: 88px; background: var(--kh-taupe); color: var(--kh-dark); }
.kh-band__list { list-style: none; margin: 0 auto; padding: 28px 40px; max-width: 1280px; display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; align-items: baseline; }
.kh-band__item { font-family: var(--kh-display); font-size: 30px; letter-spacing: .04em; }
.kh-band__star { color: #fff; }

/* ---------- Cards ---------- */
.kh-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.kh-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.kh-card { border-radius: var(--kh-radius); padding: 48px; display: flex; flex-direction: column; gap: 18px; }
.kh-card--tint { background: var(--kh-tint); }
.kh-card--dark { background: var(--kh-dark); color: #fff; }
.kh-card--dark .kh-text { color: #e6dfd8; }
.kh-card--outline { border: 1px solid var(--kh-line); }
.kh-card__price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--kh-line); font-weight: 700; color: var(--kh-dark); }
.kh-card--dark .kh-card__price { border-color: #4a4440; color: #fff; }
.kh-card .kh-btn { align-self: flex-start; }
@media (max-width: 720px) { .kh-card { padding: 32px; } }

/* ---------- Two column feature ---------- */
.kh-split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.kh-split__main { flex: 999 1 520px; min-width: 0; }
.kh-split__side { flex: 1 1 360px; }
.kh-split--top { align-items: flex-start; }

/* ---------- Credits table (About) ---------- */
.kh-credits { display: grid; gap: 56px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.kh-credits__group h3 { margin: 0 0 8px; font-family: var(--kh-display); font-weight: 400; font-size: 36px; color: var(--kh-dark); }
.kh-credits__list { list-style: none; margin: 0; padding: 0; }
.kh-credits__row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--kh-line); }
.kh-credits__role { font-weight: 700; color: var(--kh-dark); }
.kh-credits__show { color: var(--kh-muted); text-align: right; }

/* ---------- Awards ---------- */
.kh-awards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.kh-awards__item { padding: 28px; border-radius: 20px; background: #fff; }
.kh-awards__name { margin: 0; font-family: var(--kh-display); font-size: 28px; line-height: 1; color: var(--kh-dark); }
.kh-awards__meta { margin: 8px 0 0; font-size: 14px; color: var(--kh-muted); }

/* ---------- Steps + booking ---------- */
.kh-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 28px; }
.kh-steps__item { display: flex; gap: 20px; }
.kh-steps__num { flex: 0 0 44px; height: 44px; border-radius: 50%; border: 2px solid var(--kh-taupe); display: grid; place-items: center; font-weight: 700; color: var(--kh-dark); }
.kh-steps__title { margin: 0; font-weight: 700; font-size: 18px; }
.kh-steps__text { margin: 4px 0 0; color: var(--kh-muted); line-height: 1.6; }

.kh-booking { border: 1px solid var(--kh-line); border-radius: 24px; background: #fbfaf7; overflow: hidden; }
.kh-booking__frame { display: block; width: 100%; height: 640px; border: 0; }
.kh-booking__empty { height: 480px; display: grid; place-items: center; padding: 24px; text-align: center; color: #6b645a; font-size: 13px; letter-spacing: .1em; }

/* ---------- Checklist ---------- */
.kh-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px 40px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.kh-checks__item { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.5; padding-top: 16px; border-top: 1px solid var(--kh-line); }
.kh-checks__item::before { content: ""; flex: 0 0 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--kh-taupe); }

/* ---------- FAQ ---------- */
.kh-faq { border-top: 1px solid var(--kh-line); }
.kh-faq__item { border-bottom: 1px solid var(--kh-line); }
.kh-faq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 72px; font-weight: 700; font-size: 18px; }
.kh-faq__q::-webkit-details-marker { display: none; }
.kh-faq__q::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--kh-taupe-deep); transition: transform .2s; }
.kh-faq__item[open] .kh-faq__q::after { transform: rotate(45deg); }
.kh-faq__a { margin: 0 0 24px; max-width: 720px; color: var(--kh-body); line-height: 1.7; }

/* ---------- Badge strip ---------- */
.kh-badge { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 28px 32px; border-radius: 20px; border: 1px solid var(--kh-line); }
.kh-badge__img { width: 88px; height: 88px; border-radius: 50%; background: var(--kh-paper); flex: 0 0 auto; overflow: hidden; }
.kh-badge__text { flex: 1 1 260px; margin: 0; color: var(--kh-body); line-height: 1.6; }

/* ---------- Products (custom loops) ---------- */
.kh-products { display: grid; gap: 24px 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.kh-product { position: relative; }
.kh-product__media { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--kh-paper); }
.kh-product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.kh-product:hover .kh-product__media img { transform: scale(1.03); }
.kh-product__title { margin: 16px 0 4px; font-size: 17px; font-weight: 600; }
.kh-product__title a { text-decoration: none; }
.kh-product__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.kh-product__price { margin: 0; color: var(--kh-muted); }

.kh-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; padding: 0; list-style: none; }
.kh-chips__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--kh-line); border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; }
.kh-chips__link:hover, .kh-chips__link[aria-current="page"] { background: var(--kh-dark); border-color: var(--kh-dark); color: #fff !important; }

.kh-perks { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.kh-perks__item { display: flex; gap: 14px; align-items: flex-start; }
.kh-perks__icon { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--kh-taupe); color: var(--kh-dark); display: grid; place-items: center; }
.kh-perks__title { margin: 0; font-weight: 700; }
.kh-perks__text { margin: 4px 0 0; font-size: 15px; color: var(--kh-muted); line-height: 1.5; }

/* ---------- WooCommerce restyle (shop, product, basket) ---------- */
.kh-shop .woocommerce-products-header { display: none; }
.kh-shop ul.products { display: grid !important; gap: 24px 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 0 !important; }
.kh-shop ul.products::before, .kh-shop ul.products::after { display: none !important; }
.kh-shop ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
.kh-shop ul.products li.product img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; margin: 0 0 16px !important; background: var(--kh-paper); }
.kh-shop ul.products li.product .woocommerce-loop-product__title { font-family: var(--kh-sans); font-size: 17px !important; font-weight: 600; color: var(--kh-ink); padding: 0 !important; }
.kh-shop ul.products li.product .price { color: var(--kh-muted) !important; font-size: 15px !important; }
.kh-shop ul.products li.product .button { display: none; } /* Printful items need options: send to product page */

.kh-shop .woocommerce-result-count { color: var(--kh-muted); font-size: 14px; }
.kh-shop .woocommerce-ordering select { min-height: 44px; padding: 0 16px; border: 1px solid var(--kh-line); border-radius: 999px; font: inherit; background: #fff; }

.kh-shop div.product { display: flex; flex-wrap: wrap; gap: 64px; }
.kh-shop div.product .woocommerce-product-gallery { flex: 1 1 420px; width: auto !important; float: none !important; }
.kh-shop div.product .woocommerce-product-gallery img { border-radius: 20px; }
.kh-shop div.product .summary { flex: 1 1 380px; width: auto !important; float: none !important; }
.kh-shop div.product .product_title { font-family: var(--kh-display); font-weight: 400; font-size: clamp(48px, 5vw, 72px); line-height: .95; color: var(--kh-dark); }
.kh-shop div.product p.price { font-size: 22px !important; font-weight: 700; color: var(--kh-dark) !important; }
.kh-shop div.product .variations select { min-height: 48px; padding: 0 16px; border: 1px solid var(--kh-line); border-radius: 14px; font: inherit; }
.kh-shop div.product .woocommerce-tabs { flex-basis: 100%; }

.kh-shop .button,
.kh-shop button.button,
.kh-shop .single_add_to_cart_button,
.kh-shop .checkout-button,
.kh-shop #place_order { min-height: 52px; padding: 0 28px !important; border-radius: 999px !important; background: var(--kh-dark) !important; color: #fff !important; font-family: var(--kh-sans) !important; font-weight: 700 !important; }
.kh-shop .button:hover, .kh-shop .single_add_to_cart_button:hover { background: #000 !important; }
.kh-shop .quantity .qty { min-height: 52px; border: 1px solid var(--kh-line); border-radius: 999px; }
.kh-shop .woocommerce-message, .kh-shop .woocommerce-info { border-top-color: var(--kh-taupe); background: var(--kh-tint); }
.kh-shop .woocommerce-message::before, .kh-shop .woocommerce-info::before { color: var(--kh-taupe-deep); }

@media (prefers-reduced-motion: reduce) {
  .kh *, .kh *::before, .kh *::after { transition: none !important; }
}
