/* MANJAM White Foundation · footer and information pages only. */
.demo-footer-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;align-items:start}
.demo-footer-cols>*{min-width:0}
.footer-group{margin:0;border:0}
.footer-group>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;font:600 12px/18px var(--sans);letter-spacing:.5px;list-style:none;cursor:pointer}
.footer-group>summary::-webkit-details-marker{display:none}
.footer-group>summary::after{content:'+';font-size:18px;font-weight:400;margin-left:12px}
.footer-group[open]>summary::after{content:'−'}
.footer-group nav{display:flex;flex-direction:column;gap:0;padding:4px 0 8px}
.demo-footer-cols .footer-group a,.demo-footer-cols .footer-contact a{display:flex;align-items:center;min-height:44px;margin:0;padding:8px 0;font:400 13px/18px var(--sans);overflow-wrap:anywhere}
.footer-contact h3{display:flex;align-items:center;min-height:44px;margin:0;font:600 12px/18px var(--sans)}
.footer-contact>span{display:block;margin-top:8px;overflow-wrap:anywhere}
.footer-contact p{font:400 12px/18px var(--sans);color:var(--muted);margin:16px 0 0}
.demo-footer-bottom a{display:inline-flex;align-items:center;min-height:44px}
.policy-shell{max-width:1200px;margin:0 auto;padding:48px 32px 64px}
.policy-header{max-width:820px;margin-bottom:40px}
.policy-back{display:inline-flex;align-items:center;min-height:44px;font:400 12px/18px var(--sans);color:var(--muted)}
.policy-eyebrow{margin:20px 0 12px;font:500 10px/14px var(--sans);letter-spacing:1px;text-transform:uppercase;color:var(--muted)}
.policy-header h1{margin:0 0 20px;font:400 36px/44px var(--serif);letter-spacing:-.6px}
.policy-intro{font:400 16px/24px var(--sans);max-width:660px;margin:0 0 20px}
.policy-preview{border-left:2px solid var(--line);padding:8px 0 8px 16px;color:var(--muted);font:400 12px/18px var(--sans);margin:0;max-width:660px}
.policy-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:48px;align-items:start}
.policy-desktop-nav{position:sticky;top:128px}
.policy-desktop-nav nav,.policy-mobile-nav nav{display:flex;flex-direction:column}
.policy-desktop-nav a,.policy-mobile-nav a{display:flex;align-items:center;min-height:44px;padding:8px 12px;border-left:2px solid transparent;font:400 13px/20px var(--sans)}
.policy-desktop-nav a[aria-current],.policy-mobile-nav a[aria-current]{border-left-color:var(--ink);font-weight:600;background:#F7F7F7}
.policy-main{min-width:0;max-width:780px}
.policy-mobile-nav{display:none}
.policy-body{font:400 14px/24px var(--sans);overflow-wrap:anywhere}
.policy-body h2,.policy-support h2{font:600 18px/24px var(--sans);margin:32px 0 12px}
.policy-body p{margin:0 0 16px}
.policy-body>h2:first-child{margin-top:0}
.policy-body strong{font-weight:600}
.policy-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
.policy-hub-grid>a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 0;min-height:64px;border-bottom:1px solid var(--line);font:500 14px/22px var(--sans)}
.policy-hub-grid>a>span:first-child{min-width:0}
.policy-table-wrap{width:100%;margin:16px 0 24px}
.policy-table-wrap table{width:100%;border-collapse:collapse;table-layout:fixed;font:400 13px/22px var(--sans)}
.policy-table-wrap caption{text-align:left;caption-side:bottom;padding-top:16px;color:var(--muted);font:400 12px/20px var(--sans)}
.policy-table-wrap th,.policy-table-wrap td{text-align:left;vertical-align:top;padding:12px 14px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.policy-table-wrap th:first-child{width:34%}
.policy-table-wrap thead th{font-weight:600;background:#F7F7F7}
.policy-table-wrap tbody th{font-weight:500}
.policy-support{margin-top:40px;padding-top:24px;border-top:1px solid var(--line);font:400 14px/24px var(--sans)}
.policy-support h2{margin-top:0}
.policy-link{display:flex;align-items:center;min-height:44px;gap:8px;font-weight:500}
.policy-faq{border-bottom:1px solid var(--line);margin:0}
.policy-faq>summary{min-height:56px;padding:16px 0;cursor:pointer;font:500 14px/24px var(--sans)}
.policy-faq>div{padding:0 0 8px}
@media(min-width:801px){.footer-group>summary::after{display:none}}
@media(max-width:800px){
 .demo-footer-cols{grid-template-columns:1fr;gap:0}
 .footer-group{border-bottom:1px solid var(--line)}
 .footer-group>summary{min-height:56px}
 .footer-contact{padding-top:20px}
 .policy-shell{padding:24px 16px 48px}
 .policy-header{margin-bottom:24px}
 .policy-header h1{font-size:28px;line-height:34px;letter-spacing:-.4px;margin-bottom:16px}
 .policy-eyebrow{margin-top:16px}
 .policy-layout{display:block}
 .policy-desktop-nav{display:none}
 .policy-main{max-width:none}
 .policy-mobile-nav{display:block;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:24px}
 .policy-mobile-nav>summary{min-height:52px;padding:14px 0;cursor:pointer;font:500 13px/24px var(--sans)}
 .policy-mobile-nav nav{padding-bottom:12px}
 .policy-hub-grid{grid-template-columns:1fr}
 .policy-table-wrap th,.policy-table-wrap td{padding:12px 8px}
 .policy-table-wrap th:first-child{width:36%}
 .demo-footer-bottom{align-items:flex-start}
}

/* Shared company details and contact actions. */
.demo-footer-companies{display:grid;grid-template-columns:1fr 1fr auto;gap:24px;align-items:center;border-top:1px solid var(--line);padding:24px 0}
.demo-footer-companies>div{display:flex;flex-direction:column;gap:6px;min-width:0}
.demo-footer-companies strong{font:500 12px/18px var(--sans);letter-spacing:.3px}
.demo-footer-companies span{font:400 12px/18px var(--sans);color:var(--muted)}
.demo-footer-companies>a{display:flex;align-items:center;min-height:44px;font:400 13px/20px var(--sans);text-underline-offset:4px}
.demo-footer-bottom{align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px 24px}
.demo-footer-bottom>span:last-child{margin-left:auto}
.footer-contact h3{text-transform:none}
@media(max-width:800px){.demo-footer-companies{grid-template-columns:1fr 1fr;gap:24px 16px}.demo-footer-companies>a{grid-column:1/-1}.demo-footer-bottom{gap:8px 16px}.demo-footer-bottom>span:nth-child(2){order:initial;width:auto}}
@media(max-width:360px){.demo-footer-companies{grid-template-columns:1fr}.demo-footer-companies>a{grid-column:auto}}

/* MOBILE-FOOTER-COMPACT R1 (2026-10-17): footer mobile bi gian gap qua rong vi cascade
   desktop tu storefront.css (margin 11px) + brand.css (margin 8px, min-height 44px) ap len
   moi span/a khi xp doc 1 cot, cong inline gap:10px tu campaigns hero.js vao .footer-contact.
   Thu gon lai: giu tap-target ~40px cho link that, bo khoang trang kep. */
@media(max-width:800px){
 .demo-footer{margin-top:40px;padding:24px 16px 20px}
 .footer-group>summary{min-height:52px}
 .footer-group nav{padding:2px 0 10px}
 .demo-footer-cols .footer-group a{min-height:40px;padding:4px 0;margin:0}
 .demo-footer-cols .footer-contact a,.demo-footer-cols .footer-contact span{margin:0}
 .footer-contact{padding-top:2px}
 .footer-contact h3{min-height:48px;font-size:13px;line-height:18px}
 .footer-contact>div{gap:2px !important;margin-bottom:2px !important}
 .footer-contact>div span,.footer-contact>div a{display:flex;align-items:center;min-height:38px;padding:2px 0}
 .demo-footer-cols .footer-contact>a{min-height:40px;padding:4px 0}
 .demo-footer-companies{padding:18px 0;gap:14px 16px}
 .demo-footer-companies>div{gap:2px}
 .demo-footer-companies strong{font-size:13px;line-height:19px}
 .demo-footer-companies span{font-size:12px;line-height:18px}
 .demo-footer-companies>a{min-height:40px}
 .demo-footer-bottom{padding-top:12px;gap:6px 16px}
 .demo-footer-bottom a{min-height:40px}
}

/* Desktop footer content follows the PDP's centered rail; retain full-width border. */
@media(min-width:1024px){
 .demo-footer{padding-inline:max(40px,calc((100% - 1360px)/2 + 40px))}
}

/* Footer legal rows: stable columns, top-aligned company details and centered account. */
.demo-footer-companies{align-items:start}
.demo-footer-companies>div{min-width:0;overflow-wrap:anywhere}
.demo-footer-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px 16px}
.demo-footer-bottom>span:first-child{justify-self:start;min-width:0}
.demo-footer-bottom>a{justify-self:center}
.demo-footer-bottom>span:last-child{justify-self:end;margin-left:0}
@media(min-width:801px){
 .demo-footer-companies{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}
 .demo-footer-companies>a{grid-column:3 / 5;justify-self:end;text-align:right;max-width:100%}
}
@media(max-width:800px){
 .demo-footer-companies>a{justify-self:start;text-align:left}
 .demo-footer-bottom{gap:6px 12px}
}
