/* Deliver-to and header layout matched to Thamilar Santhai placement */
html body:not(.admin-page) header.site-header>.shell.head{grid-template-columns:minmax(165px,195px) minmax(250px,416px) minmax(220px,1fr) auto!important;grid-template-rows:auto!important;gap:10px!important}
html body:not(.admin-page) header.site-header .brand-lockup{grid-column:1!important;grid-row:1!important}
html body:not(.admin-page) header.site-header .rk-deliver-to{grid-column:2!important;grid-row:1!important;width:min(416px,100%)!important;max-width:416px!important;min-width:0!important;justify-self:start!important;position:relative!important;z-index:120!important}
html body:not(.admin-page) header.site-header .search-wrap{grid-column:3!important;grid-row:1!important;width:100%!important;min-width:0!important}
html body:not(.admin-page) header.site-header .header-actions{grid-column:4!important;grid-row:1!important;justify-self:end!important}
html body:not(.admin-page) header.site-header .rk-head-search-switch{display:contents!important}
html body:not(.admin-page) header.site-header .main-nav .nav-scroll{justify-content:flex-start!important;gap:8px!important;overflow-x:auto!important}
html body:not(.admin-page) header.site-header .main-nav .nav-scroll>.rk-delivery-toggle{flex:0 0 232px!important;width:232px!important;max-width:232px!important;margin-left:auto!important;align-self:center!important}
.rk-deliver-to{width:min(416px,100%)!important;max-width:416px!important;min-width:0}
.rk-deliver-to-button{display:flex;align-items:center;gap:10px;width:100%;min-width:0;height:48px;padding:5px 13px;border:1px solid #e1e9e3;border-radius:12px;background:#fff;color:#173e38;text-align:left;cursor:pointer;box-shadow:0 2px 8px rgba(20,61,54,.05)}
.rk-deliver-to-button:hover{border-color:#8fb4ce;background:#f7fbfe}
.rk-deliver-to-button:disabled{opacity:.7;cursor:progress}
.rk-deliver-to-pin{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:#4268e8;stroke-width:1.7}
.rk-deliver-to-copy{display:grid;gap:2px;min-width:0}
.rk-deliver-to-copy small{font-size:11px;line-height:1.1;color:#71808b}
.rk-deliver-to-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.2;color:#17364f}
.rk-deliver-to-chevron{margin-left:auto;color:#526d7e;font-size:17px;line-height:1}
.rk-deliver-to-feedback{position:absolute;top:calc(100% + 7px);left:0;right:0;z-index:200;display:none;padding:11px 13px;border:1px solid #c9dce8;border-radius:12px;background:#fff;color:#24475e;box-shadow:0 9px 24px #123b5a24;font-size:12px;line-height:1.45}
.rk-deliver-to.has-feedback .rk-deliver-to-feedback{display:block}
@media(max-width:1100px) and (min-width:761px){
 html body:not(.admin-page) header.site-header>.shell.head{grid-template-columns:minmax(145px,170px) minmax(210px,280px) minmax(160px,1fr) auto!important;gap:7px!important}
 html body:not(.admin-page) header.site-header .brand-lockup img{width:170px!important}
 html body:not(.admin-page) header.site-header .rk-deliver-to{width:100%!important;max-width:280px!important}
 html body:not(.admin-page) header.site-header .main-nav .nav-scroll>.rk-delivery-toggle{flex-basis:220px!important;width:220px!important;max-width:220px!important}
}
@media(max-width:760px){
 html body:not(.admin-page) header.site-header>.shell.head{grid-template-columns:42px minmax(0,1fr) auto!important;grid-template-rows:49px 40px 40px 42px!important;gap:4px 8px!important}
 html body:not(.admin-page) header.site-header .brand-lockup{grid-column:auto!important;grid-row:1!important}
 html body:not(.admin-page) header.site-header .header-actions{grid-column:3!important;grid-row:1!important}
 html body:not(.admin-page) header.site-header .rk-deliver-to{grid-column:1/-1!important;grid-row:2!important;width:100%!important;max-width:none!important}
 html body:not(.admin-page) header.site-header .rk-deliver-to-button{height:38px!important;min-height:38px!important}
 html body:not(.admin-page) header.site-header .rk-delivery-toggle{grid-column:1/-1!important;grid-row:3!important;width:100%!important;min-height:38px!important}
 html body:not(.admin-page) header.site-header .rk-delivery-toggle button{min-height:30px!important}
 html body:not(.admin-page) header.site-header .search-wrap{display:none!important;grid-column:1/-1!important;grid-row:4!important;width:100%!important}
 html body.rk-mobile-search-open header.site-header .search-wrap{display:grid!important}
 html body:not(.admin-page) header.site-header .main-nav .nav-scroll>.rk-delivery-toggle{display:none!important}
 html body.rk-mobile-search-open header.site-header>.shell.head{grid-template-rows:49px 40px 40px 42px!important}
}
/* Location picker mirrors Thamilar Santhai's modal and exact-location flow. */
.rk-location-picker[hidden]{display:none!important}
.rk-location-picker{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:rgba(7,28,43,.56);backdrop-filter:blur(3px)}
.rk-location-dialog{position:relative;width:min(560px,100%);max-height:min(88vh,760px);overflow:auto;padding:26px;border:1px solid #dce7ec;border-radius:20px;background:#fff;color:#18384a;box-shadow:0 24px 80px rgba(8,32,48,.28)}
.rk-location-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.rk-location-kicker{font-size:10px;font-weight:900;letter-spacing:.12em;color:#287d83}
.rk-location-dialog h2{margin:5px 0 0;font:700 25px/1.2 Georgia,serif;color:#173e54}
.rk-location-close{width:36px;height:36px;flex:0 0 36px;border:0;border-radius:50%;background:#edf4f7;color:#31556b;font-size:24px;line-height:1;cursor:pointer}
.rk-location-intro{margin:14px 0;color:#566d7a;font-size:13px;line-height:1.55}
.rk-use-location{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;border:1px solid #cbdfe6;border-radius:12px;background:#f4fafb;color:#176477;font-weight:800;cursor:pointer}
.rk-use-location span{font-size:19px}
.rk-location-hint{margin:10px 0 16px;color:#637984;font-size:11px;line-height:1.5}
.rk-location-search label{display:block;margin-bottom:7px;color:#314d5e;font-size:12px;font-weight:750}
.rk-location-search-row{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:8px}
.rk-location-search input{width:100%;height:44px;min-width:0;border:1px solid #cbd9e0;border-radius:10px;padding:0 12px;outline:none;color:#173e54}
.rk-location-search input:focus{border-color:#287d9a;box-shadow:0 0 0 3px rgba(40,125,154,.12)}
.rk-location-search-row button{height:44px;border:0;border-radius:10px;background:#086d7b;color:#fff;font-weight:800;cursor:pointer}
.rk-location-status{min-height:20px;margin:11px 0 4px;color:#176477;font-size:12px;line-height:1.5}
.rk-location-privacy{margin:8px 0 4px;color:#7a8991;font-size:10px;line-height:1.55}
.rk-location-attribution{color:#638092;font-size:10px;text-decoration:underline}
body.rk-location-open{overflow:hidden}
@media(max-width:600px){
 .rk-location-picker{padding:12px;align-items:end}
 .rk-location-dialog{width:100%;max-height:90vh;padding:21px 18px;border-radius:18px 18px 12px 12px}
 .rk-location-dialog h2{font-size:22px}
 .rk-location-search-row{grid-template-columns:minmax(0,1fr) 82px}
}
