/* Music Store - Strumenti Musicali & Audio Professionale */
:root {
  --primary: #ef4444;
  --primary-dark: #dc2626;
  --primary-glow: rgba(239, 68, 68, 0.25);
  --accent: #f97316;
  --dark-bg: #f8fafc;
  --dark-card: #ffffff;
  --dark-border: #e2e8f0;
  --text: #1e293b;
  --text-muted: #64748b;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: var(--dark-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.site-topbar {
  background: #121212;
  color: #94a3b8;
  font-size: 0.775rem;
  border-bottom: 1px solid #242424;
  padding: 6px 0;
}

.site-topbar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.topbar-item a {
  color: #e2e8f0;
}

.topbar-item a:hover {
  color: #ef4444;
}

.topbar-sep {
  color: #475569;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-badge {
  color: #cbd5e1;
  font-weight: 500;
}

.topbar-badge-red {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.725rem;
}

/* ==========================================================================
   HEADER (EXACT ORIGINAL LAYOUT FROM cover.jpg)
   ========================================================================== */
.site-header-original,
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.header-top-bar {
  background: #ffffff;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

.header-top-flex,
.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 94px;
}

.brand-logo-wrap,
.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 88px;
  max-height: 94px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand-logo-wrap:hover .brand-logo-img,
.brand-link:hover .brand-logo-img {
  transform: scale(1.04);
}

.brand-title-box {
  display: none !important;
}

/* Header Right: Search & Cart */
.header-right-tools,
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-search-form {
  display: flex;
  align-items: center;
}

.header-search-input {
  height: 38px;
  width: 230px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-size: 0.875rem;
  color: #1e293b;
  outline: none;
  background: #ffffff;
  transition: border-color 0.2s;
}

.header-search-input:focus {
  border-color: #ef4444;
}

.header-search-btn {
  height: 38px;
  width: 44px;
  background: #111111;
  color: #ffffff;
  border: none;
  border-radius: 0 4px 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.header-search-btn:hover {
  background: #ef4444;
}

.header-cart-btn,
.cart-trigger-btn {
  height: 38px;
  padding: 0 14px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.header-cart-btn:hover,
.cart-trigger-btn:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: #fff;
}

.cart-badge {
  background: #ef4444;
  color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.725rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Navigation Bar (Dark Full-width from cover.jpg) */
.main-dark-navbar {
  background: #222222;
  border-top: 1px solid #333333;
}

.dark-nav-list,
.main-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-link,
.main-nav a {
  display: block;
  padding: 13px 22px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover,
.main-nav a:hover {
  background: #333333;
  color: #f87171;
}

.nav-link.active,
.main-nav a.active {
  background: #383838;
  color: #ffffff;
  box-shadow: inset 0 -3px 0 #ef4444;
}

/* ==========================================================================
   HERO SECTION (WIDESCREEN & FILTER BAR FROM cover.jpg)
   ========================================================================== */
.hero-banner-widescreen {
  position: relative;
  min-height: 480px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.68) 100%),
              url('images/41323.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.hero-inner-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-original-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.85);
}

.hero-original-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 720px;
  margin-bottom: 36px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
  font-weight: 400;
}

/* Filter Capsule Pill (Exact recreation from cover.jpg) */
.hero-filter-capsule {
  background: rgba(18, 18, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  padding: 10px 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  max-width: 1060px;
  width: 100%;
}

.capsule-field {
  flex: 1 1 140px;
}

.capsule-select,
.capsule-input {
  width: 100%;
  height: 38px;
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  padding: 0 12px;
  font-size: 0.85rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.capsule-select:focus,
.capsule-input:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.capsule-submit-btn {
  height: 38px;
  padding: 0 28px;
  background: #ffffff;
  color: #111111;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.capsule-submit-btn:hover {
  background: #ef4444;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================================================
   5 CATEGORY BANNERS (EXACT ORIGINAL LAYOUT FROM cover.jpg)
   ========================================================================== */
.category-banners-section {
  padding: 12px 0 45px;
}

.container-banners {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cat-banners-row-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cat-banners-row-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.cat-banner-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 3px;
}

.cat-card-1,
.cat-card-2 {
  height: 230px;
}

.cat-card-3,
.cat-card-4,
.cat-card-5 {
  height: 185px;
}

.cat-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.cat-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  transition: background 0.3s ease;
}

.cat-banner-card:hover .cat-banner-bg {
  transform: scale(1.06);
}

.cat-banner-card:hover .cat-banner-overlay {
  background: rgba(0, 0, 0, 0.24);
}

.cat-banner-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 16px;
}

.cat-badge-orig {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fca5a5;
  margin-bottom: 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.cat-title-orig {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 25px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   ULTIMI ARRIVI / CATALOG SECTION (cover.jpg LAYOUT)
   ========================================================================== */
.section-ultimi-arrivi {
  padding: 40px 0 80px;
  background: #f8fafc;
}

.ultimi-arrivi-header {
  text-align: center;
  margin-bottom: 30px;
}

.ultimi-arrivi-title {
  font-size: 2.15rem;
  font-weight: 700;
  color: #111111;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.ultimi-arrivi-line {
  width: 50px;
  height: 3px;
  background: #ef4444;
  margin: 0 auto;
  border-radius: 2px;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-tab {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:hover {
  border-color: #ef4444;
  color: #ef4444;
}

.filter-tab.active {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.prod-img-wrap {
  position: relative;
  height: 270px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden;
}

.prod-img-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.prod-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: 250px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
  transition: transform 0.35s ease;
}

.product-card:hover .prod-img-wrap img {
  transform: scale(1.08);
}

/* Cart Button in Top Right of Card (From cover.jpg) */
.card-cart-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #111111;
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
}

.card-cart-btn:hover {
  background: #ef4444;
  transform: scale(1.08);
}

.prod-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prod-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prod-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.35;
}

.prod-desc {
  font-size: 0.825rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.prod-specs-badge {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.725rem;
  color: #475569;
  margin-bottom: 14px;
}

.prod-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.prod-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.prod-price-orig {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.prod-actions-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.btn-scheda-prod {
  background: #111111;
  color: #ffffff;
  text-align: center;
  padding: 9px 14px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-scheda-prod:hover {
  background: #ef4444;
  color: #ffffff;
}

.btn-wa-inquire {
  background: #25d366;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-wa-inquire:hover {
  background: #20bd5a;
}

/* ==========================================================================
   SERVICES & TESTIMONIALS
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-darker {
  background: #f1f5f9;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ef4444;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.1rem;
  color: #0f172a;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: #64748b;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 32px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  border-color: #ef4444;
  transform: translateY(-4px);
}

.service-title {
  font-size: 1.2rem;
  color: #0f172a;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ef4444;
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.35);
}

/* Testimonials */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.testi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.testi-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.testi-text {
  font-style: italic;
  font-size: 1rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 16px;
}

.testi-author strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
}

.testi-author span {
  font-size: 0.8rem;
  color: #ef4444;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #181818;
  color: #9ca3af;
  padding: 70px 0 30px;
  font-size: 0.875rem;
  border-top: 1px solid #282828;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .brand-name {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #9ca3af;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid #282828;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: #6b7280;
}

/* ==========================================================================
   CART DRAWER & FLOATING WA
   ========================================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 2000;
  display: none;
}

.cart-overlay.open {
  display: block;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 420px;
  max-width: 90vw;
  height: 100vh;
  background: #ffffff;
  color: #1e293b;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.35);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 20px 24px;
  background: #111111;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #ffffff;
  line-height: 1;
}

.cart-items-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: #64748b;
}

.cart-row {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.cart-row img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.cart-footer {
  padding: 20px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.cart-total-box {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: #0f172a;
}

.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.2s, background 0.2s;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  background: #20bd5a;
}

/* Detail & Subpages Commons */
.page-hero {
  background: #181818;
  padding: 50px 0;
  border-bottom: 1px solid #282828;
}

.page-hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-hero-desc {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 650px;
}

.breadcrumb-nav {
  margin-bottom: 16px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
}

.breadcrumb-list a {
  color: #94a3b8;
}

.breadcrumb-list a:hover {
  color: #ffffff;
}

.breadcrumb-separator {
  color: #475569;
}

/* Detail Product Layout */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.prod-gallery-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-detail-img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}

.prod-info-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.prod-sku-badge {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.prod-detail-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}

.prod-price-box {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 20px;
}

.prod-price-big {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ef4444;
}

.prod-price-old {
  font-size: 1.3rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.prod-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #16a34a;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.prod-highlights-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 16px;
  margin: 20px 0;
}

.prod-highlights-box h4 {
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 6px;
}

.btn-wa-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-wa-order:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

/* Service Liuteria Cards */
.luthier-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}

.luthier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Responsive */
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .header-top-flex {
    flex-direction: column;
    gap: 14px;
    padding: 8px 0;
  }
  .hero-original-title {
    font-size: 2.2rem;
  }
  .hero-filter-capsule {
    flex-direction: column;
    align-items: stretch;
  }
  .cat-banners-row-top {
    grid-template-columns: 1fr;
  }
  .cat-banners-row-bottom {
    grid-template-columns: 1fr;
  }
  .cat-card-1, .cat-card-2, .cat-card-3, .cat-card-4, .cat-card-5 {
    height: 180px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .dark-nav-list {
    justify-content: center;
  }
  .nav-link {
    padding: 10px 14px;
    font-size: 0.775rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   PAGE SPECIFIC STYLES (Consolidated from in-page <style> tags)
   ========================================================================== */

/* Extracted from carrello.php */
.cart-page-section {
      padding: 40px 0 90px;
      background: #f8fafc;
      min-height: 70vh;
    }

    .cart-hero-header {
      margin-bottom: 30px;
    }

    .cart-page-title {
      font-size: 2.2rem;
      font-weight: 800;
      color: #0f172a;
      margin-bottom: 6px;
    }

    .cart-page-subtitle {
      color: #64748b;
      font-size: 1rem;
    }

    .cart-main-grid {
      display: grid;
      grid-template-columns: 1fr 380px;
      gap: 32px;
      align-items: start;
    }

    /* Cart Table Card */
    .cart-card-box {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
      overflow: hidden;
      margin-bottom: 30px;
    }

    .cart-card-header {
      padding: 18px 24px;
      background: #f8fafc;
      border-bottom: 1px solid #e2e8f0;
      font-weight: 700;
      color: #0f172a;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .cart-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
    }

    .cart-table th {
      padding: 14px 20px;
      background: #f8fafc;
      font-size: 0.8rem;
      font-weight: 700;
      color: #64748b;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      border-bottom: 1px solid #e2e8f0;
    }

    .cart-table td {
      padding: 18px 20px;
      border-bottom: 1px solid #f1f5f9;
      vertical-align: middle;
    }

    .cart-item-col {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .cart-item-thumb {
      width: 72px;
      height: 72px;
      object-fit: contain;
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 6px;
      padding: 6px;
      flex-shrink: 0;
    }

    .cart-item-title {
      font-size: 0.95rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 4px;
      text-decoration: none;
    }

    .cart-item-title:hover {
      color: #ef4444;
    }

    .cart-item-meta {
      font-size: 0.775rem;
      color: #64748b;
    }

    .cart-item-badge {
      display: inline-block;
      font-size: 0.7rem;
      font-weight: 700;
      color: #059669;
      background: #ecfdf5;
      padding: 2px 8px;
      border-radius: 4px;
      margin-top: 4px;
    }

    .cart-qty-ctrl {
      display: inline-flex;
      align-items: center;
      border: 1px solid #cbd5e1;
      border-radius: 4px;
      overflow: hidden;
      background: #ffffff;
    }

    .cart-qty-btn {
      width: 32px;
      height: 32px;
      background: #f8fafc;
      border: none;
      color: #0f172a;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
    }

    .cart-qty-btn:hover {
      background: #e2e8f0;
    }

    .cart-qty-input {
      width: 44px;
      height: 32px;
      border: none;
      text-align: center;
      font-size: 0.875rem;
      font-weight: 700;
      color: #0f172a;
      outline: none;
    }

    .cart-item-price {
      font-size: 1.05rem;
      font-weight: 800;
      color: #0f172a;
      white-space: nowrap;
    }

    .cart-item-del-btn {
      background: none;
      border: none;
      color: #94a3b8;
      cursor: pointer;
      padding: 8px;
      border-radius: 4px;
      transition: all 0.2s;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .cart-item-del-btn:hover {
      color: #ef4444;
      background: #fee2e2;
    }

    .cart-actions-bar {
      padding: 16px 24px;
      background: #f8fafc;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
    }

    .cart-coupon-box {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .cart-coupon-input {
      height: 38px;
      padding: 0 12px;
      border: 1px solid #cbd5e1;
      border-radius: 4px;
      font-size: 0.85rem;
      outline: none;
    }

    .cart-coupon-input:focus {
      border-color: #ef4444;
    }

    .cart-coupon-btn {
      height: 38px;
      padding: 0 16px;
      background: #111111;
      color: #ffffff;
      border: none;
      border-radius: 4px;
      font-weight: 700;
      font-size: 0.85rem;
      cursor: pointer;
      transition: background 0.2s;
    }

    .cart-coupon-btn:hover {
      background: #ef4444;
    }

    /* Checkout Form Box */
    .checkout-form-box {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 28px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }

    .checkout-form-title {
      font-size: 1.35rem;
      font-weight: 800;
      color: #0f172a;
      margin-bottom: 20px;
      padding-bottom: 12px;
      border-bottom: 1px solid #e2e8f0;
    }

    .form-grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 16px;
    }

    .form-group {
      margin-bottom: 16px;
    }

    .form-group label {
      display: block;
      font-size: 0.825rem;
      font-weight: 700;
      color: #334155;
      margin-bottom: 6px;
    }

    .form-control {
      width: 100%;
      height: 40px;
      padding: 0 14px;
      border: 1px solid #cbd5e1;
      border-radius: 4px;
      font-size: 0.9rem;
      color: #0f172a;
      outline: none;
      transition: border-color 0.2s;
      background: #ffffff;
    }

    textarea.form-control {
      height: 80px;
      padding: 10px 14px;
      resize: vertical;
    }

    .form-control:focus {
      border-color: #ef4444;
      box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15);
    }

    /* Payment Methods */
    .payment-methods-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-top: 14px;
    }

    .payment-option-card {
      border: 1px solid #cbd5e1;
      border-radius: 6px;
      padding: 14px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 10px;
      transition: all 0.2s;
      background: #ffffff;
    }

    .payment-option-card:hover {
      border-color: #ef4444;
    }

    .payment-option-card.selected {
      border-color: #ef4444;
      background: #fef2f2;
    }

    .payment-option-card input[type="radio"] {
      accent-color: #ef4444;
    }

    .payment-option-card strong {
      display: block;
      font-size: 0.875rem;
      color: #0f172a;
    }

    .payment-option-card span {
      font-size: 0.75rem;
      color: #64748b;
    }

    /* Summary Sticky Card */
    .cart-summary-card {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 26px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      position: sticky;
      top: 110px;
    }

    .summary-title {
      font-size: 1.25rem;
      font-weight: 800;
      color: #0f172a;
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 1px solid #e2e8f0;
    }

    .summary-progress-box {
      background: #f1f5f9;
      border-radius: 6px;
      padding: 12px;
      margin-bottom: 18px;
      font-size: 0.825rem;
      color: #334155;
    }

    .summary-bar-track {
      background: #e2e8f0;
      height: 6px;
      border-radius: 10px;
      overflow: hidden;
      margin-top: 8px;
    }

    .summary-bar-fill {
      height: 100%;
      background: #10b981;
      width: 0%;
      transition: width 0.3s ease;
    }

    .sum-line {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.925rem;
      color: #475569;
      margin-bottom: 12px;
    }

    .sum-line.total {
      font-size: 1.35rem;
      font-weight: 900;
      color: #0f172a;
      padding-top: 14px;
      margin-top: 14px;
      border-top: 2px solid #e2e8f0;
    }

    .btn-submit-order {
      width: 100%;
      padding: 14px;
      background: #ef4444;
      color: #ffffff;
      font-weight: 800;
      font-size: 1rem;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      transition: all 0.2s ease;
      margin-top: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .btn-submit-order:hover {
      background: #dc2626;
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(239, 68, 68, 0.35);
    }

    .btn-whatsapp-order {
      width: 100%;
      padding: 12px;
      background: #25d366;
      color: #ffffff;
      font-weight: 700;
      font-size: 0.9rem;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      margin-top: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      text-decoration: none;
      transition: background 0.2s;
    }

    .btn-whatsapp-order:hover {
      background: #20bd5a;
    }

    .cart-guarantees-list {
      list-style: none;
      margin-top: 24px;
      padding-top: 18px;
      border-top: 1px solid #f1f5f9;
      font-size: 0.785rem;
      color: #64748b;
    }

    .cart-guarantees-list li {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
    }

    .cart-empty-view {
      text-align: center;
      padding: 80px 20px;
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
    }

    .cart-empty-view svg {
      color: #cbd5e1;
      margin-bottom: 18px;
    }

    .cart-empty-view h3 {
      font-size: 1.5rem;
      color: #0f172a;
      margin-bottom: 8px;
    }

    .cart-empty-view p {
      color: #64748b;
      margin-bottom: 24px;
    }

    /* Modal Conferma Ordine */
    .order-success-modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(4px);
      z-index: 3000;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .order-success-modal.show {
      display: flex;
    }

    .order-modal-card {
      background: #ffffff;
      border-radius: 12px;
      max-width: 520px;
      width: 100%;
      padding: 36px 30px;
      text-align: center;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    }

    @media (max-width: 992px) {
      .cart-main-grid {
        grid-template-columns: 1fr;
      }
      .payment-methods-grid {
        grid-template-columns: 1fr;
      }
      .form-grid-2 {
        grid-template-columns: 1fr;
      }
    }


/* Responsive Layout Grid Utilities (Auto-migrated from inline styles) */
.grid-2col-responsive {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.grid-split-responsive {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.grid-split-rev-responsive {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}
.grid-3col-responsive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.grid-4col-responsive {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .grid-4col-responsive {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3col-responsive {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-split-responsive,
  .grid-split-rev-responsive {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .grid-2col-responsive,
  .grid-3col-responsive,
  .grid-4col-responsive,
  .grid-split-responsive,
  .grid-split-rev-responsive {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile Safeguard Rules */
img, video, iframe {
  max-width: 100%;
  height: auto;
}


/* Comprehensive Mobile Polish (360px - 768px) */
@media (max-width: 768px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  button, .btn, .nav-link, a.btn {
    min-height: 42px;
  }
  
  h1, .hero-title, .page-hero-title {
    font-size: clamp(1.6rem, 5vw, 2.4rem) !important;
    line-height: 1.25 !important;
  }
  h2, .section-title, .shelf-title {
    font-size: clamp(1.3rem, 4vw, 1.8rem) !important;
    line-height: 1.3 !important;
  }
  
  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .grid-2col-responsive,
  .grid-3col-responsive,
  .grid-4col-responsive,
  .grid-split-responsive,
  .grid-split-rev-responsive {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important;
    width: 100% !important;
    box-sizing: border-box;
  }
}
