/*
 * Roham footers: compact, centered-brand, minimal-bar, contact-focus, and the
 * parts a custom footer can drop in ({{ chrome:socials }} ...). Colours come
 * from --chrome-f-* (Themes > footer) with the theme's own as fallback.
 */
.roham-theme .chrome-f,
.roham-theme .chrome-custom-footer{
    --f-bg:var(--chrome-f-bg,#fff);
    --f-text:var(--chrome-f-text,#6b6f76);
    --f-heading:var(--chrome-f-heading,#23254e);
    --f-link:var(--chrome-f-link,#5a5e66);
    --f-accent:var(--chrome-f-accent,var(--ds-color-primary,#ef394e));
    --f-border:var(--chrome-f-border,#ececee);
    --f-soft:color-mix(in srgb,var(--f-text) 9%,var(--f-bg));
}
.roham-theme .chrome-f{background:var(--f-bg);color:var(--f-text);border-top:1px solid var(--f-border);font-size:13px;line-height:1.9}
/* Room for the phone's bottom bar. */
@media (max-width:991.98px){.roham-theme .chrome-f{padding-bottom:calc(var(--ds-bottom-nav-h,64px) + 12px)}}
.roham-theme .chrome-f a{color:var(--f-link);text-decoration:none}
.roham-theme .chrome-f a:hover{color:var(--f-accent)}
.roham-theme .chrome-f .site-brand{margin:0}
.roham-theme .chrome-f .site-brand a{display:inline-flex}
.roham-theme .chrome-f-heading{margin:0 0 10px;font-size:14px;font-weight:700;color:var(--f-heading)}
.roham-theme .chrome-f-tagline{margin:10px 0 0;font-size:12.5px;line-height:2;color:var(--f-text);max-width:46ch}

/* Back to top */
.roham-theme .chrome-f-backtop-wrap{display:flex;justify-content:flex-end;padding-top:18px}
.roham-theme .chrome-f-backtop{display:inline-flex;align-items:center;gap:4px;padding:6px 14px;border:1px solid var(--f-border);border-radius:999px;background:var(--f-soft);color:var(--f-heading);font:inherit;font-size:12px;cursor:pointer}
.roham-theme .chrome-f-backtop:hover{color:var(--f-accent)}

/* Socials */
.roham-theme .chrome-socials{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.roham-theme .chrome-socials a{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--f-soft,#f3f4f6);color:var(--f-heading,#23254e)!important;font-size:20px;transition:background .15s ease,color .15s ease,transform .15s ease}
.roham-theme .chrome-socials a:hover{background:var(--f-accent,#ef394e);color:#fff!important;transform:translateY(-2px)}

/* Newsletter */
.roham-theme .chrome-news-hint{margin:0 0 8px;font-size:12px;color:var(--f-text,#6b6f76)}
.roham-theme .chrome-news-form{display:flex;gap:6px;max-width:380px}
.roham-theme .chrome-news-input{flex:1;min-width:0;height:42px;padding:0 14px;border:1px solid var(--f-border,#ececee);border-radius:12px;background:var(--f-bg,#fff);color:var(--f-heading,#23254e);font:inherit;font-size:12.5px}
.roham-theme .chrome-news-input:focus{outline:2px solid color-mix(in srgb,var(--f-accent,#ef394e) 40%,transparent);outline-offset:1px}
.roham-theme .chrome-news-btn{flex:0 0 auto;height:42px;padding:0 18px;border:0;border-radius:12px;background:var(--f-accent,#ef394e);color:#fff;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}

/* Link groups: columns on a computer, folding on a phone */
.roham-theme .chrome-fcols{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px 28px}
.roham-theme .chrome-fcol>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;margin:0 0 8px;font-size:14px;font-weight:700;color:var(--f-heading);cursor:default}
.roham-theme .chrome-fcol>summary::-webkit-details-marker{display:none}
.roham-theme .chrome-fcol>summary i{display:none}
.roham-theme .chrome-flinks{list-style:none;margin:0;padding:0}
.roham-theme .chrome-flinks li a{display:inline-block;padding:4px 0;font-size:12.5px}
@media (max-width:991.98px){
    .roham-theme .chrome-fcols{grid-template-columns:1fr;gap:0}
    .roham-theme .chrome-fcol{border-bottom:1px solid var(--f-border)}
    .roham-theme .chrome-fcol>summary{margin:0;padding:14px 0;cursor:pointer}
    .roham-theme .chrome-fcol>summary i{display:inline-block;font-size:20px;color:var(--f-text);transition:transform .2s ease}
    .roham-theme .chrome-fcol[open]>summary i{transform:rotate(180deg)}
    .roham-theme .chrome-flinks{padding-bottom:10px}
}

/* Contact list, seo, copyright, icons, plain links (trust seals: roham-shared.css) */
.roham-theme .chrome-contact{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.roham-theme .chrome-contact li{display:flex;align-items:flex-start;gap:8px}
.roham-theme .chrome-contact i{font-size:18px;color:var(--f-accent,#ef394e);line-height:1.6}
.roham-theme .chrome-seo{position:relative;padding:18px 0;border-top:1px solid var(--f-border)}
.roham-theme .chrome-seo-title{margin:0 0 6px;font-size:14px;font-weight:700;color:var(--f-heading)}
.roham-theme .chrome-seo-body{font-size:12.5px;line-height:2.1;color:var(--f-text)}
.roham-theme .chrome-seo.expandable-text[data-roham-expandable].is-collapsed .chrome-seo-more{background-image:linear-gradient(180deg,transparent,var(--f-bg) 55%)}
.roham-theme .chrome-seo-more{color:var(--ds-color-link,#19bfd3)}
.roham-theme .chrome-copy{font-size:12px;color:var(--f-text,#6b6f76)}
.roham-theme .chrome-copy a{color:var(--f-accent,#ef394e)!important;font-weight:700}
.roham-theme .chrome-icons{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}
.roham-theme .chrome-icons-item{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:12px;color:var(--f-heading,#23254e)!important}
.roham-theme .chrome-icons-item img{width:44px;height:44px;object-fit:contain}
.roham-theme .chrome-plain-links{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 18px}
.roham-theme .chrome-plain-links ul{list-style:none;margin:4px 0 0;padding:0}

/* Bottom bar */
.roham-theme .chrome-f-bottom{border-top:1px solid var(--f-border);padding:14px 0}
.roham-theme .chrome-f-bottom-inner{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.roham-theme .chrome-f-bottom-inner--center{flex-direction:column;justify-content:center;text-align:center;gap:16px}

/* --- compact --------------------------------------------------- */
.roham-theme .chrome-f-compact-grid{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(0,2.4fr) minmax(220px,1.1fr);gap:32px;padding:22px 0 26px}
.roham-theme .chrome-f-compact .chrome-f-newsbox .chrome-news-hint{margin-top:-4px}
/* The last column: newsletter, then the trust seals. */
.roham-theme .chrome-f-aside{display:flex;flex-direction:column;gap:22px;min-width:0}
.roham-theme .chrome-f-aside .chrome-trust-title{font-size:14px;color:var(--f-heading)}
@media (max-width:991.98px){
    .roham-theme .chrome-f-compact-grid{grid-template-columns:1fr;gap:16px;padding:20px 0}
    .roham-theme .chrome-f-backtop-wrap{padding-top:14px}
}

/* --- centered-brand -------------------------------------------- */
.roham-theme .chrome-f-centered{padding-top:34px}
.roham-theme .chrome-f-center{display:flex;flex-direction:column;align-items:center;text-align:center}
.roham-theme .chrome-f-center .chrome-f-tagline{max-width:62ch}
.roham-theme .chrome-f-center .chrome-socials{justify-content:center}
.roham-theme .chrome-f-inline-links{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 22px;margin:22px auto 4px;padding:14px 0;border-top:1px solid var(--f-border);border-bottom:1px solid var(--f-border);max-width:980px}
.roham-theme .chrome-f-inline-links a{font-size:13px;font-weight:500}
.roham-theme .chrome-f-center--news{margin:22px auto 0}
.roham-theme .chrome-f-center--news .chrome-news-form{margin:0 auto}
.roham-theme .chrome-f-seo-wrap{margin-top:18px}

/* --- minimal-bar ----------------------------------------------- */
.roham-theme .chrome-f-minimal{padding:4px 0}
.roham-theme .chrome-f-minimal-inner{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;min-height:64px}
.roham-theme .chrome-f-minimal-links{display:flex;flex-wrap:wrap;gap:4px 18px}
.roham-theme .chrome-f-minimal-links a{font-size:12.5px}
.roham-theme .chrome-f-minimal-end{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.roham-theme .chrome-f-minimal-end .chrome-trust-wrap{margin-inline-end:6px}
.roham-theme .chrome-f-minimal .chrome-socials{margin:0}
.roham-theme .chrome-f-minimal .chrome-socials a{width:36px;height:36px;font-size:18px;border-radius:10px}
.roham-theme .chrome-f-backtop-icon{--hb-text:var(--f-heading);border:1px solid var(--f-border)!important}
@media (max-width:767.98px){
    .roham-theme .chrome-f-minimal-inner{flex-direction:column;justify-content:center;text-align:center;padding:16px 0}
    .roham-theme .chrome-f-minimal-links{justify-content:center}
    .roham-theme .chrome-f-minimal-end{justify-content:center}
    .roham-theme .chrome-f-minimal-end .chrome-trust-wrap{flex-basis:100%;margin:0 0 4px}
}

/* --- contact-focus --------------------------------------------- */
.roham-theme .chrome-f-contact-band{padding:26px 0;background:linear-gradient(180deg,var(--f-soft),var(--f-bg))}
.roham-theme .chrome-f-contact-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.roham-theme .chrome-f-contact-title{font-size:18px;font-weight:800;color:var(--f-heading);line-height:1.6}
.roham-theme .chrome-f-contact-head p{margin:2px 0 0;font-size:12.5px}
.roham-theme .chrome-f-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.roham-theme .chrome-f-card{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--f-border);border-radius:16px;background:var(--f-bg);color:var(--f-heading)!important;min-width:0;transition:border-color .15s ease,box-shadow .15s ease}
.roham-theme a.chrome-f-card:hover{border-color:color-mix(in srgb,var(--f-accent) 45%,var(--f-border));box-shadow:0 8px 22px rgba(17,24,39,.06)}
.roham-theme .chrome-f-card-icon{flex:0 0 46px;display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:color-mix(in srgb,var(--f-accent) 12%,var(--f-bg));color:var(--f-accent);font-size:22px}
.roham-theme .chrome-f-card-text{display:flex;flex-direction:column;min-width:0}
.roham-theme .chrome-f-card-text small{font-size:11.5px;color:var(--f-text)}
.roham-theme .chrome-f-card-text strong{font-size:14px;font-weight:700;color:var(--f-heading);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.roham-theme .chrome-f-card--social .chrome-socials{margin-top:4px}
.roham-theme .chrome-f-contact-grid{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(240px,1fr);gap:32px;padding:24px 0}
@media (max-width:991.98px){
    .roham-theme .chrome-f-contact-grid{grid-template-columns:1fr;gap:16px;padding:16px 0}
    .roham-theme .chrome-f-contact-title{font-size:16px}
    .roham-theme .chrome-f-card-text strong{white-space:normal}
}
@media (prefers-reduced-motion:reduce){
    .roham-theme .chrome-socials a,.roham-theme .chrome-fcol>summary i{transition:none}
}
.roham-theme .chrome-f{margin-top:32px}
/* The product page has its own buy bar on phones; no footer under it (as the original footer). */
@media (max-width:991.98px){
    html.roham-pdp-page .page-footer.chrome-f,
    body.roham-pdp-page .page-footer.chrome-f{display:none!important}
}
