/*
Theme Name: Luney Store
Theme URI: https://luneystore.com/
Description: Custom, Lightweight & Ultra-Clean One-Page Theme for Luney Store - Handmade Candles & Resin Gifts in Italy.
Author: Luney Store Team
Author URI: https://luneystore.com/
Version: 1.0.0
Text Domain: luney-store
*/

/* 1. GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Poppins:wght@300;400;500;600;700&display=swap');

/* 2. ROOT VARIABLES */
:root {
  --primary: #c24b74;
  --primary-hover: #9b3258;
  --primary-light: #fcebee;
  --primary-soft: #fff8fa;
  --plum: #4a223a;
  --deep: #2d1424;
  --gold: #d4a373;
  --border: #f3d7e1;
  --text-main: #3c2432;
  --text-muted: #826a78;
  --card-bg: #ffffff;
  --card-shadow: 0 8px 30px rgba(74, 34, 58, 0.05);
  --card-shadow-hover: 0 16px 40px rgba(194, 75, 116, 0.16);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1240px;
}

/* 3. RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.25s ease;
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--plum);
  font-weight: 700;
  line-height: 1.25;
}

/* 4. UTILITIES & LAYOUT */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-py {
  padding-top: 75px;
  padding-bottom: 75px;
}

.bg-soft {
  background-color: var(--primary-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Badge Handmade */
.badge-handmade {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}

.section-title {
  font-size: 2.35rem;
  color: var(--plum);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px auto;
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(194, 75, 116, 0.28);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(194, 75, 116, 0.38);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-white-outline {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff !important;
  backdrop-filter: blur(4px);
}

.btn-white-outline:hover {
  background-color: #ffffff;
  color: var(--plum) !important;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* 5. TOP ANNOUNCEMENT BAR */
.top-bar {
  background-color: var(--primary-soft);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 0.82rem;
  color: var(--plum);
  font-weight: 500;
  text-align: center;
}

/* 6. HEADER & NAVBAR */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo img {
  height: 58px;
  width: auto;
  border-radius: 50%;
  border: 2px solid var(--border);
  box-shadow: 0 4px 12px rgba(194, 75, 116, 0.15);
}

.site-logo-text {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--plum);
  letter-spacing: 0.5px;
}

/* Desktop Navigation */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--plum);
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-cart-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary) !important;
  font-size: 1.1rem;
}

.header-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--plum);
  cursor: pointer;
  padding: 5px;
}

/* Mobile Menu Drawer */
.mobile-nav-drawer {
  display: none;
  background: #ffffff;
  border-bottom: 2px solid var(--primary);
  padding: 20px;
}

.mobile-nav-drawer.active {
  display: block;
}

.mobile-nav-drawer ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav-drawer a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--plum);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

/* 7. HERO SECTION */
.hero-section {
  position: relative;
  padding: 80px 0 90px 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(45, 20, 36, 0.88) 0%, rgba(194, 75, 116, 0.72) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 3.2rem;
  color: #ffffff;
  margin-bottom: 18px;
  line-height: 1.18;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #fff0f3;
  margin-bottom: 35px;
  font-weight: 300;
  line-height: 1.65;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* 8. BRAND VALUES BAR */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  text-align: center;
}

.value-card {
  background: #ffffff;
  padding: 26px 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--primary-light);
}

.value-icon {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.value-title {
  font-size: 1.05rem;
  color: var(--plum);
  margin-bottom: 6px;
}

.value-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 9. PRODUCT GRIDS & CARDS */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--primary-light);
}

.product-thumb-wrap {
  position: relative;
  overflow: hidden;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  background: #fdf2f5;
}

.product-thumb-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb-wrap img {
  transform: scale(1.06);
}

.product-info {
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 8px;
  line-height: 1.35;
  min-height: 42px;
}

.product-title a {
  color: inherit;
}

.product-title a:hover {
  color: var(--primary);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.product-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

.product-actions .btn {
  flex: 1;
  padding: 10px 12px;
  font-size: 0.85rem;
  border-radius: 12px;
}

/* 10. ABOUT US / CHI SIAMO */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
}

.about-visual {
  background: #ffffff;
  padding: 30px;
  border-radius: 28px;
  box-shadow: var(--card-shadow-hover);
  border: 1px solid var(--border);
  text-align: center;
}

.about-visual img {
  border-radius: 22px;
  width: 100%;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}

.about-content p {
  font-size: 1.05rem;
  color: #5a3c4e;
  line-height: 1.8;
  margin-bottom: 18px;
}

/* 11. HOW TO ORDER / COME ORDINARE */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.step-card {
  background: #ffffff;
  padding: 35px 25px;
  border-radius: 22px;
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--card-shadow);
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.step-number {
  width: 58px;
  height: 58px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
  border: 2px solid var(--border);
}

.step-title {
  font-size: 1.2rem;
  color: var(--plum);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 12. TESTIMONIALS / RECENSIONI */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.review-card {
  background: #ffffff;
  padding: 30px 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}

.review-stars {
  color: #f39c12;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.95rem;
  color: #5a3c4e;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 16px;
}

.review-author {
  font-weight: 700;
  color: var(--plum);
  font-size: 0.95rem;
}

.review-city {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* 13. CONTACT CARDS */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 35px;
}

.contact-card {
  background: #ffffff;
  padding: 30px 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.contact-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.contact-title {
  font-size: 1.15rem;
  color: var(--plum);
  margin-bottom: 6px;
}

.contact-val {
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 14px;
}

/* 14. FOOTER */
.site-footer {
  background-color: var(--plum);
  color: #fdf2f5;
  padding: 60px 0 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.footer-col p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #ebd3dd;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ebd3dd;
  font-size: 0.92rem;
}

.footer-col ul li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #c9aebc;
  background-color: var(--deep);
}

/* 15. DEDICATED QR & BIO-LINK PAGE */
.qr-page-wrap {
  min-height: 100vh;
  background: linear-gradient(180deg, #fff5f7 0%, #fde4ec 100%);
  padding: 40px 15px 60px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-card {
  background: #ffffff;
  max-width: 460px;
  width: 100%;
  padding: 35px 24px;
  border-radius: 30px;
  box-shadow: 0 16px 45px rgba(74, 34, 58, 0.1);
  border: 1px solid var(--border);
  text-align: center;
}

.qr-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 16px auto;
  overflow: hidden;
  border: 3px solid var(--border);
  box-shadow: 0 6px 20px rgba(194, 75, 116, 0.2);
}

.qr-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-title {
  font-size: 2rem;
  color: var(--plum);
  margin-bottom: 4px;
}

.qr-subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.qr-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.qr-code-box {
  background: var(--primary-soft);
  padding: 16px;
  border-radius: 20px;
  display: inline-block;
  border: 1px dashed var(--primary);
  margin-bottom: 25px;
}

.qr-code-box img {
  width: 160px;
  height: 160px;
  border-radius: 10px;
  display: block;
}

.qr-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qr-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
}

.qr-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* 16. FLOATING WHATSAPP BUTTON */
.floating-wa-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: #ffffff !important;
  padding: 12px 20px 12px 16px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  animation: pulse-wa 2.5s infinite;
  transition: all 0.3s ease;
}

.floating-wa-btn:hover {
  background-color: #20ba59;
  transform: scale(1.04);
}

.floating-wa-btn svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* 17. MOBILE RESPONSIVENESS (PERFECT 2-COLUMNS & COMPACT TOPBAR) */
@media (max-width: 991px) {
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .steps-grid { grid-template-columns: 1fr; gap: 15px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 15px; }
}

@media (max-width: 767px) {
  /* Container compact padding */
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Compact Top Bar on Mobile */
  .top-bar {
    padding: 3px 6px !important;
    font-size: 0.68rem !important;
    line-height: 1.25 !important;
    letter-spacing: -0.2px;
  }

  /* Compact Header on Mobile */
  .site-header .header-inner {
    height: 56px !important;
  }

  .site-logo img {
    height: 38px !important;
  }

  .site-logo-text {
    font-size: 1.15rem !important;
  }

  .header-cart-link {
    width: 35px !important;
    height: 35px !important;
    font-size: 0.95rem !important;
  }

  .mobile-toggle {
    font-size: 1.35rem !important;
  }

  /* Hero on Mobile */
  .hero-section {
    padding: 50px 0 55px 0 !important;
  }

  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }

  .hero-subtitle {
    font-size: 0.92rem !important;
    margin-bottom: 20px !important;
  }

  .hero-btns .btn {
    padding: 9px 18px !important;
    font-size: 0.85rem !important;
    width: 100% !important;
  }

  /* Section Titles & Spacing */
  .section-py {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .section-title {
    font-size: 1.6rem !important;
    margin-bottom: 6px !important;
  }

  .section-desc {
    font-size: 0.88rem !important;
    margin-bottom: 20px !important;
  }

  /* PRODUCTS: STRICTLY 2 COLUMNS ON MOBILE */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .product-card {
    border-radius: 12px !important;
  }

  .product-info {
    padding: 8px 6px 10px !important;
  }

  .product-title {
    font-size: 0.82rem !important;
    min-height: 32px !important;
    line-height: 1.25 !important;
    margin-bottom: 3px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-price {
    font-size: 0.92rem !important;
    margin-bottom: 6px !important;
  }

  .product-actions {
    flex-direction: column !important;
    gap: 4px !important;
  }

  .product-actions .btn {
    padding: 6px 2px !important;
    font-size: 0.72rem !important;
    border-radius: 6px !important;
    width: 100% !important;
    text-align: center !important;
  }

  /* BRAND VALUES: STRICTLY 2 COLUMNS ON MOBILE */
  .values-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .value-card {
    padding: 12px 8px !important;
    border-radius: 12px !important;
  }

  .value-icon {
    font-size: 1.5rem !important;
    margin-bottom: 3px !important;
  }

  .value-title {
    font-size: 0.82rem !important;
    margin-bottom: 2px !important;
  }

  .value-desc {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
  }

  /* Floating WhatsApp on Mobile */
  .floating-wa-btn span { display: none !important; }
  .floating-wa-btn {
    padding: 13px !important;
    border-radius: 50% !important;
    bottom: 16px !important;
    right: 16px !important;
  }
}
