/* -------------------------------------------------------------------------- */
/* global.css */
/* -------------------------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Audiowide&family=Poppins:wght@400;600&display=swap");

@keyframes pulseGlow {
  0%,
  100% {
    text-shadow: 0 0 5px var(--neon-cyan), 0 0 10px var(--neon-cyan),
      0 0 20px var(--neon-cyan), 0 0 40px var(--neon-glow);
    color: var(--neon-cyan);
  }
  50% {
    text-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan),
      0 0 40px var(--neon-cyan), 0 0 80px var(--neon-glow);
    color: #fff;
  }
}

@keyframes backgroundScroll {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -10000px 0;
  }
}

:root {
  --primary-color: #1a237e;
  --secondary-color: #283593;
  --tertiary-color: #3949ab;
  --accent-color: #4caf50;
  --glow-color: rgba(76, 175, 80, 0.5);
  --accent-2-color: #ffeb3b;
  --glow-2-color: rgba(255, 235, 59, 0.5);
  --text-color: #f0e6ff;
  --text-muted: #a899c2;
  --bg-dark-blue: #1a237e;
  --neon-cyan: #4caf50;
  --neon-glow: rgba(76, 175, 80, 0.7);
  --light-slate: #dcd0ff;
  --font-heading: "Audiowide", sans-serif;
  --font-subheading: "Poppins", sans-serif;
  --font-body: "Poppins", sans-serif;
  --button-clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%
  );
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  background-color: var(--primary-color);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.7;
  background-size: 40px 40px, 40px 40px;
  background-position: 0 0, 20px 20px;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 13, 26, 0) 0%,
    var(--primary-color) 100%
  );
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background-image: url("https://www.transparenttextures.com/patterns/stardust.png");
  animation: backgroundScroll 150s linear infinite;
  opacity: 0.3;
  z-index: -2;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: var(--accent-2-color);
  text-decoration: none;
  transition: all 0.3s ease;
  text-shadow: 0 0 2px var(--glow-2-color);
}

a:hover {
  color: #fff;
  text-shadow: 0 0 5px var(--glow-2-color), 0 0 10px var(--glow-2-color);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--light-slate);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 3px var(--neon-cyan), 0 0 5px var(--neon-glow);
  font-weight: 700;
}

h2 {
  width: fit-content;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent-2-color);
  box-shadow: 0 0 15px var(--glow-2-color) inset;
  margin: 0 auto 3rem auto;
  animation: pulseGlow 5s infinite ease-in-out;
}

.btn {
  font-family: var(--font-subheading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  clip-path: var(--button-clip-path);
  padding: 1rem 2rem;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.4s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
  box-shadow: 0 0 10px var(--glow-color), 0 0 20px var(--glow-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-primary:hover {
  color: #fff;
  background-color: var(--accent-color);
  border-color: #fff;
  box-shadow: 0 0 15px var(--glow-color), 0 0 30px var(--glow-color),
    0 0 5px #fff inset;
  transform: scale(1.05);
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-2-color);
  border-color: var(--accent-2-color);
  box-shadow: 0 0 10px var(--glow-2-color);
}

.btn-secondary:hover {
  background-color: var(--accent-2-color);
  color: var(--primary-color);
  box-shadow: 0 0 15px var(--glow-2-color), 0 0 30px var(--glow-2-color);
  transform: scale(1.05);
}

.section-divider-container {
  padding: 3rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-divider {
  height: 2px;
  width: 80px;
  background: var(--accent-color);
  margin: 0 2rem;
  position: relative;
  box-shadow: 0 0 5px var(--glow-color), 0 0 10px var(--glow-color);
}

.section-divider::before,
.section-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: var(--accent-color);
  box-shadow: 0 0 8px var(--glow-color);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.section-divider::before {
  left: -20px;
}

.section-divider::after {
  right: -20px;
}

/* -------------------------------------------------------------------------- */
/* Header Styles */
/* -------------------------------------------------------------------------- */
header {
  background-color: rgba(31, 20, 43, 1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--tertiary-color);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .header-left .logo img {
    padding: 5px 2px;
  height: 48px;
  transition: transform 0.3s ease;
}

header .header-left .logo:hover img {
  transform: scale(1.1);
}

header .header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

header .header-right nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

header .header-right nav a {
  color: var(--text-muted);
  font-family: var(--font-subheading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 0.5rem 0;
}

header .header-right nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--glow-color);
}

header .header-right nav a:hover,
header .header-right nav a.active {
  color: var(--light-slate);
  text-shadow: 0 0 5px var(--glow-2-color);
}

header .header-right nav a:hover::after,
header .header-right nav a.active::after {
  width: 100%;
}

header .cart-icon {
  position: relative;
  color: var(--light-slate);
}

header .cart-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: color 0.3s ease, transform 0.3s ease;
}

header .cart-icon:hover svg {
  color: var(--accent-2-color);
  transform: scale(1.1);
}

header #cart-count {
  position: absolute;
  top: -8px;
  right: -12px;
  background-color: var(--accent-color);
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
  font-weight: bold;
  box-shadow: 0 0 8px var(--glow-color);
}

header .menu-toggle {
  display: none;
  color: var(--light-slate);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  header .header-right nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
  }

  header .header-right nav.active {
    display: block;
  }

  header .header-right nav ul {
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid var(--accent-2-color);
    border-bottom: 1px solid var(--accent-2-color);
  }

  header .menu-toggle {
    display: block;
  }

  header .header-left .logo img {
    height: 43px;
    padding: 3px 0;
  }
}

/* -------------------------------------------------------------------------- */
/* Footer Styles */
/* -------------------------------------------------------------------------- */
footer {
  background-color: rgba(31, 20, 43, 1);
  border-top: 1px solid var(--tertiary-color);
  padding: 3rem 0;
  color: var(--text-muted);
  margin-top: 4rem;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

footer .footer-logo img {
  height: 55px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

footer .footer-logo:hover img {
  opacity: 1;
}

footer .footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

footer .footer-links a {
  color: var(--text-muted);
  font-weight: 600;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

footer .footer-links a:hover {
  color: var(--accent-color);
  text-shadow: 0 0 5px var(--glow-color);
}

footer .footer-contact {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

footer .footer-contact a {
  color: var(--light-slate);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

footer .footer-contact a i {
  color: var(--accent-2-color);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

footer .footer-contact a:hover i {
  transform: scale(1.2);
}

footer .footer-notice {
  font-size: 0.9rem;
  max-width: 600px;
  line-height: 1.6;
}

footer .footer-notice + p {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* -------------------------------------------------------------------------- */
/* Popup and Notification Styles */
/* -------------------------------------------------------------------------- */

/* --- Cookie Consent Banner --- */
#cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(31, 20, 43, 0.9);
  backdrop-filter: blur(8px);
  color: var(--light-slate);
  padding: 1.5rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  z-index: 2000;
  border-top: 1px solid var(--tertiary-color);
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
  flex-wrap: wrap;
  text-align: center;
}

#cookie-popup p {
  margin: 0;
  flex-grow: 1;
  text-align: start;
  max-width: 800px;
}

#cookie-popup .btn {
  flex-shrink: 0;
}

/* --- Toast Notifications (Add to Cart & Warning) --- */
#add-to-cart-popup,
#warning-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--secondary-color);
  color: var(--light-slate);
  border-left: 4px solid;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2001;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateX(120%);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

#add-to-cart-popup.show,
#warning-popup.show {
  opacity: 1;
  transform: translateX(0);
}

#add-to-cart-popup {
  border-left-color: var(--accent-2-color);
}

#warning-popup {
  border-left-color: #f39c12;
}

#add-to-cart-popup i,
#warning-popup i {
  font-size: 1.5rem;
  text-shadow: 0 0 8px;
}

#add-to-cart-popup i {
  color: var(--accent-2-color);
}

#warning-popup i {
  color: #f39c12;
}

.popup-content {
  font-size: 0.9rem;
}

.popup-content strong {
  display: block;
  font-family: var(--font-subheading);
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

/* -------------------------------------------------------------------------- */
/* Hero Banner Styles v4 (Cosmic Dust Theme) */
/* -------------------------------------------------------------------------- */
@keyframes cosmic-drift {
  0% {
    transform: rotate(0deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) scale(1.2);
  }
}

@keyframes orbit-rotation {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-banner {
  background-color: var(--primary-color);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 0;
  min-height: 70vh;
  color: #fff;
  border-bottom: 1px solid var(--tertiary-color);
}

.hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://www.transparenttextures.com/patterns/stardust.png");
  opacity: 0.1;
  z-index: 1;
}

.hero-banner::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150vmax;
  height: 150vmax;
  background-image: radial-gradient(
      circle at 20% 30%,
      var(--accent-color),
      transparent 30%
    ),
    radial-gradient(circle at 80% 70%, var(--accent-2-color), transparent 30%);
  opacity: 0.3;
  filter: blur(100px);
  transform-origin: center center;
  animation: cosmic-drift 80s linear infinite;
  z-index: 0;
}

.hero-banner .container {
  position: relative;
  z-index: 2;
}

.hero-banner .container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  padding-bottom: 140%;
  border-radius: 50%;
  background-image: radial-gradient(
      circle at center,
      transparent 40%,
      var(--tertiary-color) 40.2%,
      transparent 40.7%
    ),
    radial-gradient(
      circle at center,
      transparent 60%,
      var(--tertiary-color) 60.2%,
      transparent 60.7%
    ),
    radial-gradient(
      circle at center,
      transparent 80%,
      var(--tertiary-color) 80.2%,
      transparent 80.7%
    );
  opacity: 0.2;
  animation: orbit-rotation 120s linear infinite;
  z-index: -1;
}

.hero-banner h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 0, 0, 0.5);
  animation: none;
}

.hero-banner p {
  font-size: 1.25rem;
  color: var(--light-slate);
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.8;
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}

.hero-banner .btn {
  padding: 1.2rem 2.5rem;
  font-size: 1rem;
  border-width: 2px;
}

@media (max-width: 768px) {
  .hero-banner {
    padding: 6rem 0;
    min-height: 60vh;
  }

  .hero-banner h1 {
    font-size: 2.8rem;
  }

  .hero-banner p {
    font-size: 1.1rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Features Section Styles */
/* -------------------------------------------------------------------------- */
.new-features-section {
  padding: 5rem 0;
  background-color: var(--primary-color);
  text-align: center;
}

.new-features-section h2 {
  margin-bottom: 1rem;
}

.new-features-section .section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.new-features-section .features-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.new-features-section .feature-card {
  background-color: var(--secondary-color);
  padding: 2.5rem;
  border: 1px solid var(--tertiary-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.new-features-section .feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px var(--glow-color);
}

.new-features-section .feature-card i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px var(--glow-color);
  transition: all 0.3s ease;
}

.new-features-section .feature-card:hover i {
  transform: scale(1.2) rotate(-15deg);
}

.new-features-section .feature-card h3 {
  font-family: var(--font-heading);
  color: var(--light-slate);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.new-features-section .feature-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .new-features-section .features-grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .new-features-section .features-grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -------------------------------------------------------------------------- */
/* Products Grid Styles */
/* -------------------------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -------------------------------------------------------------------------- */
/* Product Card Styles */
/* -------------------------------------------------------------------------- */
.product-card {
  background-color: var(--secondary-color);
  border: 1px solid var(--tertiary-color);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--accent-color);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-color);
}

.product-card .product-image-link {
  overflow: hidden;
  position: relative;
  padding-top: 66.66%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: default;
}

.product-card .product-image-link img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image-link img {
  transform: scale(1.1);
}

.product-card .product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card .product-title {
  font-family: var(--font-heading);
  color: var(--light-slate);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.product-card .product-title a {
  color: inherit;
  text-decoration: none;
}

.product-card .product-desc {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.9rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.product-card .product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-card .product-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent-2-color);
  font-weight: 700;
  text-shadow: 0 0 8px var(--glow-2-color);
}

.product-card .btn-add-to-cart {
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  clip-path: var(--button-clip-path);
}

.products-page {
  padding: 4rem 1.2rem 2rem;
}

/* -------------------------------------------------------------------------- */
/* New Category Section Styles */
/* -------------------------------------------------------------------------- */
.new-category-section {
  padding: 5rem 0;
  background-color: transparent;
  text-align: center;
}

.new-category-section .section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: -1rem auto 3rem auto;
}

.new-category-section .new-category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.new-category-section .new-category-card {
  background: linear-gradient(
    145deg,
    var(--secondary-color),
    var(--primary-color)
  );
  border: 1px solid var(--tertiary-color);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.new-category-section .new-category-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: var(--accent-2-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 10px var(--glow-2-color);
}

.new-category-section .card-icon {
  font-size: 2rem;
  color: var(--accent-2-color);
  text-shadow: 0 0 10px var(--glow-2-color);
  transition: transform 0.4s ease;
}

.new-category-section .new-category-card:hover .card-icon {
  transform: rotate(-25deg) scale(1.2);
}

.new-category-section .card-text h3 {
  font-family: var(--font-heading);
  color: var(--light-slate);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  text-shadow: none;
}

.new-category-section .card-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.new-category-section .card-link {
  margin-left: auto;
  color: var(--accent-color);
  font-family: var(--font-subheading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: letter-spacing 0.3s ease;
}

.new-category-section .new-category-card:hover .card-link {
  letter-spacing: 2px;
}

@media (min-width: 768px) {
  .new-category-section .new-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* -------------------------------------------------------------------------- */
/* CTA Banner Styles */
/* -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(
    90deg,
    var(--accent-color),
    var(--accent-2-color)
  );
  padding: 3rem 1.5rem;
  margin: 5rem 0;
}

.cta-banner .cta-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-banner .cta-text h3 {
  color: #fff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin: 0 0 0.5rem 0;
  font-size: 1.8rem;
}

.cta-banner .cta-text p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 500px;
}

.cta-banner .cta-action .btn {
  background-color: #fff;
  color: var(--accent-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-banner .cta-action .btn:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: #fff;
}

/* -------------------------------------------------------------------------- */
/* Testimonials Section Styles */
/* -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 5rem 0;
  background-color: var(--primary-color);
}

.testimonials-section .testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonials-section .testimonial-card {
  background-color: var(--secondary-color);
  border: 1px solid var(--tertiary-color);
  padding: 2rem;
  border-radius: 8px;
  position: relative;
}

.testimonials-section .testimonial-card::before {
  content: "\f10d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 2rem;
  color: var(--tertiary-color);
  opacity: 0.5;
}

.testimonials-section .testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-left: 3rem;
}

.testimonials-section .testimonial-author cite {
  font-style: normal;
  font-weight: 600;
  color: var(--light-slate);
  display: block;
}

.testimonials-section .testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonials-section .testimonial-rating {
  color: #f39c12;
}

.testimonials-section .testimonial-card p {
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 3rem;
}

@media (min-width: 768px) {
  .testimonials-section .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .testimonials-section .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------- */
/* Newsletter Section Styles */
/* -------------------------------------------------------------------------- */
.newsletter-section {
  padding: 5rem 0;
  background-color: var(--secondary-color);
  border-top: 1px solid var(--tertiary-color);
  border-bottom: 1px solid var(--tertiary-color);
  text-align: center;
}

.newsletter-section .newsletter-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-section .newsletter-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  text-shadow: 0 0 15px var(--glow-color);
}

.newsletter-section .newsletter-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-shadow: none;
  border: none;
  box-shadow: none;
  animation: none;
  text-align: center;
  width: auto;
  margin: 0 auto 1rem auto;
  padding: 0;
}

.newsletter-section .newsletter-subtitle {
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.7;
  margin: 0 auto 1.5rem auto;
}

.newsletter-section .newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-section .newsletter-form input {
  flex-grow: 1;
  padding: 1rem;
  background-color: var(--primary-color);
  border: 1px solid var(--tertiary-color);
  color: var(--light-slate);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.newsletter-section .newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 10px var(--glow-color);
}

.newsletter-section .newsletter-form .btn {
  flex-shrink: 0;
}

.newsletter-section .newsletter-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .newsletter-section .newsletter-form {
    flex-direction: column;
  }
}

/* -------------------------------------------------------------------------- */
/* Blog Preview Section Styles */
/* -------------------------------------------------------------------------- */
.blog-preview-section {
  padding: 5rem 0 2.5rem;
  text-align: center;
}

.blog-preview-section .section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: -1rem auto 3rem auto;
}

.blog-preview-section .blog-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.blog-preview-section .blog-post-card {
  background-color: var(--secondary-color);
  border: 1px solid var(--tertiary-color);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: all 0.3s ease;
}

.blog-preview-section .blog-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  border-color: var(--accent-color);
}

.blog-preview-section .blog-image-container {
  overflow: hidden;
}

.blog-preview-section .blog-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.blog-preview-section .blog-post-card:hover .blog-image-container img {
  transform: scale(1.05);
}

.blog-preview-section .blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-preview-section .blog-card-header {
  margin-bottom: 1rem;
}

.blog-preview-section .blog-category {
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  clip-path: var(--button-clip-path);
}

.blog-preview-section .blog-card-content h3 {
  font-family: var(--font-heading);
  color: var(--light-slate);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-shadow: none;
}

.blog-preview-section .blog-card-content h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-preview-section .blog-excerpt {
  color: var(--text-muted);
  line-height: 1.7;
  flex-grow: 1;
}

.blog-preview-section .blog-card-footer {
  margin-top: 1.5rem;
}

.blog-preview-section .read-more {
  color: var(--accent-2-color);
  font-weight: 600;
  text-decoration: none;
}

.blog-preview-section .read-more::after {
  content: " \2192";
  transition: margin-left 0.3s ease;
}

.blog-preview-section .read-more:hover::after {
  margin-left: 5px;
}

@media (min-width: 768px) {
  .blog-preview-section .blog-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -------------------------------------------------------------------------- */
/* Blog Post Page Styles */
/* -------------------------------------------------------------------------- */
.blog-post-page {
  padding: 4rem 0;
}

.blog-post-page .container {
  max-width: 800px;
}

.blog-post-page .blog-post-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-post-page .blog-category {
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  clip-path: var(--button-clip-path);
  display: inline-block;
  margin-bottom: 1rem;
}

.blog-post-page .blog-post-header h1 {
  font-size: 2.8rem;
  color: var(--light-slate);
  margin-bottom: 1rem;
  text-shadow: none;
  border: none;
  animation: none;
  box-shadow: none;
  padding: 0;
  width: auto;
}

.blog-post-page .post-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.blog-post-page .post-meta span:not(:last-child)::after {
  content: " | ";
  margin: 0 0.5rem;
}

.blog-post-page .blog-post-image {
  margin-bottom: 3rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--tertiary-color);
}

.blog-post-page .blog-post-image img {
  width: 100%;
  display: block;
}

.blog-post-page .blog-post-content {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.blog-post-page .blog-post-content h2 {
  font-size: 1.8rem;
  color: var(--light-slate);
  margin: 2.5rem 0 1.5rem 0;
  text-align: left;
  border: none;
  animation: none;
  box-shadow: none;
  padding: 0;
  width: auto;
  text-shadow: 0 0 5px var(--neon-glow);
}

.blog-post-page .blog-post-content p {
  margin-bottom: 1.5rem;
}

.blog-post-page .blog-post-content blockquote {
  border-left: 4px solid var(--accent-color);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--light-slate);
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .blog-post-page .blog-post-header h1 {
    font-size: 2rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Authentication Section Styles */
/* -------------------------------------------------------------------------- */
@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
    text-shadow: 0 0 15px var(--glow-2-color);
  }
  50% {
    transform: scale(1.1);
    text-shadow: 0 0 25px var(--glow-2-color);
  }
}

.auth-section {
  padding: 5rem 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  background-image: radial-gradient(
    var(--tertiary-color) 0.5px,
    transparent 0.5px
  );
  background-size: 20px 20px;
}

.auth-section .auth-grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
}

.auth-section .auth-box {
  background: var(--secondary-color);
  padding: 3rem;
  border: 1px solid var(--tertiary-color);
  border-top: 3px solid var(--accent-color);
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow-color) inset;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.auth-section .auth-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
  opacity: 0.05;
  z-index: 0;
}

.auth-section .auth-box > * {
  position: relative;
  z-index: 1;
}

.auth-section .auth-box h2 {
  text-align: center;
  border: none;
  box-shadow: none;
  animation: none;
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.auth-section .auth-box p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  text-align: center;
}

.auth-section .form-group {
  margin-bottom: 2rem;
  text-align: left;
  position: relative;
}

.auth-section .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.auth-section .form-group input {
  width: 100%;
  padding: 0.75rem 0;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid var(--tertiary-color);
  color: var(--light-slate);
  font-family: var(--font-body);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border-radius: 0;
}

.auth-section .form-group input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 2px 10px -5px var(--glow-color);
}

.auth-section .btn-block {
  width: 100%;
  padding: 1rem;
  margin-top: 1rem;
  transition: all 0.3s ease, transform 0.2s ease;
}

.auth-section .btn-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px var(--glow-color), 0 0 40px var(--glow-color);
}

.auth-section #confirmation-container i {
  font-size: 3.5rem;
  color: var(--accent-2-color);
  margin-bottom: 1.5rem;
  animation: iconPulse 2s infinite ease-in-out;
}

.auth-section .auth-toggle-link {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--tertiary-color);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0 !important;
}

.auth-section .auth-toggle-link a {
  color: var(--accent-2-color);
  font-weight: 600;
  text-decoration: none;
}

.auth-section .auth-toggle-link a:hover {
  text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/* Cart Page Styles */
/* -------------------------------------------------------------------------- */
.cart-section {
  padding: 5rem 0 2.5rem;
}

.cart-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.cart-section .cart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

#cart-items-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-section .cart-item {
  background-color: var(--secondary-color);
  border: 1px solid var(--tertiary-color);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.cart-section .cart-item-details h4 {
  font-family: var(--font-heading);
  color: var(--light-slate);
  font-size: 1.2rem;
  margin: 0 0 0.25rem 0;
  text-shadow: none;
}

.cart-section .cart-item-details p {
  color: var(--text-muted);
  margin: 0;
}

.cart-section .cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.cart-section .cart-item-quantity {
  width: 60px;
  padding: 0.5rem;
  background-color: var(--primary-color);
  border: 1px solid var(--tertiary-color);
  color: var(--light-slate);
  text-align: center;
  font-size: 1rem;
}

.cart-section .btn-remove-item {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s ease;
}

.cart-section .btn-remove-item:hover {
  color: var(--accent-color);
}

.cart-section .cart-summary {
  background-color: var(--secondary-color);
  border: 1px solid var(--tertiary-color);
  border-radius: 8px;
  padding: 2rem;
  position: sticky;
  top: 120px;
  align-self: start;
}

.cart-section .cart-summary h3 {
  text-align: center;
  margin-top: 0;
  text-shadow: none;
}

.cart-section .summary-row,
.cart-section .summary-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: var(--light-slate);
}

.cart-section .summary-total {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  border-top: 1px solid var(--tertiary-color);
  padding-top: 1rem;
}

.cart-section .summary-total span:last-child {
  color: var(--accent-2-color);
  text-shadow: 0 0 8px var(--glow-2-color);
}

.cart-section .btn-checkout {
  width: 100%;
  margin-top: 1rem;
}

.cart-section .btn-checkout.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.cart-section .empty-cart-message {
  text-align: center;
  padding: 3rem;
  border: 1px dashed var(--tertiary-color);
  border-radius: 8px;
}

@media (min-width: 992px) {
  .cart-section .cart-grid {
    grid-template-columns: 2fr 1fr;
  }
}

/* -------------------------------------------------------------------------- */
/* Checkout Page Styles */
/* -------------------------------------------------------------------------- */
.checkout-section {
  padding: 5rem 0 2.5rem;
}

.checkout-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.checkout-section .checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.checkout-section .checkout-form .form-section {
  background-color: var(--secondary-color);
  padding: 2rem;
  border: 1px solid var(--tertiary-color);
  border-radius: 8px;
}

.checkout-section .checkout-form h3 {
  font-family: var(--font-heading);
  color: var(--light-slate);
  font-size: 1.5rem;
  margin: 0 0 2rem 0;
  text-shadow: none;
  border-bottom: 1px solid var(--tertiary-color);
  padding-bottom: 1rem;
}

.checkout-section .form-group {
  margin-bottom: 1.5rem;
}

.checkout-section .form-group label {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.checkout-section .form-group input {
  width: 100%;
  padding: 0.8rem 1rem;
  background-color: var(--primary-color);
  border: 1px solid var(--tertiary-color);
  color: var(--light-slate);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.checkout-section .form-group input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 10px var(--glow-color);
}

.checkout-section .form-group-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.checkout-section .order-summary {
  background-color: var(--secondary-color);
  border: 1px solid var(--tertiary-color);
  border-radius: 8px;
  padding: 2rem;
  position: sticky;
  top: 120px;
  align-self: start;
}

.checkout-section .order-summary h3 {
  text-align: center;
  margin-top: 0;
  text-shadow: none;
}

.checkout-section #summary-items-container .summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.checkout-section .summary-row,
.checkout-section .summary-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: var(--light-slate);
  padding-top: 1rem;
  border-top: 1px solid var(--tertiary-color);
}

.checkout-section .summary-total {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  margin-top: 1rem;
}

.checkout-section .summary-total span:last-child {
  color: var(--accent-2-color);
  text-shadow: 0 0 8px var(--glow-2-color);
}

.checkout-section .btn-place-order {
  width: 100%;
  margin-top: 1rem;
}

@media (min-width: 992px) {
  .checkout-section .checkout-grid {
    grid-template-columns: 2fr 1fr;
  }
}

/* -------------------------------------------------------------------------- */
/* Policy Page Styles (for Cookie, Privacy, Terms) */
/* -------------------------------------------------------------------------- */
.cookie-policy-section,
.policy-section,
.terms-section {
  padding: 5rem 0 2.5rem;
}

.cookie-policy-content,
.policy-content,
.terms-content {
  max-width: 1000px;
  margin: 0 auto;
  background-color: var(--secondary-color);
  border: 1px solid var(--tertiary-color);
  border-radius: 8px;
  padding: 2rem 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .cookie-policy-content,
  .policy-content,
  .terms-content {
    padding: 2rem 1.5rem;
  }
}

.cookie-policy-content h2,
.policy-content h2,
.terms-content h2 {
  text-align: center;
  border: none;
  box-shadow: none;
  animation: none;
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
}

.cookie-policy-content p:first-of-type,
.policy-content p:first-of-type,
.terms-content p:first-of-type {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 0.9rem;
}

.cookie-policy-content h3,
.policy-content h3,
.terms-content h3 {
  font-family: var(--font-heading);
  color: var(--light-slate);
  font-size: 1.5rem;
  margin: 2.5rem 0 1.5rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--tertiary-color);
  text-shadow: none;
}

.cookie-policy-content p,
.policy-content p,
.terms-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.cookie-policy-content ul,
.policy-content ul,
.terms-content ul {
  list-style: none;
  padding-left: 1rem;
  color: var(--text-muted);
}

.cookie-policy-content ul li,
.policy-content ul li,
.terms-content ul li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.cookie-policy-content ul li::before,
.policy-content ul li::before,
.terms-content ul li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.cookie-policy-content a,
.policy-content a,
.terms-content a {
  color: var(--accent-2-color);
  text-decoration: underline;
}

.cookie-policy-content a:hover,
.policy-content a:hover,
.terms-content a:hover {
  text-decoration: none;
}

.cookie-policy-content strong,
.policy-content strong,
.terms-content strong {
  color: var(--light-slate);
  font-weight: 600;
}

@media (max-width: 768px) {
  h2 {
    font-size: 1.4rem !important;
  }
  .auth-section .auth-box {
    padding: 2rem 1.5rem;
  }
}
