:root {
    --acs-dock-height: 66px;
    --acs-nav-height: 64px;
    --acs-safe-bottom: env(safe-area-inset-bottom, 0px);
}
body { padding-bottom: calc(var(--acs-dock-height) + var(--acs-safe-bottom)); }
html { scroll-padding-top: 100px; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid #dda83d; outline-offset: 3px; }
.nav-link > i { margin-right: 6px; color: #e8bd62; font-size: 15px; }
.footer-nav a { display: flex; align-items: flex-start; gap: 9px; }
.footer-nav i { color: #e8bd62; width: 17px; flex-shrink: 0; }
.footer-bottom a > i { margin-right: 5px; }
.acs-contact-dock {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1025;
    height: calc(var(--acs-dock-height) + var(--acs-safe-bottom));
    background: #fff; border-top: 1px solid #dfe5ef;
    padding: 8px 24px calc(8px + var(--acs-safe-bottom));
    box-shadow: 0 -4px 18px #07152d08;
}
.acs-dock-inner { max-width: 1320px; margin: auto; height: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.acs-dock-caption { display: flex; gap: 10px; align-items: center; color: #07152d; font-size: 13px; font-weight: 800; line-height: 1.35; }
.acs-dock-caption > i { font-size: 22px; color: #946515; }
.acs-dock-caption small { display: block; font-size: 11px; font-weight: 500; color: #647087; margin-top: 3px; }
.acs-dock-actions { display: flex; align-items: center; gap: 10px; }
.acs-contact-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-width: 48px; height: 48px; padding: 0 16px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-size: 13px; font-weight: 800; transition: background .15s, box-shadow .15s; }
.acs-contact-button > i { font-size: 21px; line-height: 1; }
.acs-call { color: #07152d; background: #edf1f8; border-color: #dfe5ef; }
.acs-call:hover { color: #07152d; background: #e0e7f2; }
.acs-whatsapp { color: #fff; background: #187843; box-shadow: 0 3px 9px #18784326; }
.acs-whatsapp:hover { color: #fff; background: #126335; }
.acs-top-slot { width: 48px; height: 48px; flex-shrink: 0; }
.acs-up { padding: 0; color: #07152d; background: #f7ebcb; border-color: #ebd291; width: 48px; cursor: pointer; }
.acs-up:hover { background: #f0d99e; }
.acs-mobile-nav { display: none; }
.acs-menu-backdrop { display: none; }
.acs-cart-badge { position: absolute; top: -6px; right: -13px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 3px; border-radius: 5px; background: #187843; color: #fff; font-size: 10px; font-weight: 800; border: 1px solid #fff; }
.process-number > i { font-size: 24px; }
.catalog-layout > *, .catalog-toolbar > * { min-width: 0; }
.catalog-tabs { max-width: 100%; }
.cart-panel { scroll-margin-top: 12px; }
.category-tabs button { display: inline-flex; align-items: center; gap: 6px; }
.form-label > i { color: #946515; margin-right: 4px; }
@media (min-width: 992px) {
    .guide-sidebar { max-height: calc(100dvh - 208px); }
    .cart-panel { max-height: calc(100dvh - 190px); }
}
@media (min-width: 1200px) and (max-width: 1399px) {
    .premium-navbar .nav-link { padding-inline: 7px !important; font-size: 11px; }
    .nav-link > i { margin-right: 3px; font-size: 12px; }
    .premium-navbar .navbar-brand { gap: 8px; }
    .premium-navbar .navbar-brand img { width: 46px; height: 46px; }
    .brand-copy strong { font-size: 15px; }
    .nav-login { font-size: 11px; }
    .nav-actions { gap: 7px; }
}
@media (max-width: 1199px) {
    .topbar { display: none !important; }
    .premium-navbar { --bs-navbar-padding-y: 7px; background: #07152d; backdrop-filter: none; box-shadow: none; }
    .premium-navbar.is-scrolled { --bs-navbar-padding-y: 7px; background: #07152d; }
    .premium-navbar .navbar-brand img, .is-scrolled .navbar-brand img { width: 42px; height: 42px; }
    .premium-navbar .navbar-brand { gap: 9px; margin: 0; }
    .premium-navbar > .container { min-height: 50px; }
    .brand-copy strong { font-size: 17px; }
    .premium-navbar .navbar-toggler { width: 44px; height: 44px; border-radius: 6px; }
    #primaryMenu { border: 0; padding: 14px 20px 24px; max-height: calc(100dvh - 78px); overflow-y: auto; overscroll-behavior: contain; background: #07152d; }
    #primaryMenu.show, #primaryMenu.collapsing { position: absolute; top: 100%; left: 0; right: 0; z-index: 1040; }
    #primaryMenu .nav-link { min-height: 48px; display: flex; align-items: center; font-size: 14px; padding: 10px 12px !important; border-radius: 6px; }
    #primaryMenu .nav-link.active { background: #ffffff0d; }
    #primaryMenu .nav-link::after { display: none; }
    #primaryMenu .dropdown-toggle::before { order: 2; margin-left: auto; }
    #primaryMenu .nav-link > i { width: 22px; margin-right: 10px; font-size: 18px; }
    #primaryMenu .dropdown-menu { margin: 4px 0 10px; max-height: none; }
    #primaryMenu .compliance-menu .dropdown-item { min-height: 48px; white-space: normal; }
    #primaryMenu .mega-grid { gap: 0; }
    #primaryMenu .mega-grid > a { min-height: 68px; border-radius: 0; }
    #primaryMenu .nav-actions { margin-top: 16px; padding: 16px 12px 0; border-top: 1px solid #ffffff24; }
    #primaryMenu .nav-login { min-height: 48px; flex: 1; border-radius: 6px; }
    body.acs-menu-open { overflow: hidden; }
    .acs-menu-backdrop { position: fixed; inset: 0; z-index: 1029; border: 0; background: #07152d73; }
    body.acs-menu-open .acs-menu-backdrop { display: block; }
}
@media (max-width: 991px) {
    :root { --acs-dock-height: 60px; }
    body, body[data-page="catalog.php"] { padding-bottom: calc(var(--acs-dock-height) + var(--acs-nav-height) + var(--acs-safe-bottom)); }
    html { scroll-padding-top: 80px; scroll-padding-bottom: calc(var(--acs-dock-height) + var(--acs-nav-height) + var(--acs-safe-bottom) + 12px); }
    .acs-mobile-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; bottom: 0; left: 0; right: 0; z-index: 1025; height: calc(var(--acs-nav-height) + var(--acs-safe-bottom)); padding: 4px 8px calc(4px + var(--acs-safe-bottom)); border-top: 1px solid #e5eaf2; background: #fff; }
    .acs-mobile-nav > a { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; color: #647087; text-decoration: none; border-radius: 6px; font-size: 10px; font-weight: 700; line-height: 1.25; min-width: 0; }
    .acs-mobile-nav > a.active { color: #07152d; background: #fbf4e5; }
    .acs-mobile-nav > a.active .acs-tab-icon { color: #946515; }
    .acs-tab-icon { position: relative; height: 24px; width: 24px; display: grid; place-items: center; font-size: 21px; }
    .acs-contact-dock { bottom: calc(var(--acs-nav-height) + var(--acs-safe-bottom)); height: var(--acs-dock-height); padding: 6px 16px; }
    .acs-dock-caption { font-size: 12px; gap: 8px; }
    .acs-dock-caption > i { font-size: 19px; }
    .acs-dock-caption small { font-size: 10px; }
    .acs-dock-actions { gap: 6px; }
    .acs-contact-button { width: 46px; min-width: 46px; height: 46px; padding: 0; }
    .acs-contact-button > span { display: none; }
    .acs-top-slot { width: 46px; height: 46px; }
    .mobile-booking-bar { bottom: calc(var(--acs-dock-height) + var(--acs-nav-height) + var(--acs-safe-bottom)); z-index: 1024; padding: 9px 16px; height: 66px; min-height: 66px; box-shadow: 0 -4px 16px #07152d10; }
    .mobile-booking-bar strong, .mobile-booking-bar span { line-height: 1.3; }
    .mobile-booking-bar .btn { flex-shrink: 0; }
    body.acs-has-cart { padding-bottom: calc(var(--acs-dock-height) + var(--acs-nav-height) + var(--acs-safe-bottom) + 66px); }
    body.acs-booking-visible .mobile-booking-bar { display: none; }
    body.acs-keyboard-open .acs-mobile-nav, body.acs-keyboard-open .acs-contact-dock, body.acs-keyboard-open .mobile-booking-bar { display: none; }
    .btn, .button, .catalog-tabs button, .cart-remove, .icon-button, .category-tabs button { min-height: 44px; }
    .cart-remove, .icon-button { min-width: 44px; }
    input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea { font-size: 16px !important; }
    .catalog-search input { min-height: 48px; }
    .catalog-tabs { flex-wrap: nowrap; overflow: auto; padding-bottom: 8px; }
    .catalog-tabs button { flex-shrink: 0; font-size: 12px; padding: 10px 12px; display: inline-flex; align-items: center; gap: 6px; }
    .catalog-card-footer .btn { min-height: 44px; }
    .service-faq summary { padding-block: 4px; min-height: 44px; }
    .guide-fee-row > .btn { min-height: 44px; min-width: 44px; }
    .panel-header { position: sticky; top: 0; z-index: 1028; }
    .panel-header .header-actions .secondary { display: none; }
    .panel-main { min-height: calc(100dvh - 250px); }
    .view-tabs button { min-height: 48px; }
    .app-launch { min-height: 48px; }
    .panel-footer a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
    .category-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }
    .category-tabs button { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; }
}
@media (max-width: 575px) {
    .premium-navbar > .container { padding-inline: 16px; }
    .brand-copy strong { font-size: 16px; }
    .hero-premium .hero-content { padding: 30px 20px 36px; }
    .hero-premium .display-title { font-size: 32px; line-height: 1.2; }
    .hero-copy { font-size: 14px; line-height: 1.8; }
    .hero-actions { gap: 10px; }
    .hero-actions .btn { min-height: 48px; flex: 1; padding-inline: 10px; font-size: 12px; }
    .hero-trust-row { font-size: 11px; margin-top: 24px; }
    .section-title { font-size: 25px; }
    .service-card-premium { padding: 24px; }
    .section-pad { padding-block: 36px; }
    .directory-item { min-height: 90px; }
    .directory-name strong { font-size: 13px; }
    .footer-cta-card h2 { font-size: 24px; }
    .site-footer .row { --bs-gutter-y: 2rem; }
    .footer-nav a { font-size: 12px; line-height: 1.6; padding-block: 7px; min-height: 44px; }
    .footer-nav li { margin: 0; }
    .footer-bottom div { gap: 8px; flex-wrap: wrap; }
    .footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; }
    .panel-header { flex-wrap: nowrap; padding: 9px 16px; gap: 8px; min-height: 66px; }
    .panel-brand { gap: 8px; }
    .panel-brand img { width: 38px; height: 38px; }
    .panel-brand strong { font-size: 14px; }
    .panel-brand small { font-size: 10px; }
    .panel-header .header-actions { width: auto; gap: 0; }
    #signInButton { width: 44px; min-width: 44px; height: 44px; padding: 0; font-size: 0; }
    #signInButton > i { font-size: 22px; }
    .panel-main { padding: 24px 16px 32px; }
    .page-heading { padding-bottom: 20px; }
    .page-heading h1 { font-size: 24px; }
    .view-tabs { gap: 18px; }
    .application { padding: 18px; }
    .app-top { margin-bottom: 16px; }
    .login-dialog { max-height: calc(100dvh - 24px); padding: 28px 20px; }
    .login-dialog h2 { font-size: 22px; }
    .order-dialog { max-height: calc(100dvh - 24px); }
    .acs-dock-caption small { display: none; }
    .acs-dock-caption { max-width: 115px; }
    .guide-fee-row { grid-template-columns: minmax(0, 1fr) 80px 44px; }
}
@media (max-width: 359px) {
    .acs-contact-dock { padding-inline: 12px; }
    .acs-dock-caption { gap: 6px; font-size: 11px; }
    .acs-dock-actions { gap: 4px; }
    .brand-copy strong { font-size: 14px; }
    .panel-header { padding-inline: 12px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
    .acs-contact-button { transition: none; }
}
@media print {
    body { padding-bottom: 0 !important; }
    .acs-contact-dock, .acs-mobile-nav, .acs-menu-backdrop, .mobile-booking-bar { display: none !important; }
}
