/* Chandsakht interior pages v0.6 — brand chrome over the IranKala theme */
body.csmh-global{background:var(--c-bg)!important;color:var(--c-ink);font-family:var(--font)!important;padding-top:0!important;padding-bottom:0!important}
body.csmh-global>header.main-header,body.csmh-global>nav#cat-menu,body.csmh-global>nav#mobile-menu,body.csmh-global>footer.main-footer,body.csmh-global>.bottom-nav,body.csmh-global>#pre-loader{display:none!important}

/* brand chrome wrapper (header/footer) */
.csmh-chrome{min-height:0!important;overflow:visible!important;background:transparent}
.csmh-chrome a{color:inherit;text-decoration:none}
.csmh-chrome .csmh-top{position:sticky}
body.csmh-global .csmh-chrome-top{position:sticky;top:0;z-index:100}
.admin-bar.csmh-global .csmh-chrome-top{top:32px}
.admin-bar.csmh-global .csmh-chrome .csmh-top{top:0}
.csmh-chrome .csmh-top{top:0!important}
.csmh-chrome .csmh-foot{margin-top:72px}
.csmh-chrome h3{margin:0 0 14px}
.csmh-chrome p{margin:0}

/* page frame */
body.csmh-global main#main{padding:28px 0 0;min-height:50vh}
body.csmh-global main#main>.container{max-width:1240px;width:calc(100% - 48px);padding:0;margin-inline:auto}
body.csmh-global .woocommerce-breadcrumb{font-size:13.5px;color:var(--c-muted);margin:0 0 22px!important;padding:0!important;background:none!important}
body.csmh-global .woocommerce-breadcrumb a{color:var(--c-ink-2)}
body.csmh-global .woocommerce-breadcrumb a:hover{color:var(--c-wood-d)}

/* generic surfaces */
body.csmh-global :is(.widget,.sidebar .widget,.products-head,.term-description,.page-description,.cart-box,.woocommerce-tabs,.services,.widget-products-slider,.woocommerce-cart-form,.cart-collaterals .cart_totals,.woocommerce-checkout-review-order,.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content,.woocommerce-form-login,.woocommerce-form-register){background:var(--c-paper)!important;border:1px solid var(--c-line)!important;border-radius:var(--r-lg)!important;box-shadow:none!important}
body.csmh-global .widget-title,body.csmh-global .widget-header h2,body.csmh-global .sidebar .widget>header{font-size:16px!important;font-weight:700!important;color:var(--c-ink)!important}
body.csmh-global .widget-title::after,body.csmh-global .widget-header h2::after,body.csmh-global .widget-header::after{background:var(--c-wood)!important}

/* buttons */
body.csmh-global :is(.button,button.button,input.button,.single_add_to_cart_button,.checkout-button,#place_order,.woocommerce-button,.wc-forward,button[type=submit]):not(.csmh-btn-ic){border-radius:999px!important;font-family:var(--font)!important;font-weight:700!important;box-shadow:none!important;transition:background .2s,transform .2s}
body.csmh-global :is(.single_add_to_cart_button,.checkout-button,#place_order){background:var(--c-ink)!important;color:#fff!important;border-color:var(--c-ink)!important}
body.csmh-global :is(.single_add_to_cart_button,.checkout-button,#place_order):hover{background:#000!important;transform:translateY(-1px)}
body.csmh-global :is(input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],input[type=search],select,textarea){border-radius:12px!important;border-color:var(--c-line)!important;font-family:var(--font)!important}
body.csmh-global :is(input,select,textarea):focus{border-color:var(--c-wood)!important;box-shadow:0 0 0 3px rgba(168,130,91,.18)!important;outline:none}

/* shop archive */
body.csmh-global .products-head{padding:12px 18px!important;margin-bottom:20px!important}
body.csmh-global .sidebar-shop .widget{padding:18px!important;margin-bottom:16px!important}
body.csmh-global ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.csmh-global ul.products::before,body.csmh-global ul.products::after{display:none!important}
body.csmh-global ul.products>li.product{width:auto!important;max-width:none!important;flex:none!important;float:none!important;margin:0!important;padding:0 0 16px!important;border:1px solid var(--c-line)!important;border-radius:var(--r-lg)!important;background:var(--c-paper)!important;overflow:hidden;position:relative;transition:transform .3s,box-shadow .3s}
body.csmh-global ul.products>li.product:hover{transform:translateY(-4px);box-shadow:var(--shadow)!important}
body.csmh-global ul.products>li.product::before,body.csmh-global ul.products>li.product::after{display:none!important}
body.csmh-global ul.products>li.product>a:first-child{display:block;padding:0!important}
body.csmh-global ul.products>li.product img{width:100%!important;height:auto!important;max-width:none!important;aspect-ratio:1/1;object-fit:cover;margin:0 0 14px!important;background:#ecebea;border-radius:0!important}
body.csmh-global ul.products .woocommerce-loop-product__title{font-size:15px!important;font-weight:700!important;line-height:1.7!important;color:var(--c-ink)!important;padding:0 16px!important;margin:0 0 6px!important;height:auto!important;min-height:0!important;text-align:right!important}
body.csmh-global ul.products .stock-rating{padding:0 16px!important;margin:0 0 4px!important;justify-content:flex-start!important}
body.csmh-global ul.products .stock{font-size:12.5px!important;color:var(--c-muted)!important}
body.csmh-global ul.products .stock svg{display:none}
body.csmh-global ul.products .price{display:block;padding:0 16px!important;text-align:right!important;font-size:16px!important;font-weight:700!important;color:var(--c-ink)!important;margin:0!important}
body.csmh-global ul.products .price .woocommerce-Price-currencySymbol{font-size:12px;font-weight:400;color:var(--c-muted)}
body.csmh-global .product-vendor{display:none!important}

/* single product */
body.csmh-global .container-single-product>.product>.product-columns{background:var(--c-paper);border:1px solid var(--c-line);border-radius:28px;padding:28px!important;margin:0 0 24px!important}
body.csmh-global .woocommerce-product-gallery__image img,body.csmh-global .woocommerce-product-gallery__image a{border-radius:20px;overflow:hidden}
body.csmh-global .gallery-thumbs img{border-radius:12px!important}
body.csmh-global .product_title{font-size:clamp(22px,2.4vw,30px)!important;font-weight:700!important;line-height:1.5!important;color:var(--c-ink)!important}
body.csmh-global .summary :is(.posted_in,.tagged_as,.product_meta) a{color:var(--c-wood-d)!important}
body.csmh-global .summary .tagged_as{display:none!important}
body.csmh-global .column-cart>div,body.csmh-global .summary .column-cart{border-radius:var(--r-lg)!important}
body.csmh-global .summary .price,body.csmh-global .cart-box .price{color:var(--c-ink)!important;font-weight:700!important}
body.csmh-global .services{padding:8px 12px!important;margin:0 0 24px!important}
body.csmh-global .services img{filter:grayscale(1) sepia(.35);opacity:.8}
body.csmh-global .woocommerce-tabs{padding:8px 24px 24px!important}
body.csmh-global .woocommerce-tabs ul.tabs li.active a,body.csmh-global .woocommerce-tabs ul.tabs li a:hover{color:var(--c-ink)!important}
body.csmh-global .woocommerce-tabs ul.tabs li.active::after,body.csmh-global .woocommerce-tabs ul.tabs li.active a::after{background:var(--c-wood)!important}
body.csmh-global .woocommerce-Tabs-panel{font-size:15.5px;line-height:2.1;color:var(--c-ink-2)}
body.csmh-global .widget-products-slider{padding:18px 18px 8px!important;margin:0 0 24px!important}
body.csmh-global .widget-products-slider .slider-item{border:0!important}
body.csmh-global .widget-products-slider .slider-item img{border-radius:14px}
body.csmh-global .onsale,body.csmh-global .discount{background:var(--c-wood-d)!important;color:#fff!important;border-radius:999px!important}

/* cart / checkout / account */
body.csmh-global .woocommerce-cart-form,body.csmh-global .cart_totals,body.csmh-global .woocommerce-checkout-review-order{padding:20px!important}
body.csmh-global table.shop_table{border:0!important;border-radius:0!important}
body.csmh-global table.shop_table :is(th,td){border-color:var(--c-line)!important}
body.csmh-global .woocommerce-MyAccount-navigation{padding:12px!important}
body.csmh-global .woocommerce-MyAccount-navigation li.is-active a{background:var(--c-sand)!important;color:var(--c-ink)!important;border-radius:12px}
body.csmh-global .woocommerce-MyAccount-content{padding:24px!important}
body.csmh-global .cart-empty,body.csmh-global .woocommerce-info,body.csmh-global .woocommerce-message{border-radius:var(--r-md)!important;border-color:var(--c-line)!important;background:var(--c-paper)!important;color:var(--c-ink)!important}
body.csmh-global .woocommerce-message::before,body.csmh-global .woocommerce-info::before{color:var(--c-wood)!important}

/* support button */
body.csmh-global #faq-toggle{background:var(--c-ink)!important}
body.csmh-global #faq-toggle svg{fill:#fff}

@media (max-width:1080px){body.csmh-global ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:782px){.admin-bar.csmh-global .csmh-chrome-top{top:46px}}
@media (max-width:820px){
  body.csmh-global main#main{padding-top:16px}
  body.csmh-global main#main>.container{width:calc(100% - 32px)}
  body.csmh-global ul.products{gap:12px}
  body.csmh-global ul.products .woocommerce-loop-product__title{font-size:13.5px!important;padding:0 10px!important}
  body.csmh-global ul.products .price,body.csmh-global ul.products .stock-rating{padding:0 10px!important}
  body.csmh-global ul.products .price{font-size:14px!important}
  body.csmh-global .container-single-product>.product>.product-columns{padding:14px!important;border-radius:20px}
  .csmh-chrome .csmh-foot{margin-top:48px}
}
body.csmh-global .free-shipping img{display:none!important}
body.csmh-global .free-shipping{border-radius:var(--r-md)!important}
/* login page */
body.csmh-global.woocommerce-account:not(.logged-in),body.csmh-global.woocommerce-account:not(.logged-in) #main{min-height:0!important}
body.csmh-global.woocommerce-account:not(.logged-in) #main .container-single-post{min-height:0!important;padding:24px 0 8px!important}
body.csmh-global.woocommerce-account:not(.logged-in) .my-account-content{background:var(--c-paper)!important;border:1px solid var(--c-line)!important;border-radius:24px!important;padding:28px!important}
body.csmh-global.woocommerce-account:not(.logged-in) .my-account-content .logo-wrapper{display:none!important}
body.csmh-global .woocommerce-form-login,body.csmh-global .woocommerce-form-register{border:0!important;background:transparent!important;padding:0!important}
body.csmh-global.woocommerce-account:not(.logged-in) .my-account-content h2{font-size:24px!important;font-weight:700!important}
/* login inner */
body.csmh-global.woocommerce-account:not(.logged-in) .my-account-content :is(.u-columns,.u-column1,.u-column2,.col2-set,.col-1,.col-2,form){border:0!important;background:transparent!important;box-shadow:none!important;padding-inline:0!important}
body.csmh-global.woocommerce-account:not(.logged-in) .my-account-content>*:last-child:not(.u-columns){background:var(--c-sand)!important;border-radius:14px!important}

/* contact page v0.6.4 */
.csmh-contact{padding:40px 0 8px;color:var(--c-ink);font-family:var(--font)}
.csmh-contact :where(h1,h2,p){margin:0}
.csmh-contact-head{max-width:640px;margin-bottom:36px}
.csmh-contact-head h1{font-size:clamp(30px,4vw,44px);font-weight:700;line-height:1.4;margin:10px 0 8px}
.csmh-contact-head p{color:var(--c-ink-2);font-size:16.5px}
.csmh-contact-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:24px;align-items:start}
.csmh-contact-info{display:grid;gap:14px}
.csmh-contact-card{display:flex;align-items:center;gap:14px;padding:18px 20px;background:var(--c-paper);border:1px solid var(--c-line);border-radius:var(--r-lg);color:var(--c-ink)!important;text-decoration:none!important;transition:border-color .2s,transform .2s}
a.csmh-contact-card:hover{border-color:var(--c-wood);transform:translateY(-2px)}
.csmh-contact-card .csmh-ic{width:44px;height:44px;padding:11px;border-radius:50%;background:var(--c-sand);color:var(--c-wood-d);flex:none}
.csmh-contact-card small{display:block;font-size:13px;color:var(--c-muted)}
.csmh-contact-card b{display:block;font-size:16px;font-weight:700;text-align:right}
.csmh-contact-note{padding:20px;border-radius:var(--r-lg);background:var(--c-wood-d);color:#fff}
.csmh-contact-note b{font-size:16px}
.csmh-contact-note p{font-size:14px;opacity:.9;margin-top:6px!important;line-height:1.9}
.csmh-contact-form{background:var(--c-paper);border:1px solid var(--c-line);border-radius:28px;padding:32px}
.csmh-contact-form h2{font-size:22px;font-weight:700;margin-bottom:18px}
.csmh-contact-form form{display:grid;gap:16px}
.csmh-f-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.csmh-contact-form label{display:grid;gap:8px;font-size:14px;font-weight:700;color:var(--c-ink-2)}
.csmh-contact-form :is(input,textarea){width:100%;box-sizing:border-box;font:400 15px/1.8 var(--font);color:var(--c-ink);background:#fff;border:1px solid var(--c-line);border-radius:14px;padding:12px 16px;transition:border-color .2s,box-shadow .2s}
.csmh-contact-form textarea{resize:vertical;min-height:150px}
.csmh-contact-form :is(input,textarea):focus{outline:none;border-color:var(--c-wood);box-shadow:0 0 0 3px rgba(168,130,91,.18)}
.csmh-contact-form .csmh-btn{justify-self:start;cursor:pointer;font-family:var(--font)}
.csmh-hp{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;left:-9999px!important}
.csmh-alert{padding:12px 16px;border-radius:12px;font-size:14.5px;margin-bottom:16px!important}
.csmh-alert.is-ok{background:#eaf3e6;color:#2f5a25}
.csmh-alert.is-err{background:#f8e7e3;color:#8a2e1c}
@media (max-width:820px){.csmh-contact{padding-top:20px}.csmh-contact-grid{grid-template-columns:1fr}.csmh-contact-form{order:-1;padding:22px;border-radius:22px}.csmh-f-row{grid-template-columns:1fr}.csmh-contact-form .csmh-btn{justify-self:stretch;justify-content:center}}
