.site-header>.wordmark{margin-left:0;margin-right:auto}
@media(max-width:900px){
.site-header>.wordmark{margin-right:0}
}
.site-header{position:relative;z-index:25;height:auto;min-height:83px;gap:26px;padding:14px max(24px,4%)}
.wordmark{order:4;margin-inline-start:auto;letter-spacing:0;flex-shrink:0}
.wordmark img{width:120px;height:30px;object-fit:contain}
.auth-button{order:1;min-height:40px;white-space:nowrap;font-size:14px;padding:8px 14px}
.site-nav{order:2;gap:26px;font-size:15px;flex-wrap:nowrap;justify-content:flex-start}
.global-search-toggle{order:3;display:grid;place-items:center;border:1px solid var(--border);border-radius:50%;width:42px;height:42px;background:white;font-size:30px;flex-shrink:0}
.nav-group{position:relative}
.nav-group summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;min-height:44px;white-space:nowrap}
.nav-group summary::-webkit-details-marker{display:none}
.nav-group[open]>summary{color:var(--primary)}
.nav-submenu{list-style:none;margin:0;padding:10px;background:white;position:absolute;top:100%;right:0;min-width:235px;border:1px solid var(--border);border-radius:8px;box-shadow:0 12px 30px #173b4922}
.nav-submenu a,.nav-submenu button{display:block;width:100%;border:0;background:transparent;padding:9px 12px;text-align:right;font:inherit;font-size:14px;border-radius:5px}
.nav-submenu a:hover,.nav-submenu button:hover{background:var(--surface);color:var(--primary)}
/* Keep the DOM in mobile reading order and place the columns explicitly on wide screens. */
.footer-grid{
  grid-template-columns:minmax(220px,1.5fr) minmax(230px,1.2fr) repeat(3,minmax(100px,.65fr));
  grid-template-rows:max-content 1fr;
  grid-template-areas:"about contact deheh tools suggestions" "brands contact deheh tools suggestions";
  column-gap:32px;
  align-items:start;
}
#about-deheh{grid-area:about}
.footer-brands{grid-area:brands}
.footer-contact{grid-area:contact}
.footer-menu-deheh{grid-area:deheh}
.footer-menu-tools{grid-area:tools}
.footer-menu-suggestions{grid-area:suggestions}
.site-footer .footer-grid{row-gap:0}
.footer-logo{width:140px;height:35px;object-fit:contain;margin-bottom:22px}
.footer-grid ul{list-style:none;padding:0;margin:0}
.footer-grid li{margin:5px 0}
.footer-grid button{border:0;padding:2px 0;background:none;text-align:right;line-height:1.8;font-size:14px}
.footer-grid a,.footer-grid p{font-size:14px}
.footer-grid a:hover,.footer-grid button:hover{color:var(--primary)}
.footer-contact>p{margin-top:8px}
.footer-contact>a[dir=ltr]{text-align:right;overflow-wrap:anywhere}
.footer-contact>.footer-contact-hint{margin:0;color:#a21f23;font-size:10px;line-height:1.4}
.footer-contact>.footer-whatsapp{display:flex;flex-wrap:wrap;column-gap:6px;row-gap:0;margin-top:0}
.footer-whatsapp a{white-space:nowrap}
.footer-branding{margin-top:16px}
.footer-branding h4{font-size:14px;margin:0 0 6px}
.footer-branding .footer-brand-list{display:flex;flex-wrap:wrap;gap:8px}
.footer-brand-list li{margin:0}
.footer-brand-list a{display:grid;place-items:center;border:1px solid var(--border);border-radius:6px;padding:4px}
.footer-brand-list img{display:block;width:64px;height:40px;object-fit:contain}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:12px;text-align:right}
.social-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex-shrink:0;max-width:420px}
.social-links a,.social-links button{width:38px;height:38px;border:1px solid var(--border);background:var(--surface);border-radius:50%;display:grid;place-items:center}
.social-links img{width:19px;height:19px}
.social-links [data-social-pending]{opacity:.55;border-style:dashed}
.social-links a:hover,.social-links button:hover{background:var(--sand)}
.simple-search>label{display:block;font-size:18px;font-weight:600;margin-bottom:12px}
.simple-search-row{display:flex;gap:10px}
.simple-search-row input{flex:1;min-width:0;width:100%;padding:13px 16px;border:1px solid var(--border);border-radius:6px;background:white;min-height:50px}
.simple-search-row .button{white-space:nowrap}
.global-search-toggle:hover{color:var(--accent)}
.newsletter,.site-footer{height:auto;min-height:0}
@media(max-width:1100px){
.footer-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-rows:max-content auto auto;
  grid-template-areas:"about about contact" "brands brands contact" "deheh tools suggestions";
}
.footer-menu{margin-block-start:28px}
.site-header{gap:16px}
.site-nav{gap:16px}
.site-nav a{font-size:14px}
.nav-group summary{font-size:14px}
.footer-bottom{flex-direction:column;align-items:flex-start}
}
@media(max-width:900px){
.site-header{min-height:70px;gap:12px;padding:12px 18px}
.menu-toggle{display:block;order:0;border:0;padding:0;min-width:34px;min-height:42px}
.wordmark{order:1;margin:0}
.wordmark img{width:95px;height:28px}
.global-search-toggle{order:2;margin-inline-start:auto;width:38px;height:38px}
.auth-button{order:3;font-size:12px;padding:5px 9px}
.auth-state{order:3;font-size:11px;gap:6px}
.site-nav{display:none;position:absolute;top:100%;inset-inline:0;background:white;padding:12px 20px;box-shadow:0 15px 25px #0002;max-height:75vh;overflow:auto}
.site-nav.open{display:block}
.nav-group{border-bottom:1px solid var(--border)}
.nav-group summary{min-height:48px;font-size:16px;justify-content:space-between}
.nav-submenu{position:static;box-shadow:none;border:0;border-radius:0;padding:0 12px 12px;min-width:0}
.nav-submenu a,.nav-submenu button{font-size:15px;padding:10px}
}
@media(max-width:700px){
.footer-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:none;
  grid-template-areas:"about about" "deheh tools" "suggestions suggestions" "brands brands" "contact contact";
}
.site-footer .footer-grid{row-gap:24px}
.footer-menu{margin-block-start:0}
.footer-menu-suggestions ul{columns:2}
.footer-grid:not(:has(.footer-brands)){grid-template-areas:"about about" "deheh tools" "suggestions suggestions" "contact contact"}
.footer-brands .footer-branding:first-child{margin-top:0}
}
@media(max-width:600px){
.simple-search>label{font-size:16px}
.simple-search-row{gap:6px}
.simple-search-row input{padding:10px;font-size:14px}
.simple-search-row .button{padding:10px 14px;font-size:14px}
.footer-grid{column-gap:20px}
.footer-bottom{gap:18px}
.social-links{max-width:100%;gap:7px}
.site-header{gap:8px;padding-inline:12px}
.wordmark img{width:80px}
.auth-button{font-size:11px;min-height:38px}
.global-search-toggle{width:35px;height:35px}
}
@media(prefers-reduced-motion:reduce){
html{scroll-behavior:auto}
*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}
