/* ══ Hero 60/20/20 slide carousel ══ */
.hero-section { background: #f0f0f0; padding: 20px 0 14px; overflow: hidden; }
.hero-inner { position: relative; }
.hero-viewport { position: relative; padding-top: 26%; height: 0; cursor: grab; }
.hero-viewport.dragging { cursor: grabbing; }
.hero-track { position: absolute; inset: 0; }
.hero-item {
    position: absolute; overflow: hidden; border-radius: 12px; pointer-events: none;
    transition: left .55s cubic-bezier(.25,.46,.45,.94),
                width .55s cubic-bezier(.25,.46,.45,.94),
                top .55s cubic-bezier(.25,.46,.45,.94),
                height .55s cubic-bezier(.25,.46,.45,.94),
                opacity .4s ease;
}
.hero-item img, .hero-item a img { width: 100%; height: 100%; object-fit: contain; display: block; background: #e8e8e8; }
.hero-item-center img, .hero-item-center a img { object-fit: cover; background: none; box-shadow: 0 6px 28px rgba(0,0,0,.2); }
.hero-item a { display: block; height: 100%; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; background: rgba(0,0,0,.3); border: none; border-radius: 999px; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 15px; transition: background .2s; z-index: 5; }
.hero-nav:hover { background: rgba(0,0,0,.55); }
.hero-nav.prev { left: 20px; }
.hero-nav.next { right: 20px; }
.hero-dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 2px; }
.hero-dot { width: 7px; height: 7px; border-radius: 999px; background: rgba(0,0,0,.2); cursor: pointer; border: none; transition: all .3s; padding: 0; }
.hero-dot.active { width: 22px; background: var(--kgm-green-600,#2d6a4f); }

@media (max-width: 767px) {
    .hero-section { padding: 0; background: #111; }
    .hero-viewport { padding-top: 43.5%; }
    .hero-nav.prev { left: 8px; }
    .hero-nav.next { right: 8px; }
    .hero-dots { padding: 8px 0 4px; background: #111; }
    .hero-dot { background: rgba(255,255,255,.35); }
    .hero-dot.active { background: white; }
}

/* ══ Features bar ══ */
.features-bar {
    background: linear-gradient(135deg, #0d2818 0%, #1a3a2a 60%, #1e4d35 100%);
    box-shadow: 0 4px 24px rgba(13,40,24,0.22);
}
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature-item {
    display: flex; align-items: center; gap: 16px;
    padding: 22px 24px;
    border-right: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s;
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: rgba(255,255,255,0.04); }
.feature-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    background: rgba(201,168,76,0.12);
    border: 1.5px solid rgba(201,168,76,0.35);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #f0c040;
    font-size: 22px;
}
.feature-text strong { display: block; font-size: 13px; font-weight: 700; color: #ffffff; }
.feature-text span { font-size: 11.5px; color: rgba(255,255,255,0.5); margin-top: 1px; display: block; }

/* ══ Product tabs ══ */
.product-tabs { display: flex; gap: 6px; margin-bottom: 22px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; scrollbar-width: none; }
.product-tabs::-webkit-scrollbar { display: none; }
.product-tab { padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: 13px; cursor: pointer; border: 2px solid #e8ecef; background: white; color: #555; transition: all 0.2s; white-space: nowrap; flex-shrink: 0; font-family: inherit; }
.product-tab.active { background: var(--kgm-green-600); color: white; border-color: var(--kgm-green-600); }

/* ══ Promo banners ══ */
.promo-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 215px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.14);
    transition: transform 0.28s, box-shadow 0.28s;
    display: block;
}
.promo-banner:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(0,0,0,0.22); }

/* Image fills entire card */
.promo-banner-img-wrap { position: absolute; inset: 0; }
.promo-banner-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.55s ease; }
.promo-banner:hover .promo-banner-img { transform: scale(1.07); }

/* Content area + diagonal overlay via ::before */
.promo-banner-body {
    position: relative;
    z-index: 2;
    padding: 28px 24px 28px 46%;
    min-height: 215px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}
.promo-banner-body::before {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 14% 100%);
    z-index: -1;
}
.promo-banner.green .promo-banner-body::before {
    background: linear-gradient(155deg, rgba(13,40,24,0.93) 0%, rgba(30,77,53,0.88) 100%);
}
.promo-banner.gold .promo-banner-body::before {
    background: linear-gradient(155deg, rgba(90,58,0,0.93) 0%, rgba(160,110,10,0.88) 100%);
}

.promo-tag   { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.65); }
.promo-title { font-size: clamp(18px, 3.5vw, 24px); font-weight: 800; line-height: 1.45; margin: 8px 0 16px; color: white; }

/* ≤576px: card is full-width, shrink offset slightly */
@media (max-width: 576px) {
    .promo-banner-body { padding-left: 40%; }
    .promo-banner-body::before { clip-path: polygon(24% 0, 100% 0, 100% 100%, 8% 100%); }
}

/* ══ Testimonials grid ══ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ══ Online channels ══ */
.online-channels-section { background: #E1CD94; }
.online-channels-title { font-size: clamp(28px, 5vw, 48px); font-weight: 900; color: var(--kgm-green-900, #1a3a2a); line-height: 1.5; margin: 0 0 6px; }
.online-channels-subtitle { font-size: clamp(14px, 2vw, 18px); color: var(--kgm-green-800, #1f4d32); font-weight: 600; margin: 0 0 36px; }
.online-channels-grid { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; align-items: center; }
.online-channel-card { display: block; text-decoration: none; width: 290px; max-width: 100%; transition: transform 0.25s, filter 0.25s; }
.online-channel-card:hover { transform: translateY(-7px); }
.online-channel-card img { width: 100%; height: auto; border-radius: 18px; display: block; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.13)); transition: filter 0.25s; }
.online-channel-card:hover img { filter: drop-shadow(0 10px 24px rgba(0,0,0,0.22)); }

/* ══ Categories ══ */
.cat-section { background: #f8faf8; padding: 44px 0 36px; }
.cat-grid { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.cat-card { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; }
.cat-img-wrap {
    width: 150px; height: 150px; border-radius: 16px; overflow: hidden; position: relative;
    background: white;
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
    border: 4px solid white;
    outline: 2px solid #e8ecef;
    transition: all 0.3s;
}
.cat-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.cat-card:hover .cat-img-wrap { outline-color: var(--kgm-green-400); box-shadow: 0 12px 36px rgba(45,106,79,0.22); transform: translateY(-5px); }
.cat-card:hover .cat-img-wrap img { transform: scale(1.07); }
.cat-name {
    font-size: 13px; font-weight: 700; color: var(--kgm-green-800);
    text-align: center; line-height: 1.45; max-width: 140px;
    transition: color 0.2s;
}
.cat-card:hover .cat-name { color: var(--kgm-green-600); }

/* ══ Product Types ══ */
.type-section { background: white; padding: 44px 0 36px; }
.section-header { text-align: center; margin-bottom: 28px; }
.section-header .section-subtitle { text-align: center; }
.section-header .section-divider { margin: 10px auto 0; }

.type-grid { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }

.type-card {
    display: flex; flex-direction: column; align-items: center;
    gap: 10px; text-decoration: none;
}
.type-img-wrap {
    width: 110px; height: 110px;
    border-radius: 50%; overflow: hidden; position: relative;
    background: white;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    border: 3px solid white;
    outline: 2px solid #e8ecef;
    transition: all 0.3s;
}
.type-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.35s;
}
.type-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 34px;
    color: var(--kgm-green-400, #52b788);
    background: var(--kgm-green-50, #f0faf4);
}
.type-card:hover .type-img-wrap {
    outline-color: var(--kgm-green-400, #52b788);
    transform: translateY(-4px);
}
.type-card:hover .type-img-wrap img { transform: scale(1.05); }
.type-name {
    font-size: 13px; font-weight: 700;
    color: var(--kgm-green-800, #1a3a2a);
    text-align: center; line-height: 1.4;
    max-width: 110px;
    transition: color 0.2s;
}
.type-card:hover .type-name { color: var(--kgm-green-600, #2d6a4f); }

/* ══ Coupon carousel ══ */
.cq-sec { background:#ffffff; padding:0px 0 0px; }
.cq-wrap { position:relative; }

.cq-viewport { overflow:hidden; padding:10px 2px 6px; cursor:grab; user-select:none; }
.cq-track    { display:flex; gap:14px; transition:transform .45s cubic-bezier(.4,0,.2,1); will-change: transform; }

.cq-ticket {
    flex: 0 0 272px;
    height: 92px;
    display: flex;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.04);
    position: relative;
    overflow: visible;
}

.cq-left {
    width: 82px;
    flex-shrink: 0;
    border-radius: 12px 0 0 12px;
    background: linear-gradient(150deg, var(--kgm-green-700), var(--kgm-green-500));
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
}
.cq-left-inner {
    position: absolute; inset: 0;
    background: linear-gradient(150deg, rgba(10,55,30,.80), rgba(20,80,45,.65));
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: white; text-align: center; gap: 1px; padding: 6px;
}
.cq-num  { font-size:22px; font-weight:900; line-height:1; letter-spacing:-.5px; }
.cq-lbl  { font-size:10px; font-weight:600; opacity:.85; }

.cq-notch {
    position: absolute; left: 74px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: #f3f5f3;
    z-index: 3; display: block;
}
.cq-nt { top: -8px; }
.cq-nb { bottom: -8px; }

.cq-right {
    flex: 1; min-width: 0;
    padding: 10px 14px 10px 14px;
    border-left: 1.5px dashed #d4d9d4;
    border-radius: 0 12px 12px 0;
    display: flex; flex-direction: column; justify-content: center; gap: 3px;
    overflow: hidden;
}
.cq-name {
    font-size: 13px; font-weight: 700; color: #1a2e1f;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3;
}
.cq-cond { font-size: 11px; color: #999; line-height: 1.3; }
.cq-btn {
    display: inline-block; margin-top: 5px; align-self: flex-start;
    font-size: 11px; font-weight: 700; color: white;
    background: var(--kgm-green-600); border-radius: 20px;
    padding: 3px 12px; text-decoration: none; line-height: 1.6;
    transition: background .15s;
}
.cq-btn:hover { background: var(--kgm-green-700); color: white; }
.cq-btn { border: none; cursor: pointer; font-family: inherit; }
.cq-btn.cq-got { background: var(--kgm-green-100); color: var(--kgm-green-700); cursor: default; }
.cq-btn.cq-got:hover { background: var(--kgm-green-100); color: var(--kgm-green-700); }

.cq-arrow {
    position: absolute; top: 50%; transform: translateY(calc(-50% - 10px)); z-index: 10;
    width: 30px; height: 30px; border-radius: 50%; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 13px;
    background: white; box-shadow: 0 2px 8px rgba(0,0,0,.12);
    color: var(--kgm-green-700); transition: all .2s;
}
.cq-arrow:hover { background: var(--kgm-green-600); color: white; }
.cq-prev { left: -16px; }
.cq-next { right: -16px; }
@media (min-width: 641px) { .cq-arrow { display: none; } }


/* ══ Responsive ══ */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .feature-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,0.08); }
    .feature-item:nth-last-child(-n+2) { border-bottom: none; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .cat-img-wrap { width: 120px; height: 120px; border-radius: 14px; }
    .cat-grid { gap: 14px; }
}
@media (max-width: 480px) {
    .cat-img-wrap { width: 90px; height: 90px; border-width: 3px; border-radius: 12px; }
    .cat-name { font-size: 12px; max-width: 90px; }
    .cat-grid { gap: 10px; }
}
@media (max-width: 640px) {
    .online-channel-card { width: calc(50% - 12px); min-width: 140px; max-width: 290px; }
}
@media (max-width: 600px) {
    .promo-banner { min-height: 150px; grid-template-columns: 5fr 7fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .feature-text span { display: none; }
    .cta-btns { flex-direction: column; align-items: stretch; }
    .cta-btns .btn { justify-content: center; }
    .cq-prev { left:0; } .cq-next { right:0; }
}
@media (max-width: 480px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-item { padding: 14px 12px; gap: 8px; }
    .feature-icon { width: 36px; height: 36px; font-size: 16px; border-radius: 10px; }
    .feature-text strong { font-size: 12px; }
}
@media (max-width: 600px) {
    .type-img-wrap { width: 88px; height: 88px; }
    .type-name { font-size: 12px; max-width: 88px; }
    .type-grid { gap: 16px; }
    .type-section { padding: 32px 0 24px; }
    .cq-arrow { display: none; }
}
