﻿ :root { --main-color: #CB0A20; }

    body {
      background-color: #fff;
      color: #333;
      font-family: 'Segoe UI', Roboto, sans-serif;
      scroll-behavior: smooth;
    }

    /* NAVBAR */
    .navbar {
      background-color: #fff;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .nav-link { color: #333 !important; font-weight: 500; margin-left: 10px; transition: color 0.3s; }
    .nav-link:hover { color: var(--main-color) !important; }
    .navbar-brand img { height: 60px; }
    .cart-icon {
      position: relative;
      color: var(--main-color);
      font-size: 1.5rem;
      margin-left: 15px;
      cursor: pointer;
      transition: transform 0.2s;
    }
    .cart-icon:hover { transform: scale(1.1); }
    .cart-badge {
      position: absolute;
      top: -8px;
      right: -10px;
      background-color: var(--main-color);
      color: #fff;
      border-radius: 50%;
      font-size: 0.7rem;
      padding: 2px 6px;
    }

    /* HERO */
    .hero {
      position: relative;
      height: 55vh;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      text-align: center;
    }
    .hero-bg {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      object-position: center;
      filter: brightness(60%);
      z-index: 0;
    }
    .hero-content { position: relative; z-index: 1; }

    section { padding: 80px 0; }
    .section-title {
      color: var(--main-color);
      font-weight: 700;
      text-align: center;
      margin-bottom: 40px;
    }

    /* SIDEBAR */
    .sidebar {
      background-color: #fff;
      border-right: 1px solid #eee;
      padding: 20px;
      border-radius: 8px;
      position: sticky;
      top: 90px;
      max-height: calc(100vh - 100px);
      overflow-y: auto;
    }
    .sidebar h5 {
      font-weight: 600;
      color: var(--main-color);
      margin-bottom: 15px;
    }
    .sidebar label {
      display: block;
      margin-bottom: 8px;
      font-size: 0.95rem;
      cursor: pointer;
    }

    /* FILTRI ATTIVI */
    .active-filters {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 25px;
    }
    .filter-tag {
      background-color: var(--main-color);
      color: #fff;
      border-radius: 20px;
      padding: 5px 12px;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 5px;
      cursor: pointer;
    }
    .filter-tag i {
      font-size: 0.8rem;
    }

    /* PRODOTTI */
    .product-card {
      border: none;
      border-radius: 12px;
      background: #fff;
      transition: transform 0.3s, box-shadow 0.3s;
      overflow: hidden;
    }
    .product-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    }
    .product-card img {
      width: 100%;
      height: 240px;
      object-fit: cover;
      transition: opacity 0.3s;
    }
    .thumbs {
      display: flex;
      justify-content: center;
      gap: 5px;
      margin-top: 8px;
    }
    .thumbs img {
      width: 50px;
      height: 50px;
      object-fit: cover;
      border-radius: 6px;
      cursor: pointer;
      border: 2px solid transparent;
      transition: border 0.2s;
    }
    .thumbs img:hover,
    .thumbs img.active { border-color: var(--main-color); }
    .card-body { text-align: center; }
    .product-price { font-weight: bold; color: #333; font-size: 1.1rem; }
    .btn-main {
      background-color: var(--main-color);
      color: #fff;
      border: none;
      transition: background 0.3s;
    }
    .btn-main:hover { background-color: #a8091b; }

    footer {
      background-color: #f8f9fa;
      border-top: 1px solid #e5e5e5;
      color: #555;
      text-align: center;
      padding: 30px 0;
    }

    #loader p {
        margin-top: 10px;
        color: #CB0A20;
        font-weight: 500;
    
    }

    .offer-ribbon {
        width: 120px;
        background: #CB0A20;
        color: #fff;
        position: absolute;
        top: 12px;
        left: -35px;
        text-align: center;
        line-height: 28px;
        transform: rotate(-45deg);
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        box-shadow: 0 2px 6px rgba(0,0,0,0.3);
        z-index: 10;
        pointer-events: none;
    }

    .old-price {
        text-decoration: line-through;
        color: #888;
        margin-right: 6px;
        font-size: 0.9rem;
    }



    @media (max-width: 992px) {
      .sidebar { position: relative; top: 0; max-height: none; }
    }

    .Albapet-paw{
  height:24px;
  margin-left:8px;
  opacity:0.85;
  transition:transform .2s ease;
}

.Albapet-paw:hover{
  transform:scale(1.15);
}
