/*
Theme Name: Octopus Storefront
Description: Mobile-first presentation layer for Octopus Commerce Core.
Version: 0.3.0-alpha
Requires at least: 7.0
Requires PHP: 8.3
Text Domain: octopus-storefront
*/
:root{--oc-max:1160px;--ink:#111827;--muted:#64748b;--line:#e5e7eb;--surface:#fff;--bg:#f7f8fa}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}a{color:inherit}.wrap{width:min(var(--oc-max),calc(100% - 32px));margin:auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0}.brand{text-decoration:none;font-weight:900;letter-spacing:-.02em}.cart-link{text-decoration:none;background:#111827;color:#fff;border-radius:999px;padding:9px 12px;font-size:13px;font-weight:800}.cart-link span{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;background:#fff;color:#111827;border-radius:999px;margin-left:4px}.site-footer{background:#fff;border-top:1px solid var(--line);margin-top:64px}.site-footer .wrap{padding:24px 0;color:var(--muted);font-size:14px}.hero{padding:58px 0 30px}.hero.compact{padding-bottom:24px}.eyebrow{display:block;font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:900;color:var(--muted);margin-bottom:10px}.hero h1{font-size:clamp(38px,8vw,68px);line-height:.98;letter-spacing:-.045em;margin:0}.hero p{max-width:650px;color:var(--muted);font-size:18px;line-height:1.6;margin:16px 0 0}.product-section{padding-bottom:24px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 16px}.section-heading h2{font-size:26px;margin:0}.section-heading a{font-size:14px;color:var(--muted)}.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 8px 30px rgba(15,23,42,.035)}.product-image-link{display:block;position:relative;background:#edf1f5;aspect-ratio:4/5;overflow:hidden}.product-image-link img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}.product-card:hover .product-image-link img{transform:scale(1.025)}.product-image-empty{width:100%;height:100%;display:grid;place-items:center;color:#94a3b8;background:#eef2f7}.badge{position:absolute;top:12px;left:12px;display:inline-flex;background:#111827;color:#fff;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}.product-card .inside{padding:15px}.product-card h3{font-size:18px;line-height:1.25;margin:0}.product-card h3 a{text-decoration:none}.card-description{color:var(--muted);font-size:14px;line-height:1.45;margin:7px 0 14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px}.product-card-bottom{display:flex;justify-content:space-between;gap:12px;align-items:end}.price{font-size:20px;font-weight:900;line-height:1.2}.price small,.detail-price small{font-size:12px;color:var(--muted);font-weight:600}.old-price{text-decoration:line-through;color:#94a3b8;font-size:13px}.quick-add{flex:0 0 44px;width:44px;height:44px;border:0;border-radius:50%;background:#111827;color:#fff;font-size:24px;line-height:1;cursor:pointer}.quick-add:disabled{background:#cbd5e1;cursor:not-allowed;font-size:11px}.pagination{margin-top:32px}.pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}.pagination a,.pagination span{padding:8px 11px;border-radius:9px;background:#fff;border:1px solid var(--line);text-decoration:none}.product-detail{padding-top:28px}.product-detail-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:36px;align-items:start}.product-visual{position:relative;border-radius:28px;overflow:hidden;background:#eef2f7;aspect-ratio:1/1}.product-visual>img{width:100%;height:100%;display:block;object-fit:cover}.hero-empty{min-height:500px}.detail-badge{top:18px;left:18px}.product-summary{padding:12px 0;position:sticky;top:84px}.product-category{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);min-height:16px}.product-summary h1{font-size:clamp(34px,5vw,56px);letter-spacing:-.04em;line-height:1.02;margin:10px 0 12px}.lead-description{font-size:17px;line-height:1.65;color:#475569;margin:0 0 18px}.detail-old{font-size:15px;margin-bottom:3px}.detail-price{font-size:32px;font-weight:950;letter-spacing:-.02em}.purchase-box{margin-top:22px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:20px}.purchase-box label{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:14px;font-weight:800}.qty-field{display:inline-flex;border:1px solid #dbe2ea;border-radius:999px;overflow:hidden}.qty-field button{border:0;background:#f8fafc;width:38px;height:38px;font-size:20px;cursor:pointer}.qty-field input{width:44px;border:0;text-align:center;font-weight:800;appearance:textfield}.qty-field input::-webkit-outer-spin-button,.qty-field input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.add-cart-main{width:100%;border:0;border-radius:14px;background:#111827;color:#fff;padding:15px 18px;font-size:16px;font-weight:900;margin-top:14px;cursor:pointer}.add-cart-main:disabled{background:#cbd5e1}.micro-info{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.micro-info span{font-size:12px;background:#eef2f7;color:#475569;border-radius:999px;padding:6px 9px}.product-information{display:grid;grid-template-columns:1.35fr .65fr;gap:18px;margin-top:30px}.product-information section{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px}.product-information section:first-child{grid-row:span 2}.product-information h2{font-size:20px;margin:0 0 12px}.rich-description{color:#334155;font-size:16px;line-height:1.75}.rich-description p:first-child{margin-top:0}.benefit-list{list-style:none;padding:0;margin:0;display:grid;gap:9px}.benefit-list li{position:relative;padding-left:27px;color:#334155;line-height:1.5}.benefit-list li:before{content:'✓';position:absolute;left:0;top:0;width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:#ecfdf5;color:#166534;font-size:12px;font-weight:900}.mobile-buy-bar{display:none}
@media(max-width:900px){.products{grid-template-columns:repeat(2,minmax(0,1fr))}.product-detail-grid{grid-template-columns:1fr}.product-summary{position:static}.product-information{grid-template-columns:1fr}.product-information section:first-child{grid-row:auto}.product-visual{aspect-ratio:4/5;max-height:none}}
@media(max-width:560px){.wrap{width:min(var(--oc-max),calc(100% - 24px))}.header-inner{padding:11px 0}.brand{max-width:62%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero{padding:38px 0 20px}.hero h1{font-size:40px}.hero p{font-size:15px;line-height:1.55}.section-heading h2{font-size:23px}.products{grid-template-columns:1fr;gap:15px}.product-card{border-radius:18px}.product-image-link{aspect-ratio:4/5}.product-card .inside{padding:14px}.product-card h3{font-size:19px}.card-description{font-size:15px;line-height:1.5;min-height:auto;margin-bottom:12px}.price{font-size:22px}.product-detail{width:100%;padding-top:0}.product-detail-grid{gap:0}.product-visual{border-radius:0;aspect-ratio:4/5;width:100%;max-height:78vh}.product-summary{width:calc(100% - 24px);margin:0 auto;padding:20px 0}.product-summary h1{font-size:36px}.lead-description{font-size:16px;line-height:1.6}.detail-price{font-size:30px}.purchase-box{border-radius:16px;padding:15px}.product-information{width:calc(100% - 24px);margin:8px auto 94px;gap:12px}.product-information section{border-radius:16px;padding:17px}.rich-description{font-size:16px;line-height:1.75}.micro-info{margin-bottom:4px}.mobile-buy-bar{display:flex;position:fixed;z-index:45;left:10px;right:10px;bottom:10px;align-items:center;justify-content:space-between;gap:12px;background:#111827;color:#fff;border-radius:16px;padding:10px 10px 10px 14px;box-shadow:0 16px 45px rgba(15,23,42,.3)}.mobile-buy-bar div{min-width:0}.mobile-buy-bar small{display:block;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#cbd5e1}.mobile-buy-bar strong{display:block;margin-top:2px}.mobile-buy-bar button{border:0;border-radius:12px;background:#fff;color:#111827;padding:12px 16px;font-weight:900}.mobile-buy-bar button:disabled{opacity:.55}.site-footer{margin-top:30px}}
.page-content{min-height:50vh}.page-content>.oc-app{margin-top:24px}.page-content>.oc-shop-page{padding-top:34px}

/* ===== UMKM storefront upgrade (0.3.1) ===== */
:root{--green:#166534;--green-soft:#ecfdf5;--green-ink:#14532d}
.brand{display:inline-flex;align-items:center;gap:9px}
.brand-mark{font-size:22px;line-height:1}
.brand-name{font-size:17px}
.top-nav{display:flex;gap:4px;margin-left:6px}
.top-nav a{text-decoration:none;font-weight:700;font-size:14px;color:#475569;padding:8px 11px;border-radius:999px}
.top-nav a:hover{background:#f1f5f9;color:#111827}
.header-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.wa-pill{display:inline-flex;align-items:center;text-decoration:none;background:var(--green-soft);color:var(--green-ink);border:1px solid #bbe7c9;border-radius:999px;padding:8px 13px;font-size:13px;font-weight:800}
.wa-pill:hover{background:#d7f5e2}
.home-hero{padding:64px 0 34px}
.home-hero h1{font-size:clamp(40px,7.5vw,74px)}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.btn-main{display:inline-flex;align-items:center;background:var(--green);color:#fff;text-decoration:none;font-weight:900;border-radius:999px;padding:15px 26px;font-size:16px;box-shadow:0 12px 30px rgba(22,101,52,.28)}
.btn-main:hover{background:#14532d}
.btn-ghost{display:inline-flex;align-items:center;background:#fff;color:var(--green-ink);text-decoration:none;font-weight:900;border:1.5px solid #bbe7c9;border-radius:999px;padding:14px 24px;font-size:16px}
.btn-ghost:hover{background:var(--green-soft)}
.trust-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:34px}
.trust-item{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 18px}
.trust-item span{font-size:26px}
.trust-item strong{display:block;margin-top:6px;font-size:15px}
.trust-item small{display:block;color:var(--muted);margin-top:3px;font-size:13px;line-height:1.45}
.cat-chips{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}
.cat-chip{display:inline-flex;text-decoration:none;background:#fff;border:1px solid var(--line);color:#334155;border-radius:999px;padding:10px 16px;font-size:14px;font-weight:800}
.cat-chip:hover{border-color:var(--green);color:var(--green-ink)}
.cat-chip.active{background:var(--green);border-color:var(--green);color:#fff}
.catalog-search{display:flex;gap:9px;max-width:560px;margin-top:20px}
.catalog-search input{flex:1;border:1.5px solid #cbd5e1;border-radius:999px;padding:13px 20px;font:inherit;font-size:15px;background:#fff;min-width:0}
.catalog-search input:focus{outline:none;border-color:var(--green)}
.catalog-search button{border:0;background:var(--green);color:#fff;border-radius:999px;padding:0 24px;font-weight:900;font-size:15px;cursor:pointer}
.search-reset{display:inline-flex;align-items:center;text-decoration:none;color:var(--muted);font-weight:800;font-size:14px;padding:0 8px}
.badge-promo{background:#ea580c}
.no-result{background:#fff;border:1px dashed #cbd5e1;border-radius:18px;padding:34px 20px;text-align:center;color:#475569;font-size:16px}
.float-wa{position:fixed;right:14px;bottom:14px;z-index:60;width:56px;height:56px;display:grid;place-items:center;background:#25d366;color:#fff;border-radius:50%;font-size:26px;text-decoration:none;box-shadow:0 14px 34px rgba(37,211,102,.42)}
.float-wa:hover{transform:translateY(-2px)}
.site-footer{margin-top:70px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:28px;padding:38px 0 20px}
.footer-brand{font-weight:900;font-size:18px;margin-bottom:8px}
.footer-tag{color:var(--muted);font-size:14px;line-height:1.6;margin:0;max-width:340px}
.footer-col h4{margin:0 0 10px;font-size:14px;text-transform:uppercase;letter-spacing:.08em;color:#334155}
.footer-col p{margin:6px 0;color:var(--muted);font-size:14px;line-height:1.6}
.footer-col a{color:var(--green-ink);font-weight:700;text-decoration:none}
.footer-ship{margin-top:8px}
.footer-bottom{border-top:1px solid var(--line);padding:16px 0 22px;color:#94a3b8;font-size:13px}
@media(max-width:900px){.trust-strip{grid-template-columns:1fr;gap:10px}.trust-item{display:flex;align-items:center;gap:14px;padding:13px 16px}.trust-item span{font-size:24px}.trust-item strong{margin-top:0}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){
.header-inner{flex-wrap:wrap;row-gap:8px}
.top-nav{order:3;width:100%;justify-content:flex-start;margin-left:-8px}
.header-actions{margin-left:auto}
.brand-name{font-size:16px}
.wa-pill{display:none}
.home-hero{padding:40px 0 24px}
.hero-cta .btn-main,.hero-cta .btn-ghost{width:100%;justify-content:center}
.catalog-search{flex-wrap:wrap}
.catalog-search button{padding:13px 22px}
.search-reset{padding:12px 8px}
.footer-grid{grid-template-columns:1fr;gap:20px;padding:28px 0 14px}
.mobile-buy-bar~.float-wa,.float-wa{bottom:84px}
.single-product .float-wa{bottom:84px}
}
.brand-mark img{width:28px;height:28px;border-radius:8px;display:block;box-shadow:0 2px 8px rgba(15,23,42,.18)}
.footer-brand img{width:22px;height:22px;border-radius:6px;vertical-align:-4px;margin-right:2px}

/* Katalog mobile: 2 kolom agar kartu produk kecil & manis */
@media(max-width:560px){
.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.product-card{border-radius:14px}
.product-card .inside{padding:10px 11px 12px}
.product-card h3{font-size:14.5px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-description{display:none}
.price{font-size:16.5px}
.quick-add{flex:0 0 38px;width:38px;height:38px;font-size:20px}
.product-card-bottom{gap:8px;align-items:center}
.badge{font-size:10.5px;padding:4px 8px}
}

/* Kartu produk mobile: teks lebih ringan & hemat ruang */
@media(max-width:560px){
.product-card h3{font-weight:600}
.price{font-size:15.5px;font-weight:600;line-height:1.15}
.price small{font-weight:500;font-size:11.5px;white-space:nowrap}
.old-price{font-size:11.5px}
}

/* Satuan selalu di baris sendiri agar harga tidak patah sembarangan */
@media(max-width:560px){
.price small{display:block;margin-top:2px}
.product-card-bottom{align-items:flex-start}
.quick-add{margin-top:2px}
}

/* Judul toko: besar, tegas, gradasi keren */
.home-hero h1{
text-transform:uppercase;
letter-spacing:-.015em;
line-height:.98;
background:linear-gradient(100deg,var(--h1a,#14532d),var(--h1b,#4ade80));
-webkit-background-clip:text;background-clip:text;
-webkit-text-fill-color:transparent;color:transparent;
}
@media(max-width:560px){.home-hero h1{font-size:clamp(34px,10.5vw,46px)}}

/* Nama toko di header: besar, kapital, gradasi serasi judul */
.brand-name{
text-transform:uppercase;
font-weight:900;
font-size:20px;
letter-spacing:.01em;
background:linear-gradient(100deg,var(--h1a,#14532d),var(--h1b,#4ade80));
-webkit-background-clip:text;background-clip:text;
-webkit-text-fill-color:transparent;color:transparent;
}
@media(max-width:560px){.brand-name{font-size:15.5px}}
.footer-brand{text-transform:uppercase;letter-spacing:.02em}

/* Wordmark logo toko */
.brand-logo{height:27px;width:auto;display:block}
@media(max-width:560px){.brand-logo{height:23px}}
.footer-brand .footer-logo{height:19px;display:inline-block;vertical-align:-4px}

/* Wordmark di mobile: bebas lebar penuh (aturan brand 62% lama dinetralkan) */
@media(max-width:560px){
.brand{max-width:none;overflow:visible}
.brand-logo{height:22px}
}

@media(max-width:560px){
.brand{gap:7px}
.brand-mark img{width:24px;height:24px}
.brand-logo{height:19px}
}

/* Subjudul hero: lebih kecil dari judul */
.hero-subtitle{font-size:19px;font-weight:700;color:var(--green-ink);margin:10px 0 0;line-height:1.3}
@media(max-width:560px){.hero-subtitle{font-size:16px}}

/* Wordmark: tinggi huruf samakan dengan ikon */
.brand-logo{height:28px}
@media(max-width:560px){.brand-logo{height:24px}}

/* Tombol keranjang ikon (keren & ringkas) */
.cart-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:46px;height:44px;border-radius:14px;background:linear-gradient(135deg,#14532d,#16a34a);color:#fff;box-shadow:0 8px 22px rgba(20,83,45,.35);text-decoration:none}
.cart-btn svg{width:22px;height:22px}
.cart-btn .cart-count{position:absolute;top:-7px;right:-7px;min-width:21px;height:21px;border-radius:999px;background:#84cc16;color:#14532d;font-size:12px;font-weight:900;display:grid;place-items:center;padding:0 5px;box-shadow:0 3px 8px rgba(15,23,42,.25)}
.cart-btn .cart-count[hidden]{display:none!important}
.cart-btn:hover{filter:brightness(1.08)}

/* Judul hero maksimal 2 baris */
.home-hero h1{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* Trust strip: chip ringkas satu baris (tidak makan tempat di mobile) */
.trust-strip{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
.trust-item{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:10px 16px}
.trust-item span{font-size:19px}
.trust-item strong{font-size:14.5px;font-weight:800}
.trust-item strong small{display:inline;margin:0;font-size:11.5px;font-weight:600;color:var(--muted)}
@media(max-width:560px){.trust-strip{margin-top:16px;gap:8px}.trust-item{padding:8px 13px}.trust-item strong{font-size:13.5px}}

/* Mobile: sembunyikan tombol Chat WhatsApp di hero (sudah ada WA mengambang) */
@media(max-width:560px){
.hero-cta .btn-ghost{display:none}
}

/* Ikon footer: daun + nama toko */
.footer-brand img{width:22px;height:22px;border-radius:6px;vertical-align:-5px;margin-right:4px}

/* Mobile: sembunyikan kolom Pembayaran di footer */
@media(max-width:560px){
.footer-grid .footer-col:last-child{display:none}
}

/* Footer mobile: center & profesional */
@media(max-width:560px){
.footer-grid{text-align:center;gap:6px;padding:26px 0 8px}
.footer-brand{display:inline-flex;align-items:center;gap:8px}
.footer-brand img{vertical-align:middle;margin:0}
.footer-tag{margin:8px auto 0;max-width:330px}
.footer-col h4{display:flex;align-items:center;justify-content:center;gap:12px;margin:20px 0 6px}
.footer-col h4::before,.footer-col h4::after{content:"";height:1px;flex:1;max-width:46px;background:var(--line)}
.footer-col p{margin:5px 0}
}
.footer-bottom{text-align:center}

/* Footer 2 kolom setelah kolom Kontak dihapus */
@media(min-width:561px){.footer-grid{grid-template-columns:1.4fr 1fr}}

/* ===== Desain identitas: font + hero kartu + visual ===== */
body{font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif}
.hero h1,.oc-shop-heading h1,.oc-order-hero h1,.footer-brand,.brand-name,.product-card h3{font-family:'Plus Jakarta Sans',system-ui,sans-serif}

/* Latar hero: kartu gradasi lembut otomatis mengikuti warna toko */
.home-hero{background:linear-gradient(135deg,color-mix(in srgb,var(--h1a,#14532d) 7%,#fff),color-mix(in srgb,var(--h1b,#4ade80) 16%,#fff));border-radius:30px;padding:48px 44px}
@media(max-width:560px){.home-hero{padding:30px 22px;border-radius:24px}}

/* Tombol utama hijau brand */
.quick-add{background:linear-gradient(135deg,#14532d,#16a34a)}
.quick-add:hover{filter:brightness(1.12)}
.add-cart-main{background:linear-gradient(135deg,#14532d,#16a34a)}
.add-cart-main:hover{filter:brightness(1.08)}
.btn-main{background:linear-gradient(135deg,#14532d,#16a34a)}

/* Visual hero kanan (hanya desktop) */
.hero-visual{display:none}
@media(min-width:1000px){
.home-hero{display:grid;grid-template-columns:1.05fr .8fr;gap:34px;align-items:center;padding:56px 48px}
.hero-visual{display:block;position:relative;min-height:430px}
.hero-visual img{position:absolute;border-radius:26px;object-fit:cover;box-shadow:0 26px 60px rgba(15,23,42,.18)}
.hero-visual img:first-child{width:62%;aspect-ratio:4/5;top:0;right:4%}
.hero-visual img:last-child{width:50%;aspect-ratio:1/1;bottom:0;left:0;border:6px solid #fff}
.hero-float{position:absolute;top:10%;left:0;background:#fff;border-radius:14px;padding:10px 14px;font-weight:800;font-size:13px;color:#14532d;box-shadow:0 14px 34px rgba(15,23,42,.15);display:flex;gap:8px;align-items:center;white-space:nowrap}
}

/* Hero desktop: judul pas di kolomnya, tanpa overflow */
@media(min-width:1000px){
.home-hero h1{font-size:clamp(44px,4.6vw,64px)}
.hero-copy{max-width:560px}
}
.home{overflow-x:hidden}

/* Batasi gaya hanya pada 2 foto produk langsung; emoji di float tidak diabsolutkan */
.hero-visual > img:first-child{width:62%;aspect-ratio:4/5;top:0;right:4%}
.hero-visual > img:nth-child(2){width:50%;aspect-ratio:1/1;bottom:0;left:0;border:6px solid #fff}
.hero-float img{position:static!important;width:15px!important;height:15px!important;border-radius:0!important;box-shadow:none!important;object-fit:contain;display:inline-block;vertical-align:-3px}

/* Footer: aksen brand + navigasi + polesan profesional */
.site-footer{position:relative;border-top:1px solid var(--line)}
.site-footer::before{content:"";display:block;height:3px;background:linear-gradient(90deg,#14532d,#4ade80,#14532d)}
@media(min-width:561px){.footer-grid{grid-template-columns:1.3fr 1fr 1fr}}
.footer-col a{color:var(--green-ink);text-decoration:none;font-weight:700}
.footer-col a:hover{text-decoration:underline}
@media(max-width:560px){.footer-grid .footer-col:nth-child(2){display:none}}

/* Blog grid */
.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-bottom:30px}
.blog-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 8px 30px rgba(15,23,42,.04);display:flex;flex-direction:column}
.blog-thumb{display:block;background:#eef2f5;aspect-ratio:16/10;overflow:hidden}
.blog-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .25s}
.blog-card:hover .blog-thumb img{transform:scale(1.03)}
.blog-thumb-empty{height:100%;display:grid;place-items:center;font-size:40px}
.blog-body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.blog-body small{color:var(--muted);font-weight:700;font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.blog-body h2{margin:0;font-size:18px;line-height:1.35}
.blog-body h2 a{text-decoration:none;color:var(--ink)}
.blog-body h2 a:hover{color:var(--green)}
.blog-body p{margin:0;color:var(--muted);font-size:14px;line-height:1.55}
.blog-more{margin-top:auto;text-decoration:none;color:var(--green-ink);font-weight:800;font-size:13.5px}
@media(max-width:900px){.blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.blog-grid{grid-template-columns:1fr;gap:14px}}
/* Halaman artikel tunggal */
.single-post .post-hero{border-radius:24px;overflow:hidden;margin:26px 0 22px;max-height:420px}
.single-post .post-hero img{width:100%;height:100%;object-fit:cover}
.single-post .post-hero .no-cover{aspect-ratio:21/9;display:grid;place-items:center;background:linear-gradient(135deg,#ecfdf5,#f0fdf4);font-size:64px}
.single-post .post-meta{color:var(--muted);font-weight:700;font-size:13px;margin:4px 0 0}
.single-post .post-body{max-width:760px;margin:20px auto 40px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:34px 36px}
.single-post .post-body h2{font-size:23px;margin:34px 0 10px;letter-spacing:-.01em}
.single-post .post-body p{line-height:1.85;color:#334155;font-size:16px;margin:14px 0}
.single-post .post-share{display:flex;gap:10px;align-items:center;margin:26px 0 0;padding-top:18px;border-top:1px dashed var(--line);flex-wrap:wrap}
.single-post .post-share span{font-weight:800;font-size:14px}
.single-post .post-share a{text-decoration:none;background:var(--green-soft);color:var(--green-ink);font-weight:800;font-size:13px;border-radius:999px;padding:9px 14px}

/* ===== Artikel premium: breadcrumb, TOC, tips, baca juga, CTA, terkait ===== */
.breadcrumb{padding:20px 0 0;color:var(--muted);font-size:13px}
.breadcrumb a{color:var(--muted);text-decoration:none;font-weight:600}
.breadcrumb a:hover{color:var(--green)}
.breadcrumb span{color:var(--ink);font-weight:700}
.art-head{margin:22px 0 18px}
.art-head h1{font-size:clamp(30px,4.5vw,46px);letter-spacing:-.02em;line-height:1.08;margin:8px 0 12px}
.art-head .lead{color:#475569;font-size:18px;line-height:1.6;margin:0 0 10px;max-width:720px}
.art-meta{color:var(--muted);font-size:13.5px;font-weight:700;margin:0}
.toc{background:linear-gradient(135deg,var(--green-soft),#f6fef8);border:1px solid #bbe7c9;border-radius:18px;padding:20px 24px;margin:22px 0;max-width:760px}
.toc strong{display:block;font-size:15px;color:var(--green-ink);margin-bottom:10px}
.toc ol{margin:0;padding:0;list-style:none;display:grid;gap:9px}
.toc li a{display:flex;gap:10px;align-items:baseline;text-decoration:none;color:#374151;font-size:14.5px;font-weight:600}
.toc li a:hover{color:var(--green)}
.toc li a span{color:var(--green);font-weight:900;font-size:12.5px}
.art-body{max-width:760px;margin:10px auto 30px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:34px 38px}
.art-body h2{font-size:23px;margin:32px 0 10px;letter-spacing:-.01em;padding-top:6px;border-top:1px dashed var(--line)}
.art-body h2:first-child{border-top:0;padding-top:0;margin-top:8px}
.art-body p{line-height:1.85;color:#334155;font-size:16px;margin:14px 0}
.art-extras{max-width:760px;margin:0 auto 40px;display:grid;gap:18px}
.post-share{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.post-share span{font-weight:800;font-size:14px;margin-right:2px}
.post-share a{text-decoration:none;background:var(--green-soft);color:var(--green-ink);font-weight:800;font-size:13px;border-radius:999px;padding:9px 14px}
.readalso{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px 16px;text-decoration:none;box-shadow:0 6px 20px rgba(15,23,42,.05)}
.readalso img,.readalso .ra-emoji{width:64px;height:64px;border-radius:12px;object-fit:cover;display:grid;place-items:center;background:var(--green-soft);font-size:28px}
.readalso small{display:block;color:var(--green);font-weight:900;font-size:10.5px;letter-spacing:.1em}
.readalso strong{display:block;color:var(--ink);font-size:15px;margin-top:3px}
.readalso .ra-arrow{margin-left:auto;font-size:20px;color:var(--green)}
.readalso:hover{border-color:#86efac}
.art-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(120deg,#14532d,#166534);border-radius:20px;padding:22px 26px;flex-wrap:wrap}
.art-cta strong{display:block;color:#fff;font-size:17px}
.art-cta span{color:#bbf7d0;font-size:13.5px}
.art-cta .btn-main{background:#fff;color:#14532d;box-shadow:none;padding:12px 20px;font-size:14px}
.rel-title{font-size:22px;margin:14px 0 4px}
.rel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.rel-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;text-decoration:none;padding-bottom:14px}
.rel-card img,.rel-empty{width:100%;aspect-ratio:16/10;object-fit:cover;display:grid;place-items:center;background:#f1f5f9;font-size:30px}
.rel-card strong{display:block;padding:12px 14px 0;color:var(--ink);font-size:14.5px;line-height:1.4}
.rel-card:hover strong{color:var(--green)}
@media(max-width:760px){.art-body{padding:22px 18px;border-radius:18px}.rel-grid{grid-template-columns:1fr}.art-cta{flex-direction:column;align-items:flex-start}}

/* Optimasi gambar artikel: proporsi & muat halus */
.post-hero{aspect-ratio:16/7;background:#eef2f5}
.single-post .post-hero{aspect-ratio:16/7}
.art-head .eyebrow{color:var(--green)}
