

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --white:      #FFFFFF;
      --lv-grey:    #F6F6F6;
      --black:      #000000;
      --text-dark:  #000000;
      --text-muted: #666666;
      --border:     #E5E5E5;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Montserrat', sans-serif;
      background: var(--white);
      color: var(--text-dark);
      overflow-x: hidden;
    }

    /* ── TOPBAR ── */
    .topbar {
      background: var(--black);
      color: var(--white);
      font-size: 11px;
      letter-spacing: 0.15em;
      text-align: center;
      padding: 10px 20px;
      font-weight: 400;
      text-transform: uppercase;
      position: relative;
      z-index: 101;
    }

    /* ── NAVIGATION SYSTEM ── */
    nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 48px;
      height: 80px;
    }

    .nav-links {
      display: flex;
      gap: 32px;
      list-style: none;
      height: 100%;
      align-items: center;
    }

    .nav-item {
      position: relative;
      height: 100%;
      display: flex;
      align-items: center;
    }

    .nav-item > a {
      text-decoration: none;
      color: var(--text-dark);
      font-size: 11px;
      letter-spacing: 0.14em;
      font-weight: 500;
      text-transform: uppercase;
      padding: 15px 0;
      cursor: pointer;
    }

    /* DROPDOWNS */
    .dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      background: var(--white);
      border: 1px solid var(--border);
      list-style: none;
      min-width: 240px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: all 0.25s ease;
      box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }

    .nav-item:hover .dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .dropdown li a {
      display: block;
      padding: 10px 20px;
      text-decoration: none;
      color: var(--text-dark);
      font-size: 11px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      transition: background 0.2s;
      cursor: pointer;
    }

    .dropdown li a:hover {
      background: var(--lv-grey);
    }

    .logo-container {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      text-decoration: none;
      display: flex;
      align-items: center;
    }

    .logo-img {
      height: 42px;
      width: auto;
      object-fit: contain;
    }

    .nav-right-container {
      display: flex;
      align-items: center;
      gap: 32px;
      height: 100%;
    }

    .nav-icons {
      display: flex;
      gap: 24px;
      align-items: center;
    }

    .lang-selector {
      display: flex;
      gap: 8px;
    }

    .lang-btn {
      background: none;
      border: none;
      font-size: 11px;
      cursor: pointer;
      font-family: 'Montserrat', sans-serif;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      transition: color 0.2s, font-weight 0.2s;
    }

    .cart-badge {
      position: absolute;
      top: -4px; right: -6px;
      background: var(--black);
      color: var(--white);
      font-size: 9px;
      font-weight: 600;
      border-radius: 50%;
      width: 16px; height: 16px;
      display: flex; align-items: center; justify-content: center;
    }

    /* ── MOBILE MENU (hamburger) ── */
    .hamburger-btn {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      width: 40px;
      height: 40px;
      align-items: center;
      justify-content: center;
      color: var(--text-dark);
      z-index: 101;
      flex-shrink: 0;
    }
    .hamburger-btn svg { display: block; }
    .hamburger-btn .icon-close { display: none; }
    .hamburger-btn.open .icon-open { display: none; }
    .hamburger-btn.open .icon-close { display: block; }

    .nav-overlay {
      display: none;
      position: fixed;
      top: 80px; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.3);
      z-index: 98;
    }
    .nav-overlay.open { display: block; }

    .nav-icon {
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
      color: var(--text-dark);
      position: relative;
    }

    /* ── HERO & CAROUSEL LAYOUT ── */
    .hero {
      position: relative;
      height: 85vh;
      min-height: 600px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      border-top: 1px solid var(--border);
    }

    .hero-left {
      background: var(--black);
      color: var(--white);
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 80px;
    }

    .hero-eyebrow {
      font-size: 11px;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--border);
      margin-bottom: 24px;
    }

    .hero-title {
      font-size: clamp(32px, 3.5vw, 48px);
      font-weight: 300;
      line-height: 1.2;
      margin-bottom: 28px;
      text-transform: uppercase;
    }

    .hero-title em { font-style: italic; }

    .hero-sub {
      font-size: 14px;
      color: rgba(255,255,255,0.7);
      line-height: 1.8;
      max-width: 440px;
      margin-bottom: 48px;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      background: var(--white);
      color: var(--black);
      border: none;
      padding: 18px 40px;
      font-size: 11px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      font-weight: 600;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.3s;
    }

    .btn-primary:hover { background: var(--lv-grey); transform: translateY(-2px); }

    /* EDITORIAL CAROUSEL */
    .hero-right-carousel {
      position: relative;
      background: #111;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .carousel-slide {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      opacity: 0;
      transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 2s ease;
      transform: scale(1.05);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 40px;
    }

    .carousel-slide.active {
      opacity: 1;
      transform: scale(1);
    }

    .carousel-slide::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0) 100%);
      z-index: 1;
    }

    .carousel-meta {
      position: relative;
      z-index: 2;
      color: var(--white);
      max-width: 400px;
    }

    .carousel-tag {
      font-size: 10px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: #D4AF37;
      margin-bottom: 8px;
      font-weight: 600;
    }

    .carousel-prod-title {
      font-size: 20px;
      text-transform: uppercase;
      font-weight: 400;
      letter-spacing: 0.05em;
    }

    /* ── MARQUEE ── */
    .marquee-bar {
      background: var(--lv-grey);
      overflow: hidden;
      padding: 14px 0;
      display: flex;
      border-bottom: 1px solid var(--border);
    }

    .marquee-track {
      display: flex;
      gap: 60px;
      animation: marquee 30s linear infinite;
      white-space: nowrap;
    }

    .marquee-track span {
      font-size: 11px;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      font-weight: 500;
      color: var(--black);
    }

    @keyframes marquee {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    /* ── DYNAMIC SYSTEM SECTIONS ── */
    section { padding: 90px 48px; }

    .section-eyebrow {
      font-size: 11px;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 16px;
    }

    .section-title {
      font-size: clamp(28px, 3.5vw, 44px);
      font-weight: 300;
      margin-bottom: 50px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .section-title em { font-style: italic; }

    /* CATALOG VIEW CONTROLLER */
    #catalog-section {
      display: none;
    }

    /* PRODUCTS GRID */
    .products-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 40px;
      border-bottom: 1px solid var(--border);
      padding-bottom: 20px;
    }

    .products-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 40px 24px;
    }

    .product-card { cursor: pointer; }

    .product-img {
      background: var(--lv-grey);
      aspect-ratio: 3/4;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
      overflow: hidden;
      position: relative;
    }

    .product-img img { 
      width: 100%; 
      height: 100%; 
      object-fit: contain; 
      padding: 12px;
      transition: opacity 0.3s ease, transform 0.4s ease; 
    }
    .product-img svg { width: 75%; transition: transform 0.4s ease; }
    .product-card:hover .product-img img, .product-card:hover .product-img svg { transform: scale(1.02); }

    .product-meta { display: flex; justify-content: space-between; align-items: flex-start; }
    .product-name { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 4px; }
    .product-desc { font-size: 11px; color: var(--text-muted); }
    .product-price { font-size: 13px; font-weight: 600; }

    /* ── INFOPAGE CONTENT LAYOUT ── */
    .infopage-container {
      max-width: 800px;
      margin: 0 auto;
      line-height: 1.8;
      font-family: 'Inter', sans-serif;
      color: #333;
    }
    .infopage-container h3 {
      font-family: 'Montserrat';
      text-transform: uppercase;
      font-size: 13px;
      letter-spacing: 0.12em;
      margin-top: 40px;
      margin-bottom: 16px;
      border-left: 3px solid var(--black);
      padding-left: 12px;
      color: var(--black);
    }
    .infopage-container p { font-size: 14px; margin-bottom: 18px; color: #444; text-align: justify; }
    
    /* ── CART SIDEBAR ── */
    .cart-sidebar {
      position: fixed;
      top: 0; right: 0;
      width: 420px; height: 100%;
      background: var(--white);
      z-index: 200;
      transform: translateX(100%);
      transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
      display: flex;
      flex-direction: column;
      box-shadow: -10px 0 40px rgba(0,0,0,0.05);
    }

    .cart-sidebar.open { transform: translateX(0); }
    .cart-header { display: flex; justify-content: space-between; align-items: center; padding: 30px; border-bottom: 1px solid var(--border); }
    .cart-items { flex: 1; overflow-y: auto; padding: 30px; }
    .cart-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: center; }
    .cart-item-img { background: var(--lv-grey); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
    .cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
    .cart-footer { padding: 30px; border-top: 1px solid var(--border); background: var(--lv-grey); }
    .cart-total { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 20px; text-transform: uppercase; }
    .cart-zone { display: block; margin-bottom: 16px; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #666; }
    .cart-zone select { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font: inherit; font-size: 12px; letter-spacing: 0.04em; text-transform: none; color: var(--black); background: var(--white); border: 1px solid var(--border); border-radius: 0; }
    .cart-row { display: flex; justify-content: space-between; font-size: 12px; color: #444; margin-bottom: 8px; }
    .cart-secure { font-size: 10px; color: #777; text-align: center; margin-top: 12px; letter-spacing: 0.04em; }
    .checkout-btn[disabled] { opacity: 0.6; cursor: wait; }
    .checkout-btn { width: 100%; background: var(--black); color: var(--white); border: none; padding: 18px; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; cursor: pointer; }

    /* ── PRODUCT WINDOW MODAL ── */
    .modal-overlay {
      position: fixed;
      inset: 0; background: rgba(0,0,0,0.4); z-index: 999;
      display: flex; align-items: center; justify-content: center;
      opacity: 0; pointer-events: none; transition: opacity 0.3s;
      backdrop-filter: blur(2px);
    }
    .modal-overlay.open { opacity: 1; pointer-events: all; }
    .modal { background: var(--white); width: 90%; max-width: 900px; display: grid; grid-template-columns: 1fr 1fr; position: relative; }
    .modal-img { background: var(--lv-grey); display: flex; align-items: center; justify-content: center; overflow: hidden; aspect-ratio: 3/4; cursor: zoom-in; }
    .modal-img img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
    .modal-info { padding: 50px; display: flex; flex-direction: column; justify-content: center; }
    .modal-close { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 22px; cursor: pointer; z-index: 10; }
    .modal-title { font-size: 24px; font-weight: 500; margin-bottom: 10px; }
    .modal-price { font-size: 18px; font-weight: 600; margin-bottom: 20px; }
    .size-grid { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
    .size-btn { border: 1px solid var(--border); background: none; padding: 10px 14px; font-size: 11px; cursor: pointer; font-family: 'Montserrat'; }
    .size-btn.active, .size-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }

    /* ── FOOTER ── */
    footer { background: var(--black); color: var(--white); padding: 80px 48px 40px; font-size: 12px; }
    .footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; margin-bottom: 60px; }
    .footer-col h4 { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 24px; font-weight: 600; color: var(--white); }
    .footer-col ul { list-style: none; }
    .footer-col ul li { margin-bottom: 12px; }
    .footer-col ul li a { color: #aaaaaa; text-decoration: none; font-size: 12px; letter-spacing: 0.02em; transition: color 0.2s; cursor: pointer; display: inline-block; }
    .footer-col ul li a:hover { color: var(--white); }
    .footer-logo { height: 36px; width: auto; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 20px; }

    @media (max-width: 990px) {
      nav { padding: 0 20px; }
      .hamburger-btn { display: flex; }

      .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        height: calc(100vh - 80px);
        max-height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 40px;
        border-top: 1px solid var(--border);
        z-index: 99;
      }
      .nav-links.mobile-open { display: flex; }

      .nav-item {
        position: static;
        flex-direction: column;
        align-items: stretch;
        height: auto;
      }
      .nav-item > a {
        width: 100%;
        padding: 18px 24px;
        border-bottom: 1px solid var(--border);
      }

      .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 0;
        border: none;
        box-shadow: none;
        background: var(--lv-grey);
        transition: none;
      }
      .dropdown li a { padding: 14px 40px; border-bottom: 1px solid var(--border); }

      .hero { grid-template-columns: 1fr; height: auto; }
      .hero-left { padding: 60px 24px; }
      .hero-right-carousel { height: 400px; }
      .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
      .modal { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; gap: 30px; }
      .nav-right-container { gap: 12px; }
      .lang-selector { display: none !important; }
      .logo-img { height: 32px; }
    }

    @media (max-width: 480px) {
      nav { padding: 0 12px; height: 64px; }
      .nav-links { top: 64px; height: calc(100vh - 64px); max-height: calc(100vh - 64px); }
      .nav-overlay { top: 64px; }
      .logo-img { height: 26px; }
      .nav-right-container { gap: 6px; }
      .nav-icons { gap: 12px; }
      .hero-left { padding: 40px 16px; }
      .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    }

    /* COOKIE CONSENT BANNER */
    #cookieConsent {
      position: fixed; left: 0; right: 0; bottom: 0; z-index: 3000;
      background: var(--black); color: var(--white);
      padding: 24px 48px; display: none;
      box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
      font-family: 'Montserrat', sans-serif;
    }
    #cookieConsent.visible { display: block; }
    .cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 1400px; margin: 0 auto; flex-wrap: wrap; }
    .cookie-text { flex: 1 1 420px; font-size: 12px; line-height: 1.7; color: #cccccc; }
    .cookie-text a { color: var(--white); text-decoration: underline; cursor: pointer; }
    .cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
    .cookie-btn { padding: 12px 24px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; border: 1px solid var(--white); background: transparent; color: var(--white); transition: all 0.2s; white-space: nowrap; }
    .cookie-btn.primary { background: var(--white); color: var(--black); }
    .cookie-btn:hover { opacity: 0.8; }
    @media (max-width: 768px) {
      #cookieConsent { padding: 20px; }
      .cookie-actions { width: 100%; }
      .cookie-btn { flex: 1 1 auto; }
    }

    /* LEGAL / COOKIE PREFERENCES MODAL */
    #cookiePrefsModal { display: none; position: fixed; inset: 0; z-index: 3100; background: rgba(0,0,0,0.6); align-items: center; justify-content: center; }
    #cookiePrefsModal.visible { display: flex; }
    .cookie-prefs-box { background: var(--white); max-width: 480px; width: 90%; padding: 40px; max-height: 80vh; overflow-y: auto; }
    .cookie-prefs-box h3 { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
    .cookie-cat { padding: 16px 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
    .cookie-cat strong { font-size: 12px; letter-spacing: 0.03em; }
    .cookie-cat p { font-size: 11px; color: #777; margin-top: 6px; line-height: 1.6; }
    .cookie-footer-links { text-align: center; padding-top: 20px; font-size: 11px; color: #666; }
    .cookie-footer-links a { color: #aaa; cursor: pointer; text-decoration: none; }
    .cookie-footer-links a:hover { color: var(--white); }
  
    /* ── ACCESSIBILITY / SKIP LINK ── */
    .visually-hidden {
      position: absolute !important;
      width: 1px; height: 1px;
      padding: 0; margin: -1px;
      overflow: hidden;
      clip: rect(0,0,0,0);
      white-space: nowrap;
      border: 0;
    }
    .skip-link {
      position: absolute;
      top: -48px; left: 8px;
      background: var(--black);
      color: var(--white);
      padding: 12px 20px;
      font-size: 12px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      z-index: 4000;
      transition: top 0.2s;
      text-decoration: none;
    }
    .skip-link:focus { top: 8px; }

    /* keyboard-accessible dropdowns (in addition to hover) */
    .nav-item:focus-within .dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    /* ── LOGO REAL (fav.png / logo_4n.png fornecidos - substituem o texto
       provisorio e o favicon generico usados enquanto os ficheiros reais
       nao existiam no export) ── */
    .footer-logo { height: 60px; }

    /* ── MOBILE LANGUAGE SELECTOR (dentro do menu hamburger) ── */
    .mobile-lang-row {
      display: none;
      padding: 20px 24px;
      gap: 16px;
      border-bottom: 1px solid var(--border);
    }
    .mobile-lang-row .lang-btn { font-size: 12px; padding: 6px 10px; border: 1px solid var(--border); }
    .mobile-lang-row .lang-btn.active { border-color: var(--black); }

    @media (max-width: 990px) {
      .mobile-lang-row { display: flex; order: -1; }
      /* FIX: .cart-sidebar was a fixed 420px panel with no mobile override -
         on any phone narrower than 420px this cut the panel off / made it
         feel broken. Full-width on mobile. */
      .cart-sidebar { width: 100%; }
    }

    /* Product modal: the redesigned info panel (reference/availability,
       qty stepper, brand+share row, tabs) needs more breathing room on
       narrow screens than the original 50px all-round padding leaves. */
    @media (max-width: 768px) {
      .modal-info { padding: 30px 22px; }
      .modal-meta-row { flex-wrap: wrap; gap: 6px; }
      .modal-brand-share-row { justify-content: flex-start; }
      .modal-tab-buttons { overflow-x: auto; }
    }

    /* ── SEARCH OVERLAY ── */
    .search-overlay {
      position: fixed; inset: 0; background: rgba(255,255,255,0.98);
      z-index: 500; display: none; flex-direction: column;
      align-items: center; padding-top: 140px;
    }
    .search-overlay.open { display: flex; }
    .search-box { width: 90%; max-width: 640px; }
    .search-box input {
      width: 100%; border: none; border-bottom: 2px solid var(--black);
      font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 300;
      padding: 12px 4px; outline: none; background: transparent;
    }
    .search-close {
      position: absolute; top: 24px; right: 28px; background: none; border: none;
      font-size: 26px; cursor: pointer; line-height: 1;
    }
    .search-results { width: 90%; max-width: 1100px; margin-top: 40px; max-height: 60vh; overflow-y: auto; }
    .search-empty { text-align: center; color: #777; font-size: 13px; margin-top: 30px; text-transform: uppercase; letter-spacing: 0.08em; }

    /* ── SIZE ERROR (inline, substitui alert()) ── */
    .size-error {
      display: none;
      color: #B00020;
      font-size: 11px;
      letter-spacing: 0.04em;
      margin: -14px 0 16px;
    }
    .size-error.visible { display: block; }

    /* ── TOAST / ON-BRAND NOTICE (substitui alert() nativo) ── */
    .notice-overlay {
      position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 3200;
      display: none; align-items: center; justify-content: center;
      backdrop-filter: blur(2px);
    }
    .notice-overlay.visible { display: flex; }
    .notice-box { background: var(--white); max-width: 420px; width: 90%; padding: 40px; text-align: left; }
    .notice-box h3 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
    .notice-box p { font-size: 13px; line-height: 1.7; color: #444; margin-bottom: 24px; }
    .notice-box button { width: 100%; }

    /* ── HERO TRUST BAR ── */
    .hero-trust-bar {
      list-style: none;
      display: flex;
      flex-wrap: wrap;
      gap: 10px 18px;
      margin-top: 32px;
      padding-top: 20px;
      border-top: 1px solid rgba(255,255,255,0.15);
      max-width: 440px;
    }
    .hero-trust-bar li {
      font-size: 10px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.65);
      position: relative;
      padding-left: 14px;
    }
    .hero-trust-bar li::before {
      content: '';
      position: absolute;
      left: 0; top: 50%;
      width: 4px; height: 4px;
      transform: translateY(-50%);
      background: currentColor;
      border-radius: 50%;
      opacity: 0.6;
    }
    @media (max-width: 768px) {
      .hero-trust-bar { max-width: 100%; }
    }

    /* ── MODAL IMAGE GALLERY (nav arrows + thumbnail strip) ── */
    .modal-img-col { display: flex; flex-direction: column; }
    .modal-img-wrap { position: relative; }
    .modal-img-wrap .modal-img { width: 100%; }
    .modal-img-nav {
      position: absolute; top: 50%; transform: translateY(-50%);
      width: 36px; height: 36px; border-radius: 50%; border: none;
      background: rgba(255,255,255,0.85); color: var(--text-dark);
      font-size: 20px; line-height: 1; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s;
    }
    .modal-img-nav:hover { background: rgba(255,255,255,1); }
    .modal-img-prev { left: 12px; }
    .modal-img-next { right: 12px; }
    .modal-img-nav[disabled] { display: none; }
    .modal-thumbs {
      display: flex; gap: 8px; padding: 12px; overflow-x: auto;
      background: var(--white);
    }
    .modal-thumb {
      flex: 0 0 auto; width: 52px; height: 52px; padding: 0; border: 1px solid var(--border);
      background: var(--lv-grey); cursor: pointer; overflow: hidden; opacity: 0.6;
      transition: opacity 0.2s, border-color 0.2s;
    }
    .modal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .modal-thumb.active { opacity: 1; border-color: var(--black); }
    .modal-thumb:hover { opacity: 1; }

    /* ── PRODUCT IMAGE ZOOM ──
       Click the main modal image to open it larger. Desktop: the image
       follows the cursor like a magnifying glass (hover-zoom). Touch:
       pinch to zoom, drag to pan once zoomed, double-tap to reset. */
    .zoom-overlay {
      position: fixed; inset: 0; z-index: 2000;
      background: rgba(0,0,0,0.94);
      display: flex; align-items: center; justify-content: center;
      opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
    }
    .zoom-overlay.open { opacity: 1; pointer-events: all; }
    .zoom-viewport {
      position: relative;
      width: 100%; height: 100%; max-width: 1400px; max-height: 92vh;
      overflow: hidden;
      display: flex; align-items: center; justify-content: center;
      touch-action: none;
      cursor: zoom-in;
    }
    .zoom-viewport.zoomed { cursor: grab; }
    .zoom-viewport.dragging { cursor: grabbing; }
    #zoomImage {
      max-width: 100%; max-height: 100%; object-fit: contain;
      transition: transform 0.15s ease-out;
      user-select: none; -webkit-user-drag: none; -webkit-user-select: none;
    }
    #zoomImage.no-transition { transition: none; }
    .zoom-close, .zoom-nav {
      position: absolute; z-index: 5; border: none; border-radius: 50%;
      background: rgba(255,255,255,0.12); color: #fff;
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      transition: background 0.2s;
    }
    .zoom-close:hover, .zoom-nav:hover { background: rgba(255,255,255,0.25); }
    .zoom-close { top: 20px; right: 24px; width: 44px; height: 44px; font-size: 26px; line-height: 1; }
    .zoom-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 24px; }
    .zoom-prev { left: 20px; }
    .zoom-next { right: 20px; }
    .zoom-nav[disabled] { display: none; }
    .zoom-hint {
      position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
      color: rgba(255,255,255,0.6); font-size: 10px; letter-spacing: 0.08em;
      text-transform: uppercase; pointer-events: none; text-align: center;
      white-space: nowrap; max-width: 90vw; overflow: hidden; text-overflow: ellipsis;
    }
    @media (max-width: 768px) {
      .zoom-close { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 22px; }
      .zoom-nav { width: 40px; height: 40px; }
      .zoom-prev { left: 8px; }
      .zoom-next { right: 8px; }
    }

    /* ── MODAL TRUST STRIP ── */
    .modal-trust-strip {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin: 16px 0 0;
      padding: 14px 16px;
      background: var(--lv-grey);
    }
    .modal-trust-strip li {
      font-size: 11px;
      color: var(--text-muted);
      position: relative;
      padding-left: 18px;
    }
    .modal-trust-strip li::before {
      content: '\2713';
      position: absolute;
      left: 0; top: 0;
      color: var(--text-dark);
      font-size: 11px;
    }

    /* ── PRODUCT CARD LINK RESET ──
       .product-card passou de <div onclick> (original) para <a href> (para
       permitir partilhar/marcar e navegar para tras/frente em cada produto).
       O CSS original nunca precisou de repor cor/sublinhado porque nunca
       tinha sido um link a serio; sem este reset o nome e o preco herdam o
       azul/sublinhado por defeito do browser em todos os grids (catalogo,
       pesquisa, coleccoes). A base "a { }" cobre tambem qualquer link sem
       classe propria (ex.: dentro do texto de cookies). */
    a { color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
    .product-card,
    .product-card:link,
    .product-card:visited,
    .product-card:hover,
    .product-card:active {
      text-decoration: none;
      color: inherit;
    }

    /* ── PRODUCT MODAL: description empty state (evita "undefined" a piscar) ── */
    #modalTitle:empty, #modalDescription:empty { visibility: hidden; }

    /* ── TILE GRIDS (Shop the Atelier / Collections / Collections index) ── */
    .shop-atelier-band, .collections-band { padding: 70px 48px 20px; max-width: 1400px; margin: 0 auto; }
    .tile-grid { display: grid; gap: 20px; margin-top: 24px; }
    .tile-grid-4 { grid-template-columns: repeat(4, 1fr); }
    .tile-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin-left: auto; margin-right: auto; }
    .tile { text-decoration: none; color: var(--text-dark); display: block; }
    .tile-img { aspect-ratio: 1/1; background: var(--lv-grey); overflow: hidden; }
    .tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
    .tile:hover .tile-img img { transform: scale(1.04); }
    .tile-slideshow { position: relative; }
    /* FIX: this slideshow mixes landscape bag shots (1200x800) with portrait
       on-model shots (~818x1200) in the same square tile. object-fit:cover
       (inherited from .tile-img img) crops each to fill the 1:1 box, which
       slices the top/bottom off the portrait model photos - most visible on
       phones/tablets where these tiles run large. contain shows the whole
       photo (letterboxed on --lv-grey) so nothing is ever cut off. */
    .tile-slideshow img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; object-fit: contain; }
    .tile-slideshow img.active { opacity: 1; }
    .tile-label { text-align: center; margin-top: 12px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }

    /* ── THE ATELIER BAND ── */
    .atelier-band { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
    .atelier-band-img { background-size: cover; background-position: center; }
    .atelier-band-text { display: flex; flex-direction: column; justify-content: center; padding: 60px 80px; background: var(--black); color: var(--white); }
    .atelier-band-text .section-eyebrow { color: var(--border); }
    .atelier-band-text .section-title { color: var(--white); }
    .atelier-band-text p { color: rgba(255,255,255,0.7); line-height: 1.7; margin: 16px 0 28px; max-width: 420px; }

    /* ── SERVICES BAND (Private Client + Care) ── */
    .services-band { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); margin-top: 1px; }
    .services-col { background: var(--white); padding: 60px 64px; }
    .services-col h3 { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 300; margin: 10px 0 16px; }
    .services-col p { color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; max-width: 380px; }
    .btn-secondary { display: inline-block; padding: 14px 28px; border: 1px solid var(--black); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--black); cursor: pointer; transition: background 0.2s, color 0.2s; }
    .btn-secondary:hover { background: var(--black); color: var(--white); }
    @media (max-width: 768px) {
      .atelier-band, .services-band { grid-template-columns: 1fr; }
      .atelier-band-img { min-height: 260px; }
      .tile-grid-4 { grid-template-columns: repeat(2, 1fr); }
      .shop-atelier-band, .collections-band { padding: 48px 20px 10px; }
    }

    /* ── FIX: modal could grow taller than the viewport (very possible on
       phones/tablets once size selector + qty + tabs + trust strip all
       stack up), but neither .modal-overlay nor .modal allowed scrolling
       and the close button scrolled away with the content - the visitor
       had no way to reach it or the rest of the page, effectively trapped.
       Overlay now scrolls, .modal has a real height cap with its own
       internal scroll, and the close button is fixed to the viewport so
       it is always reachable regardless of scroll position. ── */
    .modal-overlay { overflow-y: auto; padding: 40px 16px; }
    .modal { margin: auto; max-height: calc(100vh - 80px); overflow-y: auto; }
    .modal-close { position: fixed; top: 18px; right: 18px; background: var(--white); border-radius: 50%; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,0.2); z-index: 1000; }

    /* ── MODAL: reference/availability/price/VAT rows ── */
    .modal-meta-row { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 10px; }
    .modal-availability { position: relative; padding-left: 14px; text-transform: uppercase; font-weight: 500; color: var(--text-dark); }
    .modal-availability::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: #1a7a3c; }
    .modal-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
    .modal-vat-note { font-size: 11px; color: var(--text-muted); }

    /* ── MODAL: quantity stepper ── */
    .modal-qty-row { display: flex; align-items: center; justify-content: space-between; margin: 18px 0; }
    .modal-qty-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
    .qty-stepper { display: flex; align-items: center; border: 1px solid var(--border); }
    .qty-stepper button { width: 34px; height: 34px; background: none; border: none; cursor: pointer; font-size: 15px; color: var(--text-dark); transition: background 0.15s; }
    .qty-stepper button:hover { background: var(--lv-grey); }
    .qty-stepper span { width: 32px; text-align: center; font-size: 13px; }

    /* ── MODAL: brand + share row ── */
    .modal-brand-share-row { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 11px; color: var(--text-muted); flex-wrap: wrap; gap: 10px; }
    .modal-share { display: flex; align-items: center; gap: 8px; }
    .modal-share button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border); background: none; cursor: pointer; font-size: 10px; font-weight: 600; color: var(--text-dark); transition: all 0.15s; display:inline-flex; align-items:center; justify-content:center; }
    .modal-share button:hover { background: var(--black); color: var(--white); border-color: var(--black); }

    /* ── MODAL: tabs (replaces the old accordion) ── */
    .modal-tabs { margin-top: 20px; }
    .modal-tab-buttons { display: flex; border-bottom: 1px solid var(--border); }
    .modal-tab-btn { flex: 1; background: none; border: none; padding: 12px 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color 0.15s, border-color 0.15s; }
    .modal-tab-btn.active { color: var(--text-dark); border-bottom-color: var(--black); }
    .modal-tab-panel { display: none; padding-top: 16px; }
    .modal-tab-panel.active { display: block; }
    #modalDescription { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
    .spec-list { list-style: none; margin: 14px 0 0; font-size: 12px; }
    .spec-list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dotted var(--border); color: var(--text-muted); }
    .spec-list li span:first-child { text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-dark); font-weight: 500; }
    .modal-details-block { margin-top: 16px; }
    .modal-details-block h5 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
    .modal-details-block p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
    .modal-details-block a { color: var(--text-dark); text-decoration: underline; cursor: pointer; }

    /* ── FAQ ── */
    .faq-container h3 { margin-top: 36px; }
    .faq-container h3:first-child { margin-top: 0; }
    .faq-item { border-bottom: 1px solid var(--border); padding: 14px 0; }
    .faq-item summary { cursor: pointer; font-size: 14px; font-weight: 500; list-style: none; }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item p { margin-top: 10px; color: var(--text-muted); font-size: 13px; line-height: 1.6; }

    .infopage-container p:empty { display: none; }
    .infopage-container:has(.atelier-slideshow) { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
    .infopage-container p:has(.atelier-slideshow) { grid-column: 2; grid-row: 1 / span 8; margin: 0; }
    .atelier-slideshow { position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; }
    .atelier-slideshow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation-name: atelier-slide-fade; animation-duration: 36s; animation-iteration-count: infinite; }
    .atelier-slideshow img:nth-child(1) { animation-delay: 0s; }
    .atelier-slideshow img:nth-child(2) { animation-delay: -3s; }
    .atelier-slideshow img:nth-child(3) { animation-delay: -6s; }
    .atelier-slideshow img:nth-child(4) { animation-delay: -9s; }
    .atelier-slideshow img:nth-child(5) { animation-delay: -12s; }
    .atelier-slideshow img:nth-child(6) { animation-delay: -15s; }
    .atelier-slideshow img:nth-child(7) { animation-delay: -18s; }
    .atelier-slideshow img:nth-child(8) { animation-delay: -21s; }
    .atelier-slideshow img:nth-child(9) { animation-delay: -24s; }
    .atelier-slideshow img:nth-child(10) { animation-delay: -27s; }
    .atelier-slideshow img:nth-child(11) { animation-delay: -30s; }
    .atelier-slideshow img:nth-child(12) { animation-delay: -33s; }
    @keyframes atelier-slide-fade { 0% { opacity: 0; } 1.2% { opacity: 1; } 7.13% { opacity: 1; } 8.33% { opacity: 0; } 100% { opacity: 0; } }
    @media (max-width: 800px) {
      .infopage-container:has(.atelier-slideshow) { display: block; }
      .infopage-container p:has(.atelier-slideshow) { margin: 16px 0 18px; }
      .atelier-slideshow { aspect-ratio: 16 / 10; }
    }

    /* v45: seletor de idioma passou a <a href> reais (6 idiomas) */
    a.lang-btn { text-decoration: none; display: inline-block; color: #666; }
    .lang-selector { gap: 6px; }
    @media (max-width: 1200px) { .lang-selector .lang-btn { font-size: 10px; letter-spacing: 0.02em; } }
    /* H1 dinamico: o titulo herda o estilo da classe, nao da tag */
    p.hero-title { margin: 0; }

    /* v46: introducao das paginas, links internos, breadcrumb e relacionados */
    .page-intro { max-width: 720px; margin-top: 18px; font-size: 14px; line-height: 1.7; color: var(--text-muted); }
    .page-intro:empty, .page-links:empty { display: none; }
    .page-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
    .page-links-title { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-right: 6px; }
    a.page-chip { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--border); padding: 7px 12px; color: var(--black); transition: border-color .2s; }
    a.page-chip:hover { border-color: var(--black); }
    .modal-breadcrumb { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
    .modal-breadcrumb a { text-decoration: none; color: var(--text-muted); }
    .modal-breadcrumb a:hover { color: var(--black); }
    .modal-breadcrumb span { margin: 0 4px; }
    .modal-size-guide { font-size: 11px; margin: -12px 0 18px; }
    .modal-size-guide a { color: var(--black); }
    .modal-related { margin-top: 36px; border-top: 1px solid var(--border); padding-top: 24px; }
    .modal-related:empty { display: none; }
    .modal-related-title { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; margin-bottom: 16px; }
    .modal-related .products-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0; }
    .modal-related .product-meta { font-size: 10px; }
    .modal-related-all { display: inline-block; margin-top: 16px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--black); }
    .info-table { border-collapse: collapse; margin: 8px 0 24px; min-width: 260px; font-size: 13px; }
    .info-table th, .info-table td { border-bottom: 1px solid var(--border); padding: 8px 18px 8px 0; text-align: left; }
    .info-table th { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
    @media (max-width: 768px) { .modal-related .products-grid { grid-template-columns: repeat(2, 1fr); } }
    .modal { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .modal-info, .modal-img-col { min-width: 0; }
    @media (min-width: 991px) { .modal-img-col { position: sticky; top: 0; align-self: start; } }
    @media (max-width: 990px) { .modal { grid-template-columns: minmax(0, 1fr); } }
    .modal-related .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    @media (max-width: 480px) { .modal-related .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    .modal-related .product-meta { display: block; padding-top: 8px; }
    .modal-related .product-name { font-size: 10px; }
    .modal-related .product-desc { font-size: 9px; }
    .modal-related .product-price { font-size: 10px; margin-top: 4px; }
    .page-links { padding-bottom: 4px; }

    /* v47: japones e chines - tipos de letra do sistema para os caracteres CJK */
    html[lang="ja"] body, html[lang="ja"] button, html[lang="ja"] input, html[lang="ja"] select {
      font-family: 'Montserrat', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'Noto Sans JP', sans-serif; }
    html[lang="zh-Hans"] body, html[lang="zh-Hans"] button, html[lang="zh-Hans"] input, html[lang="zh-Hans"] select {
      font-family: 'Montserrat', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; }
    html[lang="ja"] .hero-title, html[lang="zh-Hans"] .hero-title { letter-spacing: 0.04em; line-height: 1.25; }
    html[lang="ja"] .page-intro, html[lang="zh-Hans"] .page-intro, html[lang="ja"] .modal-desc, html[lang="zh-Hans"] .modal-desc { line-height: 1.9; }
    @media (max-width: 1280px) { .lang-selector { gap: 4px; } }
