/**
 * brandpage-shell.css — extracted from brandpage.html inline <style> on 2026-05-21.
 * Contains: animated FRANticc logo + top-bar cockpit + search drawer + filter icons.
 * 23.8 KB of platform shell CSS, now cached at the CDN edge across all brand page
 * navigations. Browser fetches once per session, not once per brand-page view.
 *
 * If you change anything here, also rebuild brand pages with: node generate-static.js
 */

  /* ─── ANIMATED LOGO ───
     Change --fl-size to scale everything proportionally.
     1 = 22px base. 1.5 = 33px. 2 = 44px. etc. */
  .fl-wrap { --fl-size: 1.2; position: relative; display: inline-flex; align-items: center; padding: 4px 8px; overflow: visible; cursor: pointer; flex-shrink: 0; z-index: 2; font-size: calc(22px * var(--fl-size)); }
  .fl-logo { display: flex; align-items: baseline; position: relative; z-index: 2; }
  .fl-logo span { font-family: 'Urbanist', sans-serif; font-size: 1em; font-weight: 700; color: #fff; display: inline-block; animation: flFloat 6s ease-in-out infinite; transition: letter-spacing 0.6s cubic-bezier(0.22,1,0.36,1); }
  .fl-logo span:nth-child(1) { animation-delay: 0s; } .fl-logo span:nth-child(2) { animation-delay: 0.4s; } .fl-logo span:nth-child(3) { animation-delay: 0.8s; } .fl-logo span:nth-child(4) { animation-delay: 1.2s; }
  .fl-logo .fl-sun { color: #10b981; font-size: 1.18em; position: relative; animation: flFloat 6s ease-in-out infinite, flPulse 3s ease-in-out infinite; animation-delay: 1.5s, 0s; text-shadow: 0 0 0.55em rgba(16,185,129,0.5), 0 0 1.36em rgba(16,185,129,0.2); filter: drop-shadow(0 0 0.27em rgba(16,185,129,0.4)); }
  .fl-logo span:nth-child(6) { animation-delay: 1.8s; color: rgba(255,255,255,0.4); font-weight: 300; } .fl-logo span:nth-child(7) { animation-delay: 2.1s; color: rgba(255,255,255,0.4); font-weight: 300; } .fl-logo span:nth-child(8) { animation-delay: 2.4s; color: rgba(255,255,255,0.4); font-weight: 300; } .fl-logo span:nth-child(9) { animation-delay: 2.7s; color: rgba(255,255,255,0.4); font-weight: 300; }
  @keyframes flFloat { 0%,100% { transform: translateY(0); } 30% { transform: translateY(-0.14em); } 70% { transform: translateY(0.09em); } }
  @keyframes flPulse { 0%,100% { text-shadow: 0 0 0.36em rgba(16,185,129,0.4), 0 0 0.9em rgba(16,185,129,0.15); } 50% { text-shadow: 0 0 0.82em rgba(16,185,129,0.7), 0 0 1.8em rgba(16,185,129,0.3), 0 0 2.7em rgba(16,185,129,0.1); } }
  .fl-logo::after { content: ''; position: absolute; bottom: -0.18em; left: 15%; width: 70%; height: 1px; background: linear-gradient(90deg, transparent, rgba(16,185,129,0.3), transparent); animation: flUnder 4s ease-in-out infinite; will-change: transform, opacity; }
  @keyframes flUnder { 0%,100% { opacity: 0.3; transform: scaleX(0.7); } 50% { opacity: 0.7; transform: scaleX(1); } }
  .fl-orb { position: absolute; top: 50%; left: 50%; border-radius: 50%; pointer-events: none; z-index: 3; }
  .fl-od { position: absolute; border-radius: 50%; }
  .fl-orb-1 .fl-od { top: 0; left: 50%; transform: translate(-50%,-50%); }
  .fl-orb-2 .fl-od { top: 50%; left: 100%; transform: translate(-50%,-50%); }
  .fl-orb-3 .fl-od { top: 100%; left: 50%; transform: translate(-50%,-50%); }
  .fl-orb-1 { width: 1.09em; height: 0.94em; margin-left: -0.55em; margin-top: -0.47em; animation: flSpin1 9s linear infinite; }
  .fl-orb-1 .fl-od { width: 0.11em; height: 0.11em; background: #fff; box-shadow: 0 0 0.22em rgba(255,255,255,0.8), 0 0 0.49em rgba(255,255,255,0.35); }
  .fl-orb-2 { width: 3.18em; height: 2.74em; margin-left: -1.59em; margin-top: -1.37em; animation: flSpin2 38s linear infinite; }
  .fl-orb-2 .fl-od { width: 0.12em; height: 0.12em; background: #fff; box-shadow: 0 0 0.24em rgba(255,255,255,0.8), 0 0 0.54em rgba(255,255,255,0.35); }
  .fl-orb-3 { width: 4.55em; height: 3.91em; margin-left: -2.27em; margin-top: -1.96em; animation: flSpin3 44s linear infinite; }
  .fl-orb-3 .fl-od { width: 0.07em; height: 0.07em; background: #0a0e17; box-shadow: 0 0 0.14em #0a0e1780, 0 0 0.32em #0a0e1740; }
  @keyframes flSpin1 { from { transform: rotateX(71deg) rotateY(11deg) rotateZ(0deg); } to { transform: rotateX(71deg) rotateY(11deg) rotateZ(360deg); } }
  @keyframes flSpin2 { from { transform: rotateX(55deg) rotateY(-44deg) rotateZ(360deg); } to { transform: rotateX(55deg) rotateY(-44deg) rotateZ(0deg); } }
  @keyframes flSpin3 { from { transform: rotateX(7deg) rotateY(-27deg) rotateZ(0deg); } to { transform: rotateX(7deg) rotateY(-27deg) rotateZ(360deg); } }
  @keyframes flBreath { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }
  .fl-wrap:hover .fl-logo span:not(.fl-sun) { letter-spacing: 0.14em; }
  .fl-wrap:hover .fl-sun { text-shadow: 0 0 1.1em rgba(16,185,129,0.9), 0 0 2.27em rgba(16,185,129,0.4) !important; }
  .fl-wrap:hover .fl-od { opacity: 1 !important; filter: brightness(1.3); }
  @media (prefers-reduced-motion: reduce) { .fl-logo span, .fl-orb, .fl-od, .fl-logo::after { animation: none !important; } }
  
  .right-header-cluster { display: flex; align-items: center; flex-grow: 1; justify-content: flex-end; z-index: 2; position: relative;}
  .top-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; z-index: 100;}
  .btn-naked { background: transparent; color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 6px; transition: all 0.2s; opacity: 0.8; outline: none; flex-shrink: 0;}
  .btn-naked:hover { opacity: 1; transform: scale(1.05); }
  .btn-naked svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; display: block; min-width: 24px;}

  .central-discovery-core { display: flex; align-items: center; gap: 12px; margin-right: 12px; flex-direction: row;}
  .search-text-wrapper { width: 0; opacity: 0; overflow: hidden; transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); display: flex; align-items: center; }
  .search-text-wrapper.open { width: 160px; opacity: 1; padding: 0 4px; margin-left: 8px;}
  .search-input-field { background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.3); color: #fff; font-family: 'Inter', sans-serif; font-size: 14px; padding: 6px 4px; width: 100%; outline: none; transition: border-color 0.2s;}
  .search-input-field:focus { border-bottom: 1px solid #10b981; }
  .search-input-field::placeholder { color: rgba(255,255,255,0.4); font-weight: 300;}

  .filter-icon-array { display: flex; gap: 4px; align-items: center; flex-direction: row; overflow: visible;}
  @keyframes popInRight { 0% { opacity: 0; transform: translateX(-15px) scale(0.8); filter: brightness(2); } 100% { opacity: 0.9; transform: translateX(0) scale(1); filter: brightness(1); } }
  .f-icon-btn { display: none; background: transparent; border: none; color: #fff; padding: 6px; border-radius: 50%; cursor: pointer; position: relative; transition: all 0.2s; opacity: 0.9; flex-shrink: 0;}
  .f-icon-btn.reveal { display: flex; animation: popInRight 0.5s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275); }
  .f-icon-btn.active { color: #10b981; opacity: 1 !important; transform: scale(1.1);}
  .f-icon-btn:hover { opacity: 1 !important; transform: scale(1.1); }
  .f-icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; pointer-events: none;}
  .f-icon-btn.filtering::after { content: ''; position: absolute; top: 0px; right: 0px; width: 6px; height: 6px; background: #10b981; border-radius: 50%; box-shadow: 0 0 6px #10b981; pointer-events: none;}

  /* --- HORIZONTAL SLIDER DRAWERS --- */
  .apple-drawer-slider { position: fixed; top: 64px; left: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(0,0,0,0.08); border-radius: 0 0 16px 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.1); opacity: 0; pointer-events: none; z-index: 21000; display: flex; flex-direction: column; align-items: stretch; padding: 14px 20px 16px; width: 280px; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s;}
  .apple-drawer-slider.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .v-slider-wrapper { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; touch-action: none; gap: 0;}
  .v-slider { appearance: none; width: 100%; height: 3px; background: #1e293b; border-radius: 3px; outline: none; border: none; box-shadow: none; touch-action: none; margin: 0;}
  .v-slider::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #10b981; border: 2px solid #fff; cursor: pointer; box-shadow: 0 2px 8px rgba(16,185,129,0.4); transition: transform 0.15s;}
  .v-slider::-webkit-slider-thumb:hover { transform: scale(1.3); }
  .v-tracker-label { width: 100%; text-align: center; margin-top: 10px; background: none; backdrop-filter: none; border: none; box-shadow: none; padding: 0; border-radius: 0; font-family: 'Urbanist', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text-main); white-space: nowrap; pointer-events: none; position: static; transform: none;}

  /* --- DROPDOWN ANIMATION --- */
  .apple-drawer-slider.open, .apple-drawer-list.open { animation: slideDown 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
  @keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

  /* --- SEGMENTED FILTER STYLE --- */
  .inv-scale-filter { display: flex; width: 100%; border-radius: 12px; overflow: hidden; border: 2px solid #1e293b; }
  .inv-segment { flex: 1; padding: 10px 4px; text-align: center; cursor: pointer; transition: all 0.25s cubic-bezier(0.175,0.885,0.32,1.275); background: rgba(255,255,255,0.15); border-right: 1px solid rgba(0,0,0,0.1); }
  .inv-segment:last-child { border-right: none; }
  .inv-segment span { display: block; font-family: 'Urbanist', sans-serif; font-size: 16px; font-weight: 700; color: #475569; transition: color 0.2s; }
  .inv-segment small { display: block; font-family: 'Inter', sans-serif; font-size: 9px; color: #94a3b8; margin-top: 2px; transition: color 0.2s; }
  .inv-segment.selected { background: #10b981; }
  .inv-segment.selected span { color: #fff; }
  .inv-segment.selected small { color: rgba(255,255,255,0.8); }
  .inv-segment:hover:not(.selected) { background: rgba(30,41,59,0.1); }

  /* --- 🔒 NEW GLASSY HOLLOW MENUS 🔒 --- */
  .apple-drawer-list { position: fixed; top: 64px; left: 0; display: flex; flex-direction: column; opacity: 0; pointer-events: none; z-index: 21000; width: 280px; min-width: 200px; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(0,0,0,0.08); border-radius: 0 0 16px 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.1); padding: 12px; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s;}
  .apple-drawer-list.open { opacity: 1; pointer-events: auto; }
  .list-menu { display: flex; flex-direction: column; gap: 8px; width: 100%; }
  @keyframes swingOut { 0% { opacity: 0; transform: translateX(-15px) scale(0.95); } 100% { opacity: 1; transform: translateX(0) scale(1); } }
  
  .glass-rect-item { 
      background: rgba(255,255,255,0.85) !important; 
      backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(0,0,0,0.1) !important; 
      padding: 8px 16px; border-radius: 12px; 
      color: var(--text-main) !important; 
      font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; text-align: left; 
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; display: flex; justify-content: space-between; align-items: center; width: 100%; box-sizing: border-box; white-space: normal; line-height: 1.2; box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
  }
  .glass-rect-item.stagger-in { animation: swingOut 0.25s forwards cubic-bezier(0.2, 0.8, 0.2, 1); opacity: 0; }
  .glass-rect-item:hover, .glass-rect-item.selected, .glass-rect-item.highlighted { background: #10b981 !important; color: #fff !important; border-color: #10b981 !important;}
  
  .sub-drawer-list { position: absolute !important; top: 0; width: max-content; min-width: 120px; display: flex; flex-direction: column; gap: 8px; opacity: 0; pointer-events: none; transition: opacity 0.2s;}
  .sub-drawer-list.open { opacity: 1; pointer-events: auto; animation: swingOut 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }

/* --- 🔒 INLINE FORMAT PILLS & FLASH ANIMATION 🔒 --- */
  .inline-format-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
  .inline-format-pill {
      background: transparent; border: 1px solid var(--text-muted); color: var(--text-muted);
      padding: 6px 12px; border-radius: 20px; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
      cursor: pointer; transition: all 0.3s; outline: none;
  }
  .inline-format-pill.active {
      background: var(--text-main); color: var(--bg-color); border-color: var(--text-main);
      animation: none !important;
  }
  .inline-format-pill:not(.active) { animation: gentlePulse 2.5s infinite ease-in-out; }
  
  @keyframes gentlePulse {
      0%, 100% { opacity: 0.5; border-color: var(--text-muted); color: var(--text-muted); }
      50% { opacity: 1; border-color: #10b981; color: #10b981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.3); }
  }
  body.dark-theme .inline-format-pill.active { background: #10b981; color: #fff; border-color: #10b981; }



  /* 🔒 GLASSY MAIN OPTIONS MENU 🔒 */
  .menu-container { position: relative; }
  .dropdown-menu { 
      position: absolute; top: 40px; right: 0; 
      background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(0,0,0,0.1); border-radius: 12px; padding: 8px; 
      display: none; flex-direction: column; gap: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); width: 250px; z-index: 10000; 
  }
  .dropdown-menu.show { display: flex; animation: dropFade 0.2s ease-out; }
  @keyframes dropFade { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
  .menu-item { padding: 10px 14px; border-radius: 8px; color: var(--text-main); font-size: 13px; font-weight: 500; cursor: pointer; transition: background 0.2s; display: block; text-decoration: none; border: none; text-align: left; width: 100%; font-family: 'Urbanist', sans-serif;}
  .menu-item:hover { background: rgba(0,0,0,0.05); }

 /* --- 🔒 THE FULL-WIDTH SEARCH RESULTS DRAWER 🔒 --- */
  /* --- 🔒 THE FULL-WIDTH SEARCH RESULTS DRAWER 🔒 --- */
  .dynamic-results-panel { 
      position: fixed; top: 64px; left: 0; right: 0; 
      background: rgba(255,255,255,0.98); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
      border-bottom: 1px solid rgba(0,0,0,0.05); border-radius: 0 0 24px 24px; 
      padding: 24px 40px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); 
      width: 100vw; box-sizing: border-box;
      display: none; flex-direction: column; z-index: 15000; transition: all 0.3s;
  }
  .dynamic-results-panel.active { display: flex; animation: fadeIn 0.2s ease; }
  .results-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 16px; margin-bottom: 16px; font-family: 'Urbanist', sans-serif; font-size: 18px; font-weight: 600; color: var(--text-main); }
  #match-count-badge { background: var(--text-main); color: var(--bg-color); font-family: 'Inter', sans-serif; font-size: 14px; padding: 6px 14px; border-radius: 12px; font-weight: 600; }
  
  .mini-logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 16px; width: 100%; max-height: 450px; overflow-y: auto; padding: 8px; }
  .mini-logo-grid::-webkit-scrollbar { width: 4px; }
  .mini-logo-grid::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 4px; }
  
  .mini-logo-item { aspect-ratio: 1; border-radius: 12px; background: #fff; border: 1px solid rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: center; padding: 8px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 4px 10px rgba(0,0,0,0.03);}
  .mini-logo-item:hover { transform: scale(1.1); box-shadow: 0 8px 20px rgba(0,0,0,0.1); border-color: #10b981; }
  .mini-logo-img { max-width: 100%; max-height: 100%; object-fit: contain; }
  .too-many-msg { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--text-muted); text-align: center; display: none; padding: 20px 0; }

  /* EDITOR ACTION BUTTONS */
  .editor-action-container { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: none; gap: 12px; z-index: 10000; background: rgba(255,255,255,0.9); padding: 12px 24px; border-radius: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); border: 1px solid rgba(0,0,0,0.05); backdrop-filter: blur(10px);}
  body.editor-mode .editor-action-container { display: flex; }
  .editor-btn { background: transparent; border: none; font-family: 'Urbanist', sans-serif; font-size: 15px; font-weight: 700; cursor: pointer; transition: opacity 0.2s; padding: 0;}
  .editor-btn.delete { color: #ef4444; } .editor-btn.save { color: #10b981; } .editor-btn:hover { opacity: 0.6; }

  /* OVERLAYS & MODALS */
  .editable { display: inline-block; min-width: 20px; transition: all 0.2s; outline: none;}
  .edit-overlay { display: none; position: absolute; inset: 0; background: rgba(16, 185, 129, 0.8); color: white; justify-content: center; align-items: center; font-family: 'Urbanist', sans-serif; font-weight: 600; font-size: 14px; border-radius: inherit; z-index: 150 !important; backdrop-filter: blur(4px); transition: opacity 0.2s; opacity: 0;}
  .init-gallery-btn { display: none !important; }
  body.editor-mode .init-gallery-btn { display: flex !important; opacity: 1 !important; border-radius: 20px; cursor: pointer; z-index: 150 !important; pointer-events: auto !important; transform: skewX(0) !important;}
  body.editor-mode .logo-box { cursor: pointer; }
  body.editor-mode .logo-box:hover .edit-overlay { display: flex; opacity: 1; }
  body.editor-mode .skewed-gallery-wrapper .init-gallery-btn { position: absolute !important; top: 8px; right: 8px; inset: auto !important; width: auto !important; height: auto !important; padding: 6px 14px !important; font-size: 12px !important; border-radius: 10px !important; background: rgba(16,185,129,0.9) !important; backdrop-filter: blur(8px) !important; z-index: 200 !important; }
  /* Gallery editor: sort badges on images */
  body.editor-mode .gallery-item { position: relative; }
  .gi-sort-badge {
      display: none; position: absolute; top: 6px; left: 50%; transform: translateX(-50%) skewX(15deg);
      z-index: 50; background: rgba(15,23,42,0.9); color: #fff; border: 1.5px solid #10b981;
      border-radius: 8px; padding: 2px 0; width: 36px; text-align: center;
      font-family: 'Urbanist', sans-serif; font-size: 12px; font-weight: 700;
      cursor: text; outline: none;
  }
  body.editor-mode .gi-sort-badge { display: block; }
  .gi-sort-badge:focus { border-color: #34d399; box-shadow: 0 0 8px rgba(16,185,129,0.4); }
  /* Gallery editor: draggable tabs */
  body.editor-mode .tab-btn { cursor: grab; }
  body.editor-mode .tab-btn.dragging { opacity: 0.4; }
  body.editor-mode .tab-btn.drag-over { border-bottom: 2px solid #10b981; }

  .progress-modal, .taxonomy-modal { position: fixed; inset: 0; background: rgba(252,251,248,0.85); backdrop-filter: blur(10px); z-index: 30000; display: none; flex-direction: column; align-items: center; justify-content: center; }
  .progress-modal.active, .taxonomy-modal.active { display: flex; }
  .progress-box { background: white; padding: 30px; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.05); width: 90%; max-width: 400px; text-align: center; border: 1px solid rgba(0,0,0,0.03); max-height: 80vh; overflow-y: auto;}
  .progress-title { font-family: 'Urbanist', sans-serif; font-weight: 500; font-size: 16px; margin: 0 0 20px 0; color: var(--text-main); }
  .progress-track { width: 100%; height: 4px; background: rgba(0,0,0,0.05); border-radius: 2px; overflow: hidden; margin-bottom: 12px;}
  .progress-fill { height: 100%; background: #10b981; width: 0%; transition: width 0.2s ease-out; }
  .btn-primary { background: #10b981; color: white; border: none; padding: 12px 24px; border-radius: 12px; font-family: 'Urbanist', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; width: 100%; margin-top: 16px;}
  
  /* --- 🔒 FLOATING BACK ARROW & ANIMATED HERO LAYOUT 🔒 --- */
  .hero-section { display: grid; grid-template-columns: 1fr; gap: 8px; width: 100vw; margin-left: calc(-50vw + 50%); z-index: 1; align-items: stretch; position: relative; margin-top: 0; margin-bottom: 0; padding: 0 20px; box-sizing: border-box; }
  
  .btn-back-float { position: absolute; top: 10px; left: 0px; background: transparent; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 50; color: var(--text-main); transition: all 0.2s; border: none; outline: none; padding: 0;}
  .btn-back-float svg { width: 24px; height: 24px; stroke: var(--text-main); }
  .btn-back-float:hover { transform: scale(1.1); color: #10b981; }

  .logo-box { width: 100%; height: auto; min-height: 120px; display: flex; align-items: center; justify-content: center; padding: 16px 40px; box-sizing: border-box; background: transparent; position: relative; z-index: 2; align-self: center;}
  .logo-box img { max-width: 100%; max-height: 180px; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); transition: opacity 0.3s;}

  .skewed-gallery-wrapper { width: 100%; height: 360px; min-height: 360px; background: transparent; border-radius: 0; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; position: relative; padding-bottom: 0; overflow: hidden; box-sizing: border-box;}
  
  .gallery-nav { display: flex; width: 100%; overflow-x: auto; background: transparent; margin: 0 auto; gap: 16px; padding: 0 40px; z-index: 20; border-bottom: none; scrollbar-width: none;}
  .gallery-nav::-webkit-scrollbar { display: none; }
  .tab-btn { flex: 0 0 auto; background: transparent; border: none; color: rgba(30,41,59,0.5); font-family: 'Urbanist', sans-serif; font-size: 12px; font-weight: 600; text-transform: uppercase; padding: 12px 4px; cursor: pointer; transition: all 0.3s; position: relative; text-shadow: 0 1px 3px rgba(255,255,255,0.5); }
  .tab-btn.active { color: #10b981; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,0.2); }
  body.dark-theme .tab-btn { color: rgba(255,255,255,0.6); text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
  body.dark-theme .tab-btn.active { color: #34d399; }
  body.dark-theme .tab-btn:hover:not(.active) { color: rgba(255,255,255,0.9); }
  .tab-btn.active::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: #10b981; }
  .tab-btn:hover:not(.active) { color: var(--text-main); }
  
  .image-row { display: flex; overflow-x: auto; white-space: nowrap; padding: 10px 16px; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; gap: 12px; align-items: stretch; height: 300px; min-height: 300px; z-index: 20; box-sizing: border-box;}
  .image-row::-webkit-scrollbar { display: none; }
  .gallery-item { flex: 0 0 auto; height: 100%; min-height: 100%; overflow: hidden; transform: skewX(-15deg); border: 2px solid rgba(255,255,255,0.8); border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,0.15), 0 4px 10px rgba(0,0,0,0.08); cursor: pointer; position: relative; background: #fff; box-sizing: border-box;}
  .gallery-item img { width: auto; min-width: 130%; height: 100%; object-fit: cover; transform: skewX(15deg) translateX(-10%); transition: transform 0.4s, opacity 0.5s ease; opacity: 0; }
  .gallery-item img.loaded { opacity: 1; }
  .gallery-item:hover img { transform: skewX(15deg) translateX(-10%) scale(1.05); }

