/* =========================
   BASE
========================= */
:root{
  --bg:#2b2b2b;
  --text:#f1f1f1;
  --orange:#ff7a1a;
  --orangeLight:#ffae66;

  --headerH:380px;
  --tabsH:84px;
  --sideW:250px;

  --tabsFont:20px;
  --panel-width:120px;
  --panel-overlap:64%;
  --panel-tilt:-6deg;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--text);
  font-family:Arial, Helvetica, sans-serif;
}

/* =========================
   HEADER (photo + voile + logo + phrase)
========================= */
.header{
  position:relative;
  height:55vh;
  max-height:450px;
  background:url("assets/photo-entete.jpg") center/cover no-repeat;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  overflow:hidden;
}

.header::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.60);
  z-index:1;
}

.header .logo{
  position:relative;
  z-index:2;
  max-height:400px;
  width:auto;
  max-width:80%;
  margin:0;
  display:block;
}

.header .tagline{
  position:relative;
  z-index:2;
  margin:0;
  text-align:center;
  font-weight:bold;
  font-style:italic;
  color:#fff;
}

/* =========================
   ONGLETS ORANGE
========================= */
nav.tabs{
  display:flex;
  justify-content:center;
  align-items:center;
  background:var(--orange);
  margin:0;
  padding:8px 0;
  width:100%;
  position:relative;
  z-index:1000;
  font-size:var(--tabsFont);
}

nav.tabs > a.tab,
.dropdown > a.tab{
  padding:12px 30px;
  font-weight:700;
  font-size:1em;
  line-height:1;
  color:#2b2b2b;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  white-space:nowrap;
}

nav.tabs > a.tab:hover,
.dropdown > a.tab:hover{
  background:rgba(0,0,0,0.1);
}

/* =========================
   MENU DÉROULANT CATALOGUE
========================= */
.dropdown{
  position:relative;
  display:inline-flex;
  align-items:center;
}

.dropdown-toggle{
  height:100%;
}

.dropdown-menu{
  position:absolute;
  top:100%;
  left:0;
  min-width:320px;
  background:var(--orange);
  border-radius:0 0 10px 10px;
  box-shadow:0 10px 25px rgba(0,0,0,0.25);
  overflow:hidden;
  z-index:3000;
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:
    opacity 0.30s ease,
    transform 0.30s ease,
    visibility 0.30s ease;
}

.dropdown-menu a{
  display:block;
  padding:14px 18px;
  color:#2b2b2b;
  text-decoration:none;
  font-weight:700;
  white-space:nowrap;
  transition:
    background 0.25s ease,
    padding-left 0.25s ease;
}

.dropdown-menu a:hover{
  background:var(--orangeLight);
  padding-left:24px;
}

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

/* =========================
   COLONNES (vidéos / carte / infos)
========================= */
.side{
  position:fixed;
  top:calc(var(--headerH) + var(--tabsH));
  bottom:0;
  width:var(--sideW);
  background:var(--bg);
  overflow:hidden;
  z-index:20;
}

.side.left{
  left:0;
}

.side.right{
  right:0;
}

.side-video{
  display:block;
  width:100%;
  height:300px;
  margin:0;
  padding:0;
  object-fit:cover;
  object-position:center;
}

/* Carte (page contact) */
.side-map{
  padding:0;
  overflow:hidden;
}

.map-iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

/* Colonne infos (page contact) */
.side-info{
  padding:12px;
  overflow:hidden;
}

.side-box{
  height:100%;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.10);
  border-radius:10px;
  padding:14px;
}

.side-box h3{
  margin:0 0 8px;
  color:var(--orangeLight);
  font-size:16px;
}

.side-box p{
  margin:0 0 14px;
  color:#e6e6e6;
  line-height:1.4;
}

/* =========================
   CONTENU CENTRAL
========================= */
.content{
  margin-left:var(--sideW);
  margin-right:var(--sideW);
  padding:20px;
  background:var(--bg);
}

/* =========================
   TITRE DE PAGE
========================= */
.page-title{
  text-align:center;
  font-size:42px;
  font-weight:700;
  margin:40px 0 60px;
  color:#fff;
  position:relative;
}

.page-title::after{
  content:"";
  display:block;
  width:280px;
  height:4px;
  background:var(--orange);
  margin:15px auto 0;
  border-radius:2px;
}

/* =========================
   TEXTE + TRAIT ORANGE
========================= */
.history-wrap{
  position:relative;
  max-width:900px;
  margin:0 auto;
  padding:40px 20px 40px 40px;
  line-height:1.7;
}

.history-wrap::before{
  content:"";
  position:absolute;
  left:0;
  top:40px;
  bottom:40px;
  width:6px;
  background:var(--orange);
  border-radius:3px;
}

/* =========================
   FORMULAIRE CONTACT
========================= */
.contact-form{
  max-width:750px;
  margin:30px auto;
  background:rgba(255,255,255,0.03);
  padding:30px;
  border-radius:10px;
}

.form-group{
  display:flex;
  flex-direction:column;
  margin-bottom:18px;
}

.form-group label{
  margin-bottom:6px;
  font-weight:750;
}

.form-group input,
.form-group textarea{
  padding:10px;
  border-radius:6px;
  border:none;
  font-size:15px;
}

.form-group input[type="file"]{
  padding:6px;
  background:#fff;
}

.btn-submit{
  background:var(--orange);
  color:#2b2b2b;
  border:none;
  padding:12px 20px;
  font-size:16px;
  font-weight:bold;
  border-radius:6px;
  cursor:pointer;
}

.btn-submit:hover{
  background:var(--orangeLight);
}

/* =========================
   MENTIONS LÉGALES / PAGES TEXTE
========================= */
.legal-wrap{
  position:relative;
  max-width:900px;
  margin:40px auto;
  padding:40px 30px 40px 50px;
  line-height:1.8;
}

.legal-wrap::before{
  content:"";
  position:absolute;
  left:20px;
  top:40px;
  bottom:40px;
  width:6px;
  background:var(--orange);
  border-radius:3px;
}

.legal-wrap h1{
  margin-top:0;
  font-size:28px;
}

.legal-wrap h2{
  margin-top:30px;
  color:var(--orangeLight);
}

/* =========================
   FOOTER GLOBAL
========================= */
.footer{
  width:100%;
  margin-top:30px;
  padding:18px 12px;
  background:var(--bg);
  display:flex;
  justify-content:center;
}

.footer .footer-box{
  border:2px solid var(--orange);
  color:var(--orange);
  padding:12px 18px;
  border-radius:10px;
  text-align:center;
  font-weight:bold;
  line-height:1.4;
  max-width:700px;
  width:calc(100% - 40px);
}

.footer a{
  color:var(--orange);
  text-decoration:none;
}

.footer a:hover{
  text-decoration:underline;
}

/* =========================
   PRESTATIONS
========================= */
.services{
  max-width:1100px;
  margin:0 auto;
  padding:40px 20px;
}

.service{
  display:flex;
  align-items:center;
  gap:40px;
  margin-bottom:60px;
}

.service.reverse{
  flex-direction:row-reverse;
}

.service-img{
  flex:1;
}

.service-img img{
  width:100%;
  height:280px;
  object-fit:cover;
  border-radius:8px;
}

.service-text{
  flex:1;
  position:relative;
  padding-left:25px;
}

.service-text::before{
  content:"";
  position:absolute;
  left:0;
  top:5px;
  bottom:5px;
  width:4px;
  background:var(--orange);
  border-radius:2px;
}

.service-text h2{
  margin:0 0 10px;
  color:#fff;
  font-size:22px;
}

.service-text p{
  margin:0;
  color:#ddd;
  line-height:1.6;
}

/* =========================
   GALERIE
========================= */
.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));
  gap:20px;
  margin-bottom:60px;
}

.gallery img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:8px;
  border:3px solid var(--orange);
  transition:transform .3s ease, box-shadow .3s ease;
}

.gallery img:hover{
  transform:scale(1.03);
  box-shadow:0 10px 25px rgba(0,0,0,.4);
}

/* =========================
   CATALOGUE PRODUITS
========================= */
.catalogue-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));
  gap:25px;
  margin-top:40px;
}

.product-card{
  background:rgba(255,255,255,0.03);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 8px 20px rgba(0,0,0,0.25);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 30px rgba(0,0,0,0.35);
}

.product-card img{
  width:100%;
  height:180px;
  object-fit:cover;
}

.product-card h3{
  margin:15px;
  color:var(--orangeLight);
}

.product-card p{
  margin:0 15px 20px;
  color:#ddd;
  font-size:14px;
  line-height:1.5;
}

/* =========================
   PANNEAUX - VERSION FINALE PROPRE
========================= */
.panel-family{
  margin-bottom:60px;
}

.panel-family h2{
  margin:0 0 30px;
  color:var(--orange);
  font-size:24px;
}

/* rangée */
.panel-row-wrap{
  overflow-x:auto;
  overflow-y:visible;
  scrollbar-width:none;
}

.panel-row-wrap::-webkit-scrollbar{
  height:0;
  width:0;
}

/* rangée */
.panel-row{
  display:flex;
  align-items:flex-end;
  flex-wrap:nowrap;
  overflow:visible;
  padding:50px 0 40px;
  perspective:none;
}

/* panneau */
.panel-item{
  position:relative;
  flex:0 0 var(--panel-width);
  width:var(--panel-width);
  margin-left:calc(var(--panel-width) * -0.64);
  text-align:center;
  transform-origin:50% 100%;
  transform:rotateY(30deg);
  transition:transform 0.25s ease;
  overflow:visible;
}

.panel-item:first-child{
  margin-left:0;
}

/* profondeur */
.panel-item:nth-child(1){ z-index:1; }
.panel-item:nth-child(2){ z-index:2; }
.panel-item:nth-child(3){ z-index:3; }
.panel-item:nth-child(4){ z-index:4; }
.panel-item:nth-child(5){ z-index:5; }
.panel-item:nth-child(6){ z-index:6; }
.panel-item:nth-child(7){ z-index:7; }
.panel-item:nth-child(8){ z-index:8; }
.panel-item:nth-child(9){ z-index:9; }
.panel-item:nth-child(10){ z-index:10; }
.panel-item:nth-child(11){ z-index:11; }
.panel-item:nth-child(12){ z-index:12; }
.panel-item:nth-child(13){ z-index:13; }
.panel-item:nth-child(14){ z-index:14; }
.panel-item:nth-child(15){ z-index:15; }
.panel-item:nth-child(16){ z-index:16; }
.panel-item:nth-child(17){ z-index:17; }
.panel-item:nth-child(18){ z-index:18; }
.panel-item:nth-child(19){ z-index:19; }
.panel-item:nth-child(20){ z-index:20; }
.panel-item:nth-child(21){ z-index:21; }
.panel-item:nth-child(22){ z-index:22; }
.panel-item:nth-child(23){ z-index:23; }
.panel-item:nth-child(24){ z-index:24; }
.panel-item:nth-child(25){ z-index:25; }

/* image */
.panel-item img{
  position:relative;
  z-index:1;
  width:110px;
  height:110px;
  object-fit:contain;
  display:block;
  margin:0 auto 14px;
  filter:drop-shadow(0 12px 14px rgba(0,0,0,0.45));
  backface-visibility:hidden;
  max-width:110px;
  max-height:110px;
}

/* indicatif caché par défaut */
.panel-code{
  position:absolute;
  left:50%;
  bottom:calc(100% + 10px);
  transform:translateX(-50%) translateY(-6px);
  color:var(--orangeLight);
  font-weight:700;
  font-size:17px;
  line-height:1;
  white-space:nowrap;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity 0.2s ease, transform 0.2s ease;
  z-index:1001;
}

/* descriptif caché par défaut */
.panel-item p{
  position:absolute;
  left:50%;
  top:calc(100% + 6px);
  transform:translateX(-50%) translateY(6px);
  width:180px;
  margin:0;
  font-size:14px;
  line-height:1.4;
  color:var(--orangeLight);
  text-align:center;
  white-space:normal;
  overflow:visible;
  text-overflow:unset;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity 0.2s ease, transform 0.2s ease;
  z-index:1001;
}

/* affichage au survol */
.panel-item:hover .panel-code{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
}

.panel-item:hover p{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
}

/* panneau redressé au survol */
.panel-item:hover{
  transform:translateY(-12px) rotate(0deg) scale(1.05);
  z-index:999;
}

/* =========================
   COMBO AB3a + M9c
========================= */
.panel-item-combo{
  display:flex;
  align-items:flex-end;
  justify-content:center;
}

.panel-item-combo .panel-sign-combo{
  width:100%;
  min-height:110px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}

.panel-item-combo .main-sign{
  width:110px;
  height:110px;
  display:block;
  object-fit:contain;
  margin:0 auto;
  max-width:none;
  max-height:none;
  transform:translateY(-14px);
}

.panel-disabled{
  position:relative;
}

/* image grisée */
.panel-disabled img{
  filter:
    grayscale(80%)
    sepia(80%)
    hue-rotate(-30deg)
    saturate(140%)
    brightness(0.8);
}

/* comportement normal au hover (premier plan) */
.panel-disabled:hover{
  transform:translateY(-12px) rotate(0deg) scale(1.05);
  z-index:999;
}

/* on garde le code visible */
.panel-disabled:hover .panel-code{
  opacity:1 !important;
  visibility:visible !important;
}

/* on garde le texte + ajout info */
.panel-disabled:hover p::after{
  content:"🔒 fabrication sur commande";
  display:block;
  font-size:12px;
  margin-top:4px;
  color:#ff9800;
}

.balise-row{
  display:flex;
  flex-wrap:wrap;
  gap:30px;
  justify-content:flex-start;
  align-items:flex-end;
  padding:20px 0;
}

.balise-row .panel-item{
  margin-left:0;
  flex:0 0 auto;
  width:110px;
  transform:none;
}

.j4-left{
  transform:scaleX(-1);
}

.j4-multi img{
  background:#fff;
  padding:6px;
  border-radius:6px;
}

.k10-wrap{
  display:flex;
  justify-content:center;
  align-items:flex-end;
  gap:8px;
}

.k10-wrap img{
  width:48px;
  height:110px;
  object-fit:contain;
  margin:0;
}

/* =========================
   ACCESSIBILITÉ PMR - STYLE CATALOGUE
========================= */
.accessibility-catalog{
  max-width:1200px;
  margin:0 auto;
  padding:20px 0 50px;
}

.pmr-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));
  gap:24px;
}

.pmr-card{
  background:#fff;
  color:#222;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(0,0,0,0.22);
  transition:transform .25s ease, box-shadow .25s ease;
}

.pmr-card:hover{
  transform:translateY(-6px);
  box-shadow:0 14px 30px rgba(0,0,0,0.28);
}

.pmr-visual{
  position:relative;
  height:190px;
  background:#f6f6f6;
  border-bottom:1px solid #e7e7e7;
  overflow:hidden;
}

.pmr-badge{
  position:absolute;
  top:12px;
  right:12px;
  background:var(--orange);
  color:#2b2b2b;
  font-weight:700;
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
}

/* DALLE PODOTACTILE */
.pmr-dalle{
  background:
    radial-gradient(circle at 20px 20px, #ffffff 0 7px, transparent 8px) 35px 38px / 55px 55px repeat,
    #d9d9d9;
}

/* RAIL GUIDE 4 CANNELURES */
.pmr-rail{
  background:
    repeating-linear-gradient(
      90deg,
      #efefef 0 18px,
      #d8d8d8 18px 28px
    );
}

.pmr-rail::after{
  content:"";
  position:absolute;
  left:18px;
  right:18px;
  top:56px;
  bottom:56px;
  border-radius:12px;
  background:
    repeating-linear-gradient(
      90deg,
      #fafafa 0 20px,
      #cfcfcf 20px 28px
    );
  box-shadow:0 10px 20px rgba(0,0,0,0.14);
}

/* NEZ DE MARCHE */
.pmr-nez{
  background:
    linear-gradient(135deg, #f4f4f4 0 52%, #202020 52% 70%, #f5c400 70% 100%);
}

.pmr-nez::after{
  content:"";
  position:absolute;
  left:26px;
  right:26px;
  bottom:34px;
  height:24px;
  background:
    repeating-linear-gradient(
      90deg,
      #111 0 10px,
      #f3c300 10px 20px
    );
  border-radius:5px;
}

/* CONTREMARCHE */
.pmr-contre{
  background:
    linear-gradient(to bottom, #f7f7f7 0 50%, #1f1f1f 50% 68%, #ececec 68% 100%);
}

/* CLOUS PODO A PERCER */
.pmr-clous-percer{
  background:
    radial-gradient(circle, #c8c8c8 0 8px, #9a9a9a 9px 14px, transparent 15px) 30px 34px / 52px 52px repeat,
    #efefef;
}

/* CLOUS PODO A COLLER */
.pmr-clous-coller{
  background:
    radial-gradient(circle, #f2d48a 0 8px, #c49a39 9px 14px, transparent 15px) 30px 34px / 52px 52px repeat,
    #f7f2e8;
}

.pmr-card h3{
  margin:18px 18px 8px;
  font-size:20px;
  line-height:1.25;
  color:#1e1e1e;
}

.pmr-card p{
  margin:0 18px 20px;
  color:#555;
  line-height:1.5;
  font-size:14px;
}

.catalogue-home-grid{
  max-width:1100px;
  margin:40px auto 60px;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:24px;
}

.catalogue-home-card{
  display:flex;
  flex-direction:column;
  text-decoration:none;
  background:rgba(255,255,255,0.03);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 8px 20px rgba(0,0,0,0.25);
  transition:transform 0.25s ease, box-shadow 0.25s ease;
}

.catalogue-home-card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 28px rgba(0,0,0,0.35);
}

.catalogue-home-card img{
  width:100%;
  height:190px;
  object-fit:cover;
  display:block;
}

.catalogue-home-card span{
  padding:16px;
  color:var(--orangeLight);
  font-weight:700;
  text-align:center;
  line-height:1.4;
}

/* =========================
   SUCCESS + NOTIFICATION + MÉDAILLES
========================= */

/* ===== POPUP HAUT (optionnel) ===== */
.success-popup{
  position:fixed;
  top:-120px;
  left:50%;
  transform:translateX(-50%);
  background:#111;
  color:#fff;
  padding:12px 18px;
  border-radius:12px;
  display:flex;
  align-items:center;
  gap:12px;
  box-shadow:0 10px 30px rgba(0,0,0,0.3);
  transition:all 0.5s ease;
  z-index:9999;
}

.success-popup.show{
  top:20px;
}

/* ===== NOTIFICATION SUCCÈS ===== */
.achievement-notification{
  position:fixed;
  top:50%;
  right:24px;
  transform:translateY(-50%) translateX(140%);
  z-index:99999;
  min-width:320px;
  max-width:420px;
  background:#111;
  color:#fff;
  border-radius:14px;
  padding:16px 18px;
  box-shadow:0 10px 30px rgba(0,0,0,0.25);
  opacity:0;
  pointer-events:none;
  transition:transform 0.45s ease, opacity 0.45s ease;
}

.achievement-notification.show{
  transform:translateY(-50%) translateX(0);
  opacity:1;
}

.achievement-content{
  display:flex;
  align-items:center;
  gap:14px;
}

#achievement-icon{
  font-size:30px;
  flex-shrink:0;
}

.achievement-title{
  font-size:16px;
  font-weight:700;
  margin-bottom:4px;
}

.achievement-description{
  font-size:14px;
  opacity:0.9;
}

/* couleurs médailles notif */
.achievement-notification.gold #achievement-icon{ color:gold; }
.achievement-notification.silver #achievement-icon{ color:silver; }
.achievement-notification.bronze #achievement-icon{ color:#cd7f32; }

/* ===== MÉDAILLES MINI (IMPORTANT) ===== */
.achievements-mini{
  position:fixed;
  bottom:15px;
  left:15px;
  display:flex;
  align-items:center;
  gap:6px;
  z-index:99999;
}

.achievement-mini{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  line-height:1;
  cursor:default;
}

/* tooltip */
.achievement-mini::after{
  content:attr(data-title);
  position:absolute;
  bottom:130%;
  left:0;
  background:#111;
  color:#fff;
  padding:6px 10px;
  border-radius:6px;
  font-size:12px;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.2s ease;
  box-shadow:0 8px 20px rgba(0,0,0,0.25);
}

.achievement-mini:hover::after{
  opacity:1;
}

/* =========================
   RESPONSIVE MOBILE / TABLETTE
========================= */
@media (max-width:900px){

  :root{
    --sideW:0px;
    --tabsFont:16px;
  }

  body{
    overflow-x:hidden;
  }

  .content{
    margin-left:0;
    margin-right:0;
    padding:16px;
  }

  .header{
    height:38vh;
    max-height:320px;
    padding:20px 12px;
  }

  .header .logo{
    max-height:220px;
    max-width:85%;
  }

  .header .tagline{
    padding:0 14px;
    font-size:14px;
  }

  nav.tabs{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    padding:10px;
  }

  nav.tabs > a.tab,
  .dropdown > a.tab{
    width:100%;
    padding:10px 14px;
    font-size:1em;
    justify-content:center;
    text-align:center;
  }

  .dropdown{
    display:block;
    width:100%;
    position:static;
  }

  .dropdown-toggle{
    display:flex;
    width:100%;
    justify-content:center;
  }

  .dropdown-menu{
    display:none !important;
  }

  .side{
    position:static;
    top:auto;
    bottom:auto;
    width:100%;
    height:auto;
    z-index:auto;
  }

  .side:not(.side-map):not(.side-info){
    display:none;
  }

  .side-map{
    display:block;
    height:260px;
    padding:0;
    margin:0;
  }

  .side-info{
    display:block;
    padding:12px 16px 0;
  }

  .side-box{
    height:auto;
  }

  .page-title{
    font-size:30px;
    margin:24px 0 36px;
  }

  .page-title::after{
    width:180px;
  }

  .history-wrap{
    padding:28px 16px 28px 26px;
  }

  .history-wrap::before{
    top:28px;
    bottom:28px;
    width:5px;
  }

  .legal-wrap{
    padding:28px 16px 28px 26px;
  }

  .legal-wrap::before{
    left:10px;
    top:28px;
    bottom:28px;
    width:5px;
  }

  .services{
    padding:24px 16px;
  }

  .service,
  .service.reverse{
    flex-direction:column;
    gap:18px;
    margin-bottom:34px;
  }

  .service-img img{
    height:200px;
  }

  .gallery{
    grid-template-columns:repeat(auto-fill, minmax(160px, 1fr));
    gap:14px;
  }

  .gallery img{
    height:170px;
  }

  .catalogue-grid{
    grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));
    gap:18px;
  }

  .pmr-grid{
    grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));
    gap:18px;
  }

  .catalogue-home-grid{
    grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
    gap:18px;
  }

  .panel-item-combo .panel-sign-combo{
    min-height:90px;
  }

  .panel-item-combo .main-sign{
    width:90px;
    height:90px;
  }

  .footer{
    padding:14px 10px;
  }

  .footer .footer-box{
    padding:10px 12px;
  }

  .achievement-notification{
    right:12px;
    top:50%;
    transform:translateY(-50%) translateX(140%);
    min-width:auto;
    max-width:calc(100vw - 24px);
  }

  .achievement-notification.show{
    transform:translateY(-50%) translateX(0);
  }

  .achievements-mini{
    bottom:12px;
    left:12px;
  }
}

@media (max-width:420px){
  nav.tabs > a.tab,
  .dropdown > a.tab{
    width:100%;
  }

  .header .logo{
    max-height:180px;
  }

  .panel-item-combo .panel-sign-combo{
    min-height:78px;
  }

  .panel-item-combo .main-sign{
    width:78px;
    height:78px;
  }
}