:root{--bg:#130c08;--bg2:#21140d;--paper:#fff8ee;--card:#fffaf2;--text:#22160f;--muted:#766052;--brand:#048913;--brand2:#ff4800;--cream:#f7ddad;--line:rgba(68,38,20,.16);--ok:#048913;--bad:#b42318;--warn:#b66b00;--shadow:0 18px 60px rgba(42,23,10,.14)}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:linear-gradient(180deg,#fff8ee,#f7ead9);color:var(--text)}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}img{max-width:100%;display:block}.site-header{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;padding:14px clamp(16px,4vw,56px);background:rgba(255,248,238,.92);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:20px}.brand-mark,.admin-logo span{display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:linear-gradient(145deg,var(--brand),var(--brand2));color:white;box-shadow:0 8px 24px rgba(139,74,34,.28)}.site-header nav{display:flex;gap:8px;align-items:center}.site-header nav a{padding:10px 12px;border-radius:999px;font-weight:700;color:#563927}.site-header nav a:hover,.pill{background:#fff;border:1px solid var(--line)}.pill{box-shadow:var(--shadow)}main{width:min(1180px,calc(100% - 32px));margin:auto}.hero{margin:36px auto 28px;min-height:560px;border-radius:42px;padding:clamp(28px,6vw,72px);display:grid;grid-template-columns:1.2fr .8fr;gap:32px;align-items:center;background:radial-gradient(circle at 80% 20%,rgba(196,123,57,.45),transparent 25%),linear-gradient(135deg,#180d07,#3b2114 55%,#7b431e);color:#fff;overflow:hidden;position:relative}.hero:after{content:"";position:absolute;inset:auto -120px -180px auto;width:420px;height:420px;border-radius:50%;background:rgba(247,221,173,.12)}.eyebrow,.page-title span,.section-head span,.cart-head span{display:inline-flex;letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:900;color:var(--brand2);background:rgba(255,255,255,.12);padding:8px 12px;border-radius:999px}.hero h1{font-size:clamp(42px,7vw,78px);line-height:.96;margin:18px 0}.hero p{font-size:20px;line-height:1.6;color:#f5dfc5;max-width:620px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.btn{border:1px solid var(--line);background:#fff;color:var(--text);border-radius:999px;padding:13px 20px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.btn.primary{border:0;background:linear-gradient(145deg,var(--brand),var(--brand2));color:white;box-shadow:0 12px 30px rgba(139,74,34,.28)}.btn.full{width:100%;border-radius:18px}.hero-card{position:relative;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.1);backdrop-filter:blur(12px);border-radius:32px;padding:28px;box-shadow:0 24px 80px rgba(0,0,0,.2)}.cup{width:230px;height:230px;margin:auto;border-radius:50%;background:radial-gradient(circle at 50% 50%,#2b1208 0 26%,#c78a49 27% 38%,#fff0d7 39% 58%,transparent 59%),linear-gradient(160deg,#fff1dc,#ad642b);box-shadow:inset 0 -24px 60px rgba(60,26,9,.28),0 24px 80px rgba(0,0,0,.25)}.hero-card h3{font-size:28px;margin:24px 0 8px}.section-head,.page-title{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:42px 0 20px}.section-head h2,.page-title h1{font-size:clamp(34px,5vw,58px);margin:8px 0 0}.section-head p,.page-title p{color:var(--muted);font-size:18px;max-width:650px}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product-card{background:var(--card);border:1px solid var(--line);border-radius:28px;overflow:hidden;box-shadow:var(--shadow)}.product-card.is-off{opacity:.58}.product-img{height:190px;position:relative;background:radial-gradient(circle at 30% 20%,#f4c98b,transparent 35%),linear-gradient(140deg,#4a2818,#b76d34);display:grid;place-items:center;color:white}.product-img span{font-size:64px;font-weight:1000;text-shadow:0 10px 30px rgba(0,0,0,.3)}.product-img b{position:absolute;top:14px;left:14px;background:#fff;color:var(--brand);padding:8px 10px;border-radius:999px;font-size:12px}.product-img img{width:100%;height:100%;object-fit:cover}.product-info{padding:20px}.product-info h3{font-size:22px;margin:0 0 8px}.product-info p{min-height:50px;color:var(--muted);line-height:1.5}.price-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.price-row strong{font-size:22px;color:var(--brand)}.add-cart,.inline-form button,.product-admin-list button,.qr-card button,.admin-sidebar button{border:0;background:#24160e;color:white;border-radius:999px;padding:10px 14px;font-weight:900;cursor:pointer}.add-cart:disabled{background:#baa899;cursor:not-allowed}.three-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:42px 0}.three-cols div,.thanks-card,.admin-card,.stats div,.qr-card{background:#fff;border:1px solid var(--line);border-radius:28px;padding:24px;box-shadow:var(--shadow)}.three-cols h3{font-size:22px;margin-top:0}.site-footer{margin-top:56px;padding:38px clamp(16px,4vw,56px);background:#160c07;color:#f6dfc8;display:grid;grid-template-columns:1fr 1fr;gap:24px}.site-footer p{color:#d4b99d}.menu-page{padding:28px 0 60px}.cat-tabs{position:sticky;top:70px;z-index:10;display:flex;gap:10px;overflow:auto;padding:10px 0 18px;background:linear-gradient(180deg,#fff8ee,#fff8ee 70%,rgba(255,248,238,0))}.cat-tabs button{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:999px;padding:11px 16px;font-weight:900;color:#5b3c28;cursor:pointer}.cat-tabs button.active{background:var(--text);color:white}.cart-open{border:0;background:var(--text);color:white;border-radius:999px;padding:14px 18px;font-weight:900;box-shadow:var(--shadow);cursor:pointer}.cart-open b{background:var(--brand2);padding:2px 8px;border-radius:999px;margin-left:6px}.cart-backdrop{position:fixed;inset:0;background:rgba(20,10,4,.45);z-index:50;opacity:0;pointer-events:none;transition:.2s}.cart-drawer{position:fixed;right:0;top:0;height:100vh;width:min(460px,100%);background:#fffaf2;z-index:60;transform:translateX(110%);transition:.24s ease;box-shadow:-20px 0 70px rgba(0,0,0,.25);display:flex;flex-direction:column}.cart-drawer.open{transform:translateX(0)}.cart-backdrop.open{opacity:1;pointer-events:auto}.cart-head{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid var(--line)}.cart-head h2{margin:4px 0 0}.cart-head button{width:42px;height:42px;border-radius:50%;border:0;background:#24160e;color:white;font-size:28px}.cart-items{padding:16px;overflow:auto;max-height:38vh}.cart-item{border:1px solid var(--line);border-radius:18px;padding:14px;margin-bottom:10px;background:white}.cart-item-top{display:flex;justify-content:space-between;gap:10px}.cart-item h4{margin:0}.cart-item select,.cart-item input{width:100%;margin-top:8px;border:1px solid var(--line);border-radius:12px;padding:9px;background:#fff}.qty-row{display:flex;align-items:center;gap:8px;margin-top:10px}.qty-row button{width:32px;height:32px;border:0;border-radius:50%;background:#eee0d0;font-weight:900}.checkout-form{padding:16px 20px 20px;border-top:1px solid var(--line);overflow:auto}.checkout-form label,.admin-form label,.login-card label{display:block;font-weight:900;color:#533725;margin-bottom:12px}.checkout-form input,.checkout-form textarea,.checkout-form select,.admin-form input,.admin-form textarea,.admin-form select,.login-card input,.inline-form input,.inline-form select{width:100%;border:1px solid var(--line);border-radius:14px;padding:12px;background:#fff;margin-top:6px}.checkout-form textarea,.admin-form textarea{min-height:78px}.cart-total{display:flex;justify-content:space-between;align-items:center;font-size:20px;margin:14px 0}.cart-total strong{color:var(--brand);font-size:28px}.thanks-page,.login-page{min-height:80vh;display:grid;place-items:center}.thanks-card,.login-card{width:min(560px,100%);text-align:center}.success-icon{width:78px;height:78px;border-radius:50%;display:grid;place-items:center;background:#e6f8ee;color:var(--ok);font-size:42px;margin:0 auto 18px}.admin-body{background:#f7f0e7}.admin-layout{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.admin-sidebar{background:#170d07;color:#f8e8d2;padding:20px;display:flex;flex-direction:column;gap:22px;position:sticky;top:0;height:100vh}.admin-logo{display:flex;align-items:center;gap:10px;font-size:20px}.admin-sidebar nav{display:grid;gap:8px}.admin-sidebar nav a,.admin-sidebar button{display:block;width:100%;text-align:left;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.06);color:#f8e8d2}.admin-sidebar nav a:hover{background:rgba(255,255,255,.12)}.admin-main{padding:28px;min-width:0}.admin-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.admin-top h1{font-size:36px;margin:0}.admin-top span,.muted{color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px}.stats span{color:var(--muted);font-weight:800}.stats strong{display:block;margin-top:10px;font-size:30px;color:var(--brand)}.admin-card{margin-bottom:18px}.admin-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{text-align:left;border-bottom:1px solid var(--line);padding:12px;vertical-align:top}.admin-table th{font-size:13px;text-transform:uppercase;color:var(--muted);letter-spacing:.08em}.order-detail td{background:#fff8ef}.order-detail p{margin:4px 0}.tag{display:inline-flex;padding:6px 10px;border-radius:999px;font-weight:900;font-size:12px}.status-new{background:#fff3cd;color:#8a5a00}.status-accepted{background:#e5f0ff;color:#194b91}.status-preparing{background:#fce8d5;color:#9a4b00}.status-done{background:#e6f8ee;color:#10643f}.status-cancelled{background:#fde7e4;color:#a32118}.inline-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}.inline-form.vertical{display:grid}.inline-form select,.inline-form input{width:auto;min-width:160px}.admin-grid-2{display:grid;grid-template-columns:1fr .78fr;gap:18px}.admin-form{display:grid;gap:8px}.admin-form small{display:block;color:var(--muted);margin-top:6px}.check{display:flex!important;align-items:center;gap:10px}.check input{width:auto!important}.cat-list{list-style:none;padding:0;margin:16px 0 0}.cat-list li{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line)}.product-admin-list{display:grid;gap:10px}.product-admin-list>div{display:grid;grid-template-columns:1.2fr .8fr auto auto;gap:10px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:16px;background:#fff}.product-admin-list a{font-weight:900;color:var(--brand)}.qr-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.qr-card{text-align:center}.qr-card img{margin:12px auto;border-radius:12px}.qr-card p{font-size:12px;word-break:break-all;color:var(--muted)}.narrow{max-width:760px}.login-card{background:#fff;border:1px solid var(--line);border-radius:28px;padding:28px;box-shadow:var(--shadow)}.login-card h1{font-size:34px;margin:0 0 8px}.login-card small{display:block;margin-top:12px;color:var(--muted)}.flash{position:fixed;left:50%;top:16px;transform:translateX(-50%);z-index:100;background:#e6f8ee;color:#0f623f;border:1px solid rgba(16,128,79,.25);border-radius:999px;padding:12px 18px;font-weight:900;box-shadow:var(--shadow)}.flash.bad{background:#fde7e4;color:#a32118;border-color:rgba(180,35,24,.2)}@media(max-width:920px){.hero{grid-template-columns:1fr;min-height:auto}.product-grid{grid-template-columns:repeat(2,1fr)}.three-cols,.stats,.qr-grid{grid-template-columns:1fr 1fr}.admin-layout{grid-template-columns:1fr}.admin-sidebar{position:relative;height:auto}.admin-sidebar nav{grid-template-columns:repeat(3,1fr)}.admin-main{padding:18px}.admin-grid-2{grid-template-columns:1fr}.product-admin-list>div{grid-template-columns:1fr}.site-footer{grid-template-columns:1fr}}@media(max-width:640px){main{width:min(100% - 20px,1180px)}.site-header{align-items:flex-start}.site-header nav{gap:4px;overflow:auto;max-width:62vw}.site-header nav a{padding:9px 10px;font-size:14px}.hero{border-radius:28px;padding:28px}.hero h1{font-size:40px}.hero p{font-size:17px}.product-grid,.three-cols,.stats,.qr-grid{grid-template-columns:1fr}.product-img{height:160px}.section-head,.page-title{align-items:flex-start;flex-direction:column}.cat-tabs{top:69px}.admin-sidebar nav{grid-template-columns:1fr 1fr}.admin-top{align-items:flex-start;flex-direction:column}.admin-top h1{font-size:30px}.admin-table{font-size:14px}.inline-form select,.inline-form input{width:100%}.cart-drawer{width:100%}}@media print{.admin-sidebar,.admin-top,.admin-card:first-child,.qr-card form{display:none!important}.admin-layout{display:block}.qr-grid{display:grid;grid-template-columns:repeat(2,1fr)}.qr-card{break-inside:avoid;box-shadow:none}.qr-card img{width:220px}.admin-main{padding:0}}

/* Gộ Cafe V1.2 — logo/upload/color customization */
body.site-body{background:linear-gradient(180deg,var(--cream),#f7ead9)}
.site-header{background:var(--cream)}
.brand-logo{width:42px;height:42px;border-radius:14px;object-fit:cover;background:#fff;border:1px solid var(--line);box-shadow:0 10px 28px rgba(42,23,10,.10)}
.admin-logo-img{width:42px;height:42px;border-radius:14px;object-fit:cover;background:#fff;border:1px solid rgba(255,255,255,.18)}
.image-preview{display:flex;align-items:center;gap:12px;padding:10px;border:1px dashed var(--line);border-radius:16px;background:rgba(255,255,255,.62)}
.image-preview img{width:96px;height:72px;object-fit:cover;border-radius:12px;border:1px solid var(--line);background:#fff}.image-preview span{font-size:13px;color:var(--muted);font-weight:800}.logo-preview img{width:72px;height:72px;border-radius:18px}.color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.color-grid input[type=color]{height:52px;padding:6px;cursor:pointer}.theme-preview{display:flex;align-items:center;gap:14px;justify-content:space-between;margin:10px 0 18px;padding:18px;border-radius:22px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;box-shadow:var(--shadow)}.theme-preview span{font-size:12px;letter-spacing:.12em;text-transform:uppercase;opacity:.86;font-weight:900}.theme-preview strong{font-size:22px}.theme-preview button{border:0;border-radius:999px;padding:10px 16px;background:#fff;color:var(--brand);font-weight:900}.admin-thumb{width:58px;height:58px;border-radius:14px;object-fit:cover;background:#fff;border:1px solid var(--line)}.admin-thumb.empty{display:grid;place-items:center;background:linear-gradient(145deg,var(--brand),var(--brand2));color:#fff;font-weight:900}.product-admin-list>div{grid-template-columns:58px 1.2fr .8fr auto auto}.admin-card h2:not(:first-child){margin-top:26px;padding-top:20px;border-top:1px solid var(--line)}
@media(max-width:920px){.color-grid{grid-template-columns:1fr}.product-admin-list>div{grid-template-columns:58px 1fr}.product-admin-list>div a,.product-admin-list>div form{grid-column:2}}
@media(max-width:640px){.brand-logo{width:38px;height:38px}.theme-preview{align-items:flex-start;flex-direction:column}.product-admin-list>div{grid-template-columns:48px 1fr}.admin-thumb{width:48px;height:48px}}

/* Gộ Cafe V1.3 — logo fix, editable banner, mobile responsive hardening */
.site-header{
  min-height:76px;
  gap:16px;
}
.brand{
  min-width:0;
  flex:0 1 auto;
}
.brand-name{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:180px;
}
.brand-logo{
  width:auto !important;
  height:54px !important;
  max-width:168px !important;
  max-height:54px !important;
  object-fit:contain !important;
  object-position:left center;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  flex:0 0 auto;
}
.admin-logo-img{
  width:auto !important;
  height:42px !important;
  max-width:132px !important;
  object-fit:contain !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
}
.hero-card.has-hero-image{
  overflow:hidden;
  padding:0;
}
.hero-card.has-hero-image h3,
.hero-card.has-hero-image p{
  padding-left:28px;
  padding-right:28px;
}
.hero-card.has-hero-image h3{
  margin-top:22px;
}
.hero-card.has-hero-image p{
  padding-bottom:26px;
}
.hero-banner-img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:30px 30px 20px 20px;
  background:rgba(255,255,255,.12);
}
.banner-preview img{
  width:180px;
  height:110px;
  object-fit:cover;
}

@media(max-width:1080px){
  .site-header{
    padding:12px 22px;
  }
  .brand-logo{
    height:48px !important;
    max-height:48px !important;
    max-width:146px !important;
  }
  .hero{
    min-height:auto;
    grid-template-columns:1fr;
    gap:24px;
  }
  .hero-card{
    max-width:620px;
  }
}

@media(max-width:768px){
  html,body{
    overflow-x:hidden;
  }
  .site-header{
    position:sticky;
    top:0;
    min-height:66px;
    padding:10px 12px;
    align-items:center !important;
  }
  .brand{
    gap:8px;
    font-size:17px;
    max-width:44vw;
  }
  .brand-logo{
    height:44px !important;
    max-height:44px !important;
    max-width:120px !important;
  }
  .brand-mark{
    width:38px;
    height:38px;
    border-radius:12px;
  }
  .brand-name{
    max-width:96px;
  }
  .site-header nav{
    margin-left:auto;
    max-width:54vw !important;
    overflow-x:auto;
    white-space:nowrap;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .site-header nav::-webkit-scrollbar{
    display:none;
  }
  .site-header nav a{
    flex:0 0 auto;
    padding:9px 10px;
    font-size:13px;
  }
  .site-header nav a:not(.pill):nth-child(3){
    display:none;
  }
  main{
    width:calc(100% - 20px);
  }
  .hero{
    margin:18px auto 18px;
    border-radius:26px;
    padding:24px 18px;
  }
  .eyebrow,.page-title span,.section-head span,.cart-head span{
    font-size:10px;
    letter-spacing:.08em;
    padding:7px 10px;
  }
  .hero h1{
    font-size:clamp(34px,10vw,46px);
    line-height:1.02;
    margin:14px 0;
  }
  .hero p{
    font-size:16px;
    line-height:1.52;
  }
  .hero-actions{
    gap:10px;
  }
  .hero-actions .btn{
    flex:1 1 130px;
    padding:12px 14px;
  }
  .hero-card{
    border-radius:24px;
    padding:18px;
  }
  .hero-card h3{
    font-size:22px;
    margin-top:16px;
  }
  .cup{
    width:160px;
    height:160px;
  }
  .hero-banner-img{
    aspect-ratio:16/10;
    border-radius:22px 22px 16px 16px;
  }
  .hero-card.has-hero-image h3,
  .hero-card.has-hero-image p{
    padding-left:18px;
    padding-right:18px;
  }
  .hero-card.has-hero-image p{
    padding-bottom:18px;
  }
  .section-head,.page-title{
    margin:28px 0 16px;
  }
  .section-head h2,.page-title h1{
    font-size:34px;
  }
  .section-head p,.page-title p{
    font-size:16px;
  }
  .product-grid{
    gap:14px;
  }
  .product-card{
    border-radius:22px;
  }
  .product-img{
    height:176px;
  }
  .product-info{
    padding:16px;
  }
  .product-info p{
    min-height:auto;
  }
  .price-row{
    align-items:stretch;
  }
  .add-cart{
    min-width:92px;
  }
  .cart-open{
    position:fixed;
    left:14px;
    right:14px;
    bottom:14px;
    z-index:35;
    display:flex;
    justify-content:center;
    padding:15px 18px;
    border-radius:18px;
  }
  .cart-drawer{
    width:100vw;
    max-width:none;
  }
  .cart-items{
    max-height:34vh;
  }
  .checkout-form{
    padding-bottom:86px;
  }
  .site-footer{
    margin-top:40px;
    padding:30px 18px;
  }
  .admin-layout{
    display:block;
  }
  .admin-sidebar{
    position:relative;
    height:auto;
    padding:14px;
  }
  .admin-sidebar nav{
    display:flex;
    overflow-x:auto;
    gap:8px;
    scrollbar-width:none;
  }
  .admin-sidebar nav::-webkit-scrollbar{
    display:none;
  }
  .admin-sidebar nav a{
    flex:0 0 auto;
    white-space:nowrap;
  }
  .admin-sidebar form{
    margin-top:4px;
  }
  .admin-main{
    padding:14px;
  }
  .admin-top h1{
    font-size:28px;
  }
  .admin-card,
  .stats div,
  .qr-card{
    border-radius:22px;
    padding:16px;
  }
  .stats{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }
  .stats strong{
    font-size:24px;
  }
  .admin-grid-2,
  .color-grid,
  .qr-grid{
    grid-template-columns:1fr !important;
  }
  .product-admin-list>div{
    grid-template-columns:48px 1fr !important;
    align-items:start;
  }
  .product-admin-list>div a,
  .product-admin-list>div form{
    grid-column:2;
  }
  .admin-table th,
  .admin-table td{
    padding:10px 8px;
  }
}

@media(max-width:420px){
  .brand{
    max-width:40vw;
  }
  .brand-logo{
    height:38px !important;
    max-height:38px !important;
    max-width:96px !important;
  }
  .brand-name{
    max-width:74px;
    font-size:15px;
  }
  .site-header nav{
    max-width:58vw !important;
  }
  .site-header nav a{
    font-size:12px;
    padding:8px 9px;
  }
  .hero{
    padding:20px 14px;
    border-radius:22px;
  }
  .hero h1{
    font-size:32px;
  }
  .hero-actions{
    flex-direction:column;
  }
  .hero-actions .btn{
    width:100%;
  }
  .product-img{
    height:160px;
  }
  .price-row{
    flex-direction:column;
  }
  .add-cart{
    width:100%;
    padding:12px 14px;
  }
  .stats{
    grid-template-columns:1fr;
  }
}

/* Gộ Cafe V1.4 — admin-controlled logo size, button gradient, banner image controls */
.brand-logo{
  height:var(--logo-height-desktop) !important;
  max-height:var(--logo-height-desktop) !important;
  max-width:var(--logo-max-width-desktop) !important;
  width:auto !important;
  object-fit:contain !important;
}
.admin-logo-img{
  height:42px !important;
  max-width:var(--logo-max-width-desktop) !important;
  width:auto !important;
  object-fit:contain !important;
}
.btn.primary,
.theme-preview,
.add-cart:not(:disabled),
.inline-form button,
.qr-card button,
.product-admin-list button{
  background:linear-gradient(145deg,var(--btn-grad-from),var(--btn-grad-to)) !important;
  color:#fff !important;
}
.theme-preview button{
  background:#fff !important;
  color:var(--btn-grad-from) !important;
}
.hero-banner-img{
  object-fit:var(--banner-fit) !important;
  object-position:var(--banner-position) !important;
}
.hero-card.has-hero-image .hero-banner-img{
  background:rgba(255,255,255,.10);
}
.logo-size-grid input[type=number]{
  font-weight:900;
}
@media(max-width:768px){
  .brand-logo{
    height:var(--logo-height-mobile) !important;
    max-height:var(--logo-height-mobile) !important;
    max-width:var(--logo-max-width-mobile) !important;
  }
}
@media(max-width:420px){
  .brand-logo{
    height:var(--logo-height-mobile) !important;
    max-height:var(--logo-height-mobile) !important;
    max-width:var(--logo-max-width-mobile) !important;
  }
}

/* Gộ Cafe V1.5 — clean home, true banner background image */
.hero-with-bg{
  background:linear-gradient(90deg,rgba(18,8,3,.86) 0%,rgba(30,13,6,.72) 45%,rgba(30,13,6,.42) 100%),linear-gradient(135deg,#180d07,#3b2114 55%,#7b431e) !important;
}
.hero-bg{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
}
.hero-bg img{
  width:100%;
  height:100%;
  object-fit:var(--banner-fit);
  object-position:var(--banner-position);
  opacity:.68;
  filter:saturate(.95) contrast(1.04);
}
.hero-with-bg:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:radial-gradient(circle at 74% 24%,rgba(255,191,112,.24),transparent 34%),linear-gradient(90deg,rgba(16,7,3,.90) 0%,rgba(24,10,5,.72) 42%,rgba(24,10,5,.38) 100%);
}
.hero-with-bg:after{
  z-index:2;
}
.hero-copy,.hero-card{
  position:relative;
  z-index:3;
}
.hero-with-bg .hero-card{
  background:rgba(42,22,12,.44);
  border-color:rgba(255,255,255,.20);
  box-shadow:0 24px 80px rgba(0,0,0,.28);
}
.hero-with-bg .hero-card h3{
  margin-top:0;
}
.hero-with-bg .hero-card p{
  color:#f7dfc8;
}
/* three white feature boxes removed from homepage in V1.5 */
.three-cols.home-removed{display:none!important}

@media(max-width:768px){
  .hero-with-bg{
    min-height:520px;
  }
  .hero-bg img{
    opacity:.52;
  }
  .hero-with-bg:before{
    background:linear-gradient(180deg,rgba(16,7,3,.88) 0%,rgba(24,10,5,.75) 55%,rgba(24,10,5,.48) 100%);
  }
  .hero-with-bg .hero-card{
    background:rgba(255,255,255,.10);
  }
}


/* Gộ Cafe V1.5.3 — GO brand color lock
   Orange #ff4800 + Green #048913 for both order page and admin. */
:root{--brand:#048913;--brand2:#ff4800;--ok:#048913;--go-orange:#ff4800;--go-green:#048913;}
.site-body,
.admin-body{--brand:#048913;--brand2:#ff4800;--ok:#048913;--go-orange:#ff4800;--go-green:#048913;}
.btn.primary,
.brand-mark,
.admin-logo span,
.admin-thumb.empty,
.theme-preview{background:linear-gradient(135deg,#048913 0%,#ff4800 100%)!important;color:#fff!important;}
.add-cart,
.inline-form button,
.product-admin-list button,
.qr-card button,
.admin-sidebar button{background:#ff4800!important;color:#fff!important;}
.add-cart:hover,
.inline-form button:hover,
.product-admin-list button:hover,
.qr-card button:hover,
.admin-sidebar button:hover{filter:brightness(.95);}
.price-row strong,
.stats strong,
.product-admin-list a,
.cart-total strong{color:#048913!important;}
.product-img b,
.eyebrow,
.page-title span,
.section-head span,
.cart-head span{color:#048913!important;}
.cat-tabs button.active,
.cart-open,
.cart-head button{background:#048913!important;color:#fff!important;}
.cart-open b{background:#ff4800!important;color:#fff!important;}
.admin-sidebar{background:#160d08!important;}
.admin-sidebar nav a:hover,
.admin-sidebar nav a.active{background:rgba(255,72,0,.18)!important;}
.flash{background:#e9f8ee!important;color:#048913!important;border-color:rgba(4,137,19,.25)!important;}
.status-done{background:#e9f8ee!important;color:#048913!important;}
.status-preparing{background:#fff0e8!important;color:#ff4800!important;}
input:focus,textarea:focus,select:focus{outline:2px solid rgba(255,72,0,.22);border-color:#ff4800!important;}
.check input:checked{accent-color:#048913;}
@media(max-width:640px){.cart-open{background:#048913!important;}}

/* Gộ Cafe V1.5.4 — HARD LOCK brand colors: remove old brown UI from order/admin */
:root{
  --brand:#048913 !important;
  --brand2:#ff4800 !important;
  --text:#063f1d !important;
  --muted:#3f6b4d !important;
  --cream:#fff7ec !important;
  --line:rgba(4,137,19,.16) !important;
  --shadow:0 18px 50px rgba(4,137,19,.10) !important;
}
body,
body.site-body,
.admin-body{
  background:linear-gradient(180deg,#fffaf3,#fff3e4) !important;
  color:#063f1d !important;
}
.site-header{
  background:rgba(255,250,243,.96) !important;
  border-bottom:1px solid rgba(4,137,19,.12) !important;
}
.brand-name,
.site-header nav a,
.product-info h3,
.section-head h2,
.page-title h1,
.checkout-form label,
.admin-form label,
.login-card label{
  color:#063f1d !important;
}
/* Primary actions: orange/green only */
.btn.primary,
.theme-preview,
.admin-logo span,
.brand-mark,
.price-row .add-cart,
.inline-form button,
.product-admin-list button,
.qr-card button,
.admin-sidebar button,
button[type="submit"]{
  background:linear-gradient(135deg,#048913 0%,#ff4800 100%) !important;
  color:#fff !important;
}
.btn:not(.primary){
  color:#063f1d !important;
  border-color:rgba(4,137,19,.24) !important;
}
/* Category tabs and cart button */
.cat-tabs button{
  color:#048913 !important;
  border-color:rgba(4,137,19,.20) !important;
  background:#fff !important;
}
.cat-tabs button.active,
.cart-open{
  background:#048913 !important;
  color:#fff !important;
}
.cart-open b,
.eyebrow,
.page-title span,
.section-head span,
.cart-head span,
.product-img b,
.tag,
.flash{
  color:#fff !important;
  background:#ff4800 !important;
}
.product-img b{background:#fff !important;color:#048913 !important;}
/* Remove old brown placeholder panels */
.product-img{
  background:radial-gradient(circle at 28% 20%,rgba(255,255,255,.36),transparent 34%),linear-gradient(135deg,#048913 0%,#ff4800 100%) !important;
  color:#fff !important;
}
.product-img span{
  color:#fff !important;
}
.product-card,
.admin-card,
.thanks-card,
.login-card,
.qr-card,
.three-cols div,
.cart-drawer,
.cart-item{
  background:#fff !important;
  border-color:rgba(4,137,19,.14) !important;
}
.product-info p,
.section-head p,
.page-title p,
.muted,
.checkout-form textarea,
.checkout-form input,
.checkout-form select,
.admin-form input,
.admin-form textarea,
.admin-form select{
  color:#3f6b4d !important;
}
.price-row strong,
.cart-total strong,
.stats strong,
.product-admin-list a{
  color:#048913 !important;
}
/* Admin: remove brown sidebar */
.admin-sidebar{
  background:#048913 !important;
  color:#fff !important;
}
.admin-sidebar nav a,
.admin-sidebar button{
  background:rgba(255,255,255,.12) !important;
  color:#fff !important;
}
.admin-sidebar nav a:hover{
  background:#ff4800 !important;
}
.admin-logo strong{color:#fff !important;}
.status-new{background:#fff1e8 !important;color:#ff4800 !important;}
.status-accepted,.status-preparing{background:#eaf8eb !important;color:#048913 !important;}
.status-done{background:#048913 !important;color:#fff !important;}
.status-cancelled{background:#ffe8e0 !important;color:#ff4800 !important;}
/* Drawer close and dark mini buttons */
.cart-head button,
.add-cart{
  background:#ff4800 !important;
  color:#fff !important;
}
.add-cart:hover,.btn.primary:hover,.cart-open:hover{
  filter:brightness(.96);
}
/* Keep logo clean */
.brand-logo,.admin-logo-img{
  background:transparent !important;
}


/* Gộ Cafe V1.5.5 — full image product card text overlay fix */
.product-card.has-photo{
  position:relative;
  min-height:380px;
  display:flex;
  align-items:stretch;
  background:#111;
}
.product-card.has-photo .product-img{
  position:absolute;
  inset:0;
  height:auto;
  z-index:1;
  background:#111;
}
.product-card.has-photo .product-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.product-card.has-photo .product-img::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.10) 0%,rgba(0,0,0,.12) 30%,rgba(0,0,0,.68) 72%,rgba(0,0,0,.90) 100%);
}
.product-card.has-photo .product-img b{
  z-index:3;
}
.product-card.has-photo .product-info{
  position:relative;
  z-index:2;
  margin-top:auto;
  width:100%;
  padding:18px;
  color:#fff;
  background:transparent;
}
.product-card.has-photo .product-info h3{
  color:#fff;
  margin:0 0 8px;
  font-size:30px;
  line-height:1.08;
  text-shadow:0 2px 10px rgba(0,0,0,.35);
}
.product-card.has-photo .product-info p{
  color:rgba(255,255,255,.92);
  min-height:auto;
  margin:0 0 14px;
  line-height:1.45;
  text-shadow:0 1px 8px rgba(0,0,0,.35);
}
.product-card.has-photo .price-row strong{
  color:#fff;
  font-size:24px;
  text-shadow:0 2px 10px rgba(0,0,0,.35);
}
.product-card.has-photo .add-cart{
  background:linear-gradient(145deg,var(--brand),var(--brand2));
  box-shadow:0 10px 24px rgba(0,0,0,.22);
}
.product-card.has-photo.is-off .product-img::after{
  background:linear-gradient(180deg,rgba(0,0,0,.25) 0%,rgba(0,0,0,.35) 35%,rgba(0,0,0,.78) 72%,rgba(0,0,0,.92) 100%);
}

@media(max-width:768px){
  .product-card.has-photo{
    min-height:320px;
  }
  .product-card.has-photo .product-info{
    padding:16px;
  }
  .product-card.has-photo .product-info h3{
    font-size:24px;
  }
  .product-card.has-photo .product-info p{
    font-size:14px;
  }
  .product-card.has-photo .price-row strong{
    font-size:22px;
  }
}


/* Gộ Cafe V1.5.7 — Clean image cards
   Replace the harsh green/orange overlay with a clean dark readability layer.
   Photos keep their natural color; text remains readable.
*/
.product-card:has(.product-img img),
.product-card.has-photo{
  position:relative !important;
  min-height:390px !important;
  overflow:hidden !important;
  display:flex !important;
  align-items:stretch !important;
  background:#111 !important;
  border:1px solid rgba(4,137,19,.16) !important;
  box-shadow:0 14px 38px rgba(4,137,19,.10) !important;
}

.product-card:has(.product-img img) .product-img,
.product-card.has-photo .product-img{
  position:absolute !important;
  inset:0 !important;
  height:100% !important;
  width:100% !important;
  z-index:1 !important;
  background:#111 !important;
}

.product-card:has(.product-img img) .product-img img,
.product-card.has-photo .product-img img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
  filter:none !important;
}

/* Remove the ugly brand-color wash from photos */
.product-card:has(.product-img img) .product-img::before,
.product-card.has-photo .product-img::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:2 !important;
  background:linear-gradient(
    180deg,
    rgba(0,0,0,0.00) 0%,
    rgba(0,0,0,0.04) 36%,
    rgba(0,0,0,0.42) 66%,
    rgba(0,0,0,0.86) 100%
  ) !important;
  pointer-events:none !important;
}

/* Neutral bottom shadow only — no green/orange overlay on real images */
.product-card:has(.product-img img) .product-img::after,
.product-card.has-photo .product-img::after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  height:50% !important;
  z-index:2 !important;
  background:linear-gradient(
    180deg,
    rgba(0,0,0,0.00) 0%,
    rgba(0,0,0,0.58) 58%,
    rgba(0,0,0,0.92) 100%
  ) !important;
  mix-blend-mode:normal !important;
  pointer-events:none !important;
}

.product-card:has(.product-img img) .product-img b,
.product-card.has-photo .product-img b{
  z-index:4 !important;
  background:#fff !important;
  color:var(--brand) !important;
  box-shadow:0 8px 18px rgba(0,0,0,.16) !important;
}

.product-card:has(.product-img img) .product-info,
.product-card.has-photo .product-info{
  position:relative !important;
  z-index:3 !important;
  margin-top:auto !important;
  width:100% !important;
  padding:22px 20px 18px !important;
  background:transparent !important;
  color:#fff !important;
  border-radius:0 !important;
}

.product-card:has(.product-img img) .product-info h3,
.product-card.has-photo .product-info h3{
  color:#fff !important;
  margin:0 0 8px !important;
  font-size:28px !important;
  line-height:1.08 !important;
  text-shadow:0 2px 12px rgba(0,0,0,.78) !important;
}

.product-card:has(.product-img img) .product-info p,
.product-card.has-photo .product-info p{
  color:rgba(255,255,255,.96) !important;
  min-height:0 !important;
  margin:0 0 14px !important;
  line-height:1.42 !important;
  text-shadow:0 2px 10px rgba(0,0,0,.78) !important;
}

.product-card:has(.product-img img) .price-row strong,
.product-card.has-photo .price-row strong{
  color:#fff !important;
  font-size:25px !important;
  text-shadow:0 2px 12px rgba(0,0,0,.85) !important;
}

.product-card:has(.product-img img) .add-cart,
.product-card.has-photo .add-cart{
  background:#ff4800 !important;
  color:#fff !important;
  border:0 !important;
  box-shadow:0 10px 24px rgba(0,0,0,.28) !important;
}

/* Placeholder cards: keep clean brand color, but not muddy */
.product-card:not(:has(.product-img img)) .product-img{
  background:
    radial-gradient(circle at 30% 20%,rgba(255,255,255,.30),transparent 36%),
    linear-gradient(135deg,#048913 0%,#ff4800 100%) !important;
}

@media(max-width:768px){
  .product-card:has(.product-img img),
  .product-card.has-photo{
    min-height:330px !important;
  }
  .product-card:has(.product-img img) .product-info,
  .product-card.has-photo .product-info{
    padding:18px 16px 16px !important;
  }
  .product-card:has(.product-img img) .product-info h3,
  .product-card.has-photo .product-info h3{
    font-size:24px !important;
  }
  .product-card:has(.product-img img) .product-info p,
  .product-card.has-photo .product-info p{
    font-size:14px !important;
  }
}


/* Gộ Cafe V1.5.8 — remove product image overlay */
/* Goal: no full-card dark/colored wash. Keep photo natural. Put readable text in a compact bottom info box only. */
.product-card:has(.product-img img),
.product-card.has-photo{
  min-height:390px !important;
  background:#111 !important;
  position:relative !important;
  overflow:hidden !important;
}
.product-card:has(.product-img img) .product-img,
.product-card.has-photo .product-img{
  position:absolute !important;
  inset:0 !important;
  height:100% !important;
  width:100% !important;
  z-index:1 !important;
}
.product-card:has(.product-img img) .product-img img,
.product-card.has-photo .product-img img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
  filter:none !important;
}
/* Remove full-image overlay layers */
.product-card:has(.product-img img) .product-img::before,
.product-card.has-photo .product-img::before,
.product-card:has(.product-img img) .product-img::after,
.product-card.has-photo .product-img::after{
  display:none !important;
  content:none !important;
  background:none !important;
}
.product-card:has(.product-img img) .product-info,
.product-card.has-photo .product-info{
  position:relative !important;
  z-index:3 !important;
  margin-top:auto !important;
  margin-left:14px !important;
  margin-right:14px !important;
  margin-bottom:14px !important;
  width:calc(100% - 28px) !important;
  padding:16px 16px 14px !important;
  background:rgba(0,0,0,.58) !important;
  backdrop-filter:blur(4px) !important;
  -webkit-backdrop-filter:blur(4px) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:18px !important;
  color:#fff !important;
}
.product-card:has(.product-img img) .product-info h3,
.product-card.has-photo .product-info h3{
  color:#fff !important;
  font-size:26px !important;
  line-height:1.08 !important;
  margin:0 0 8px !important;
  text-shadow:0 2px 8px rgba(0,0,0,.45) !important;
}
.product-card:has(.product-img img) .product-info p,
.product-card.has-photo .product-info p{
  color:rgba(255,255,255,.95) !important;
  min-height:auto !important;
  margin:0 0 12px !important;
  line-height:1.4 !important;
  text-shadow:none !important;
}
.product-card:has(.product-img img) .price-row strong,
.product-card.has-photo .price-row strong{
  color:#fff !important;
  font-size:24px !important;
  text-shadow:none !important;
}
.product-card:has(.product-img img) .add-cart,
.product-card.has-photo .add-cart{
  background:#ff4800 !important;
  color:#fff !important;
  border:0 !important;
  box-shadow:none !important;
}
@media(max-width:768px){
  .product-card:has(.product-img img),
  .product-card.has-photo{
    min-height:320px !important;
  }
  .product-card:has(.product-img img) .product-info,
  .product-card.has-photo .product-info{
    margin-left:10px !important;
    margin-right:10px !important;
    margin-bottom:10px !important;
    width:calc(100% - 20px) !important;
    padding:14px 14px 12px !important;
    border-radius:16px !important;
  }
  .product-card:has(.product-img img) .product-info h3,
  .product-card.has-photo .product-info h3{
    font-size:22px !important;
  }
  .product-card:has(.product-img img) .product-info p,
  .product-card.has-photo .product-info p{
    font-size:14px !important;
  }
}


/* Gộ Cafe V1.5.9 — flat colors only (remove gradient buttons/elements) */
:root{
  --brand:#048913 !important;
  --brand2:#ff4800 !important;
  --btn-grad-from:#ff4800 !important;
  --btn-grad-to:#ff4800 !important;
}
body, body.site-body, .admin-body{
  background:#f7f1e7 !important;
}
/* Generic button cleanup */
.btn.primary,
.add-cart,
.inline-form button,
.qr-card button,
button[type=submit],
button.update-order,
button.save-btn{
  background:#ff4800 !important;
  color:#fff !important;
  box-shadow:none !important;
  background-image:none !important;
}
.btn,
.cart-open,
.cart-head button,
.qty-row button{
  background:#ffffff !important;
  background-image:none !important;
}
.cart-open{
  background:#048913 !important;
  color:#fff !important;
  box-shadow:none !important;
}
.cart-open b{
  background:#ff4800 !important;
  color:#fff !important;
}
/* Tabs / pills */
.cat-tabs button.active,
.pill.active,
.site-header nav a.active{
  background:#048913 !important;
  color:#fff !important;
}
.cat-tabs button,
.site-header nav a:hover,
.pill{
  background:#fff !important;
}
/* Admin sidebar */
.admin-sidebar{
  background:#048913 !important;
}
.admin-sidebar nav a,
.admin-sidebar button{
  background:rgba(255,255,255,.14) !important;
  color:#fff !important;
}
.admin-sidebar nav a:hover,
.admin-sidebar nav a.active,
.admin-sidebar button:hover{
  background:#ff4800 !important;
  color:#fff !important;
}
/* Product admin action buttons */
.product-admin-list button,
.product-admin-list .btn,
a.btn-edit,
button.edit-btn{
  background:#048913 !important;
  color:#fff !important;
}
button.delete-btn,
.product-admin-list button:last-child{
  background:#ff4800 !important;
  color:#fff !important;
}
/* Placeholder image blocks */
.product-img,
.admin-thumb.empty,
.brand-mark,
.admin-logo span,
.theme-preview{
  background:#048913 !important;
  background-image:none !important;
}
.product-img span,
.admin-thumb.empty{
  color:#fff !important;
}
/* Empty placeholder with letter on order cards */
.product-card:not(:has(.product-img img)) .product-img{
  background:#048913 !important;
}
/* Badges and price accents */
.price-row strong,
.stats strong,
.product-admin-list a,
.tag,
strong.brand-green{
  color:#048913 !important;
}
/* Specific orange accents */
.status-cancelled,
.flash.bad,
.badge-orange{
  background:#ffefe9 !important;
  color:#ff4800 !important;
}
/* Settings preview / rows */
.theme-preview button{
  background:#ff4800 !important;
  color:#fff !important;
}
/* Remove remaining gradient backgrounds from order/admin UI helpers */
[class*="gradient"],
.hero,
.hero-card,
.cup{
  background-image:none !important;
}
/* Keep site header clean */
.site-header,
.cat-tabs{
  background:#fff8ee !important;
}


/* Gộ Cafe V1.5.11 — Mobile Order Hard Fix
   Mobile layout becomes a practical cafe order list:
   - compact header
   - horizontal category tabs
   - product list: thumbnail left, text center, add button right
   - no large full-image cards on mobile
*/
@media(max-width:768px){

  html, body{
    width:100% !important;
    max-width:100% !important;
    overflow-x:hidden !important;
  }

  body.site-body{
    background:#fff8ee !important;
  }

  .site-header{
    position:sticky !important;
    top:0 !important;
    z-index:50 !important;
    min-height:58px !important;
    height:auto !important;
    padding:8px 12px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    background:#fff8ee !important;
    border-bottom:1px solid rgba(4,137,19,.14) !important;
  }

  .brand{
    max-width:100% !important;
    gap:8px !important;
    font-size:18px !important;
  }

  .brand-logo{
    height:40px !important;
    max-height:40px !important;
    max-width:96px !important;
    width:auto !important;
    object-fit:contain !important;
  }

  .brand-name{
    display:block !important;
    max-width:150px !important;
    color:#073f14 !important;
    font-weight:900 !important;
    font-size:18px !important;
  }

  .site-header nav{
    display:none !important;
  }

  main,
  main.menu-page{
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 12px 96px !important;
  }

  .page-title{
    display:block !important;
    margin:12px 0 8px !important;
    padding:0 !important;
  }

  .page-title span,
  .page-title h1{
    display:none !important;
  }

  .page-title p{
    margin:6px 0 12px !important;
    font-size:15px !important;
    line-height:1.45 !important;
    color:#073f14 !important;
  }

  .cart-open{
    position:fixed !important;
    left:12px !important;
    right:12px !important;
    bottom:12px !important;
    z-index:80 !important;
    width:auto !important;
    border-radius:18px !important;
    padding:15px 18px !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    background:#048913 !important;
    color:#fff !important;
    box-shadow:0 10px 26px rgba(4,137,19,.22) !important;
  }

  .cart-open b{
    background:#ff4800 !important;
    color:#fff !important;
  }

  .cat-tabs{
    position:sticky !important;
    top:57px !important;
    z-index:40 !important;
    width:100% !important;
    margin:0 -12px 10px !important;
    padding:10px 12px !important;
    display:flex !important;
    gap:8px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    white-space:nowrap !important;
    background:#fff8ee !important;
    border-bottom:1px solid rgba(4,137,19,.12) !important;
    -webkit-overflow-scrolling:touch !important;
    scrollbar-width:none !important;
  }

  .cat-tabs::-webkit-scrollbar{
    display:none !important;
  }

  .cat-tabs button{
    flex:0 0 auto !important;
    min-height:42px !important;
    padding:10px 14px !important;
    border-radius:999px !important;
    font-size:15px !important;
    font-weight:900 !important;
    color:#048913 !important;
    background:#fff !important;
    border:1px solid rgba(4,137,19,.22) !important;
  }

  .cat-tabs button.active{
    color:#fff !important;
    background:#048913 !important;
    border-color:#048913 !important;
  }

  .product-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
    width:100% !important;
  }

  .product-card,
  .product-card.has-photo,
  .product-card:has(.product-img img){
    position:relative !important;
    min-height:0 !important;
    height:auto !important;
    display:grid !important;
    grid-template-columns:86px 1fr auto !important;
    align-items:center !important;
    gap:12px !important;
    padding:10px !important;
    border-radius:18px !important;
    overflow:hidden !important;
    background:#fff !important;
    border:1px solid rgba(4,137,19,.14) !important;
    box-shadow:0 8px 22px rgba(4,137,19,.08) !important;
  }

  .product-card.is-off{
    opacity:.52 !important;
  }

  .product-card .product-img,
  .product-card.has-photo .product-img,
  .product-card:has(.product-img img) .product-img{
    position:relative !important;
    inset:auto !important;
    grid-column:1 !important;
    grid-row:1 !important;
    width:86px !important;
    height:86px !important;
    min-height:86px !important;
    border-radius:14px !important;
    overflow:hidden !important;
    z-index:1 !important;
    display:grid !important;
    place-items:center !important;
    background:#048913 !important;
  }

  .product-card .product-img::before,
  .product-card .product-img::after,
  .product-card.has-photo .product-img::before,
  .product-card.has-photo .product-img::after,
  .product-card:has(.product-img img) .product-img::before,
  .product-card:has(.product-img img) .product-img::after{
    display:none !important;
    content:none !important;
    background:none !important;
  }

  .product-card .product-img img,
  .product-card.has-photo .product-img img,
  .product-card:has(.product-img img) .product-img img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center !important;
    filter:none !important;
  }

  .product-img span{
    font-size:30px !important;
    color:#fff !important;
  }

  .product-img b{
    position:absolute !important;
    left:4px !important;
    top:4px !important;
    z-index:4 !important;
    padding:4px 7px !important;
    font-size:10px !important;
    line-height:1 !important;
    border-radius:999px !important;
    max-width:78px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    color:#048913 !important;
    background:#fff !important;
  }

  .product-card .product-info,
  .product-card.has-photo .product-info,
  .product-card:has(.product-img img) .product-info{
    position:relative !important;
    z-index:2 !important;
    grid-column:2 !important;
    grid-row:1 !important;
    margin:0 !important;
    width:auto !important;
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    color:#073f14 !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }

  .product-info h3,
  .product-card.has-photo .product-info h3,
  .product-card:has(.product-img img) .product-info h3{
    margin:0 0 4px !important;
    color:#073f14 !important;
    font-size:17px !important;
    line-height:1.22 !important;
    font-weight:900 !important;
    text-shadow:none !important;
  }

  .product-info p,
  .product-card.has-photo .product-info p,
  .product-card:has(.product-img img) .product-info p{
    margin:0 0 8px !important;
    min-height:0 !important;
    color:#335b3d !important;
    font-size:13px !important;
    line-height:1.35 !important;
    text-shadow:none !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
  }

  .price-row{
    display:block !important;
  }

  .price-row strong,
  .product-card.has-photo .price-row strong,
  .product-card:has(.product-img img) .price-row strong{
    color:#048913 !important;
    font-size:18px !important;
    line-height:1 !important;
    text-shadow:none !important;
  }

  .add-cart,
  .product-card.has-photo .add-cart,
  .product-card:has(.product-img img) .add-cart{
    grid-column:3 !important;
    grid-row:1 !important;
    min-width:66px !important;
    min-height:44px !important;
    padding:10px 13px !important;
    border-radius:14px !important;
    background:#ff4800 !important;
    color:#fff !important;
    font-size:15px !important;
    font-weight:900 !important;
    box-shadow:none !important;
  }

  .price-row .add-cart{
    float:right !important;
    margin-top:-32px !important;
  }

  /* Cart drawer mobile */
  .cart-drawer{
    width:100vw !important;
    max-width:100vw !important;
  }

  .cart-items{
    max-height:36vh !important;
  }

  .checkout-form{
    padding-bottom:92px !important;
  }
}


/* Gộ Cafe V1.5.12 — Mobile button/price overlap fix
   Fix real phone issue: price and "Thêm" button overlap product text.
   Mobile card becomes:
   [image] [name/desc/price] [button]
*/
@media(max-width:768px){

  .product-card,
  .product-card.has-photo,
  .product-card:has(.product-img img){
    grid-template-columns:86px minmax(0,1fr) 76px !important;
    gap:10px !important;
    align-items:center !important;
    padding:10px !important;
    min-height:108px !important;
  }

  .product-card .product-info,
  .product-card.has-photo .product-info,
  .product-card:has(.product-img img) .product-info{
    grid-column:2 !important;
    min-width:0 !important;
    overflow:hidden !important;
    padding-right:0 !important;
  }

  .product-info h3,
  .product-card.has-photo .product-info h3,
  .product-card:has(.product-img img) .product-info h3{
    font-size:17px !important;
    line-height:1.15 !important;
    margin:0 0 4px !important;
    white-space:normal !important;
    overflow:visible !important;
    text-overflow:clip !important;
  }

  .product-info p,
  .product-card.has-photo .product-info p,
  .product-card:has(.product-img img) .product-info p{
    font-size:13px !important;
    line-height:1.28 !important;
    margin:0 0 6px !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
  }

  .price-row{
    display:block !important;
    position:static !important;
    margin:0 !important;
  }

  .price-row strong,
  .product-card.has-photo .price-row strong,
  .product-card:has(.product-img img) .price-row strong{
    display:block !important;
    color:#048913 !important;
    font-size:17px !important;
    line-height:1.1 !important;
    margin:0 !important;
    white-space:nowrap !important;
  }

  .price-row .add-cart,
  .add-cart,
  .product-card.has-photo .add-cart,
  .product-card:has(.product-img img) .add-cart{
    float:none !important;
    margin:0 !important;
    position:static !important;
    grid-column:3 !important;
    justify-self:end !important;
    align-self:center !important;
    width:72px !important;
    min-width:72px !important;
    max-width:72px !important;
    height:46px !important;
    min-height:46px !important;
    padding:0 !important;
    border-radius:14px !important;
    background:#ff4800 !important;
    color:#fff !important;
    font-size:15px !important;
    line-height:46px !important;
    text-align:center !important;
    box-shadow:none !important;
  }

  .product-card .product-img,
  .product-card.has-photo .product-img,
  .product-card:has(.product-img img) .product-img{
    width:86px !important;
    height:86px !important;
    min-width:86px !important;
    min-height:86px !important;
  }

  .cart-open{
    bottom:10px !important;
    left:10px !important;
    right:10px !important;
    max-width:calc(100vw - 20px) !important;
  }
}

@media(max-width:380px){
  .product-card,
  .product-card.has-photo,
  .product-card:has(.product-img img){
    grid-template-columns:78px minmax(0,1fr) 66px !important;
    gap:8px !important;
  }

  .product-card .product-img,
  .product-card.has-photo .product-img,
  .product-card:has(.product-img img) .product-img{
    width:78px !important;
    height:78px !important;
    min-width:78px !important;
    min-height:78px !important;
  }

  .price-row .add-cart,
  .add-cart,
  .product-card.has-photo .add-cart,
  .product-card:has(.product-img img) .add-cart{
    width:64px !important;
    min-width:64px !important;
    max-width:64px !important;
    height:42px !important;
    min-height:42px !important;
    line-height:42px !important;
    font-size:14px !important;
  }

  .product-info h3,
  .product-card.has-photo .product-info h3,
  .product-card:has(.product-img img) .product-info h3{
    font-size:16px !important;
  }

  .product-info p,
  .product-card.has-photo .product-info p,
  .product-card:has(.product-img img) .product-info p{
    font-size:12.5px !important;
    -webkit-line-clamp:2 !important;
  }

  .price-row strong,
  .product-card.has-photo .price-row strong,
  .product-card:has(.product-img img) .price-row strong{
    font-size:16px !important;
  }
}


/* Gộ Cafe V1.5.13 - category edit/delete admin */
.cat-form-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.cat-cancel{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;border:1px solid rgba(4,137,19,.18);background:#fff;color:#048913;font-weight:900;text-decoration:none}
.cat-list li{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 0;border-bottom:1px solid rgba(4,137,19,.14)}
.cat-item-main{min-width:0;display:grid;gap:4px}
.cat-item-main strong{color:#073f14;font-size:18px}
.cat-item-main small{color:#62806a;font-weight:800}
.cat-desc{color:#476552;font-size:14px;line-height:1.4}
.cat-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}
.cat-actions a,.cat-actions button{display:inline-flex;align-items:center;justify-content:center;min-width:62px;padding:10px 14px;border-radius:999px;font-weight:900;text-decoration:none;border:0;cursor:pointer}
.cat-actions a{background:#048913;color:#fff}
.cat-actions button{background:#ff4800;color:#fff}
@media(max-width:768px){.cat-list li{flex-direction:column}.cat-actions{width:100%}}
