/* =============================================================
   Сайханы Айраг — Modern refresh layer (blue + cream)
   Loaded AFTER custom.css. Purely additive & reversible:
   delete the <link> in layouts/front.blade.php to revert.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --brand:        #1B7FD4;   /* airag-bottle blue */
    --brand-dark:   #0D5FA8;
    --brand-700:    #0a4d8a;
    --brand-50:     #eaf4fd;
    --brand-100:    #d5e9fb;

    --gold:         #C79A3F;    /* subtle heritage accent */
    --gold-soft:    #f4ecd8;

    --cream:        #FBF8F3;    /* warm page background */
    --cream-2:      #F4EFE7;
    --paper:        #ffffff;

    --ink:          #16202E;    /* headings */
    --body:         #46505f;    /* body text */
    --muted:        #7b8593;
    --line:         #ece7dd;    /* warm hairline */

    --ok:           #1f9d55;
    --sale:         #e5484d;

    --radius:       18px;
    --radius-sm:    12px;
    --radius-pill:  999px;

    --shadow-sm:    0 2px 10px rgba(22,32,46,.06);
    --shadow:       0 12px 30px -12px rgba(22,32,46,.18);
    --shadow-lg:    0 26px 60px -24px rgba(13,95,168,.30);

    --ease:         cubic-bezier(.22,.61,.36,1);
    --t:            .35s var(--ease);
}

/* ---------- Base typography & rhythm ---------- */
body {
    font-family: 'Inter', 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--body);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    letter-spacing: .002em;
}

h1, h2, h3, h4, h5, h6,
.title, .gs-title-box .title, .product-title, .service-title,
.post-title, .widget-title, .countdown-title, .section-title {
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
    color: var(--ink);
    letter-spacing: -.015em;
}

a { transition: color var(--t); }
img { max-width: 100%; }

/* Smooth default motion for interactive bits */
.single-product, .gs-single-cat, .single-offer-product, .template-btn,
.hero-shop-now-btn, .info-bar-btn, .btn, .newsletter-btn, .nav-link,
.add-to-wishlist-btn, .product-img img, .cate-img, .service-title,
.post-title, .footer-category-links a {
    transition: var(--t);
}

/* ---------- Section titles ---------- */
.gs-title-box { position: relative; }
.gs-title-box .title,
.gs-title-box .section-title {
    font-weight: 800;
    font-size: clamp(1.6rem, 2.4vw, 2.4rem);
    line-height: 1.15;
}
.gs-title-box .subtitle,
.gs-title-box .sub-title,
.gs-title-box p {
    color: var(--muted);
}
/* little gold underline accent under centered section headings */
.gs-title-box.text-center .title::after,
.gs-title-box.text-center .section-title::after {
    content: "";
    display: block;
    width: 58px; height: 3px;
    margin: 14px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
}

/* ---------- Header ----------
   NOTE: `.header-top` here is the MAIN NAV bar (holds .create-navbar),
   not the thin contact strip — that is `.info-bar` (stays blue via theme).
   The theme's own sticky (`.header-top.sticky { position: fixed }`) keeps the
   nav pinned on scroll. Do NOT add backdrop-filter/filter/transform to the
   header or any ancestor of `.header-top`, or the fixed positioning breaks. */
.header-top.sticky {
    z-index: 999;                 /* stay above product cards / sliders */
    background-color: #fff;       /* solid bg so scrolled content can't show through */
}
.info-bar-btn {
    border-radius: var(--radius-pill) !important;
    border: 1px solid rgba(255,255,255,.55) !important;
}
.info-bar-btn:hover { background: rgba(255,255,255,.16) !important; }
.nav-link:hover { color: var(--brand) !important; }

/* ---------- Header icon buttons (search / compare / wishlist / cart) ---------- */
.header-top .create-navbar .nav-right .icon-circle {
    background-color: #fff !important;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.header-top .create-navbar .nav-right .icon-circle:hover {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark)) !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 12px 22px -10px rgba(13,95,168,.6);
}
.header-top .create-navbar .nav-right .icon-circle:hover svg path {
    stroke: #fff !important;
    fill: #fff !important;
}
/* count badge: white ring so it pops against the header */
.icon-circle .cart-count {
    background: var(--brand) !important;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(13,95,168,.45);
    font-weight: 700;
    width: 20px !important;
    height: 20px !important;
    font-size: 11px !important;
    top: -6px !important;
    right: -6px !important;
}

/* ---------- Top info-bar (утас / хэл / валют / бүртгэл) ----------
   vendor товчийг авсны дараа цулгуй харагдахгүйн тулд бага зэрэг чимэглэнэ. */
.info-bar {
    background: linear-gradient(90deg, var(--brand-dark) 0%, var(--brand) 55%, #2b93e0 100%) !important;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.14);
}
.info-bar .info-left a,
.info-bar .info-right a,
.info-bar .info-right .dropdown-toggle {
    color: rgba(255,255,255,.9) !important;
    font-weight: 500;
    transition: var(--t);
}
.info-bar .info-left a:hover,
.info-bar .info-right a:hover,
.info-bar .info-right .dropdown-toggle:hover { color: #fff !important; }

/* хэл / валютын товчлуур: hover дээр зөөлөн pill */
.info-bar .info-right .dropdown-toggle {
    background: transparent;
    border: none;
    padding: 3px 6px;
    border-radius: var(--radius-pill);
}
.info-bar .info-right .dropdown-toggle:hover { background: rgba(255,255,255,.15); }

/* босоо зураснуудыг арай зөөлрүүлэх */
.info-bar .info-right svg path[stroke="white"] { stroke-opacity: .3; }

/* "Хяналтын самбар" (бүртгэл) холбоосыг товч маягтай онцлох */
.info-bar .info-right li:last-child {
    border: 1px solid rgba(255,255,255,.35);
    border-radius: var(--radius-pill);
    padding: 4px 14px 4px 12px !important;
    transition: var(--t);
}
.info-bar .info-right li:last-child:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.6); }

/* дээд самбарын dropdown цэсийг (хэл/валют) орчин үеийн болгох */
.info-bar .dropdown-menu {
    border-radius: 12px !important;
    border: 1px solid var(--line) !important;
    box-shadow: var(--shadow) !important;
    padding: 6px !important;
    min-width: 150px;
}
.info-bar .dropdown-menu .dropdown-item {
    border-radius: 8px;
    color: var(--body) !important;
    font-size: 14px;
    padding: 7px 12px;
}
.info-bar .dropdown-menu .dropdown-item:hover,
.info-bar .dropdown-menu .dropdown-item.active {
    background: var(--brand-50) !important;
    color: var(--brand-dark) !important;
}

/* ---------- Mega menu (Бүтээгдэхүүн → categories dropdown) ---------- */
.megamenu.cat-megamenu {
    background: #fff !important;      /* solid, never see-through */
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: 0 34px 80px -34px rgba(13,95,168,.38), 0 10px 28px rgba(22,32,46,.08) !important;
    padding: 40px 34px 34px !important;
    overflow: hidden;
}
/* thin brand→gold accent bar across the top */
.megamenu.cat-megamenu::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
}
.megamenu .single-menu { padding: 0 14px; }

/* category heading: bold with a short blue→gold underline accent */
.megamenu .single-menu h5 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800 !important;
    font-size: 14px !important;
    letter-spacing: .07em;
    margin-bottom: 16px !important;
    padding-bottom: 12px;
    position: relative;
}
.megamenu .single-menu h5 a { color: var(--brand-dark) !important; }
.megamenu .single-menu h5::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 30px; height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
}

/* subcategory links: pill highlight + slide on hover */
.megamenu .single-menu ul li { line-height: 1.35; margin-bottom: 2px; }
.megamenu .single-menu ul li::after { display: none !important; }  /* drop theme underline */
.megamenu .single-menu ul li a {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 9px;
    color: var(--body) !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    transition: var(--t);
}
.megamenu .single-menu ul li a:hover,
.megamenu .single-menu ul li:hover a {
    background: var(--brand-50);
    color: var(--brand-dark) !important;
    padding-left: 18px;
}

/* ---------- Pages dropdown (Хуудаснууд) ----------
   Scoped to `.has-submenu` so Bootstrap's other .dropdown-menu instances
   (search, language, vendor header) are untouched. */
.has-submenu .dropdown-menu {
    min-width: 240px !important;
    padding: 10px !important;
    border: 1px solid var(--line) !important;
    border-radius: 16px !important;
    box-shadow: 0 24px 60px -28px rgba(13,95,168,.35), 0 8px 22px rgba(22,32,46,.08) !important;
    overflow: hidden;
    text-align: left !important;
}
.has-submenu .dropdown-menu::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
}
/* drop the theme's per-row underlines in favour of hover pills */
.has-submenu .dropdown-menu li .dropdown-item,
.has-submenu .dropdown-menu li:last-child .dropdown-item,
.has-submenu .dropdown-menu > li:last-child {
    border-bottom: none !important;
}
.has-submenu .dropdown-menu .dropdown-item {
    border-radius: 10px;
    padding: 9px 14px !important;
    color: var(--body) !important;
    font-size: 14.5px;
    font-weight: 500;
    transition: var(--t);
}
.has-submenu .dropdown-menu .dropdown-item:hover,
.has-submenu .dropdown-menu .dropdown-item:focus {
    background: var(--brand-50) !important;
    color: var(--brand-dark) !important;
    padding-left: 20px !important;
}

/* ---------- Buttons ---------- */
.template-btn,
.hero-shop-now-btn,
.newsletter-btn,
.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark)) !important;
    border: none !important;
    border-radius: var(--radius-pill) !important;
    color: #fff !important;
    font-family: 'Manrope', sans-serif;
    font-weight: 700 !important;
    letter-spacing: .01em;
    box-shadow: 0 10px 22px -10px rgba(13,95,168,.6);
}
.template-btn:hover,
.hero-shop-now-btn:hover,
.newsletter-btn:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -12px rgba(13,95,168,.7);
    filter: brightness(1.04);
}
.template-btn:active,
.hero-shop-now-btn:active { transform: translateY(0); }

/* ---------- Hero ----------
   Use background-COLOR (longhand) as a fallback only — the theme sets the
   slider image via data-background with `background-size: cover`, and a
   `background:` shorthand here would reset that cover/position and leave
   gaps on the sides. */
.gs-hero-section { background-color: var(--cream); }
.gs-hero-section .hero-content .subtitle,
.gs-hero-section .hero-content .sub-title {
    color: var(--brand) !important;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: 1 !important;
    visibility: visible !important;
}
/* Fix the washed-out hero heading/description: force full legibility
   regardless of any leftover slider / animate.css opacity state. */
.gs-hero-section .hero-content .title,
.gs-hero-section .hero-content h1 {
    color: var(--ink) !important;
    -webkit-text-fill-color: var(--ink) !important;
    font-weight: 800 !important;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.1;
    text-shadow: none !important;
}
.gs-hero-section .hero-content .des,
.gs-hero-section .hero-content .title,
.gs-hero-section .hero-content .subtitle {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
}
.gs-hero-section .hero-content .des {
    color: var(--body) !important;
    font-size: 1.05rem;
}
.hero-slider-wrapper img { border-radius: var(--radius); }

/* ---------- Category circles ---------- */
.gs-single-cat { text-align: center; }
.gs-single-cat .cate-img,
.gs-single-cat .cate-img img {
    border-radius: 50%;
    transition: var(--t);
}
.gs-single-cat .cate-img {
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    background: var(--paper);
}
.gs-single-cat:hover .cate-img {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--brand-100);
}
.gs-single-cat:hover .cate-img img { transform: scale(1.06); }
.gs-single-cat:hover .cate-title,
.gs-single-cat:hover a { color: var(--brand) !important; }

/* ---------- Deal / offer banner cards ---------- */
.gs-offer-section .single-offer-product,
.gs-deal-of-day .deal-of-day-wrapper,
.single-offer-product {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
}
.single-offer-product:hover,
.gs-deal-of-day .deal-of-day-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.countdown-item-wrapper,
.countdown-wrapper .countdown-item {
    border-radius: var(--radius-sm);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}
.countdown-title { color: var(--brand); font-weight: 800; }

/* ---------- Product cards ---------- */
.single-product {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.single-product:hover {
    transform: translateY(-6px);
    border-color: var(--brand-100);
    box-shadow: var(--shadow);
}
.single-product .product-img,
.single-product .img-wrapper {
    overflow: hidden;
    background: linear-gradient(180deg, #fff, var(--cream));
}
.single-product .product-img img {
    transition: transform .5s var(--ease);
}
.single-product:hover .product-img img { transform: scale(1.07); }

.single-product .product-title,
.single-product .product-title a {
    font-weight: 600;
    color: var(--ink);
    font-size: .98rem;
}
.single-product .product-title a:hover { color: var(--brand); }

/* price */
.price-wrapper { font-family: 'Manrope', sans-serif; }
.price-wrapper .new-price,
.price-wrapper ins,
.price-wrapper .sale-price {
    color: var(--brand-dark);
    font-weight: 800;
    text-decoration: none;
}
.price-wrapper .old-price,
.price-wrapper del {
    color: var(--muted);
    font-weight: 500;
}

/* badge */
.product-badge {
    border-radius: var(--radius-pill);
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: var(--shadow-sm);
}
.product-badge.discount,
.product-badge.sale,
.product-badge[class*="sale"] { background: var(--sale); }

/* wishlist / action buttons */
.add-to-wishlist-btn,
.compare_product {
    border-radius: 50% !important;
    background: rgba(255,255,255,.94) !important;
    box-shadow: var(--shadow-sm);
    color: var(--ink) !important;
    opacity: 0;
    transform: translateX(8px);
}
.single-product:hover .add-to-wishlist-btn,
.single-product:hover .compare_product {
    opacity: 1;
    transform: translateX(0);
}
.add-to-wishlist-btn:hover,
.compare_product:hover {
    background: var(--brand) !important;
    color: #fff !important;
}
.rating-title { color: var(--gold); }

/* ---------- Product tabs (New / Featured / …) ---------- */
.gs-explore-product-section .nav {
    gap: 6px;
    border: none;
}
.gs-explore-product-section .nav-link {
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-pill) !important;
    color: var(--body) !important;
    font-weight: 600;
    padding: 8px 20px;
    background: var(--paper);
}
.gs-explore-product-section .nav-link:hover {
    border-color: var(--brand-100) !important;
    color: var(--brand) !important;
}
.gs-explore-product-section .nav-link.active,
.active-tab-btn {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark)) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 10px 22px -12px rgba(13,95,168,.6);
}

/* ---------- Services / blog / partners ---------- */
/* The service/feature bar (Чанартай Айраг, Үнэгүй Хүргэлт, 24/7, Тогтмол
   Хямдрал) sits on a dark background (#1f0300), so its text must stay white
   — override the global dark heading colour here. */
.gs-service-section,
.gs-service-section .service-title,
.gs-service-section .service-title a,
.gs-service-section .service-content,
.gs-service-section .service-content * {
    color: #ffffff !important;
}
.gs-service-section .service-title:hover,
.gs-service-section .service-title a:hover {
    color: var(--gold) !important;   /* warm accent, readable on dark */
}
.gs-latest-post-section .post-title:hover { color: var(--brand); }
.gs-latest-post-section .single-post,
.gs-service-section .single-service {
    border-radius: var(--radius);
    transition: var(--t);
}
.gs-latest-post-section .single-post:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

/* ---------- Inner page banner + article content ----------
   Applies to About / Privacy / Terms (page.blade) and blog details, which
   share `.gs-breadcrumb-section` and `.gs-blog-details-wrapper`. */

/* breadcrumb banner: brand gradient overlay so any banner image reads clean */
.gs-breadcrumb-section { position: relative; }
.gs-breadcrumb-section::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(13,95,168,.94), rgba(10,77,138,.80) 45%, rgba(22,32,46,.60));
}
.gs-breadcrumb-section > .container,
.gs-breadcrumb-section .content-wrapper { position: relative; z-index: 2; }
.gs-breadcrumb-section .breadcrumb-title {
    color: #fff !important;
    font-weight: 800;
    letter-spacing: -.01em;
}
/* hide the "Нүүр // <page>" breadcrumb trail on all inner pages */
.gs-breadcrumb-section .bread-menu { display: none !important; }

/* content card: readable measure, centred, lifted slightly over the banner */
.gs-blog-details-wrapper .gs-blog-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: clamp(24px, 4vw, 56px);
    max-width: 900px;
    margin: -60px auto 0;
    position: relative;
    z-index: 3;
}

/* card / page title */
.gs-blog-details-wrapper .fea-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem) !important;
    font-weight: 800 !important;
    color: var(--ink) !important;
    line-height: 1.2;
    padding-bottom: 16px;
    margin-bottom: 28px !important;
    border-bottom: 1px solid var(--line);
    position: relative;
}
.gs-blog-details-wrapper .fea-title::after {
    content: "";
    position: absolute; left: 0; bottom: -1px;
    width: 64px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
}

/* rich-text hierarchy inside $page->details */
.gs-blog-details-wrapper h1,
.gs-blog-details-wrapper h2,
.gs-blog-details-wrapper h3,
.gs-blog-details-wrapper h4,
.gs-blog-details-wrapper h5 {
    color: var(--ink);
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    line-height: 1.28;
    margin: 1.6em 0 .55em;
}
.gs-blog-details-wrapper h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.gs-blog-details-wrapper h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.gs-blog-details-wrapper h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
/* section sub-headings get a small brand accent bar */
.gs-blog-details-wrapper h3,
.gs-blog-details-wrapper h4 {
    padding-left: 14px;
    border-left: 3px solid var(--brand);
}
.gs-blog-details-wrapper p,
.gs-blog-details-wrapper li {
    color: var(--body);
    font-size: 1.02rem;
    line-height: 1.85;
}
.gs-blog-details-wrapper p { margin-bottom: 1.1em; }
.gs-blog-details-wrapper ul,
.gs-blog-details-wrapper ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.gs-blog-details-wrapper li { margin-bottom: .4em; }
.gs-blog-details-wrapper a { color: var(--brand-dark); font-weight: 600; }
.gs-blog-details-wrapper a:hover { color: var(--brand); text-decoration: underline; }
.gs-blog-details-wrapper img { border-radius: 14px; margin: 1em 0; }

@media (max-width: 575.98px) {
    .gs-blog-details-wrapper .gs-blog-card { margin-top: -30px; border-radius: 16px; }
}

/* ---------- Blog listing ---------- */
.gs-main-single-blog {
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    margin-bottom: 30px;
}
.gs-main-single-blog:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--brand-100);
}
.gs-main-single-blog .left-side-content { overflow: hidden; }
.gs-main-single-blog .blog-img { transition: transform .6s var(--ease); }
.gs-main-single-blog:hover .blog-img { transform: scale(1.06); }
.gs-main-single-blog .right-side-content { padding: 26px 30px; }
.gs-main-single-blog .right-side-content .title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    color: var(--ink) !important;
    line-height: 1.3;
    transition: var(--t);
    display: inline-block;
}
.gs-main-single-blog .right-side-content .title:hover { color: var(--brand) !important; }
.gs-main-single-blog .right-side-content .des { color: var(--body); line-height: 1.75; }
.gs-main-single-blog .date-wrapper,
.gs-main-single-blog .post-date { color: var(--muted) !important; }
.gs-main-single-blog .date-wrapper svg path,
.gs-main-single-blog .date-wrapper i { color: var(--brand); }

/* ---------- Blog sidebar widgets ---------- */
.gs-blog-sidebar-wrapper .single-blog-widget {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 26px;
}
.gs-blog-sidebar-wrapper .widget-title {
    color: var(--ink) !important;
    font-family: 'Manrope', sans-serif;
    font-weight: 800 !important;
    border-bottom: 1px solid var(--line) !important;
    position: relative;
}
.gs-blog-sidebar-wrapper .widget-title::after {
    content: "";
    position: absolute; left: 0; bottom: -1px;
    width: 40px; height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
}
/* search field */
.gs-blog-sidebar-wrapper .search-form { border-radius: var(--radius-pill) !important; }
/* category list */
.gs-blog-sidebar-wrapper .product-cat-widget ul li a { transition: var(--t); }
.gs-blog-sidebar-wrapper .product-cat-widget ul li a:hover { color: var(--brand) !important; padding-left: 4px; }
/* recent posts */
.gs-sm-recent-post-wrapper .recent-post,
.gs-blog-sidebar-wrapper .recent-post { transition: var(--t); }
.gs-sm-recent-post-wrapper .recent-post .blog-img,
.gs-blog-sidebar-wrapper .recent-post .blog-img { border-radius: 10px; }
.gs-sm-recent-post-wrapper .recent-post:hover .post-title,
.gs-blog-sidebar-wrapper .recent-post:hover .post-title { color: var(--brand) !important; }

/* ---------- FAQ accordion (Түгээмэл асуулт) ---------- */
.gs-faq-section .faq-box { max-width: 920px; margin: 0 auto; }
.gs-faq-section .faq-box .hyp-accordians .accordion-item {
    background: var(--paper);
    border: 1px solid var(--line) !important;
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px !important;
    transition: var(--t);
}
.gs-faq-section .faq-box .hyp-accordians .accordion-item:hover {
    border-color: var(--brand-100) !important;
    box-shadow: var(--shadow);
}
.gs-faq-section .faq-box .hyp-accordians .accordion-button {
    background: var(--paper) !important;
    color: var(--ink) !important;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.15rem) !important;
    font-weight: 700 !important;
    padding: 20px 26px !important;
}
.gs-faq-section .faq-box .hyp-accordians .accordion-button:not(.collapsed) {
    color: var(--brand-dark) !important;
    background: var(--brand-50) !important;
    box-shadow: inset 3px 0 0 var(--brand);   /* left accent when open */
}
.gs-faq-section .faq-box .hyp-accordians .accordion-button::after,
.gs-faq-section .faq-box .hyp-accordians .accordion-button:not(.collapsed)::after {
    color: var(--brand) !important;
}
.gs-faq-section .faq-box .hyp-accordians .accordion-body {
    color: var(--body) !important;
    font-size: 15.5px !important;
    line-height: 1.8;
    padding: 8px 26px 24px !important;
}
.gs-faq-section .faq-box .hyp-accordians .accordion-body strong,
.gs-faq-section .faq-box .hyp-accordians .accordion-body b { color: var(--ink); }

/* ---------- Contact page (Холбоо барих) ---------- */
/* section headings with accent */
.gs-contact-section h3 {
    font-weight: 800;
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 28px;
}
.gs-contact-section h3::after {
    content: "";
    position: absolute; left: 0; bottom: 0;
    width: 48px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
}

/* contact info cards: unify the mismatched pastel blocks into clean white cards */
.gs-contact-section .contact-information .common-wrapper {
    background: var(--paper) !important;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: 22px 26px !important;
    margin-bottom: 20px !important;
    transition: var(--t);
}
.gs-contact-section .contact-information .common-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--brand-100);
}
/* unify the icon circles to brand blue */
.gs-contact-section .contact-information .icon-wrapper {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark)) !important;
    width: 70px !important; height: 70px !important;
    flex-shrink: 0;
    box-shadow: 0 10px 22px -10px rgba(13,95,168,.6);
}
.gs-contact-section .contact-information .icon-wrapper svg path,
.gs-contact-section .contact-information .icon-wrapper i {
    color: #fff !important; fill: #fff !important;
}
.gs-contact-section .contact-information .details-wrapper h4,
.gs-contact-section .contact-information .details-wrapper h5,
.gs-contact-section .contact-information .details-wrapper h6 {
    color: var(--ink); font-weight: 700;
}
.gs-contact-section .contact-information .details-wrapper p { color: var(--body); }

/* form fields */
.gs-contact-section .form-control {
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    color: var(--ink);
    background: var(--paper);
    box-shadow: none !important;
    transition: var(--t);
}
.gs-contact-section .form-control::placeholder { color: var(--muted); }
.gs-contact-section .form-control:focus {
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 3px var(--brand-50) !important;
}
.gs-contact-section textarea.form-control { min-height: 160px; }

/* ---------- Footer ---------- */
.gs-footer-section {
    background: linear-gradient(180deg, #10222f, #0b1a24) !important;
    color: #c6d2dc;
}
.gs-footer-section a { color: #c6d2dc; }
.gs-footer-section a:hover { color: #fff; }
.footer-category-links a:hover { color: var(--brand) !important; padding-left: 4px; }
.gs-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }

/* newsletter input pill */
.newsletter-form input[type="email"],
.newsletter-form .form-control {
    border-radius: var(--radius-pill);
}

/* ---------- Scroll-reveal (paired with modern.js) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    will-change: opacity, transform;
}
.reveal.in-view {
    opacity: 1;
    transform: none;
}
/* stagger children a touch */
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 60ms); }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; }
    * { scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; }
/* offset in-page anchor jumps so the sticky header doesn't cover the target */
#explore-products { scroll-margin-top: 120px; }

/* nicer selection + scrollbar */
::selection { background: var(--brand-100); color: var(--brand-700); }

/* ═══════ Толгойн цэс — нэг мөрөнд багтаах, зэрэгцүүлэх ═══════ */
@media (min-width: 992px) {
  .header-top .create-navbar .nav-center .nav-menus { flex-wrap: nowrap !important; }
  .header-top .create-navbar .nav-center .nav-menus > li { white-space: nowrap; margin: 0 !important; }
  .header-top .create-navbar .nav-center .nav-menus > li > a {
    white-space: nowrap !important;
    font-size: 14px !important;
    padding: 0 9px !important;
    letter-spacing: 0 !important;
  }
}
@media (min-width: 992px) and (max-width: 1300px) {
  .header-top .create-navbar .nav-center .nav-menus > li > a {
    font-size: 13px !important;
    padding: 0 7px !important;
  }
}

/* Бүтээгдэхүүний дэлгэрэнгүй таб — идэвхтэй табны текст харагдахуйц (цагаан) */
.tab-product-des-wrapper .nav-tabs .nav-link.active,
.tab-product-des-wrapper #myTab .nav-link.active,
#myTab .nav-link.active {
    color: #ffffff !important;
    background: var(--brand) !important;
}
.tab-product-des-wrapper .nav-tabs .nav-link {
    color: #030712 !important;
}
