/*
Theme Name: Mahan Kesht Neon Child Preview 1.2
Theme URI: https://mahankesht.com/
Description: Child theme for the Mahan Kesht WooCommerce store. Preserves the Woodmart parent theme and existing site data.
Author: Mahan Kesht
Template: woodmart
Version: 1.2.0
Text Domain: mahan-kesht-neon-child
*/
:root {
  --mk-bg: #03120f;
  --mk-panel: #071d18;
  --mk-panel-soft: #0a251e;
  --mk-green: #54f39a;
  --mk-green-soft: #a5f6c5;
  --mk-border: rgba(84, 243, 154, .32);
  --mk-text: #f5fff9;
  --mk-muted: #afc8bc;
}
html { scroll-behavior: smooth; }
body { background: var(--mk-bg); color: var(--mk-text); }
a { transition: color .18s ease, border-color .18s ease, background-color .18s ease; }
:focus-visible { outline: 2px solid var(--mk-green); outline-offset: 3px; }
/* Shared neon-black treatment for Woodmart chrome and WooCommerce pages. */
.whb-header, .whb-main-header, .whb-general-header, .whb-row, .whb-sticky-header,
.wd-header-nav, .whb-header-bottom, .whb-header-bottom-inner { background-color: #04140f !important; }
.whb-header, .whb-row { border-color: rgba(84,243,154,.2) !important; }
.whb-header a, .whb-header .wd-tools-element>a, .whb-header .wd-nav>li>a { color:#effff5; }
.whb-header a:hover, .whb-header .wd-nav>li:hover>a { color:var(--mk-green)!important; }
.wd-header-nav .wd-nav>li>a:after { background:var(--mk-green)!important; }
.whb-header .wd-search-form input,
.whb-header .wd-search-form .searchform input[type="text"],
.whb-header .wd-search-form .searchform input[type="search"] {
  color:#f3fff7; background:rgba(1,13,10,.62); border:1px solid rgba(84,243,154,.28); border-radius:999px;
}
.whb-header .wd-tools-element .wd-tools-icon,
.whb-header .wd-tools-element .wd-tools-text { color:#effff5; }
.whb-header .wd-tools-element:hover .wd-tools-icon,
.whb-header .wd-tools-element:hover .wd-tools-text { color:var(--mk-green); }
.site-footer, .footer-container, .footer-sidebar, .copyrights-wrapper, .wd-prefooter {
  background-color:#04140f !important; color:#d8e9df;
}
.site-footer a, .footer-container a, .copyrights-wrapper a { color:#d8e9df; }
.site-footer a:hover, .footer-container a:hover, .copyrights-wrapper a:hover { color:var(--mk-green); }
body .main-page-wrapper { background-color:var(--mk-bg); }
body .title-size-default, body .page-title { color:#f4fff8; }
body .woocommerce .products .product, body .wd-product, body .product-grid-item {
  color:#edf9f1; background:#081d17; border:1px solid rgba(174,233,198,.2); border-radius:14px;
}
body .wd-product .wd-entities-title, body .wd-product .wd-entities-title a,
body .product-grid-item .wd-entities-title, body .product-grid-item .wd-entities-title a { color:#f3fff7; }
body .wd-product .wd-product-cats, body .wd-product .wd-product-cats a,
body .wd-product .wd-product-sku { color:#afc8bc; }
body .wd-product .wd-add-btn .button, body .wd-product .wd-add-btn a.button { border-radius:999px; }
body .woocommerce div.product .product_title, body .woocommerce div.product .woocommerce-tabs,
body .woocommerce div.product .summary, body .woocommerce .woocommerce-breadcrumb { color:#edf9f1; }
body .woocommerce div.product .price, body .woocommerce-Price-amount { color:var(--mk-green-soft); }
body .woocommerce div.product .woocommerce-tabs, body .woocommerce div.product .woocommerce-tabs .panel,
body .woocommerce div.product .woocommerce-tabs .wd-tabs-header,
body .woocommerce-cart .cart-collaterals, body .woocommerce-checkout .woocommerce-checkout-review-order,
body .woocommerce-checkout .woocommerce-billing-fields, body .woocommerce-checkout .woocommerce-shipping-fields,
body .woocommerce-account .woocommerce-MyAccount-content, body .woocommerce-account .woocommerce-MyAccount-navigation {
  color:#e9f7ef; background:#071a14; border-color:rgba(174,233,198,.18);
}
body .woocommerce table.shop_table, body .woocommerce table.shop_table th, body .woocommerce table.shop_table td,
body .woocommerce-cart .cart_totals, body .woocommerce-checkout .woocommerce-checkout-payment {
  color:#e9f7ef; background-color:#071a14; border-color:rgba(174,233,198,.18);
}
body .woocommerce-message, body .woocommerce-info { border-top-color:var(--mk-green); background:#0a251c; color:#edf9f1; }
body .woocommerce-message::before, body .woocommerce-info::before { color:var(--mk-green); }
body .woocommerce .button, body .woocommerce button.button, body .woocommerce a.button,
body .woocommerce input.button { border-radius:999px; }
body .woocommerce .button:hover, body .woocommerce button.button:hover, body .woocommerce a.button:hover {
  background-color:var(--mk-green); color:#052017;
}
body .woocommerce .quantity input.qty,
body .woocommerce input.input-text,
body .woocommerce textarea,
body .woocommerce select,
body .woocommerce-page input.input-text,
body .woocommerce-page textarea,
body .woocommerce-page select {
  color:#eefaf3; background:#071d18; border-color:rgba(174,233,198,.24);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } }

/* Compact homepage benefits strip. */
body.home section.mk-benefits{padding-block:10px!important}
body.home section.mk-benefits .mk-benefits-grid{padding-block:6px!important}
@media(min-width:769px){body.home section.mk-benefits .mk-benefits-grid>div{padding-block:6px!important}}
/* Hide the newsletter right leaf on mobile. */@media (max-width: 767px) {  .mkf .mkf-newsletter::after { display: none !important; content: none !important; }
}
/* Hide the newsletter right leaf on all screens. */.mkf .mkf-newsletter::after { display: none !important; content: none !important; }
/* Clear Persian journal typography on mobile. */@media(max-width:767px){body.home #mk-articles .mk-journal-intro h2{font-family:Tahoma,Arial,sans-serif!important;font-size:32px!important;font-weight:700!important;letter-spacing:normal!important;line-height:1.8!important;display:block!important;white-space:normal!important}body.home #mk-articles .mk-journal-intro h2>span{display:block!important;font-family:Tahoma,Arial,sans-serif!important;font-size:20px!important;font-weight:500!important;line-height:1.9!important;margin:3px 0 0!important;letter-spacing:normal!important}body.home #mk-articles .mk-journal-intro>p{font-family:Tahoma,Arial,sans-serif!important;font-size:14px!important;line-height:2.1!important;max-width:100%!important;margin:8px 0 5px!important;letter-spacing:normal!important}
}
@media(max-width:767px){body.home #mk-articles header.mk-journal-intro>p{font-size:14px!important;line-height:2.1!important}}
/* Desktop glass frame for the wholesale banner. */
@media(min-width:768px){
body.home #mk-wholesale-banner{position:relative;isolation:isolate;padding:18px!important;margin-block:22px 12px!important;max-width:1320px;border:1px solid #b9edcb40;border-radius:26px;background:linear-gradient(120deg,#204b3570,#09291dcb 65%);backdrop-filter:blur(20px) saturate(135%);-webkit-backdrop-filter:blur(20px) saturate(135%);box-shadow:0 12px 40px #0003,inset 0 1px #e8ffef18}
body.home #mk-wholesale-banner::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(135deg,#d8ffe80c,transparent 38%,#8de5b008);z-index:-1}
body.home #mk-wholesale-banner img{border-radius:15px!important;border:1px solid #c0f2d12b;box-shadow:0 3px 18px #0003}
}
