﻿.px1{height: 27px; background: url(../img/px1.jpg) 0 0 repeat-x;}

.hide0 {
display:none;
}
.hide1 {
display:visibility;
}

.qty-box {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.qty-btn {
    width: 28px !important;
    height: 28px !important;
    border: none !important;
    background: #e0e0e0 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    color: #333 !important;
    padding: 0 !important;
    line-height: 28px !important;
    vertical-align: middle !important;
}

.qty-btn:hover {
    background: #d0d0d0 !important;
}

.qty-input {
    width: 40px !important;
    height: 28px !important;
    text-align: center !important;
    font-size: 16px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    color: #000 !important;
    background-color: #fff !important;
    padding: 0 !important;
    line-height: 28px !important;
    margin: 0 !important;
    vertical-align: middle !important;
    position: relative !important;
    top: 0 !important;
}

.btn-carrello {
    display: inline-block !important;
    padding: 8px 14px;          /* &#9989; più piccoli */
    font-size: 14px !important;        /* &#9989; testo più piccolo */
    border-radius: 4px !important;
    text-decoration: none !important;
    color: #fff !important;
    min-width: 180px;           /* &#9989; stessa larghezza */
    text-align: center !important;
    font-weight: 400 !important;
    margin: 5px !important;            /* &#9989; spazio tra pulsanti */
    border: none !important;
    cursor: pointer !important;
    line-height: normal !important;
}

.btn-whatsapp {
    background-color: #25D366 !important;
}

.btn-acquisti {
    background-color: #28a745 !important;
}

.btn-carrello:hover {
    opacity: 0.85 !important;
}

    /* Contenitore prodotto */
.item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Immagine sempre in alto */
.item .wrap {
  flex: 1 0 auto;
}

/* Testo e controlli sempre in basso */
.text {
  flex: 0 0 auto;
  margin-top: auto;
}

/* Card uniforme */
.col-lg-4.col-md-6.mb-30 {
  display: flex;
  flex-direction: column;
}

/* Campo quantità leggibile */
.text input[type="text"],
.text input[type="number"] {
  color: #000 !important;
  background-color: #fff !important;
  border: 1px solid #ccc;
  padding: 4px;
  border-radius: 4px;
}

.hide {
    display: none !important;
}
/* ======= Shop style ======= */
.shop {
    overflow: hidden;
}
.shop .item {
    margin-bottom: 15px;
    border-radius: 10px;
}
.shop .item .wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-align: center;
}
.shop .item .wrap .img {
  position: relative;
  transition: 700ms cubic-bezier(0.17, 0.67, 0, 1.01);
  border-radius: 10px;
  /* Aggiunta bordo grigio e blocco ritaglio */
  border: 1px solid #ddd; /* Grigio chiaro (puoi usare #ccc se lo vuoi un filo più scuro) */
  overflow: hidden;       /* Impedisce all'immagine di uscire dagli angoli arrotondati */
}

.shop .item .wrap .img img {
  width: 100%;
  margin: 0;
  transition: 700ms cubic-bezier(0.17, 0.67, 0, 1.01);
  background-size: cover;
  border-radius: 10px;
}

.shop .item .wrap:hover img {
  opacity: 1;
}

.shop .item .wrap:hover .img {
  transform: scale(0.95);
}
.shop .item .wrap:hover .price {
  opacity: 1;
  transform: translateX(0px);
}
.shop .item .wrap .price {
    background: #91a538;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    position: absolute;
    opacity: 0;
    transform: translateX(-20px);
    transition: 700ms cubic-bezier(0.17, 0.67, 0, 1.01);
    padding: 10px;
    text-align: center;
}
.shop .item .wrap .price h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 0;
  color: #fff;
}
.shop .item .wrap .price h4 span {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    display: block;
    text-transform: uppercase;
}
.shop .text {
    padding: 15px;
    text-align: center;
}
.shop .text h5 {
    color: #152229;
    font-size: 21px;
    margin-bottom: 0;
}
.shop .text p {
    font-family: 'Montserrat', sans-serif;
    color: #5e717b;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
    text-transform: uppercase;
}


/* ======= Shop Details style ======= */
.shop-details {
    position: relative;
}
.shop-details .card {
    border: none;
    overflow: hidden
}
.shop-details h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 32px;
    color: #152229;
    margin-bottom: 5px;
}
.shop-details h2 {
   font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 46px;
    color: #152229;
    margin-bottom: 5px;
}
.shop-details .thumbnail_images ul {
    list-style: none;
    justify-content: center;
    display: flex;
    align-items: center;
    margin-top: 10px;
    padding: 0;
    outline: none;
    overflow: hidden;
}
.shop-details .thumbnail_images ul li {
    margin: 10px;
    padding: 0px;
    cursor: pointer;
    transition: all 0.5s;
    border-radius: 20px;
}
.shop-details .thumbnail_images ul li img {
    border-radius: 20px;
    width: 140px;
    height: 140px;
}
.shop-details .main_image {
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 20px;
    width: 100%;
    overflow: hidden
}

