@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Sofia+Sans+Condensed:ital,wght@0,1..1000;1,1..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Oswald:wght@200..700&display=swap');

:root {
  /* Couleurs principales */
  --primary-color:#E93F90;
  --secondary-color:  #9BC431;
  --text-color: #222;
  --bg-color: #fff;

  /* Typographie */
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Sofia Sans Condensed', sans-serif;
  --font-third: 'Caveat', cursive;
  --font-fourth: 'Oswald', sans-serif;
  /* Espacements */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;

  /* Breakpoints */
  --mobile: 576px;
  --tablet: 768px;
  --desktop: 992px;
  --large: 1200px;
}

/* ===== GENERAL ===== */

/* ===== Titres ===== */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: black;
  margin-bottom: 1rem;
  text-transform: uppercase;
} 

h4 {
  font-family: var(--font-third), sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

h5 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

h6 {  
  font-size: 1rem;
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* gestions des bannnieres en tête */
.banner-header {
  min-height: 300px;
  background-color: var(--primary-color);
  color: #fff;
  padding: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.banner-header h1 {
  color: #fff;
}

.banner-header h2 {
  color: #fff;
}

.banner-header h3 {
  color: #fff;
}

.banner-header h4 {
  color: #fff;
}

.banner-header h5 {
  color: #fff;
}

.banner-header h6 {
  color: #fff;
}

.banner-header-title {
  /* header-titre-bg.png : 144×32 RGBA. Caps gauche/droite figés, milieu étiré (border-image). */
  --oc-ban-h: 3.25rem;
  --oc-ban-cap: calc(24 / 32 * var(--oc-ban-h));
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  width: max-content;
  max-width: 100%;
  min-height: var(--oc-ban-h);
  margin: 0;
  padding: 0.2em 0.1em;
  color: #fff;
  font-size: clamp(1.1rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  background: none;
  border-style: solid;
  border-color: transparent;
  border-width: 0 var(--oc-ban-cap);
  border-image-source: url('../../imgs/titres/header-titre-bg.png');
  border-image-slice: 0 28 0 28 fill;
  border-image-width: 0 var(--oc-ban-cap);
  border-image-repeat: stretch;
  /* TODO (Optic Chic) 2026-08-31: Recaler slice/cap si le texte colle trop aux bords déchirés. */
}



/* ===== Numérotation des sections ===== */
body,
#fullpage {
  counter-reset: section-number;
}

.wp-block-image img {
  border-radius: 15px;
}

.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 2.5rem;
  aspect-ratio: 1 / 1;
  height: auto;
  flex-shrink: 0;
  padding: 0;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #fff;
  font-family: var(--font-fourth), sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
}

.section-number::before {
  content: counter(section-number, decimal-leading-zero);
  counter-increment: section-number;
}

/* ===== LIENS ===== */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover,
a:focus {
  color: var(--secondary-color);
  text-decoration: underline;
}

a:active {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Styles spécifiques pour les liens de navigation */
.nav-link {
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--primary-color);
}

/* Styles pour les boutons-liens */
.btn-link {
  color: var(--primary-color);
  font-weight: 500;
  padding: 0;
  background: transparent;
  border: 0;
}

.btn-link:hover,
.btn-link:focus {
  color: var(--secondary-color);
  text-decoration: underline;
}

.btn-primary {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  background-color: #fff;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* ALERTES */
.alert {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  border: 1px solid transparent;
}

.alert-info {
  background-color: #d1ecf1;
  border-color: #bee5eb;
  color: #20600c;
}

.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

body {
  background: #fff;
  color: #222;
  margin: 0;
  padding: 0;
  font-family: system-ui, sans-serif;
} 

.navbar-brand img {
  width: 300px;
  height: auto;
  object-fit: contain;
}

.debug {
  background-color: #f8d7da;
  color: #721c24;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 20px;
  border: 1px solid #721c24;
  display: block;
}

/* ===== GALERIE MASONRY ===== */
.masonry-gallery {
  width: 100%;
  margin: 0 auto;
}

/* Sizer pour définir la largeur des colonnes */
.masonry-sizer,
.masonry-item {
  width: calc(33.333% - 14px); /* 3 colonnes avec espacement */
}

.masonry-item {
  margin-bottom: 20px;
  break-inside: avoid;
}


/* Images dans les items Masonry */
.masonry-item img {
  width: 100%;
  height: auto;
}



/* Responsive */
@media (max-width: 992px) {
  .masonry-sizer,
  .masonry-item {
    width: calc(50% - 10px); /* 2 colonnes sur tablette */
  }
  
  .marque-galerie .masonry-logo-item {
    min-height: 250px;
    padding: 1.5rem;
  }
  
  .marque-galerie .masonry-logo-item img {
    max-width: 75% !important;
    max-height: 75% !important;
    padding: 1.2rem;
  }
  
  .marque-galerie .masonry-logo-item .logo-hover-text {
    font-size: 0.9rem;
    padding: 0.8rem;
  }
}

@media (max-width: 576px) {
  .masonry-sizer,
  .masonry-item {
    width: 100%; /* 1 colonne sur mobile */
  }
  
  .marque-galerie .masonry-logo-item {
    min-height: 200px;
    padding: 1rem;
  }
  
  .marque-galerie .masonry-logo-item img {
    max-width: 80%;
    max-height: 80%;
    padding: 1rem;
  }
  
  .marque-galerie .masonry-logo-item .logo-hover-text {
    font-size: 0.8rem;
    padding: 0.5rem;
    line-height: 1.2;
  }
}

/* ===== PAGE TAXONOMIE MARQUE ===== */

/* Header de la marque */
.marque-header {
  margin-bottom: 3rem;
}

.marque-logo {
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
  transition: transform 0.3s ease;
}

.marque-logo:hover {
  transform: scale(1.05);
}

.marque-title {
  color: var(--primary-color, #2c3e50);
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  font-size: 1rem;
  text-transform: uppercase;
}

.marque-title .nom-marque {
  color: var(--secondary-color, #e74c3c);
  font-size: 1.5rem;
}

.marque-description {
  color: #6c757d;
  line-height: 1.6;
}


/* ===== PAGE LISTE DES MARQUES ===== */
#loop-marques .card.h-100 {
 border: none;
 box-shadow: none;
 border-radius: 0;
 border-radius: 0;
}



/* Section titles */
.section-title {
  color: var(--secondary-color, #e74c3c);
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color, #e74c3c), var(--primary-color, #2c3e50));
  border-radius: 2px;
}

/* Galerie Masonry spécifique aux marques */
.marque-galerie .masonry-gallery {
  margin-top: 1.5rem;
}

.marque-galerie .masonry-item {
  background: #fff;
  overflow: hidden;
}

.marque-galerie .masonry-item img {
  border-radius: 8px;
}


/* Style spécial pour le logo - juste centré, sans fond */
.marque-galerie .masonry-logo-item {
  min-height: 300px !important;
  aspect-ratio: 1;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative;
}

.marque-galerie .masonry-logo-item img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

/* Effet de survol du logo */
.marque-galerie .masonry-logo-item .logo-link {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  border-radius: 12px;
}

.marque-galerie .masonry-logo-item .logo-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-color, #2c3e50);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.marque-galerie .masonry-logo-item .logo-hover-text {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  padding: 1rem;
  line-height: 1.3;
}

.marque-galerie .masonry-logo-item .logo-link:hover .logo-hover-overlay {
  opacity: 1;
}

.marque-galerie .masonry-logo-item .logo-link:hover img {
  opacity: 0.2;
}

.marque-galerie .dispo-marque {
  background: var(--secondary-color, #e74c3c) !important;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-height: 300px !important;
  aspect-ratio: 1;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.dispo-marque .texte-dispo-marque {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
  letter-spacing: 0.5px;
  padding: 2rem;
  text-transform: uppercase;
}

.image-caption {
  padding: 0.5rem;
  background: rgba(248,249,250,0.8);
  border-radius: 0 0 8px 8px;
}

/* Collection de lunettes */
.marque-collection .d-flex {
  flex-wrap: wrap;
  gap: 1rem;
}

.marque-website-link {
  font-size: 0.9rem;
  white-space: nowrap;
}

.marque-website-link a {
  color: var(--primary-color, #2c3e50);
  transition: color 0.3s ease;
}

.marque-website-link a:hover {
  color: var(--secondary-color, #e74c3c);
}

.lunette-card {
  border: none;
  overflow: hidden;
}

.card-img-link {
  display: block;
  overflow: hidden;
}

.badges .badge {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .marque-header {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .marque-title {
    font-size: 1.5rem;
  }
  
  .marque-collection {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .marque-header {
    padding: 1rem;
  }
  
  .marque-title {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .marque-collection .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem;
  }
  
  .marque-website-link {
    font-size: 0.8rem;
    white-space: normal;
  }
}

/* ===== LOGO MARQUE OVERLAY ===== */

/* Conteneur de l'overlay du logo */
.marque-logo-overlay {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 4px 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

/* Logo de la marque */
.marque-logo-small {
  width: auto;
  height: 24px;
  max-width: 50px;
  object-fit: contain;
  filter: contrast(1.1) brightness(0.95);
  transition: all 0.3s ease;
}

/* Assurer que l'image container soit relative */
.lunette-image-container {
  position: relative;
  overflow: hidden;
}

/* Badge modèle enfant (20x20) en haut à droite de la vignette */
.lunette-enfant-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 60px;
  height: 60px;
  z-index: 3;
}
.lunette-enfant-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive - ajuster la taille sur mobile */
@media (max-width: 576px) {
  .marque-logo-overlay {
    bottom: 6px;
    right: 6px;
    padding: 3px 5px;
  }
  
  .marque-logo-small {
    height: 20px;
    max-width: 40px;
  }
}

/* ===== NOUVEAU LAYOUT CARD LUNETTES (style Lynx Optique) ===== */

/* Suppression du centrage par défaut */
.lunette-card .card-body {
  text-align: left !important;
  padding: 1rem;
}

/* Type de lunettes - badge aligné à gauche */
.type-lunettes-info {
  text-align: left;
}

.type-lunettes-info .badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Section marque et référence */
.marque-section .marque-nom {
  font-size: 1.1rem;
  color: var(--primary-color, #2c3e50);
  line-height: 1.2;
}

.reference-section .reference-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: #6c757d;
  white-space: nowrap;
}

/* Section couleurs et logo */
.couleur-section {
  min-height: 32px;
  display: flex;
  align-items: center;
}

.couleur-options {
  align-items: center;
}

.couleur-btn {
  width: 20px;
  height: 20px;
  border: 2px solid #dee2e6;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  position: relative;
}

.couleur-btn.active {
  border-color: var(--primary-color, #767676);
}

.couleur-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  /* La couleur de fond sera définie par le style inline depuis ACF */
  /* Couleur de fallback si pas de color_pickup */
  background-color: #ffffff;
}

.selected-couleur-text {
  font-size: 0.75rem;
  min-width: 60px;
  text-align: left;
}

/* Logo marque dans le card-body */
.logo-section {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 40px;
}

.marque-logo-card {
  height: 50px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .marque-section .marque-nom {
    font-size: 1rem;
  }
  
  .reference-section .reference-text {
    font-size: 0.75rem;
  }
  
  .couleur-btn {
    width: 18px;
    height: 18px;
  }
  
  .marque-logo-card {
    height: 24px;
    max-width: 40px;
  }
  
  .selected-couleur-text {
    font-size: 0.7rem;
    min-width: 50px;
  }
}

/* Masquer l'overlay logo (on utilise maintenant celui dans le card-body) */
.marque-logo-overlay {
  display: none;
}

/* CARTES LUNETTES */
.lunette-card {
  border: none;
}

.lunette-image-container {
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lunette-image {
  transition: all 0.3s ease;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border-bottom: 2px solid var(--secondary-color, #bfbfbf);
}

.stretched-link {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

/* SÉLECTEUR DE COULEURS */
.couleur-selector {
  position: relative;
  z-index: 2;
}

.couleur-options {
  min-height: 36px;
}

.couleur-btn {
  width: 28px;
  height: 28px;
  border: 2px solid #e9ecef;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  padding: 0;
  margin: 2px;
}

.couleur-btn:hover {
  border-color: #6c757d;
  transform: scale(1.1);
}

.couleur-btn.active {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.couleur-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  position: relative;
}


.selected-couleur-text {
  font-style: italic;
  min-height: 1.2rem;
  font-weight: 500;
  color: #495057 !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .filtre-form {
      flex-direction: column;
      gap: 0.5rem;
  }
  
  .filter-group {
      min-width: 100%;
  }
  
  .filters-container {
      padding: 0.75rem;
  }
  
  #lunettes-results {
      margin-top: 1rem;
  }
  
  .couleur-btn {
      width: 24px;
      height: 24px;
  }
  
  .lunette-image {
      width: 100%;
      aspect-ratio: 1 / 1;
  }
}

@media (max-width: 576px) {
  .lunettes-page {
      padding: 0.5rem 0;
  }
  
  .lunettes-header h1 {
      font-size: 1.5rem;
  }
  
  .couleur-options {
      gap: 1px;
  }
  
  .lunette-image {
      width: 100%;
      aspect-ratio: 1 / 1;
  }
}

.page-template-page-blank-fullpage #masthead {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent !important;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.page-template-page-blank-fullpage #masthead.scrolled {
  transform: translateY(-100%);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.page-template-page-blank-fullpage #masthead .navbar {
  background-color: transparent !important;
}

/* ===== MENU LATÉRAL DE PAGE + SCROLLSPY ===== */
.opticchic-has-page-nav {
  scroll-padding-top: var(--opticchic-scroll-padding, 0);
}

.opticchic-has-page-nav .entry-content :is(h1, h2, h3, h4, h5, h6)[id] {
  scroll-margin-top: calc(var(--opticchic-scroll-padding, 0px) + 0.5rem);
}

.opticchic-page-sidebar .offcanvas-lg {
  --bs-offcanvas-width: 18rem;
}

@media (min-width: 992px) {
  .opticchic-has-page-nav #content,
  .opticchic-has-page-nav #primary,
  .opticchic-page-nav-row {
    overflow: visible;
  }

  .opticchic-page-nav-row {
    align-items: stretch;
  }

  .opticchic-page-sidebar-col {
    display: flex;
    flex-direction: column;
  }

  .opticchic-page-sidebar,
  .opticchic-page-sidebar .offcanvas-lg,
  .opticchic-page-sidebar .offcanvas-body {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    overflow: visible !important;
    transform: none !important;
  }

  .opticchic-page-nav-panel {
    position: sticky;
    top: calc(var(--opticchic-scroll-padding, 0px) + 1.25rem);
    z-index: 2;
  }
}

.opticchic-page-nav__heading {
  margin: 0 0 1.35rem;
  color: var(--primary-color);
  font-family: var(--font-primary), sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 12' fill='none'%3E%3Cpath d='M1 7.5 C18 2, 32 11, 48 6.5 S78 1.5, 96 7 S124 12, 139 5' stroke='%23e93f90' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left bottom;
  background-size: 8.5rem 0.7rem;
  padding-bottom: 0.85rem;
}

#opticchic-page-nav .opticchic-page-nav__list {
  counter-reset: page-nav;
  gap: 0.35rem;
}

#opticchic-page-nav .opticchic-page-nav__list > .nav-item > .nav-link {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.55rem 0;
  color: var(--text-color) !important;
  font-family: var(--font-primary), sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.35;
  text-transform: none;
  white-space: normal;
}

#opticchic-page-nav .opticchic-page-nav__list > .nav-item > .nav-link::before {
  counter-increment: page-nav;
  content: counter(page-nav, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 2.5rem;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #fff;
  font-family: var(--font-fourth), sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

#opticchic-page-nav .nav-link:hover,
#opticchic-page-nav .nav-link:focus {
  color: var(--primary-color) !important;
  text-decoration: none;
}

#opticchic-page-nav .opticchic-page-nav__list > .nav-item > .nav-link.active::before,
#opticchic-page-nav .opticchic-page-nav__list > .nav-item > .nav-link.opticchic-nav-current::before,
#opticchic-page-nav .opticchic-page-nav__list > .current-menu-item > .nav-link::before,
#opticchic-page-nav .opticchic-page-nav__list > .current-menu-ancestor > .nav-link::before {
  background-color: var(--text-color) !important;
  color: #fff;
}

#opticchic-page-nav .nav-link.active,
#opticchic-page-nav .nav-link.opticchic-nav-current,
#opticchic-page-nav .current-menu-item > .nav-link,
#opticchic-page-nav .current-menu-ancestor > .nav-link {
  color: var(--text-color) !important;
  font-weight: 700;
}

#opticchic-page-nav .sub-menu {
  padding-left: 3rem;
  margin-top: 0.15rem;
}

#opticchic-page-nav .sub-menu .nav-link {
  font-size: 0.95rem;
  font-weight: 400;
}

.opticchic-page-nav__cta {
  position: relative;
  margin-top: 2.25rem;
  padding: 1.85rem 1rem 1.2rem;
  border: 1px solid var(--primary-color);
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.opticchic-page-nav__cta-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 0.55rem;
  background: #fff;
  color: var(--primary-color);
  font-size: 1.45rem;
  line-height: 1;
}

.opticchic-page-nav__cta-text {
  margin: 0 0 0.65rem;
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.4;
}

.opticchic-page-nav__cta-link {
  color: var(--primary-color) !important;
  font-family: var(--font-primary), sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
}

.opticchic-page-nav__cta-link:hover,
.opticchic-page-nav__cta-link:focus {
  color: var(--secondary-color) !important;
}

.wp-block-group-is-layout-flex.is_layout_flex {
  align-items: start;
}