    /* ─── Base ─────────────────────────────────────────── */
    body {
      padding-top: 80px;
      overflow-x: hidden;
    }

    /* ─── Hero search ───────────────────────────────────── */
    .hero-search {
      background: linear-gradient(135deg, #f0f4ff 0%, #f8f9fa 60%, #fff4ee 100%);
      padding: 60px 0;
      position: relative;
      overflow: hidden;
    }
    .hero-search::before {
      content: '';
      position: absolute;
      width: 500px; height: 500px;
      background: radial-gradient(circle, rgba(255,106,0,0.08) 0%, transparent 70%);
      top: -150px; right: -100px;
      border-radius: 50%;
      animation: pulse-bg 6s ease-in-out infinite;
    }
    .hero-search::after {
      content: '';
      position: absolute;
      width: 300px; height: 300px;
      background: radial-gradient(circle, rgba(10,30,70,0.06) 0%, transparent 70%);
      bottom: -80px; left: -60px;
      border-radius: 50%;
      animation: pulse-bg 8s ease-in-out infinite reverse;
    }

    /* ─── Product cards ─────────────────────────────────── */
    .product-card img {
      height: 180px;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .product-card:hover img {
      transform: scale(1.06);
    }
    .product-card {
      transition: box-shadow 0.3s ease, transform 0.3s ease;
      overflow: hidden;
    }
    .product-card:hover {
      box-shadow: 0 12px 32px rgba(10,30,70,0.15) !important;
      transform: translateY(-5px);
    }

    /* ─── Navbar inputs ─────────────────────────────────── */
    #cerca-nav {
      border: 1.5px solid white;
      background-color: #0a1e46;
      color: white !important;
      border-radius: 100px;
      transition: box-shadow 0.3s ease, background-color 0.3s ease;
    }
    #cerca-nav:focus {
      box-shadow: 0 0 0 3px rgba(255,106,0,0.35);
      background-color: #12296a;
      outline: none;
    }
    #cerca-nav::placeholder {
      color: rgba(255, 255, 255, 0.54);
    }

    /* ─── Search button ─────────────────────────────────── */
    .cerca-btn {
      border: 1.5px solid #FF6A00;
      color: #FF6A00;
      border-radius: 100px;
      transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    }
    .cerca-btn:hover {
      border: 1.5px solid #FF6A00;
      color: white;
      background-color: #FF6A00;
      box-shadow: 0 4px 18px rgba(255,106,0,0.4);
    }

    /* ─── Navbar links ──────────────────────────────────── */
    .custom-navbar .nav-link {
      font-size: 1.2rem;
      font-weight: 600;
      position: relative;
    }
    .custom-navbar .nav-link::after {
      content: '';
      position: absolute;
      bottom: -2px; left: 50%;
      width: 0; height: 2px;
      background: #FF6A00;
      border-radius: 2px;
      transition: width 0.3s ease, left 0.3s ease;
    }
    .custom-navbar .nav-link:hover::after,
    .custom-navbar .nav-link.active::after {
      width: 60%;
      left: 20%;
    }
    .custom-navbar .nav-link:hover {
      opacity: 0.85;
    }
    .custom-navbar .nav-item {
      padding: 0 1.5rem;
    }

    /* ─── Hero section ──────────────────────────────────── */
    .hero-headline {
      animation: fadeSlideUp 0.8s ease both;
    }
    .hero-lead {
      animation: fadeSlideUp 0.8s 0.2s ease both;
    }
    .hero-image {
      animation: floatImg 4s ease-in-out infinite;
    }

    /* ─── Category cards ────────────────────────────────── */
    .category-card {
      transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
      cursor: pointer;
    }
    .category-card:hover {
      transform: translateY(-6px) scale(1.03);
      box-shadow: 0 8px 24px rgba(10,30,70,0.12);
      background-color: #f0f4ff;
    }
    .category-card i {
      transition: color 0.3s ease, transform 0.3s ease;
    }
    .category-card:hover i {
      color: #FF6A00 !important;
      transform: scale(1.15) rotate(-5deg);
    }

    /* ─── Section fade-in on scroll ─────────────────────── */
    .fade-in-section {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .fade-in-section.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ─── Staggered product cards ───────────────────────── */
    .product-stagger {
      opacity: 0;
      transform: translateY(25px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .product-stagger.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ─── Offer badge ───────────────────────────────────── */
    .offer-badge {
      position: absolute;
      top: 10px; left: 10px;
      background: #FF6A00;
      color: white;
      font-size: 0.7rem;
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 20px;
      animation: badgePop 0.4s ease both;
    }

    /* ─── Hero search input ─────────────────────────────── */
    .hero-search .form-control {
      border-radius: 50px 0 0 50px;
      border-right: none;
      font-size: 1.1rem;
      transition: box-shadow 0.3s ease;
    }
    .hero-search .form-control:focus {
      box-shadow: 0 0 0 3px rgba(255,106,0,0.2);
      outline: none;
    }
    .hero-search .btn-primary {
      border-radius: 0 50px 50px 0;
      background: linear-gradient(135deg, #0a1e46, #1a3a8f);
      border: none;
      padding-left: 1.8rem;
      padding-right: 1.8rem;
      transition: box-shadow 0.3s ease, filter 0.3s ease;
    }
    .hero-search .btn-primary:hover {
      filter: brightness(1.15);
      box-shadow: 0 4px 18px rgba(10,30,70,0.3);
    }



    /* ─── Navbar ─────────────────────────────── */
    .navbar-brand img {
      transition: filter 0.3s ease;
    }
  
    /* ─── "Offerte del giorno"  ─────────────── */
    .section-title-accent {
      position: relative;
      display: inline-block;
    }
    .section-title-accent::after {
      content: '';
      position: absolute;
      bottom: -4px; left: 0;
      width: 100%; height: 3px;
      background: linear-gradient(90deg, #FF6A00, transparent);
      border-radius: 2px;
    }

    /* ─── Keyframes ─────────────────────────────────────── */
    @keyframes fadeSlideUp {
      from { opacity: 0; transform: translateY(30px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes floatImg {
      0%,100% { transform: translateY(0); }
      50%      { transform: translateY(-14px); }
    }
    @keyframes pulse-bg {
      0%,100% { transform: scale(1); opacity: 1; }
      50%      { transform: scale(1.15); opacity: 0.7; }
    }
    @keyframes badgePop {
      from { transform: scale(0.5); opacity: 0; }
      to   { transform: scale(1);   opacity: 1; }
    }
    @keyframes shimmer {
      0%   { background-position: -200% center; }
      100% { background-position:  200% center; }
    }

    /* ─── Orange highlight text ─────────────────────────── */
    .text-orange { color: #FF6A00 !important; }

    /* ─── Ripple on btn-primary ─────────────────────────── */
    .btn-primary {
      position: relative;
      overflow: hidden;
    }
    .btn-primary::after {
      content: '';
      position: absolute;
      top: 50%; left: 50%;
      width: 0; height: 0;
      background: rgba(255,255,255,0.25);
      border-radius: 50%;
      transform: translate(-50%, -50%);
      transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
      opacity: 0;
    }
    .btn-primary:active::after {
      width: 200px; height: 200px;
      opacity: 0;
    }

     /* FOOTER */
    .site-footer {
      background: linear-gradient(160deg, #0a1e46 0%, #0d2660 60%, #111827 100%);
      color: rgba(255,255,255,0.6);
    }
    .footer-tagline {
      font-size: 0.88rem;
      color: rgba(255,255,255,0.45);
      line-height: 1.6;
      margin: 0;
    }
    .footer-heading {
      color: white;
      font-size: 0.82rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      margin-bottom: 14px;
      padding-bottom: 8px;
      position: relative;
    }
    .footer-heading::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0;
      width: 24px; height: 2px;
      background: #FF6A00;
      border-radius: 2px;
    }
    .footer-links {
      list-style: none;
      padding: 0; margin: 0;
    }
    .footer-links li { margin-bottom: 8px; }
    .footer-links a {
      color: rgba(255,255,255,0.5);
      text-decoration: none;
      font-size: 0.9rem;
      transition: color 0.25s, padding-left 0.25s;
      display: inline-block;
    }
    .footer-links a:hover { color: #FF6A00; padding-left: 5px; }
    .footer-input {
      flex: 1;
      background: rgba(255,255,255,0.07);
      border: 1.5px solid rgba(255,255,255,0.15);
      border-right: none;
      color: white;
      border-radius: 50px 0 0 50px;
      padding: 0.45rem 1rem;
      font-size: 0.86rem;
      outline: none;
      transition: border-color 0.3s, background 0.3s;
    }
    .footer-input::placeholder { color: rgba(255,255,255,0.3); }
    .footer-input:focus { border-color: #FF6A00; background: rgba(255,255,255,0.11); }
    .footer-btn {
      background: #FF6A00;
      border: 1.5px solid #FF6A00;
      color: white;
      border-radius: 0 50px 50px 0;
      padding: 0.45rem 1.1rem;
      font-size: 0.86rem;
      font-weight: 600;
      cursor: pointer;
      transition: filter 0.3s, box-shadow 0.3s;
      white-space: nowrap;
    }
    .footer-btn:hover {
      filter: brightness(1.12);
      box-shadow: 0 4px 14px rgba(255,106,0,0.4);
    }
    .footer-hr { border-color: rgba(255,255,255,0.08); margin: 0; }
    .footer-bottom {
      font-size: 0.8rem;
      color: rgba(255,255,255,0.3);
    }
    .footer-bottom a {
      color: rgba(255,255,255,0.35);
      text-decoration: none;
      transition: color 0.25s;
    }
    .footer-bottom a:hover { color: #FF6A00; }


    #scrollTopBtn {
  position: fixed; bottom: 30px; right: 30px;
  width: 44px; height: 44px;
  background: #FF6A00; color: white; border: none;
  border-radius: 50%; font-size: 1.2rem; cursor: pointer;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(255,106,0,0.4);
}
#scrollTopBtn.show { opacity: 1; transform: translateY(0); }
#scrollTopBtn:hover { background: #e05c00; transform: scale(1.1); }

/* ─── CATEGORIE SECTION  ─── */
.categorie-section {
  background: #f8faff;
  padding: 60px 0;
  border-top: 1px solid rgba(10,30,70,0.06);
  border-bottom: 1px solid rgba(10,30,70,0.06);
}
.categorie-header {
  margin-bottom: 2rem;
}
.categorie-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #FF6A00;
  margin-bottom: 6px;
}
.categorie-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0B1F3A;
  margin: 0;
}
.cat-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border: 1.5px solid rgba(10,30,70,0.08);
  border-radius: 16px;
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(10,30,70,0.04);
}
.cat-pill:hover {
  border-color: #FF6A00;
  box-shadow: 0 6px 24px rgba(255,106,0,0.12);
  transform: translateY(-3px);
}
.cat-pill-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg,#eef2ff,#e0e7ff);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cat-pill-icon i {
  font-size: 1.4rem;
  color: #4f46e5;
}
.cat-pill-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cat-pill-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0B1F3A;
  line-height: 1.2;
}
.cat-pill-count {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 2px;
}
.cat-pill-arrow {
  color: #d1d5db;
  font-size: 0.9rem;
  transition: color 0.3s, transform 0.3s;
}
.cat-pill:hover .cat-pill-arrow {
  color: #FF6A00;
  transform: translateX(4px);
}

/* ─── OFFERTE SECTION ─── */
.offerte-section {
  background: #0a1628;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.offerte-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,106,0,0.07) 0%, transparent 65%);
  top: -200px; right: -100px;
  border-radius: 50%;
  pointer-events: none;
}
.offerte-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,106,0,0.8);
  margin-bottom: 4px;
}
.offerte-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  margin: 0;
}
.offerte-countdown {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 0.85rem;
  white-space: nowrap;
}
.offerte-countdown strong {
  color: #FF6A00;
  font-size: 1rem;
}
.offerte-section .product-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: white;
  backdrop-filter: blur(8px);
}
.offerte-section .product-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,106,0,0.5) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4) !important;
}
.offerte-section .card-title {
  color: white;
  font-weight: 700;
}
.offerte-section .card-body {
  padding: 14px 16px;
}
.offerte-section .text-success {
  color: #4ade80 !important;
}
.offerte-section .btn-primary {
  background: linear-gradient(135deg, #FF6A00, #e55c00);
  border: none;
  font-weight: 600;
  font-size: 0.8rem;
}
.offerte-section .btn-primary:hover {
  filter: brightness(1.12);
}

/* ─── Scroll-to-top button ──────────────────────────── */
#scrollTopBtn {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 44px; height: 44px;
  background: #FF6A00;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255,106,0,0.4);
  z-index: 999;
  transition: opacity 0.3s, transform 0.3s;
}
#scrollTopBtn.show {
  display: flex;
}
#scrollTopBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255,106,0,0.5);
}

/* pagination */

/* === PAGINAZIONE === */
.pag-wrap {
  background: #0a1628;
  padding: 2rem 1.5rem;
  display: flex;
  justify-content: center;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  /* flex-wrap: wrap; */
  justify-content: center;
}

.pag-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #2d5080;
  background: #1e3a5f;
  color: #e8edf5;
  text-decoration: none;
  transition: all 0.18s ease;
  user-select: none;
}

.pag-btn:hover:not(.pag-active):not(.pag-disabled):not(.pag-dots) {
  background: #2d5080;
  border-color: #f97316;
  color: #f97316;
}

.pag-btn.pag-active {
  background: #f97316;
  border-color: #f97316;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 0 14px rgba(249,115,22,0.25);
}

.pag-btn.pag-disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.pag-btn.pag-dots {
  cursor: default;
  background: transparent;
  border-color: transparent;
  color: #6b85a8;
  letter-spacing: 2px;
}
