/*
Theme Name: G-FAN Malaysia
Description: G-FAN catalogue website with editable WordPress pages, catalogue filters, WhatsApp enquiries and accessible motion controls.
Version: 1.7.4
Requires at least: 6.3
Requires PHP: 7.4
Author: G-FAN
Text Domain: gfan-malaysia
*/
body.admin-bar .header {top:32px}
@media (max-width:782px){body.admin-bar .header {top:46px}}
@media (max-width:600px){body.admin-bar .header {top:0}}
body:not(.home) #main {min-height:55vh}

/* Elementor wraps each complete G-FAN section without changing its inner layout. */
.elementor .gfan-elementor-root.e-con {--padding-top:0px;--padding-right:0px;--padding-bottom:0px;--padding-left:0px;--gap:0px;--widgets-spacing:0px 0px;--container-max-width:100%;padding:0;gap:0;max-width:none;width:100%}
.gfan-elementor-root > .elementor-element {width:100%;max-width:none;margin:0}
.gfan-elementor-root .elementor-widget-container {margin:0;padding:0}
.gfan-elementor-root {font-family:'DM Sans',Arial,sans-serif;color:var(--ink)}
.gfan-elementor-root .hero h1 {font-family:'Manrope',Arial,sans-serif}
.gfan-elementor-root img {border-radius:0}

/* Keep the expanded navigation comfortable on tablets and small laptops. */
.footer-links{flex-wrap:wrap;gap:16px 24px}
.gfan-product-warranty{margin-top:22px;padding:18px;background:#e9e9df;border-left:2px solid var(--green);font-size:12px}
.gfan-product-warranty p{margin:8px 0}.gfan-product-warranty a,.gfan-cart-warranty a{text-decoration:underline;text-underline-offset:3px}
.gfan-cart-warranty{margin:16px 0 25px;font-size:12px;color:var(--green)}
@media(min-width:1101px){.header{gap:20px}.header nav{gap:20px;font-size:12px}}
@media(min-width:761px) and (max-width:1100px){.header{height:80px;gap:20px}.header .gfan-cart-link{margin-left:auto}.menu-toggle{width:28px;height:36px;border:0;background:transparent;display:flex;flex-direction:column;justify-content:center;gap:6px;padding:0;order:3}.menu-toggle span{height:1px;background:var(--green);width:24px}.header nav{display:none;position:absolute;top:80px;left:0;right:0;padding:15px 5% 23px;background:var(--cream);border-bottom:1px solid var(--line);flex-direction:column;gap:0}.header nav.open{display:flex}.header nav a{padding:13px 0}}
