/**
 * Theme Name: Hello Elementor Child - Battel
 * Theme URI: https://github.com/elementor/hello-theme/
 * Description: Tema child personalizzato per Battel Autodemolizioni basato su Hello Elementor
 * Author: Battel Team
 * Author URI: https://battel.it
 * Template: hello-elementor
 * Version: 1.0.0
 * Text Domain: hello-elementor-child
 * License: GNU General Public License v3 or later
 * License URI: https://www.gnu.org/licenses/gpl-3.0.html
 */

@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&display=swap');

/* ============================================
   DESIGN SYSTEM - BATTEL AUTODEMOLIZIONI
   Palette estratta dal logo
   ============================================ */

:root {
  /* === BRAND COLORS === */
  --battel-red: #D6001C;
  --battel-red-dark: #B80018;
  --battel-red-light: #FF1A3C;

  --brand-primary: #0A1929;
  /* Navy */
  --brand-secondary: #FF6B35;
  /* Arancione Ovoko style */

  --battel-navy: var(--brand-primary);
  --battel-navy-light: #1A2B3C;
  --battel-navy-muted: #2D3E50;

  /* === SURFACE COLORS === */
  --surface-pure: #FFFFFF;
  --surface-clean: #FFFFFF;
  --surface-ice: #F8F9FA;
  --surface-off: #F4F6F8;
  --surface-gray: #E9ECEF;

  /* === TEXT COLORS === */
  --text-primary: #0A1929;
  --text-secondary: #4A5568;
  --text-muted: #718096;

  /* === ACTION COLORS === */
  --cta-primary: var(--brand-secondary);
  --cta-primary-hover: #E55A2B;
  --cta-secondary: #0A1929;

  /* === STATUS COLORS === */
  --status-grade-a: #2ECC71;
  --status-grade-b: #F1C40F;
  --status-grade-c: #E74C3C;
  --status-grade-d: #95A5A6;

  --success: var(--status-grade-a);
  --warning: var(--status-grade-b);
  --error: var(--status-grade-c);
  --info: #3B82F6;

  /* === GRADE COLORS === */
  --grade-a: var(--status-grade-a);
  --grade-b: var(--status-grade-b);
  --grade-c: var(--status-grade-c);
  --grade-d: var(--status-grade-d);

  /* === EFFECTS === */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* === BORDER RADIUS === */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* === TRANSITIONS === */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
}

/* ============================================
   BASE STYLES
   ============================================ */

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

/* ============================================
   ELEMENTOR HEADER CUSTOMIZATION
   ============================================ */

/* Header blu navy */
.elementor-element.elementor-section[data-settings*="background_background"],
.elementor-section-wrap header .elementor-section,
.elementor-widget-wrap header {
  background-color: var(--battel-navy) !important;
}

/* Link nel header bianco */
.elementor-nav-menu .elementor-item,
header .elementor-item,
.elementor-widget-nav-menu .elementor-nav-menu a {
  color: #ffffff !important;
  font-weight: 500;
  transition: color var(--transition-base);
}

.elementor-nav-menu .elementor-item:hover,
header .elementor-item:hover,
.elementor-widget-nav-menu .elementor-nav-menu a:hover {
  color: var(--battel-red) !important;
}

/* Pulsanti nel header rossi */
header .elementor-button,
.elementor-section[data-elementor-id*="header"] .elementor-button {
  background-color: var(--battel-red) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  transition: all var(--transition-base) !important;
}

header .elementor-button:hover,
.elementor-section[data-elementor-id*="header"] .elementor-button:hover {
  background-color: var(--battel-red-dark) !important;
  transform: translateY(-1px);
}

/* Logo dimensioni â€” solo per header Elementor, non per battel-header */
header:not(.battel-header) .custom-logo,
header:not(.battel-header) .elementor-widget-image img {
  max-height: 45px !important;
  width: auto !important;
}

/* Logo Battel â€” header custom (forza dimensione su tutte le pagine) */
.battel-header .battel-logo-img,
header.battel-header img.battel-logo-img {
  height: 60px !important;
  max-height: 60px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* ============================================
   LAYOUT SHIFT FIX - PRODUCT COLUMNS
   ============================================ */
/* ============================================
   NEW PRODUCT TEMPLATE STYLES
   ============================================ */
.battel-product-wrapper {
  padding: 40px 0;
  width: 100%;
}

.battel-product-grid {
  display: grid;
  grid-template-columns: 58% 40%;
  /* Explicit Desktop Logic */
  gap: 2%;
  align-items: start;
  margin-bottom: 60px;
}

.battel-col-gallery {
  width: 100%;
}

.battel-col-info {
  width: 100%;
  background: #fff;
  padding: 30px;
  border: 1px solid var(--surface-gray);
  border-radius: 12px;
}

@media (max-width: 991px) {
  .battel-product-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Image Styles */
.battel-main-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--surface-gray);
}

.battel-thumbs-row {
  display: flex;
  gap: 10px;
}

.battel-thumb-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
}

.battel-thumb-img:hover {
  border-color: var(--brand-secondary);
}

/* Info Styles */
.battel-prod-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.battel-prod-meta-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.battel-meta-tag {
  padding: 6px 12px;
  background: var(--surface-off);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

.battel-meta-tag.bp-grade-a-plus {
  background: linear-gradient(135deg, #11998e, #38ef7d);
  box-shadow: 0 0 12px rgba(56, 239, 125, 0.4);
  color: #fff;
}

.battel-meta-tag.grade-a {
  background: var(--status-grade-a);
  color: #fff;
}

.battel-meta-tag.grade-b {
  background: var(--status-grade-b);
  color: #333;
}

.battel-meta-tag.grade-c {
  background: var(--status-grade-c);
  color: #fff;
}

.battel-meta-tag.bp-grade-a-plus {
  background: linear-gradient(135deg, #11998e, #38ef7d);
  box-shadow: 0 0 12px rgba(56, 239, 125, 0.4);
}

.bp-grade-a {
  background: var(--status-grade-a);
}

.bp-grade-b {
  background: var(--status-grade-b);
}

.bp-grade-c {
  background: var(--status-grade-c);
}

.battel-prod-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-secondary);
  margin-bottom: 24px;
}

.battel-trust-box {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--surface-gray);
}

.battel-trust-box p {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.battel-trust-box i {
  color: var(--brand-secondary);
  width: 20px;
  text-align: center;
  margin-right: 8px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.battel-gradient-text {
  background: linear-gradient(135deg, var(--battel-red) 0%, #FF6B35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.battel-section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .battel-section-padding {
    padding: 48px 0;
  }
}

/* ============================================
   SINGLE VEICOLO - HERO SECTION
   ============================================ */

.battel-vehicle-hero {
  position: relative;
  background: var(--battel-navy);
  color: #fff;
  overflow: hidden;
  padding: 60px 20px 80px;
}

@media (min-width: 768px) {
  .battel-vehicle-hero {
    padding: 60px 40px 80px;
  }
}

@media (min-width: 1200px) {
  .battel-vehicle-hero {
    padding: 60px 60px 80px;
  }
}

.battel-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.battel-hero-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.battel-hero-placeholder {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 200px;
  opacity: 0.1;
}

.battel-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--battel-navy) 0%, var(--battel-navy) 40%, transparent 100%);
  z-index: 1;
}

.battel-vehicle-hero .elementor-container {
  position: relative;
  z-index: 2;
}

/* Breadcrumb */
.battel-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.battel-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.battel-breadcrumb a:hover {
  color: #fff;
}

.battel-breadcrumb i {
  font-size: 10px;
}

/* Hero Grid */
.battel-hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

.battel-hero-content {
  max-width: 700px;
}

/* Status Badge */
.battel-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid transparent;
}

.battel-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* Vehicle Title */
.battel-vehicle-title {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.1;
}

.battel-vehicle-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

/* Stats Grid */
.battel-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.battel-stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
}

.battel-stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.battel-stat-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

/* CTA Buttons */
.battel-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.battel-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cta-primary);
  color: #fff;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}

.battel-btn-primary:hover {
  background: var(--cta-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
  color: #fff;
}

.battel-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.25s;
}

.battel-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Sidebar Dismantling Card */
.battel-hero-sidebar {
  position: sticky;
  top: 100px;
}

.battel-dismantling-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px;
}

.battel-dismantling-card h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 24px;
}

.battel-progress-item {
  margin-bottom: 20px;
}

.battel-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
}

.battel-progress-header span:first-child {
  color: rgba(255, 255, 255, 0.8);
}

.battel-progress-status {
  font-weight: 500;
}

.battel-progress-status.success {
  color: var(--grade-a);
}

.battel-progress-status.warning {
  color: var(--grade-b);
}

.battel-progress-status.info {
  color: var(--info);
}

.battel-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.battel-progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}

.battel-progress-fill.success {
  background: var(--grade-a);
}

.battel-progress-fill.warning {
  background: var(--grade-b);
}

.battel-progress-fill.info {
  background: var(--info);
}

.battel-ricambi-count {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.battel-count-number {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: var(--cta-primary);
  line-height: 1;
}

.battel-count-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   GALLERY STRIP
   ============================================ */

.battel-gallery-strip {
  background: #fff;
  border-bottom: 1px solid var(--surface-gray);
  padding: 20px 0;
}

.battel-gallery-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-gray) transparent;
}

.battel-gallery-scroll::-webkit-scrollbar {
  height: 6px;
}

.battel-gallery-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.battel-gallery-scroll::-webkit-scrollbar-thumb {
  background: var(--surface-gray);
  border-radius: 3px;
}

.battel-gallery-item {
  flex-shrink: 0;
  width: 140px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.battel-gallery-item:hover,
.battel-gallery-item.active {
  border-color: var(--cta-primary);
}

.battel-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   SPECS SECTION
   ============================================ */

.battel-specs-section {
  background: var(--surface-ice);
  padding: 60px 0;
}

.battel-section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.battel-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.battel-spec-item {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  border: 1px solid var(--surface-gray);
  transition: all 0.2s;
}

.battel-spec-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.battel-spec-item i {
  font-size: 24px;
  color: var(--cta-primary);
  margin-bottom: 12px;
  display: block;
}

.battel-spec-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.battel-spec-value {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================
   PARTS SECTION
   ============================================ */

.battel-parts-section {
  background: #fff;
  padding: 60px 0;
}

.battel-parts-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

/* Sidebar Categories */
.battel-parts-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.battel-parts-sidebar h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.battel-categories-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.battel-category-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--surface-gray);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.battel-category-btn:hover {
  background: var(--surface-ice);
  border-color: var(--cta-primary);
}

.battel-category-btn.active {
  background: var(--cta-primary);
  border-color: var(--cta-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.battel-cat-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.battel-category-btn.active .battel-cat-icon {
  background: rgba(255, 255, 255, 0.2);
}

.battel-cat-name {
  flex: 1;
}

.battel-cat-count {
  background: var(--surface-ice);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.battel-category-btn.active .battel-cat-count {
  background: rgba(255, 255, 255, 0.2);
}

/* Parts Header */
.battel-parts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.battel-parts-header h2 {
  font-size: 24px;
  font-weight: 700;
}

.battel-parts-filters {
  display: flex;
  gap: 12px;
  align-items: center;
}

.battel-select {
  padding: 10px 16px;
  border: 1px solid var(--surface-gray);
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
}

.battel-view-toggle {
  display: flex;
  border: 1px solid var(--surface-gray);
  border-radius: 8px;
  overflow: hidden;
}

.battel-view-btn {
  padding: 10px 14px;
  background: #fff;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
}

.battel-view-btn.active,
.battel-view-btn:hover {
  background: var(--surface-ice);
  color: var(--text-primary);
}

/* Parts Grid */
.battel-parts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* Part Card */
.battel-part-card {
  background: #fff;
  border: 1px solid var(--surface-gray);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s;
}

.battel-part-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.battel-part-image {
  position: relative;
  height: 180px;
  background: var(--surface-ice);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.battel-part-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s;
}

.battel-part-card:hover .battel-part-img {
  transform: scale(1.05);
}

.battel-part-placeholder {
  font-size: 60px;
  color: var(--text-muted);
  opacity: 0.3;
}

/* Grade Badge */
.battel-grade-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.battel-grade-badge.grade-a {
  background: linear-gradient(135deg, var(--grade-a), #27AE60);
}

.battel-grade-badge.grade-b {
  background: linear-gradient(135deg, var(--grade-b), #F39C12);
  color: var(--text-primary);
}

.battel-grade-badge.grade-c {
  background: linear-gradient(135deg, var(--grade-c), #D35400);
}

.battel-grade-badge.grade-d {
  background: linear-gradient(135deg, var(--grade-d), #C0392B);
}

/* Stock Overlay */
.battel-stock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.battel-stock-badge {
  background: var(--text-primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

/* OE Code */
.battel-oe-code {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 16px 12px 12px;
}

.battel-oe-code span {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

/* Part Info */
.battel-part-info {
  padding: 20px;
}

.battel-part-info.disabled {
  opacity: 0.6;
}

.battel-part-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.battel-part-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.battel-part-title a:hover {
  color: var(--cta-primary);
}

.battel-part-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.battel-part-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.battel-part-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--cta-primary);
}

.battel-part-price .woocommerce-Price-amount {
  color: var(--cta-primary);
}

.battel-add-to-cart {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cta-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
}

.battel-add-to-cart:hover {
  background: var(--cta-primary-hover);
  transform: scale(1.1);
  color: #fff;
}

.battel-add-to-cart.disabled {
  background: var(--surface-gray);
  cursor: not-allowed;
}

/* No Parts */
.battel-no-parts {
  text-align: center;
  padding: 60px 20px;
  background: var(--surface-ice);
  border-radius: 16px;
}

.battel-no-parts i {
  font-size: 64px;
  color: var(--text-muted);
  margin-bottom: 20px;
  opacity: 0.5;
}

.battel-no-parts h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.battel-no-parts p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Pagination */
.battel-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.battel-page-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--surface-gray);
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-secondary);
}

.battel-page-btn:hover {
  border-color: var(--cta-primary);
  color: var(--cta-primary);
}

.battel-page-btn.active {
  background: var(--cta-primary);
  border-color: var(--cta-primary);
  color: #fff;
}

/* ============================================
   SIMILAR VEHICLES SECTION
   ============================================ */

.battel-similar-section {
  background: var(--surface-ice);
  padding: 60px 0;
  border-top: 1px solid var(--surface-gray);
}

.battel-similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.battel-similar-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--surface-gray);
  transition: all 0.25s;
}

.battel-similar-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.battel-similar-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.battel-similar-image {
  height: 140px;
  background: var(--surface-ice);
  overflow: hidden;
}

.battel-similar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.battel-similar-card:hover .battel-similar-img {
  transform: scale(1.05);
}

.battel-similar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--text-muted);
  opacity: 0.3;
}

.battel-similar-info {
  padding: 16px;
}

.battel-similar-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.battel-similar-info p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================
   MODAL
   ============================================ */

.battel-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.battel-modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  position: relative;
}

.battel-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--surface-ice);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

.battel-modal-close:hover {
  background: var(--surface-gray);
  color: var(--text-primary);
}

.battel-modal-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.battel-modal-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .battel-hero-grid {
    grid-template-columns: 1fr;
  }

  .battel-hero-sidebar {
    position: static;
    order: -1;
  }

  .battel-parts-layout {
    grid-template-columns: 1fr;
  }

  .battel-parts-sidebar {
    position: static;
  }

  .battel-categories-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .battel-category-btn {
    flex: 1;
    min-width: 140px;
  }
}

@media (max-width: 768px) {
  .battel-vehicle-hero {
    padding: 40px 0 60px;
  }

  .battel-vehicle-title {
    font-size: 32px;
  }

  .battel-vehicle-subtitle {
    font-size: 16px;
  }

  .battel-hero-stats {
    grid-template-columns: 1fr;
  }

  .battel-hero-ctas {
    flex-direction: column;
  }

  .battel-btn-primary,
  .battel-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .battel-parts-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .battel-parts-grid {
    grid-template-columns: 1fr;
  }

  .battel-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .battel-specs-grid {
    grid-template-columns: 1fr;
  }

  .battel-categories-list {
    flex-direction: column;
  }

  .battel-category-btn {
    min-width: 100%;
  }
}

/* ============================================
   HOMEPAGE STYLES
   ============================================ */

/* Hero Section */
.battel-home-hero {
  position: relative;
  background: linear-gradient(90deg, #0f2438 0%, #0A1929 30%, #1a3a4d 100%);
  padding: 80px 20px;
  overflow: hidden;
}

.battel-hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF6B35' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.battel-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.battel-hero-content {
  color: #fff;
}

.battel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 53, 0.2);
  border: 1px solid rgba(255, 107, 53, 0.3);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: var(--cta-primary);
  margin-bottom: 24px;
}

.battel-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--cta-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.battel-hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #fff;
}

.battel-text-orange {
  color: var(--cta-primary);
}

.battel-hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  max-width: 500px;
}

.battel-hero-stats {
  display: flex;
  gap: 40px;
}

.battel-stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}

.battel-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.bp-btn-navy {
  background: #3A4753 !important;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
  border: none !important;
}

.bp-btn-navy:hover {
  background: #2c3640 !important;
  box-shadow: 0 4px 15px rgba(58, 71, 83, 0.4);
  transform: translateY(-2px);
}

/* Search Module */
.battel-search-module {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.battel-search-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.battel-search-title i {
  color: var(--cta-primary);
}

.battel-search-tabs {
  display: flex;
  gap: 4px;
  background: var(--surface-ice);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.battel-tab-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.battel-tab-btn.active {
  background: #fff;
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.battel-tab-content {
  display: none;
}

.battel-tab-content.active {
  display: block;
}

.battel-category-filters {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.battel-filter-row {
  margin-bottom: 16px;
}

.battel-filter-row label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.battel-trust-badges {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--surface-gray);
}

.battel-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.battel-trust-item i {
  font-size: 20px;
  color: var(--cta-primary);
}

.battel-trust-item span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Sections Common */
.battel-section-vehicles,
.battel-section-parts {
  padding: 80px 20px;
  background: #fff;
}

.battel-section-categories {
  padding: 80px 20px;
  background: var(--surface-ice);
}

.battel-section-trust {
  padding: 80px 20px;
  background: var(--battel-navy);
}

.battel-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.battel-section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.battel-section-title-center {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 40px;
}

.battel-section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
}

.battel-link-all {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cta-primary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.battel-link-all:hover {
  gap: 12px;
}

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

.battel-vehicle-card {
  background: var(--surface-ice);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.battel-vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.battel-vehicle-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.battel-vehicle-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.battel-vehicle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.battel-vehicle-card:hover .battel-vehicle-img {
  transform: scale(1.05);
}

.battel-vehicle-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-gray);
  font-size: 48px;
  color: var(--text-muted);
}

.battel-vehicle-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 41, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.battel-vehicle-card:hover .battel-vehicle-overlay {
  opacity: 1;
}

.battel-vehicle-cta {
  background: var(--cta-primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  transform: translateY(10px);
  transition: transform 0.3s;
}

.battel-vehicle-card:hover .battel-vehicle-cta {
  transform: translateY(0);
}

.battel-vehicle-status {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}

.battel-status-available {
  background: var(--grade-a);
  color: #fff;
}

.battel-status-progress {
  background: #E74C3C;
  color: #fff;
  animation: pulse 2s infinite;
}

.battel-status-coming {
  background: var(--grade-b);
  color: var(--text-primary);
}

.battel-status-done {
  background: var(--cta-primary);
  color: #fff;
}

.battel-vehicle-info {
  padding: 20px;
}

.battel-vehicle-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.battel-vehicle-details {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.battel-vehicle-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--surface-gray);
}

.battel-vehicle-count {
  font-size: 13px;
  color: var(--text-muted);
}

.battel-vehicle-arrow {
  width: 32px;
  height: 32px;
  background: var(--cta-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Categories Grid */
.battel-categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.battel-category-card {
  background: #fff;
  padding: 24px 16px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.battel-category-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.battel-category-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s;
}

.battel-cat-blue .battel-category-icon {
  background: #EBF5FB;
  color: #3498DB;
}

.battel-cat-blue:hover .battel-category-icon {
  background: #3498DB;
  color: #fff;
}

.battel-cat-red .battel-category-icon {
  background: #FDEDEC;
  color: #E74C3C;
}

.battel-cat-red:hover .battel-category-icon {
  background: #E74C3C;
  color: #fff;
}

.battel-cat-green .battel-category-icon {
  background: #E9F7EF;
  color: #27AE60;
}

.battel-cat-green:hover .battel-category-icon {
  background: #27AE60;
  color: #fff;
}

.battel-cat-purple .battel-category-icon {
  background: #F5EEF8;
  color: #9B59B6;
}

.battel-cat-purple:hover .battel-category-icon {
  background: #9B59B6;
  color: #fff;
}

.battel-cat-orange .battel-category-icon {
  background: #FEF5E7;
  color: #F39C12;
}

.battel-cat-orange:hover .battel-category-icon {
  background: #F39C12;
  color: #fff;
}

.battel-cat-gray .battel-category-icon {
  background: #F8F9FA;
  color: #6C757D;
}

.battel-cat-gray:hover .battel-category-icon {
  background: #6C757D;
  color: #fff;
}

.battel-category-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.battel-category-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* Parts Grid Home */
.battel-parts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Trust Section */
.battel-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.battel-trust-card {
  text-align: center;
  color: #fff;
}

.battel-trust-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: var(--cta-primary);
}

.battel-trust-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.battel-trust-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* WhatsApp Widget */
.battel-whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.battel-whatsapp-btn {
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
}

.battel-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* Homepage Responsive */
@media (max-width: 1200px) {

  .battel-vehicles-grid,
  .battel-parts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .battel-categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .battel-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .battel-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .battel-hero-title {
    font-size: 36px;
  }

  .battel-hero-stats {
    gap: 24px;
  }

  /* ============================================
     WOOCOMMERCE SHOP - CARD PRODOTTO
     ============================================ */

  /* Posizionamento relativo per le card prodotto */
  .woocommerce ul.products li.product,
  .wc-block-grid__product {
    position: relative;
  }

  /* Badge grado nelle card prodotto */
  .woocommerce ul.products li.product .battel-grade-badge,
  .wc-block-grid__product .battel-grade-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }

  /* Info grado sotto il titolo prodotto */
  .woocommerce ul.products li.product .battel-grade-info,
  .wc-block-grid__product .battel-grade-info {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 5px;
  }

  .woocommerce ul.products li.product .battel-grade-info strong,
  .wc-block-grid__product .battel-grade-info strong {
    color: var(--text-primary);
  }

  /* Card prodotto hover effects */
  .woocommerce ul.products li.product:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
    transition: all 0.3s ease;
  }

  /* Prezzo e grado nella stessa riga */
  .woocommerce ul.products li.product .price-grade-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
  }

  .woocommerce ul.products li.product .price-grade-row .price {
    margin: 0;
    flex: 1;
  }

  .woocommerce ul.products li.product .price-grade-row .battel-grade-badge-inline {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-transform: uppercase;
  }

  .battel-grade-badge-inline.grade-a {
    background: var(--grade-a);
    color: white;
  }

  .battel-grade-badge-inline.grade-b {
    background: var(--grade-b);
    color: var(--text-primary);
  }

  .battel-grade-badge-inline.grade-c {
    background: var(--grade-c);
    color: white;
  }

  /* ============================================
     ARCHIVIO VEICOLI
     ============================================ */

  /* Griglia veicoli */
  .battel-veicoli-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
  }

  /* Card veicolo */
  .battel-veicolo-card {
    background: var(--surface-pure);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
  }

  .battel-veicolo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
  }

  .battel-veicolo-card .veicolo-image {
    position: relative;
    height: 200px;
    overflow: hidden;
  }

  .battel-veicolo-card .veicolo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
  }

  .battel-veicolo-card:hover .veicolo-image img {
    transform: scale(1.05);
  }

  .battel-veicolo-card .veicolo-badge-stato {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .battel-veicolo-card .veicolo-badge-stato.in-arrivo {
    background: var(--warning);
    color: white;
  }

  .battel-veicolo-card .veicolo-badge-stato.in-smontaggio {
    background: var(--info);
    color: white;
  }

  .battel-veicolo-card .veicolo-badge-stato.smontato {
    background: var(--success);
    color: white;
  }

  .battel-veicolo-card .veicolo-content {
    padding: 20px;
  }

  .battel-veicolo-card .veicolo-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
  }

  .battel-veicolo-card .veicolo-targa {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
  }

  .battel-veicolo-card .veicolo-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    font-size: 13px;
    margin-bottom: 15px;
  }

  .battel-veicolo-card .veicolo-spec {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .battel-veicolo-card .veicolo-spec i {
    color: var(--cta-primary);
    font-size: 14px;
  }

  .battel-veicolo-card .veicolo-racambi-count {
    font-size: 13px;
    color: var(--text-secondary);
    padding-top: 15px;
    border-top: 1px solid var(--surface-gray);
  }

  .battel-veicolo-card .veicolo-racambi-count strong {
    color: var(--battel-red);
  }

  .battel-veicolo-card .veicolo-cta {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    background: var(--battel-red);
    color: white;
    text-align: center;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition-fast);
  }

  .battel-veicolo-card .veicolo-cta:hover {
    background: var(--battel-red-dark);
    color: white;
  }

  /* ============================================
     WIDGET COMPATIBILITÃ€ PRODOTTO
     ============================================ */

  .battel-compatibilita-widget {
    background: var(--surface-ice);
    border: 2px solid var(--surface-gray);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin: 20px 0;
  }

  .battel-compatibilita-widget h3 {
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .battel-compatibilita-widget h3 i {
    color: var(--success);
  }

  .battel-compatibilita-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .battel-compatibilita-list li {
    padding: 10px 12px;
    background: var(--surface-pure);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .battel-compatibilita-list li:last-child {
    margin-bottom: 0;
  }

  .battel-compatibilita-list .compat-marca {
    font-weight: 700;
    color: var(--battel-red);
  }

  .battel-compatibilita-list .compat-modello {
    color: var(--text-primary);
  }

  .battel-compatibilita-list .compat-anni {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: auto;
  }

  .battel-compatibilita-empty {
    color: var(--text-muted);
    font-size: 14px;
    font-style: italic;
  }

  .battel-vehicles-grid,
  .battel-parts-grid,
  .battel-categories-grid {
    grid-template-columns: 1fr;
  }

  .battel-trust-grid {
    grid-template-columns: 1fr;
  }

  .battel-section-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ============================================
   MODIFICHE NUOVO DESIGN - 07/02/2026
   ============================================ */

/* Testo bianco per hero title */
.battel-text-white {
  color: #ffffff !important;
}

/* Tab buttons - Tutti arancioni come da design */
.battel-search-tabs .battel-tab-btn {
  background: #F4F4F4 !important;
  color: #666666 !important;
  border: none !important;
}

.battel-search-tabs .battel-tab-btn i {
  color: #999999 !important;
}

/* Tab attivo - solo quello selezionato */
.battel-search-tabs .battel-tab-btn.active {
  background: #ffffff !important;
  color: #333333 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.battel-search-tabs .battel-tab-btn.active i {
  color: #FF6B35 !important;
}

.battel-search-tabs .battel-tab-btn i {
  color: #666666 !important;
}

/* Pulsante Cerca Ricambi arancione - sovrascrivi verde */
.battel-btn-primary.w-full,
.battel-search-module .battel-btn-primary,
button.battel-btn-primary[type="submit"] {
  background: #FF6B35 !important;
  width: 100%;
  justify-content: center;
  border-radius: 8px;
  padding: 14px 24px;
  border: none;
  color: #ffffff !important;
}

.battel-btn-primary.w-full:hover,
.battel-search-module .battel-btn-primary:hover,
button.battel-btn-primary[type="submit"]:hover {
  background: #E55A2B !important;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
  transform: translateY(-2px);
}

/* Forza colore arancione su tutti i pulsanti Cerca */
.battel-search-module a[href*="shop"],
.battel-search-module a[href*="cerca"],
.battel-category-filters a.battel-btn-primary,
.battel-search-module a.battel-btn-primary {
  background: #FF6B35 !important;
  color: #ffffff !important;
}

/* Pulsante Cerca Ricambi specifico */
a.battel-btn-primary.w-full,
.battel-category-filters .battel-btn-primary,
.battel-search-forms .battel-btn-primary {
  background-color: #FF6B35 !important;
  background: #FF6B35 !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}

a.battel-btn-primary.w-full:hover,
.battel-category-filters .battel-btn-primary:hover,
.battel-search-forms .battel-btn-primary:hover {
  background-color: #E55A2B !important;
  background: #E55A2B !important;
}

/* Override per pulsanti verdi */
.battel-btn-primary[style*="green"],
.battel-btn-primary[style*="#22C55E"],
.battel-btn-primary[style*="#2ECC71"],
button.battel-btn-search[style*="green"] {
  background: #FF6B35 !important;
  background-color: #FF6B35 !important;
}

/* FORZA pulsante Cerca Ricambi Disponibili ad essere arancione */
.battel-targa-form button.battel-btn-search,
.battel-targa-form .battel-btn-search {
  background: #FF6B35 !important;
  background-color: #FF6B35 !important;
  color: #ffffff !important;
}

/* Icone trust arancioni */
.battel-trust-item i {
  color: #FF6B35;
}

/* Correzione scheda veicoli - dimensioni coerenti */
.battel-vehicles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.battel-vehicle-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.battel-vehicle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.battel-vehicle-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.battel-vehicle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.battel-vehicle-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.battel-vehicle-title {
  font-size: 18px;
  font-weight: 700;
  color: #0A1929;
  margin-bottom: 8px;
}

.battel-vehicle-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  flex: 1;
}

.battel-vehicle-specs span {
  font-size: 13px;
  color: #4A5568;
  display: flex;
  align-items: center;
  gap: 6px;
}

.battel-vehicle-specs i {
  color: #FF6B35;
  width: 16px;
}

/* Responsive veicoli */
@media (max-width: 1200px) {
  .battel-vehicles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .battel-vehicles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .battel-vehicle-image {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .battel-vehicles-grid {
    grid-template-columns: 1fr;
  }
}

/* Stile per stati veicoli */
.battel-vehicle-status {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.battel-status-available {
  background: #22C55E;
  color: #ffffff;
}

.battel-status-progress {
  background: #F59E0B;
  color: #ffffff;
}

.battel-status-coming {
  background: #3B82F6;
  color: #ffffff;
}

.battel-status-done {
  background: #6B7280;
  color: #ffffff;
}

/* ============================================
   NUOVO PANNELLO RICERCA - Stile come da foto
   ============================================ */

/* Tab buttons restyling - FORZATO */
.battel-search-tabs {
  display: flex !important;
  background: #F5F5F5 !important;
  border-radius: 10px !important;
  padding: 4px !important;
  margin-bottom: 24px !important;
  gap: 4px !important;
}

.battel-search-tabs .battel-tab-btn {
  flex: 1 !important;
  padding: 12px 16px !important;
  border: none !important;
  background: transparent !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #666666 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.battel-search-tabs .battel-tab-btn i {
  font-size: 16px !important;
  color: #666666 !important;
}

.battel-search-tabs .battel-tab-btn.active {
  background: #ffffff !important;
  color: #333333 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.battel-search-tabs .battel-tab-btn.active i {
  color: #FF6B35 !important;
}

/* Form Targa */
.battel-targa-form {
  padding: 0 8px;
}

.battel-form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333333;
  margin-bottom: 8px;
}

.battel-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 0 12px;
  margin-bottom: 8px;
}

.battel-input-wrapper i {
  color: #999999;
  font-size: 18px;
  margin-right: 10px;
}

.battel-input-wrapper .battel-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 0;
  font-size: 16px;
  color: #333333;
  outline: none;
}

.battel-input-wrapper .battel-input::placeholder {
  color: #AAAAAA;
  font-weight: 500;
}

.battel-form-hint {
  font-size: 13px;
  color: #888888;
  margin-bottom: 20px;
  margin-top: 4px;
}

/* Selects affiancati */
.battel-selects-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.battel-select-wrapper {
  display: flex;
  flex-direction: column;
}

.battel-select-wrapper .battel-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  background: #ffffff;
  font-size: 14px;
  color: #666666;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Pulsante Cerca */
.battel-btn-search {
  width: 100%;
  padding: 16px;
  background: #FF6B35;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.battel-btn-search:hover {
  background: #E55A2B;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.battel-btn-search i {
  font-size: 18px;
}

/* Trust Badges con icone colorate */
.battel-trust-badges {
  display: flex;
  justify-content: space-around;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #EEEEEE;
}

.battel-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.battel-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.battel-trust-icon.green {
  background: #E8F5E9;
  color: #22C55E;
}

.battel-trust-icon.orange {
  background: #FFF3E0;
  color: #FF9800;
}

.battel-trust-icon.dark {
  background: #263238;
  color: #ffffff;
}

.battel-trust-item span {
  font-size: 13px;
  color: #666666;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 480px) {
  .battel-selects-row {
    grid-template-columns: 1fr;
  }

  .battel-search-tabs .battel-tab-btn {
    font-size: 12px;
    padding: 10px 8px;
  }

  .battel-trust-badges {
    flex-direction: column;
    gap: 16px;
  }
}

/* ============================================
   PAGINA PRODOTTO SINGOLO - RICAMBI BATTEL
   ============================================ */

.battel-product-page {
  background: #f8f9fa;
  padding-bottom: 60px;
  width: 100%;
  max-width: 100%;
}

/* Override tema Hello Elementor per full width - AGGRESSIVO */
.battel-product-page #primary,
.battel-product-page .site-main,
.battel-product-page .elementor-page,
.battel-product-page .entry-content,
.battel-product-page .elementor-section-wrap,
.battel-product-page .elementor-container,
.battel-product-page .elementor-column,
.battel-product-page .elementor-widget-wrap,
.battel-product-page .elementor-element,
.battel-product-page main,
.battel-product-page article,
.battel-product-page .page-content,
.battel-product-page .post-content {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Forza larghezza anche sui wrapper di Elementor */
body.single-product .elementor-section.elementor-section-boxed>.elementor-container,
body.single-product .elementor-section.elementor-section-full_width>.elementor-container {
  max-width: 100% !important;
  width: 100% !important;
}

body.single-product .elementor-column-gap-default>.elementor-row>.elementor-column>.elementor-element-populated {
  padding: 0 !important;
}

/* Nascondi eventuali wrapper che restringono */
.battel-product-page .elementor-inner,
.battel-product-page .elementor-section-wrap {
  width: 100% !important;
  max-width: 100% !important;
}

.battel-product-page .container,
.battel-container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  width: 100%;
}

/* Container full width per pagina prodotto */
.battel-container-wide {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 40px !important;
  box-sizing: border-box;
}

@media (min-width: 1400px) {
  .battel-container-wide {
    padding: 0 60px !important;
  }
}

/* Breadcrumb */
.battel-breadcrumb-wrapper {
  background: #ffffff;
  border-bottom: 1px solid #e9ecef;
  padding: 15px 0;
}

.battel-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: #718096;
}

.battel-breadcrumb a {
  color: #4A5568;
  text-decoration: none;
  transition: color 0.2s ease;
}

.battel-breadcrumb a:hover {
  color: #D6001C;
}

.battel-breadcrumb .sep {
  color: #CBD5E0;
}

.battel-breadcrumb .current {
  color: #0A1929;
  font-weight: 500;
}

/* Header Prodotto */
.battel-product-header {
  background: #ffffff;
  padding: 20px 0;
  border-bottom: 1px solid #e9ecef;
}

.product-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badges-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge.disponibile {
  background: #DCFCE7;
  color: #166534;
}

.badge.esaurito {
  background: #FEE2E2;
  color: #991B1B;
}

.badge.sconto {
  background: #D6001C;
  color: #ffffff;
}

.header-actions {
  display: flex;
  gap: 10px;
}

.action-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #ffffff;
  color: #4A5568;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover {
  background: #F7FAFC;
  border-color: #D6001C;
  color: #D6001C;
}

/* Main Product Area */
.battel-product-main {
  background: #ffffff;
  padding: 40px 0;
}

.product-columns {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 60px;
  width: 100%;
}

/* Force full width layout */
@media (min-width: 1024px) {
  .product-columns {
    grid-template-columns: 58% 42%;
  }
}

/* Colonna Sinistra - Galleria */
.product-gallery {
  position: relative;
}

.main-image-wrapper {
  position: relative;
  background: #f8f9fa;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}

.main-image-container {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: crosshair;
}

.main-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.no-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #A0AEC0;
  font-size: 14px;
}

.no-image i {
  font-size: 48px;
}

.zoom-lens {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid #D6001C;
  background: rgba(214, 0, 28, 0.1);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.main-image-container:hover .zoom-lens {
  opacity: 1;
}

.zoom-tooltip {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 25, 41, 0.9);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.zoom-result {
  position: absolute;
  top: 0;
  right: -420px;
  width: 400px;
  height: 400px;
  border: 2px solid #E2E8F0;
  border-radius: 16px;
  background: #ffffff;
  display: none;
  z-index: 100;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.thumbnails-wrapper {
  margin-top: 20px;
}

.thumbnails-row {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.thumb-item {
  width: 80px;
  height: 80px;
  border: 2px solid #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-item:hover,
.thumb-item.active {
  border-color: #D6001C;
}

.thumb-item.more-images {
  background: #0A1929;
  color: #ffffff;
  font-weight: 600;
}

.more-badge {
  font-size: 16px;
}

/* Colonna Destra - Info Prodotto */
.product-info {
  padding: 10px 0;
}

.product-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.code-badge {
  display: inline-flex;
  padding: 6px 12px;
  background: #F1F5F9;
  border-radius: 6px;
  font-size: 13px;
  color: #475569;
  font-family: 'Monaco', 'Courier New', monospace;
}

.code-badge strong {
  color: #0A1929;
  margin-right: 6px;
}

.product-title {
  font-size: 32px;
  font-weight: 700;
  color: #0A1929;
  margin: 0 0 12px;
  line-height: 1.2;
}

.compatible-vehicles {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #F0FDF4;
  border-left: 4px solid #22C55E;
  border-radius: 0 8px 8px 0;
  margin-bottom: 20px;
  font-size: 14px;
  color: #166534;
}

.compatible-vehicles i {
  color: #22C55E;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.stars {
  display: flex;
  gap: 4px;
}

.stars i {
  color: #E2E8F0;
  font-size: 18px;
}

.stars i.filled {
  color: #F59E0B;
}

.rating-count {
  font-size: 14px;
  color: #64748B;
}

/* Grado QualitÃ  */
.quality-grade {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #F8FAFC;
  border-radius: 12px;
  margin-bottom: 24px;
}

.grade-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.grade-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.grade-a .grade-circle {
  background: #2ECC71;
}

.grade-b .grade-circle {
  background: #F1C40F;
  color: #0A1929;
}

.grade-c .grade-circle {
  background: #E67E22;
}

.grade-d .grade-circle {
  background: #E74C3C;
}

.grade-label {
  font-size: 12px;
  color: #64748B;
  font-weight: 500;
}

.grade-description {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

/* Prezzo */
.product-price-wrapper {
  margin-bottom: 24px;
}

.price-current {
  display: flex;
  align-items: flex-start;
  color: #D6001C;
}

.price-current .currency {
  font-size: 24px;
  font-weight: 600;
  margin-right: 4px;
  margin-top: 6px;
}

.price-current .amount {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.price-original {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.old-price {
  font-size: 20px;
  color: #94A3B8;
  text-decoration: line-through;
}

.savings-badge {
  display: inline-flex;
  padding: 4px 10px;
  background: #FEE2E2;
  color: #DC2626;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
}

/* DisponibilitÃ  */
.availability-box {
  margin-bottom: 24px;
}

.availability-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  border-radius: 12px;
}

.availability-badge i {
  font-size: 28px;
  color: #22C55E;
}

.availability-text {
  display: flex;
  flex-direction: column;
}

.availability-text strong {
  color: #166534;
  font-size: 16px;
}

.availability-text span {
  color: #22C55E;
  font-size: 14px;
}

/* Trust Badges */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px;
  background: #F8FAFC;
  border-radius: 12px;
  margin-bottom: 24px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.trust-item i {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  font-size: 18px;
  color: #0A1929;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.trust-item span {
  font-size: 12px;
  color: #64748B;
  font-weight: 500;
  line-height: 1.3;
}

/* Product Actions */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quantity-cart-row {
  display: flex;
  gap: 12px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 2px solid #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
}

.qty-btn {
  width: 48px;
  height: 56px;
  border: none;
  background: #ffffff;
  color: #0A1929;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s;
}

.qty-btn:hover {
  background: #F1F5F9;
}

.qty-input {
  width: 60px;
  height: 56px;
  border: none;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #0A1929;
}

.btn-add-cart {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 32px;
  background: #D6001C;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-add-cart:hover {
  background: #B80018;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(214, 0, 28, 0.3);
}

.btn-add-cart.loading {
  opacity: 0.7;
  pointer-events: none;
}

.btn-add-cart.added {
  background: #22C55E;
}

.btn-info-tech {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  background: #ffffff;
  color: #0A1929;
  border: 2px solid #E2E8F0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-info-tech:hover {
  border-color: #0A1929;
  background: #F8FAFC;
}

/* Veicolo di Provenienza */
.battel-vehicle-source {
  padding: 40px 0;
  background: linear-gradient(135deg, #0A1929 0%, #1a365d 100%);
}

.vehicle-source-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(10px);
}

.vehicle-source-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.vehicle-source-header h3 {
  color: #ffffff;
  font-size: 24px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.vehicle-source-header h3 i {
  color: #3B82F6;
}

.targa-badge {
  display: inline-flex;
  padding: 8px 16px;
  background: #D6001C;
  color: #ffffff;
  font-family: 'Monaco', monospace;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  letter-spacing: 2px;
}

.vehicle-source-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
}

.vehicle-image {
  border-radius: 16px;
  overflow: hidden;
}

.vehicle-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.no-vehicle-image {
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(255, 255, 255, 0.3);
}

.vehicle-data h4 {
  color: #ffffff;
  font-size: 22px;
  margin: 0 0 20px;
}

.vehicle-specs {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}

.spec-item i {
  color: #3B82F6;
  font-size: 18px;
}

.btn-view-vehicle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #3B82F6;
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-view-vehicle:hover {
  background: #2563EB;
  transform: translateY(-2px);
}

/* CompatibilitÃ  */
.battel-compatibility {
  padding: 40px 0;
  background: #ffffff;
}

.compatibility-section h3 {
  font-size: 22px;
  color: #0A1929;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.compatibility-section h3 i {
  color: #22C55E;
}

.compatibility-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.compat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #F8FAFC;
  border-radius: 10px;
}

.compat-item i {
  color: #22C55E;
  font-size: 20px;
}

.compat-item span {
  font-size: 14px;
  color: #475569;
}

.compatibility-warning {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  border-radius: 12px;
}

.compatibility-warning i {
  font-size: 24px;
  color: #D97706;
}

.compatibility-warning strong {
  display: block;
  color: #92400E;
  margin-bottom: 4px;
}

.compatibility-warning p {
  margin: 0;
  color: #B45309;
  font-size: 14px;
}

/* Card Assistenza */
.battel-support {
  padding: 40px 0;
  background: #f8f9fa;
}

.support-card {
  background: #1e293b;
  border-radius: 20px;
  padding: 32px;
  color: #ffffff;
}

.support-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.support-header i {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3B82F6;
  border-radius: 50%;
  font-size: 24px;
}

.support-header h3 {
  margin: 0;
  font-size: 24px;
}

.support-contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.support-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-decoration: none;
  color: #ffffff;
  transition: background 0.3s ease;
}

.support-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.support-item i {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3B82F6;
  border-radius: 50%;
  font-size: 20px;
}

.support-item .label {
  display: block;
  font-size: 12px;
  color: #94A3B8;
  margin-bottom: 4px;
}

.support-item .value {
  font-size: 16px;
  font-weight: 600;
}

/* Tabs */
.battel-product-tabs {
  padding: 60px 0;
  background: #ffffff;
}

.tabs-wrapper {
  background: #F8FAFC;
  border-radius: 20px;
  overflow: hidden;
}

.tabs-header {
  display: flex;
  background: #ffffff;
  border-bottom: 1px solid #E2E8F0;
  overflow-x: auto;
}

.tab-btn {
  flex: 1;
  padding: 20px 24px;
  border: none;
  background: #ffffff;
  color: #64748B;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.tab-btn:hover {
  color: #0A1929;
  background: #F8FAFC;
}

.tab-btn.active {
  color: #D6001C;
  border-bottom-color: #D6001C;
  background: #FEF2F2;
}

.tabs-content {
  padding: 40px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Tab Descrizione Tecnica */
.description-text {
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 40px;
}

.tech-specs h4,
.quality-check h4 {
  font-size: 20px;
  color: #0A1929;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tech-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}

.tech-item i {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F1F5F9;
  border-radius: 10px;
  font-size: 20px;
  color: #0A1929;
}

.tech-label {
  font-size: 13px;
  color: #64748B;
}

.tech-value {
  font-size: 16px;
  font-weight: 600;
  color: #0A1929;
}

.quality-checks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.check-item {
  padding: 24px;
  border-radius: 16px;
  text-align: center;
}

.check-electronic {
  background: linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%);
}

.check-visual {
  background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
}

.check-grade {
  background: linear-gradient(135deg, #E9D5FF 0%, #DDD6FE 100%);
}

.check-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  margin: 0 auto 16px;
  font-size: 28px;
}

.check-electronic .check-icon {
  color: #22C55E;
}

.check-visual .check-icon {
  color: #3B82F6;
}

.check-grade .check-icon {
  color: #8B5CF6;
}

.check-item h5 {
  font-size: 18px;
  color: #0A1929;
  margin: 0 0 12px;
}

.check-item p {
  font-size: 14px;
  color: #475569;
  margin: 0 0 16px;
  line-height: 1.6;
}

.check-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #ffffff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #22C55E;
}

.grade-label-tab {
  color: #8B5CF6;
}

/* Tab Specifiche */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid #E2E8F0;
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 20px;
  font-size: 15px;
}

.specs-table td:first-child {
  color: #64748B;
  width: 40%;
}

.specs-table td:last-child {
  color: #0A1929;
  font-weight: 500;
}

.specs-table i {
  width: 32px;
  color: #94A3B8;
}

.grade-badge-inline {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.grade-badge-inline.grade-a {
  background: #DCFCE7;
  color: #166534;
}

.grade-badge-inline.grade-b {
  background: #FEF3C7;
  color: #92400E;
}

.grade-badge-inline.grade-c {
  background: #FFEDD5;
  color: #9A3412;
}

.grade-badge-inline.grade-d {
  background: #FEE2E2;
  color: #991B1B;
}

/* Tab Garanzia */
.warranty-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.warranty-section,
.return-section {
  padding: 32px;
  background: #F8FAFC;
  border-radius: 16px;
}

.warranty-icon,
.return-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #D6001C;
  color: #ffffff;
  border-radius: 50%;
  font-size: 28px;
  margin-bottom: 20px;
}

.return-icon {
  background: #3B82F6;
}

.warranty-section h4,
.return-section h4 {
  font-size: 22px;
  color: #0A1929;
  margin: 0 0 16px;
}

.warranty-section p,
.return-section p {
  font-size: 15px;
  color: #64748B;
  line-height: 1.7;
  margin: 0 0 20px;
}

.warranty-section ul,
.return-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.warranty-section li,
.return-section li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: #475569;
}

.warranty-section li i,
.return-section li i {
  color: #22C55E;
}

/* Tab Spedizione */
.shipping-content {
  max-width: 800px;
}

.shipping-highlight {
  text-align: center;
  padding: 32px;
  background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
  border-radius: 16px;
  margin-bottom: 32px;
}

.shipping-highlight i {
  font-size: 48px;
  color: #3B82F6;
  margin-bottom: 16px;
}

.shipping-highlight h4 {
  font-size: 24px;
  color: #0A1929;
  margin: 0 0 12px;
}

.shipping-highlight p {
  font-size: 16px;
  color: #475569;
  margin: 0;
}

.shipping-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.shipping-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: #F8FAFC;
  border-radius: 12px;
}

.shipping-item i {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 12px;
  font-size: 20px;
  color: #3B82F6;
  flex-shrink: 0;
}

.shipping-item h5 {
  font-size: 18px;
  color: #0A1929;
  margin: 0 0 8px;
}

.shipping-item p {
  font-size: 15px;
  color: #64748B;
  margin: 0;
  line-height: 1.6;
}

/* Tab Recensioni */
.reviews-section {
  max-width: 800px;
}

.reviews-summary {
  text-align: center;
  padding: 32px;
  background: #F8FAFC;
  border-radius: 16px;
  margin-bottom: 32px;
}

.rating-average {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.average-number {
  font-size: 56px;
  font-weight: 700;
  color: #0A1929;
  line-height: 1;
}

.average-stars {
  display: flex;
  gap: 4px;
}

.average-stars i {
  font-size: 24px;
  color: #E2E8F0;
}

.average-stars i.filled {
  color: #F59E0B;
}

.total-reviews {
  font-size: 14px;
  color: #64748B;
}

.review-item {
  padding: 24px;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  margin-bottom: 16px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.reviewer-name {
  font-weight: 600;
  color: #0A1929;
}

.review-date {
  font-size: 13px;
  color: #94A3B8;
  margin-left: 12px;
}

.review-rating {
  display: flex;
  gap: 4px;
}

.review-rating i {
  font-size: 14px;
  color: #E2E8F0;
}

.review-rating i.filled {
  color: #F59E0B;
}

.review-content {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
}

.no-reviews {
  text-align: center;
  padding: 48px;
  color: #94A3B8;
}

.no-reviews i {
  font-size: 48px;
  margin-bottom: 16px;
}

.no-reviews p {
  margin: 0;
  font-size: 16px;
}

.no-reviews .be-first {
  font-size: 14px;
  margin-top: 8px;
}

/* Ricambi Correlati */
.battel-related-products {
  padding: 60px 0;
  background: #f8f9fa;
}

.section-title {
  font-size: 28px;
  color: #0A1929;
  margin: 0 0 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title i {
  color: #D6001C;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.related-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card-grade {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}

.card-grade.grade-a {
  background: #2ECC71;
  color: #ffffff;
}

.card-grade.grade-b {
  background: #F1C40F;
  color: #0A1929;
}

.card-grade.grade-c {
  background: #E67E22;
  color: #ffffff;
}

.card-grade.grade-d {
  background: #E74C3C;
  color: #ffffff;
}

.card-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: #f8f9fa;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 16px;
  position: relative;
}

.card-content h4 {
  font-size: 15px;
  color: #0A1929;
  margin: 0 0 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-km {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748B;
  margin-bottom: 12px;
}

.card-price {
  display: flex;
  flex-direction: column;
}

.card-price .sale-price,
.card-price .price {
  font-size: 18px;
  font-weight: 700;
  color: #D6001C;
}

.card-price .old-price {
  font-size: 13px;
  color: #94A3B8;
  text-decoration: line-through;
}

.btn-view-product {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #D6001C;
  color: #ffffff;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-view-product:hover {
  background: #B80018;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
  .product-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .zoom-result {
    display: none !important;
  }

  .vehicle-source-content {
    grid-template-columns: 1fr;
  }

  .compatibility-list {
    grid-template-columns: 1fr;
  }

  .tech-specs-grid,
  .quality-checks-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-contacts {
    grid-template-columns: 1fr;
  }

  .warranty-content {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .trust-badges {
    grid-template-columns: repeat(2, 1fr);
  }

  .vehicle-specs {
    flex-direction: column;
    gap: 12px;
  }

  .tabs-header {
    flex-wrap: wrap;
  }

  .tab-btn {
    flex: 1 0 50%;
    padding: 16px;
    font-size: 13px;
  }

  .tech-specs-grid,
  .quality-checks-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .product-header-inner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .product-title {
    font-size: 24px;
  }

  .price-current .amount {
    font-size: 36px;
  }

  .quantity-cart-row {
    flex-direction: column;
  }

  .vehicle-source-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .compatibility-warning {
    flex-direction: column;
  }
}

/* ============================================
   OVERRIDE FINALE - FORCE FULL WIDTH
   ============================================ */

/* Reset tutti i vincoli di larghezza - CORRETTO */
html body.single-product #page,
html body.single-product #content,
html body.single-product .site-content,
html body.single-product main.site-main,
html body.single-product article,
html body.single-product .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Force battel product page - ALLINEATO CON HEADER */
.battel-product-page {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Container che segue la stessa larghezza dell'header */
.battel-product-page .battel-container-wide {
  max-width: 1400px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

/* Griglia prodotto - FIX LAYOUT SHIFT */
.battel-product-page .product-columns {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 40px !important;
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
}

/* FIX CRITICO: Prevent product column shrink */
.battel-product-page .product-column {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.battel-product-page .product-column:first-child {
  min-width: 0 !important;
  max-width: 100% !important;
}

.battel-product-page .product-column:last-child {
  min-width: 0 !important;
  max-width: 100% !important;
}



/* Override Elementor */
body.single-product .elementor-location-single {
  max-width: none !important;
  width: 100% !important;
}

body.single-product .elementor-section-wrap,
body.single-product .elementor-container {
  max-width: none !important;
  width: 100% !important;
}

/* ============================================
   SHOP PAGE STYLES
   ============================================ */

/* Hero Section */
.battel-shop-hero {
  padding: 48px 0;
  color: #ffffff;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.hero-subtitle .highlight {
  color: #D91E36;
  font-weight: 700;
}

.hero-search {
  width: 100%;
  max-width: 500px;
}

.hero-search .search-form {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 8px;
}

.hero-search .search-input-wrapper {
  position: relative;
  flex: 1;
}

.hero-search .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.hero-search .search-input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  border: none;
  border-radius: 8px;
  background: #ffffff;
  color: #1f2937;
  font-size: 15px;
}

.hero-search .search-input::placeholder {
  color: #9ca3af;
}

.hero-search .search-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #D91E36;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
}

.hero-search .search-button:hover {
  background: #B81A2F;
}

/* Category Pills */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.category-pill:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.category-pill.active {
  background: #D91E36;
  border-color: #D91E36;
}

/* Main Shop Layout */
.battel-shop-main {
  width: 100%;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
  padding: 48px 16px;
  background: #f8f9fa;
  box-sizing: border-box;
}

.shop-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 1024px) {
  .shop-layout {
    flex-direction: row;
  }

  .shop-sidebar {
    width: 25%;
    flex-shrink: 0;
  }

  .shop-products {
    width: 75%;
    flex-grow: 1;
    min-width: 0;
  }
}

.filter-sidebar {
  position: sticky;
  top: 140px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  padding: 24px;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
}

.filter-sidebar::-webkit-scrollbar {
  width: 6px;
}

.filter-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.filter-sidebar::-webkit-scrollbar-thumb {
  background: #D91E36;
  border-radius: 3px;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 24px;
}

.filter-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0A1929;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-title i {
  color: #D91E36;
}

.reset-filters {
  font-size: 13px;
  color: #D91E36;
  text-decoration: none;
}

.reset-filters:hover {
  text-decoration: underline;
}

.filter-section {
  margin-bottom: 24px;
}

.filter-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #0A1929;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-section-title i {
  color: #9ca3af;
}

.filter-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-content.scrollable {
  max-height: 200px;
  overflow-y: auto;
  padding-right: 8px;
}

.filter-select,
.filter-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  background: #ffffff;
}

.filter-select:focus,
.filter-input:focus {
  outline: none;
  border-color: #D91E36;
}

.filter-select:disabled {
  background: #f3f4f6;
  cursor: not-allowed;
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.plate-input {
  text-transform: uppercase;
  font-family: monospace;
}

.filter-checkbox,
.filter-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}

.filter-checkbox:hover,
.filter-radio:hover {
  background: #f9fafb;
}

.filter-checkbox input,
.filter-radio input {
  width: 18px;
  height: 18px;
  accent-color: #D91E36;
}

.checkbox-label {
  flex: 1;
  font-size: 14px;
}

.checkbox-count {
  font-size: 12px;
  color: #9ca3af;
}

/* Grade badges in filters */
.grade-filter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.grade-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.grade-badge.grade-a {
  background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
}

.grade-badge.grade-b {
  background: linear-gradient(135deg, #F1C40F 0%, #F39C12 100%);
}

.grade-badge.grade-c {
  background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
}

/* Dual Price Slider */
.price-range-container {
  position: relative;
  width: 100%;
  padding: 10px 0;
}

.price-slider-visual {
  position: relative;
  height: 6px;
  background: #e5e7eb;
  border-radius: 5px;
  margin-bottom: 25px;
}

.price-slider-range {
  position: absolute;
  height: 100%;
  background: #D91E36;
  border-radius: 5px;
  left: 0%;
  right: 0%;
}

.range-input-wrapper {
  position: relative;
}

.range-input-wrapper input {
  position: absolute;
  width: 100%;
  top: -31px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.range-input-wrapper input[type="range"]::-webkit-slider-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #D91E36;
  pointer-events: auto;
  -webkit-appearance: none;
  border: 3px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.range-input-wrapper input[type="range"]::-moz-range-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #D91E36;
  pointer-events: auto;
  -moz-appearance: none;
  border: 3px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.price-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 14px;
  color: #4b5563;
  font-weight: 500;
}

.max-price-label {
  color: #D91E36;
  font-weight: 700;
}

.price-inputs {
  display: flex;
  gap: 10px;
}

.price-inputs .input-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.price-inputs .input-group span {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.price-inputs .price-input {
  width: 100%;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  color: #0A1929;
  font-weight: 500;
}

.price-inputs {
  display: flex;
  gap: 8px;
}

.price-input {
  flex: 1;
}

.apply-filters-btn {
  width: 100%;
  padding: 14px;
  background: #D91E36;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(217, 30, 54, 0.3);
  transition: all 0.2s;
}

.apply-filters-btn:hover {
  background: #B81A2F;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 30, 54, 0.4);
}

/* Products Toolbar */
.products-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
}

.toolbar-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.results-count {
  font-size: 14px;
  color: #6b7280;
}

.results-count strong {
  color: #0A1929;
}

.divider {
  width: 1px;
  height: 16px;
  background: #e5e7eb;
}

.sort-dropdown {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.sort-dropdown span {
  color: #6b7280;
}

.orderby-select {
  font-weight: 600;
  color: #0A1929;
  border: none;
  background: transparent;
  cursor: pointer;
}

.view-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-toggle span {
  font-size: 14px;
  color: #6b7280;
}

.view-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.2s;
}

.view-btn:hover {
  border-color: #0A1929;
  color: #0A1929;
}

.view-btn.active {
  background: #0A1929;
  border-color: #0A1929;
  color: #ffffff;
}

/* Active Filters */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.active-filters-label {
  font-size: 14px;
  color: #6b7280;
}

.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(217, 30, 54, 0.1);
  border: 1px solid rgba(217, 30, 54, 0.2);
  border-radius: 50px;
  font-size: 13px;
  color: #D91E36;
}

.active-filter-tag a {
  color: #D91E36;
  text-decoration: none;
}

.active-filter-tag a:hover {
  color: #B81A2F;
}

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

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.products-grid.list-view {
  grid-template-columns: 1fr !important;
}

/* Product Card */
.product-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(37, 211, 102, 0.45) !important;
}

.product-card.product-incoming {
  opacity: 0.75;
}

.product-image-wrapper {
  position: relative;
  height: 240px;
  background: #f9fafb;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.product-image-link img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.5s;
}

.product-card:hover .product-image-link img {
  transform: scale(1.1);
}

.product-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #d1d5db;
  font-size: 48px;
}

.grade-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.discount-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: #D91E36;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50px;
}

.quick-actions {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s;
}

.product-card:hover .quick-actions {
  opacity: 1;
  transform: translateY(0);
}

.quick-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.quick-action-btn:first-child {
  background: #ffffff;
  color: #374151;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.quick-action-btn:first-child:hover {
  color: #D91E36;
}

.quick-action-btn:last-child {
  background: #D91E36;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(217, 30, 54, 0.3);
}

.quick-action-btn:last-child:hover {
  background: #B81A2F;
}

.stock-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stock-badge.in-stock {
  background: #2ECC71;
}

.stock-badge.low-stock {
  background: #F39C12;
}

.stock-badge.out-of-stock {
  background: #E74C3C;
}

.stock-badge.on-backorder {
  background: #6b7280;
}

/* Product Info */
.product-info {
  padding: 20px;
}

.vehicle-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
}

.vehicle-info i {
  color: #D91E36;
}

.vehicle-km {
  position: relative;
  padding-left: 12px;
}

.vehicle-km::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: #d1d5db;
  border-radius: 50%;
}

.product-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.4;
}

.product-title a {
  color: #0A1929;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title a:hover {
  color: #D91E36;
}

.product-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.code-badge {
  padding: 4px 8px;
  background: #f3f4f6;
  border-radius: 4px;
  font-size: 12px;
  color: #6b7280;
  font-family: monospace;
}

.product-price {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 16px;
}

.sale-price,
.current-price {
  font-size: 24px;
  font-weight: 800;
  color: #D91E36;
}

.regular-price {
  font-size: 16px;
  color: #9ca3af;
  text-decoration: line-through;
  margin-bottom: 4px;
}

.add-to-cart-btn,
.notify-btn {
  width: 100%;
  height: 40px;
  padding: 0 16px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.add-to-cart-btn {
  background: #F97316;
  color: #ffffff;
}

.add-to-cart-btn:hover {
  background: #EA580C;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}

.add-to-cart-btn.disabled {
  background: #d1d5db;
  cursor: not-allowed;
}

/* Battel Red Colors */
.bg-battel-red {
  background-color: #D91E36 !important;
}

.text-battel-red {
  color: #D91E36 !important;
}

.go-to-cart-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  background: #D91E36;
  color: #ffffff;
  text-decoration: none !important;
}

.go-to-cart-btn:hover {
  background: #b1182c;
  box-shadow: 0 4px 16px rgba(217, 30, 54, 0.3);
  color: #ffffff;
}

.btn-esaurito {
  background: #0A1929 !important;
  color: #ffffff !important;
  opacity: 0.7;
  cursor: not-allowed !important;
  pointer-events: none;
  border: none;
  font-weight: 700;
  border-radius: 12px;
  width: 100%;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.notify-btn {
  background: #6b7280;
  color: #ffffff;
}

.notify-btn:hover {
  background: #4b5563;
}

/* Pagination */
.products-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.products-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s;
}

.products-pagination .page-numbers:hover {
  border-color: #D91E36;
  color: #D91E36;
}

.products-pagination .page-numbers.current {
  background: #D91E36;
  border-color: #D91E36;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(217, 30, 54, 0.3);
}

/* Recently Viewed */
.recently-viewed-section {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}

.recently-viewed-section .section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0A1929;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.recently-viewed-section .section-title i {
  color: #D91E36;
}

.recently-viewed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .recently-viewed-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.recently-viewed-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s;
}

.recently-viewed-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.recently-viewed-item a {
  text-decoration: none;
  color: inherit;
}

.recently-viewed-item img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 12px;
}

.recently-viewed-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: #0A1929;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recently-viewed-item .price {
  font-size: 14px;
  font-weight: 700;
  color: #D91E36;
  margin: 0;
}

/* No Products */
.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  color: #6b7280;
}

.no-products i {
  font-size: 48px;
  margin-bottom: 16px;
  color: #d1d5db;
}

.no-products h3 {
  font-size: 20px;
  font-weight: 600;
  color: #374151;
  margin: 0 0 8px;
}

/* Newsletter Section */
.battel-newsletter {
  background: #0A1929;
  padding: 64px 0;
  color: #ffffff;
}

.newsletter-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 16px;
}

.newsletter-content>p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 32px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto 16px;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-input {
  flex: 1;
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 16px;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  outline: none;
  border-color: #D91E36;
}

/* ========================================
   SHOP PAGE STYLES - Pagina Shop Battel
   ======================================== */

/* Shop Hero Section */
.battel-shop-hero {
  background: linear-gradient(135deg, #0A1929 0%, #1a3a52 100%);
  color: #fff;
  padding: 48px 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.hero-title-section {
  flex: 1;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
}

.hero-subtitle {
  color: #9ca3af;
  font-size: 18px;
}

.hero-subtitle .highlight {
  color: #D91E36;
  font-weight: 700;
}

.hero-search-container {
  width: 100%;
}

@media (min-width: 768px) {
  .hero-search-container {
    width: auto;
    min-width: 500px;
  }
}

.hero-search-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  gap: 8px;
}

.search-input-wrapper {
  flex: 1;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.search-input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  background: #fff;
  border: none;
  border-radius: 8px;
  color: #1f2937;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
}

.search-input:focus {
  box-shadow: 0 0 0 2px #D91E36;
}

.search-button {
  background: #D91E36;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  white-space: nowrap;
}

.search-button:hover {
  background: #B81A2F;
}

/* Category Pills */
.category-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.category-pill {
  padding: 10px 20px;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.category-pill:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.category-pill.active {
  background: #D91E36;
  border-color: #D91E36;
}

/* (Duplicate shop layout rules removed - authoritative rules are at ~line 4684) */

.filter-sidebar {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .filter-sidebar {
    position: sticky;
    top: 140px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
  }

  .filter-sidebar::-webkit-scrollbar {
    width: 6px;
  }

  .filter-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
  }

  .filter-sidebar::-webkit-scrollbar-thumb {
    background: #D91E36;
    border-radius: 3px;
  }
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.filter-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #0A1929;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.reset-filters {
  font-size: 14px;
  color: #D91E36;
  text-decoration: none;
}

.reset-filters:hover {
  text-decoration: underline;
}

.filter-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-section-title {
  font-weight: 700;
  color: #0A1929;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.filter-section-title i {
  color: #9ca3af;
}

.filter-inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-select,
.filter-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.filter-select:focus,
.filter-input:focus {
  border-color: #D91E36;
}

.filter-select:disabled {
  background: #f3f4f6;
  cursor: not-allowed;
}

.input-with-icon {
  position: relative;
}

.input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.filter-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-checkboxes.scrollable {
  max-height: 192px;
  overflow-y: auto;
  padding-right: 8px;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.filter-checkbox-label:hover {
  background: #f9fafb;
}

.filter-checkbox {
  width: 16px;
  height: 16px;
  accent-color: #D91E36;
}

.checkbox-text {
  font-size: 14px;
  flex: 1;
}

.checkbox-count {
  font-size: 12px;
  color: #9ca3af;
}

.grade-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.grade-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.grade-badge.grade-a {
  background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
}

.grade-badge.grade-b {
  background: linear-gradient(135deg, #F1C40F 0%, #F39C12 100%);
}

.grade-badge.grade-c {
  background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
}

/* Price Range */
.price-range-container {
  padding: 0 8px;
}

.price-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: #e5e7eb;
  outline: none;
  margin-bottom: 16px;
}

.price-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #D91E36;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #4b5563;
}

.price-labels .max-price {
  font-weight: 700;
  color: #D91E36;
}

.price-inputs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.price-input {
  flex: 1;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
}

/* Radio Buttons */
.filter-radios {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-radio-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.filter-radio-label:hover {
  background: #f9fafb;
}

.filter-radio {
  width: 16px;
  height: 16px;
  accent-color: #D91E36;
}

.apply-filters-btn {
  width: 100%;
  background: #D91E36;
  color: #fff;
  font-weight: 700;
  padding: 12px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 15px -3px rgba(217, 30, 54, 0.2);
  transition: background 0.2s;
}

.apply-filters-btn:hover {
  background: #B81A2F;
}

/* Products Section */
.shop-products {
  flex: 1;
}

@media (min-width: 1024px) {
  .shop-products {
    width: 75%;
  }
}

/* Toolbar */
.products-toolbar {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.results-count {
  font-size: 14px;
  color: #4b5563;
}

.results-count strong {
  color: #0A1929;
}

.toolbar-divider {
  width: 1px;
  height: 16px;
  background: #d1d5db;
}

.sort-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.sort-label {
  color: #6b7280;
}

.sort-select {
  font-weight: 500;
  color: #0A1929;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
}

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

.view-label {
  font-size: 14px;
  color: #6b7280;
}

.view-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.2s;
}

.view-btn:hover {
  color: #0A1929;
  border-color: #0A1929;
}

.view-btn.active {
  background: #0A1929;
  color: #fff;
  border-color: #0A1929;
}

/* Active Filters */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.active-filters-label {
  font-size: 14px;
  color: #6b7280;
  margin-right: 8px;
}

.active-filter-tag {
  background: rgba(217, 30, 54, 0.1);
  color: #D91E36;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(217, 30, 54, 0.2);
}

.active-filter-tag button {
  background: none;
  border: none;
  color: #D91E36;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.active-filter-tag button:hover {
  color: #B81A2F;
}

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

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Monitor quadrato 1280x1024 e schermi fino a 1550px - 3 schede */
@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Widescreen Layout Adjustments (Up to 5 columns within 1800px max-width) */
@media (min-width: 1550px) {
  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .shop-sidebar {
    width: 22% !important;
  }

  .shop-products {
    width: 78% !important;
  }
}

@media (min-width: 1650px) {
  /*
  .products-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
  */

  .shop-sidebar {
    width: 20% !important;
    max-width: 320px !important;
  }

  .shop-products {
    flex: 1 !important;
    width: auto !important;
  }
}

/* Product Card */
.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(37, 211, 102, 0.45) !important;
}

.product-card:hover .product-title a {
  color: #D91E36;
}

.product-card.out-of-stock-item {
  opacity: 0.65;
}

.product-card.out-of-stock-item:hover {
  transform: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.product-card.out-of-stock-item .product-image {
  filter: grayscale(100%);
}

.product-card.out-of-stock-item .add-to-cart-btn.disabled {
  background: #d1d5db;
  color: #9ca3af;
  cursor: not-allowed;
  pointer-events: none;
}

.product-card.out-of-stock-item .product-price .current-price {
  color: #9ca3af;
}

.product-image-wrapper {
  position: relative;
  height: 256px;
  background: #f9fafb;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.5s;
}

.product-card:hover .product-image {
  transform: scale(1.1);
}

.product-image-wrapper .grade-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  font-size: 14px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.discount-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #D91E36;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 9999px;
}

.quick-actions {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s;
}

.product-card:hover .quick-actions {
  opacity: 1;
  transform: translateY(0);
}

.quick-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.wishlist-btn {
  background: #fff;
  color: #374151;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.wishlist-btn:hover {
  color: #D91E36;
}

.quick-view-btn {
  background: #D91E36;
  color: #fff;
}

.quick-view-btn:hover {
  background: #B81A2F;
}

.stock-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stock-badge.in-stock {
  background: #22c55e;
  color: #fff;
}

.stock-badge.low-stock {
  background: #f97316;
  color: #fff;
}

.stock-badge.out-of-stock {
  background: #6b7280;
  color: #fff;
}

.stock-badge {
  overflow: hidden;
}

.stock-badge.in-stock::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 8s infinite;
}

@keyframes shimmer {
  100% {
    left: 100%;
  }
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vehicle-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
}

.vehicle-info i {
  color: #D91E36;
}

.dot-separator {
  width: 4px;
  height: 4px;
  background: #d1d5db;
  border-radius: 50%;
}

.product-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-title a {
  color: #0A1929;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.product-codes {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.code-badge {
  background: #f3f4f6;
  color: #4b5563;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: monospace;
}

.product-price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 16px;
}

.current-price {
  font-size: 24px;
  font-weight: 700;
  color: #0A1929;
}

.product-card .current-price {
  color: #D91E36;
}

.original-price {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: line-through;
  margin-bottom: 4px;
}

.add-to-cart-btn,
.notify-btn {
  width: 100%;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  margin-top: auto;
}

.add-to-cart-btn {
  background: #0A1929;
  color: #fff;
}

.add-to-cart-btn:hover {
  background: #1a3a52;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.notify-btn {
  background: #d1d5db;
  color: #fff;
  cursor: not-allowed;
}

/* No Products */
.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  color: #6b7280;
}

.no-products i {
  font-size: 48px;
  color: #d1d5db;
  margin-bottom: 16px;
}

.no-products h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0A1929;
  margin-bottom: 8px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  list-style: none;
  padding: 0;
}

.pagination li {
  display: inline-flex;
}

.pagination a,
.pagination span {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e5e7eb;
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.pagination a:hover {
  border-color: #D91E36;
  color: #D91E36;
}

.pagination .current {
  background: #D91E36;
  color: #fff;
  border-color: #D91E36;
  box-shadow: 0 10px 15px -3px rgba(217, 30, 54, 0.3);
  font-weight: 700;
}

.pagination .dots {
  border: none;
  color: #9ca3af;
}

/* Recently Viewed */
.recently-viewed-section {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.recently-viewed-section .section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #0A1929;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recently-viewed-section .section-title i {
  color: #D91E36;
  font-size: 16px;
}

.recently-viewed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 1023px) {
  .recently-viewed-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 639px) {
  .recently-viewed-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.recently-viewed-item {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.recently-viewed-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.recently-viewed-item a {
  text-decoration: none;
  display: block;
}

.recently-viewed-item img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  mix-blend-mode: multiply;
  margin-bottom: 8px;
  transition: transform 0.3s;
}

.recently-viewed-item:hover img {
  transform: scale(1.03);
}

.recently-viewed-item h4 {
  font-weight: 600;
  font-size: 12px;
  color: #0A1929;
  margin-bottom: 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recently-viewed-item .price {
  color: #D91E36;
  font-weight: 700;
  font-size: 13px;
}

.recently-viewed-item .price del {
  color: #9ca3af;
  font-size: 11px;
  margin-right: 4px;
}

.recently-viewed-item .price ins {
  text-decoration: none;
}

/* Newsletter Section */
.battel-newsletter {
  background: #0A1929;
  color: #fff;
  padding: 80px 0;
  margin-top: 48px;
}

.newsletter-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.newsletter-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.newsletter-subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  font-size: 18px;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  flex-direction: row;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 16px 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: all 0.2s;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  border-color: #D91E36;
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
  padding: 16px 32px;
  background: #D91E36;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: #B81A2F;
}

.newsletter-note {
  font-size: 12px;
  color: #6b7280;
  margin-top: 16px;
}

/* Color Variables for Shop */
.text-battel-red {
  color: #D91E36;
}

.bg-battel-red {
  background-color: #D91E36;
}

/* Loading Animation */
@keyframes stockShimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

/* Responsive Adjustments */
@media (max-width: 1023px) {
  .shop-layout {
    flex-direction: column;
  }

  .shop-sidebar {
    order: 2;
  }

  .shop-products {
    order: 1;
  }
}

/* WooCommerce Overrides for Shop */
.woocommerce .battel-shop-main ul.products {
  display: contents;
}

.woocommerce .battel-shop-main .woocommerce-result-count,
.woocommerce .battel-shop-main .woocommerce-ordering {
  display: none;
}

/* Utility Classes */
.uppercase {
  text-transform: uppercase;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 16px;
  padding-right: 16px;
}

.py-8 {
  padding-top: 32px;
  padding-bottom: 32px;
}

/* End Shop Styles */

.newsletter-btn {
  padding: 16px 32px;
  background: #D91E36;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: #B81A2F;
}

.newsletter-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* ============================================
   HOMEPAGE REDESIGN â€” HERO
   ============================================ */

.bp-hero {
  position: relative;
  min-height: 560px !important;
  display: flex;
  align-items: center;
  overflow: hidden;

  padding: 60px 0 70px 0 !important;
  /* Resetting padding to allow true boundary overlap */
  width: 100%;
}

/* ============================================
   HERO BENTO GRID (Navigation Shortcuts)
   ============================================ */
.bp-hero-bento-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1800px;
  margin: -35px auto 20px auto;
  /* 50px overlap to match demolizione */
  position: relative;
  z-index: 20;
  padding: 0 24px;
}

.bp-hero-bento-box {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 250px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bp-hero-bento-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: #D91E36;
}

.bp-hero-bento-box-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.bp-hero-bento-box:nth-child(1) .bp-hero-bento-box-icon {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
}

.bp-hero-bento-box:nth-child(2) .bp-hero-bento-box-icon {
  background: rgba(10, 25, 41, 0.1);
  color: #0A1929;
}

.bp-hero-bento-box:nth-child(3) .bp-hero-bento-box-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.bp-hero-bento-box:nth-child(4) .bp-hero-bento-box-icon {
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
}

.bp-hero-bento-box-content {
  display: flex;
  flex-direction: column;
}

.bp-hero-bento-box-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #0F172A;
  margin: 0 0 4px 0;
  transition: color 0.2s;
}

.bp-hero-bento-box:hover .bp-hero-bento-box-title {
  color: #D91E36;
}

.bp-hero-bento-box-desc {
  font-size: 13px;
  color: #64748B;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 991px) {
  .bp-hero-bento-box {
    min-width: calc(50% - 10px);
  }
}

@media (max-width: 575px) {
  .bp-hero-bento-box {
    min-width: 100%;
  }
}


/* ============================================
   GALLERY HERO SECTION â€” Mini-hero navy con bento overlap
   ============================================ */

.bp-gallery-hero-section {
  position: relative;
  padding: 0 !important;
  margin: 0;
  background: #0A1929;
}

/* Immagine di sfondo della mini-hero */
.bp-gallery-hero-bg {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.bp-gallery-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  opacity: 0.35;
}

.bp-gallery-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 25, 41, 0.5) 0%, #0A1929 100%);
}

/* Testo nella mini-hero */
.bp-gallery-hero-content {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  z-index: 5;
}

.bp-gallery-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.bp-gallery-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px 0;
  line-height: 1.1;
  letter-spacing: -0.5px;
  /* Gradiente Rosso â†’ Arancione identico all'hero demolizione */
  background: linear-gradient(135deg, #D91E36 0%, #FF6B35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bp-gallery-hero-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-weight: 400;
}

.bp-gallery-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(5px);
  transition: all 0.3s;
  white-space: nowrap;
}

.bp-gallery-hero-link:hover {
  border-color: #D91E36;
  color: #D91E36;
  background: rgba(217, 30, 54, 0.08);
}

/* Area card: galleria veicoli */
.bp-gallery-cards-wrap {
  position: relative;
  z-index: 10;
  margin-top: 0;
  background: transparent;
  padding: 0 0 40px 0;
}

/* Frecce slider */
#sezione-demolizione .bp-slider-btn {
  background: #fff;
  border-color: #e5e7eb;
  color: #0A1929;
  box-shadow: 0 4px 16px rgba(10, 25, 41, 0.15);
}

#sezione-demolizione .bp-slider-btn:hover {
  background: #D91E36;
  color: #fff;
  border-color: #D91E36;
}


.bp-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.bp-hero-orb-red {
  top: 80px;
  right: 80px;
  width: 288px;
  height: 288px;
  background: rgba(217, 30, 54, 0.1);
}

.bp-hero-orb-blue {
  bottom: 80px;
  left: 80px;
  width: 384px;
  height: 384px;
  background: rgba(26, 58, 82, 0.2);
}

.bp-hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.bp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.bp-hero-left {
  position: relative;
}

.bp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 30, 54, 0.2);
  border: 1px solid rgba(217, 30, 54, 0.3);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  position: absolute;
  top: -65px;
  left: 0;
  z-index: 15;
}

.bp-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--battel-red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.bp-hero-title {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 24px 0;
}

.bp-gradient-text {
  background: linear-gradient(135deg, #D91E36 0%, #FF6B35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bp-hero-desc {
  font-size: 18px;
  color: #d1d5db;
  max-width: 560px;
  line-height: 1.7;
  margin: 0 0 32px 0;
}

.bp-hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}

.bp-stat {
  text-align: center;
}

.bp-stat-num {
  display: block;
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, #D91E36, #FF6B35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bp-stat-label {
  font-size: 14px;
  color: #9ca3af;
  margin-top: 4px;
  display: block;
}

.bp-stat-sep {
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.bp-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.bp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--battel-red);
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(217, 30, 54, 0.3);
  transition: all 0.3s;
  overflow: hidden;
  position: relative;
}

.bp-btn-primary:hover {
  background: var(--battel-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px rgba(217, 30, 54, 0.4);
  color: #fff;
}

.bp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

.bp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ============================================
   HOMEPAGE â€” SEARCH MODULE
   ============================================ */

.bp-search-module {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 0;
  overflow: hidden;
}

.bp-search-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bp-search-title-icon {
  width: 40px;
  height: 40px;
  background: rgba(217, 30, 54, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--battel-red);
  flex-shrink: 0;
}

.bp-search-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  padding: 4px;
  background: #f3f4f6;
  border-radius: 12px;
}

.bp-tab-btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  color: #6b7280;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s;
}

.bp-tab-btn.active {
  background: #fff;
  color: var(--battel-dark);
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bp-tab-btn.active i {
  color: var(--battel-red);
}

.bp-tab-content {
  display: none;
}

.bp-tab-content.active {
  display: block;
}

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

.bp-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.bp-input-wrap {
  position: relative;
}

.bp-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--battel-red);
  font-size: 16px;
}

.bp-input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--battel-dark);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.bp-input:focus {
  border-color: var(--battel-red);
  box-shadow: 0 0 0 4px rgba(217, 30, 54, 0.15);
}

/* License Plate Search Field */
.bp-plate-field-wrap {
  display: flex;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #e5e7eb;
  transition: all 0.3s;
}

.bp-plate-field-wrap:focus-within {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 2px #1d4ed8, 0 0 0 6px rgba(29, 78, 216, 0.15);
}

.bp-plate-eu-badge {
  background: #003399;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  width: 32px;
}

.bp-plate-eu-stars {
  font-size: 8px;
  line-height: 1;
}

.bp-plate-eu-stars::before {
  content: "â˜…";
  color: #FFCC00;
}

.bp-plate-country-code {
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.bp-plate-input {
  flex: 1;
  border: none;
  padding: 16px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--battel-dark);
  outline: none;
  letter-spacing: 2px;
}

.bp-plate-search-btn {
  background: #003399 !important;
  border: none;
  padding: 0 20px;
  color: #fff !important;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bp-plate-search-btn:hover {
  background: #002266 !important;
  color: #fff !important;
}

.bp-plate-login-gate {
  background: #fff8f1;
  border: 1px solid #ffedd5;
  padding: 16px;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: #9a3412;
}

.bp-plate-login-gate a {
  font-weight: 700;
  color: #ea580c;
  text-decoration: none;
}

.bp-input::placeholder {
  color: #9ca3af;
}

.bp-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 8px 0 0 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.bp-hint i {
  color: var(--battel-red);
}

.bp-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.bp-select {
  width: 100%;
  padding: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 500;
  color: #374151;
  background: #fff;
  outline: none;
  transition: border-color 0.3s;
  appearance: auto;
  box-sizing: border-box;
}

.bp-select:focus {
  border-color: var(--battel-red);
}

.bp-select:disabled {
  background: #f9fafb;
  color: #9ca3af;
}

.bp-btn-search {
  width: 100%;
  background: linear-gradient(to right, #D91E36, #B81A2F);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-body);
  padding: 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  overflow: hidden;
  position: relative;
}

.bp-btn-search:hover {
  box-shadow: 0 10px 15px -3px rgba(217, 30, 54, 0.3);
  transform: translateY(-2px);
}

.bp-btn-green {
  width: 100%;
  background: linear-gradient(to right, #25D366, #128C7E);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-body);
  padding: 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  overflow: hidden;
  position: relative;
}

.bp-btn-green:hover {
  box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}

/* Shine effect */
.bp-btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.6s;
}

.bp-btn-shine:hover::after {
  transform: rotate(30deg) translateX(100%);
}

.bp-trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.bp-trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.bp-trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.bp-trust-badge span {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  line-height: 1.3;
}

/* ============================================
   HOMEPAGE â€” SECTIONS SHARED
   ============================================ */

.bp-section {
  padding: 80px 0;
}

/* Override the 1800px .battel-container from header.php inline styles 
   for homepage content sections â€” these need the tighter 1280px layout */
.bp-section .battel-container,
.bp-hero .battel-container,
.bp-trust-section .battel-container,
.bp-arianna-section .battel-container,
.bp-demolizione-banner-section .battel-container {
  max-width: 1800px !important;
  padding: 0 24px !important;
}

.bp-section-white {
  background: #fff;
}

.bp-section-light {
  background: #f8f9fa;
}

.bp-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.bp-section-header-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bp-section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--battel-dark);
  margin: 0 0 12px 0;
}

/* Variante brand: gradiente Navy â†’ Rosso Battel (specchio di .bp-gradient-text nell'hero) */
.bp-section-title--brand {
  background: linear-gradient(135deg, #0A1929 0%, #D6001C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.bp-section-title--brand::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #0A1929, #D6001C);
  border-radius: 2px;
  margin-top: 8px;
}

/* -----------------------------------------------
   GALLERY LABELS - Etichette sottosezione slider
   ----------------------------------------------- */
.bp-gallery-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 8px;
  margin-bottom: 32px;
  border-left: 4px solid transparent;
}

.bp-gallery-label--arrivo {
  background: #EFF6FF;
  border-left-color: #3498db;
}

.bp-gallery-label--smontaggio {
  background: #FFF7ED;
  border-left-color: #FF6B35;
}

.bp-gallery-label__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.bp-gallery-label--arrivo .bp-gallery-label__dot {
  background: #3498db;
  box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4);
}

.bp-gallery-label--smontaggio .bp-gallery-label__dot {
  background: #FF6B35;
  box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4);
  animation: pulse-orange 2s infinite;
}

@keyframes pulse-orange {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.5);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(255, 107, 53, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
  }
}

.bp-gallery-label__text {
  font-size: 15px;
  font-weight: 700;
  color: #0A1929;
  letter-spacing: -0.2px;
}

.bp-gallery-label__sub {
  font-size: 12px;
  font-weight: 400;
  color: #64748b;
  padding-left: 6px;
  border-left: 1px solid #cbd5e1;
}

/* -----------------------------------------------
   CARD: colorazione per stato veicolo
   ----------------------------------------------- */
.bp-vcard--arrivo {
  border-top: 3px solid #3498db !important;
}

.bp-vcard--arrivo .bp-vcard-body {
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 60%);
}

.bp-vcard--arrivo .bp-vcard-tech-specs p:last-child {
  color: #1a56a0;
}

.bp-vcard--smontaggio {
  border-top: 3px solid #FF6B35 !important;
}

.bp-vcard--smontaggio .bp-vcard-body {
  background: linear-gradient(180deg, #fff5f0 0%, #ffffff 60%);
}

.bp-vcard--smontaggio .bp-vcard-tech-specs p:last-child {
  color: #b84a1a;
}


.bp-section-sub {
  font-size: 18px;
  color: #6b7280;
  margin: 0;
}

.bp-section-link {
  color: var(--battel-red);
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  white-space: nowrap;
  transition: gap 0.3s;
}

.bp-section-link:hover {
  gap: 12px;
  color: var(--battel-red);
}

/* ============================================
   HOMEPAGE â€” VEHICLE CARDS
   ============================================ */

.bp-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.bp-vcard {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  /* Layout colonna per permettere al body di crescere */
  display: flex;
  flex-direction: column;
}

.bp-vcard:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px -12px rgba(52, 152, 219, 0.4);
}

.bp-vcard-img {
  position: relative;
  height: 224px;
  overflow: hidden;
  background: #f3f4f6;
}

.bp-vcard-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.bp-vcard:hover .bp-vcard-photo {
  transform: scale(1.08);
}

.bp-vcard-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 25, 41, 0.8), transparent, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.bp-vcard:hover .bp-vcard-overlay {
  opacity: 1;
}

.bp-vcard-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.bp-badge-green {
  background: var(--battel-green);
}

.bp-badge-yellow {
  background: var(--battel-yellow);
  color: var(--battel-dark);
}

.bp-badge-blue {
  background: var(--battel-blue);
}

.bp-badge-in-arrivo {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: #fff;
}

.bp-badge-in-smontaggio {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: #fff;
}

.bp-badge-demolita {
  background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
  color: #fff;
}

.bp-pulse {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.bp-vcard-hover-btn {
  position: absolute;
  bottom: 16px;
  left: 16px;
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.3s;
}

.bp-vcard:hover .bp-vcard-hover-btn {
  transform: translateY(0);
  opacity: 1;
}

.bp-vcard-hover-btn a {
  background: var(--battel-red);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.bp-vcard-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  /* occupa tutto lo spazio verticale residuo */
  justify-content: space-between;
  /* titolo in alto, specs in basso */
}

.bp-vcard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.bp-vcard-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--battel-dark);
  margin: 0 0 4px 0;
  transition: color 0.3s;
}

.bp-vcard:hover .bp-vcard-title {
  color: var(--battel-red);
}

.bp-vcard-spec {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}

.bp-vcard-plate {
  background: var(--battel-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: monospace;
  white-space: nowrap;
}

.bp-vcard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
  font-size: 13px;
}

.bp-vcard-km {
  color: #6b7280;
}

.bp-vcard-km i {
  color: var(--battel-red);
  margin-right: 4px;
}

.bp-vcard-status {
  color: var(--battel-green);
  font-weight: 700;
}

.bp-vcard-status i {
  margin-right: 4px;
}

.bp-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   HOMEPAGE â€” CATEGORY CARDS
   ============================================ */

.bp-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.bp-cat-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}

.bp-cat-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.bp-cat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s;
}

.bp-cat-card:hover .bp-cat-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, #D91E36, #B81A2F) !important;
  color: #fff !important;
  box-shadow: 0 4px 6px rgba(217, 30, 54, 0.3);
}

.bp-cat-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--battel-dark);
  margin: 0 0 4px 0;
}

.bp-cat-sub {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
}

.bp-cat-count {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--battel-red);
  opacity: 0;
  transition: opacity 0.3s;
}

.bp-cat-card:hover .bp-cat-count {
  opacity: 1;
}

/* ============================================
   HOMEPAGE â€” PRODUCT CARDS
   ============================================ */

.bp-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.bp-pcard {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: all 0.3s;
}

.bp-pcard:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.bp-pcard-img {
  position: relative;
  height: 256px;
  background: #f9fafb;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-pcard-photo {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s;
}

/* Override padding when bp-pcard-img acts as slider wrapper */
.bp-pcard-img.product-slider-wrapper {
  padding: 0;
  overflow: hidden;
}

.bp-pcard-img.product-slider-wrapper .product-slider-slide .bp-pcard-photo {
  mix-blend-mode: multiply;
}

.bp-pcard:hover .product-slider-slide .bp-pcard-photo {
  transform: scale(1.05);
}

.bp-pcard:hover .bp-pcard-photo {
  transform: scale(1.1);
}

.bp-pcard-grade {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.bp-grade-a-plus {
  background: linear-gradient(135deg, #11998e, #38ef7d) !important;
  box-shadow: 0 0 12px rgba(56, 239, 125, 0.4) !important;
  color: #fff !important;
}

.bp-grade-a {
  background: var(--status-grade-a);
}

.bp-grade-b {
  background: var(--status-grade-b);
}

.bp-grade-c {
  background: var(--status-grade-c);
}

.bp-pcard-discount {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--battel-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
}

.bp-pcard-cart-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  background: var(--battel-orange);
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.3s;
  text-decoration: none;
}

.bp-pcard:hover .bp-pcard-cart-btn {
  opacity: 1;
  transform: translateY(0);
}

.bp-pcard-cart-btn:hover {
  background: var(--battel-orange-hover);
}

.bp-pcard-body {
  padding: 20px;
}

.bp-pcard-vehicle {
  font-size: 12px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.bp-pcard-vehicle i {
  color: var(--battel-red);
}

.bp-pcard-title {
  margin: 0 0 8px 0;
}

.bp-pcard-title a {
  font-weight: 700;
  font-size: 15px;
  color: var(--battel-dark);
  text-decoration: none;
}

.bp-pcard-title a:hover {
  color: var(--battel-red);
}

.bp-pcard-grade-row {
  margin-bottom: 12px;
}

.bp-pcard-grade-badge {
  font-size: 12px;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.bp-pcard-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bp-pcard-current {
  font-size: 20px;
  font-weight: 700;
  color: var(--battel-dark);
}

.bp-pcard-current.bp-price-sale {
  color: var(--battel-red);
}

.bp-pcard-original {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: line-through;
}

/* ============================================
   HOMEPAGE â€” TRUST SECTION
   ============================================ */

.bp-trust-section {
  padding: 80px 0;
  background: var(--battel-dark);
  position: relative;
  overflow: hidden;
  border-top: 2px solid #D91E36;
}

.bp-trust-line-top,
.bp-trust-line-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(217, 30, 54, 0.5), transparent);
}

.bp-trust-line-top {
  top: 0;
}

.bp-trust-line-bottom {
  bottom: 0;
}

.bp-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.bp-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.bp-trust-item-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.bp-trust-item:hover .bp-trust-item-icon {
  background: rgba(217, 30, 54, 0.2);
  border-color: rgba(217, 30, 54, 0.3);
}

.bp-trust-item-icon i {
  font-size: 28px;
  color: var(--battel-red);
  transition: transform 0.3s;
}

.bp-trust-item:hover .bp-trust-item-icon i {
  transform: scale(1.1);
}

.bp-trust-item h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.bp-trust-item p {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   HOMEPAGE â€” WHATSAPP FLOAT
   ============================================ */

.bp-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
}

.bp-whatsapp-float a {
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  text-decoration: none;
  transition: transform 0.3s;
  animation: bounce 2s infinite;
}

.bp-whatsapp-float a:hover {
  transform: scale(1.1);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ============================================
   HOMEPAGE â€” RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .bp-hero-grid {
    grid-template-columns: 1fr;
  }

  .bp-hero-title {
    font-size: 42px;
  }

  .bp-vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bp-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bp-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bp-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .bp-hero {
    min-height: auto;
    padding: 48px 0;
  }

  .bp-hero-title {
    font-size: 32px;
  }

  .bp-hero-stats {
    gap: 16px;
  }

  .bp-stat-num {
    font-size: 28px;
  }

  .bp-hero-ctas {
    flex-direction: column;
  }

  .bp-btn-primary,
  .bp-btn-ghost {
    width: 100%;
    justify-content: center;
    font-size: 16px;
  }

  .bp-form-row {
    grid-template-columns: 1fr;
  }

  .bp-search-tabs {
    flex-direction: column;
  }

  .bp-vehicle-grid {
    grid-template-columns: 1fr;
  }

  .bp-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bp-product-grid {
    grid-template-columns: 1fr;
  }

  .bp-trust-grid {
    grid-template-columns: 1fr;
  }

  .bp-section {
    padding: 48px 0;
  }

  .bp-section-title {
    font-size: 28px;
  }

  .bp-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ============================================
   BATTEL FOOTER STYLES
   ============================================ */
.battel-footer {
  background: #111827;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.battel-footer-main {
  max-width: 1800px;
  margin: 0 auto;
  padding: 48px 16px 0 !important;
}

.battel-footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.battel-footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.battel-footer-logo-box {
  background: transparent;
  display: inline-block;
  padding: 0;
  border: none;
  margin: 0;
}

.battel-footer-logo-img {
  height: 65px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
}

.battel-footer-slogan {
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
}

.battel-footer-slogan-line1 {
  font-size: 11px;
  color: #9ca3af;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
}

.battel-footer-slogan-line2 {
  font-size: 11px;
  color: #d91e36;
  letter-spacing: 0.1em;
  margin: 0;
  margin-top: 1px;
}

.battel-footer-social {
  display: flex;
  gap: 12px;
}

.battel-footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}

.battel-footer-social a:hover {
  background: #D91E36;
}

.battel-footer-certs {
  display: flex;
  gap: 15px;
  margin-top: auto;
  /* Pushes the certs to the bottom of the flex column to align with "orari" */
  align-items: center;
  flex-wrap: wrap;
}

.battel-footer-certs img {
  height: 60px;
  /* Increased size for better visibility */
  width: auto;
  filter: contrast(1.15) brightness(1.05);
  /* Enhanced clarity and punch */
  opacity: 1;
  /* Keeping the original colors as requested */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.battel-footer-certs img.cert-emas {
  height: 72px;
  /* Emphasized size for EMAS to compensate for its proportions */
}

.battel-footer-certs img:hover {
  transform: translateY(-5px) scale(1.05);
  /* Subtle lift on interaction */
}

@media (max-width: 768px) {
  .battel-footer-certs {
    justify-content: center;
    margin-top: 24px;
    gap: 12px;
  }

  .battel-footer-certs img {
    height: 48px;
  }

  .battel-footer-certs img.cert-emas {
    height: 56px;
  }
}

/* Footer columns */
.battel-footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin: 0 0 24px 0;
}

.battel-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.battel-footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

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

.battel-footer-links a i {
  font-size: 10px;
}

/* Contact items */
.battel-footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.battel-footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #9ca3af;
}

.battel-footer-contact-list li i {
  color: #D91E36;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Bottom bar */
.battel-footer-bottom {
  max-width: 1800px;
  margin: 0 auto;
  padding: 24px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: #6b7280;
}

.battel-footer-bottom-links {
  display: flex;
  gap: 24px;
}

.battel-footer-bottom-links a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.3s;
}

.battel-footer-bottom-links a:hover {
  color: #fff;
  text-decoration: underline;
}

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
  .battel-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .battel-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .battel-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SHOP PAGE STYLES
   ============================================ */

/* --- Hero Section (matching homepage .bp-hero gradient) --- */
.battel-shop-hero {
  position: relative;
  overflow: hidden;
}

.battel-shop-hero-container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 3rem 1rem;
  position: relative;
  z-index: 20;
  color: #ffffff;
  width: 100%;
}

.battel-shop-hero .hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.battel-shop-hero .hero-subtitle {
  font-size: 1.25rem;
  color: #d1d5db;
  margin: 0 0 1.5rem;
  max-width: 42rem;
}

.battel-shop-hero .hero-subtitle .highlight {
  color: #25D366;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .battel-shop-hero .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .battel-shop-hero .hero-title {
    font-size: 2.25rem;
  }
}

/* Category Pills */
.category-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
}

.category-pill:hover {
  border-color: var(--battel-red, #D91E36);
  color: var(--battel-red, #D91E36);
  background: rgba(217, 30, 54, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.category-pill.has-selection {
  border-color: var(--battel-red, #D91E36) !important;
  color: #fff !important;
  /* Testo bianco per contrasto sul banner scuro */
  background: rgba(217, 30, 54, 0.05) !important;
}

.category-pill.has-selection i {
  color: var(--battel-red, #D91E36) !important;
}

.category-pill.active {
  background: var(--battel-red, #D91E36);
  color: #fff;
  border-color: var(--battel-red, #D91E36);
  box-shadow: 0 4px 12px rgba(217, 30, 54, 0.2);
}

/* (Duplicate shop layout rules removed - authoritative rules are at ~line 4684) */

/* --- Sidebar Filters --- */
.filter-sidebar {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  padding: 24px;
  position: sticky;
  top: 140px;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  z-index: 10;
}

.filter-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: #D91E36;
  border-radius: 16px 0 0 16px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.filter-group-mb {
  margin-bottom: 12px;
}

.filter-label-sm {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.filter-sidebar::-webkit-scrollbar {
  width: 6px;
}

.filter-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.filter-sidebar::-webkit-scrollbar-thumb {
  background: #D91E36;
  border-radius: 3px;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 2px solid #f3f4f6;
  margin-bottom: 20px;
}

.filter-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #0A1929;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.filter-title .text-battel-red,
.filter-section-title i {
  color: #D91E36;
}

.reset-filters {
  font-size: 0.8rem;
  color: #D91E36;
  text-decoration: none;
  font-weight: 600;
}

.reset-filters:hover {
  color: #B81A2F;
}

.filter-section {
  margin-bottom: 20px;
}

.filter-section-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0A1929;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-select,
.filter-input {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #0A1929;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.filter-select:focus,
.filter-input:focus {
  border-color: #D91E36;
  outline: none;
}

.input-with-icon {
  position: relative;
}

.input-with-icon .input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #D91E36;
}

.filter-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-checkboxes.scrollable {
  max-height: 200px;
  overflow-y: auto;
  padding-right: 4px;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.9rem;
}

.filter-checkbox-label:hover {
  background: #f9fafb;
}

.filter-checkbox {
  width: 16px;
  height: 16px;
  accent-color: #D91E36;
}

.checkbox-text {
  flex: 1;
  font-weight: 500;
}

.checkbox-count {
  font-size: 0.75rem;
  color: #9ca3af;
}

.grade-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.grade-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.grade-a {
  background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
}

.grade-b {
  background: linear-gradient(135deg, #F1C40F 0%, #F39C12 100%);
}

.grade-c {
  background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
}

/* Using unified dual price slider styles from line 4910 */

.price-inputs {
  display: flex;
  gap: 8px;
}

.price-input {
  flex: 1;
  padding: 8px 12px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.85rem;
  text-align: center;
}

.price-input:focus {
  border-color: #D91E36;
  outline: none;
}

/* Filter Radios */
.filter-radios {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.9rem;
  font-weight: 500;
}

.filter-radio-label:hover {
  background: #f9fafb;
}

.filter-radio {
  width: 16px;
  height: 16px;
  accent-color: #D91E36;
}

/* Apply Filters Button */
.apply-filters-btn {
  width: 100%;
  background: linear-gradient(135deg, #D91E36 0%, #B81A2F 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  margin-top: 20px;
}

.apply-filters-btn:hover {
  box-shadow: 0 10px 25px rgba(217, 30, 54, 0.3);
  transform: translateY(-1px);
}

/* --- Products Toolbar --- */
.products-toolbar {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.results-count {
  font-size: 0.9rem;
  color: #6b7280;
}

.results-count strong {
  color: #0A1929;
  font-size: 1.1rem;
}

.toolbar-divider {
  width: 1px;
  height: 24px;
  background: #d1d5db;
}

.sort-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.sort-label {
  color: #6b7280;
}

.sort-select {
  font-weight: 600;
  color: #0A1929;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.9rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.sort-select:hover {
  border-bottom-color: #D91E36;
}

.sort-select:focus {
  outline: none;
  border-bottom-color: #D91E36;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-label {
  font-size: 0.85rem;
  color: #6b7280;
}

.view-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid #e5e7eb;
  background: #fff;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.view-btn:hover {
  color: #0A1929;
  border-color: #0A1929;
}

.view-btn.active {
  background: #0A1929;
  color: #fff;
  border-color: #0A1929;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* --- Active Filters --- */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.active-filters-label {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
  margin-right: 4px;
}

.active-filter-tag {
  background: rgba(217, 30, 54, 0.1);
  color: #D91E36;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(217, 30, 54, 0.2);
}

.active-filter-tag button {
  background: none;
  border: none;
  color: #D91E36;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.active-filter-tag button:hover {
  color: #B81A2F;
}

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

/* --- Product Card --- */
.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
}

.product-card.out-of-stock-item {
  opacity: 0.65;
}

.product-card.out-of-stock-item:hover {
  transform: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
}

/* Product Image Wrapper - Definitive Rules */
.product-card .product-image-wrapper {
  position: relative;
  height: 220px !important;
  width: 100% !important;
  background: #f9fafb !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  overflow: hidden !important;
  flex-shrink: 0;
}

.product-card .product-image-wrapper .product-image-link {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.product-card .product-image-wrapper img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important; /* Modificato da cover a contain per mostrare foto intera */
  margin: 0 !important;
  padding: 0 !important;
}

/* === PRODUCT SLIDER === */
.product-slider-wrapper {
  padding: 0 !important; /* Rimosso padding per riempire lo spazio */
  width: 100%;
  height: 100%;
}

.product-slider-track {
  display: flex;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.product-slider-track::-webkit-scrollbar {
  display: none;
}

.product-slider-slide {
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  flex-shrink: 0;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  background: transparent;
  box-sizing: border-box;
}

.product-slider-slide a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.product-slider-slide .product-image {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Modificato da cover a contain per mostrare foto intera */
  transition: transform 0.5s ease;
}

.product-card:hover .product-slider-slide .product-image {
  transform: scale(1.05);
}

/* Slider Arrow Buttons */
.product-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #374151;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s, background 0.2s, color 0.2s;
  z-index: 20;
  font-size: 0.7rem;
}

.product-slider-wrapper:hover .product-slider-btn {
  opacity: 1;
}

.product-slider-btn:hover {
  background: #D91E36;
  color: #fff;
}

.product-slider-prev {
  left: 8px;
}

.product-slider-next {
  right: 8px;
}

/* Slider Dots */
.product-slider-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}

.product-slider-wrapper:hover .product-slider-dots {
  opacity: 1;
}

.product-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: all 0.2s;
}

.product-slider-dot.active {
  background: #fff;
  transform: scale(1.15);
}

.product-image-wrapper .product-image,
.product-image-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image,
.product-card:hover .product-image-wrapper img {
  transform: scale(1.05);
}

/* Grade Badge (top-right circle) */
.product-image-wrapper .grade-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

/* Discount Badge â€“ compact red tag (matching reference mockup) */
.discount-badge {
  position: absolute;
  top: 58px;
  right: 14px;
  background: #D91E36;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 5;
  line-height: 1;
  display: inline-block;
  width: auto;
  max-width: 60px;
  text-align: center;
  white-space: nowrap;
}

/* Hide ALL WooCommerce default sale flash badges */
.product-image-wrapper .onsale,
.product-card .onsale,
.woocommerce span.onsale,
span.onsale,
.onsale,
.woocommerce .onsale,
.product-image-wrapper>span,
.product-card>span.onsale {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Stock Badge */
.stock-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.stock-badge.in-stock {
  background: #2ECC71;
  color: #fff;
  animation: stock-pulse 8s infinite;
}

.stock-badge.low-stock {
  background: #3B82F6;
  color: #fff;
}

.stock-badge.out-of-stock {
  background: #E74C3C;
  color: #fff;
}

@keyframes stock-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* Quick View Button */
.product-image-wrapper .quick-view-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #0A1929;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 5;
}

.product-card:hover .product-image-wrapper .quick-view-btn {
  opacity: 1;
  transform: translateY(0);
}

.product-image-wrapper .quick-view-btn:hover {
  background: #D91E36;
  color: #fff;
}

/* Product Info */
.product-info {
  padding: 20px;
}

/* Vehicle Origin Block */
.vehicle-origin {
  background: linear-gradient(135deg, #0a1929 0%, #1e3a5f 100%);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 16px;
  color: #fff;
}

.vehicle-origin-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.vehicle-origin-header i {
  color: #D91E36;
  font-size: 0.8rem;
}

.vehicle-origin-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

.vehicle-origin-name {
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 0 6px;
  color: #fff;
}

.vehicle-origin-details {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.75rem;
  color: #9ca3af;
}

.vehicle-origin-km i {
  margin-right: 4px;
}

.vehicle-origin-plate {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-weight: 600;
}

/* Product Title */
.product-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0A1929;
  margin: 0 0 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.product-card:hover .product-title a {
  color: #D91E36;
}

/* Product Codes */
.product-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.code-badge {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.code-badge.code-oe {
  background: #f3f4f6;
  color: #4b5563;
  font-family: monospace;
  border: 1px solid #e5e7eb;
}

.code-badge.code-brand {
  background: rgba(217, 30, 54, 0.1);
  color: #D91E36;
  font-weight: 600;
  border: 1px solid rgba(217, 30, 54, 0.2);
}

/* Grade Label Row */
.product-grade-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.grade-label {
  font-size: 0.75rem;
  color: #fff;
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.grade-description {
  font-size: 0.75rem;
  color: #6b7280;
}

.grade-description i {
  margin-right: 3px;
}

/* Product Price */
.product-price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.current-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0A1929;
}

.current-price.on-sale {
  color: #D91E36;
}

.original-price {
  font-size: 0.85rem;
  color: #9ca3af;
  text-decoration: line-through;
  margin-bottom: 3px;
}

.savings-badge {
  font-size: 0.7rem;
  background: #dcfce7;
  color: #166534;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: auto;
}

/* Add to Cart & Vehicle Buttons â€“ Unified Base Style */
.add-to-cart-btn,
.go-to-cart-btn,
.go-to-veicolo-btn {
  width: 100%;
  height: 40px;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  text-decoration: none;
}

.add-to-cart-btn {
  background: #FF6B35;
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3);
}

.go-to-cart-btn,
.go-to-veicolo-btn {
  background: #D91E36;
  box-shadow: 0 6px 16px rgba(217, 30, 54, 0.3);
}

.add-to-cart-btn:hover {
  background: #E55A2B;
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
  transform: translateY(-1px);
}

.go-to-cart-btn:hover,
.go-to-veicolo-btn:hover {
  background: #b91a2e;
  box-shadow: 0 8px 24px rgba(217, 30, 54, 0.4);
  transform: translateY(-1px);
  color: #fff;
}

/* Shine Effect */
.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.6s;
}

.btn-shine:hover::after {
  transform: rotate(30deg) translateX(100%);
}

/* Notify Button (out of stock) */
.notify-btn {
  width: 100%;
  background: #d1d5db;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Bell Button next to Esplora */
.btn-battel-notify-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  align-self: center;
  flex-shrink: 0;
  border: 2px solid #0A1929;
  border-radius: 8px; /* match go-to-veicolo-btn */
  color: #0A1929;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-battel-notify-icon:hover {
  background: #0A1929;
  color: #fff;
}

/* --- No Products --- */
.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: #6b7280;
}

.no-products i {
  font-size: 3rem;
  color: #d1d5db;
  margin-bottom: 16px;
}

.no-products h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: #0A1929;
  margin: 0 0 8px;
}

.no-products p {
  font-size: 1rem;
  margin: 0;
}

/* --- Pagination --- */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.pagination ul {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.pagination li {
  display: inline-flex;
}

.pagination a,
.pagination span {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
}

.pagination a {
  border: 2px solid #e5e7eb;
  color: #4b5563;
}

.pagination a:hover {
  border-color: #D91E36;
  color: #D91E36;
}

.pagination .current {
  background: linear-gradient(135deg, #D91E36 0%, #B81A2F 100%);
  color: #fff;
  border: none;
  box-shadow: 0 6px 16px rgba(217, 30, 54, 0.3);
}

.pagination .prev,
.pagination .next {
  color: #9ca3af;
  border: 2px solid #e5e7eb;
}

.pagination .prev:hover,
.pagination .next:hover {
  color: #D91E36;
  border-color: #D91E36;
}

/* --- Newsletter Section (matching homepage .bp-trust-section) --- */
.battel-newsletter {
  background: #0A1929;
  padding: 60px 0;
  margin-top: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Red accent lines matching homepage trust section */
.battel-newsletter::before,
.battel-newsletter::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(217, 30, 54, 0.5), transparent);
}

.battel-newsletter::before {
  top: 0;
}

.battel-newsletter::after {
  bottom: 0;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
}

.newsletter-subtitle {
  color: #9ca3af;
  font-size: 1rem;
  margin: 0 0 24px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 12px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.95rem;
}

.newsletter-input::placeholder {
  color: #6b7280;
}

.newsletter-input:focus {
  outline: none;
  border-color: #D91E36;
}

.newsletter-btn {
  background: #D91E36;
  color: #fff;
  font-weight: 700;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: #B81A2F;
}

.newsletter-note {
  color: #6b7280;
  font-size: 0.8rem;
  margin: 0;
}

/* --- Responsive (Shop) --- */
@media (max-width: 1023px) {
  .shop-sidebar {
    width: 100%;
  }

  .filter-sidebar {
    position: static;
    max-height: none;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .battel-shop-hero .hero-title {
    font-size: 2rem;
  }

  .category-pills-container {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .category-pill {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .product-image-wrapper {
    height: 180px;
  }

  .toolbar-left {
    flex-wrap: wrap;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .battel-shop-hero .hero-title {
    font-size: 1.6rem;
  }
}

/* ============================================
   SHOP LIST VIEW & SWITCHER STYLES
   ============================================ */

/* Toolbar Buttons */
.view-btn {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 8px 12px;
  border-radius: 6px;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.view-btn:hover {
  background: #e5e7eb;
  color: #111;
}

.view-btn.active {
  background: #D91E36;
  color: white;
  border-color: #D91E36;
}

.view-label {
  margin-right: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #374151;
}

/* SHOP LIST VIEW STYLES - Migrated to assets/css/shop-list-view.css */

/* BADGE ALIGNMENT FIX (Grid & List) */
.product-image-wrapper {
  position: relative;
}

.product-image-wrapper .grade-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  /* Ensure it stays strictly at top right */
}

.product-image-wrapper .discount-badge {
  position: absolute;
  top: 18px;
  /* Aligns center with Grade Badge centering */
  left: 10px;
  z-index: 20;
  transform: translateY(0);
  /* Reset any transforms */
}

/* ============================================
   GRADE FILTER SIDEBAR - RICH DESIGN
   ============================================ */

.filter-grade-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.grade-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.grade-filter-row:hover {
  background: #f3f4f6;
}

.grade-filter-checkbox {
  width: 17px;
  height: 17px;
  accent-color: #D91E36;
  flex-shrink: 0;
  cursor: pointer;
}

.grade-letter-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

.grade-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.grade-name {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
}

.grade-sub {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.2;
  margin-top: 1px;
}

.grade-count {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
  flex-shrink: 0;
}

/* ============================================
   BATTEL CHECKOUT FLOW - PREMIUM DESIGN
   From design spec: processo di acquisto.txt
   ============================================ */

/* --- Animations --- */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse-soft {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.animate-slide-in {
  animation: slideIn 0.4s ease-out;
}

/* --- Body Background on Cart/Checkout --- */
body.woocommerce-cart,
body.woocommerce-checkout {
  background: #F1F5F9;
}

/* --- Hide Default Page Titles --- */
body.woocommerce-cart .entry-header,
body.woocommerce-cart .page-header,
body.woocommerce-cart .woocommerce>.woocommerce-notices-wrapper+h1,
body.woocommerce-cart h1.entry-title,
body.woocommerce-checkout .entry-header,
body.woocommerce-checkout .page-header,
body.woocommerce-checkout h1.entry-title {
  display: none !important;
}

/* Hide default WooCommerce cart collaterals */
.cart-collaterals {
  display: none !important;
}

/* ============================
   PROGRESS BAR (Shared)
   ============================ */
.battel-progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
  padding: 0 20px;
}

.progress-step-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid #CBD5E1;
  background: #E2E8F0;
  color: #64748B;
  transition: all 0.3s;
  flex-shrink: 0;
}

.progress-step-item.active .step-indicator {
  background: #D91E36;
  color: #fff;
  border-color: #D91E36;
}

.progress-step-item.completed .step-indicator {
  background: #10B981;
  color: #fff;
  border-color: #10B981;
}

.step-text {
  font-size: 14px;
  font-weight: 600;
  color: #64748B;
  white-space: nowrap;
}

.progress-step-item.active .step-text {
  color: #0F172A;
}

.progress-step-item.completed .step-text {
  color: #0F172A;
}

.progress-bar-track {
  width: 64px;
  height: 4px;
  background: #CBD5E1;
  border-radius: 999px;
  overflow: hidden;
  margin: 0 8px;
  flex-shrink: 0;
}

.progress-bar-fill {
  height: 100%;
  background: #D91E36;
  border-radius: 999px;
  transition: width 0.5s ease;
}

/* ============================
   TRUST BAR (Site-wide â€” below header on cart/checkout)
   ============================ */

/* Trust bar is output via header hook â€” full-width white bar below header */
.battel-site-trust-bar {
  background: #fff;
  border-bottom: 1px solid #E2E8F0;
  padding: 8px 0;
  width: 100%;
}

.battel-site-trust-bar .trust-bar-inner {
  /* Full width, centred content like the rest of the site */
  max-width: 100%;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.battel-site-trust-bar .trust-item {
  display: flex;
  flex-direction: row;
  /* icon LEFT of text */
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #475569;
  font-weight: 400;
  white-space: nowrap;
}

.battel-site-trust-bar .trust-item i {
  font-size: 13px;
  /* small icon, same line as text */
  flex-shrink: 0;
}


/* Legacy class kept for old references */
.battel-trust-bar {
  display: none;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}


/* ============================
   CART PAGE LAYOUT
   ============================ */
.battel-cart-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

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

.battel-cart-products {
  min-width: 0;
}

/* --- Cart Card Container --- */
.cart-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #E2E8F0;
  overflow: hidden;
  margin-bottom: 16px;
}

.cart-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-main-title {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}

.cart-count {
  font-size: 13px;
  color: #64748B;
}

/* --- Cart Items --- */
.battel-cart-items {
  /* divider between items */
}

.cart-item {
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 1px solid #F1F5F9;
  transition: transform 0.35s ease-out, box-shadow 0.35s ease-out;
}

.cart-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.10);
}


.cart-item:last-child {
  border-bottom: none;
}

/* --- Item Thumbnail --- */
.cart-item-thumb {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  border: 1px solid #E2E8F0;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.cart-item-badge i {
  font-size: 8px;
}

/* --- Item Content --- */
.cart-item-content {
  flex: 1;
  min-width: 0;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2px;
}

.cart-item-vehicle {
  font-size: 11px;
  color: #D91E36;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 4px;
}

.cart-item-name {
  font-size: 17px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 2px;
  line-height: 1.3;
}

.cart-item-name a {
  color: inherit;
  text-decoration: none;
}

.cart-item-name a:hover {
  color: #D91E36;
}

.cart-item-code {
  font-size: 13px;
  color: #64748B;
  margin: 0;
}

.cart-remove-btn {
  color: #94A3B8;
  transition: color 0.2s;
  padding: 4px;
  font-size: 14px;
  text-decoration: none;
}

.cart-remove-btn:hover {
  color: #EF4444;
}

/* Hide WC default Ã— character */
.cart-remove-btn .remove {
  display: none;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.cart-item-qty-label {
  font-size: 13px;
  color: #64748B;
  background: #F1F5F9;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 500;
}

.cart-item-price {
  text-align: right;
}

.cart-item-price .woocommerce-Price-amount {
  font-size: 22px;
  font-weight: 700;
  color: #0F172A;
}

/* --- Coupon Section --- */
.cart-coupon-section {
  padding: 20px 24px;
  background: #F8FAFC;
  border-top: 1px solid #F1F5F9;
}

.coupon-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.coupon-tag-icon {
  color: #D91E36;
  font-size: 18px;
  flex-shrink: 0;
}

.coupon-input-wrap {
  flex: 1;
  display: flex;
  gap: 8px;
}

.coupon-input {
  flex: 1;
  padding: 8px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.coupon-input:focus {
  border-color: #D91E36;
  box-shadow: 0 0 0 3px rgba(217, 30, 54, 0.1);
}

.coupon-apply-btn {
  padding: 8px 20px;
  background: #0F172A;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.coupon-apply-btn:hover {
  background: #1E293B;
}

/* --- Continue Shopping --- */
.continue-shopping-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  margin-top: 8px;
  transition: color 0.2s;
}

.continue-shopping-link:hover {
  color: #D91E36;
}

/* ============================
   ORDER SUMMARY SIDEBAR (Cart)
   ============================ */
.battel-cart-summary {
  position: relative;
}

.summary-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #E2E8F0;
  overflow: hidden;
}

.sticky-summary {
  position: sticky;
  top: 100px;
}

.summary-header {
  padding: 24px;
  border-bottom: 1px solid #F1F5F9;
  background: linear-gradient(135deg, #F8FAFC, #fff);
}

.summary-main-title {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 16px;
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #475569;
}

.summary-val {
  font-weight: 500;
}

.summary-val.discount {
  color: #10B981;
}

.discount-row {
  color: #10B981;
}

.summary-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid #E2E8F0;
}

.summary-total-line>span:first-child {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
}

.summary-total-amount,
.summary-total-amount .woocommerce-Price-amount {
  font-size: 28px;
  font-weight: 800;
  color: #D91E36 !important;
}

.summary-iva-note {
  font-size: 11px;
  color: #94A3B8;
  text-align: right;
  margin: 4px 0 0;
}

/* --- Summary Actions --- */
.summary-actions {
  padding: 24px;
}

.battel-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 17px 24px;
  background: #FF6B35;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 6px 18px -4px rgba(255, 107, 53, 0.45);
  text-decoration: none !important;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}


.battel-checkout-btn::after {
  content: '\2192';
  font-size: 18px;
  transition: transform 0.2s;
}

.battel-checkout-btn:hover {
  background: #e85d29;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(255, 107, 53, 0.55);
  color: #fff;
}

.battel-checkout-btn:hover::after {
  transform: translateX(4px);
}


/* --- Payment Icons Grid --- */
.payment-icons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.pay-icon-box {
  background: #F1F5F9;
  border-radius: 6px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pay-icon-box i {
  font-size: 22px;
  color: #334155;
}

/* --- Trust Lines --- */
.summary-trust-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748B;
}

.trust-line i {
  font-size: 12px;
  flex-shrink: 0;
}

/* ============================
   CHECKOUT PAGE LAYOUT
   ============================ */
.battel-checkout-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

.battel-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: flex-start;
}

.battel-checkout-main {
  min-width: 0;
}

.battel-checkout-sidebar {
  position: relative;
}

/* --- Checkout Sections (Numbered Cards) --- */
.checkout-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #E2E8F0;
  padding: 24px;
  margin-bottom: 20px;
}

.section-header {
  border-bottom: none;
  padding: 0 0 16px;
}

.section-header h2,
.section-header h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
}

.section-number {
  width: 32px;
  height: 32px;
  background: #D91E36;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-right: 12px;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}

.section-content {
  padding: 0;
}

/* --- Form Styling (Checkout) --- */
.battel-checkout-form .form-row {
  margin-bottom: 14px;
}

.battel-checkout-form .form-row label {
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  margin-bottom: 4px;
  display: block;
}

.battel-checkout-form .form-row .input-text,
.battel-checkout-form .form-row select,
.battel-checkout-form .form-row textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 14px;
  color: #0F172A;
  background: #fff;
  transition: all 0.2s;
}

.battel-checkout-form .form-row .input-text:focus,
.battel-checkout-form .form-row select:focus,
.battel-checkout-form .form-row textarea:focus {
  border-color: #D91E36;
  outline: none;
  box-shadow: 0 0 0 3px rgba(217, 30, 54, 0.1);
}

/* Select2 override */
.battel-checkout-form .select2-container--default .select2-selection--single {
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  height: 42px;
  padding: 6px 14px;
}

.battel-checkout-form .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 28px;
  color: #0F172A;
  font-size: 14px;
}

/* --- Privato / Azienda Card-Style Toggle --- */
.battel-customer-type-wrapper {
  margin-bottom: 20px;
}

.battel-customer-type-wrapper>p>label {
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  display: block;
  margin-bottom: 6px;
}

.battel-customer-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 0;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.battel-customer-type-toggle .type-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  margin: 0;
  text-align: center;
}

.battel-customer-type-toggle .type-option:first-child {
  border-right: 2px solid #E2E8F0;
}

.battel-customer-type-toggle .type-option.active {
  border-color: #D91E36;
  background: #FEF2F2;
  color: #0F172A;
}

.battel-customer-type-toggle .type-option input[type="radio"] {
  display: none;
}

.battel-customer-type-toggle .type-option i {
  font-size: 24px;
  color: #94A3B8;
}

.battel-customer-type-toggle .type-option.active i {
  color: #D91E36;
}

/* --- Business Fields --- */
.battel-business-fields {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.battel-fatt-note {
  font-size: 12px;
  color: #475569;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.battel-fatt-note i {
  color: #3B82F6;
  flex-shrink: 0;
}

/* ============================================================
   PAYMENT METHODS â€” 2-Column Selectable Card Grid
   Matches design mockup
   ============================================================ */

.payment-choose-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #94A3B8;
  text-transform: uppercase;
  margin: 0 0 14px 0;
}

/* Hide default WooCommerce payment block styles */
#payment {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* Grid container */
ul.payment_methods {
  padding: 0;
  margin: 0;
  list-style: none;
  border: none;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-rows: auto;
  gap: 12px;
}

/* Remove WooCommerce pseudo-elements which act as ghost grid cells */
ul.payment_methods::before,
ul.payment_methods::after {
  display: none !important;
  content: none !important;
}

/* Hide rogue JS-injected payment methods that bypass WooCommerce gateways filter
   REMOVED: Now we allow the real gateways to show.
*/
ul.payment_methods li.payment_method_amazon_pay {
  display: none !important;
}

/* Each payment card wrapper */
ul.payment_methods li {
  display: contents !important;
}

/* Structure label as the actual visual card */
ul.payment_methods li>label {
  display: flex !important;
  flex-direction: column !important;
  height: 120px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 12px 6px !important;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
  position: relative;
  margin: 0 !important;
}

/* Hide the injected logos from PayPal/WooCommerce plugins to eliminate jumping and clutter */
ul.payment_methods li img {
  display: none !important;
}

ul.payment_methods li:hover>label {
  border-color: #CBD5E1;
}

/* Selected state - applied to label */
ul.payment_methods li:has(input:checked)>label {
  border-color: #EF4444;
  /* bright red */
  background: #FEF2F2;
}

/* Red checkmark badge — top right corner of selected card (label) */
ul.payment_methods li:has(input:checked)>label::after {
  content: '\f058';
  /* Solid Check Circle */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 12px;
  right: 12px;
  color: #EF4444;
  font-size: 20px;
  background: #fff;
  border-radius: 50%;
  line-height: 1;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hide the raw radio input */
ul.payment_methods li input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Custom exact HTML structure for the gateways */
.battel-gw-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  /* reduced from 16px to compact the layout */
  width: 100%;
}

.battel-gw-icon {
  display: flex;
  align-items: flex-start;
  /* Allinea in alto */
  justify-content: flex-start;
  height: 32px;
  /* Altezza fissa rigorosa per tutti */
  width: 100%;
}

.battel-gw-icon i {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Allineamento a sinistra rigoroso */
  width: 40px;
  /* Larghezza aumentata per evitare sovrapposizioni */
  height: 32px;
  font-size: 24px !important;
  /* Stessa dimensione per tutte le icone */
  line-height: 1;
}

/* Give Carta the exact Visa blue box look */
li.payment_method_ppcp-credit-card-gateway .battel-gw-icon i,
li.payment_method_braintree_cc .battel-gw-icon i,
li.payment_method_battel_carta .battel-gw-icon i {
  background: #5433FF;
  color: white !important;
  border-radius: 6px;
  font-size: 18px !important;
  /* Leggermente piÃ¹ piccola per stare nel riquadro blu */
}

/* Ingrandiamo l'icona G Pay che risulta visivamente piÃ¹ piccola */
li.payment_method_ppcp-googlepay .battel-gw-icon i,
li.payment_method_braintree_googlepay .battel-gw-icon i {
  font-size: 34px !important;
  width: 55px;
  /* PiÃ¹ largo per accogliere la scritta G Pay senza tagli */
}

.battel-gw-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.gw-title {
  font-size: 11px !important;
  font-weight: 700;
  color: #1E293B;
  display: block;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.gw-sub {
  font-size: 9px !important;
  color: #64748B;
  display: block;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* Show payment box content (WooCommerce manages visibility natively) */
ul.payment_methods li .payment_box {
  grid-column: 1 / -1;
  order: 99;
  width: 100%;
  margin-top: 12px;
  padding: 12px 0 !important;
  background: transparent !important;
  border: none !important;
  font-size: 13px;
  color: #475569;
}


/* --- Place Order Button --- */
.battel-checkout-form #payment #place_order,
.battel-checkout-form #place_order,
.wc-proceed-to-checkout a.checkout-button,
.woocommerce .cart-collaterals .wc-proceed-to-checkout a.checkout-button,
.elementor-widget-woocommerce-cart .elementor-button--checkout,
.elementor-widget-woocommerce-cart a.checkout-button,
.elementor-widget-woocommerce-cart a.elementor-button,
a.checkout-button.button.alt.wc-forward,
.wc-block-cart__submit-button,
.wc-block-components-checkout-proceed-to-checkout-button,
a.elementor-button[href*="pagamento"],
a.elementor-button[href*="checkout"],
.battel-checkout-btn {
  width: 100% !important;
  height: 45px !important;
  padding: 0 24px !important;
  background: #EF4444 !important;
  /* brighter red matched to image */
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 4px !important; /* Native Braintree/PayPal radius */
  cursor: pointer !important;
  transition: background-color 0.2s !important;
  box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.4) !important;
  margin-top: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

/* Add 15px space below the cart checkout button to separate from payment icons */
.battel-checkout-btn {
  margin-bottom: 15px !important;
}

/* The lock icon */
.battel-checkout-form #payment #place_order::before,
.battel-checkout-form #place_order::before {
  content: '\f023';
  /* fa-lock */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 14px;
}

.battel-checkout-form #payment #place_order:hover,
.battel-checkout-form #place_order:hover,
.wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce .cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover,
.elementor-widget-woocommerce-cart .elementor-button--checkout:hover,
.elementor-widget-woocommerce-cart a.checkout-button:hover,
.elementor-widget-woocommerce-cart a.elementor-button:hover,
a.checkout-button.button.alt.wc-forward:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-proceed-to-checkout-button:hover,
a.elementor-button[href*="pagamento"]:hover,
a.elementor-button[href*="checkout"]:hover,
.battel-checkout-btn:hover {
  opacity: 0.9 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.battel-checkout-form #payment #place_order:hover,
.battel-checkout-form #place_order:hover {
  background: #DC2626 !important;
}

/* Continua lo Shopping link added below the button container */
.battel-continue-shopping-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 12px;
  transition: background 0.2s;
}

.battel-continue-shopping-link:hover {
  background: #F1F5F9;
  color: #334155;
  text-decoration: none;
}

/* --- Payment Section in Sidebar --- */
#order_review .woocommerce-checkout-payment {
  margin-top: 16px;
  background: #fff;
  border-radius: 16px;
  /* slightly larger radius on outer white box */
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

/* Allow PayPal SDK and plugin injected elements to render inside payment section */
/* (Removed hide rule â€” it was blocking PayPal smart buttons) */

/* Set background behind the payment section natively empty as the box provides it */
#order_review {
  background: transparent;
}

/* Add label before payment methods inside sidebar */
#order_review .woocommerce-checkout-payment::before {
  content: "SCEGLI COME PAGARE";
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #94A3B8;
  text-transform: uppercase;
  margin-bottom: 14px;
}


/* --- Review Order (Sidebar) --- */
.battel-review-order {
  margin-bottom: 16px;
}

.review-products {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 14px;
}

.review-product-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-product-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #E2E8F0;
  background: #f8f9fa;
}

.review-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f8f9fa;
}

.review-product-info {
  flex: 1;
  min-width: 0;
}

.review-product-name {
  font-size: 13px;
  font-weight: 500;
  color: #0F172A;
  line-height: 1.3;
}

.review-qty {
  font-size: 12px;
  color: #64748B;
  font-weight: 400;
}

.review-product-price {
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
  flex-shrink: 0;
}

/* --- Review Totals --- */
.review-totals {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.review-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #475569;
  padding: 4px 0;
}

.review-total-row.total {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  border-top: 2px solid #E2E8F0;
  margin-top: 8px;
  padding-top: 14px;
}

.review-total-amount,
.review-total-amount .woocommerce-Price-amount {
  font-size: 24px;
  font-weight: 800;
  color: #D91E36 !important;
}

/* --- Summary Title in Checkout Sidebar --- */
.summary-title {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-title i {
  color: #D91E36;
}

/* --- Trust Badges (Checkout sidebar) --- */
.trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #F1F5F9;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #64748B;
  text-align: left;
}

.trust-badge i {
  font-size: 14px;
  color: #D91E36;
  flex-shrink: 0;
}

/* ============================
   THANK YOU PAGE
   ============================ */
.battel-thankyou-wrapper {
  max-width: 768px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.thankyou-hero {
  background: linear-gradient(135deg, #10B981, #059669);
  padding: 48px 32px;
  border-radius: 24px 24px 0 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.thankyou-hero-bg-icon {
  position: absolute;
  right: -32px;
  bottom: -32px;
  font-size: 180px;
  opacity: 0.1;
}

.thankyou-check {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.thankyou-check i {
  font-size: 40px;
  color: #10B981;
}

.thankyou-title {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 6px;
}

.thankyou-subtitle {
  font-size: 16px;
  opacity: 0.85;
  margin: 0;
}

.thankyou-body {
  background: #fff;
  padding: 40px 32px;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #E2E8F0;
  border-top: none;
}

.thankyou-order-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #E2E8F0;
  background: #F8FAFC;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #E2E8F0;
}

.order-detail-label {
  font-size: 11px;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 4px;
}

.order-detail-value {
  font-size: 20px;
  font-weight: 700;
  color: #0F172A;
  font-family: monospace;
  margin: 0;
}

/* --- Timeline --- */
.thankyou-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.timeline-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timeline-icon.email {
  background: #DBEAFE;
  color: #2563EB;
}

.timeline-icon.prep {
  background: #FFEDD5;
  color: #EA580C;
}

.timeline-icon.ship {
  background: #D1FAE5;
  color: #16A34A;
}

.timeline-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
  margin: 0 0 2px;
}

.timeline-text p {
  font-size: 13px;
  color: #475569;
  margin: 0;
}

/* --- Summary Cards --- */
.thankyou-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.thankyou-card {
  background: #F8FAFC;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
}

.thankyou-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
}

.thankyou-card h4 i {
  color: #D91E36;
}

.thankyou-card p {
  font-size: 13px;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

.thankyou-total-value {
  font-size: 20px;
  font-weight: 800;
  color: #D91E36;
}

/* --- Action Buttons --- */
.thankyou-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-action-dark {
  padding: 12px 24px;
  background: #0F172A;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-action-dark:hover {
  background: #1E293B;
  color: #fff;
}

.btn-action-outline {
  padding: 12px 24px;
  background: transparent;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid #CBD5E1;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: border-color 0.2s;
}

.btn-action-outline:hover {
  border-color: #94A3B8;
  color: #0F172A;
}

/* --- Assistance --- */
.thankyou-assist {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #E2E8F0;
}

.thankyou-assist p {
  font-size: 13px;
  color: #64748B;
  margin: 0 0 12px;
}

.thankyou-assist-links {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.thankyou-assist-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #334155;
  text-decoration: none;
  transition: color 0.2s;
}

.thankyou-assist-links a:hover {
  color: #D91E36;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 992px) {

  .battel-cart-layout,
  .battel-checkout-layout {
    grid-template-columns: 1fr;
  }

  .battel-cart-summary,
  .battel-checkout-sidebar {
    order: -1;
  }

  .sticky-summary {
    position: static;
  }

  .battel-trust-bar {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
  }

  .thankyou-cards {
    grid-template-columns: 1fr;
  }

  .thankyou-order-info {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 640px) {

  .battel-cart-wrapper,
  .battel-checkout-wrapper,
  .battel-thankyou-wrapper {
    padding: 16px 12px 40px;
  }

  .cart-item {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .cart-item-thumb {
    width: 100%;
    height: 140px;
  }

  .cart-item-price .woocommerce-Price-amount {
    font-size: 18px;
  }

  .battel-progress-steps {
    padding: 0 8px;
    gap: 0;
  }

  .step-text {
    display: none;
  }

  .progress-bar-track {
    width: 40px;
  }

  .cart-card-header {
    padding: 14px 16px;
  }

  .cart-card-header .cart-main-title {
    font-size: 18px;
  }

  .summary-header {
    padding: 16px;
  }

  .summary-actions {
    padding: 16px;
  }

  .checkout-section {
    padding: 16px;
  }

  .battel-customer-type-toggle {
    gap: 8px;
  }

  .thankyou-hero {
    padding: 32px 16px;
  }

  .thankyou-body {
    padding: 24px 16px;
  }

  .thankyou-actions {
    flex-direction: column;
  }

  .thankyou-actions a,
  .thankyou-actions button {
    width: 100%;
    justify-content: center;
  }
}

/* WooCommerce shipping table override in checkout review */
.battel-review-order .woocommerce-shipping-totals td,
.battel-review-order .woocommerce-shipping-totals th {
  padding: 4px 0;
  border: none;
  font-size: 14px;
}

/* Fix: hidden update cart button */
.update-cart-hidden {
  display: none !important;
}

/* --- Status Badge (Live Update) --- */
.battel-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 50px;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  line-height: 1;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Shimmer/Glow effect like 'disponibile' badge */
.battel-badge-live::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.15) 50%,
      rgba(255, 255, 255, 0) 100%);
  animation: battel-shimmer 8s infinite;
}

.battel-badge-dot {
  width: 8px;
  height: 8px;
  background-color: #25D366;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  /* Keep dot above shimmer */
}

@keyframes battel-badge-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

@keyframes battel-shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

/* ============================================
   PAGINATION STYLES (Shop)
   ============================================ */
.shop-products .pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.shop-products .pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--surface-off, #F4F6F8);
  color: var(--text-primary, #0A1929) !important;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.shop-products .pagination .page-numbers:hover {
  background: var(--surface-gray, #E9ECEF);
  border-color: var(--surface-gray, #E9ECEF);
  color: var(--battel-red, #D6001C) !important;
}

.shop-products .pagination .page-numbers.current {
  background: var(--battel-red, #D6001C) !important;
  color: #ffffff !important;
  border-color: var(--battel-red, #D6001C) !important;
}

.shop-products .pagination .page-numbers.dots {
  background: transparent;
  width: auto;
  color: var(--text-muted, #718096) !important;
}

/* ============================================
   SIDEBAR CATEGORY ACCORDION
   ============================================ */
.filter-categories-accordion {
  margin-bottom: 24px;
}

.cat-accordion.sidebar-accordion {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--surface-gray, #E9ECEF);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.cat-accordion.sidebar-accordion:hover {
  box-shadow: var(--shadow-sm, 0 1px 2px 0 rgba(0, 0, 0, 0.05));
  border-color: #D1D5DB;
}

.cat-accordion.sidebar-accordion.active,
.cat-accordion.sidebar-accordion.has-selection {
  border-color: var(--brand-primary, #0A1929);
  box-shadow: 0 4px 10px rgba(10, 25, 41, 0.08);
}

.cat-accordion.sidebar-accordion .cat-acc-header {
  width: 100%;
  padding: 12px 16px;
  background: #fff !important;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  transition: all 0.25s ease-in-out;
  outline: none !important;
}

.cat-accordion.sidebar-accordion.active .cat-acc-header,
.cat-accordion.sidebar-accordion.has-selection .cat-acc-header {
  background: var(--brand-primary, #0A1929) !important;
}

.cat-accordion.sidebar-accordion .cat-acc-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.cat-accordion.sidebar-accordion .cat-acc-icon {
  width: 36px;
  height: 36px;
  background: var(--surface-off, #F4F6F8);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--battel-red, #D91E36);
  transition: all 0.3s;
  flex-shrink: 0;
  font-size: 16px;
}

.cat-accordion.sidebar-accordion.active .cat-acc-icon,
.cat-accordion.sidebar-accordion.has-selection .cat-acc-icon {
  background: transparent;
  color: var(--battel-red, #D91E36);
  transform: scale(1.05);
  border: 1px solid rgba(217, 30, 54, 0.3);
}

.cat-accordion.sidebar-accordion .cat-acc-info {
  flex: 1;
}

.cat-accordion.sidebar-accordion .cat-acc-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary, #0A1929);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  transition: color 0.3s;
  line-height: 1.3;
}

.cat-accordion.sidebar-accordion.active .cat-acc-name,
.cat-accordion.sidebar-accordion.has-selection .cat-acc-name {
  color: #fff;
}

.cat-accordion.sidebar-accordion .cat-acc-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  background: var(--battel-red, #D91E36);
  color: #fff;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  margin-left: 6px;
}

.cat-accordion.sidebar-accordion .cat-acc-chevron {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-off, #F4F6F8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: var(--text-muted, #718096);
  margin-left: 8px;
  font-size: 12px;
}

.cat-accordion.sidebar-accordion.active .cat-acc-chevron,
.cat-accordion.sidebar-accordion.has-selection .cat-acc-chevron {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cat-accordion.sidebar-accordion.active .cat-acc-chevron {
  transform: rotate(180deg);
}

.cat-accordion.sidebar-accordion .cat-acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease-out, opacity 0.3s;
  opacity: 0;
  background: #fff;
}

.cat-accordion.sidebar-accordion.active .cat-acc-content {
  max-height: 2500px;
  opacity: 1;
  transition: max-height 0.5s ease-in, opacity 0.3s;
}

.cat-accordion.sidebar-accordion .cat-acc-inner {
  padding: 16px;
  border-top: 1px solid var(--surface-off, #F4F6F8);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Categorie vuote disabilitate */
.filter-checkbox-label.cat-empty {
  opacity: 0.45;
  cursor: not-allowed;
}

.filter-checkbox-label.cat-empty input[type="checkbox"] {
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================
   HEADER LIVE SEARCH DROPDOWN
   ============================================ */

.battel-header-search {
  position: relative;
}

.battel-search-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  z-index: 10000;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform-origin: top center;
}

.bsd-inner {
  max-height: 480px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.bsd-results {
  display: flex;
  flex-direction: column;
}

.bsd-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.bsd-item:last-child {
  border-bottom: none;
}

.bsd-item:hover,
.bsd-item.bsd-active {
  background: rgba(217, 30, 54, 0.05);
}

.bsd-item-img {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: #f1f5f9;
  border-radius: 8px;
  overflow: hidden;
}

.bsd-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bsd-grade {
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
  color: #fff;
  text-transform: uppercase;
}

.bsd-grade.grade-a {
  background: #10b981;
}

.bsd-grade.grade-b {
  background: #f59e0b;
}

.bsd-grade.grade-c {
  background: #ef4444;
}

.bsd-item-info {
  flex: 1;
  min-width: 0;
}

.bsd-item-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bsd-item-title mark {
  background: rgba(217, 30, 54, 0.15);
  color: #d91e36;
  padding: 0 2px;
  border-radius: 2px;
}

.bsd-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: #64748b;
}

.bsd-item-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.bsd-item-meta i {
  font-size: 10px;
  opacity: 0.7;
}

.bsd-stock {
  font-weight: 600;
  padding: 0 6px;
  border-radius: 4px;
}

.bsd-stock.out {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.bsd-stock.soon {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

.bsd-item-price {
  font-size: 15px;
  font-weight: 700;
  color: #d91e36;
  white-space: nowrap;
}

.bsd-footer {
  padding: 12px;
  background: #f8fafc;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.bsd-view-all {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.bsd-view-all:hover {
  color: #d91e36;
}

.bsd-view-all i {
  margin-left: 6px;
  font-size: 11px;
}

.bsd-empty,
.bsd-loading {
  padding: 40px 20px;
  text-align: center;
}

.bsd-empty i {
  font-size: 32px;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.bsd-empty p {
  font-weight: 700;
  color: #475569;
  margin-bottom: 4px;
}

.bsd-empty span {
  font-size: 13px;
  color: #94a3b8;
}

.bsd-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.bsd-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(217, 30, 54, 0.1);
  border-top-color: #d91e36;
  border-radius: 50%;
  animation: bsd-spin 0.8s linear infinite;
}

@keyframes bsd-spin {
  to {
    transform: rotate(360deg);
  }
}

.bsd-loading span {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

/* ============================================
   WOOCOMMERCE GLOBAL BACKGROUND HARMONIZATION
   ============================================ */

body.woocommerce-cart,
body.woocommerce-checkout {
  background-color: #F9FAFB !important;
}

/* ============================================
   WOOCOMMERCE NOTICES & MESSAGES (Premium Design)
   ============================================ */

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  padding: 20px 24px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  background-color: #fff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  margin-bottom: 35px !important;
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #475569 !important;
  position: relative !important;
  line-height: 1.5 !important;
}

.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
  font-family: 'Font Awesome 6 Free' !important;
  font-weight: 900 !important;
  font-size: 22px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  position: static !important;
  /* Fix overlap */
  margin: 0 !important;
}

.woocommerce-message {
  border: 1px solid #e2e8f0 !important;
  /* Standardized border */
}

.woocommerce-message::before {
  content: '\f058' !important;
  /* check-circle */
  color: #10b981 !important;
}

.woocommerce-error {
  border: 1px solid #fee2e2 !important;
  /* Subtle red border */
}

.woocommerce-error::before {
  content: '\f06a' !important;
  /* exclamation-circle */
  color: #ef4444 !important;
}

.woocommerce-info {
  border: 1px solid #e0f2fe !important;
  /* Subtle blue border */
}

.woocommerce-info::before {
  content: '\f05a' !important;
  /* info-circle */
  color: #3b82f6 !important;
}

/* Link 'Annullare?' in notice */
.woocommerce-message a.restore-item {
  color: #D91E36 !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
  margin-left: auto !important;
  padding: 5px 12px !important;
  background: rgba(217, 30, 54, 0.05) !important;
  border-radius: 8px !important;
}

.woocommerce-message a.restore-item:hover {
  background: rgba(217, 30, 54, 0.1) !important;
  text-decoration: none !important;
}

/* ============================================
   EMPTY CART PAGE (Premium Unified Style)
   ============================================ */

.woocommerce-cart .cart-empty {
  text-align: center !important;
  padding: 40px 30px !important;
  /* Reduced padding */
  background: #fff !important;
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  margin: 30px auto !important;
  /* Reduced margin */
  max-width: 600px !important;
  /* Narrower box */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
}

.woocommerce-cart .cart-empty::before {
  content: '\f07a' !important;
  /* shopping-cart */
  font-family: 'Font Awesome 6 Free' !important;
  font-weight: 900 !important;
  display: block !important;
  font-size: 48px !important;
  /* Slightly smaller icon */
  color: rgba(217, 30, 54, 0.1) !important;
  margin-bottom: 20px !important;
}

.woocommerce-cart .return-to-shop {
  text-align: center !important;
  margin-top: 24px !important;
  display: block !important;
}

.woocommerce-cart .return-to-shop a.button {
  background: #D91E36 !important;
  color: #fff !important;
  padding: 16px 48px !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
  font-family: 'Montserrat', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(217, 30, 54, 0.25) !important;
}

.woocommerce-cart .return-to-shop a.button:hover {
  background: #B81A2F !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 24px rgba(217, 30, 54, 0.35) !important;
}

/* ============================================
   COUPON BUTTON HARMONIZATION (Home Search Style)
   ============================================ */

.woocommerce-cart .coupon-apply-btn {
  background-color: #3A4753 !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 0 24px !important;
  border: none !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
  text-transform: none !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.woocommerce-cart .coupon-apply-btn:hover {
  background-color: #2C3640 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(58, 71, 83, 0.4) !important;
}

.woocommerce-cart .return-to-shop a.button:hover {
  background: #B81A2F !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 24px rgba(217, 30, 54, 0.35) !important;
}

/* ============================================
   COUPON BUTTON HARMONIZATION (Home Search Style)
   ============================================ */

.woocommerce-cart .coupon-apply-btn {
  background-color: #3A4753 !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 0 24px !important;
  border: none !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
  text-transform: none !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.woocommerce-cart .coupon-apply-btn:hover {
  background-color: #2C3640 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(58, 71, 83, 0.4) !important;
}

/* ============================================
   PAGE: CERTIFICAZIONI AMBIENTALI (Light Theme)
   ============================================ */
.cert-wrapper {
  background-color: #f8fafc;
  color: #1f2937;
}

.cert-hero {
  position: relative;
  padding: 80px 0 40px;
  overflow: hidden;
  background: radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.05) 0%, transparent 60%), radial-gradient(circle at 0% 100%, rgba(14, 165, 233, 0.03) 0%, transparent 50%);
}

.cert-hero-glow {
  position: absolute;
  right: -10%;
  top: -10%;
  width: 600px;
  height: 600px;
  background: rgba(16, 185, 129, 0.08);
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
}

.cert-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: 40px 0 80px;
}

.cert-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.cert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.cert-card-large {
  grid-column: span 2;
}

.cert-card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cert-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.cert-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.cert-card-logo {
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.emas-card .cert-card-logo {
  height: 150px;
}

.cert-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #111827;
}

.cert-card-subtitle {
  font-size: 16px;
  color: #6b7280;
  font-weight: 500;
  margin: 0 0 24px;
}

.cert-card-text {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 16px;
}

.cert-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 15px;
}

.cert-btn.verde {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
}

.cert-btn.verde:hover {
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.cert-btn.outline-blue {
  background: transparent;
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: #0ea5e9;
}

.cert-btn.outline-blue:hover {
  border-color: #0ea5e9;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.05);
  transform: translateY(-3px);
}

.cert-btn.outline-orange {
  background: transparent;
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #f59e0b;
}

.cert-btn.outline-orange:hover {
  border-color: #f59e0b;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.05);
  transform: translateY(-3px);
}

.cert-docs-section {
  padding: 80px 0;
  background: #f3f4f6;
  border-top: 1px solid #e5e7eb;
}

.cert-docs-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.cert-docs-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 16px;
}

.cert-docs-desc {
  color: #6b7280;
  font-size: 18px;
  line-height: 1.6;
}

.cert-docs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cert-doc-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.cert-doc-item:hover {
  border-color: #25D366;
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.cert-doc-icon {
  width: 48px;
  height: 48px;
  background: #f3f4f6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 20px;
  transition: all 0.3s;
}

.cert-doc-item:hover .cert-doc-icon {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
}

.cert-doc-info h4 {
  margin: 0 0 4px;
  color: #1f2937;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.cert-doc-info span {
  color: #6b7280;
  font-size: 13px;
}

.cert-doc-act {
  margin-left: auto;
  color: #9ca3af;
  font-size: 18px;
  transition: color 0.3s;
}

.cert-doc-item:hover .cert-doc-act {
  color: #25D366;
}

.cert-cta-section {
  padding: 60px 0 100px;
  background: #f3f4f6;
}

.cert-cta-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.cert-cta-content h3 {
  color: #111827;
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.2;
}

.cert-cta-content p {
  color: #4b5563;
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}

.cert-cta-action .red-btn {
  background: #D91E36;
  color: #fff;
  font-size: 16px;
  padding: 16px 32px;
  box-shadow: 0 10px 20px rgba(217, 30, 54, 0.2);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  transition: transform 0.3s, background 0.3s;
  text-decoration: none;
}

.cert-cta-action .red-btn:hover {
  transform: translateY(-4px);
  color: #fff;
  background: #b8162b;
}

@media (max-width: 992px) {
  .cert-bento-grid {
    grid-template-columns: 1fr;
  }

  .cert-card-large {
    grid-column: span 1;
  }

  .cert-docs-list {
    grid-template-columns: 1fr;
  }

  .cert-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
  }

  .cert-cta-action .red-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .cert-hero .bp-hero-title {
    font-size: 40px !important;
  }

  .cert-card {
    padding: 30px 20px;
  }

  .cert-docs-section {
    padding: 50px 0;
  }
}

/* ============================================
   FOOTER CERTIFICATIONS ENHANCEMENT
   ============================================ */
.battel-footer-certs-container {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  /* Pushes the block to the bottom of the column */
  margin-left: 14px;
  /* Shift a destra per allinearsi visivamente alla B in corsivo del logo sovrastante */
  white-space: nowrap;
  /* Impedisce assolutamente ogni a-capo */
}

.battel-footer-certs {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  margin-bottom: 0px !important;
  /* Abbassa i loghi vicinissimi al testo */
  margin-top: 0 !important;
}

.battel-footer-certs a {
  display: inline-block;
  line-height: 0;
  /* Rimuove lo spazio vuoto (ghost space) sotto le immagini */
}

/* Riduzione dimensioni loghi del 10% circa */
.battel-footer-certs img {
  height: 60px;
  width: auto;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  cursor: pointer;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.battel-footer-certs img.cert-emas {
  height: 65px;
}

.battel-footer-certs a:hover img {
  transform: translateY(-5px) scale(1.05);
  /* Animazione indipendente per il singolo logo sfiorato */
  filter: drop-shadow(0 8px 15px rgba(217, 30, 54, 0.25)) contrast(1.15) brightness(1.05);
}

.battel-footer-certs-tagline {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.45) !important;
  /* Effetto vetro: semi-trasparente e opaco */
  margin: 0 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase;
  white-space: nowrap !important;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.05), 0 2px 6px rgba(0, 0, 0, 0.4);
  /* ProfonditÃ  soffusa */
}

.cert-green-text {
  color: rgba(16, 185, 129, 0.75) !important;
  /* Verde smeraldo smorzato stile bottiglia di vetro */
  font-weight: 700 !important;
  /* Meno "urlato" rispetto all'800 */
  text-shadow: 0 1px 1px rgba(16, 185, 129, 0.15), 0 2px 6px rgba(0, 0, 0, 0.4);
  /* Riflesso impercettibile */
}

/* Riflesso impercettibile */
}

/* ============================================
   AI ENGINE CHATBOT WIDGET STYLING & IUBENDA
   ============================================ */

/* Stile Generale Chatbot AI Engine */
.mwai-chatgpt-theme {
  --mwai-spacing: 16px;
  --mwai-fontSize: 15px;
  --mwai-fontFamily: 'Inter', sans-serif;
  --mwai-background: #ffffff;
  /* Clean white background */
  --mwai-textColor: #334155;
  /* Soft dark slate for text */
  --mwai-primaryColor: #e50000;
  /* Rosso Battel (used only for accents) */
  --mwai-primaryColorHover: #c40000;
  --mwai-headerButtonsColor: #64748b;
  --mwai-conversationsWidth: 280px;
  --mwai-borderRadius: 20px;
}

/* Sovrascrittura forzata dei testi interni */
.mwai-chatgpt-theme,
.mwai-chatgpt-theme .mwai-text {
  color: var(--mwai-textColor) !important;
}

/* Pulsante icona di avvio */
.mwai-chat-bubble {
  background-color: #e50000 !important;
  box-shadow: 0 10px 25px rgba(229, 0, 0, 0.25) !important;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease !important;
}

.mwai-chat-bubble:hover {
  transform: scale(1.05) translateY(-5px);
  background-color: #c40000 !important;
}

/* Finestra di Chat - Design Pulito e Glassmorphism leggero */
.mwai-chat-window {
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  border-radius: 20px !important;
  overflow: hidden;
  z-index: 999999 !important;
}

/* Header della Chat - Minimal e Rassicurante */
.mwai-chat-window .mwai-header {
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  padding: 20px 24px !important;
}

/* Messaggi dell'AI (Grigio Chiarissimo, Morbido) */
.mwai-chatgpt-theme .mwai-reply.mwai-ai {
  background-color: #f8fafc !important;
  border: 1px solid #f1f5f9 !important;
  border-left: none !important;
  border-radius: 4px 18px 18px 18px !important;
  padding: 14px 18px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.mwai-chatgpt-theme .mwai-reply.mwai-ai .mwai-text,
.mwai-chatgpt-theme .mwai-reply.mwai-ai p {
  color: #334155 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  white-space: pre-line !important;
}

/* Messaggi dell'Utente (Blu Notte Elegante) */
.mwai-chatgpt-theme .mwai-reply.mwai-user {
  background-color: #0f172a !important;
  border-radius: 18px 4px 18px 18px !important;
  padding: 14px 18px !important;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.1) !important;
}

.mwai-chatgpt-theme .mwai-reply.mwai-user .mwai-text,
.mwai-chatgpt-theme .mwai-reply.mwai-user p {
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  white-space: pre-line !important;
}

/* Input di testo e pulsante invia */
.mwai-chatgpt-theme .mwai-input {
  background-color: #ffffff !important;
  border-top: 1px solid #f1f5f9 !important;
  padding: 16px !important;
}

.mwai-chatgpt-theme .mwai-input textarea {
  background-color: #f8fafc !important;
  color: #1e293b !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  padding: 14px 16px !important;
  font-size: 14px !important;
  transition: all 0.2s ease;
}

.mwai-chatgpt-theme .mwai-input textarea:focus {
  border-color: #cbd5e1 !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(229, 0, 0, 0.05) !important;
  outline: none !important;
}

.mwai-chatgpt-theme .mwai-input textarea::placeholder {
  color: #94a3b8 !important;
}

.mwai-chatgpt-theme .mwai-input button {
  background-color: #ffffff !important;
  color: #e50000 !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
}

.mwai-chatgpt-theme .mwai-input button:hover {
  background-color: #fef2f2 !important;
  transform: scale(1.05) !important;
}

/* Rimuovi logo Iubenda galleggiante per non disturbare la chat */
#iubenda-cs-banner,
#iubenda-cs-preferences-link,
.iubenda-badge,
#iub-shield-container,
.iubenda-tp-btn {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.battel-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   SEZIONE ARIANNA AI SHOWCASE STYLES
   ============================================ */

.bp-arianna-section {
  background: linear-gradient(135deg, #07111C 0%, #0B1C2E 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bp-arianna-section::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.bp-arianna-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 180, 219, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.bp-arianna-grid {
  display: grid;
  grid-template-columns: 45% 50%;
  gap: 5%;
  align-items: center;
}

/* Colonna Sinistra - Smartphone & QR */
.bp-arianna-preview {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bp-smartphone-frame {
  width: 320px;
  height: 580px;
  background: #0b141a;
  border: 10px solid #1f2c34;
  border-radius: 36px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Chat Header */
.bp-chat-header {
  background: #1f2c34;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bp-chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #11998e, #38ef7d);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-chat-avatar::after {
  content: 'A';
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  font-family: var(--font-heading);
}

.bp-avatar-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background: #38ef7d;
  border-radius: 50%;
  border: 2px solid #1f2c34;
}

.bp-chat-header h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.bp-chat-header p {
  color: #8696a0;
  font-size: 11px;
  margin: 0;
}

/* Chat Body & Bubbles */
.bp-chat-body {
  flex: 1;
  background: #0b141a;
  background-image: url("https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png");
  /* Sfondo classico Whatsapp scuro */
  background-repeat: repeat;
  background-size: contain;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.bp-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  position: relative;
  color: #fff;
}

.bp-msg-user {
  background: #005c4b;
  /* Verde Whatsapp scuro */
  align-self: flex-end;
  border-top-right-radius: 2px;
}

.bp-msg-bot {
  background: #202c33;
  /* Grigio Whatsapp scuro */
  align-self: flex-start;
  border-top-left-radius: 2px;
}

.bp-msg p {
  margin: 0;
  color: inherit;
  font-size: 13px;
}

.bp-msg strong {
  color: #38ef7d;
}

.bp-msg-time {
  display: block;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
  margin-top: 4px;
}

/* QR Code Box Glassmorfico */
.bp-qr-box {
  position: absolute;
  bottom: -20px;
  right: -30px;
  background: rgba(11, 28, 46, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 240px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  z-index: 2;
  transition: all 0.3s;
}

.bp-qr-box:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 239, 125, 0.4);
}

.bp-qr-code {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #07111C;
}

.bp-qr-box h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 2px 0;
}

.bp-qr-box p {
  color: #94a3b8;
  font-size: 11px;
  margin: 0;
  line-height: 1.3;
}

/* Colonna Destra - Content */
.bp-arianna-content {
  color: #fff;
}

.bp-arianna-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.2);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: #38ef7d;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.bp-arianna-badge i {
  animation: pulse 2s infinite;
}

.bp-arianna-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 16px 0;
}

.bp-arianna-desc {
  font-size: 17px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 32px 0;
}

/* Features List */
.bp-features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.bp-feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.bp-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.bp-feature-item h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px 0;
}

.bp-feature-item p {
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}

/* Actions */
.bp-arianna-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.bp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.bp-btn-orange {
  background: var(--brand-secondary);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.4);
}

.bp-btn-orange:hover {
  background: #E55A2B;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}


.bp-btn-whatsapp {
  background: #25D366;
  color: #fff !important;
  box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.4);
}

.bp-btn-whatsapp:hover {
  background: #1fbc52;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.6);
}

.bp-btn-garage {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff !important;
}

.bp-btn-garage:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Responsive Arianna */
@media (max-width: 1024px) {
  .bp-arianna-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .bp-arianna-preview {
    order: 2;
  }

  .bp-arianna-content {
    order: 1;
    text-align: center;
  }

  .bp-arianna-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .bp-feature-item {
    text-align: left;
  }

  .bp-arianna-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .bp-qr-box {
    display: none;
    /* Rimuovi QR su smartphone */
  }

  .bp-smartphone-frame {
    width: 280px;
    height: 500px;
  }
}


/* ============================================
   SEZIONE BANNER DEMOLIZIONE AUTO STYLES
   ============================================ */

.bp-demolizione-banner-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.bp-demo-banner-box {
  background: linear-gradient(135deg, #0A1929 0%, #1e1115 100%);
  /* Radial blend of navy and brand red */
  border-radius: 24px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid rgba(214, 0, 28, 0.15);
  box-shadow: 0 20px 40px rgba(10, 25, 41, 0.15);
  position: relative;
  overflow: hidden;
}

.bp-demo-banner-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0l40 40-40 40L0 40z' fill='%23D6001C' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
  pointer-events: none;
}

.bp-demo-banner-content {
  flex: 1;
  z-index: 1;
}

.bp-demo-badge {
  display: inline-block;
  background: rgba(214, 0, 28, 0.1);
  border: 1px solid rgba(214, 0, 28, 0.2);
  color: #FF1A3C;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.bp-demo-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.bp-demo-desc {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px 0;
  max-width: 750px;
}

.bp-demo-perks {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.bp-demo-perks span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
}

.bp-demo-perks i {
  color: #FF1A3C;
}

.bp-demo-banner-cta {
  z-index: 1;
}

.bp-btn-white-glowing {
  background: #fff;
  color: #0A1929 !important;
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1), 0 0 0 0 rgba(214, 0, 28, 0.4);
  animation: glow-button 3s infinite;
}

.bp-btn-white-glowing:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(255, 255, 255, 0.15);
}

.bp-btn-white-glowing i {
  margin-left: 6px;
  transition: transform 0.2s;
}

.bp-btn-white-glowing:hover i {
  transform: translateX(4px);
}

@keyframes glow-button {
  0% {
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1), 0 0 0 0 rgba(214, 0, 28, 0.3);
  }

  50% {
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1), 0 0 0 10px rgba(214, 0, 28, 0);
  }

  100% {
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1), 0 0 0 0 rgba(214, 0, 28, 0);
  }
}

@media (max-width: 1024px) {
  .bp-demo-banner-box {
    flex-direction: column;
    padding: 40px;
    align-items: flex-start;
  }

  .bp-demo-banner-cta {
    width: 100%;
  }

  .bp-btn-white-glowing {
    width: 100%;
    justify-content: center;
  }
}


/* ============================================
   HOMEPAGE ï¿½ MISSING PRICE & BUTTON STYLES
   ============================================ */

.bp-pcard-price-old {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 400;
}

.bp-pcard-price-new {
  font-size: 20px;
  font-weight: 700;
  color: var(--battel-red);
}

.bp-pcard-price-current {
  font-size: 20px;
  font-weight: 700;
  color: var(--battel-dark);
}

.bp-btn-navy {
  background: var(--battel-dark);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

.bp-btn-navy:hover {
  background: var(--battel-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 25, 41, 0.4);
}

/* ============================================
   NEW CATEGORIES & ARIANNA AI UNIFIED GRID
   ============================================ */

.bp-cat-arianna-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* Base Category Card */
.bp-mock-cat-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 0 !important;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(10, 25, 41, 0.05);
  border: 1px solid #f3f4f6;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Push text overlay to the bottom */
  position: relative;
  overflow: hidden;
  min-height: 240px;
  height: 240px;
  /* Uniform height */
}

.bp-mock-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(10, 25, 41, 0.12);
  border-color: #D91E36;
  /* Accent border on hover */
}

/* Image occupies full card volume */
.bp-mcat-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin-bottom: 0 !important;
  padding: 0 !important;
  /* Full bleed: completely occupies card container edge-to-edge */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  background: #ffffff;
  /* Smooth integration with white background */
}

.bp-mcat-img img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  /* Completely fills the card without borders or side bars */
  mix-blend-mode: multiply !important;
  /* Blends all off-white backgrounds into a single uniform pure-white space */
  transition: transform 0.5s ease;
}

.bp-mock-cat-card:hover .bp-mcat-img img {
  transform: scale(1.05);
  /* Soft premium hover zoom */
}

/* Info text overlayed directly on top of the image */
.bp-mcat-info {
  position: relative;
  z-index: 2;
  /* Layer above the image */
  padding: 24px 20px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  /* Smooth white gradient behind the text for flawless readability and contrast */
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 30%, rgba(255, 255, 255, 0.7) 70%, transparent 100%);
  pointer-events: none;
}

.bp-mcat-name {
  font-size: 15px;
  font-weight: 700;
  color: #0A1929 !important;
  /* Vivid brand dark navy */
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.8);
}

/* Premium floating item count badge */
.bp-mcat-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  /* Above the image */
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(217, 30, 54, 0.15);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  color: #D91E36;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(10, 25, 41, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.bp-mock-cat-card:hover .bp-mcat-badge {
  background: #D91E36;
  color: #ffffff;
  border-color: #D91E36;
  box-shadow: 0 6px 12px rgba(217, 30, 54, 0.25);
  transform: translateY(-1px);
}

/* Category card subtitles (subcategories list) */
.bp-mcat-subcats {
  font-size: 11px;
  color: #5A6A85;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 2px;
  opacity: 0.85;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.bp-mock-cat-card:hover .bp-mcat-subcats {
  opacity: 1;
  color: #0A1929;
}

/* Positioning in 5x2 Grid */
.bp-pos-1 {
  grid-column: 1;
  grid-row: 1;
}

.bp-pos-2 {
  grid-column: 2;
  grid-row: 1;
}

.bp-pos-3 {
  grid-column: 3;
  grid-row: 1;
}

.bp-pos-4 {
  grid-column: 4;
  grid-row: 1 / span 2;
}

/* Arianna AI */
.bp-pos-5 {
  grid-column: 5;
  grid-row: 1;
}

.bp-pos-6 {
  grid-column: 1;
  grid-row: 2;
}

.bp-pos-7 {
  grid-column: 2;
  grid-row: 2;
}

.bp-pos-8 {
  grid-column: 3;
  grid-row: 2;
}

.bp-pos-9 {
  grid-column: 5;
  grid-row: 2;
}

/* Arianna AI Tall Card */
.bp-mock-arianna-card {
  background: #091523;
  border-radius: 20px;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(10, 25, 41, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bp-mock-arianna-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.2) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.bp-arianna-glass {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.bp-arianna-badge-top {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a8b8d0;
}

.bp-arianna-orb {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #1e3a5f, #0A1929);
  box-shadow:
    inset 0 0 40px rgba(0, 163, 255, 0.5),
    0 0 30px rgba(0, 163, 255, 0.4),
    0 0 80px rgba(0, 163, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  position: relative;
  animation: arianna-pulse 4s infinite alternate;
}

.bp-arianna-face {
  display: flex;
  gap: 16px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.bp-eye {
  width: 20px;
  height: 28px;
  background: #00A3FF;
  border-radius: 10px;
  box-shadow: 0 0 15px #00A3FF, 0 0 30px #00A3FF;
  animation: blink 4s infinite;
}

@keyframes blink {

  0%,
  90%,
  100% {
    transform: scaleY(1);
  }

  95% {
    transform: scaleY(0.1);
  }
}

@keyframes arianna-pulse {
  0% {
    box-shadow: inset 0 0 40px rgba(0, 163, 255, 0.5), 0 0 30px rgba(0, 163, 255, 0.4);
  }

  100% {
    box-shadow: inset 0 0 40px rgba(0, 163, 255, 0.7), 0 0 50px rgba(0, 163, 255, 0.6);
  }
}

.bp-arianna-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  margin: 40px 0 8px 0;
  color: #fff;
}

.bp-arianna-sub {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 24px 0;
  line-height: 1.4;
}

.bp-arianna-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.bp-arianna-dots span {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.bp-arianna-dots span.active {
  background: #00A3FF;
  box-shadow: 0 0 8px #00A3FF;
}

/* ============================================
   NEW ULTIMI ARRIVI GRID
   ============================================ */

.bp-mock-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.bp-mprod-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f3f4f6;
  padding: 24px;
  position: relative;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  text-align: left;
}

.bp-mprod-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.bp-mprod-badge-top {
  display: inline-block;
  background: var(--battel-green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 24px;
}

.bp-mprod-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.bp-mprod-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.bp-mprod-info {
  border-top: 1px solid #f3f4f6;
  padding-top: 20px;
}

.bp-mprod-pill {
  display: inline-block;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.bp-mprod-oem-row {
  font-size: 12px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  color: #1f2937;
}

.bp-mprod-oem-row.bp-mprod-oem-copy {
  color: #6b7280;
}

.bp-mprod-oem-row i {
  margin-left: 8px;
  color: #9ca3af;
  cursor: pointer;
}

.bp-mprod-link-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .bp-cat-arianna-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }

  .bp-pos-4 {
    /* Arianna */
    grid-column: 1 / span 3;
    grid-row: auto;
    min-height: 300px;
  }

  .bp-pos-1,
  .bp-pos-2,
  .bp-pos-3,
  .bp-pos-5,
  .bp-pos-6,
  .bp-pos-7,
  .bp-pos-8,
  .bp-pos-9 {
    grid-column: auto;
    grid-row: auto;
  }

  .bp-mock-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bp-cat-arianna-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bp-pos-4 {
    grid-column: 1 / span 2;
  }

  .bp-mock-products-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ARIANNA AI BANNER (HORIZONTAL MOCKUP STYLE)
   ============================================ */

/* Update Categories Grid to 4 columns since Arianna is removed */
.bp-cat-arianna-grid {
  grid-template-columns: repeat(4, 1fr) !important;
}

/* Ensure the category cards align perfectly now */
.bp-pos-5 {
  grid-column: auto;
  grid-row: auto;
}

.bp-pos-6 {
  grid-column: auto;
  grid-row: auto;
}

.bp-pos-7 {
  grid-column: auto;
  grid-row: auto;
}

.bp-pos-8 {
  grid-column: auto;
  grid-row: auto;
}

.bp-pos-9 {
  grid-column: auto;
  grid-row: auto;
}

.bp-arianna-banner-section {
  padding: 0 0 80px 0;
  position: relative;
  overflow: hidden;
}

/* Background effects for the section to give it a "tech" feel */
.bp-arianna-banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(0, 163, 255, 0.05), transparent 50%),
    radial-gradient(circle at bottom left, rgba(37, 211, 102, 0.05), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.bp-arianna-satin-frame {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08), inset 0 0 20px rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

.bp-arianna-satin-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: stretch;
}

/* Left: Phone */
.bp-arianna-phone-col {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* Right: Content Box (Dark) */
.bp-arianna-content-box {
  background: #091523;
  border-radius: 24px;
  padding: 44px 48px;
  margin-top: 12px;
  margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bp-arianna-header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.bp-arianna-subtitle {
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 32px 80px;
  max-width: 90%;
}

.bp-arianna-orb-small {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #1e3a5f, #0A1929);
  box-shadow:
    inset 0 0 20px rgba(0, 163, 255, 0.5),
    0 0 15px rgba(0, 163, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.bp-arianna-orb-small .bp-arianna-face {
  gap: 8px;
}

.bp-arianna-orb-small .bp-eye {
  width: 10px;
  height: 14px;
  box-shadow: 0 0 10px #00A3FF;
}

.bp-arianna-title-new {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.bp-text-green {
  color: #38ef7d;
}

.bp-features-list-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  margin-bottom: 32px;
}

.bp-feature-item-new {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.bp-feature-item-new .bp-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
}

.bp-icon-whatsapp i,
.bp-icon-handshake i,
.bp-icon-garage i {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.bp-icon-whatsapp {
  border: 1px solid rgba(37, 211, 102, 0.3);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.1);
}

.bp-icon-whatsapp i {
  background-image: linear-gradient(135deg, #38ef7d, #11998e);
}

.bp-icon-vision {
  border: 1px solid rgba(0, 163, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 163, 255, 0.1);
}

.bp-icon-handshake {
  border: 1px solid rgba(255, 107, 53, 0.3);
  box-shadow: 0 0 15px rgba(255, 107, 53, 0.1);
  font-size: 22px;
}

.bp-icon-handshake i {
  background-image: linear-gradient(135deg, #FFC371, #FF6B35);
}

.bp-icon-garage {
  border: 1px solid rgba(32, 178, 170, 0.3);
  box-shadow: 0 0 15px rgba(32, 178, 170, 0.1);
}

.bp-icon-garage i {
  background-image: linear-gradient(135deg, #20B2AA, #008080);
}

.bp-feature-text h4 {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.bp-feature-text p {
  color: #94a3b8;
  font-size: 14.5px;
  margin: 0;
  line-height: 1.4;
}

.bp-arianna-banner-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: auto;
}

.bp-btn-whatsapp-huge {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff !important;
  padding: 18px 40px;
  border-radius: 16px;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bp-btn-whatsapp-huge:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, #2ae06d, #14998a);
}

.bp-qr-code-box-new {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  flex-shrink: 0;
}

/* Chat Input Adjustments for the new Phone size */
.bp-chat-input-area {
  padding: 12px 16px;
  background: #1f2c34;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8696a0;
  font-size: 20px;
}

.bp-chat-input-pill {
  flex: 1;
  background: #2a3942;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  color: #8696a0;
}

.bp-chat-mic {
  background: #00a884;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}

.bp-compat-badge {
  background: #25D366;
  color: #0b141a;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 11px;
  position: absolute;
  top: 50%;
  right: -15px;
  transform: translateY(-50%);
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid #fff;
  line-height: 1.2;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .bp-arianna-satin-inner {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: stretch;
  }

  .bp-arianna-phone-col {
    order: 2;
  }

  .bp-arianna-content-box {
    background: #091523;
    border-radius: 24px;
    padding: 48px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .bp-features-list-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }
}


/* Arianna AI Phone Mockup Image Styling */
.bp-arianna-phone-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.bp-arianna-phone-img:hover {
  transform: translateY(-8px) scale(1.02);
}

@media (max-width: 1024px) {
  .bp-arianna-phone-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
}


/* Arianna AI Height & Title Adjustments to match iPhone exactly */
@media (min-width: 1025px) {
  .bp-arianna-satin-inner {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: stretch;
  }

  .bp-arianna-content-box {
    background: #091523;
    border-radius: 24px;
    padding: 44px 48px;
    margin-top: 12px;
    margin-bottom: 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .bp-arianna-phone-col {
    height: 100%;
    align-items: center;
    /* Centers the phone vertically inside the grid */
  }

  .bp-features-list-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }
}

.bp-text-white {
  color: #ffffff !important;
}

.bp-arianna-title-new {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

/* Float animation to make the chatbot float gently */
@keyframes arianna-float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
    /* smooth 4px float */
  }

  100% {
    transform: translateY(0);
  }
}

/* Apply float animation to the outer fixed-position trigger element and adjust position */
.mwai-timeless-theme .mwai-trigger {
  animation: arianna-float 3.5s ease-in-out infinite !important;
  bottom: 20px !important;
  right: -1px !important;
}

@media (max-width: 768px) {
  .mwai-timeless-theme .mwai-trigger {
    bottom: 10px !important;
    right: -1px !important;
  }
}
.bp-slider-wrap {
  position: relative;
  margin-bottom: 48px;
  padding: 0 24px;
}

/* Track scorrevole */
.bp-vehicle-grid {
  display: flex !important;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  /* Nascondi scrollbar su tutti i browser */
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Altezza uniforme: tutte le card si stira alla piÃ¹ alta */
  align-items: stretch;
}

.bp-vehicle-grid::-webkit-scrollbar {
  display: none;
}

/* Card: larghezza fissa + altezza uniforme tramite stretch */
.bp-vehicle-grid .bp-vcard,
.bp-vehicle-grid .product-card {
  flex: 0 0 calc((100% - 3 * 16px) / 4) !important;
  min-width: 240px !important;
  scroll-snap-align: start !important;
  /* NON impostare height fissa qui: align-items:stretch la rende uniforme */
}

.bp-vehicle-grid .bp-vcard-img,
.bp-vehicle-grid .product-image-wrapper {
  height: 140px !important;
  flex-shrink: 0 !important;
  /* L'immagine non si schiaccia quando il body cresce */
}


/* Pulsanti freccia */
.bp-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  color: #0a1929;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(10, 25, 41, 0.12);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  font-size: 14px;
  outline: none;
  padding: 0;
}

.bp-slider-btn:hover {
  background: #0a1929;
  color: #fff;
  box-shadow: 0 6px 20px rgba(10, 25, 41, 0.22);
}

.bp-slider-btn.bp-slider-prev {
  left: -18px;
}

.bp-slider-btn.bp-slider-next {
  right: -18px;
}

.bp-slider-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Indicatori dot */
.bp-slider-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
}

.bp-slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: background 0.3s, width 0.3s;
  border: none;
  padding: 0;
  cursor: pointer;
}

.bp-slider-dot.active {
  background: #0a1929;
  width: 20px;
  border-radius: 3px;
}

/* Mobile: card a piena larghezza */
@media (max-width: 640px) {

  .bp-vehicle-grid .bp-vcard,
  .bp-vehicle-grid .product-card {
    flex: 0 0 85% !important;
  }

  .bp-slider-btn {
    display: none;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {

  .bp-vehicle-grid .bp-vcard,
  .bp-vehicle-grid .product-card {
    flex: 0 0 calc((100% - 2 * 16px) / 2.3) !important;
  }
}

/* Schermi molto grandi (monitor larghi): 5 card per riga */
@media (min-width: 1400px) {

  .bp-vehicle-grid .bp-vcard,
  .bp-vehicle-grid .product-card {
    flex: 0 0 calc((100% - 3 * 16px) / 4) !important;
    min-width: 220px !important;
    /* Ridotto leggermente per farle stare su schermi intermedi */
  }

  /* Modifica SOLO per la homepage */
  .home .bp-vehicle-grid .bp-vcard {
    flex: 0 0 calc((100% - 4 * 16px) / 5) !important;
    min-width: 200px !important;
  }
}

/* Dot accent distinto per la sezione "In Smontaggio" */
#dots-smontaggio .bp-slider-dot.active {
  background: #f39c12;
}

/* ============================================
   PREMIUM SPARE PARTS CARDS (.bp-pcard)
   ============================================ */

.bp-pcard .bp-vcard-img {
  background: #ffffff !important;
  padding: 0 !important;
}

.bp-pcard .bp-vcard-photo {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.bp-pcard:hover .bp-vcard-photo {
  transform: scale(1.08) !important;
}

/* Gradi di Usura Badges */
.bp-badge-eccellente {
  background: #10B981 !important;
  /* Emerald Green */
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3) !important;
}

.bp-badge-ottimo {
  background: #FF6B35 !important;
  /* Brand Orange */
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3) !important;
}

.bp-badge-buono {
  background: #3B82F6 !important;
  /* Royal Blue */
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3) !important;
}

/* Custom CSS to adjust products card heights */
.bp-mock-products-grid .bp-vcard {
  height: auto;
}

/* ============================================
   PREMIUM COMPACT SPARE PARTS CARDS (.bp-pcard)
   ============================================ */

.bp-vcard--ricambio {
  border-top: 3px solid #10B981 !important;
}

.bp-vcard--ricambio .bp-vcard-body {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 60%) !important;
}

.bp-vcard--ricambio .bp-vcard-tech-specs p:last-child {
  color: #047857 !important;
}

.bp-pcard .bp-vcard-photo {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

/* Dot accent distinto per la sezione "Ultimi Ricambi" */
#dots-ricambi .bp-slider-dot.active {
  background: #10B981 !important;
}

/* Styling for real product cards inside slider-ricambi */
#slider-ricambi .product-card {
  border-top: 3px solid #10B981 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-self: stretch !important;
  height: auto !important;
}

#slider-ricambi .product-card .product-info {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 60%) !important;
  padding: 14px !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

#slider-ricambi .product-image-wrapper {
  height: 140px !important;
  padding: 0 !important;
  background: #ffffff !important;
  position: relative !important;
}

#slider-ricambi .product-slider-track {
  height: 140px !important;
}

#slider-ricambi .product-slider-slide {
  height: 140px !important;
}

#slider-ricambi .product-slider-slide img,
#slider-ricambi .product-image-wrapper img.product-image {
  height: 140px !important;
  width: 100% !important;
  object-fit: cover !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/* Hide available stock badge and grade text pill (Testato / Pari al nuovo) only in the home product slider */
#slider-ricambi .product-card .stock-badge {
  display: none !important;
}

#slider-ricambi .product-card .grade-label {
  display: none !important;
}


/* ============================================================
   HOMEPAGE REDESIGN â€” Nuovi Stili (Interventi 1-6)
   ============================================================ */

/* --- INTERVENTO 1: Micro-CTA nelle card veicoli --- */
.bp-vcard-microcta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

.bp-vcard-microcta--arrivo {
  color: #D91E36;
  background: rgba(217, 30, 54, 0.06);
  border: 1px solid rgba(217, 30, 54, 0.2);
}

.bp-vcard-microcta--arrivo:hover {
  background: #D91E36;
  color: #ffffff;
  border-color: #D91E36;
  transform: translateX(3px);
}

.bp-vcard-microcta--smontaggio {
  color: #0a1929;
  background: rgba(10, 25, 41, 0.05);
  border: 1px solid rgba(10, 25, 41, 0.15);
}

.bp-vcard-microcta--smontaggio:hover {
  background: #0a1929;
  color: #ffffff;
  border-color: #0a1929;
  transform: translateX(3px);
}

/* --- Card hover lift (si aggiunge alla bordatura colorata giÃ  inline) --- */
.bp-vcard {
  transition: box-shadow 0.25s ease, transform 0.25s ease !important;
}

.bp-vcard:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 40px -10px rgba(52, 152, 219, 0.45) !important;
}

/* --- INTERVENTO 3: Freccia hover sulle card categoria --- */
.bp-mock-cat-card::after {
  content: 'â†’';
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 4;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(217, 30, 54, 0.85);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  opacity: 0;
  transform: scale(0.6) translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.bp-mock-cat-card:hover::after {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Badge categoria: sposta a bottom-left (overlay stile Airbnb) */
.bp-mcat-badge {
  top: auto !important;
  right: auto !important;
  bottom: 48px !important;
  left: 12px !important;
  font-size: 11px !important;
  background: rgba(10, 25, 41, 0.82) !important;
  color: #ffffff !important;
  border: none !important;
  backdrop-filter: blur(6px) !important;
}

.bp-mock-cat-card:hover .bp-mcat-badge {
  background: #D91E36 !important;
  color: #ffffff !important;
}

/* --- INTERVENTO 4b: Glow pulsante bottone WhatsApp --- */
@keyframes waBtnPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5), 0 4px 16px rgba(37, 211, 102, 0.35);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0), 0 8px 24px rgba(37, 211, 102, 0.5);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 4px 16px rgba(37, 211, 102, 0.35);
  }
}

/* Pattern honeycomb su sezione Arianna (overlay leggero) */
.bp-arianna-banner-section {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px) !important;
  background-size: 24px 24px !important;
}

/* ========================================================
   V1 STANDARD SPLIT GRID SYSTEM & LAYOUT
   ======================================================== */

.bp-homepage-split-grid {
  display: grid;
  grid-template-columns: 68% 30%;
  gap: 2%;
  align-items: start;
  width: 100%;
}

@media (max-width: 992px) {
  .bp-homepage-split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Section headers for split layout */
.bp-split-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  border-bottom: 2px solid rgba(10, 25, 41, 0.05);
  padding-bottom: 12px;
}

.bp-split-section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: #0A1929;
  margin: 0;
}

.bp-split-section-sub {
  font-size: 14px;
  color: #64748B;
  margin: 4px 0 0 0;
}

.bp-split-section-link {
  font-size: 13.5px;
  font-weight: 700;
  color: #D91E36;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
}

.bp-split-section-link:hover {
  color: #0A1929;
  transform: translateX(4px);
}

/* --- Left Column: Categories Grid & Cards --- */
.bp-cat-v1-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.bp-cat-v1-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
  height: 180px;
}

@media (max-width: 992px) {
  .bp-cat-v1-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .bp-cat-v1-grid {
    grid-template-columns: 1fr;
  }
}

.bp-cat-v1-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(217, 30, 54, 0.25) !important;
}

.bp-cat-arrow {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #0a1929;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s, transform 0.25s, background-color 0.2s, color 0.2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.bp-cat-v1-card:hover .bp-cat-arrow {
  opacity: 1;
  transform: scale(1);
}

.bp-cat-arrow:hover {
  background: #D91E36;
  color: #ffffff;
}

.bp-cat-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  background: rgba(10, 25, 41, 0.85);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.3px;
  transition: background 0.2s;
}

.bp-cat-v1-card:hover .bp-cat-badge {
  background: #D91E36;
}

.bp-cat-img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.bp-cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bp-cat-v1-card:hover .bp-cat-img img {
  transform: scale(1.05);
}

.bp-cat-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 60px 20px 20px 20px;
  background: linear-gradient(to top, rgba(255, 255, 255, 1) 15%, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 0) 100%);
  text-align: left;
}

.bp-cat-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #0A1929 !important;
  margin: 0 0 4px 0;
  line-height: 1.3;
  text-decoration: none !important;
}

/* Fix: override default link colors inside category cards */
a.bp-cat-v1-card,
a.bp-cat-v1-card:visited,
a.bp-cat-v1-card:hover,
a.bp-cat-v1-card:focus {
  text-decoration: none !important;
  color: inherit !important;
}

a.bp-cat-v1-card .bp-cat-name {
  color: #0A1929 !important;
}

a.bp-cat-v1-card .bp-cat-subcats {
  color: #475569 !important;
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

/* ============================================================================
 * PRODUCT CAROUSEL (Nuovi Arrivi) - Loaded early to prevent layout flash
 * ============================================================================ */
.bp-native-carousel-container {
  width: 100%;
}

.bp-native-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.bp-native-carousel-track::-webkit-scrollbar {
  display: none;
}

.bp-native-slide {
  flex: 0 0 calc(100% - 20px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.bp-native-slide .product-card {
  width: 100%;
  margin: 0;
  height: 100%;
}

.bp-nav-btn {
  position: absolute;
  top: calc(50% - 40px);
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid #e2e8f0;
  color: #0A192F;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.bp-nav-btn:hover {
  background: #0A192F;
  color: white;
}

.bp-prev-btn {
  left: -15px;
}

.bp-next-btn {
  right: -15px;
}

.bp-native-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.bp-native-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s;
}

.bp-native-dot.active {
  background: #0A192F;
  width: 24px;
  border-radius: 4px;
}

@media (min-width: 640px) {
  .bp-native-slide {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (min-width: 992px) {
  .bp-native-slide {
    flex: 0 0 calc(33.333% - 20px);
  }
}

@media (min-width: 1200px) {
  .bp-native-slide {
    flex: 0 0 calc(25% - 20px);
  }

  .bp-prev-btn {
    left: -20px;
  }

  .bp-next-btn {
    right: -20px;
  }
}

@media (min-width: 1400px) {
  .bp-native-slide {
    flex: 0 0 calc(20% - 20px);
  }
}

/* ============================================================================
 * SPLIT SERVICES SECTION (Demolizione / Ritiro)
 * ============================================================================ */
.bp-split-services-section {
  width: 100%;
  overflow: hidden;
  margin-bottom: 60px;
}

.bp-split-services-container {
  display: flex;
  min-height: 380px;
}

.bp-service-half {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  transition: flex 0.4s ease;
}

.bp-service-half:hover {
  flex: 1.1;
}

.bp-service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 25, 41, 0.85) 0%, rgba(10, 25, 41, 0.4) 60%, rgba(10, 25, 41, 0.1) 100%);
  z-index: 1;
}

.bp-service-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  width: 100%;
}

.bp-service-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff !important;
  margin: 0 0 12px 0;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.bp-service-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85) !important;
  margin: 0 0 24px 0;
  line-height: 1.6;
  max-width: 440px;
}

.bp-service-btn {
  display: inline-flex;
  align-items: center;
  background: #D91E36;
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none !important;
  letter-spacing: 0.5px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.bp-service-btn:hover {
  background: #b81a2e;
  transform: translateY(-2px);
  color: #ffffff !important;
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .bp-split-services-container {
    flex-direction: column;
  }

  .bp-service-half {
    min-height: 300px;
  }

  .bp-service-title {
    font-size: 22px;
  }

  .bp-service-content {
    padding: 28px;
  }
}

/* ============================================================================
   INTEGRATED RESPONSIVE WHATSAPP ACTION SECTION
   ============================================================================ */
.bp-whatsapp-integrated-box {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 24px;
  margin-top: 16px;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.bp-whatsapp-integrated-box:hover {
  border-color: rgba(37, 211, 102, 0.2);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.05);
}

.bp-whatsapp-title {
  color: #cbd5e1;
  font-size: 13.5px;
  margin-top: 0;
  margin-bottom: 12px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
}

.bp-whatsapp-actions-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* Action Buttons */
.bp-btn-qr-modal,
.bp-btn-whatsapp-pc {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none !important;
  white-space: nowrap;
}

.bp-btn-qr-modal {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.bp-btn-qr-modal:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.bp-btn-qr-modal i {
  font-size: 16px;
  color: #38bdf8;
}

.bp-btn-whatsapp-pc {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.bp-btn-whatsapp-pc:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
  background: linear-gradient(135deg, #2ecc71, #128c7e);
}

.bp-whatsapp-secondary-link {
  color: #94a3b8 !important;
  font-size: 12.5px;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-left: auto;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.bp-whatsapp-secondary-link:hover {
  color: #25D366 !important;
}

/* Modal Styling */
.bp-qr-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 41, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bp-qr-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.bp-qr-modal-content {
  background: #ffffff;
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  max-width: 90%;
  width: 400px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.bp-qr-modal-overlay.active .bp-qr-modal-content {
  transform: scale(1);
}

.bp-qr-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 20px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.bp-qr-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.bp-qr-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.bp-qr-modal-desc {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 24px 0;
}

.bp-qr-modal-img {
  width: 250px;
  height: 250px;
  margin: 0 auto;
  display: block;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .bp-whatsapp-actions-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .bp-btn-qr-modal {
    display: none !important; /* Hide QR button on mobile */
  }
  
  .bp-btn-whatsapp-pc {
    width: 100%;
    padding: 12px 20px;
  }
  
  .bp-whatsapp-secondary-link {
    margin-left: 0;
    text-align: center;
    display: block;
    margin-top: 4px;
  }
}

/* ============================================================================
   ARIANNA V1 FEATURES FIX (ICONS CORRUPTION)
   ============================================================================ */
.bp-feature-v1-item {
  display: flex !important;
  gap: 16px !important;
  align-items: flex-start !important;
}

.bp-feature-v1-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  flex-shrink: 0 !important;
}

.bp-feature-v1-text h4 {
  margin-top: 0 !important;
}


/* Fix per mostrare l'alone e l'immagine nativa dal plugin senza tagli */
.mwai-timeless-theme .mwai-trigger .mwai-icon-container {
  overflow: hidden !important;
  background-color: #0A1929 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 20px rgba(0, 163, 255, 0.6) !important;
  border: 2px solid rgba(0, 163, 255, 0.8) !important;
  width: 56px !important;
  height: 56px !important;
  position: relative !important;
}
.mwai-timeless-theme .mwai-trigger .mwai-icon-container img {
  border-radius: 50% !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
}


/* Gradiente testuale globale per Arianna */
.arianna-gradient-text {
    background: linear-gradient(135deg, #0078FF 0%, #00E1FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #0078FF; /* Fallback */
}




/* --- LOGIN/REGISTER BENTO FORMS --- */
.woocommerce form.login, .woocommerce form.register {
    border-color: var(--b-navy, #0A1929) !important;
    border-width: 2px !important;
    border-style: solid !important;
    border-radius: 24px !important;
}


.woocommerce form.login button[type="submit"],
.woocommerce form.register button[type="submit"] {
    background-color: var(--b-navy, #0A1929) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 16px 24px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    width: auto !important;
    min-width: 200px !important;
    text-align: center !important;
    border: none !important;
    transition: all 0.3s ease !important;
    margin-top: 15px !important;
    box-shadow: 0 4px 10px rgba(10, 25, 41, 0.15) !important;
}

.woocommerce form.login button[type="submit"]:hover,
.woocommerce form.register button[type="submit"]:hover {
    background-color: #1a2c42 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(10, 25, 41, 0.25) !important;
}


/* --- EQUAL HEIGHT FORMS --- */
#customer_login { display: flex !important; flex-wrap: wrap !important; align-items: stretch !important; gap: 30px !important; }
#customer_login::before, #customer_login::after { display: none !important; }
#customer_login .u-column1, #customer_login .u-column2 { flex: 1 1 300px !important; width: 100% !important; display: flex !important; flex-direction: column !important; float: none !important; }
.woocommerce form.login, .woocommerce form.register { flex: 1 !important; display: flex !important; flex-direction: column !important; }
.woocommerce form.login p.form-row:last-of-type, .woocommerce form.register p.form-row:last-of-type { margin-top: auto !important; }


/* --- FIX PLATE FIELD APPEARANCE --- */
.bp-plate-field-wrap { display: flex !important; align-items: stretch !important; gap: 0 !important; background: #ffffff !important; border: 2px solid #0A1929 !important; padding: 0 !important; border-radius: 12px !important; overflow: hidden !important; height: 54px !important; }
.bp-plate-eu-badge { border-radius: 0 !important; margin: 0 !important; border-right: 1px solid rgba(0,0,0,0.1) !important; display: flex !important; align-items: center !important; justify-content: center !important; height: 100% !important; }
#battel-plate-input, .bp-plate-input { background: #ffffff !important; color: #0A1929 !important; -webkit-text-fill-color: #0A1929 !important; border: none !important; border-radius: 0 !important; margin: 0 !important; box-shadow: none !important; padding: 0 15px !important; height: 100% !important; flex: 1 !important; font-size: 20px !important; }
#battel-plate-input::placeholder, .bp-plate-input::placeholder { color: #94a3b8 !important; -webkit-text-fill-color: #94a3b8 !important; }
#battel-plate-search-btn, .bp-plate-search-btn { border-radius: 0 !important; margin: 0 !important; border: none !important; height: 100% !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; padding: 0 24px !important; flex-shrink: 0 !important; }

/* Each payment card wrapper */
ul.payment_methods li {
  display: contents !important;
}

/* Ensure any hidden data DIVs injected by Braintree do not take up grid space */
ul.payment_methods li > div:not(.payment_box) {
  display: none !important;
}

/* Hide empty payment_box for Braintree methods since Braintree puts buttons elsewhere */
ul.payment_methods li.payment_method_braintree_paypal .payment_box,
ul.payment_methods li.payment_method_braintree_googlepay .payment_box,
ul.payment_methods li.payment_method_braintree_applepay .payment_box {
  display: none !important;
}

/* Remove WooCommerce pseudo-elements which act as ghost grid cells */
ul.payment_methods li::before,
ul.payment_methods li::after {
  display: none !important;
  content: none !important;
}

/* ==========================================================================
   RECENTLY VIEWED SECTION OVERRIDES
   ========================================================================== */

.recently-viewed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.recently-viewed-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 340px; /* Altezza fissa della scheda */
    display: flex;
    flex-direction: column;
}

.recently-viewed-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.recently-viewed-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.recently-viewed-image-wrapper {
    height: 200px;
    width: 100%;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.recently-viewed-image-wrapper img.recently-viewed-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Foto intera, non tagliata */
    mix-blend-mode: multiply;
}

.recently-viewed-content-wrapper {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.recently-viewed-vehicle {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.recently-viewed-vehicle i {
    color: var(--battel-navy);
}

.recently-viewed-item h4 {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 8px;
    margin-top: 0;
    color: #111827;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recently-viewed-item .price {
    margin-top: auto;
    margin-bottom: 0;
    font-weight: 800;
    color: var(--battel-red, #e1001a);
    font-size: 1.1rem;
}