/* Brings the legacy template pages (inc/head.php + inc/nav.php) onto the site brand:
   Outfit headings, Plus Jakarta body, neutral light surfaces, lime accents, light page banner. */
body.comon-body {
    --ztc-bg-main-bg-1: #3f7f0c;
    --ztc-bg-main-bg-2: #4f8a12;
    --ztc-bg-main-bg-3: #3f7f0c;
    --ztc-bg-main-bg-4: #8cc63f;
    --ztc-bg-bg-4: #f7f8fa;
    --ztc-bg-bg-5: #fff;
    --ztc-bg-color-w: #0b0c10;
    --ztc-text-text-1: #0b0c10;
    --ztc-text-text-2: #0b0c10;
    --ztc-text-pera-text-1: #555b66;
    --ztc-text-pera-text-2: #555b66;
    --ztc-primary: #8cc63f;
    --ztc-primary-h: #0b0c10;
    --ztc-border-color: #e3e6ea;
    --ztc-p-color: #555b66;
    --f-ff-font-1: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    color: #0b0c10;
    background: #f5f6f8;
    -webkit-font-smoothing: antialiased;
}
body.comon-body .container { max-width: 1240px; padding-left: 24px; padding-right: 24px; }
body.comon-body :is(.common-hero, .about2, .form-container) :is(h1, h2, h3, h4, h5) {
    font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
    letter-spacing: -.03em;
    text-transform: none;
}
body.comon-body ::selection { background: #8cc63f; color: #04120c; }
body.comon-body #preloader { display: none !important; }

/* Page banner — same as CMS inner pages */
body.comon-body .common-hero {
    min-height: 0; padding: 36px 0 32px; z-index: 0; color: #0b0c10; background: #fff; border-bottom: 1px solid #eef0f3;
}
body.comon-body .common-hero::after { display: none; }
body.comon-body .common-hero .row { text-align: left !important; }
body.comon-body .common-hero .row > [class*="col-"] { width: 100%; max-width: 100%; margin: 0 !important; }
body.comon-body .common-hero .main-heading { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
body.comon-body .common-hero .main-heading .space16 { display: none; }
body.comon-body .common-hero .main-heading h1 {
    margin: 0; color: #0b0c10; font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; letter-spacing: -.03em;
}
body.comon-body .common-hero .main-heading span.span {
    display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; line-height: 1.4; font-weight: 500; color: #a3a8b1;
}
body.comon-body .common-hero .main-heading span.span img { display: none; }
body.comon-body .common-hero .main-heading span.span a { color: #6b717c; }
body.comon-body .common-hero .main-heading span.span a:hover { color: #3f7f0c; }
body.comon-body .common-hero .main-heading span.span .arrow { font-size: 11px; color: #a3a8b1; }
body.comon-body .common-hero + .space100,
body.comon-body .common-hero ~ .space100 { height: 48px; }

/* City / sitemap content */
body.comon-body .about2 .heading2 {
    padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: #fff; border: 1px solid #e9ebef;
}
body.comon-body .heading2 span.span {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
    background: #f2f8e9; border: 1px solid #dcebc6; color: #3f7f0c; font-size: 13px; font-weight: 600; line-height: 1.2;
}
body.comon-body .heading2 span.span img { height: 24px !important; margin: 0; }
body.comon-body .heading2 p { color: #555b66; font-size: 1rem; line-height: 1.75; }
body.comon-body .heading2 p strong { color: #0b0c10; }
body.comon-body .heading2 h2, body.comon-body .heading2 h3, body.comon-body .heading2 h4 { color: #0b0c10; font-weight: 700; }
body.comon-body .heading2 h4 { font-size: 1.35rem; margin-top: 10px; }
body.comon-body .heading2 p > a, body.comon-body .heading2 li > a {
    display: inline-flex; align-items: center; gap: 8px; color: #0b0c10; font-weight: 600;
}
body.comon-body .heading2 p > a::before, body.comon-body .heading2 li > a::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%; background: #8cc63f; flex: none;
}
body.comon-body .heading2 p > a:hover, body.comon-body .heading2 li > a:hover { color: #3f7f0c; }

body.comon-body .theme-btn2 {
    display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; margin: 6px 8px 0 0; border-radius: 999px;
    font-size: 15px; font-weight: 600; line-height: 1; color: #04120c; background: #8cc63f; border: 1px solid #8cc63f;
    transition: background .25s, color .25s, border-color .25s, transform .25s;
}
body.comon-body .theme-btn2 span { margin: 0; background: none; color: inherit; width: auto; height: auto; transform: none; }
body.comon-body .theme-btn2 span i { transform: none; font-size: 12px; }
body.comon-body .theme-btn2:hover { background: #0b0c10; border-color: #0b0c10; color: #fff; transform: translateY(-2px); }
body.comon-body .theme-btn2 + .theme-btn2 { background: #fff; border-color: #dfe3e8; color: #0b0c10; }
body.comon-body .theme-btn2 + .theme-btn2:hover { border-color: #0b0c10; background: #fff; color: #0b0c10; }

/* Forms — sales enquiry, ticket, career, vendor, service partner */
body.comon-body .form-container {
    padding: clamp(24px, 4vw, 48px); border-radius: 24px; background: #fff; border: 1px solid #e9ebef;
    box-shadow: 0 24px 60px rgba(15,20,30,.06); color: #0b0c10;
}
body.comon-body .form-container h2 {
    color: #0b0c10; font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.035em; margin-bottom: 8px;
}
body.comon-body .form-container h2::after { background: #8cc63f; }
body.comon-body .form-section { background: #f7f8fa; border: 1px solid #eceef1; border-radius: 18px; }
body.comon-body .form-section h3 { color: #0b0c10; font-weight: 600; font-size: 1.2rem; border-bottom-color: #e6e8ec; }
body.comon-body .form-grid label { color: #1f2430; font-size: 14px; font-weight: 600; margin: 6px 0 8px; }
body.comon-body .form-grid label.required::after { color: #e5484d; font-size: inherit; }
body.comon-body .form-grid input:not([type="checkbox"]):not([type="radio"]),
body.comon-body .form-grid select,
body.comon-body .form-grid textarea {
    background-color: #f7f8fa !important; border: 1px solid #e3e6ea !important; border-radius: 12px; color: #0b0c10;
    font-family: inherit; font-size: 15px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
body.comon-body .form-section .form-grid input:not([type="checkbox"]):not([type="radio"]),
body.comon-body .form-section .form-grid select,
body.comon-body .form-section .form-grid textarea { background-color: #fff !important; }
body.comon-body .form-grid input::placeholder, body.comon-body .form-grid textarea::placeholder { color: #9aa0aa; }
body.comon-body .form-grid input:focus, body.comon-body .form-grid select:focus, body.comon-body .form-grid textarea:focus {
    outline: 0; border-color: #8cc63f !important; background-color: #fff !important; box-shadow: 0 0 0 3px rgba(140,198,63,.18);
}
body.comon-body .form-grid select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%230b0c10' viewBox='0 0 16 16'%3E%3Cpath d='M8 12.14L.2 4.34l1.1-1.1L8 9.94l6.7-6.7 1.1 1.1z'/%3E%3C/svg%3E");
}
body.comon-body .form-grid input[type="file"]::file-selector-button { background: #0b0c10; color: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 600; }
body.comon-body .form-container button[type="submit"] {
    height: 54px; padding: 0 30px; border-radius: 999px; background: #8cc63f; color: #04120c; font-family: inherit; font-size: 16px; font-weight: 600;
    transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}
body.comon-body .form-container button[type="submit"]:hover { background: #0b0c10; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15,20,30,.18); }
body.comon-body .agreement-box { background: #f7f8fa; border-color: #eceef1; border-radius: 14px; }
body.comon-body #success-message { border-radius: 14px; }

/* Scroll-to-top ring */
body.comon-body .progress-wrap { box-shadow: inset 0 0 0 2px rgba(11,12,16,.12); background: #fff; }
body.comon-body .progress-wrap::after { color: #0b0c10; }
body.comon-body .progress-wrap svg.progress-circle path { stroke: #8cc63f; }

body.comon-body .form-grid > *, body.comon-body .input-group { min-width: 0; }
body.comon-body .form-grid input[type="file"] { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* Compact form layout */
body.comon-body .row > [class*="col-"]:has(> .form-container) { flex: 0 0 100%; width: 100%; max-width: 1160px; margin: 0 auto !important; }
body.comon-body .form-container { padding: 28px 32px; border-radius: 20px; box-shadow: 0 16px 40px rgba(15,20,30,.05); }
body.comon-body .form-container h2 { font-size: 1.5rem; text-align: left; margin: 0 0 18px; padding-bottom: 12px; }
body.comon-body .form-container h2::after { left: 0; transform: none; width: 48px; }
body.comon-body .form-container > p, body.comon-body .form-container form > p { font-size: 14px; margin-bottom: 14px; }
body.comon-body .form-section { padding: 18px 20px 20px; margin-bottom: 14px; border-radius: 14px; }
body.comon-body .form-section h3 { font-size: 1rem; margin: 0 0 14px; padding-bottom: 10px; border-bottom-width: 1px; }
body.comon-body .form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; margin-top: 0; }
body.comon-body .form-grid .grid-span-2, body.comon-body .form-grid .grid-span-3 { grid-column: 1 / -1; }
body.comon-body .form-grid label { font-size: 13px; line-height: 1.3; margin: 0 0 6px; }
body.comon-body .form-grid input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.comon-body .form-grid select { height: 44px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
body.comon-body .form-grid select { padding-right: 34px; background-position: right 14px center; }
body.comon-body .form-grid textarea { height: 80px; min-height: 64px; padding: 11px 14px; font-size: 14px; line-height: 20px; border-radius: 10px; }
body.comon-body .form-grid .input-group:not(.grid-span-2):not(.grid-span-3) textarea { height: 44px; min-height: 44px; }
body.comon-body .form-grid input[type="file"]:not([type="checkbox"]):not([type="radio"]) { height: 44px; padding: 0 6px; font-size: 13px; line-height: 42px; border-radius: 10px; }
body.comon-body .form-grid input[type="file"]::file-selector-button { height: 32px; padding: 0 14px; margin-right: 10px; font-size: 12.5px; line-height: 32px; vertical-align: middle; }
body.comon-body .form-grid label span[style*="color"] { font-size: inherit !important; color: #e5484d !important; }
body.comon-body .form-container button[type="submit"] { height: 48px; margin-top: 4px; font-size: 15px; }
body.comon-body .form-container .form-grid + button[type="submit"] { margin-top: 18px; }
body.comon-body .form-grid .form-submit-cell { justify-content: flex-end; }
body.comon-body .form-grid .form-submit-cell button[type="submit"] { height: 44px; margin: 0; width: 100%; }
@media (max-width: 991px) {
    body.comon-body .form-grid .form-submit-cell { grid-column: 1 / -1; }
}
body.comon-body .agreement-box { padding: 12px 14px; margin: 4px 0 14px; }
body.comon-body #success-message { margin: 0 0 16px; padding: 16px 18px; font-size: 14px; }
body.comon-body .common-hero { padding: 28px 0 24px !important; }
body.comon-body .common-hero + .space100,
body.comon-body .common-hero ~ .space100 { height: 32px; }
@media (min-width: 992px) {
    body.comon-body .form-section .form-grid > .grid-span-2:has(textarea) { grid-column: span 2; }
    body.comon-body .form-section .form-grid > .grid-span-2 textarea { height: 44px; min-height: 44px; }
}
@media (min-width: 1100px) {
    body.comon-body .form-grid:has(> .input-group:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 991px) {
    body.comon-body .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    body.comon-body .form-container { padding: 24px; }
}

@media (max-width: 767px) {
    body.comon-body .container { padding-left: 16px; padding-right: 16px; }
    body.comon-body .form-container { padding: 18px 14px; border-radius: 16px; }
    body.comon-body .form-container h2 { font-size: 1.25rem; margin-bottom: 14px; padding-bottom: 10px; }
    body.comon-body .form-section { padding: 14px 12px; margin-bottom: 12px; border-radius: 12px; }
    body.comon-body .form-section h3 { font-size: .95rem; margin-bottom: 12px; padding-bottom: 8px; }
    body.comon-body .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px 10px; }
    body.comon-body .form-grid label { font-size: 12.5px; margin-bottom: 5px; }
    body.comon-body .form-grid input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
    body.comon-body .form-grid select { height: 44px; padding: 0 12px; font-size: 16px; }
    body.comon-body .form-grid select { padding-right: 30px; background-position: right 12px center; }
    body.comon-body .form-grid textarea { min-height: 76px; padding: 10px 12px; font-size: 16px; }
    body.comon-body .form-grid { align-items: end; }
    body.comon-body .form-grid select { padding-left: 10px; padding-right: 26px; background-position: right 10px center; }
    body.comon-body .form-grid .input-group:has(textarea),
    body.comon-body .form-grid .input-group:has(input[type="email"]),
    body.comon-body .form-grid .input-group:has(input[type="file"]) { grid-column: 1 / -1; }
    body.comon-body .form-grid .input-group:has(textarea) textarea { height: 76px; }
    body.comon-body .form-grid input[type="file"]:not([type="checkbox"]):not([type="radio"]) { font-size: 13px; padding: 0 6px; }
    body.comon-body .form-grid input[type="file"]::file-selector-button { padding: 0 12px; margin-right: 8px; }
    body.comon-body .form-container button[type="submit"] { width: 100%; }
    body.comon-body .common-hero { padding: 20px 0 18px !important; }
    body.comon-body .common-hero + .space100,
    body.comon-body .common-hero ~ .space100 { height: 20px; }
    body.comon-body .theme-btn2 { height: 46px; padding: 0 20px; font-size: 14.5px; }
    body.comon-body .about2 { padding-top: 24px !important; padding-bottom: 40px !important; }
    body.comon-body .about2 .space40 { height: 16px; }
}
@media (max-width: 480px) {
    body.comon-body .form-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 10px; }
    body.comon-body .form-grid .input-group, body.comon-body .form-grid > * { grid-column: 1 / -1; }
    body.comon-body .form-grid label { margin-bottom: 4px; }
    body.comon-body .common-hero + .space100,
    body.comon-body .common-hero ~ .space100 { height: 14px; }
}
