/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

.custom-checkbox input[type=checkbox] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    opacity: 1;
    z-index: 2;
    cursor: pointer;
    position: absolute;
}


/* LIBRERIA MASSIMO VALENTE - CATEGORIA 2498 */

.mv-library {
  --mv-navy: #102c4b;
  --mv-teal: #197b7c;
  --mv-light: #f1f7f7;
  color: var(--mv-navy);
  margin: 20px 0 42px;
  font-family: inherit;
}

/* Banner editoriale */
.mv-library-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 300px;
  padding: 45px 6%;
  background: linear-gradient(
    110deg, #eef6f7 0%, #fff 80%
  );
  border-radius: 5px;
  overflow: hidden;
  gap: 30px;
}

.mv-library-hero-content {
  flex: 1;
}

.mv-library-eyebrow {
  display: inline-block;
  color: var(--mv-teal);
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
}

.mv-library-hero h2 {
  font-family: Georgia, serif;
  font-size: clamp(28px, 3vw, 44px);
  color: var(--mv-navy);
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 700;
}

.mv-library-hero p {
  font-size: 16px;
  line-height: 1.7;
  max-width: 540px;
  margin: 0;
}

/* Libri decorativi realizzati in CSS */
.mv-library-books {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 20px;
  flex-shrink: 0;
}

.mv-library-books span {
  display: block;
  width: 46px;
  height: 160px;
  border-radius: 3px 7px 7px 3px;
  background: #173d5b;
  box-shadow: 4px 7px 12px #0002;
  border-left: 5px solid #ffffff33;
}

.mv-library-books span:nth-child(2) {
  height: 195px;
  background: #258484;
  transform: rotate(-5deg);
}

.mv-library-books span:nth-child(3) {
  height: 140px;
  background: #b7c5c7;
}

/* Introduzione */
.mv-library-intro {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding: 35px 5%;
  margin-top: 25px;
  background: var(--mv-light);
  border-radius: 5px;
}

.mv-library-symbol {
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 1;
  color: var(--mv-teal);
}

.mv-library-intro p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.mv-library-signature {
  margin-top: 20px;
  font-style: italic;
}

/* Smartphone */
@media (max-width: 767px) {
  .mv-library-hero {
    padding: 35px 25px;
    min-height: auto;
  }

  .mv-library-books {
    display: none;
  }

  .mv-library-intro {
    padding: 25px;
    gap: 15px;
  }

  .mv-library-symbol {
    font-size: 40px;
  }
}


/* MASSIMO VALENTE - GRIGLIA PRODOTTI */

/* Schede */
body#category.category-id-2498
.product-miniature {
  border: 1px solid #e2e9ea;
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .2s ease,
              transform .2s ease;
}

body#category.category-id-2498
.product-miniature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(16,44,75,.10);
}

/* Titoli */
body#category.category-id-2498
.product-miniature .product-title,
body#category.category-id-2498
.product-miniature .product-title a {
  color: #102c4b;
  font-weight: 600;
  line-height: 1.45;
}

/* Prezzi */
body#category.category-id-2498
.product-miniature .product-price,
body#category.category-id-2498
.product-miniature .price {
  color: #102c4b;
  font-size: 19px;
  font-weight: 700;
}

/* Prezzi precedenti */
body#category.category-id-2498
.product-miniature .regular-price {
  color: #879197;
  font-size: 13px;
}

/* Pulsanti di acquisto */
body#category.category-id-2498
.product-miniature .add-to-cart {
  background: #197b7c;
  border-color: #197b7c;
  color: #fff;
  border-radius: 5px;
}

body#category.category-id-2498
.product-miniature .add-to-cart:hover {
  background: #105f60;
  border-color: #105f60;
}

/* =========================================
   CATEGORIA 2498 - LAYOUT FULL WIDTH
   ========================================= */

/* Nasconde la sidebar sinistra */
body#category.category-id-2498 #left-column {
    display: none !important;
}

/* Espande il contenuto principale */
body#category.category-id-2498 #content-wrapper {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

