/* =====================================================================
   Shagofy storefront - the shared look of the redesigned themes 1 and 6.
   Each theme's shagofy-modern.css sets the tokens (--sg-accent and friends);
   everything here reads them, so one merchant colour choice re-skins it all.
   ===================================================================== */

body.sg1,
body[class*="theme6-v"] {
    font-family: var(--first-font);
    color: var(--sg-ink);
    background: var(--sg-page);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.sg1 img,
body[class*="theme6-v"] img { max-width: 100%; }

.sg-header, .sg-home, .sg-footer,
.sg-home h1, .sg-home h2, .sg-home h3,
.sg-home a, .sg-home b, .sg-home small, .sg-home p,
.sg-home button, .sg-footer h3 { text-transform: none; letter-spacing: normal; }

body.sg1 .container,
body[class*="theme6-v"] .container { max-width: 1240px; padding-right: clamp(16px, 3vw, 28px); padding-left: clamp(16px, 3vw, 28px); }

/* ---------------------------------------------------------- announcement */
.sg-announce { background: var(--sg-accent); color: #fff; font-size: 13px; font-weight: 600; text-align: center; }
.sg-announce .container { padding-top: 9px; padding-bottom: 9px; }
.sg-announce span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* --------------------------------------------------------------- header */
.sg-header { position: relative; z-index: 30; background: #fff; box-shadow: none !important; }
.sg-header .sg-nav { padding: 0 !important; border-bottom: 1px solid var(--sg-line); background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); }
.sg-nav-row { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.sg-nav-end { display: flex; align-items: center; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.sg-nav-end li { margin: 0 !important; padding: 0; }
.sg-icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--sg-ink) !important; font-size: 18px; text-decoration: none; cursor: pointer; }
.sg-icon-btn:hover { background: var(--sg-soft); }
.sg-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border: 2px solid #fff; border-radius: 999px; background: var(--sg-accent); color: #fff !important; font-size: 10px; font-weight: 800; line-height: 14px; text-align: center; }
.sg-burger { display: grid; gap: 5px; width: 22px; }
.sg-burger span { display: block; height: 2px; border-radius: 2px; background: var(--sg-ink); }
.sg-logo { display: flex; flex: 0 1 auto; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
.sg-logo img { display: block; width: auto; max-width: 170px; height: 42px; object-fit: contain; }
.sg-logo-mark { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--sg-accent); color: #fff; font-size: 18px; font-weight: 800; }
.sg-logo-text { overflow: hidden; color: var(--sg-ink); font: 800 17px/1.2 var(--sg-display); text-overflow: ellipsis; white-space: nowrap; }
.sg-cart-link { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 12px; color: var(--sg-ink) !important; font-size: 18px; text-decoration: none; }
.sg-cart-link span:not(.sg-count) { font-size: 14px; font-weight: 700; }
.sg-cart-link .sg-count { top: 1px; right: 0; }
.sg-text-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 12px; color: var(--sg-ink) !important; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sg-text-btn:hover, .sg-cart-link:hover { background: var(--sg-soft); }
.sg-header-search { position: relative; flex: 1 1 auto; max-width: 520px; margin: 0 auto; }
.sg-header-search i { position: absolute; top: 50%; left: 16px; color: var(--sg-muted); transform: translateY(-50%); }
.sg-header-search input { width: 100%; height: 46px; padding: 0 16px 0 44px; border: 1.5px solid transparent; border-radius: 999px; background: var(--sg-soft); color: var(--sg-ink); font: 500 15px var(--first-font); outline: 0; transition: border-color .15s ease, background-color .15s ease; }
.sg-header-search input:focus { border-color: var(--sg-accent); background: #fff; }
.sg-subnav { border-top: 1px solid var(--sg-line); }
.sg-subnav .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sg-subnav .main-nav { display: flex; gap: 6px; margin: 0; padding: 8px 0; overflow-x: auto; list-style: none; scrollbar-width: none; }
.sg-subnav .main-nav > li,
.sg-subnav .main-nav > li:not(:last-of-type) { margin: 0 !important; padding: 0 !important; }
.sg-subnav .main-nav a { display: inline-block; padding: 7px 14px; border-radius: 999px; color: var(--sg-text); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sg-subnav .main-nav a:hover { background: var(--sg-accent-soft); color: var(--sg-accent-ink); }
.sg-subnav-contact { display: inline-flex; flex: none; align-items: center; gap: 8px; color: var(--sg-text) !important; font-size: 14px; font-weight: 600; text-decoration: none; }
.sg-subnav-contact i { color: #25d366; font-size: 18px; }
.sg-only-desktop { display: none !important; }
@media (min-width: 992px) {
    .sg-nav-row { gap: 24px; min-height: 76px; }
    .sg-logo img { height: 48px; }
    .sg-only-mobile { display: none !important; }
    .sg-only-desktop { display: block !important; }
    .sg-header-search.sg-only-desktop,
    .sg-nav-end li.sg-only-desktop, .sg-cart-link span.sg-only-desktop { display: inline-flex !important; }
    .sg-header-search.sg-only-desktop { display: block !important; }
}

/* --------------------------------------------------------------- buttons */
.sg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1.5px solid transparent; border-radius: 12px; font: 700 14px/1.2 var(--first-font); text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.sg-btn:active { transform: translateY(1px); }
.sg-btn-lg { min-height: 52px; padding: 0 24px; border-radius: 14px; font-size: 15px; }
.sg-btn-solid { background: var(--sg-accent); color: #fff !important; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--sg-accent) 70%, transparent); }
.sg-btn-solid:hover { background: var(--sg-accent-ink); }
.sg-btn-ghost { border-color: var(--sg-line); background: #fff; color: var(--sg-ink) !important; }
.sg-btn-ghost:hover { border-color: var(--sg-ink); }
.sg-btn-ghost .fa-whatsapp { color: #25d366; font-size: 18px; }
.sg-btn-outline { width: 100%; border-color: var(--sg-accent); background: #fff; color: var(--sg-accent-ink) !important; }
.sg-btn-outline:hover { background: var(--sg-accent-soft); }
.sg-btn-light { background: #fff; color: var(--sg-accent-ink) !important; }
.sg-btn-light:hover { background: var(--sg-accent-soft); }
.sg-btn-light .fa-whatsapp { color: #25d366; font-size: 18px; }
.sg-btn.is-loading { opacity: .6; pointer-events: none; }

/* ------------------------------------------------------------ search box */
.sg-search { position: relative; display: flex; align-items: center; gap: 6px; max-width: 560px; margin-top: 22px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px -18px rgba(13, 19, 33, .35); }
.sg-search-icon { margin-left: 12px; color: var(--sg-muted); }
.sg-search-input { flex: 1; min-width: 0; height: 46px; padding: 0 12px; border: 0; outline: 0; background: transparent; color: var(--sg-ink); font: 500 16px var(--first-font); }
.sg-search-input::placeholder { color: #9aa1b1; font-size: 14px; }
.sg-search-btn { display: grid; flex: none; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--sg-accent); color: #fff; font-size: 16px; cursor: pointer; }

/* ------------------------------------------------------------ general hero */
.sg-hero { position: relative; overflow: hidden; padding: clamp(28px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); background:
    radial-gradient(900px 420px at 88% -10%, color-mix(in srgb, var(--sg-accent) 16%, transparent), transparent 70%),
    radial-gradient(700px 380px at -10% 110%, color-mix(in srgb, var(--sg-warm) 18%, transparent), transparent 70%),
    var(--sg-page); }
.sg-hero-grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
.sg-eyebrow { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 7px 14px; border: 1px solid var(--sg-line); border-radius: 999px; background: #fff; color: var(--sg-text); font-size: 13px; font-weight: 600; box-shadow: 0 4px 14px rgba(13, 19, 33, .05); }
.sg-eyebrow i { color: var(--sg-accent); }
.sg-hero-copy h1 { margin: 18px 0 14px; color: var(--sg-ink); font: 800 clamp(32px, 6.2vw, 58px)/1.05 var(--sg-display); letter-spacing: -.035em !important; }
.sg-hero-copy p { max-width: 520px; margin: 0; color: var(--sg-muted); font-size: clamp(15px, 1.7vw, 18px); line-height: 1.6; }
.sg-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sg-hero-visual { position: relative; min-width: 0; }
.sg-hero-photo { display: block; width: 100%; aspect-ratio: 5 / 4; border-radius: 28px; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(13, 19, 33, .45); }
.sg-hero-empty { display: grid; place-items: center; aspect-ratio: 5 / 4; border-radius: 28px; background: linear-gradient(135deg, var(--sg-accent-soft), color-mix(in srgb, var(--sg-warm) 25%, #fff)); color: var(--sg-accent); font-size: 80px; }
.sg-collage { display: grid; gap: 12px; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 5 / 4; }
.sg-collage.is-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.sg-collage.is-2 { grid-template-rows: 1fr; }
.sg-collage-item { position: relative; display: block; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 24px 50px -28px rgba(13, 19, 33, .5); text-decoration: none; }
.sg-collage.is-3 .sg-collage-item:first-child { grid-row: 1 / span 2; }
.sg-collage-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
@media (hover: hover) { .sg-collage-item:hover img { transform: scale(1.05); } }
.sg-collage-tag { position: absolute; right: 10px; bottom: 10px; left: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, .94); box-shadow: 0 8px 20px rgba(13, 19, 33, .12); }
.sg-collage-tag b { overflow: hidden; color: var(--sg-ink); font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.sg-collage-tag small { flex: none; padding: 3px 8px; border-radius: 999px; background: var(--sg-accent); color: #fff; font-size: 12px; font-weight: 700; }
.sg-hero .sg-search { margin-top: 20px; }
@media (min-width: 900px) { .sg-hero-grid { grid-template-columns: 1.05fr 1fr; } }

/* --------------------------------------------------------------- perks */
.sg-perks-sec { padding: 0 0 clamp(8px, 2vw, 16px); }
.sg-perks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sg-perks li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--sg-line); border-radius: 18px; background: #fff; }
.sg-perk-icon { display: grid; flex: none; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--sg-accent-soft); color: var(--sg-accent); font-size: 18px; }
.sg-perks b { display: block; color: var(--sg-ink); font-size: 15px; font-weight: 700; }
.sg-perks small { display: block; margin-top: 2px; color: var(--sg-muted); font-size: 13px; line-height: 1.45; }
@media (min-width: 768px) { .sg-perks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }

/* ------------------------------------------------------------ sections */
.sg-section { padding: clamp(28px, 5vw, 56px) 0; }
.sg-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(16px, 2.6vw, 26px); }
.sg-section-head > div { min-width: 0; }
.sg-section-head h2 { margin: 0; color: var(--sg-ink); font: 800 clamp(22px, 3.4vw, 32px)/1.15 var(--sg-display); letter-spacing: -.02em !important; }
.sg-section-head p { margin: 6px 0 0; color: var(--sg-muted); font-size: 14px; }
.sg-pill-link { display: inline-flex; flex: none; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--sg-accent-soft); color: var(--sg-accent-ink) !important; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.sg-pill-link i { font-size: 12px; transition: transform .15s ease; }
.sg-pill-link:hover i { transform: translateX(3px); }

/* ---------------------------------------------------------- categories */
.sg-cats { display: grid; grid-auto-columns: minmax(140px, 1fr); grid-auto-flow: column; gap: 12px; padding-bottom: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sg-cats::-webkit-scrollbar { display: none; }
.sg-cat { display: grid; gap: 2px; padding: 10px 10px 14px; border: 1px solid var(--sg-line); border-radius: 20px; background: #fff; color: var(--sg-ink) !important; text-decoration: none; scroll-snap-align: start; transition: border-color .15s ease, transform .2s ease, box-shadow .2s ease; }
.sg-cat:hover { border-color: color-mix(in srgb, var(--sg-accent) 40%, var(--sg-line)); box-shadow: 0 18px 32px -24px rgba(13, 19, 33, .45); transform: translateY(-3px); }
.sg-cat-img { display: block; margin-bottom: 10px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: var(--sg-soft); }
.sg-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.sg-cat b { padding: 0 4px; overflow: hidden; font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.sg-cat small { padding: 0 4px; color: var(--sg-muted); font-size: 12px; }
@media (min-width: 992px) { .sg-cats { grid-auto-columns: minmax(170px, 1fr); gap: 16px; } }

/* --------------------------------------------------------- product grid */
.sg-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 640px) { .sg-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1024px) { .sg-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }

.sg-card { display: flex; flex-direction: column; min-width: 0; height: 100%; padding: 8px; border: 1px solid var(--sg-line); border-radius: 20px; background: #fff; container-type: inline-size; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
@media (hover: hover) { .sg-card:hover { border-color: transparent; box-shadow: 0 22px 44px -26px rgba(13, 19, 33, .45); transform: translateY(-3px); } }
.sg-card-media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 14px; background: var(--sg-soft); }
.sg-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
@media (hover: hover) { .sg-card:hover .sg-card-media img { transform: scale(1.05); } }
.sg-badge { position: absolute; top: 8px; left: 8px; padding: 4px 9px; border-radius: 999px; background: var(--sg-sale); color: #fff; font-size: 11px; font-weight: 800; line-height: 1.3; }
.sg-card-body { display: flex; flex: 1; flex-direction: column; gap: 3px; padding: 12px 6px 4px; }
.sg-card-title { margin: 0; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font: 600 14px/1.35 var(--first-font); }
.sg-card-title a { color: var(--sg-ink) !important; text-decoration: none; }
.sg-card-blurb { margin: 0; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--sg-muted); font-size: 12.5px; line-height: 1.45; }
.sg-card-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; margin-top: 4px; }
.sg-card-price ins { color: var(--sg-ink); font-size: 16px; font-weight: 800; text-decoration: none; }
.sg-card-price ins small { color: var(--sg-muted); font-size: 12px; font-weight: 600; }
.sg-card-price del { color: var(--sg-muted); font-size: 12.5px; }
.sg-card-actions { display: flex; align-items: stretch; gap: 6px; margin-top: auto; padding-top: 12px; }
.sg-card-actions .sg-buy-now { flex: 1; min-width: 0; margin: 0; }
.sg-card-actions .sg-buy-now-btn,
.sg-home .sg-buy-now-btn { min-height: 40px; padding: 0 8px; overflow: hidden; border-radius: 12px; background: var(--sg-accent); font-size: 13.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.sg-home .sg-buy-now-btn:hover { background: var(--sg-accent-ink); filter: none; }
.sg-cart-btn { display: grid; flex: none; place-items: center; width: 40px; min-height: 40px; border: 0; border-radius: 12px; background: var(--sg-accent-soft); color: var(--sg-accent-ink) !important; font-size: 15px; text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.sg-cart-btn:hover { background: var(--sg-accent); color: #fff !important; }
.sg-cart-btn.is-loading { opacity: .6; pointer-events: none; }
@container (min-width: 230px) {
    .sg-card-title { font-size: 15px; }
    .sg-card-price ins { font-size: 17px; }
}
@container (max-width: 150px) {
    .sg-card-actions { flex-direction: column; }
    .sg-cart-btn { width: 100%; }
}

/* -------------------------------------------------- newsletter & CTA band */
.sg-newsletter { position: relative; display: grid; gap: 20px; overflow: hidden; padding: clamp(28px, 5vw, 48px); border-radius: 28px; background: linear-gradient(135deg, var(--sg-accent), var(--sg-accent-ink)); color: #fff; isolation: isolate; }
.sg-newsletter::after { content: ""; position: absolute; top: -80px; right: -60px; z-index: -1; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.sg-newsletter h2 { margin: 0 0 8px; color: #fff; font: 800 clamp(22px, 3.6vw, 32px)/1.15 var(--sg-display); letter-spacing: -.02em !important; }
.sg-newsletter p { max-width: 520px; margin: 0; color: rgba(255, 255, 255, .85); line-height: 1.6; }
.sg-newsletter-form { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 480px; }
.sg-input { width: 100%; min-height: 50px; padding: 0 16px; border: 1.5px solid transparent; border-radius: 14px; background: #fff; color: var(--sg-ink); font: 500 16px var(--first-font); }
.sg-input:focus { outline: 3px solid rgba(255, 255, 255, .45); }
.sg-newsletter .sg-btn { min-height: 50px; border-radius: 14px; }
@media (min-width: 576px) { .sg-newsletter-form { flex-direction: row; } .sg-newsletter-form .sg-btn { flex: none; padding: 0 26px; } }
@media (min-width: 900px) { .sg-newsletter { grid-template-columns: 1fr auto; align-items: center; gap: 40px; } }

/* ------------------------------------------------------------- reviews */
.sg-testimonials .slick-track { display: flex; }
.sg-testimonial-slide { height: auto; padding: 6px; }
.sg-testimonial { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 22px; border: 1px solid var(--sg-line); border-radius: 20px; background: #fff; }
.sg-testimonial p { margin: 0; color: var(--sg-text); font-size: 15px; line-height: 1.6; }
.sg-testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.sg-testimonial-person img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.sg-testimonial-person b { display: block; font-size: 14px; }
.sg-testimonial-person span { color: var(--sg-muted); font-size: 13px; }
.sg-stars { display: flex; gap: 2px; color: #d9dde5; font-size: 12px; }
.sg-stars .is-on { color: #f5a524; }

/* ----------------------------------------------------------- food hero */
.sg-food-hero { position: relative; display: flex; align-items: center; min-height: clamp(460px, 62vh, 620px); padding: 56px 0; background: #1a1410 var(--sg-hero-image) center / cover no-repeat; color: #fff; isolation: isolate; }
.sg-food-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 10, 8, .88) 0%, rgba(14, 10, 8, .62) 45%, rgba(14, 10, 8, .15) 100%); }
.sg-food-hero .container { width: 100%; }
.sg-food-hero-copy { max-width: 600px; }
.sg-food-hero .sg-eyebrow { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .12); color: #fff; box-shadow: none; backdrop-filter: blur(6px); }
.sg-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .25); animation: sg-pulse 2s ease-in-out infinite; }
@keyframes sg-pulse { 50% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } }
.sg-food-hero h1 { margin: 18px 0 14px; color: #fff; font: 800 clamp(34px, 6.4vw, 64px)/1.03 var(--sg-display); letter-spacing: -.035em !important; }
.sg-food-hero p { max-width: 500px; margin: 0; color: rgba(255, 255, 255, .86); font-size: clamp(15px, 1.7vw, 18px); line-height: 1.6; }
.sg-food-hero .sg-search { margin-top: 26px; }
.sg-food-hero .sg-search .sg-btn { min-height: 46px; border-radius: 12px; }
.sg-food-perks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; }
.sg-food-perks li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .9); font-size: 14px; font-weight: 600; }
.sg-food-perks i { color: var(--sg-warm); }
@media (max-width: 575px) {
    .sg-food-hero { align-items: flex-end; min-height: 520px; padding: 36px 0 28px; }
    .sg-food-hero::before { background: linear-gradient(180deg, rgba(14, 10, 8, .2) 0%, rgba(14, 10, 8, .75) 45%, rgba(14, 10, 8, .92) 100%); }
    .sg-food-hero .sg-search .sg-btn { padding: 0 14px; }
    .sg-food-hero .sg-search-icon { display: none; }
}

/* ---------------------------------------------------------- food chips */
.sg-chips-sec { padding-bottom: 0; }
.sg-chips { display: flex; gap: clamp(12px, 2vw, 22px); padding: 4px 2px 10px; overflow-x: auto; scrollbar-width: none; }
.sg-chips::-webkit-scrollbar { display: none; }
.sg-chip { display: grid; flex: none; justify-items: center; gap: 2px; width: clamp(92px, 12vw, 128px); color: var(--sg-ink) !important; text-align: center; text-decoration: none; }
.sg-chip-img { display: block; width: clamp(80px, 10vw, 112px); aspect-ratio: 1; margin-bottom: 8px; padding: 4px; border: 2px solid var(--sg-accent-soft); border-radius: 50%; background: #fff; transition: border-color .15s ease, transform .2s ease; }
.sg-chip-img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.sg-chip:hover .sg-chip-img { border-color: var(--sg-accent); transform: translateY(-3px); }
.sg-chip b { font-size: 14px; font-weight: 700; line-height: 1.25; }
.sg-chip small { color: var(--sg-muted); font-size: 12px; }

/* ------------------------------------------------------------ menu list */
.sg-menu-board { padding: clamp(20px, 4vw, 40px); border-radius: 28px; background: var(--sg-soft); }
.sg-menu-group + .sg-menu-group { margin-top: clamp(22px, 3vw, 34px); }
.sg-menu-group { scroll-margin-top: 100px; }
.sg-menu-group-title { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--sg-ink); font: 800 19px/1.2 var(--sg-display); }
.sg-menu-group-title::after { content: ""; flex: 1; height: 1px; background: var(--sg-line); }
.sg-menu-list { display: grid; gap: 12px; }
@media (min-width: 900px) { .sg-menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.sg-menu-row { display: flex; min-width: 0; max-width: 100%; gap: 14px; padding: 10px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(13, 19, 33, .04); }
.sg-menu-row-img { flex: none; width: 96px; height: 96px; overflow: hidden; border-radius: 14px; background: var(--sg-soft); }
.sg-menu-row-img img { width: 100%; height: 100%; object-fit: cover; }
.sg-menu-row-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 2px 2px 0 0; }
.sg-menu-row h3 { margin: 0; overflow: hidden; font: 700 15px/1.3 var(--first-font); text-overflow: ellipsis; white-space: nowrap; }
.sg-menu-row h3 a { color: var(--sg-ink) !important; text-decoration: none; }
.sg-menu-row p { margin: 3px 0 0; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--sg-muted); font-size: 13px; line-height: 1.45; }
.sg-menu-row-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.sg-menu-row-price { color: var(--sg-ink); font-size: 16px; font-weight: 800; }
.sg-menu-row-price small { color: var(--sg-muted); font-size: 12px; font-weight: 600; }
.sg-add-btn { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sg-accent); color: #fff !important; font-size: 14px; text-decoration: none; box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--sg-accent) 80%, transparent); transition: transform .15s ease, background-color .15s ease; }
.sg-add-btn:hover { background: var(--sg-accent-ink); transform: scale(1.08); }
.sg-add-btn.is-loading { opacity: .6; pointer-events: none; }
.sg-newsletter.is-whatsapp { background: linear-gradient(135deg, #0f7a4a, #0b5a37); }

/* ----------------------------------------------------------------- footer */
.sg-footer { margin-top: clamp(24px, 4vw, 48px); padding-top: clamp(40px, 6vw, 64px); background: var(--sg-footer) !important; color: rgba(255, 255, 255, .72); }
.sg-footer-grid { display: flex; flex-wrap: wrap; gap: 30px 40px; padding-bottom: 36px; }
.sg-footer-brand { flex: 1 1 100%; }
.sg-footer-col { flex: 1 1 140px; min-width: 0; }
@media (min-width: 1024px) { .sg-footer-brand { flex: 1.8 1 280px; } }
.sg-footer-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: #fff !important; text-decoration: none; }
.sg-footer-logo img { width: auto; max-width: 170px; max-height: 52px; padding: 6px 10px; border-radius: 12px; background: #fff; object-fit: contain; }
.sg-footer-logo b { font: 800 18px/1.2 var(--sg-display); }
.sg-footer-brand p { max-width: 340px; margin: 0; color: rgba(255, 255, 255, .7); font-size: 14px; line-height: 1.65; }
.sg-footer h3 { margin: 0 0 14px; color: #fff; font: 700 15px/1.3 var(--first-font); }
.sg-footer ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.sg-footer ul a { color: rgba(255, 255, 255, .72) !important; font-size: 14px; text-decoration: none; }
.sg-footer ul a:hover { color: #fff !important; }
.sg-footer-contact li { display: flex; gap: 10px; min-width: 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.sg-footer-contact li a { min-width: 0; }
.sg-footer-contact i { flex: none; width: 16px; margin-top: 3px; color: var(--sg-warm); }
.sg-footer-social { display: flex !important; gap: 8px !important; margin-top: 18px !important; }
.sg-footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff !important; }
.sg-footer-social a:hover { background: var(--sg-accent); }
.sg-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.sg-footer-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-top: 18px; padding-bottom: 18px; }
.sg-footer-bottom p { margin: 0; color: rgba(255, 255, 255, .6); font-size: 13px; }
.sg-powered { color: rgba(255, 255, 255, .6) !important; font-size: 13px; text-decoration: none; }
.sg-powered b { color: #fff; }

/* WhatsApp, always within reach */
.sg-wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff !important; font-size: 28px; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8); transition: transform .15s ease; }
.sg-wa-float:hover { transform: scale(1.07); }

/* --------------------------------------------- listing and product pages */
body.sg1 ul.tabs,
body[class*="theme6-v"] ul.tabs { display: flex; flex-wrap: nowrap; gap: 8px; margin: 0 0 22px; padding: 2px 0 8px; overflow-x: auto; border: 0; list-style: none; scrollbar-width: none; }
body.sg1 ul.tabs::-webkit-scrollbar,
body[class*="theme6-v"] ul.tabs::-webkit-scrollbar { display: none; }
body.sg1 ul.tabs li,
body[class*="theme6-v"] ul.tabs li { flex: none; margin: 0 !important; padding: 0; border: 0; background: none; }
body.sg1 ul.tabs li a,
body[class*="theme6-v"] ul.tabs li a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--sg-line); border-radius: 999px; background: #fff; color: var(--sg-text); font: 600 14px/1 var(--first-font); text-decoration: none; white-space: nowrap; }
body.sg1 ul.tabs li a::after,
body[class*="theme6-v"] ul.tabs li a::after { display: none; }
body.sg1 ul.tabs li.active a,
body[class*="theme6-v"] ul.tabs li.active a { border-color: var(--sg-accent); background: var(--sg-accent); color: #fff; }
body.sg1 .row:has(> [class*="col-"] > .sg-card),
body[class*="theme6-v"] .row:has(> [class*="col-"] > .sg-card) { row-gap: 14px; margin-right: -7px; margin-left: -7px; }
body.sg1 .row > [class*="col-"]:has(> .sg-card),
body[class*="theme6-v"] .row > [class*="col-"]:has(> .sg-card) { flex: 0 0 50%; width: 50%; max-width: 50%; padding-right: 7px; padding-left: 7px; }
@media (min-width: 640px) {
    body.sg1 .row:has(> [class*="col-"] > .sg-card),
    body[class*="theme6-v"] .row:has(> [class*="col-"] > .sg-card) { row-gap: 18px; margin-right: -9px; margin-left: -9px; }
    body.sg1 .row > [class*="col-"]:has(> .sg-card),
    body[class*="theme6-v"] .row > [class*="col-"]:has(> .sg-card) { flex-basis: 33.333%; width: 33.333%; max-width: 33.333%; padding-right: 9px; padding-left: 9px; }
}
@media (min-width: 1024px) {
    body.sg1 .row:has(> [class*="col-"] > .sg-card),
    body[class*="theme6-v"] .row:has(> [class*="col-"] > .sg-card) { row-gap: 22px; margin-right: -11px; margin-left: -11px; }
    body.sg1 .row > [class*="col-"]:has(> .sg-card),
    body[class*="theme6-v"] .row > [class*="col-"]:has(> .sg-card) { flex-basis: 25%; width: 25%; max-width: 25%; padding-right: 11px; padding-left: 11px; }
}
body.sg1 .pdp-right-column .section-title h2,
body[class*="theme6-v"] .pdp-right-column .section-title h2 { color: var(--sg-ink); font: 800 clamp(24px, 5vw, 36px)/1.15 var(--sg-display); letter-spacing: -.02em; }
body.sg1 .pdp-right-column .product-price .variation_price,
body[class*="theme6-v"] .pdp-right-column .product-price .variation_price { color: var(--sg-accent-ink); font-size: 28px; font-weight: 800; }
body.sg1 .cart-btn-wrp > a,
body[class*="theme6-v"] .cart-btn-wrp > a { flex: 1 1 200px; }
body.sg1 .cart-btn-wrp .cart-btn,
body[class*="theme6-v"] .cart-btn-wrp .cart-btn { width: 100%; min-height: 52px; border-radius: 14px; font: 700 15px/1 var(--first-font); }
body.sg1 .cart-btn-wrp .add_to_cart .cart-btn,
body[class*="theme6-v"] .cart-btn-wrp .add_to_cart .cart-btn { border: 1.5px solid var(--sg-accent); background: #fff; color: var(--sg-accent-ink); }
body.sg1 .cart-btn-wrp .buy_now .cart-btn,
body[class*="theme6-v"] .cart-btn-wrp .buy_now .cart-btn { border: 1.5px solid var(--sg-accent); background: var(--sg-accent); color: #fff; }
body.sg1 .related-product-slider .slick-list,
body[class*="theme6-v"] .related-product-slider .slick-list { margin: 0 -7px; }
body.sg1 .related-product-slider .slick-slide,
body[class*="theme6-v"] .related-product-slider .slick-slide { padding: 0 7px; }

@media (prefers-reduced-motion: reduce) {
    .sg-dot { animation: none; }
    .sg-card, .sg-card-media img, .sg-collage-item img, .sg-cat, .sg-btn, .sg-chip-img { transition: none !important; }
}

/* ------------------------------------------------------------ phone polish */
.sg-search-input { border: 0 !important; box-shadow: none !important; }
@media (max-width: 575px) {
    .sg-collage-item:not(:first-child) .sg-collage-tag b { display: none; }
    .sg-collage-item:not(:first-child) .sg-collage-tag { right: auto; padding: 4px; }
    .sg-collage-tag b { font-size: 12px; }
}
@media (max-width: 767px) {
    .sg-perks { grid-auto-columns: minmax(250px, 80%); grid-auto-flow: column; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .sg-perks::-webkit-scrollbar { display: none; }
    .sg-perks li { scroll-snap-align: start; }
}

/* ------------------------------------------------- inner pages, same voice */
body.sg1 :is(h1, h2, h3, h4, h5, .section-title h2),
body[class*="theme6-v"] :is(h1, h2, h3, h4, h5, .section-title h2) { font-family: var(--sg-display); letter-spacing: -.01em; }
body.sg1 .common-banner-sec,
body[class*="theme6-v"] .common-banner-sec { padding: clamp(28px, 5vw, 48px) 0 !important; background: linear-gradient(135deg, var(--sg-accent-soft), color-mix(in srgb, var(--sg-warm) 14%, #fff)) !important; }
body.sg1 .common-banner-sec::before, body.sg1 .common-banner-sec::after,
body[class*="theme6-v"] .common-banner-sec::before, body[class*="theme6-v"] .common-banner-sec::after { display: none !important; }
body.sg1 .common-banner-sec h2,
body[class*="theme6-v"] .common-banner-sec h2 { margin: 0; color: var(--sg-ink); font: 800 clamp(26px, 4.5vw, 40px)/1.1 var(--sg-display); text-transform: none; }
body.sg1 .product-category-sec .section-title h2,
body[class*="theme6-v"] .product-category-sec .section-title h2 { font-size: clamp(22px, 3.4vw, 32px); font-weight: 800; text-transform: none; }
body.sg1 .pdp-left-column :is(.pdp-main-slider, .pdp-thumb-slider) img,
body[class*="theme6-v"] .pdp-left-column :is(.pdp-main-slider, .pdp-thumb-slider) img { border-radius: 16px; object-fit: cover; }
body.sg1 .tabs-wrapper .tabs li a,
body[class*="theme6-v"] .tabs-wrapper .tabs li a { font-weight: 700; }
