
/* GG BEACH — focused cart & checkout reconstruction.
   Scoped to existing IDs/classes; no changes to ordering or business logic. */
:root{
  --gg-ink:#123c35;--gg-ink-2:#234d45;--gg-muted:#71817b;
  --gg-line:#e8e9df;--gg-paper:#fffefa;--gg-soft:#f6f6f0;
  --gg-gold:#c6a66a;--gg-shadow:0 18px 55px rgba(16,48,41,.13);
}
.gg-menu-masthead-v4{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:42px 0 30px!important;min-height:138px}
.gg-menu-masthead-v4 .menu-intro-copy{min-width:0;flex:1}
.gg-menu-masthead-v4 .gg-menu-title-line{display:flex;align-items:baseline;gap:22px;flex-wrap:wrap}
.gg-menu-masthead-v4 #menu-page-title{margin:0;line-height:1.02;letter-spacing:-.045em}
.gg-menu-masthead-v4 .menu-intro-meta{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.gg-menu-masthead-v4 .menu-count,.gg-menu-masthead-v4 .menu-live{border:1px solid var(--gg-line);background:rgba(255,255,255,.78);border-radius:15px;padding:12px 15px;box-shadow:0 5px 18px rgba(20,50,42,.035)}
.gg-menu-masthead-v4 .menu-live{display:flex;align-items:center;gap:9px}
.gg-menu-masthead-v4 .menu-live small{display:block}
.menu-toolbar{margin-top:0!important}

/* Cart drawer */
#cart-overlay{position:fixed;inset:0;z-index:9998;background:rgba(9,25,22,.48);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
#cart-sidebar.cart-drawer{position:fixed;z-index:9999;top:0;right:0;bottom:0;width:min(510px,100vw);height:100dvh;max-height:100dvh;background:var(--gg-paper);display:flex;flex-direction:column;box-shadow:-24px 0 70px rgba(8,35,29,.2);border-left:1px solid rgba(255,255,255,.65);transform:translateX(0);transition:transform .32s cubic-bezier(.2,.75,.25,1);overflow:hidden}
#cart-sidebar.translate-x-full{transform:translateX(105%)}
#cart-sidebar .drawer-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:22px 24px 18px;border-bottom:1px solid var(--gg-line);background:linear-gradient(135deg,#fffefa,#f5f6ef)}
#cart-sidebar .drawer-head>div{display:grid;gap:4px;min-width:0}
#cart-sidebar .drawer-head small{font-size:10px;letter-spacing:.15em;font-weight:800;color:#8a9b91}
#cart-sidebar .drawer-head b{font-size:22px;line-height:1.15;color:var(--gg-ink);letter-spacing:-.035em}
#cart-sidebar #drawer-item-meta{font-size:12px;color:var(--gg-muted)}
#cart-sidebar .drawer-head>button{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--gg-line);border-radius:50%;background:#fff;color:var(--gg-ink);font-size:23px;cursor:pointer}
#cart-sidebar .cart-items{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px 18px 18px}
#cart-sidebar .drawer-item-premium{display:grid;grid-template-columns:112px minmax(0,1fr);gap:15px;padding:14px 0;border-bottom:1px solid var(--gg-line);align-items:start}
#cart-sidebar .drawer-item-media{width:112px;height:112px;border-radius:14px;overflow:hidden;background:#f0f1e9;display:grid;place-items:center;color:var(--gg-ink);font-size:28px}
#cart-sidebar .drawer-item-media img{width:100%;height:100%;display:block;object-fit:cover}
#cart-sidebar .drawer-item-body{min-width:0;display:flex;flex-direction:column;gap:10px}
#cart-sidebar .drawer-item-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
#cart-sidebar .drawer-item-top h4{margin:0;color:var(--gg-ink);font-size:15px;line-height:1.35;font-weight:800;overflow-wrap:anywhere}
#cart-sidebar .drawer-item-top p{margin:4px 0 0;color:var(--gg-muted);font-size:12px}
#cart-sidebar .drawer-item-top>button{flex:0 0 30px;width:30px;height:30px;border:1px solid #eaded9;border-radius:9px;background:#fff8f6;color:#a34d40;font-size:18px;line-height:1;cursor:pointer}
#cart-sidebar .drawer-item-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
#cart-sidebar .drawer-item-bottom>strong{font-size:14px;color:var(--gg-ink);font-weight:850}
#cart-sidebar .qty-control{display:inline-flex;align-items:center;gap:0;border:1px solid var(--gg-line);border-radius:999px;background:#fff;padding:3px}
#cart-sidebar .qty-control button{width:30px;height:28px;border:0;border-radius:50%;background:#f2f4ed;color:var(--gg-ink);font-size:17px;cursor:pointer}
#cart-sidebar .qty-control b{min-width:30px;text-align:center;color:var(--gg-ink);font-size:13px}
#cart-sidebar .drawer-item-body textarea{display:block;width:100%;min-height:38px;max-height:82px;resize:vertical;border:1px solid var(--gg-line);border-radius:9px;padding:9px 10px;background:#fff;font:inherit;font-size:12px;color:var(--gg-ink);outline:none}
#cart-sidebar .drawer-item-body textarea:focus{border-color:#9db6a9;box-shadow:0 0 0 3px rgba(24,91,73,.08)}
#cart-sidebar .cart-footer{flex:0 0 auto;padding:17px 22px calc(18px + env(safe-area-inset-bottom));border-top:1px solid var(--gg-line);background:#fffefa;box-shadow:0 -8px 24px rgba(25,55,45,.045)}
#cart-sidebar .cart-total-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;color:var(--gg-ink);font-size:14px}
#cart-sidebar .cart-total-row strong{font-size:21px;font-weight:900;letter-spacing:-.025em}
#cart-sidebar .cart-footer>button{width:100%;min-height:50px;border:0;border-radius:13px;background:var(--gg-ink);color:#fff;font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center;gap:12px;cursor:pointer;box-shadow:0 8px 20px rgba(18,60,53,.17)}
#cart-sidebar .cart-footer>button:hover{background:#1c5147;transform:translateY(-1px)}
#cart-sidebar .empty-cart{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px;color:var(--gg-muted)}
#cart-sidebar .empty-cart>div{font-size:38px;margin-bottom:12px}
#cart-sidebar .empty-cart b{font-size:17px;color:var(--gg-ink)}
#cart-sidebar .empty-cart p{font-size:13px}

/* Checkout */
#checkout-section{background:#f7f7f2;min-height:calc(100vh - 70px);padding:34px 22px 64px}
#checkout-section .checkout-wrap{width:min(1160px,100%);margin:0 auto}
#checkout-section .checkout-top{position:relative;margin:0 0 28px;padding:0 0 22px;border-bottom:1px solid #e5e7dc}
#checkout-section .checkout-top>button{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--gg-line);border-radius:999px;background:#fff;padding:9px 15px;color:var(--gg-ink);font-size:13px;font-weight:700;cursor:pointer}
#checkout-section .checkout-top>small{display:block;margin-top:22px;color:#84958b;font-size:10px;font-weight:800;letter-spacing:.16em}
#checkout-section .checkout-top h1{margin:8px 0 0;color:var(--gg-ink);font-size:clamp(29px,4vw,43px);line-height:1.1;letter-spacing:-.045em}
#checkout-section .checkout-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.8fr);gap:22px;align-items:start}
#checkout-section .checkout-form{display:grid;gap:15px;min-width:0}
#checkout-section .form-card{background:#fff;border:1px solid var(--gg-line);border-radius:17px;padding:21px 22px;box-shadow:0 7px 24px rgba(28,55,45,.035);min-width:0}
#checkout-section .form-title{display:flex;align-items:center;gap:13px;margin-bottom:18px}
#checkout-section .form-title>span{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:11px;background:#edf3ed;color:var(--gg-ink);font-size:12px;font-weight:900}
#checkout-section .form-title>div{display:grid;gap:3px}
#checkout-section .form-title b{color:var(--gg-ink);font-size:16px}
#checkout-section .form-title small{color:var(--gg-muted);font-size:12px}
#checkout-section .form-card>label,#checkout-section .delivery-box>label{display:grid;gap:8px;color:#405b53;font-size:13px;font-weight:700}
#checkout-section input:not([type=radio]),#checkout-section select,#checkout-section textarea{width:100%;min-height:46px;border:1px solid #dfe5dc;border-radius:10px;background:#fff;padding:11px 13px;color:var(--gg-ink);font:inherit;font-size:14px;outline:none;box-sizing:border-box}
#checkout-section input:focus,#checkout-section select:focus,#checkout-section textarea:focus{border-color:#8eae9f;box-shadow:0 0 0 3px rgba(24,91,73,.08)}
#checkout-section .choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#checkout-section .choice{position:relative;display:flex;align-items:center;gap:10px;min-height:62px;padding:12px 14px;border:1px solid #e4e8df;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s;box-sizing:border-box}
#checkout-section .choice:has(input:checked){border-color:#729889;background:#f3f7f2;box-shadow:inset 0 0 0 1px rgba(40,100,80,.12)}
#checkout-section .choice input[type=radio]{accent-color:var(--gg-ink);width:16px;height:16px;flex:0 0 16px;margin:0}
#checkout-section .choice span{display:grid;gap:3px;min-width:0}
#checkout-section .choice b{color:var(--gg-ink);font-size:13px}
#checkout-section .choice small{color:var(--gg-muted);font-size:11px;line-height:1.35}
#checkout-section .payment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#checkout-section .delivery-box{display:grid;gap:13px;margin-top:15px;padding:15px;border-radius:12px;background:#f7f8f3;border:1px solid #e8ebdf}
#checkout-section .payment-display{margin-top:15px;padding:16px;border:1px solid var(--gg-line);border-radius:13px;background:#fafbf7;text-align:center}
#checkout-section .payment-display>img{display:block;width:min(230px,100%);height:auto;max-height:260px;object-fit:contain;margin:0 auto 9px}
#checkout-section .payment-display p{margin:7px 0 0;color:var(--gg-muted);font-size:12px}
#checkout-section .payment-option-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:10px}
#checkout-section .payment-option{display:grid;justify-items:center;gap:7px;padding:10px;border:1px solid var(--gg-line);border-radius:10px;background:#fff;color:var(--gg-ink);font-size:12px}
#checkout-section .payment-option img{width:76px;height:40px;object-fit:contain}
#checkout-section .payment-option span{font-size:11px;color:var(--gg-muted)}
#checkout-section .submit-order{width:100%;min-height:54px;border:0;border-radius:13px;background:#0d493d;color:#fff;font-size:14px;font-weight:850;letter-spacing:.01em;display:flex;align-items:center;justify-content:center;gap:12px;cursor:pointer;box-shadow:0 10px 24px rgba(13,73,61,.16);transition:transform .2s,background .2s}
#checkout-section .submit-order:hover{background:#176052;transform:translateY(-1px)}
#checkout-section .order-summary{position:sticky;top:18px;min-width:0;background:#fff;border:1px solid var(--gg-line);border-radius:17px;padding:21px;box-shadow:0 8px 26px rgba(28,55,45,.045)}
#checkout-section .summary-overline{display:flex;align-items:center;gap:8px;color:#87958c;font-size:10px;font-weight:850;letter-spacing:.15em}
#checkout-section .summary-status-dot{width:7px;height:7px;border-radius:50%;background:#5caa7d;box-shadow:0 0 0 4px #eaf4ed}
#checkout-section .summary-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
#checkout-section .summary-title-row h2{margin:0;color:var(--gg-ink);font-size:23px;letter-spacing:-.035em}
#checkout-section .summary-title-row p{margin:5px 0 0;color:var(--gg-muted);font-size:12px}
#checkout-section .summary-lock{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#edf5ef;color:#387a58;font-weight:900}
#checkout-section .summary-items-wrap{margin:16px 0}
#checkout-section .summary-items{display:grid;gap:12px}
#checkout-section .summary-item-premium{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;align-items:start;padding:11px 0;border-top:1px solid #edf0e9}
#checkout-section .summary-item-media{width:76px;height:76px;border-radius:11px;overflow:hidden;background:#f0f1e9;display:grid;place-items:center}
#checkout-section .summary-item-media img{width:100%;height:100%;object-fit:cover;display:block}
#checkout-section .summary-item-main{min-width:0}
#checkout-section .summary-item-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
#checkout-section .summary-item-top h4{margin:0;color:var(--gg-ink);font-size:13px;line-height:1.35;overflow-wrap:anywhere}
#checkout-section .summary-item-top strong{color:var(--gg-ink);font-size:12px;white-space:nowrap}
#checkout-section .summary-item-meta{display:flex;gap:7px;margin-top:6px;color:var(--gg-muted);font-size:11px}
#checkout-section .summary-qty{font-weight:800;color:#526e62}
#checkout-section .summary-note{margin-top:7px;padding:7px 9px;border-radius:8px;background:#f7f8f3;color:#687b71;font-size:11px;overflow-wrap:anywhere}
#checkout-section .summary-total-premium{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 0;border-top:1px solid var(--gg-line);border-bottom:1px solid var(--gg-line)}
#checkout-section .summary-total-premium>div{display:grid;gap:4px;color:var(--gg-ink);font-size:13px;font-weight:800}
#checkout-section .summary-total-premium small{color:var(--gg-muted);font-size:10px;font-weight:400}
#checkout-section .summary-total-premium>strong{color:var(--gg-ink);font-size:22px;font-weight:900;white-space:nowrap}
#checkout-section .summary-trust{display:flex;align-items:flex-start;gap:9px;margin-top:15px;color:var(--gg-muted)}
#checkout-section .summary-trust>span{width:20px;height:20px;flex:0 0 20px;display:grid;place-items:center;border-radius:50%;background:#edf5ef;color:#397b59;font-size:11px;font-weight:900}
#checkout-section .summary-trust p{margin:1px 0 0;font-size:11px;line-height:1.55}
#checkout-section .hidden{display:none!important}
@media(max-width:850px){
 #checkout-section .checkout-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 #checkout-section .order-summary{position:static;grid-row:2}
 #checkout-section{padding:25px 16px 45px}
 #checkout-section .checkout-top{margin-bottom:19px}
 #checkout-section .checkout-top>small{margin-top:17px}
}
@media(max-width:600px){
 .gg-menu-masthead-v4{align-items:flex-start;flex-direction:column;gap:16px;padding:30px 0 23px!important;min-height:0}
 .gg-menu-masthead-v4 .gg-menu-title-line{display:block}
 .gg-menu-masthead-v4 #menu-page-title{font-size:clamp(38px,10vw,52px)}
 .gg-menu-masthead-v4 .menu-intro-meta{width:100%;display:grid;grid-template-columns:auto 1fr}
 .gg-menu-masthead-v4 .menu-live{min-width:0}
 #cart-sidebar.cart-drawer{width:100vw;border-left:0}
 #cart-sidebar .drawer-head{padding:17px 17px 14px}
 #cart-sidebar .cart-items{padding:9px 14px 14px}
 #cart-sidebar .drawer-item-premium{grid-template-columns:88px minmax(0,1fr);gap:12px;padding:12px 0}
 #cart-sidebar .drawer-item-media{width:88px;height:88px;border-radius:12px}
 #cart-sidebar .drawer-item-top h4{font-size:14px}
 #cart-sidebar .drawer-item-bottom>strong{font-size:13px}
 #cart-sidebar .qty-control button{width:27px;height:27px}
 #cart-sidebar .cart-footer{padding:14px 16px calc(14px + env(safe-area-inset-bottom))}
 #checkout-section{padding:19px 13px 36px}
 #checkout-section .form-card{padding:17px 15px;border-radius:14px}
 #checkout-section .form-title{margin-bottom:15px}
 #checkout-section .choice-grid,#checkout-section .payment-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #checkout-section .choice{padding:10px;min-height:60px;gap:8px}
 #checkout-section .choice b{font-size:12px}
 #checkout-section .choice small{font-size:10px}
 #checkout-section .order-summary{padding:17px 15px;border-radius:14px}
 #checkout-section .summary-total-premium>strong{font-size:19px}
}
@media(max-width:360px){
 #cart-sidebar .drawer-item-premium{grid-template-columns:76px minmax(0,1fr);gap:9px}
 #cart-sidebar .drawer-item-media{width:76px;height:76px}
 #checkout-section .choice-grid,#checkout-section .payment-grid{grid-template-columns:1fr}
}
