/* ValeVi Shop - tema fedele al vecchio sito (PrestaShop default-bootstrap). Carica dopo style.css/extra.css. */
:root { --vv-text:#777; --vv-dark:#333; --vv-line:#d6d4d4; --vv-bg:#f6f6f6; --vv-accent:#990066; --vv-blue1:#009ad0; --vv-blue2:#007ab7; }
body { font-family: Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 14px; color: var(--vv-text); background:#fff; margin:0; }
a { color: #484848; text-decoration: none; } a:hover { color: var(--vv-accent); }
h1, h2, h3 { font-family: "Open Sans", Roboto, sans-serif; color: var(--vv-dark); font-weight: 600; text-transform: none; }
.wrap { max-width: 1170px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.site-main { max-width: 1170px; margin: 0 auto; padding: 0 15px 30px; box-sizing: border-box; }

/* --- Testata --- */
.site-header { display:block; padding:0; border:0; background:none; position:static; box-shadow:none; }
.top-bar { background: #5a1f40 url(/assets/banner.jpg) center / cover no-repeat; color:#fff; height:65px; line-height:65px; }
.top-bar .wrap { display:flex; justify-content:space-between; align-items:center; height:65px; }
.top-bar a, .top-bar strong { color:#fff; margin-left:18px; font-weight:700; text-shadow:0 1px 2px rgba(0,0,0,.6); font-size:14px; }
.top-contact { text-shadow:0 1px 2px rgba(0,0,0,.6); } .top-contact a { margin-left:4px; }
.header-main { display:flex; align-items:center; gap:30px; padding-top:18px; padding-bottom:18px; flex-wrap:wrap; }
.header-main .logo { flex:0 0 370px; max-width:100%; } .header-main .logo img { display:block; width:100%; height:auto; }
.search-form { display:flex; flex:0 1 370px; margin:0 auto 0 0; min-width:220px; }
.search-form input { flex:1; height:45px; border:1px solid var(--vv-line); border-right:0; padding:0 14px; font:inherit; border-radius:0; box-sizing:border-box; min-width:0; }
.search-form button { width:50px; height:45px; border:0; background:var(--vv-dark); color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; padding:0; }
.cart-link { margin-left:auto; flex:0 0 270px; height:46px; box-sizing:border-box; background:var(--vv-bg); color:#646464; display:flex; align-items:center; gap:10px; padding:0 18px; font-size:16px; }
.cart-link b { font-weight:700; } .cart-ico { font-size:18px; filter:grayscale(1); opacity:.7; }
.main-nav { padding-top:0; padding-bottom:0; }
.main-nav ul { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; background:var(--vv-bg); border-bottom:3px solid #e9e9e9; }
.main-nav li { border-right:1px solid var(--vv-line); }
.main-nav a { display:block; padding:19px 20px 16px; font-size:16px; font-weight:700; text-transform:uppercase; color:#484848; border-bottom:3px solid #e9e9e9; margin-bottom:-3px; }
.main-nav a:hover, .main-nav a.active { background:var(--vv-dark); color:#fff; border-bottom-color:var(--vv-dark); }

/* --- Breadcrumb e titoli --- */
.breadcrumb { display:inline-block; background:var(--vv-bg); border:1px solid var(--vv-line); border-radius:3px; padding:5px 14px; margin:25px 0 20px; font-weight:700; font-size:14px; }
.breadcrumb a { color:#333; }
.site-main h1 { font-size:24px; text-transform:uppercase; border-bottom:1px solid var(--vv-line); padding-bottom:14px; margin:10px 0 20px; }
.decorative { font-family:"Open Sans", sans-serif !important; }

/* --- Home --- */
.hero-slider { position:relative; margin:20px 0; background:var(--vv-bg); height:520px; overflow:hidden; }
.hero-slider .slide { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; opacity:0; transition:opacity .7s; }
.hero-slider .slide.is-on { opacity:1; }
.hero-slider button { position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border:0; background:rgba(51,51,51,.7); color:#fff; font-size:28px; cursor:pointer; }
.sl-prev { left:0; } .sl-next { right:0; }
.page-intro { text-align:left; padding:0; margin:0 0 10px; } .page-intro h1 { display:none; }
.page-intro p { margin:0 0 10px; }
.tab-title { display:inline-block; background:var(--vv-dark); color:#fff; font-size:21px; font-weight:600; text-transform:uppercase; padding:10px; margin:20px 0 25px; }
.home-cats h2 { font-size:18px; text-transform:uppercase; }
.cat-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(190px,1fr)); gap:12px; }
.cat-tile { display:block; padding:14px; text-align:center; background:var(--vv-bg); border:1px solid var(--vv-line); font-weight:700; text-transform:uppercase; color:#484848; }
.cat-tile:hover { background:var(--vv-dark); color:#fff; }

/* --- Prodotti (card) --- */
.product-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(230px,1fr)); gap:24px 20px; }
.product-card { border:0; padding:0; background:none; box-shadow:none; }
.product-card-img { display:block; border:1px solid var(--vv-line); padding:5px; background:#fff; }
.product-card-img img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover; }
.product-card-title { font-family:Roboto, sans-serif; font-size:16px; font-weight:400; margin:12px 0 4px; } .product-card-title a { color:#3a3939; }
.product-card-price { color:#777; font-size:16px; margin:0 0 8px; } .product-card-price small { font-size:11px; }
.made-to-order { font-size:12px; color:#999; margin:0 0 8px; }
.btn, button.btn, a.btn { display:inline-block; background:linear-gradient(var(--vv-blue1), var(--vv-blue2)); color:#fff !important; border:1px solid #0079b6; border-bottom-color:#012740; border-radius:3px; padding:6px 12px; font:700 13px Roboto, sans-serif; cursor:pointer; text-align:center; text-decoration:none; width:auto; }
.btn:hover { background:linear-gradient(var(--vv-blue2), #006fa3); }
.btn.btn-secondary { background:#f6f6f6; color:#333 !important; border-color:var(--vv-line); }

/* --- Scheda prodotto --- */
.product-detail { display:grid; grid-template-columns: minmax(0,470px) minmax(0,1fr) 270px; gap:30px; align-items:start; margin-top:10px; }
.product-gallery .gallery-main { border:1px solid var(--vv-line); padding:6px; }
.product-gallery .gallery-main img { display:block; width:100%; height:auto; }
.gallery-thumbs { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.gallery-thumbs .thumb { border:1px solid var(--vv-line); padding:2px; background:#fff; cursor:pointer; width:82px; } .gallery-thumbs .thumb.is-active { border-color:var(--vv-dark); }
.gallery-thumbs img { width:100%; height:auto; display:block; }
.product-main h1 { color:var(--vv-accent); text-transform:none; font-family:Roboto, sans-serif; font-size:24px; font-weight:700; border:0; padding:0; margin:6px 0 18px; }
.product-short { font-size:16px; margin-bottom:16px; } .product-desc { line-height:1.6; }
.product-box { background:var(--vv-bg); border:1px solid #b0afaf; padding:19px; }
.product-box .product-price { margin:0 0 14px; font-family:"Open Sans", sans-serif; font-size:29px; font-weight:600; color:var(--vv-dark); }
.product-box .product-price small { font-size:11px; font-weight:700; color:#555; }
.product-box label { display:block; font-weight:700; color:#333; margin:14px 0 4px; }
.product-box select, .product-box input[type=number] { width:100%; height:32px; border:1px solid var(--vv-line); background:#fff; font:inherit; box-sizing:border-box; padding:0 6px; }
.product-box input[type=number] { width:80px; }
.product-box .btn-cart { display:block; width:100%; margin-top:18px; padding:18px 10px; font-size:17px; border-radius:5px; }

/* --- Paginazione e varie --- */
.pagination { display:flex; gap:14px; align-items:center; margin:28px 0; font-weight:700; }
.pagination a { color:#333; padding:3px 10px; border:1px solid var(--vv-line); background:var(--vv-bg); }
.flash { max-width:1170px; margin:12px auto; padding:10px 15px; background:#dff0d8; border:1px solid #b6d7a8; box-sizing:border-box; }

/* --- Footer --- */
.site-footer { background:var(--vv-dark); color:#bbb; padding:0; margin-top:40px; text-align:left; }
.footer-social { background:#404040; padding:18px 0; } .footer-social .wrap { display:flex; justify-content:flex-end; align-items:center; gap:14px; }
.footer-social strong { color:#fff; font:700 20px "Open Sans", sans-serif; margin-right:6px; }
.footer-social a { width:36px; height:36px; border-radius:50%; background:#777; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:14px; }
.footer-social a:hover { background:var(--vv-accent); }
.footer-main { display:grid; grid-template-columns:1fr 1fr 1.6fr; gap:30px; padding-top:40px; padding-bottom:50px; }
.fcol h4 { color:#fff; font:700 18px "Open Sans", sans-serif; margin:0 0 18px; }
.fcol ul { list-style:none; margin:0; padding:0; } .fcol li { margin:0 0 8px; }
.fcol a { color:#bbb; font-weight:700; } .fcol a:hover { color:#fff; }
.fstore { border-left:1px solid #555; padding-left:30px; } .fstore p { margin:0 0 12px; line-height:1.7; }

/* --- Mobile --- */
@media (max-width: 900px) {
  .top-bar { height:auto; line-height:1.4; } .top-bar .wrap { height:auto; padding-top:8px; padding-bottom:8px; flex-wrap:wrap; gap:4px; }
  .header-main { gap:12px; } .header-main .logo { flex:0 0 220px; } .cart-link { flex:1 1 100%; margin-left:0; }
  .search-form { flex:1 1 100%; }
  .main-nav ul { flex-direction:column; } .main-nav li { border-right:0; border-bottom:1px solid var(--vv-line); }
  .hero-slider { height:320px; }
  .product-detail { grid-template-columns:1fr; }
  .footer-main { grid-template-columns:1fr; } .fstore { border-left:0; padding-left:0; } .footer-social .wrap { justify-content:center; }
}

/* --- Ritocchi dopo il confronto con il vecchio sito --- */
.search-form button svg { width:18px; height:18px; display:block; }
.cart-link .cart-n #cart-count { background:none; color:inherit; border-radius:0; padding:0; min-width:0; font-weight:700; }
.main-nav.wrap { padding-left:15px; padding-right:15px; } .main-nav ul { border-bottom:3px solid #e9e9e9; }
.main-nav li:first-child a { padding-left:20px; }
.home-cats h2, .subcats h2 { color:#333; font-size:18px; text-transform:uppercase; }
.sale-badge { display:inline-block; background:#f13340; color:#fff; font-weight:700; font-size:16px; padding:2px 6px; margin:0 4px; vertical-align:middle; }
.product-card-price del, .product-box del { color:#999; margin-left:4px; font-size:.85em; }
.product-box .was { display:block; margin-top:6px; font-weight:400; color:#777; }
#toast:empty { display:none; }
.site-main h1.decorative, .site-main h1 { color:#333; }
.product-main h1 { color:var(--vv-accent); }
@media (max-width: 900px) {
  .main-nav ul { flex-direction:row; flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .main-nav li { border-right:1px solid var(--vv-line); border-bottom:0; flex:0 0 auto; }
  .main-nav a { padding:14px 14px 11px; white-space:nowrap; font-size:14px; }
}

/* --- Account e fatturazione --- */
.account-form { max-width:520px; } .account-form .field input, .checkout-form .field input { width:100%; box-sizing:border-box; }
.check { display:flex; gap:8px; align-items:flex-start; font-weight:400; }
.invoice-box { margin:0 0 1rem; padding:12px 14px; background:var(--vv-bg); border:1px solid var(--vv-line); }
.invoice-fields { display:none; margin-top:12px; } .invoice-box:has(#f-invoice:checked) .invoice-fields { display:block; }
.invoice-box .hint { margin:0 0 10px; font-size:13px; color:#777; }
.table-wrap { overflow-x:auto; } .orders-table { border-collapse:collapse; width:100%; } .orders-table th, .orders-table td { border-bottom:1px solid var(--vv-line); padding:8px 10px; text-align:left; }
.form-error { color:#c0392b; font-size:13px; margin-top:3px; }
.hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.account-form textarea { width:100%; box-sizing:border-box; border:1px solid var(--vv-line); padding:8px; font:inherit; }
.contact-info { margin-bottom:10px; }

/* =========================================================
   Home e vetrina in stile moda (editoriale): foto grandi, tipografia Playfair, aria
   ========================================================= */
:root { --vv-warm:#faf5f3; --vv-ink:#2a1f26; --serif:"Playfair Display", Georgia, "Times New Roman", serif; }
.hero-slider { height:clamp(360px, 58vw, 620px); background:#f1ebe8; margin:0 0 0; }
.hero-slider .slide { object-fit:contain; }
.hero-caption { position:absolute; left:0; right:0; bottom:0; padding:48px 5% 30px; color:#fff; background:linear-gradient(transparent, rgba(35,15,28,.62)); text-align:left; z-index:2; }
.hero-caption h1 { font-family:var(--serif); font-style:italic; font-weight:400; text-transform:none; border:0; color:#fff; margin:0 0 6px; padding:0; font-size:clamp(26px, 4.2vw, 46px); line-height:1.15; }
.hero-caption p { margin:0 0 16px; font-size:clamp(14px, 1.6vw, 18px); letter-spacing:.04em; opacity:.95; }
.hero-cta { display:inline-block; border:1px solid #fff; color:#fff !important; padding:10px 26px; letter-spacing:.18em; text-transform:uppercase; font-size:12px; font-weight:700; transition:background .25s, color .25s; }
.hero-cta:hover { background:#fff; color:var(--vv-ink) !important; }
.hero-slider button { width:40px; height:40px; background:rgba(255,255,255,.55); color:var(--vv-ink); font-size:24px; z-index:3; }
.hero-slider button:hover { background:#fff; }
.page-intro { display:none; }

.lookbook { display:grid; grid-template-columns:repeat(auto-fit, minmax(210px,1fr)); gap:14px; margin:34px 0 10px; }
.look { position:relative; display:block; aspect-ratio:4/5; overflow:hidden; background:var(--vv-warm); }
.look img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s ease; }
.look::after { content:""; position:absolute; inset:0; background:linear-gradient(transparent 55%, rgba(35,15,28,.6)); }
.look span { position:absolute; left:0; right:0; bottom:16px; z-index:2; text-align:center; color:#fff; font-size:13px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; }
.look:hover img { transform:scale(1.06); }

.fashion-title { font-family:var(--serif); font-weight:400; font-size:clamp(24px, 3vw, 32px); color:var(--vv-ink); text-align:center; margin:56px 0 28px; display:flex; align-items:center; gap:22px; text-transform:none; border:0; }
.fashion-title::before, .fashion-title::after { content:""; flex:1; height:1px; background:var(--vv-line); }
.fashion-title.left { justify-content:flex-start; margin-top:0; } .fashion-title.left::before { display:none; }
.fashion-title span { font-style:italic; }

.product-grid { gap:30px 18px; }
.product-card-img { position:relative; border:0; padding:0; background:var(--vv-warm); overflow:hidden; aspect-ratio:4/5; }
.product-card-img img { position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; object-fit:cover; transition:opacity .5s ease, transform .6s ease; }
.product-card-img .pc-alt { opacity:0; }
.product-card:hover .pc-alt { opacity:1; } .product-card:hover .pc-main { transform:scale(1.03); }
.product-card-title { font-family:Roboto, sans-serif; font-size:15px; letter-spacing:.02em; margin:12px 0 2px; }
.product-card-price { color:var(--vv-ink); font-size:15px; margin:0 0 8px; } .product-card-price small { color:#999; }
.product-card .btn, .product-card a.btn { background:none; border:1px solid var(--vv-ink); color:var(--vv-ink) !important; border-radius:0; font-size:11px; letter-spacing:.16em; text-transform:uppercase; padding:8px 16px; }
.product-card .btn:hover { background:var(--vv-ink); color:#fff !important; }

.story { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:48px; align-items:center; background:var(--vv-warm); margin:70px 0 0; padding:44px 5%; }
.story-img img { width:100%; max-height:520px; object-fit:cover; object-position:top; display:block; }
.story-text p { font-size:16px; line-height:1.85; color:#5a4d55; margin:0 0 14px; }
.info-strip { display:grid; grid-template-columns:repeat(auto-fit, minmax(210px,1fr)); gap:26px; margin:40px 0 0; padding:26px 0 6px; border-top:1px solid var(--vv-line); font-size:13px; }
.info-strip h3 { font:700 11px Roboto, sans-serif; letter-spacing:.2em; text-transform:uppercase; color:var(--vv-ink); margin:0 0 8px; }
.info-strip p { margin:0; line-height:1.7; color:#777; } .info-strip a { color:var(--vv-accent); }
@media (max-width: 900px) {
  .story { grid-template-columns:1fr; gap:22px; padding:28px 5%; } .story-img img { max-height:380px; }
  .lookbook { grid-template-columns:repeat(2,1fr); gap:10px; } .look span { font-size:11px; letter-spacing:.14em; bottom:10px; }
}
@media (max-width: 600px) { .product-grid { grid-template-columns:repeat(2, 1fr); gap:22px 10px; } .product-card-title { font-size:13px; } .product-card .btn { padding:7px 10px; } }

/* --- Campi dei moduli: cornice appena accennata, ben leggibili --- */
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="password"],
.field input[type="number"], .field input[type="search"], .field textarea, .field select,
.account-form input[type="text"], .account-form input[type="email"], .account-form input[type="tel"], .account-form input[type="password"], .account-form textarea,
.checkout-form input[type="text"], .checkout-form input[type="email"], .checkout-form input[type="tel"], .checkout-form select, .checkout-form textarea {
  width:100%; box-sizing:border-box; padding:10px 12px; background:#fff; color:#333; font:inherit; font-size:15px;
  border:1px solid #cfc7c7; border-radius:4px; box-shadow:inset 0 1px 2px rgba(0,0,0,.04);
  transition:border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus, .account-form input:focus, .account-form textarea:focus, .checkout-form input:focus, .checkout-form select:focus, .checkout-form textarea:focus {
  outline:0; border-color:var(--vv-accent); box-shadow:0 0 0 3px rgba(153,0,102,.12);
}
.field input[aria-invalid="true"] { border-color:#c0392b; }
.field label { font-weight:700; color:#444; margin-bottom:5px; }
.account-form .field, .checkout-form .field { margin-bottom:16px; }
.checkout-section { border:1px solid #e4dede; border-radius:4px; padding:18px 20px; margin:0 0 18px; }
.checkout-section legend { padding:0 8px; }
.invoice-box { border-color:#e4dede; background:#fbf9f8; }
/* Caselle di spunta: testo e link in linea con il quadratino */
label.check { display:block !important; font-weight:400 !important; color:#555; line-height:1.5; }
label.check input[type="checkbox"] { display:inline-block !important; width:auto !important; margin:0 8px 0 0; vertical-align:-2px; box-shadow:none; }
.price-net { display:block; font-size:12px; color:#999; font-weight:400; margin-top:2px; }
.product-box .price-net { font-size:13px; margin-top:4px; }
.vat-note { font-size:12px; color:#888; font-weight:400 !important; }
