*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

 :root {
 --gold: #ffb406;
 --gold-dark: #ffb406;
 --dark: #224a29;
 --mid-dark: #2d2d2d;
 --cream: #F5EDD8;
 --cream-light: #FAF5EC;
 --brown: #4A2F1A;
 --text-main: #224a29;
 --text-muted: #666;
 --border: #e5e5e5;
 --white: #ffffff;
 --red: #f30000; 
 --green: #2e7d32;
}

 body {
 font-family: 'Inter', sans-serif;
 color: var(--text-main);
 background: var(--white);
 font-size: 14px;
 line-height: 1.5;
 }

 a { text-decoration: none; color: inherit; }
 ul { list-style: none; }

 /* ── TOP BAR ── */
 .topbar {
 background: var(--dark);
 color: #ccc;
 font-size: 12px;
 padding: 7px 0;
 }
 .topbar-inner {
 max-width: 1280px;
 margin: 0 auto;
 padding: 0 24px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 }
 .topbar-left {
 display: flex;
 align-items: center;
 gap: 6px;
 }
 .topbar-left svg { color: var(--gold); }
 .topbar-right {
 display: flex;
 gap: 24px;
 align-items: center;
 }
 .topbar-right a { color: #ccc; }
 .topbar-right a:hover { color: var(--white); }
 .lang-btn {
 display: flex;
 align-items: center;
 gap: 4px;
 background: rgba(255,255,255,0.1);
 border: 1px solid rgba(255,255,255,0.2);
 border-radius: 4px;
 padding: 2px 8px;
 cursor: pointer;
 color: #ccc;
 font-size: 12px;
 }

 /* ── HEADER ── */
 .header {
 background: var(--white);
 border-bottom: 1px solid var(--border);
 position: sticky;
 top: 0;
 z-index: 100;
 box-shadow: 0 1px 6px rgba(0,0,0,0.06);
 }
 .header-inner {
 max-width: 1280px;
 margin: 0 auto;
 padding: 0 24px;
 height: 68px;
 display: flex;
 align-items: center;
 gap: 40px;
 }
.logo {
 flex-shrink: 0;
 display: flex;
 align-items: center;
}

.logo img {
 width: 122px;
 height: auto;
 display: block;
}
 nav { display: flex; gap: 8px; flex: 1; }
 nav a {
 font-size: 13px;
 font-weight: 500;
 color: var(--text-main);
 padding: 8px 12px;
 border-radius: 4px;
 transition: background 0.15s;
 white-space: nowrap;
 }
 nav a:hover { background: var(--cream-light); color: var(--gold-dark); }

 .header-actions {
 display: flex;
 align-items: center;
 gap: 6px;
 margin-left: auto;
 }
 .icon-btn {
 width: 38px; height: 38px;
 display: flex; align-items: center; justify-content: center;
 border-radius: 50%;
 border: none;
 background: transparent;
 cursor: pointer;
 color: var(--text-main);
 position: relative;
 transition: background 0.15s;
 }
 .icon-btn:hover { background: var(--cream-light); }
 .cart-badge {
 position: absolute;
 top: 4px; right: -3px;
 background: var(--gold);
 color: white;
 font-size: 9px;
 width: 16px; height: 16px;
 border-radius: 50%;
 display: flex; align-items: center; justify-content: center;
 font-weight: 700;
 }


 /* ── HERO ── */
 .hero {
 position: relative;
 background: linear-gradient(90deg, #0d0d0d 0%, #1a0f07 35%, #2a1505 55%, #3d1f08 70%, #5a2e0a 85%, #7a4010 100%);
 min-height: 420px;
 overflow: hidden;
 display: flex;
 align-items: center;
 }
 .hero-bg {
 position: absolute;
 inset: 0;
 background:
 radial-gradient(ellipse 60% 80% at 70% 50%, rgba(120,70,20,0.5) 0%, transparent 70%),
 radial-gradient(ellipse 30% 50% at 85% 30%, rgba(200,140,40,0.15) 0%, transparent 60%);
 }
 
 .hero-inner {
 max-width: 1280px;
 margin: 0 auto;
 padding: 60px 24px;
 position: relative;
 z-index: 2;
 width: 100%;
 }
 .hero-eyebrow {
 color: var(--gold);
 font-size: 11px;
 font-weight: 600;
 letter-spacing: 2.5px;
 text-transform: uppercase;
 margin-bottom: 16px;
 }
 .hero-title {
 font-size: 52px;
 font-weight: 800;
 color: var(--white);
 line-height: 1.1;
 margin-bottom: 20px;
 max-width: 520px;
 }
 .hero-sub {
 color: rgba(255,255,255,0.75);
 font-size: 14px;
 max-width: 400px;
 line-height: 1.7;
 margin-bottom: 32px;
 }
 .btn-hero {
 display: inline-flex;
 align-items: center;
 gap: 10px;
 background: var(--gold);
 color: var(--dark);
 font-weight: 700;
 font-size: 13px;
 letter-spacing: 0.5px;
 padding: 13px 28px;
 border: none;
 cursor: pointer;
 transition: background 0.2s, transform 0.15s;
 }
 .btn-hero:hover { background: #b8943a; transform: translateX(2px); }
 .hero-dots {
 position: absolute;
 bottom: 20px;
 left: 50%;
 transform: translateX(-50%);
 display: flex;
 gap: 6px;
 }
 .hero-dot {
 width: 8px; height: 8px;
 border-radius: 50%;
 background: rgba(255,255,255,0.35);
 cursor: pointer;
 }
 .hero-dot.active { background: var(--gold); }

 /* ── CATEGORY CARDS ── */
.cat-section{
max-width:1280px;
margin:0 auto;
padding:32px 24px;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:12px;
}

.cat-card{
border-radius:8px;
overflow:hidden;
position:relative;
min-height:220px;
display:flex;
flex-direction:column;
justify-content:flex-end;
padding:24px;
cursor:pointer;
transition:all .3s ease;
}

.cat-card:hover{
transform:translateY(-4px);
box-shadow:0 12px 30px rgba(0,0,0,.12);
}

.cat-card-1{
background:linear-gradient(135deg,#f5e8d0 0%,#e8d0a0 100%);
}

.cat-card-2{
background:linear-gradient(135deg,#1a1a1a 0%,#2d2d2d 100%);
}

.cat-card-3{
background:linear-gradient(135deg,#d4c5a0 0%,#c8b480 100%);
}

.cat-card-img{
position:absolute;
right:10px;
top:50%;
transform:translateY(-50%);
object-fit:contain;
pointer-events:none;
transition:all .4s ease;
filter:drop-shadow(0 12px 24px rgba(0,0,0,.18));
}

.cat-card:hover .cat-card-img{
transform:translateY(-50%) scale(1.08);
}

.cat-card-1 .cat-card-img{
height:190px;
right:0;
}

.cat-card-2 .cat-card-img{
height:170px;
right:0;
}

.cat-card-3 .cat-card-img{
height:180px;
right:0;
}

.cat-tag{
font-size:11px;
font-weight:600;
letter-spacing:.5px;
margin-bottom:4px;
opacity:.75;
position:relative;
z-index:2;
}

.cat-card-2 .cat-tag{
color:#aaa;
}

.cat-title{
font-size:20px;
font-weight:800;
margin-bottom:4px;
color:var(--dark);
position:relative;
z-index:2;
}

.cat-card-2 .cat-title{
color:var(--white);
}

.cat-sub{
font-size:12px;
color:var(--text-muted);
margin-bottom:16px;
position:relative;
z-index:2;
}

.cat-card-2 .cat-sub{
color:#999;
}

.btn-cat{
display:inline-flex;
align-items:center;
gap:8px;
font-size:12px;
font-weight:600;
padding:9px 16px;
border:1.5px solid var(--dark);
background:transparent;
cursor:pointer;
transition:all .25s ease;
letter-spacing:.3px;
position:relative;
z-index:2;
}

.btn-cat:hover{
background:var(--dark);
color:var(--white);
}

.cat-card-2 .btn-cat{
border-color:var(--white);
color:var(--white);
}

.cat-card-2 .btn-cat:hover{
background:var(--white);
color:var(--dark);
}

.cat-card-3 .btn-cat{
border-color:var(--brown);
}

@media(max-width:991px){

.cat-section{
grid-template-columns:1fr;
}

.cat-card{
min-height:240px;
}

.cat-card-img{
height:140px !important;
}

}

 /* ── BESTSELLERS ── */
 .bestseller-section {
 max-width: 1280px;
 margin: 0 auto;
 padding: 8px 24px 40px;
 }
 .section-header {
 display: flex;
 align-items: center;
 justify-content: space-between;
 margin-bottom: 24px;
 }
 .section-title {
 font-size: 20px;
 font-weight: 800;
 letter-spacing: 0.5px;
 }
 .see-all {
 color: var(--gold-dark);
 font-size: 13px;
 font-weight: 500;
 display: flex;
 align-items: center;
 gap: 4px;
 }
 .see-all:hover { text-decoration: underline; }

 .carousel-wrap {
 position: relative;
 overflow: hidden;
 }
 .carousel-track {
 display: grid;
 grid-template-columns: repeat(5, 1fr);
 gap: 16px;
 }
 .carousel-btn {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 width: 36px; height: 36px;
 border-radius: 50%;
 background: var(--white);
 border: 1.5px solid var(--border);
 display: flex; align-items: center; justify-content: center;
 cursor: pointer;
 z-index: 10;
 box-shadow: 0 2px 8px rgba(0,0,0,0.1);
 transition: box-shadow 0.15s;
 }
 .carousel-btn:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
 .carousel-btn.prev { left: -18px; }
 .carousel-btn.next { right: -18px; }

 .product-card {
 border: 1px solid var(--border);
 border-radius: 4px;
 padding: 16px;
 background: var(--white);
 position: relative;
 transition: box-shadow 0.2s;
 }
 .product-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
 .product-wish {
 position: absolute;
 top: 12px; right: 12px;
 width: 30px; height: 30px;
 border-radius: 50%;
 background: var(--white);
 border: 1px solid var(--border);
 display: flex; align-items: center; justify-content: center;
 cursor: pointer;
 color: var(--text-muted);
 transition: color 0.15s, border-color 0.15s;
 }
 .product-wish:hover { color: #e44; border-color: #e44; }
 .product-img-wrap {
 display: flex;
 justify-content: center;
 align-items: flex-end;
 height: 140px;
 margin-bottom: 14px;
 padding: 8px;
 }
 .product-img-wrap img {
 max-height: 130px;
 max-width: 100%;
 object-fit: contain;
 }
 .product-name {
 font-size: 13px;
 font-weight: 700;
 margin-bottom: 2px;
 line-height: 1.3;
 }
 .product-desc {
 font-size: 11px;
 color: var(--text-muted);
 margin-bottom: 8px;
 }
 .product-price {
 font-size: 16px;
 font-weight: 800;
 color: var(--text-main);
 margin-bottom: 12px;
 }
 .product-price sup { font-size: 10px; font-weight: 600; }
 .btn-add {
 width: 100%;
 padding: 9px;
 border: 1.5px solid var(--text-main);
 background: transparent;
 font-size: 12px;
 font-weight: 600;
 cursor: pointer;
 letter-spacing: 0.5px;
 transition: background 0.15s, color 0.15s;
 }
 .btn-add:hover { background: var(--text-main); color: var(--white); }

 /* ── TRUST BAR ── */
 .trust-bar {
 background: #f7f5f2;
 border-top: 1px solid var(--border);
 border-bottom: 1px solid var(--border);
 padding: 28px 24px;
 }
 .trust-inner {
 max-width: 1280px;
 margin: 0 auto;
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 24px;
 }
 .trust-item {
 display: flex;
 align-items: flex-start;
 gap: 16px;
 }
 .trust-icon {
 flex-shrink: 0;
 width: 40px; height: 40px;
 color: var(--text-muted);
 }
 .trust-title {
 font-size: 13px;
 font-weight: 700;
 margin-bottom: 3px;
 }
 .trust-sub {
 font-size: 12px;
 color: var(--text-muted);
 }

 /* ── FOOTER ── */
 footer {
 background: var(--white);
 border-top: 1px solid var(--border);
 padding: 48px 24px 28px;
 }
 .footer-inner {
 max-width: 1280px;
 margin: 0 auto;
 display: grid;
 grid-template-columns: 220px repeat(4, 1fr);
 gap: 40px;
 padding-bottom: 40px;
 border-bottom: 1px solid var(--border);
 margin-bottom: 24px;
 }
 .footer-brand p {
 font-size: 12px;
 color: var(--text-muted);
 margin-top: 12px;
 line-height: 1.7;
 }
 .footer-social {
 display: flex;
 gap: 10px;
 margin-top: 20px;
 }
 .social-btn {
 width: 32px; height: 32px;
 border-radius: 50%;
 border: 1.5px solid var(--border);
 display: flex; align-items: center; justify-content: center;
 color: var(--text-muted);
 cursor: pointer;
 transition: border-color 0.15s, color 0.15s;
 }
 .social-btn:hover { border-color: var(--gold); color: var(--gold); }
 .footer-col h4 {
 font-size: 12px;
 font-weight: 700;
 letter-spacing: 0.5px;
 margin-bottom: 14px;
 color: var(--text-main);
 }
 .footer-col ul li {
 margin-bottom: 8px;
 }
 .footer-col ul li a {
 font-size: 12px;
 color: var(--text-muted);
 transition: color 0.15s;
 }
 .footer-col ul li a:hover { color: var(--gold-dark); }
 .newsletter-col h4 {
 font-size: 12px;
 font-weight: 700;
 margin-bottom: 8px;
 }
 .newsletter-col p {
 font-size: 12px;
 color: var(--text-muted);
 margin-bottom: 12px;
 line-height: 1.6;
 }
 .email-form {
 display: flex;
 border: 1.5px solid var(--border);
 overflow: hidden;
 }
 .email-form input {
 flex: 1;
 border: none;
 outline: none;
 padding: 9px 12px;
 font-size: 12px;
 background: var(--white);
 }
 .email-form button {
 background: var(--gold);
 border: none;
 padding: 9px 14px;
 cursor: pointer;
 color: var(--white);
 transition: background 0.15s;
 }
 .email-form button:hover { background: var(--gold-dark); }
 .footer-bottom {
 max-width: 1280px;
 margin: 0 auto;
 font-size: 11px;
 color: #aaa;
 text-align: center;
 }

 /* ── SVG ICON helpers ── */
 svg.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
 svg.icon-lg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
 .search-wrapper {
 position: relative;
 display: inline-block;
}

.search-dropdown {
 display: none;
 position: absolute;
 top: 110%;
 right: 0;
 background: #fff;
 border: 1px solid #ddd;
 border-radius: 6px;
 padding: 6px;
 display: flex;
 gap: 4px;
 z-index: 999;
 min-width: 220px;
}

.search-dropdown.open {
 display: flex;
}

.search-dropdown input {
 flex: 1;
 border: none;
 outline: none;
 padding: 4px 8px;
 font-size: 14px;
}

.search-dropdown button {
 background: none;
 border: none;
 cursor: pointer;
 font-family: FontAwesome;
 font-size: 16px;
}
 .cart-popup{
position:fixed;
top:80px;
right:20px;
width:380px;
background:#fff;
border-radius:12px;
box-shadow:0 15px 40px rgba(0,0,0,.15);
z-index:9999;
opacity:0;
visibility:hidden;
transform:translateY(-10px);
transition:.3s;
}

.cart-popup.active{
opacity:1;
visibility:visible;
transform:translateY(0);
}

.cart-popup-header{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 20px;
border-bottom:1px solid #eee;
}

.cart-popup-header h3{
margin:0;
font-size:18px;
}

.cart-close{
border:none;
background:none;
font-size:20px;
cursor:pointer;
}

.cart-popup-body{
padding:20px;
max-height:400px;
overflow:auto;
}

.cart-popup-footer{
padding:20px;
border-top:1px solid #eee;
}

.cart-view-btn{
display:block;
text-align:center;
background:#ffb406;
color:#111;
padding:12px;
text-decoration:none;
font-weight:700;
border-radius:6px;
}

.cart-view-btn:hover{
opacity:.9;
}
.uv-hidden-real {
 position: absolute;
 width: 1px;
 height: 1px;
 overflow: hidden;
 clip: rect(0 0 0 0);
 white-space: nowrap;
}
.var-label {
 margin-bottom: 10px; /* өмнө нь их байсан бол утгыг багасгах, жишээ нь 4-8px */
}

.size-options,
.grind-options {
 margin-top: 0; /* дээд талын нэмэлт зайг арилгах */
}
.wish-counter {
 position: absolute;
 top: 4px;
 right: -3px;

 background: var(--gold);
 color: white;

 font-size: 9px;

 width: 16px;
 height: 16px;

 border-radius: 50%;

 display: flex;
 align-items: center;
 justify-content: center;

 font-weight: 700;
}
.basket-g-clear {
 display: inline-flex;
 align-items: center;
 gap: 6px;
}

.basket-g-clear svg {
 width: 16px;
 height: 16px;
 fill: none;
 stroke: currentColor;
 stroke-width: 1.8;
 stroke-linecap: round;
 stroke-linejoin: round;
 flex-shrink: 0;
}

.description {
 font-family: 'Ruda', sans-serif;
}

video {
 width: 100%;
 height: 100%;
 object-fit: cover;
 display: block;
}
.basket-item-func {
 display: flex;
 align-items: center;
 justify-content: center;
}

.basket-item-del-btn {
 background: transparent;
 border: none;
 cursor: pointer;
 padding: 4px;
 color: #888;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 border-radius: 50%;
 transition: all 0.2s ease;
}

.basket-item-del-btn:hover {
 color: #e53935; /* Хулгана очиход улаан өнгөтэй болно */
 background: rgba(229, 57, 53, 0.08);
}

.basket-item-del-btn .icon {
 width: 18px;
 height: 18px;
}
.card-title-icon {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 36px;
 height: 36px;
 border-radius: 8px;
 background: #fdfbf7;
 color: #c0a468; /* Сонгосон туслах өнгө */
}

.icon-coffee {
 width: 20px;
 height: 20px;
 fill: none;
 stroke: currentColor;
 stroke-width: 2;
 stroke-linecap: round;
 stroke-linejoin: round;
}