/* ==========================================================================
   WAF v2 - Modern Responsive Design
   Colori: Blu (#163275), Accent (#ff6934), Gold (#F5B400), Bianco (#ffffff)
   ========================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* RESET FORTE - Sovrascrivi vecchio design quando v2-body è presente */
.v2-body,
.v2-body * {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.v2-body h1,
.v2-body h2,
.v2-body h3,
.v2-body h4,
.v2-body h5,
.v2-body h6 {
  font-family: 'Montserrat', 'Inter', sans-serif !important;
}

/* Nascondi elementi del vecchio design */
.v2-body .header,
.v2-body .old-header,
.v2-body .navbar,
.v2-body .topbar,
.v2-body #header,
.v2-body .main-nav,
.v2-body .footer:not(.v2-footer),
.v2-body #footer:not(.v2-footer),
.v2-body .old-footer {
  display: none !important;
}

/* Reset wrapper */
.v2-body #wrapper {
  margin: 0 !important;
  padding-top: var(--header-height) !important;
  background: #f8f9fa !important;
  overflow-x: hidden !important;
}

.v2-body main#wrapper {
  padding-top: var(--header-height) !important;
}

@media (max-width: 992px) {
  .v2-body #wrapper,
  .v2-body main#wrapper {
    padding-top: var(--header-height-mobile) !important;
  }
}

/* Nascondi TUTTO ciò che non è v2 */
.v2-body > *:not(.v2-header):not(main):not(.v2-footer):not(footer):not(section):not(.modal):not(#loginModal):not(#wizardry-component):not(script):not(style):not(link):not(noscript) {
  display: none !important;
}

/* Fix: Bootstrap 3 sets html { font-size: 10px } which breaks all rem units.
   Restore the browser default 16px so v2 rem values compute correctly. */
html:has(.v2-body) {
  font-size: 16px !important;
}

/* Smooth scroll */
.v2-body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
}

/* Selection color */
.v2-body ::selection {
  background: var(--color-accent);
  color: white;
}

:root {
  /* Colori principali */
  --color-primary: #163275;
  --color-primary-light: #1e4494;
  --color-primary-dark: #0d1f4a;
  --color-accent: #ff6934;
  --color-accent-light: #ff8a5c;
  --color-accent-dark: #e55a25;
  --color-gold: #F5B400;
  --color-white: #ffffff;
  --color-bg-light: #f8f9fa;
  --color-off-white: #f8f9fa;
  --color-gray-light: #e9ecef;
  --color-gray: #6c757d;
  --color-gray-dark: #343a40;
  --color-text: #2d3748;
  --color-text-light: #718096;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Montserrat', 'Inter', sans-serif;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;

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

  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Layout */
  --header-height: 70px;
  --header-height-mobile: 60px;
  --container-max: 1200px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
  margin-top: 0;
}

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

a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.v2-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

#wrapper {
  min-height: calc(100vh - var(--header-height) - 200px);
  padding-top: var(--header-height);
}

@media (max-width: 768px) {
  #wrapper {
    padding-top: var(--header-height-mobile);
  }
}

/* ==========================================================================
   Header v2
   ========================================================================== */

/* Override CSS variables in header/footer to preserve original sizing.
   With html font-size changed from 10px (Bootstrap) to 16px for v2 content,
   rem-based variables would compute 60% larger. Pin them to the old px values. */
.v2-header,
.v2-footer {
  --spacing-xs: 2.5px;
  --spacing-sm: 5px;
  --spacing-md: 10px;
  --spacing-lg: 15px;
  --spacing-xl: 20px;
  --spacing-xxl: 30px;
  --font-size-sm: 8.75px;
  --font-size-base: 10px;
  --font-size-lg: 11.25px;
  --font-size-xl: 12.5px;
  --radius-sm: 2.5px;
  --radius-md: 5px;
  --radius-lg: 10px;
}

.v2-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: var(--header-height);
  background: transparent;
  box-shadow: none;
  z-index: 10000 !important;
  transition: all var(--transition-base);
  font-size: 11px;
}

/* Header diventa solido allo scroll */
.v2-header.scrolled {
  height: 60px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Link header bianchi quando trasparente (solo desktop) */
@media (min-width: 993px) {
  .v2-header:not(.scrolled) .v2-nav__link,
  .v2-header:not(.scrolled) .v2-dropdown__trigger {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  }

}

/* Mobile: header sempre solido e hamburger/logo visibili */
@media (max-width: 992px) {
  .v2-header {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  }

  .v2-header .v2-header__logo img {
    filter: none !important;
  }

  .v2-header .v2-menu-toggle span {
    background: var(--color-primary) !important;
  }
}

.v2-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Logo */
.v2-header__logo {
  flex-shrink: 0;
}

.v2-header__logo img {
  height: 50px;
  width: auto;
  transition: height var(--transition-base);
}

.v2-header.scrolled .v2-header__logo img {
  height: 40px;
}

/* Navigation */
.v2-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.v2-nav__menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.v2-nav__link {
  font-size: 11px !important;
  font-weight: 500;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 0;
  position: relative;
}

.v2-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.v2-nav__link:hover::after,
.v2-nav__link.active::after {
  width: 100%;
}

/* Header Actions */
.v2-header__actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

/* City Selector Dropdown */
.v2-dropdown {
  position: relative;
}

.v2-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: var(--color-off-white);
  border: 1px solid var(--color-gray-light);
  border-radius: 5px;
  font-size: 11px !important;
  font-weight: 500;
  color: var(--color-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.v2-dropdown__trigger:hover {
  background: var(--color-white);
  border-color: var(--color-accent);
}

.v2-dropdown__trigger svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.v2-dropdown.open .v2-dropdown__trigger svg {
  transform: rotate(180deg);
}

.v2-dropdown__menu {
  position: absolute;
  top: calc(100% + var(--spacing-xs));
  left: 0;
  min-width: 200px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  z-index: 100;
  list-style: none;
  margin: 0;
  padding: var(--spacing-sm) 0;
}

.v2-dropdown.open .v2-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.v2-dropdown__item a {
  display: block;
  padding: 5px 10px;
  color: var(--color-text);
  font-size: 11px;
  transition: all var(--transition-fast);
}

.v2-dropdown__item a:hover {
  background: var(--color-off-white);
  color: var(--color-accent);
}

/* Language Selector */
.v2-lang-selector {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.v2-lang-selector img {
  width: 24px;
  height: 18px;
  border-radius: 2px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.v2-lang-selector img:hover,
.v2-lang-selector img.active {
  opacity: 1;
}

/* Cart Icon */
.v2-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-off-white);
  color: var(--color-primary);
  transition: all var(--transition-fast);
}

.v2-cart:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.v2-cart svg {
  width: 20px;
  height: 20px;
}

.v2-cart__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Login Button */
.v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 15px;
  font-size: 11px !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.v2-btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.v2-btn--primary:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: var(--color-white);
}

.v2-btn--accent {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.v2-btn--accent:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-white);
}

.v2-btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.v2-btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Mobile Menu Toggle */
.v2-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.v2-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: all var(--transition-fast);
}

.v2-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.v2-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.v2-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
@media (max-width: 992px) {
  .v2-header {
    height: var(--header-height-mobile);
  }

  .v2-menu-toggle {
    display: flex;
  }

  .v2-nav {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-white);
    padding: var(--spacing-lg);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
    z-index: 999;
  }

  .v2-nav.open {
    transform: translateX(0);
  }

  /* Forza testo scuro nel menu mobile */
  .v2-nav .v2-nav__link,
  .v2-nav .v2-dropdown__trigger {
    color: var(--color-primary) !important;
    text-shadow: none !important;
  }

  .v2-nav .v2-nav__link:hover,
  .v2-nav .v2-dropdown__trigger:hover {
    color: var(--color-accent) !important;
  }

  .v2-nav__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .v2-nav__link {
    display: block;
    padding: 10px;
    border-bottom: 1px solid var(--color-gray-light);
    font-size: 12px !important;
  }

  .v2-dropdown__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--color-off-white);
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
    padding: 0;
  }

  .v2-dropdown.open .v2-dropdown__menu {
    max-height: 500px;
    padding: var(--spacing-sm) 0;
  }

  .v2-header__actions {
    flex-wrap: wrap;
    justify-content: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-gray-light);
    margin-top: var(--spacing-lg);
  }
}

/* ==========================================================================
   Footer v2
   ========================================================================== */

.v2-footer {
  background: #025578;
  color: var(--color-white);
  padding: 50px 0 20px;
  position: relative;
}

.v2-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
}

.v2-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.v2-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
  .v2-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .v2-footer__grid {
    grid-template-columns: 1fr;
  }
}

.v2-footer__col h4 {
  color: #fff;
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-md);
}

.v2-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.v2-footer__col li {
  margin-bottom: var(--spacing-sm);
}

.v2-footer__col a {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-base);
  transition: color var(--transition-fast);
}

.v2-footer__col a:hover {
  color: #fff;
}

.v2-footer__logo {
  margin-bottom: var(--spacing-md);
}

.v2-footer__logo img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.v2-footer__about {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm);
  line-height: 1.7;
}

/* Social Icons */
.v2-social {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.v2-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.v2-social a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.v2-social svg {
  width: 18px;
  height: 18px;
}

/* Footer Bottom */
.v2-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  padding-top: var(--spacing-lg);
}

.v2-footer__copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
}

.v2-footer__links {
  display: flex;
  gap: var(--spacing-lg);
}

.v2-footer__links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
}

.v2-footer__links a:hover {
  color: #fff;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.v2-text-center { text-align: center; }
.v2-text-right { text-align: right; }
.v2-text-accent { color: var(--color-accent); }
.v2-text-primary { color: var(--color-primary); }

.v2-mt-sm { margin-top: var(--spacing-sm); }
.v2-mt-md { margin-top: var(--spacing-md); }
.v2-mt-lg { margin-top: var(--spacing-lg); }
.v2-mt-xl { margin-top: var(--spacing-xl); }

.v2-mb-sm { margin-bottom: var(--spacing-sm); }
.v2-mb-md { margin-bottom: var(--spacing-md); }
.v2-mb-lg { margin-bottom: var(--spacing-lg); }
.v2-mb-xl { margin-bottom: var(--spacing-xl); }

.v2-hidden { display: none !important; }

@media (max-width: 992px) {
  .v2-hidden-mobile { display: none !important; }
}

@media (min-width: 993px) {
  .v2-hidden-desktop { display: none !important; }
}

/* ==========================================================================
   Homepage v2
   ========================================================================== */

.v2-home {
  overflow-x: hidden;
}

/* Hero Section - Full Screen Impact */
.v2-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: calc(-1 * var(--header-height));
  overflow: hidden;
}

@media (max-width: 768px) {
  .v2-hero {
    min-height: 100vh;
    min-height: 100svh; /* Safari fix */
    margin-top: calc(-1 * var(--header-height-mobile));
  }
}

.v2-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.v2-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1.1); }
  100% { transform: scale(1.2); }
}

.v2-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 54, 93, 0.85) 0%,
    rgba(15, 36, 64, 0.7) 50%,
    rgba(201, 162, 39, 0.4) 100%
  );
}

.v2-hero__content {
  text-align: center;
  padding: var(--spacing-xl);
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.v2-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--color-white);
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.v2-hero__subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--spacing-xxl);
  line-height: 1.7;
  font-weight: 300;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.v2-hero__cta {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.v2-btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.v2-btn--accent.v2-btn--lg {
  background: linear-gradient(135deg, var(--color-accent) 0%, #d4b54a 100%);
  border: none;
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.4);
}

.v2-btn--accent.v2-btn--lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201, 162, 39, 0.5);
}

.v2-btn--outline-white {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.v2-btn--outline-white:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  transform: translateY(-3px);
}

.v2-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--color-white);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0.8;
}

.v2-hero__scroll svg {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Sections */
.v2-section {
  padding: 6rem 0;
}

.v2-section--tours {
  background: var(--color-white);
  padding: 7rem 0;
}

.v2-section--destinations {
  background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 7rem 0;
}

.v2-section--categories {
  background: var(--color-white);
  padding: 7rem 0;
}

.v2-section--trust {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0d1f4a 100%);
  padding: 5rem 0;
}

.v2-section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.v2-section__badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.15) 0%, rgba(201, 162, 39, 0.05) 100%);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.v2-section__title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.v2-section__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.v2-section__footer {
  text-align: center;
  margin-top: 4rem;
}

.v2-section__footer .v2-btn {
  padding: 1rem 2rem;
  border-radius: 50px;
}

/* Tour Cards Grid */
.v2-tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

@media (max-width: 992px) {
  .v2-tours-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .v2-tours-grid {
    grid-template-columns: 1fr;
  }
}

/* Tour Card - Modern Style */
.v2-tour-card {
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.v2-tour-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.v2-tour-card__link {
  display: block;
  color: inherit;
}

.v2-tour-card__link:hover {
  color: inherit;
}

.v2-tour-card__image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.v2-tour-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.v2-tour-card:hover .v2-tour-card__image::after {
  opacity: 1;
}

.v2-tour-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.v2-tour-card:hover .v2-tour-card__image img {
  transform: scale(1.12);
}

.v2-tour-card__badge {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.v2-tour-card__badge svg {
  width: 14px;
  height: 14px;
}

.v2-tour-card__content {
  padding: var(--spacing-lg);
}

.v2-tour-card__title {
  font-family: var(--font-primary);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.v2-tour-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.v2-tour-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--color-gray-light);
}

.v2-tour-card__price-label {
  display: block;
  font-size: 12px;
  color: var(--color-text-light);
  text-transform: uppercase;
}

.v2-tour-card__price-value {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-accent);
}

.v2-tour-card__cta {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.v2-tour-card:hover .v2-tour-card__cta {
  color: var(--color-accent);
}

.v2-tour-card__cta svg {
  transition: transform var(--transition-fast);
}

.v2-tour-card:hover .v2-tour-card__cta svg {
  transform: translateX(4px);
}

/* Destinations Grid */
.v2-destinations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

@media (max-width: 992px) {
  .v2-destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .v2-destinations-grid {
    grid-template-columns: 1fr;
  }
}

/* Destination Card */
.v2-destination-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.v2-destination-card__link {
  display: block;
  height: 100%;
}

.v2-destination-card__image {
  position: absolute;
  inset: 0;
}

.v2-destination-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.v2-destination-card:hover .v2-destination-card__image img {
  transform: scale(1.1);
}

.v2-destination-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 54, 93, 0.9) 0%,
    rgba(26, 54, 93, 0.3) 50%,
    transparent 100%
  );
}

.v2-destination-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-lg);
  color: var(--color-white);
}

.v2-destination-card__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.v2-destination-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: var(--font-size-sm);
  color: var(--color-accent);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.v2-destination-card:hover .v2-destination-card__cta {
  opacity: 1;
  transform: translateY(0);
}

/* Categories Grid */
.v2-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

@media (max-width: 992px) {
  .v2-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .v2-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
}

/* Category Card */
.v2-category-card {
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.v2-category-card:hover {
  background: var(--color-white);
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.v2-category-card__link {
  display: block;
  color: inherit;
}

.v2-category-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-md);
  color: var(--color-primary);
  transition: all var(--transition-base);
}

.v2-category-card:hover .v2-category-card__icon {
  background: var(--color-primary);
  color: var(--color-white);
}

.v2-category-card__title {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--spacing-xs);
}

.v2-category-card__count {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

/* Trust Section */
.v2-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
}

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

@media (max-width: 576px) {
  .v2-trust-grid {
    grid-template-columns: 1fr;
  }
}

.v2-trust-item {
  text-align: center;
  padding: var(--spacing-lg);
}

.v2-trust-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-md);
  color: var(--color-accent);
}

.v2-trust-item__title {
  font-family: var(--font-primary);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.v2-trust-item__text {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* ==========================================================================
   Homepage Template Styles (classi usate da views/index/v2.volt)
   ========================================================================== */

.v2-body section {
  padding: 5rem 0;
}

.v2-body .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.v2-body .section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.v2-body .section-header p {
  color: var(--color-text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Hero (v2.volt) */
.v2-body .hero-v2 {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-height));
  padding-top: var(--header-height);
}

.v2-body .hero-v2::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/img/static/header/places/place-13-header.jpg') center/cover no-repeat;
}

.v2-body .hero-v2::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.v2-body .hero-v2 .container {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-white);
  padding: 6rem 1rem;
}

.v2-body .hero-v2 h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.v2-body .hero-v2 p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 2rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Search Box */
.v2-body .search-box-v2 {
  background: #fff;
  border-radius: 8px;
  padding: 0.5rem;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.v2-body .search-box-v2 form {
  display: flex;
  gap: 0.5rem;
}

.v2-body .search-box-v2 input {
  flex: 1;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  background: #f8f9fa;
  color: #333;
}

.v2-body .search-box-v2 input:focus {
  outline: 2px solid var(--color-accent);
}

.v2-body .search-box-v2 button {
  padding: 1rem 2rem;
  white-space: nowrap;
}

/* Places Grid */
.v2-body .places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.v2-body .place-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  display: block;
  border: 15px solid #fff;
}

.v2-body .place-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.v2-body .place-card:hover img {
  transform: scale(1.08);
}

.v2-body .place-card .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  color: #fff;
}

.v2-body .place-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: #fff;
}

.v2-body .place-card span {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Services Grid */
.v2-body .services-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
@media (max-width: 992px) {
  .v2-body .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 576px) {
  .v2-body .services-grid {
    grid-template-columns: 1fr !important;
  }
}

.v2-body .service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block !important;
  float: none !important;
  width: auto !important;
  color: inherit;
  text-decoration: none !important;
}

.v2-body .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  color: inherit;
}

.v2-body .service-card .image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

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

.v2-body .service-card .content {
  display: none;
}

.v2-body .service-card__body p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 0;
}

.v2-body .service-card .price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* Features */
.v2-body .features-section {
  background: #f8f9fa;
}

.v2-body .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.v2-body .feature-item {
  text-align: center;
  padding: 2rem;
}

.v2-body .feature-item .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
}

.v2-body .feature-item .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.v2-body .feature-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.v2-body .feature-item p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Newsletter */
.v2-body .newsletter-section {
  background: var(--color-primary);
  color: #fff;
}

.v2-body .newsletter-section .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.v2-body .newsletter-section h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: #fff;
}

.v2-body .newsletter-section p {
  opacity: 0.9;
  color: #fff;
}

.v2-body .newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.v2-body .newsletter-form input[type="email"] {
  padding: 1rem 1.25rem;
  border: none;
  border-radius: 4px;
  min-width: 280px;
  font-size: 1rem;
}

/* Partners */
.v2-body .partners-track {
  display: flex;
  gap: 3rem;
  overflow-x: auto;
  padding: 1rem 0;
  -webkit-overflow-scrolling: touch;
}

.v2-body .partners-track::-webkit-scrollbar {
  display: none;
}

.v2-body .partners-track img {
  height: 50px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.v2-body .partners-track img:hover {
  opacity: 1;
}

/* Section Badge */
.v2-body .section-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

/* Section Footer (CTA) */
.v2-body .section-footer {
  text-align: center;
  margin-top: 3rem;
}

/* Outlined Gold Button */
.v2-body .btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff !important;
  background: #025578 !important;
  border: 2px solid #025578 !important;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.v2-body .btn-outline-gold:hover {
  background: #013d57 !important;
  border-color: #013d57 !important;
  color: #fff !important;
}

/* Gold Circle Icons */
.v2-body .feature-item .icon.icon--gold {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.15) 0%, rgba(201, 162, 39, 0.08) 100%);
  border: 2px solid rgba(201, 162, 39, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.v2-body .feature-item .icon.icon--gold img,
.v2-body .feature-item .icon.icon--gold svg {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  object-fit: contain;
  filter: sepia(1) saturate(3) brightness(0.8) hue-rotate(10deg);
}

/* Service Card - Price Badge */
.v2-body .service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.v2-body .service-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.v2-body .service-card__link:hover {
  color: inherit;
}

.v2-body .service-card .image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.v2-body .service-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.v2-body .service-card:hover .image img {
  transform: scale(1.05);
}

.v2-body .service-card__price-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  z-index: 2;
}

.v2-body .service-card__badge-bar {
  background: #025578;
  padding: 0.5rem 1rem;
  text-align: center;
  width: 75%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  transform: translateY(-50%);
}

.v2-body .service-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.v2-body .service-card__body {
  padding: 1.25rem 1.5rem 0.75rem;
  background: #fff;
}

.v2-body .service-card__body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #025578;
  line-height: 1.4;
}

/* old .content rules removed — now using .service-card__body and .service-card__badge-bar */

.v2-body .service-card__subtitle {
  font-size: 0.85rem !important;
  color: var(--color-gray) !important;
  margin-bottom: 0.5rem !important;
}

/* Service Card Actions */
.v2-body .service-card__description {
  padding: 1.25rem 1.5rem 0.75rem;
  background: #fff;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

.v2-body .service-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem 1.25rem;
  background: #fff;
  margin-top: 0.75rem;
}

.v2-body .service-card__book {
  display: inline-block;
  background: #F5B400 !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.v2-body .service-card__book:hover {
  background: #d9a000 !important;
}

.v2-body .service-card__wishlist {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--color-gray);
  cursor: pointer;
  transition: color 0.2s ease;
}

.v2-body .service-card__wishlist:hover {
  color: #e74c3c;
}

.v2-body .service-card__wishlist svg {
  transition: fill 0.2s ease;
}

.v2-body .service-card__wishlist:hover svg {
  fill: #e74c3c;
  stroke: #e74c3c;
}

/* Categories Mosaic */
.v2-body .categories-section {
  background: var(--color-bg-light);
}

.v2-body .categories-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 0.5rem;
}

.v2-body .categories-mosaic .category-image-card:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.v2-body .categories-mosaic .category-image-card:nth-child(4) {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .v2-body .categories-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }
  .v2-body .categories-mosaic .category-image-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .v2-body .categories-mosaic .category-image-card:nth-child(4) {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .v2-body .categories-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }
  .v2-body .categories-mosaic .category-image-card:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.v2-body .category-image-card {
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
}

.v2-body .category-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.v2-body .category-image-card:hover img {
  transform: scale(1.08);
}

.v2-body .category-image-card .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: #fff;
}

.v2-body .category-image-card .overlay h3 {
  font-size: 1rem;
  margin: 0;
  color: #fff !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Btn overrides */
.v2-body .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.v2-body .btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.v2-body .btn-primary:hover {
  background: var(--color-accent-dark);
  color: #fff;
}

/* ==========================================================================
   COMPATIBILITA' BOOTSTRAP 3 dentro v2-body
   Le pagine esistenti (item, category, cart, customer, ecc.) usano classi
   Bootstrap 3. Questo CSS garantisce che appaiano decenti nel layout v2.
   ========================================================================== */

/* Contenitori e griglia */
.v2-body .container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Fix row flex per bootstrap 3 */
.v2-body main#wrapper .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.v2-body main#wrapper [class*="col-md-"],
.v2-body main#wrapper [class*="col-sm-"],
.v2-body main#wrapper [class*="col-xs-"] {
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
  min-height: 1px;
}

/* Grid columns */
.v2-body main#wrapper .col-md-1 { flex: 0 0 8.333%; max-width: 8.333%; }
.v2-body main#wrapper .col-md-2 { flex: 0 0 16.666%; max-width: 16.666%; }
.v2-body main#wrapper .col-md-3 { flex: 0 0 25%; max-width: 25%; }
.v2-body main#wrapper .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.v2-body main#wrapper .col-md-5 { flex: 0 0 41.666%; max-width: 41.666%; }
.v2-body main#wrapper .col-md-6 { flex: 0 0 50%; max-width: 50%; }
.v2-body main#wrapper .col-md-7 { flex: 0 0 58.333%; max-width: 58.333%; }
.v2-body main#wrapper .col-md-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.v2-body main#wrapper .col-md-9 { flex: 0 0 75%; max-width: 75%; }
.v2-body main#wrapper .col-md-10 { flex: 0 0 83.333%; max-width: 83.333%; }
.v2-body main#wrapper .col-md-11 { flex: 0 0 91.666%; max-width: 91.666%; }
.v2-body main#wrapper .col-md-12 { flex: 0 0 100%; max-width: 100%; }

/* Offsets */
.v2-body main#wrapper .col-md-offset-1 { margin-left: 8.333%; }
.v2-body main#wrapper .col-md-offset-2 { margin-left: 16.666%; }
.v2-body main#wrapper .col-md-offset-3 { margin-left: 25%; }
.v2-body main#wrapper .col-md-offset-4 { margin-left: 33.333%; }
.v2-body main#wrapper .col-md-offset-5 { margin-left: 41.666%; }

/* Mobile responsive */
@media (max-width: 768px) {
  .v2-body main#wrapper [class*="col-md-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .v2-body main#wrapper [class*="col-md-offset-"] {
    margin-left: 0;
  }
}

/* Pannelli */
.v2-body .panel {
  background: #fff;
  border: 1px solid var(--color-gray-light);
  border-radius: 8px;
  margin-bottom: var(--spacing-md);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.v2-body .panel-heading {
  padding: var(--spacing-sm) var(--spacing-md);
  border-bottom: 1px solid var(--color-gray-light);
  border-radius: 8px 8px 0 0;
  background: var(--color-off-white);
}

.v2-body .panel-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.v2-body .panel-body {
  padding: var(--spacing-md);
}

.v2-body .panel-collapse {
  border-top: 1px solid var(--color-gray-light);
}

/* Tabelle */
.v2-body .table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--spacing-md);
}

.v2-body .table th,
.v2-body .table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--color-gray-light);
  text-align: left;
}

.v2-body .table th {
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-off-white);
}

.v2-body .table-striped tbody tr:nth-child(odd) {
  background: var(--color-off-white);
}

/* Form controls */
.v2-body .form-control {
  display: block;
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text);
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.v2-body .form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
  outline: none;
}

.v2-body .form-group {
  margin-bottom: var(--spacing-sm);
}

.v2-body .form-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
  color: var(--color-primary);
}

.v2-body .input-group {
  display: flex;
  align-items: stretch;
}

.v2-body .input-group .form-control {
  flex: 1;
  border-radius: 6px 0 0 6px;
}

.v2-body .input-group .input-group-btn .btn,
.v2-body .input-group .input-group-append .btn {
  border-radius: 0 6px 6px 0;
}

/* Badge */
.v2-body .badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  background: var(--color-accent);
  color: #fff;
}

.v2-body .badge-primary {
  background: var(--color-primary);
}

/* Paginazione */
.v2-body .pagination {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 0.25rem;
  justify-content: center;
  margin: var(--spacing-lg) 0;
}

.v2-body .pagination li a,
.v2-body .pagination li span {
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--color-gray-light);
  border-radius: 4px;
  color: var(--color-primary);
  text-decoration: none;
}

.v2-body .pagination li.active a,
.v2-body .pagination li.active span {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* Nav tabs/pills */
.v2-body .nav-pills,
.v2-body .nav-tabs {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 0.25rem;
  border-bottom: 2px solid var(--color-gray-light);
  margin-bottom: var(--spacing-md);
}

.v2-body .nav-pills > li > a,
.v2-body .nav-tabs > li > a {
  padding: 0.625rem 1rem;
  color: var(--color-gray);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.v2-body .nav-pills > li.active > a,
.v2-body .nav-tabs > li.active > a {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
  font-weight: 600;
}

/* Buttons - stile v2 */
.v2-body .btn-secondary {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
}

.v2-body .btn-secondary:hover {
  background: var(--color-primary-light);
  color: #fff;
}

.v2-body .btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.v2-body .btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.8rem;
}

.v2-body .btn-block {
  display: block;
  width: 100%;
}

/* Utility classes */
.v2-body .text-center { text-align: center; }
.v2-body .text-right { text-align: right; }
.v2-body .clear { clear: both; }
.v2-body .centered { text-align: center; }
.v2-body .bottom-20 { margin-bottom: 20px; }
.v2-body .mt-2 { margin-top: 0.5rem; }

/* Titolo sezione generico (pagine legacy) */
.v2-body .title-section,
.v2-body .title-section-general {
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.v2-body .title-section h1,
.v2-body .title-section-general h1,
.v2-body .title-section h2,
.v2-body .title-section-general h2 {
  color: var(--color-primary);
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-transform: capitalize;
}

/* Social login buttons */
.v2-body .btn-fb {
  background: #3b5998;
  color: #fff;
  border: none;
  border-radius: 6px;
}

.v2-body .btn-google {
  background: #dd4b39;
  color: #fff;
  border: none;
  border-radius: 6px;
}

/* Image responsive */
.v2-body main#wrapper img {
  max-width: 100%;
  height: auto;
}
.v2-body main#wrapper .place-card img {
  max-width: none;
  height: 100%;
}

/* Animazione hover generica */
.v2-body .hvr-push:hover,
.v2-body .hvr-grow-shadow:hover {
  transform: scale(1.02);
  transition: transform 0.2s ease;
}

/* Breadcrumbs (se presenti) */
.v2-body .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: var(--spacing-sm) 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-gray);
}

.v2-body .breadcrumb li + li::before {
  content: '/';
  padding: 0 0.5rem;
  color: var(--color-gray-light);
}

.v2-body .breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

.v2-body .breadcrumb a:hover {
  color: var(--color-accent);
}

/* Progress bar (checkout) */
.v2-body .progress {
  height: 6px;
  background: var(--color-gray-light);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: var(--spacing-md);
}

.v2-body .progress-bar {
  background: var(--color-accent);
  height: 100%;
  transition: width 0.3s ease;
}

/* Alert / Notifiche */
.v2-body .alert {
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 6px;
  margin-bottom: var(--spacing-md);
}

.v2-body .alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.v2-body .alert-danger {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.v2-body .alert-warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.v2-body .alert-info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

/* Spacing generico per pagine legacy dentro wrapper */
.v2-body main#wrapper > .container,
.v2-body main#wrapper > div > .container {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

/* Fix per il contenuto delle pagine legacy */
.v2-body main#wrapper section {
  padding: var(--spacing-lg) 0;
}

/* Fix link generici */
.v2-body main#wrapper a {
  color: var(--color-primary);
  transition: color 0.2s ease;
}

.v2-body main#wrapper a:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   ITEM DETAIL V2
   ========================================================================== */

/* Breadcrumb */
.v2-body .v2-breadcrumb {
  padding: var(--spacing-sm) 0;
  font-size: 0.85rem;
  color: var(--color-gray);
}

.v2-body .v2-breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

.v2-body .v2-breadcrumb a:hover {
  color: var(--color-accent);
}

/* Item Header */
.v2-body .v2-item-header {
  padding-bottom: var(--spacing-lg);
}

.v2-body .v2-item-header__inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: var(--spacing-xl) !important;
  align-items: start;
}

@media (max-width: 768px) {
  .v2-body .v2-item-header__inner {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-md) !important;
  }
}

/* Gallery */
.v2-body .v2-gallery-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-off-white);
}

.v2-body .v2-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v2-body .v2-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

.v2-body .v2-gallery-nav:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.v2-body .v2-gallery-prev { left: 10px; }
.v2-body .v2-gallery-next { right: 10px; }

.v2-body .v2-gallery-counter {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.v2-body .v2-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.v2-body .v2-gallery-thumbs img {
  width: 70px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.v2-body .v2-gallery-thumbs img.active,
.v2-body .v2-gallery-thumbs img:hover {
  opacity: 1;
}

/* Item Info */
.v2-body .v2-item-info h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  text-transform: capitalize;
}

.v2-body .v2-item-subtitle {
  font-size: 1.1rem;
  color: var(--color-gray);
  font-weight: 400;
  margin-bottom: 1rem;
}

.v2-body .v2-item-location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1rem;
  color: var(--color-gray);
}

.v2-body .v2-item-location a {
  color: var(--color-primary);
  text-decoration: none;
}

.v2-body .v2-item-location a:hover {
  color: var(--color-accent);
}

.v2-body .v2-item-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 1rem;
}

.v2-body .v2-item-price__label {
  font-size: 0.85rem;
  color: var(--color-gray);
}

.v2-body .v2-item-price__amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent);
}

.v2-body .v2-item-short-desc {
  color: var(--color-text);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Item Content + Sidebar */
.v2-body .v2-item-content {
  padding: var(--spacing-lg) 0;
}

.v2-body .v2-item-content__inner {
  display: grid !important;
  grid-template-columns: 1fr 380px !important;
  gap: var(--spacing-xl) !important;
  align-items: start;
}

@media (max-width: 992px) {
  .v2-body .v2-item-content__inner {
    grid-template-columns: 1fr !important;
  }
}

/* Tabs */
.v2-body .v2-item-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--color-gray-light);
  margin-bottom: var(--spacing-lg);
  overflow-x: auto;
}

.v2-body .v2-tab {
  padding: 0.75rem 1.25rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-gray);
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.v2-body .v2-tab:hover {
  color: var(--color-primary);
}

.v2-body .v2-tab.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.v2-body .v2-tab-content {
  display: none;
}

.v2-body .v2-tab-content.active {
  display: block;
}

/* Item description */
.v2-body .v2-item-description {
  line-height: 1.8;
  color: var(--color-text);
  font-size: 0.95rem;
}

.v2-body .v2-item-description p {
  margin-bottom: 1rem;
}

.v2-body .v2-item-description img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
}

/* Paragraphs */
.v2-body .v2-paragraph {
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--color-gray-light);
}

.v2-body .v2-paragraph:last-child {
  border-bottom: none;
}

.v2-body .v2-paragraph h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* Policy sections */
.v2-body .v2-item-policy {
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md);
  background: var(--color-off-white);
  border-radius: 8px;
}

.v2-body .v2-item-policy h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

/* Booking Card */
.v2-body .v2-booking-card {
  background: #fff;
  border: 1px solid var(--color-gray-light);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: sticky;
  top: calc(var(--header-height) + var(--spacing-md));
  overflow: hidden;
}

.v2-body .v2-booking-card__header {
  padding: var(--spacing-md);
  background: var(--color-primary);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.v2-body .v2-booking-card__header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
}

.v2-body .v2-booking-card__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent-light);
}

.v2-body .v2-booking-card__body {
  padding: var(--spacing-md);
}

/* Fix form dentro booking card */
.v2-body .v2-booking-card .form-reservation,
.v2-body .v2-booking-card .form-reservation-inner {
  position: static !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
}

.v2-body .v2-booking-card .form-reservation-title {
  display: none;
}

/* Context cards (place & category) */
.v2-body .v2-context-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.v2-body .v2-context-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  display: block;
  text-decoration: none;
}

.v2-body .v2-context-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.v2-body .v2-context-card:hover img {
  transform: scale(1.05);
}

.v2-body .v2-context-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-md);
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
}

.v2-body .v2-context-card__overlay h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  color: #fff;
}

.v2-body .v2-context-card__overlay span {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Item context section */
.v2-body .v2-item-context {
  padding: var(--spacing-lg) 0;
  background: var(--color-off-white);
}

/* Related items */
.v2-body .v2-item-related {
  padding: var(--spacing-xl) 0;
}

/* Share section */
.v2-body .v2-item-share {
  padding: var(--spacing-md) 0;
  border-top: 1px solid var(--color-gray-light);
}

/* Item gallery wrapper */
.v2-body .v2-item-gallery {
  min-width: 0;
  overflow: hidden;
}

/* Item sidebar (booking) */
.v2-body .v2-item-sidebar {
  min-width: 0;
}

/* Item main content area */
.v2-body .v2-item-main {
  min-width: 0;
}

/* ==========================================================================
   CATEGORY LISTING V2
   ========================================================================== */

.v2-body .v2-category-header {
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.v2-body .v2-category-header h1 {
  color: var(--color-primary);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 0.5rem;
  text-transform: capitalize;
}

.v2-body .v2-category-desc {
  color: var(--color-text);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 800px;
}

.v2-body .v2-place-description {
  font-size: 1.05rem;
  line-height: 1.7;
}

.v2-body .v2-category-content {
  padding-bottom: var(--spacing-xl);
}

.v2-body .v2-category-layout {
  display: grid !important;
  grid-template-columns: 260px 1fr !important;
  gap: var(--spacing-xl) !important;
  align-items: start;
}

@media (max-width: 768px) {
  .v2-body .v2-category-layout {
    grid-template-columns: 1fr !important;
  }
}

/* Category sidebar wrapper */
.v2-body .v2-category-sidebar {
  min-width: 0;
  display: block !important;
  float: none !important;
  width: auto !important;
}

/* Category items wrapper */
.v2-body .v2-category-items {
  min-width: 0;
}

/* Sidebar */
.v2-body .v2-sidebar-card {
  background: #fff;
  border: 1px solid var(--color-gray-light);
  border-radius: 12px;
  padding: var(--spacing-md);
  position: sticky;
  top: calc(var(--header-height) + var(--spacing-md));
}

.v2-body .v2-sidebar-card h3 {
  color: var(--color-primary);
   font-size: 1.3rem;
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--color-accent);
}

.v2-body .v2-category-menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.v2-body .v2-category-menu li {
  list-style: none !important;
}

.v2-body .v2-category-menu > li {
  margin-bottom: 2px;
}

.v2-body .v2-cat-link {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1.05rem;
  transition: all 0.2s ease;
}

.v2-body .v2-cat-link:hover {
  background: var(--color-off-white);
  color: var(--color-accent);
}

.v2-body .v2-subcategory-menu {
  list-style: none !important;
  padding: 0 0 0 1rem !important;
  margin: 0 !important;
}

.v2-body .v2-subcategory-menu li {
  list-style: none !important;
}

.v2-body .v2-subcategory-menu a {
  display: block;
  padding: 0.35rem 0.75rem;
  color: var(--color-gray);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.v2-body .v2-subcategory-menu a:hover {
  color: var(--color-accent);
}

/* Items count */
.v2-body .v2-items-count {
  font-size: 1.05rem;
  color: var(--color-gray);
  margin-bottom: var(--spacing-md);
}

/* Card location tag */
.v2-body .v2-card-location {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 4px;
}

/* Card price */
.v2-body .v2-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: auto;
}

.v2-body .v2-card-price__label {
  font-size: 0.875rem;
  color: var(--color-gray);
}

/* No results */
.v2-body .v2-no-results {
  text-align: center;
  padding: var(--spacing-xl);
  color: var(--color-gray);
}

/* Category places section */
.v2-body .v2-category-places {
  padding: var(--spacing-xl) 0;
}

/* Responsive homepage */
@media (max-width: 768px) {
  .v2-body .hero-v2 {
    min-height: 70vh;
  }

  .v2-body .search-box-v2 form {
    flex-direction: column;
  }

  .v2-body .newsletter-section .container {
    flex-direction: column;
    text-align: center;
  }

  .v2-body .newsletter-form {
    width: 100%;
    flex-direction: column;
  }

  .v2-body .newsletter-form input[type="email"] {
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  .v2-body .places-grid {
    grid-template-columns: 1fr;
  }

  .v2-body section {
    padding: 3rem 0;
  }
}

/* ==========================================================================
   V2 - Search Page
   ========================================================================== */
.v2-body .v2-search-page {
  padding: 2rem 0 4rem;
}
.v2-body .v2-search-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}
.v2-body .v2-search-sidebar .v2-sidebar-card {
  position: sticky;
  top: 90px;
}
.v2-body .v2-search-results {
  min-height: 400px;
}
.v2-body .v2-search-pagination {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}
@media (max-width: 768px) {
  .v2-body .v2-search-layout {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   V2 - Cart & Checkout
   ========================================================================== */
.v2-body .v2-checkout-progress {
  padding: 1.5rem 0;
  background: var(--color-bg-light, #f8f9fa);
}
.v2-body .v2-progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.v2-body .v2-progress-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
}
.v2-body .v2-progress-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #666;
  font-weight: 600;
  font-size: 0.85rem;
}
.v2-body .v2-progress-step.active .v2-progress-num {
  background: #163275;
  color: #fff;
}
.v2-body .v2-progress-label {
  font-size: 0.85rem;
  color: #666;
}
.v2-body .v2-progress-step.active .v2-progress-label {
  color: #163275;
  font-weight: 600;
}
.v2-body .v2-progress-line {
  width: 60px;
  height: 2px;
  background: #e0e0e0;
}
.v2-body .v2-cart-section,
.v2-body .v2-checkout-section {
  padding: 2rem 0;
}

/* Cart Items */
.v2-body .v2-cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.v2-body .v2-cart-item__img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}
.v2-body .v2-cart-item__info h3 {
  font-size: 1rem;
  margin: 0;
}
.v2-body .v2-cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}
.v2-body .v2-cart-table {
  overflow-x: auto;
}

/* Empty state */
.v2-body .v2-empty-state {
  text-align: center;
  padding: 4rem 2rem;
}
.v2-body .v2-empty-state h2 {
  margin: 1rem 0;
  color: #666;
}
.v2-body .v2-empty-state .v2-btn {
  margin-top: 1rem;
}

/* ==========================================================================
   V2 - Tables
   ========================================================================== */
.v2-body .v2-table {
  width: 100%;
  border-collapse: collapse;
}
.v2-body .v2-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid #163275;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #163275;
}
.v2-body .v2-table td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}
.v2-body .v2-table .text-center {
  text-align: center;
}

/* ==========================================================================
   V2 - Order Confirmation
   ========================================================================== */
.v2-body .v2-order-confirmation {
  padding: 2rem 0 4rem;
}
.v2-body .v2-order-success {
  text-align: center;
  padding: 2rem 0 3rem;
}
.v2-body .v2-order-success__icon {
  margin-bottom: 1rem;
}
.v2-body .v2-order-success h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.v2-body .v2-order-success__note {
  color: #666;
  max-width: 600px;
  margin: 0.5rem auto 0;
}
.v2-body .v2-order-total {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
  background: var(--color-bg-light, #f8f9fa);
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 1.1rem;
}
.v2-body .v2-order-total strong {
  font-size: 1.4rem;
  color: #163275;
}
.v2-body .v2-order-info {
  padding: 1.5rem 0;
  color: #666;
}
.v2-body .v2-order-attention {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1rem;
}
.v2-body .v2-order-attention h4 {
  color: #856404;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   V2 - Dashboard / Customer Area
   ========================================================================== */
.v2-body .v2-dashboard {
  padding: 2rem 0 4rem;
}
.v2-body .v2-dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}
.v2-body .v2-dashboard-sidebar .v2-sidebar-card {
  position: sticky;
  top: 90px;
}
.v2-body .v2-user-info {
  text-align: center;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
}
.v2-body .v2-user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-bg-light, #f8f9fa);
  margin: 0 auto 0.75rem;
}
.v2-body .v2-user-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.v2-body .v2-user-info p {
  font-size: 0.85rem;
  color: #666;
}
.v2-body .v2-dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.v2-body .v2-dashboard-nav__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.v2-body .v2-dashboard-nav__link:hover {
  background: var(--color-bg-light, #f8f9fa);
}
.v2-body .v2-dashboard-nav__link.active {
  background: #163275;
  color: #fff;
}
.v2-body .v2-dashboard-main h1 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

/* Order Cards */
.v2-body .v2-orders-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.v2-body .v2-order-card {
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.v2-body .v2-order-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.v2-body .v2-order-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-bg-light, #f8f9fa);
  border-bottom: 1px solid #eee;
}
.v2-body .v2-order-card__status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
}
.v2-body .v2-status--pending,
.v2-body .v2-badge.v2-status--pending {
  background: #fff3cd;
  color: #856404;
}
.v2-body .v2-status--processed,
.v2-body .v2-badge.v2-status--processed {
  background: #d4edda;
  color: #155724;
}
.v2-body .v2-status--legacy,
.v2-body .v2-badge.v2-status--legacy {
  background: #e2e3e5;
  color: #383d41;
}
.v2-body .v2-order-card__meta {
  font-size: 0.85rem;
  color: #666;
}
.v2-body .v2-order-card__body {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
}
.v2-body .v2-order-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
  text-align: center;
}
.v2-body .v2-order-card__month {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #666;
}
.v2-body .v2-order-card__day {
  font-size: 1.8rem;
  font-weight: 700;
  color: #163275;
  line-height: 1;
}
.v2-body .v2-order-card__weekday {
  font-size: 0.75rem;
  color: #999;
}
.v2-body .v2-order-card__info {
  flex: 1;
}
.v2-body .v2-order-card__info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.v2-body .v2-order-card__info p {
  color: #666;
  font-size: 0.9rem;
}
.v2-body .v2-order-card__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.v2-body .v2-order-card__price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #163275;
}

/* Badge */
.v2-body .v2-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}
.v2-body .v2-text-muted {
  color: #999;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .v2-body .v2-dashboard-layout {
    grid-template-columns: 1fr;
  }
  .v2-body .v2-order-card__body {
    flex-direction: column;
    align-items: flex-start;
  }
  .v2-body .v2-order-card__actions {
    align-items: flex-start;
    width: 100%;
  }
  .v2-body .v2-progress-label {
    display: none;
  }
}

/* ==========================================================================
   V2 - Auth Pages (Login, Signup, Recover Password)
   ========================================================================== */
.v2-body .v2-auth-section {
  padding: 4rem 0;
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
}
.v2-body .v2-auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
  overflow: hidden;
}
.v2-body .v2-auth-card--wide {
  max-width: 800px;
}
.v2-body .v2-auth-card__header {
  padding: 2rem 2rem 0;
  text-align: center;
}
.v2-body .v2-auth-card__header h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.v2-body .v2-auth-card__header p {
  color: #666;
}
.v2-body .v2-auth-card__body {
  padding: 1.5rem 2rem 2rem;
}
.v2-body .v2-auth-card__footer {
  text-align: center;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid #eee;
}
.v2-body .v2-auth-card__footer p {
  font-size: 0.9rem;
  color: #666;
}

/* Auth Split Layout (Signup) */
.v2-body .v2-auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.v2-body .v2-auth-split__info {
  padding: 1rem 0;
}
.v2-body .v2-auth-split__info h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.v2-body .v2-feature-list {
  list-style: none;
  padding: 0;
}
.v2-body .v2-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}
@media (max-width: 768px) {
  .v2-body .v2-auth-split {
    grid-template-columns: 1fr;
  }
  .v2-body .v2-auth-split__info {
    display: none;
  }
}

/* Forms */
.v2-body .v2-form-group {
  margin-bottom: 1.25rem;
}
.v2-body .v2-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #333;
}
.v2-body .v2-form-control,
.v2-body .v2-form-group input[type="text"],
.v2-body .v2-form-group input[type="email"],
.v2-body .v2-form-group input[type="password"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.v2-body .v2-form-control:focus,
.v2-body .v2-form-group input:focus {
  outline: none;
  border-color: #163275;
  box-shadow: 0 0 0 3px rgba(22, 50, 117, 0.1);
}
.v2-body .v2-form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.v2-body .v2-form-half {
  flex: 1;
}
.v2-body .v2-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
}

/* Auth Divider */
.v2-body .v2-auth-divider {
  position: relative;
  text-align: center;
  margin: 1.5rem 0;
}
.v2-body .v2-auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #eee;
}
.v2-body .v2-auth-divider span {
  position: relative;
  background: #fff;
  padding: 0 1rem;
  color: #999;
  font-size: 0.85rem;
}

/* Social Buttons */
.v2-body .v2-social-buttons {
  display: flex;
  gap: 0.75rem;
}
.v2-body .v2-social-buttons .v2-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.v2-body .v2-btn--facebook {
  background: #1877f2 !important;
  color: #fff !important;
}
.v2-body .v2-btn--facebook:hover {
  background: #1565c0 !important;
}
.v2-body .v2-btn--google {
  background: #fff !important;
  color: #333 !important;
  border: 1px solid #ddd !important;
}
.v2-body .v2-btn--google:hover {
  background: #f5f5f5 !important;
}

/* Alert */
.v2-body .v2-alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
.v2-body .v2-alert--error {
  background: #fde8e8;
  border: 1px solid #f5c6cb;
  color: #721c24;
}
.v2-body .v2-alert__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

/* Loading Spinner */
.v2-body .v2-loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #eee;
  border-top-color: #163275;
  border-radius: 50%;
  animation: v2-spin 0.8s linear infinite;
  margin: 2rem auto;
}
@keyframes v2-spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   V2 - Buttons
   ========================================================================== */
.v2-body .v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.v2-body .v2-btn--primary {
  background: #ff6934;
  color: #fff;
}
.v2-body .v2-btn--primary:hover {
  background: #e55a25;
  color: #fff;
}
.v2-body .v2-btn--outline {
  background: transparent;
  color: #163275;
  border: 1px solid #163275;
}
.v2-body .v2-btn--outline:hover {
  background: #163275;
  color: #fff;
}
.v2-body .v2-btn--full {
  width: 100%;
}
.v2-body .v2-btn--sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
}

/* Links */
.v2-body .v2-link {
  color: #163275;
  text-decoration: none;
  font-weight: 500;
}
.v2-body .v2-link:hover {
  color: #ff6934;
  text-decoration: underline;
}

.v2-body .v2-text-center {
  text-align: center;
}
