/*
  Catalog Page Styles
  ------------------------------------------------------------
  Purpose: Catalog page layout, sidebar filters, product cards, modal, footer, and utility controls.
  Related HTML: catalog.html
  Main sections are labeled below so layout, navigation, catalog,
  footer, and floating-contact styles are easy to find.
*/

:root {
      --primary: #0057A8;
      --primary-dark: #003d78;
      --primary-light: #e8f0fb;
      --secondary: #1a2340;
      --accent: #F59E0B;
      --text: #1e293b;
      --muted: #64748b;
      --border: #e2e8f0;
      --bg-light: #f8fafc;
      --white: #ffffff;
      --radius: 8px;
      --radius-lg: 14px;
      --shadow: 0 4px 24px rgba(0,0,0,0.08);
      --shadow-md: 0 8px 40px rgba(0,0,0,0.12);
    }

    * { box-sizing: border-box; }
    body { font-family: 'Lato', sans-serif; color: var(--text); background: var(--bg-light); overflow-x: hidden; }
    h1,h2,h3,h4,h5,h6 { font-family: 'Montserrat', sans-serif; }
    a { text-decoration: none; color: inherit; }

    /* ── SPINNER ── */
    #spinner {
      position: fixed; inset: 0; background: var(--white);
      display: flex; align-items: center; justify-content: center;
      z-index: 9999; transition: opacity .4s;
    }
    #spinner.hide { opacity: 0; pointer-events: none; }
    .spinner-ring {
      width: 52px; height: 52px; border: 4px solid var(--border);
      border-top-color: var(--primary); border-radius: 50%;
      animation: spin .8s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* ── TOPBAR ── */
    .topbar { background: var(--secondary); padding: 10px 0; font-size: 13.5px; }
    .topbar a { color: rgba(255,255,255,.7); transition: color .2s; }
    .topbar a:hover { color: var(--white); }
    .topbar .social-btn {
      width: 30px; height: 30px; border-radius: 50%;
      background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 12px; transition: background .2s, color .2s; margin-left: 6px;
    }
    .topbar .social-btn:hover { background: var(--primary); color: var(--white); }

    /* ── NAVBAR ── */
    .navbar-wrap {
      background: var(--white); border-bottom: 1px solid var(--border);
      position: sticky; top: 0; z-index: 500;
      box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    }
    .brand-name { font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 700; color: var(--secondary); letter-spacing: -.3px; }
    .brand-name span { color: var(--primary); }
    .navbar .nav-link {
      font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13.5px;
      color: var(--secondary) !important; padding: 8px 14px !important; border-radius: 6px;
      transition: background .2s, color .2s;
    }
    .navbar .nav-link:hover, .navbar .nav-link.active { background: var(--primary-light); color: var(--primary) !important; }
    .btn-quote {
      background: var(--primary); color: var(--white) !important; border-radius: 6px;
      padding: 8px 18px !important; font-weight: 700 !important;
      transition: background .2s, transform .15s;
    }
    .btn-quote:hover { background: var(--primary-dark); transform: translateY(-1px); }

    /* ── PAGE HEADER ── */
    .page-header {
      background: linear-gradient(135deg, var(--secondary) 0%, #0a1e40 60%, var(--primary-dark) 100%);
      padding: 52px 0; position: relative; overflow: hidden;
    }
    .page-header::before {
      content: ''; position: absolute; inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }
    .page-header h1 { font-size: clamp(28px,4vw,42px); font-weight: 800; color: var(--white); margin-bottom: 8px; }
    .page-header p { color: rgba(255,255,255,.65); font-size: 15px; margin: 0; }
    .breadcrumb-item a { color: rgba(255,255,255,.6); font-size: 13px; transition: color .15s; }
    .breadcrumb-item a:hover { color: var(--white); }
    .breadcrumb-item.active { color: rgba(255,255,255,.9); font-size: 13px; }
    .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

    /* ── LAYOUT ── */
    .catalog-layout { padding: 40px 0 80px; }

    /* ── SIDEBAR ── */
    .sidebar-card {
      background: var(--white); border: 1px solid var(--border);
      border-radius: var(--radius-lg); overflow: hidden;
      box-shadow: var(--shadow); position: sticky; top: 90px;
    }
    .sidebar-header {
      background: var(--secondary); padding: 18px 20px;
      font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700;
      color: var(--white); letter-spacing: .04em;
    }
    .sidebar-header i { color: var(--primary); margin-right: 8px; }
    .sidebar-body { padding: 8px 0; }
    .sidebar-cat {
      display: flex; align-items: center; gap: 10px;
      padding: 11px 20px; font-size: 14px; color: var(--text);
      cursor: pointer; transition: background .15s, color .15s; border: none;
      background: none; width: 100%; text-align: left;
    }
    .sidebar-cat:hover, .sidebar-cat.active {
      background: var(--primary-light); color: var(--primary);
    }
    .sidebar-cat.active { font-weight: 700; border-left: 3px solid var(--primary); }
    .sidebar-cat .cat-icon-sm {
      width: 30px; height: 30px; border-radius: 7px; background: var(--bg-light);
      display: flex; align-items: center; justify-content: center;
      font-size: 13px; color: var(--muted); flex-shrink: 0;
      transition: background .15s, color .15s;
    }
    .sidebar-cat.active .cat-icon-sm, .sidebar-cat:hover .cat-icon-sm {
      background: var(--primary); color: var(--white);
    }
    .sidebar-cat .cat-count {
      margin-left: auto; font-size: 11px; font-weight: 700;
      background: var(--bg-light); color: var(--muted);
      padding: 2px 8px; border-radius: 10px;
    }

    .sidebar-subcats { display: none; padding: 2px 16px 10px 68px; border-bottom: 1px solid var(--border); }
    .sidebar-subcats.show { display: grid; gap: 4px; }
    .sidebar-subcat {
      border: none; background: transparent; color: var(--muted); text-align: left;
      font-size: 12.5px; line-height: 1.35; padding: 5px 0; cursor: pointer;
      transition: color .15s, transform .15s;
    }
    .sidebar-subcat:hover { color: var(--primary); transform: translateX(3px); }

    /* Search in sidebar */
    .sidebar-search {
      padding: 14px 16px; border-bottom: 1px solid var(--border);
    }
    .sidebar-search input {
      width: 100%; padding: 9px 12px 9px 36px; border: 1.5px solid var(--border);
      border-radius: 7px; font-size: 14px; outline: none; background: var(--bg-light);
      transition: border-color .2s;
    }
    .sidebar-search input:focus { border-color: var(--primary); }
    .sidebar-search .search-icon {
      position: absolute; left: 28px; top: 50%; transform: translateY(-50%);
      color: var(--muted); font-size: 13px;
    }

    /* ── CATALOG CONTROLS ── */
    .catalog-controls {
      background: var(--white); border: 1px solid var(--border);
      border-radius: var(--radius-lg); padding: 16px 20px;
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 12px; margin-bottom: 20px;
    }
    .result-count { font-size: 14px; color: var(--muted); }
    .result-count strong { color: var(--text); font-weight: 700; }
    .view-toggle { display: flex; gap: 4px; }
    .view-btn {
      width: 34px; height: 34px; border-radius: 6px; border: 1px solid var(--border);
      background: var(--bg-light); color: var(--muted); display: flex;
      align-items: center; justify-content: center; cursor: pointer; transition: all .15s;
    }
    .view-btn.active, .view-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
    .sort-select {
      padding: 7px 12px; border: 1.5px solid var(--border); border-radius: 6px;
      font-size: 13px; outline: none; cursor: pointer;
    }
    .sort-select:focus { border-color: var(--primary); }

    /* ── CATEGORY HEADER SECTION ── */
    .cat-header-section {
      background: var(--white); border: 1px solid var(--border);
      border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px;
      border-left: 5px solid var(--primary);
    }
    .cat-header-section h3 { font-size: 20px; font-weight: 700; color: var(--secondary); margin-bottom: 6px; }
    .cat-header-section p { font-size: 14px; color: var(--muted); margin: 0; }

    /* ── CATEGORY OVERVIEW CARDS (top) ── */
    .overview-grid { margin-bottom: 32px; }
    .overview-card {
      background: var(--white); border: 1.5px solid var(--border);
      border-radius: var(--radius-lg); padding: 24px 18px; text-align: center;
      cursor: pointer; transition: all .22s; height: 100%;
    }
    .overview-card:hover, .overview-card.active {
      border-color: var(--primary); box-shadow: 0 4px 20px rgba(0,87,168,.1);
      transform: translateY(-3px);
    }
    .overview-card.active { border-color: var(--primary); background: var(--primary-light); }
    .ov-icon {
      width: 56px; height: 56px; background: var(--primary-light);
      border-radius: 12px; display: flex; align-items: center; justify-content: center;
      margin: 0 auto 14px; font-size: 22px; color: var(--primary);
      transition: background .2s, color .2s;
    }
    .overview-card:hover .ov-icon, .overview-card.active .ov-icon {
      background: var(--primary); color: var(--white);
    }
    .overview-card h6 { font-size: 13px; font-weight: 700; color: var(--secondary); margin: 0; line-height: 1.3; }

    /* ── PRODUCT CARDS ── */
    .prod-card {
      background: var(--white); border: 1.5px solid var(--border);
      border-radius: var(--radius-lg); overflow: hidden;
      transition: all .22s; height: 100%;
      display: flex; flex-direction: column;
    }
    .prod-card:hover {
      border-color: var(--primary); box-shadow: var(--shadow-md);
      transform: translateY(-4px);
    }
    .prod-img-wrap {
      height: 180px; background: linear-gradient(135deg, #f0f4f8, #e2e8f0);
      display: flex; align-items: center; justify-content: center;
      overflow: hidden; position: relative; flex-shrink: 0;
    }
    .prod-img-wrap img {
      width: 100%; height: 100%; object-fit: contain; padding: 8px;
      transition: transform .35s;
    }
    .prod-card:hover .prod-img-wrap img { transform: scale(1.04); }
    .prod-img-placeholder { font-size: 52px; color: var(--muted); }
    .prod-cat-badge {
      position: absolute; top: 12px; left: 12px;
      background: var(--primary); color: var(--white);
      font-size: 10px; font-weight: 700; padding: 3px 10px;
      border-radius: 4px; letter-spacing: .04em; text-transform: uppercase;
    }
    .prod-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
    .prod-name { font-size: 15px; font-weight: 700; color: var(--secondary); margin-bottom: 6px; line-height: 1.3; }
    .prod-part-number { font-size: 13.5px; font-weight: 700; color: #64748b; margin-bottom: 16px; line-height: 1.35; }
    .prod-desc { font-size: 13.5px; color: var(--muted); line-height: 1.6; flex: 1; margin-bottom: 14px; }
    .prod-footer { display: flex; gap: 8px; flex-wrap: wrap; }
    .btn-rfq {
      flex: 1; background: var(--primary); color: var(--white);
      border: none; border-radius: 6px; padding: 9px 12px;
      font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12.5px;
      cursor: pointer; transition: background .2s; text-align: center;
    }
    .btn-rfq:hover { background: var(--primary-dark); }
    .btn-detail {
      background: var(--bg-light); color: var(--text); border: 1px solid var(--border);
      border-radius: 6px; padding: 9px 12px; font-size: 12.5px; font-weight: 600;
      cursor: pointer; transition: all .2s; white-space: nowrap;
    }
    .btn-detail:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }

    /* List view */
    .prod-card.list-view { flex-direction: row; }
    .prod-card.list-view .prod-img-wrap { width: 160px; height: 120px; flex-shrink: 0; }
    .prod-card.list-view .prod-body { padding: 14px 18px; }
    .prod-card.list-view .prod-desc { font-size: 13px; }

    /* ── EMPTY STATE ── */
    .empty-state { text-align: center; padding: 60px 20px; }
    .empty-state i { font-size: 48px; color: var(--border); margin-bottom: 16px; display: block; }
    .empty-state h5 { font-size: 16px; color: var(--muted); font-weight: 600; }
    .empty-state p { font-size: 14px; color: var(--muted); }

    /* ── MODAL ── */
    .modal-content { border-radius: var(--radius-lg); border: none; }
    .modal-header { background: var(--secondary); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 20px 24px; }
    .modal-header .modal-title { font-family: 'Montserrat', sans-serif; color: var(--white); font-size: 16px; font-weight: 700; }
    .modal-header .btn-close { filter: invert(1); }
    .modal-body { padding: 24px; }
    .modal-img {
      background: linear-gradient(135deg, #f0f4f8, #e2e8f0);
      border-radius: var(--radius); height: 220px; display: flex;
      align-items: center; justify-content: center; margin-bottom: 20px;
      overflow: hidden;
    }
    .modal-img img { width: 100%; height: 100%; object-fit: cover; }
    .modal-img .placeholder { font-size: 64px; color: var(--muted); }
    .rfq-form .form-control {
      border: 1.5px solid var(--border); border-radius: 7px;
      padding: 10px 13px; font-size: 14px; transition: border-color .2s;
    }
    .rfq-form .form-control:focus { border-color: var(--primary); box-shadow: none; }
    .rfq-form textarea { resize: none; min-height: 90px; }
    .btn-modal-send {
      background: var(--primary); color: var(--white); border: none;
      border-radius: 7px; padding: 11px 0; width: 100%;
      font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px;
      cursor: pointer; transition: background .2s;
    }
    .btn-modal-send:hover { background: var(--primary-dark); }

    /* ── LOADING SKELETON ── */
    .skeleton-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
    .skeleton-pulse { background: linear-gradient(90deg, #f0f4f8 25%, #e2e8f0 50%, #f0f4f8 75%); background-size: 200% 100%; animation: pulse 1.4s infinite; }
    @keyframes pulse { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

    /* ── FOOTER ── */
    .footer { background: var(--secondary); }
    .footer-brand { font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 700; color: var(--white); }
    .footer-brand span { color: var(--primary); }
    .footer p { font-size: 13.5px; color: rgba(255,255,255,.55); line-height: 1.8; }
    .footer h6 { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 16px; }
    .footer-link { display: block; font-size: 13.5px; color: rgba(255,255,255,.6); padding: 4px 0; transition: color .15s; }
    .footer-link:hover { color: var(--white); }
    .footer-link i { font-size: 11px; margin-right: 6px; color: var(--primary); }
    .footer-social { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.07); color: rgba(255,255,255,.6); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; transition: background .2s, color .2s; margin-right: 6px; }
    .footer-social:hover { background: var(--primary); color: var(--white); }
    .footer-divider { border-color: rgba(255,255,255,.08); }

    /* ── BACK TO TOP ── */
    #backToTop {
      position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px;
      background: var(--primary); color: var(--white); border-radius: 50%; border: none;
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      font-size: 16px; box-shadow: var(--shadow-md);
      opacity: 0; transform: translateY(12px);
      transition: opacity .3s, transform .3s, background .2s; z-index: 900;
    }
    #backToTop.show { opacity: 1; transform: translateY(0); }
    #backToTop:hover { background: var(--primary-dark); }

    /* ── TOAST ── */
    .toast-msg {
      position: fixed; bottom: 80px; right: 28px;
      background: var(--secondary); color: var(--white); padding: 12px 20px;
      border-radius: 8px; font-size: 14px; border-left: 3px solid var(--accent);
      z-index: 2000; opacity: 0; transform: translateY(8px);
      transition: all .3s; pointer-events: none;
    }
    .toast-msg.show { opacity: 1; transform: translateY(0); }

    @media (max-width: 767px) {
      .prod-card.list-view { flex-direction: column; }
      .prod-card.list-view .prod-img-wrap { width: 100%; height: 160px; }
      .catalog-controls { flex-direction: column; align-items: flex-start; }
    }

    .modal-part-number { margin-top: 5px; font-size: 13.5px; font-weight: 700; color: #64748b; }
    .modal-product-details { margin-bottom: 18px; }
    .product-detail-section { background: var(--bg-light); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; margin-bottom: 10px; }
    .product-detail-section h6 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 12px; color: var(--secondary); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
    .product-detail-section p { font-size: 13.5px; color: var(--text); line-height: 1.7; margin-bottom: 8px; }
    .product-detail-section p:last-child { margin-bottom: 0; }
    .product-detail-section ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
    .product-detail-section li { font-size: 13.5px; color: var(--text); line-height: 1.55; }
    .product-detail-section li i { color: #0f9f6e; margin-right: 7px; }
    .product-detail-summary { border-left: 3px solid var(--primary); }


/* Floating Contact Info Widget */
#floatingContact {
  position: fixed; top: 96px; right: 28px;
  z-index: 901;
}
#floatingContactBtn {
  width: 44px; height: 44px; background: var(--secondary);
  color: var(--white); border-radius: 8px; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; box-shadow: var(--shadow-md);
  transition: background .2s, transform .2s;
}
#floatingContactBtn:hover { background: var(--primary); transform: translateY(-2px); }
#floatingInfoCard {
  position: absolute; top: 0; right: 0;
  width: 250px;
  background: var(--white); border-radius: 10px;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
  padding: 14px 16px;
  opacity: 0; pointer-events: none;
  transform: translateY(8px) scale(.98);
  transition: opacity .2s, transform .2s;
}
#floatingContact:hover #floatingInfoCard { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.fi-header {
  font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--secondary);
  font-size: 13px; padding-bottom: 10px; border-bottom: 1px solid var(--border); margin-bottom: 10px;
}
.fi-row { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 12.5px; color: var(--text); line-height: 1.5; }
.fi-row:last-child { border-bottom: none; }
.fi-icon { color: var(--primary); font-size: 13px; margin-top: 2px; flex-shrink: 0; }
.fi-row a { color: var(--primary); }
.fi-label { font-weight: 700; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: 2px; }

/* WhatsApp Bubble */
#whatsappBubble { position: fixed; top: 150px; right: 28px; z-index: 901; }
#whatsappBubble a {
  width: 44px; height: 44px; background: #25D366;
  color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 22px; box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s; text-decoration: none;
}
#whatsappBubble a:hover { transform: scale(1.1); box-shadow: 0 6px 22px rgba(37,211,102,.6); }
#waTooltip {
  position: absolute; right: 54px; top: 50%; transform: translateY(-50%);
  background: var(--secondary); color: #fff; border-radius: 8px; padding: 8px 14px;
  white-space: nowrap; font-size: 12.5px; line-height: 1.5; pointer-events: none;
  opacity: 0; transition: opacity .2s; box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
#waTooltip::after { content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-left-color: var(--secondary); }
#whatsappBubble:hover #waTooltip { opacity: 1; }
.wa-name { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; margin-bottom: 2px; }
.wa-num { color: #25D366; font-weight: 600; }

/* Instagram Bubble */
#instagramBubble { position: fixed; top: 204px; right: 28px; z-index: 901; }
#instagramBubble > a {
  width: 44px; height: 44px; background: linear-gradient(135deg, #f97316 0%, #db2777 50%, #7c3aed 100%);
  color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 21px; box-shadow: 0 4px 16px rgba(219,39,119,.42);
  transition: transform .2s, box-shadow .2s; text-decoration: none;
}
#instagramBubble > a:hover { transform: scale(1.1); box-shadow: 0 6px 22px rgba(219,39,119,.58); }
#igTooltip {
  position: absolute; right: 54px; top: 0; width: 178px;
  background: var(--secondary); color: #fff; border-radius: 10px; padding: 12px; text-align: center;
  opacity: 0; pointer-events: none; transform: translateY(8px) scale(.97);
  transition: opacity .2s, transform .2s; box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
#igTooltip::after { content: ''; position: absolute; left: 100%; top: 16px; border: 6px solid transparent; border-left-color: var(--secondary); }
#instagramBubble:hover #igTooltip { opacity: 1; transform: translateY(0) scale(1); }
.ig-qr { width: 118px; height: 118px; object-fit: contain; border-radius: 8px; background: #fff; padding: 4px; margin-bottom: 8px; }
.ig-name { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; margin-bottom: 2px; }
.ig-link { color: #f9a8d4; font-weight: 600; font-size: 12px; }




/* Facebook Bubble */
#facebookBubble { position: fixed; top: 258px; right: 28px; z-index: 901; }
#facebookBubble > a {
  width: 44px; height: 44px; background: #1877f2;
  color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: 0 4px 16px rgba(24,119,242,.42);
  transition: transform .2s, box-shadow .2s; text-decoration: none;
}
#facebookBubble > a:hover { transform: scale(1.1); box-shadow: 0 6px 22px rgba(24,119,242,.58); }
#fbTooltip {
  position: absolute; right: 54px; top: 0; width: 178px;
  background: var(--secondary); color: #fff; border-radius: 10px; padding: 12px; text-align: center;
  opacity: 0; pointer-events: none; transform: translateY(8px) scale(.97);
  transition: opacity .2s, transform .2s; box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
#fbTooltip::after { content: ''; position: absolute; left: 100%; top: 16px; border: 6px solid transparent; border-left-color: var(--secondary); }
#facebookBubble:hover #fbTooltip { opacity: 1; transform: translateY(0) scale(1); }
.fb-qr { width: 118px; height: 118px; object-fit: contain; border-radius: 8px; background: #fff; padding: 4px; margin-bottom: 8px; }
.fb-name { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; margin-bottom: 2px; }
.fb-link { color: #93c5fd; font-weight: 600; font-size: 12px; }

/* Mobile-friendly floating bubbles */
@media (max-width: 767px) {
  #floatingContact,
  #whatsappBubble,
  #instagramBubble,
  #facebookBubble,
  #backToTop {
    right: 16px;
  }

  #floatingContact { top: 84px; bottom: auto; }
  #whatsappBubble { top: 136px; bottom: auto; }
  #instagramBubble { top: 188px; bottom: auto; }
  #facebookBubble { top: 240px; bottom: auto; }
  #backToTop { top: auto; bottom: 16px; }

  #floatingContactBtn,
  #whatsappBubble a,
  #instagramBubble > a,
  #facebookBubble > a,
  #backToTop {
    width: 42px;
    height: 42px;
  }

  #waTooltip,
  #igTooltip,
  #fbTooltip {
    display: none;
  }

  #floatingInfoCard {
    right: 0;
    width: min(260px, calc(100vw - 88px));
    max-height: 62vh;
    overflow-y: auto;
  }
}


.footer-qr-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.footer-qr-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.75);
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.footer-qr-card img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}
.footer-qr-card:hover { color: var(--white); }

.biz-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.biz-hours-row span:last-child {
  color: var(--white);
  font-weight: 700;
}
