/* ==========================================================================
   ADISONS FLEET - DEDICATED HEADER & FOOTER STYLESHEET
   Strictly scoped for WooCommerce Checkout & My Account pages.
   Provides 100% Header & Footer luxury branding without touching Elementor / ShopEngine middle content.
   ========================================================================== */

:root {
  --yellow: #ffdf00;
  --yellow-soft: #fff0a3;
  --yellow-deep: #8f6810;
  --line: #1c1c1c;
  --bg: #000000;
  --card-bg: #0d0d0d;
  --muted: #b5b5b5;
  --text-muted: #b5b5b5;
}

/* Top Utility Bar - Real Default Black Full Width */
.af-top-bar {
  width: 100% !important;
  max-width: 100% !important;
  background: #000000 !important;
  background-color: #000000 !important;
  border-bottom: 1px solid #1c1c1c !important;
  position: relative !important;
  z-index: 1001 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
}
.af-top-bar .wrap { width: min(1240px, 92%); margin: auto; }
.top {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #c0c0c0;
}
.top-left { display: flex; align-items: center; gap: 14px; }
.af-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #141414;
  border: 1px solid #282828;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.8px;
}
.af-badge .dot {
  width: 5px;
  height: 5px;
  background: #00e676;
  border-radius: 50%;
  box-shadow: 0 0 6px #00e676;
}
.top-desk { color: #888; font-size: 10.5px; }
.top-right { display: flex; align-items: center; gap: 14px; }
.top-link {
  color: #bbb;
  text-decoration: none;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}
.top-link:hover { color: var(--yellow); }
.top-link i { color: var(--yellow); font-size: 10px; }
.top-book-link {
  color: var(--yellow) !important;
  font-weight: 700 !important;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  font-size: 11px !important;
  letter-spacing: 0.5px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
}
.top-book-link:hover {
  color: #ffffff !important;
  background: transparent !important;
}

/* Navigation - Real Default Black Full Width */
.af-nav-bar {
  width: 100% !important;
  max-width: 100% !important;
  background: #000000 !important;
  background-color: #000000 !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.8) !important;
}
.af-nav-bar .wrap { width: min(1240px, 92%); margin: auto; }
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand .logo-img { height: 42px; width: auto; display: block; }
.brand .logo-badge {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand .brand-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1.1;
  text-transform: uppercase;
}
.brand .brand-title span { color: var(--yellow); }
.brand .brand-sub {
  font-size: 8px;
  letter-spacing: 2.5px;
  color: var(--yellow);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--yellow) !important;
  text-decoration: none !important;
}
.nav-links a::after, .nav-links a::before {
  content: none !important;
  display: none !important;
}
.nav-cta {
  background: var(--yellow) !important;
  color: #050505 !important;
  padding: 10px 20px !important;
  border-radius: 4px !important;
  font-weight: 800 !important;
  font-size: 11.5px !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(255,223,0,0.2) !important;
}
.nav-cta:hover {
  background: #fff !important;
  color: #000 !important;
  transform: translateY(-1px);
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid #333;
  color: #fff;
  font-size: 18px;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}
.menu-toggle.active {
  background: var(--yellow) !important;
  background-color: var(--yellow) !important;
  color: #050505 !important;
  border-color: var(--yellow) !important;
  font-weight: 800 !important;
  box-shadow: 0 0 12px rgba(255, 223, 0, 0.4) !important;
}
.drawer-close:hover,
.drawer-close-btn:hover {
  background: var(--yellow) !important;
  color: #050505 !important;
  border-color: var(--yellow) !important;
}

/* Mobile Navigation Drawer */
/* Real Mobile Drawer & Overlay Styles */
.drawer-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0,0,0,0.75) !important;
  backdrop-filter: blur(4px) !important;
  z-index: 99998 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease !important;
}
.drawer-overlay.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.drawer {
  position: fixed !important;
  top: 0 !important;
  right: -320px !important;
  width: 290px !important;
  max-width: 85vw !important;
  height: 100vh !important;
  background: #0d0d0d !important;
  border-left: 1px solid var(--line) !important;
  z-index: 99999 !important;
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}
.drawer.active {
  right: 0 !important;
}

.drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 28px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

.drawer-close {
  background: none !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 26px !important;
  cursor: pointer !important;
  line-height: 1 !important;
  padding: 0 !important;
}

.drawer-menu {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.drawer-menu a {
  font-size: 14px !important;
  letter-spacing: 0.8px !important;
  font-weight: 600 !important;
  color: #cccccc !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.04) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.drawer-menu a:hover,
.drawer-menu a.active {
  color: var(--yellow) !important;
}

/* Master Luxury Footer Styles - Real Default Black Full Width */
.footer, footer.footer, #footer {
  width: 100% !important;
  max-width: 100% !important;
  background: #000000 !important;
  background-color: #000000 !important;
  border-top: 1px solid #1c1c1c !important;
  padding: 40px 0 24px !important;
  color: #b5b5b5 !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 50 !important;
}
.footer .wrap { width: min(1240px, 92%); margin: auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(4, 1fr);
  gap: 25px;
}
.footer h4 {
  font-size: 13.5px !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  margin: 0 0 15px !important;
  font-weight: 800 !important;
}
.footer p, .footer .footbrand p, .footer-desc {
  font-size: 13.5px !important;
  line-height: 1.65 !important;
  color: #c8ccd6 !important;
  margin: 0 0 16px !important;
}
.footer a:not(.brand):not(.yellow),
.footer-grid div a:not(.brand):not(.yellow),
.footer div a:not(.brand):not(.yellow) {
  display: block !important;
  width: 100% !important;
  clear: both !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
  color: #cccccc !important;
  padding: 4px 0 !important;
  margin: 2px 0 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
.footer a:hover { color: var(--yellow) !important; }
.footer a.brand { display: inline-flex; margin: 0 0 12px 0; }
.footer a.yellow, .footer .yellow {
  display: inline-flex !important;
  width: auto !important;
  max-width: fit-content !important;
  background: var(--yellow) !important;
  color: #050505 !important;
  font-weight: 800 !important;
  font-size: 10px !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  padding: 10px 18px !important;
  border-radius: 4px !important;
  margin: 12px 0 !important;
  border: 0 !important;
  box-shadow: 0 3px 12px rgba(255,223,0,0.2) !important;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
}
.footer a.yellow:hover, .footer .yellow:hover {
  background: #ffffff !important;
  color: #050505 !important;
  box-shadow: 0 4px 16px rgba(255,255,255,0.25) !important;
}

.copyright {
  border-top: 1px solid #1c1c1c;
  padding-top: 20px;
  margin-top: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #888888;
  font-size: 12px;
  line-height: 1.6;
}

/* Hide footer social icons */
.social, footer .social, .footbrand .social {
  display: none !important;
}

/* Mobile Floating Book Bar */
.mobile-book {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000000;
  border-top: 1px solid #222;
  padding: 10px 16px;
  z-index: 999;
}
.mobile-book a {
  display: block;
  background: var(--yellow);
  color: #050505;
  text-align: center;
  padding: 12px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 22px 14px !important; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none !important; }
  .menu-toggle {
    display: block !important;
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #ffffff !important;
    padding: 7px 13px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
  }
  .top-city, .top-desk-word { display: none !important; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
}

@media (max-width: 600px) {
  .top-book-link { display: none !important; }
  .top { height: 38px !important; font-size: 10px !important; }
  .af-top-bar .wrap, .af-nav-bar .wrap { padding: 0 16px !important; width: 100% !important; }
  .footer { padding: 32px 0 20px !important; }
}

/* Hide Floating Mobile Bottom Book Bar on Checkout & Account Pages */
body.woocommerce-checkout .mobile-book,
body.woocommerce-account .mobile-book,
body.page-id-30406 .mobile-book,
body.page-id-254 .mobile-book {
  display: none !important;
}

body.woocommerce-checkout,
body.woocommerce-account,
body.page-id-30406,
body.page-id-254 {
  padding-bottom: 0 !important;
}

/* WooCommerce Checkout & Account Visibility Shield */
body.woocommerce-checkout .af-top-bar,
body.woocommerce-checkout .af-nav-bar,
body.woocommerce-checkout .footer,
body.woocommerce-account .af-top-bar,
body.woocommerce-account .af-nav-bar,
body.woocommerce-account .footer,
body.page-id-30406 .af-top-bar,
body.page-id-30406 .af-nav-bar,
body.page-id-30406 .footer,
body.page-id-254 .af-top-bar,
body.page-id-254 .af-nav-bar,
body.page-id-254 .footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 99999 !important;
}
body.woocommerce-checkout .af-top-bar .top,
body.woocommerce-checkout .af-nav-bar .nav,
body.woocommerce-account .af-top-bar .top,
body.woocommerce-account .af-nav-bar .nav,
body.page-id-30406 .af-top-bar .top,
body.page-id-30406 .af-nav-bar .nav,
body.page-id-254 .af-top-bar .top,
body.page-id-254 .af-nav-bar .nav {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.adisons-wc-page-content {
  width: 100% !important;
  max-width: 1240px !important;
  margin: 36px auto 70px auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
  background: transparent !important;
}

/* ==========================================================================
   DEFAULT PAGE TEMPLATE & ELEMENTOR CONTENT INTEGRATION SHIELD
   Allows pages using "Adisons - Default Page Template" (e.g. /tc/, policies)
   to display 100% untouched Elementor canvas, columns, stretched sections,
   and widgets without any layout constraints or CSS pollution.
   ========================================================================== */
.adisons-default-page-content {
  width: 100%;
  box-sizing: border-box;
  background: transparent !important;
}

/* If page is standard WordPress content (non-Elementor), center nicely at 1240px */
body:not(.elementor-page) .adisons-default-page-content {
  max-width: 1240px;
  margin: 40px auto 80px auto;
  padding: 0 24px;
}

/* If page is built with Elementor, give Elementor full freedom to stretch and layout */
body.elementor-page .adisons-default-page-content,
body.elementor-page .adisons-wc-page-content,
.elementor-page .adisons-default-page-content,
.elementor-page .adisons-wc-page-content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* Hide floating mobile bottom book bar on Default & WooCommerce pages */
body.page-template-template-adisons-default .mobile-book,
body.page-template-template-adisons-woocommerce .mobile-book {
  display: none !important;
}
body.page-template-template-adisons-default,
body.page-template-template-adisons-woocommerce {
  padding-bottom: 0 !important;
}

/* ==========================================================================
   SHOPENGINE & WOOCOMMERCE CHECKOUT INTEGRITY SHIELD
   Completely neutralizes outside theme/plugin conflicts (e.g. .form-row { display:flex })
   and restores 100% clean, professional, full-width, responsive form layouts.
   ========================================================================== */

/* 1. Reset All Checkout Form Rows to Block */
.woocommerce form.checkout .form-row,
.woocommerce-checkout .form-row,
.woocommerce-checkout p.form-row,
.woocommerce-checkout div.form-row,
.shopengine-template .form-row,
.thwcfe-input-field-wrapper {
  display: block !important;
  width: 100% !important;
  float: none !important;
  margin: 0 0 18px 0 !important;
  padding: 0 !important;
  clear: both !important;
  box-sizing: border-box !important;
}

/* 2. First Name & Last Name Side-by-Side on Desktop */
@media (min-width: 769px) {
  .woocommerce-checkout .form-row.form-row-first,
  .shopengine-template .form-row.form-row-first {
    width: 48.5% !important;
    float: left !important;
    clear: none !important;
  }

  .woocommerce-checkout .form-row.form-row-last,
  .shopengine-template .form-row.form-row-last {
    width: 48.5% !important;
    float: right !important;
    clear: none !important;
  }

  .woocommerce-checkout .form-row.form-row-wide,
  .shopengine-template .form-row.form-row-wide {
    width: 100% !important;
    clear: both !important;
  }
}

/* 3. Labels - Full Width, Clean Typography, Above Input */
.woocommerce form.checkout .form-row label,
.woocommerce-checkout .form-row label,
.woocommerce-checkout label,
.shopengine-template .form-row label,
.thwcfe-input-field-wrapper label {
  display: block !important;
  width: 100% !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  color: #1e293b !important;
  margin: 0 0 7px 0 !important;
  line-height: 1.4 !important;
  float: none !important;
  text-align: left !important;
  letter-spacing: 0.2px !important;
}

/* 4. Input Wrapper - Full Width */
.woocommerce-checkout .woocommerce-input-wrapper,
.shopengine-template .woocommerce-input-wrapper,
.thwcfe-input-field-wrapper .woocommerce-input-wrapper {
  display: block !important;
  width: 100% !important;
  position: relative !important;
}

/* 5. Inputs & Selects - Clean, Modern, Full Width */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout select,
.woocommerce-checkout .input-text,
.shopengine-template input[type="text"],
.shopengine-template input[type="email"],
.shopengine-template input[type="tel"],
.shopengine-template input[type="password"],
.shopengine-template select,
.shopengine-template .input-text,
.thwcfe-input-field {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  height: 48px !important;
  padding: 10px 14px !important;
  font-size: 14.5px !important;
  line-height: 1.5 !important;
  color: #1f2937 !important;
  background-color: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 6px !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

/* Focus state */
.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus,
.shopengine-template input:focus,
.shopengine-template select:focus,
.shopengine-template textarea:focus {
  border-color: #ffdf00 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(255, 223, 0, 0.25) !important;
}

/* 6. Textareas (Order notes, Additional requirements) - Fully Expanded */
.woocommerce-checkout textarea,
.woocommerce-checkout textarea.input-text,
.shopengine-template textarea,
.shopengine-template textarea.input-text,
.thwcfe-input-field-wrapper textarea {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  height: 110px !important;
  min-height: 95px !important;
  padding: 12px 14px !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  color: #1f2937 !important;
  background-color: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 6px !important;
  resize: vertical !important;
}

/* 7. Checkboxes and Radios */
.woocommerce-checkout input[type="checkbox"],
.woocommerce-checkout input[type="radio"],
.shopengine-template input[type="checkbox"],
.shopengine-template input[type="radio"] {
  display: inline-block !important;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  margin: 0 10px 0 0 !important;
  vertical-align: middle !important;
  cursor: pointer !important;
  flex: none !important;
}

.woocommerce-checkout .form-row label.checkbox,
.woocommerce-checkout label.woocommerce-form__label-for-checkbox,
.shopengine-template label.woocommerce-form__label-for-checkbox {
  display: inline-flex !important;
  align-items: center !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  margin: 6px 0 !important;
}

/* 8. Layout Columns (Billing Details on left, Additional Info on right) */
.woocommerce-checkout .col2-set {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 32px !important;
  margin-bottom: 30px !important;
}

.woocommerce-checkout .col2-set .col-1 {
  flex: 1 1 54% !important;
  min-width: 320px !important;
  float: none !important;
}

.woocommerce-checkout .col2-set .col-2 {
  flex: 1 1 40% !important;
  min-width: 300px !important;
  float: none !important;
}

@media (max-width: 820px) {
  .woocommerce-checkout .col2-set {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .woocommerce-checkout .col2-set .col-1,
  .woocommerce-checkout .col2-set .col-2 {
    width: 100% !important;
    flex: 1 1 100% !important;
  }
  .woocommerce-checkout .form-row.form-row-first,
  .woocommerce-checkout .form-row.form-row-last {
    width: 100% !important;
    float: none !important;
  }
}

/* 9. Headings inside Checkout */
.woocommerce-checkout h3,
.shopengine-template h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  letter-spacing: 0.5px !important;
  margin: 0 0 18px 0 !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #e2e8f0 !important;
  text-transform: uppercase !important;
}

.woocommerce-checkout h4,
.shopengine-template h4 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin: 20px 0 12px 0 !important;
}

/* 10. Clearfix */
.col2-set:after,
.woocommerce-billing-fields__field-wrapper:after,
.form-row:after {
  content: "" !important;
  display: table !important;
  clear: both !important;
}
