@font-face {
    font-family: MekaYekan;
    src: url("../MekaPremium20261102/assets/YekanBakhFaNum-VF.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --meka-ink: #173444;
    --meka-text: #405965;
    --meka-muted: #526a78;
    --meka-blue: #146787;
    --meka-hover: #10526c;
    --meka-line: #d6e1e8;
    --meka-paper: #f4f7fa;
    --meka-blue-wash: #eaf3f8;
    --meka-font: MekaYekan, YekanBakh, Tahoma, sans-serif;
}

.meka-store, .meka-contact, .meka-home {
    font-family: var(--meka-font);
    color: var(--meka-ink);
    font-size: 16px;
    line-height: 1.85;
}

.meka-store, .meka-contact { background: var(--meka-paper); }
.meka-store :is(h1,h2,h3,h4,h5,h6,.h1,.btn,.form-control,.txtSearch),
.meka-store .product-title h2, .meka-contact :is(input,textarea,button) {
    font-family: var(--meka-font) !important;
}

:is(.meka-store,.meka-contact,.meka-home) :is(a,button,input,textarea,select,summary):focus-visible {
    outline: 2px solid var(--meka-blue);
    outline-offset: 3px;
}

.meka-store #header_top {
    background: #fff;
    border-bottom: 1px solid var(--meka-line);
    box-shadow: none;
}
.meka-store #header_top .container-fluid {
    max-width: 1440px;
    margin-inline: auto;
}
.meka-store #header_top .txtSearch {
    background: var(--meka-paper);
    border: 1px solid var(--meka-line);
    border-radius: 9px;
    color: var(--meka-ink);
    font-size: 15px;
}
.meka-store #header_top .txtSearch::placeholder { color: var(--meka-muted); opacity: 1; }
.meka-store #header_top .account-box,
.meka-store #header_top .account-box a { color: var(--meka-ink); }
.meka-store #header_top #basket-counter { background: var(--meka-blue); color: #fff; }
.meka-store .MenuContainer { background: #fff; border-color: var(--meka-line) !important; }
.meka-store .main_navigation > li > a { color: var(--meka-ink); font-weight: 600; }
.meka-store .main_navigation li > a:hover { color: var(--meka-blue); }
.meka-store .main_navigation :is(.multi-level,.last_level) {
    border: 1px solid var(--meka-line);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgb(23 52 68 / 12%);
}

.meka-store #main_body { width: min(100%, 1440px); margin-inline: auto; }
.meka-store #main_body .inner-container {
    background: #fff;
    border: 1px solid var(--meka-line);
    border-radius: 14px;
}
.meka-store .breadcrumb { background: transparent; font-size: 13px; line-height: 1.6; }
.meka-store .breadcrumb a, .meka-store #main_body .description a { color: var(--meka-blue); }
.meka-store #main_body :is(.inner-title,.product-category-title) {
    color: var(--meka-ink);
    font-size: clamp(24px, 3vw, 36px) !important;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.meka-store #main_body .description { color: var(--meka-text); line-height: 1.9; }
.meka-store #main_body :is(.panel-default,.shadow-box) {
    border: 1px solid var(--meka-line);
    border-radius: 12px;
    box-shadow: none;
}
.meka-store #main_body .panel-default > .panel-heading {
    background: var(--meka-paper);
    border-color: var(--meka-line);
    color: var(--meka-ink);
}
.meka-store #main_body :is(.form-control,input[type="text"],input[type="email"],input[type="tel"],input[type="password"],textarea) {
    color: var(--meka-ink);
    border-color: var(--meka-line);
    border-radius: 8px;
    box-shadow: none;
}
.meka-store #main_body :is(input,textarea)::placeholder { color: var(--meka-muted); opacity: 1; }
.meka-store #main_body :is(.btn-primary,.btn-info,.btn-success,.btn-addto-basket,.btn-login),
.meka-contact .btn {
    background: var(--meka-blue);
    border: 1px solid var(--meka-blue);
    border-radius: 8px;
    color: #fff;
    font-weight: 650;
}
.meka-store #main_body :is(.btn-primary,.btn-info,.btn-success,.btn-addto-basket,.btn-login):hover,
.meka-contact .btn:hover { background: var(--meka-hover); border-color: var(--meka-hover); }
.meka-store #main_body .btn-default {
    color: var(--meka-blue);
    background: #fff;
    border-color: var(--meka-line);
    border-radius: 8px;
}
.meka-store .footer { background: var(--meka-paper); border-top: 1px solid var(--meka-line); }
.meka-store .footer :is(.footer-about,.footer-box-title,li a) { color: var(--meka-ink); }
.meka-store .footer .footer-box-title { font-weight: 700; }
.meka-store .footer li a:hover { color: var(--meka-blue); }
.meka-store .subfooter { background: var(--meka-ink); color: #fff; }
.meka-store .subfooter a { color: #fff; }

/* Catalog and search share the renderer with carousels. Only result grids change columns. */
.meka-store .search-result-container.row {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
    margin: 0;
    overflow: visible;
}
.meka-store .search-result-container.row::before,
.meka-store .search-result-container.row::after { display: none; }
.meka-store .search-result-container.row > .carousel-cell {
    width: auto !important;
    max-width: none;
    min-width: 0;
    float: none;
    display: flex;
    padding: 0;
    margin: 0;
}
.meka-store .product-box.first-page {
    background: #fff;
    color: var(--meka-ink);
    border: 1px solid var(--meka-line);
    border-radius: 12px;
    box-shadow: none;
}
.meka-store .product-box.first-page:hover,
.meka-store .product-box.first-page:focus-within {
    border-color: #8fb6c8;
    box-shadow: 0 4px 14px rgb(23 52 68 / 8%);
}
.meka-store .search-result-container .product-box.first-page {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0 0 16px;
}
.meka-store .search-result-container .product-box > a { display: block; color: inherit; }
.meka-store .search-result-container .product-box .product-img-box {
    height: clamp(130px,16vw,216px);
    padding: 14px;
    background: #fff;
    border-bottom: 1px solid var(--meka-line);
}
.meka-store .product-box.first-page .product-img-box img { object-fit: contain; }
.meka-store .search-result-container .product-title-box {
    height: auto;
    margin: 0;
    padding: 14px 14px 0;
    text-align: start;
    overflow-wrap: anywhere;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.55;
}
.meka-store .search-result-container .catalog-part-number {
    display: block;
    margin: 8px 14px 12px;
    color: var(--meka-muted);
    text-align: right;
    font: 14px/1.45 Consolas, monospace;
    unicode-bidi: isolate;
    overflow-wrap: anywhere;
}
.meka-store .search-result-container .product-price-box { margin-top: auto; padding: 4px 14px 0; }
.meka-store .product-box.first-page .product-price-box .product-price {
    height: auto;
    color: var(--meka-ink);
    font-size: 20px;
    font-weight: 750;
    line-height: 1.5;
}
.meka-store .product-box.first-page .product-old-price { color: var(--meka-muted); }
.meka-store .product-box.first-page .newstatus { font-size: 13px; font-weight: 600; }
.meka-store .product-box.first-page .newstatus.confirm { color: #775310; }
.meka-store .product-box.first-page .newstatus.tel { color: var(--meka-blue); }
.meka-store .product-box.first-page .newstatus:is(.unav,.stop) { color: #9d372f; }
.meka-store .sort-box .sort-item.selected { background: var(--meka-blue); color: #fff; }
.meka-store .product-category-count { color: var(--meka-muted); font-size: 14px; }
.meka-store .main_sidebar .search-filter-box { margin-bottom: 12px; }

/* Product detail. Keep original seller, configuration, gallery, and tab behavior. */
.meka-store .inner-product .product-title :is(h1,.h1) {
    color: var(--meka-ink);
    font-size: clamp(24px,2.4vw,34px) !important;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.meka-store .inner-product .product-title h2 {
    color: var(--meka-muted);
    font-size: 16px !important;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.meka-store .inner-product .product-gallery-container,
.meka-store .inner-product .pnl-seller-info {
    background: #fff;
    border: 1px solid var(--meka-line);
    border-radius: 12px;
}
.meka-store .inner-product .product-gallery-container { padding: 10px; }
.meka-store .inner-product .pnl-seller-info { padding: 14px; }
.meka-store .inner-product .product-main-image img { object-fit: contain; }
.meka-store .inner-product .thumbs-row .thum-box.active { border-color: var(--meka-blue); }
.meka-store .inner-product .code {
    font: 15px/1.5 Consolas,monospace;
    color: var(--meka-blue);
    unicode-bidi: isolate;
    overflow-wrap: anywhere;
}
.meka-store .inner-product .price-value { color: var(--meka-ink); font-weight: 750; font-variant-numeric: tabular-nums; }
.meka-store .product-details-table :is(th,td),
.meka-store .cart-table :is(th,td) { border-color: var(--meka-line); vertical-align: middle; }
.meka-store .product-details-table .right-cell, .meka-store .cart-table thead { background: var(--meka-paper); }
.meka-store .pnl-tabs .nav-tabs > li.active > a { color: var(--meka-blue); font-weight: 700; }
.meka-store #main_body :is(.signin-box,.signup-box,.final-price) {
    background: #fff;
    border: 1px solid var(--meka-line);
    border-radius: 12px;
    box-shadow: none;
}
.meka-store .cart-table .final-price-label { color: var(--meka-ink); }

/* Standalone contact form and the independent homepage use the same palette. */
.meka-contact { max-width: 900px; padding-inline: 20px; }
.meka-contact h1 { font-size: clamp(26px,4vw,38px); line-height: 1.5; }
.meka-contact form {
    padding: clamp(16px,4vw,32px);
    background: #fff;
    border: 1px solid var(--meka-line);
    border-radius: 12px;
}
.meka-contact form .col { min-width: min(220px,100%); }
.meka-contact :is(input[type="text"],input[type="email"],input[type="tel"],textarea) {
    padding: 11px 12px;
    border-color: var(--meka-line);
    border-radius: 8px;
    font-size: 16px;
}
.meka-home { --ink: var(--meka-ink); --blue: var(--meka-blue); --line: var(--meka-line); }
.meka-home :is(.button,.hero .button) { background: var(--meka-blue); }
.meka-home :is(.button,.hero .button):hover { background: var(--meka-hover); }
.meka-home :is(.text-link,.text-link.light,.category-go,.product-link,.article strong) { color: var(--meka-blue); }
.meka-home :is(.catalogue,.request-panel,footer) { background: var(--meka-paper); }
.meka-home .article-image { aspect-ratio: 1.91; }
.meka-home .article-image img { display: block; }

@media (max-width: 1199px) {
    .meka-store .search-result-container.row { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 767px) {
    .meka-store #header_top .txtSearch { font-size: 16px; }
    .meka-store #main_body .inner-container { border-radius: 10px; }
    .meka-store .search-result-container.row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .meka-store .search-result-container .product-title-box { font-size: 15px; padding-inline: 10px; }
    .meka-store .search-result-container .catalog-part-number { margin-inline: 10px; }
    .meka-store .search-result-container .product-price-box { padding-inline: 10px; }
    .meka-store .product-box.first-page .product-price-box .product-price { font-size: 18px; }
    .meka-store .inner-product .pnl-seller-info { margin-top: 12px; }
}

@media (max-width: 379px) {
    .meka-store .search-result-container.row { grid-template-columns: minmax(0,1fr); }
}
.meka-store .product-box.first-page .product-title-box > span {
    font-family: var(--meka-font);
    font-weight: 650;
}
.meka-store .product-box.first-page .catalog-part-number { display: none; }
.meka-store .search-result-container .product-box.first-page .catalog-part-number { display: block; }
@media (min-width: 768px) and (max-width: 991px) {
    .meka-store .search-result-container.row { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

/* Controls and secondary page families. */
.meka-store #header_top .pnl-search {
    background: transparent;
    border-radius: 9px;
}
.meka-store #header_top .txtSearch::placeholder { font-size: inherit; }
.meka-store .main_product_List > .panel > .panel-heading { padding: 14px; }
.meka-store .sort-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-block: 8px;
}
.meka-store .sort-box .sort-item {
    padding: 5px 10px;
    border-radius: 7px;
    color: var(--meka-blue);
    font-size: 13px;
    line-height: 1.7;
}
.meka-store .sort-box .sort-item.selected,
.meka-store .sort-box .sort-item.selected:hover { color: #fff; background: var(--meka-blue); }
.meka-store .search-result-container .product-price-box,
.meka-store .search-result-container .product-price-box :is(.product-price,.product-old-price) { text-align: start; }
.meka-store .product-box.first-page .newstatus {
    height: auto;
    min-height: 0;
    padding: 3px 8px;
    border-radius: 6px;
    line-height: 1.55;
}
.meka-store .product-box.first-page .newstatus.confirm { background: #fff2d8; }
.meka-store .product-box.first-page .newstatus.tel { background: var(--meka-blue-wash); }
.meka-store .product-box.first-page .newstatus:is(.unav,.stop) { background: #fbece9; }
.meka-store .product-box.first-page .newstatus.soon { background: #eef3f7; color: var(--meka-ink); }
.meka-store #main_body :is(.gray_box,.news_list,.news_tab,.search-box) {
    border-color: var(--meka-line);
    border-radius: 10px;
    color: var(--meka-text);
}
.meka-store #main_body :is(.news_list,.search-box) .media {
    padding-block: 12px;
    border-bottom: 1px solid var(--meka-line);
}
.meka-store #main_body .nav-pills > li.active > a { background: var(--meka-blue); color: #fff; }
.meka-store #main_body .table-responsive { border-color: var(--meka-line); }
.meka-store #main_body .table-responsive:focus-visible { outline: 2px solid var(--meka-blue); }

@media (max-width: 767px) {
    .meka-store { padding-top: 0; }
    .meka-store #header_top {
        position: relative;
        height: auto;
        padding: 0 0 10px;
    }
    .meka-store #header_top .header-content {
        height: auto;
        min-height: 0;
        gap: 8px;
        padding-top: 8px;
    }
    .meka-store #header_top #logo img { height: 42px; width: auto; }
    .meka-store #header_top .search-content { margin-top: 0; }
    .meka-store .main_navigation > li > a { font-size: 13px; }
    .meka-store .main_product_List .product-category-title { margin-block: 8px !important; }
}
