/*
Theme Name:   Momkin
Theme URI:    https://momkin.bd/
Description:  Momkin's shop theme: a Storefront child theme in Momkin colours with Bengali fonts, a branded header and footer, a ready-made homepage, and product-page trust badges. Settings: Appearance → Customize → Momkin.
Author:       Momkin (Trade Alliance)
Template:     storefront
Version:      1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License:      GPL-2.0-or-later
Text Domain:  momkin
*/

/* ===== Brand tokens ===== */
:root{
  --mk-terracotta:#C8553D; --mk-terracotta-dark:#A9432E; --mk-peach:#F4A88A; --mk-peach-soft:#FBE3D6;
  --mk-sage:#8FB9A8; --mk-sage-dark:#4E7F6E; --mk-forest:#2F5246; --mk-cream:#FFF6EC; --mk-ink:#3D3530; --mk-muted:#6B5E55;
  --mk-line:#EADFD3; --mk-radius:16px;
  --mk-font:"Hind Siliguri",system-ui,sans-serif; --mk-head:"Baloo Da 2","Hind Siliguri",sans-serif; --mk-brand:"Fredoka","Baloo Da 2",sans-serif;
}
body,button,input,select,textarea{font-family:var(--mk-font)}
body{background:#fff;color:var(--mk-ink);font-size:16.5px;line-height:1.7}
h1,h2,h3,h4,h5,h6,.site-title,.widget-title,.section-title{font-family:var(--mk-head);color:var(--mk-ink);letter-spacing:0}
a{color:var(--mk-terracotta)} a:hover,a:focus{color:var(--mk-terracotta-dark)}
:focus-visible{outline:3px solid var(--mk-sage-dark);outline-offset:2px}

/* ===== Buttons ===== */
button,input[type=button],input[type=reset],input[type=submit],.button,.added_to_cart,.widget a.button{
  border-radius:999px;font-weight:600;padding:.75em 1.5em;background:var(--mk-terracotta);color:#fff;border:0;transition:background .2s}
button:hover,input[type=submit]:hover,.button:hover,.added_to_cart:hover{background:var(--mk-terracotta-dark);color:#fff}
.button.alt,button.alt,.single_add_to_cart_button{background:var(--mk-forest)!important;color:#fff!important}
.button.alt:hover,.single_add_to_cart_button:hover{background:#21392F!important}

/* ===== Top bar ===== */
.mk-topbar{background:var(--mk-forest);color:#fff;font-size:14px}
.mk-topbar .col-full{display:flex;gap:12px 24px;flex-wrap:wrap;justify-content:space-between;align-items:center;padding-top:7px;padding-bottom:7px}
.mk-topbar a{color:#fff;text-decoration:none;font-weight:600}
.mk-topbar .mk-topbar-items{display:flex;gap:6px 20px;flex-wrap:wrap}
.mk-topbar .mk-dot{opacity:.5}

/* ===== Header ===== */
.site-header{background:#fff;border-bottom:1px solid var(--mk-line);padding-top:1.2em}
.site-header .site-branding{margin-bottom:1em}
.mk-logo{display:inline-flex;flex-direction:column;align-items:flex-start;text-decoration:none!important;line-height:1}
.mk-wordmark{display:inline-flex;align-items:center;font-family:var(--mk-brand);font-weight:600;font-size:44px;color:var(--mk-terracotta);letter-spacing:-.5px}
.mk-wordmark svg{width:.8em;height:.8em;margin:0 .02em;transform:translateY(.06em)}
.mk-logo-bn{font-family:var(--mk-head);font-weight:700;font-size:17px;color:var(--mk-sage-dark);margin-top:4px;padding-left:2px}
.site-header .custom-logo-link img{max-height:64px;width:auto}
.site-search .widget_product_search form input[type=search]{border-radius:999px;background:var(--mk-cream);border:1px solid var(--mk-line);padding-left:3em}
.storefront-primary-navigation{background:var(--mk-cream);border-top:1px solid var(--mk-line)}
.main-navigation ul.menu>li>a,.main-navigation ul.nav-menu>li>a{font-weight:600;color:var(--mk-ink)}
.main-navigation ul.menu>li>a:hover{color:var(--mk-terracotta)}
.mk-3d-btn{display:inline-flex;align-items:center;gap:8px;background:var(--mk-terracotta);color:#fff!important;border-radius:999px;padding:.45em 1.1em;font-weight:700;text-decoration:none;font-size:15px;white-space:nowrap}
.mk-3d-btn:hover{background:var(--mk-terracotta-dark)}
.mk-3d-btn svg{width:18px;height:18px}
@media (min-width:768px){
  .storefront-primary-navigation .col-full{display:flex;align-items:center}
  .storefront-primary-navigation .main-navigation{flex:1 1 auto;width:auto;margin-right:0}
  .mk-3d-wrap{flex:0 0 auto;margin-left:auto;padding-left:1em}
  .site-header-cart{width:auto!important}
}
@media (max-width:767px){
  .mk-3d-wrap{padding:0 0 1em}
  .mk-wordmark{font-size:36px}
  .mk-topbar{font-size:13px}
}

/* ===== Homepage ===== */
.page-template-template-homepage .site-main{padding-top:0}
.mk-hero{position:relative;overflow:hidden;background:var(--mk-cream);border-radius:28px;margin:1.6em 0 2.4em;padding:clamp(28px,5vw,64px)}
.mk-hero:before,.mk-hero:after{content:"";position:absolute;border-radius:50%;z-index:0}
.mk-hero:before{width:420px;height:420px;background:var(--mk-peach-soft);top:-160px;left:-140px}
.mk-hero:after{width:480px;height:480px;background:#DCEAE3;bottom:-220px;right:-140px}
.mk-hero-in{position:relative;z-index:1;display:grid;grid-template-columns:1.25fr 1fr;gap:32px;align-items:center}
.mk-badge{display:inline-block;background:#fff;color:var(--mk-sage-dark);font-weight:700;font-size:14px;border-radius:999px;padding:4px 14px;border:1px solid var(--mk-line)}
.mk-hero h1{font-size:clamp(32px,4.6vw,56px);line-height:1.15;margin:14px 0 12px;font-weight:700}
.mk-hero h1 em{font-style:normal;color:var(--mk-terracotta)}
.mk-hero p{font-size:18px;color:var(--mk-muted);margin:0 0 22px;max-width:34em}
.mk-hero-ctas{display:flex;gap:12px;flex-wrap:wrap}
.mk-btn{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:.8em 1.5em;font-weight:700;text-decoration:none!important;font-size:17px}
.mk-btn-main{background:var(--mk-terracotta);color:#fff!important}
.mk-btn-main:hover{background:var(--mk-terracotta-dark)}
.mk-btn-ghost{background:#fff;color:var(--mk-forest)!important;border:2px solid var(--mk-sage)}
.mk-btn-ghost:hover{border-color:var(--mk-sage-dark)}
.mk-hero-art{display:flex;justify-content:center}
.mk-hero-art img{border-radius:24px;max-height:380px;width:auto;object-fit:cover}
.mk-hero-mark{width:min(320px,70vw);aspect-ratio:1;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 20px 60px rgba(61,53,48,.08)}
.mk-hero-mark svg{width:62%;height:62%}
@media (max-width:767px){.mk-hero-in{grid-template-columns:1fr}.mk-hero-art{order:-1}.mk-hero-mark{width:150px}}

.mk-trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 3em}
.mk-trust div{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid var(--mk-line);border-radius:var(--mk-radius);padding:14px 16px}
.mk-trust svg{flex:0 0 auto;width:36px;height:36px;color:var(--mk-terracotta)}
.mk-trust b{display:block;font-size:15.5px;line-height:1.3}
.mk-trust span{display:block;font-size:13.5px;color:var(--mk-muted);line-height:1.4}
@media (max-width:900px){.mk-trust{grid-template-columns:repeat(2,minmax(0,1fr))}}

.storefront-product-section{margin-bottom:3.2em}
.storefront-product-section .section-title{font-size:30px;font-weight:700;text-align:left;margin-bottom:.9em;position:relative;padding-bottom:.25em}
.storefront-product-section .section-title:after{content:"";position:absolute;left:0;bottom:0;width:56px;height:4px;border-radius:2px;background:var(--mk-peach)}

.mk-band{display:grid;grid-template-columns:1.4fr 1fr;gap:24px;align-items:center;border-radius:28px;padding:clamp(24px,4vw,48px);margin:0 0 3.2em}
.mk-band h2{font-size:clamp(26px,3vw,38px);margin:0 0 10px;font-weight:700}
.mk-band p{margin:0 0 18px;font-size:17px}
.mk-band-3d{background:var(--mk-forest);color:#E8F1EC}
.mk-band-3d h2{color:#fff}
.mk-band-3d .mk-btn-main{background:var(--mk-peach);color:var(--mk-ink)!important}
.mk-band-3d .mk-btn-main:hover{background:#F7BEA6}
.mk-band-give{background:var(--mk-peach-soft)}
.mk-band-art{display:flex;justify-content:center}
.mk-band-art svg{width:min(240px,60vw);height:auto}
@media (max-width:767px){.mk-band{grid-template-columns:1fr}.mk-band-art{display:none}}

.mk-social{text-align:center;margin:0 0 3em}
.mk-social h2{font-size:28px;margin-bottom:.4em}
.mk-social p{color:var(--mk-muted)}
.mk-social .mk-hero-ctas{justify-content:center}

/* ===== Product cards ===== */
ul.products li.product{border-radius:var(--mk-radius);padding:12px 12px 16px;border:1px solid transparent;transition:border-color .2s,box-shadow .2s}
ul.products li.product:hover{border-color:var(--mk-line);box-shadow:0 10px 30px rgba(61,53,48,.07)}
ul.products li.product img{border-radius:12px;background:var(--mk-cream)}
ul.products li.product .woocommerce-loop-product__title{font-size:16px;font-weight:600;color:var(--mk-ink)}
ul.products li.product .price,.single-product div.product .price{color:var(--mk-terracotta);font-weight:700}
ul.products li.product .price del,.single-product div.product .price del{color:var(--mk-muted);font-weight:400}
ul.products li.product .button{font-size:14px;padding:.6em 1.2em}
.onsale{background:var(--mk-terracotta);color:#fff;border:0;border-radius:999px;font-weight:700;padding:.2em .9em}
.star-rating span:before,.quantity .plus,.quantity .minus{color:var(--mk-peach)}

/* ===== Product page ===== */
.single-product div.product .product_title{font-size:clamp(26px,3vw,36px);font-weight:700}
.single-product div.product .woocommerce-product-gallery img{border-radius:20px}
.mk-pdp-trust{list-style:none;margin:1.4em 0;padding:16px 18px;background:var(--mk-cream);border-radius:var(--mk-radius);display:grid;gap:10px}
.mk-pdp-trust li{display:flex;gap:10px;align-items:flex-start;margin:0;font-size:15px;line-height:1.5}
.mk-pdp-trust svg{flex:0 0 auto;width:22px;height:22px;color:var(--mk-sage-dark);margin-top:2px}
.mk-wa{display:inline-flex;align-items:center;gap:8px;background:#fff;border:2px solid #25D366;color:#128C4A!important;border-radius:999px;padding:.55em 1.2em;font-weight:700;text-decoration:none!important;margin-top:.4em}
.mk-wa svg{width:20px;height:20px}
.woocommerce-tabs ul.tabs li a{font-weight:600}
.storefront-sticky-add-to-cart{border-bottom:3px solid var(--mk-peach)}

/* ===== Footer ===== */
.site-footer{background:var(--mk-forest)!important;color:#D7E6DE!important;padding-top:3em}
.site-footer a{color:#fff!important}
.site-footer h3,.site-footer .widget-title{color:#fff!important}
.mk-footer{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.1fr;gap:28px;padding-bottom:2em}
.mk-footer h3{font-size:18px;margin:0 0 .7em;font-weight:700}
.mk-footer ul{list-style:none;margin:0;padding:0}
.mk-footer li{margin:0 0 .45em}
.mk-footer a{text-decoration:none}
.mk-footer a:hover{text-decoration:underline}
.mk-footer .mk-wordmark{color:#fff;font-size:36px}
.mk-footer .mk-logo-bn{color:var(--mk-sage)}
.mk-footer p{font-size:15px;line-height:1.6;margin:.8em 0}
.mk-pay{display:flex;flex-wrap:wrap;gap:8px;margin-top:.6em}
.mk-pay span{background:#fff;color:var(--mk-ink);border-radius:8px;font-size:12.5px;font-weight:700;padding:3px 9px}
.mk-social-links{display:flex;gap:10px;margin-top:.8em}
.mk-social-links a{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.12)}
.mk-social-links a:hover{background:rgba(255,255,255,.22)}
.mk-social-links svg{width:20px;height:20px;fill:#fff}
.mk-footer-bottom{border-top:1px solid rgba(255,255,255,.15);padding:1.2em 0 1.6em;display:flex;gap:8px 24px;flex-wrap:wrap;justify-content:space-between;font-size:14px}
@media (max-width:900px){.mk-footer{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.mk-footer{grid-template-columns:1fr}}
.storefront-handheld-footer-bar ul li>a,.storefront-handheld-footer-bar ul li.search .site-search{background:var(--mk-forest)}
.storefront-handheld-footer-bar ul li.cart .count{background:var(--mk-peach);color:var(--mk-ink);border-color:var(--mk-forest)}

/* ===== Checkout & cart ===== */
.woocommerce-checkout #payment{background:var(--mk-cream);border-radius:var(--mk-radius)}
.woocommerce-info,.woocommerce-message{border-top-color:var(--mk-sage-dark);background:var(--mk-cream);color:var(--mk-ink)}
.woocommerce-error{border-top-color:var(--mk-terracotta)}
input[type=text],input[type=email],input[type=tel],input[type=number],input[type=password],input[type=search],textarea,select{border-radius:10px;background:#fff;border:1px solid #D9CCBE;box-shadow:none}

/* Buttons never wrap; icons stay icon-sized */
.mk-btn,.mk-wa{white-space:nowrap;flex:0 0 auto}
.mk-btn svg{width:20px;height:20px;flex:none}
.mk-footer li svg{width:16px;height:16px;vertical-align:-3px;margin-right:6px;opacity:.85}
.page-template-template-homepage .site-main{padding-top:0}
.page-template-template-homepage .mk-hero{margin-top:.6em}
@media (max-width:767px){.mk-btn{font-size:16px;padding:.75em 1.25em}}
/* Phones: two products per row */
@media (max-width:767px){
.site-main ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px;margin-left:0}
.site-main ul.products:before,.site-main ul.products:after{display:none}
.site-main ul.products li.product{width:auto!important;margin:0!important;float:none!important}
.site-main ul.products li.product .woocommerce-loop-product__title{font-size:14px}
.site-main ul.products li.product .button{font-size:13px;padding:.55em .9em}
}
.page-template-template-homepage .site-header{margin-bottom:1.2em}
.mk-social h2{font-family:var(--mk-head);font-weight:700}
