/* 
  Little Pepe E-commerce Website Styles
  Theme: Collectible Pepe Merchandise
*/

/* ======= Base Styles ======= */
:root {
  --primary-color: #4CAF50;
  --primary-dark: #388E3C;
  --primary-light: #C8E6C9;
  --secondary-color: #8BC34A;
  --accent-color: #CDDC39;
  --text-color: #212121;
  --text-light: #757575;
  --background-color: #FFFFFF;
  --background-alt: #F5F5F5;
  --border-color: #E0E0E0;
  --success-color: #4CAF50;
  --warning-color: #FFC107;
  --error-color: #F44336;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 4px;
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --header-height: 80px;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

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

button, .btn {
  cursor: pointer;
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-color);
}

p {
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
}

.hidden {
  display: none !important;
}

/* ======= Typography ======= */
h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

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

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

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

/* ======= Buttons ======= */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.btn:active {
  transform: translateY(0);
}

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

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

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

.btn-small {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.125rem;
}

.btn:disabled {
  background-color: var(--gray-400);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ======= Header & Navigation ======= */
header {
  background-color: var(--background-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  font-weight: 600;
  color: var(--text-color);
  position: relative;
  padding-bottom: 5px;
}

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

nav a:hover:after,
nav a.active:after {
  width: 100%;
}

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

.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
}

#cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.75rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Typewriter effect for header */
.typewriter {
  overflow: hidden;
  border-right: .15em solid var(--primary-color);
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: .15em;
  animation: 
    typing 3.5s steps(40, end),
    blink-caret .75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--primary-color); }
}

/* ======= Hero Section ======= */
.hero {
  background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
  color: white;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGZpbGw9IiNmZmZmZmYiIG9wYWNpdHk9IjAuMSIgY3g9IjUwIiBjeT0iNTAiIHI9IjUwIi8+PC9zdmc+');
  background-size: 20px 20px;
  opacity: 0.2;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero h2:after {
  display: none;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* ======= Features Section ======= */
.features {
  background-color: var(--background-alt);
  text-align: center;
}

.features-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.feature-item {
  background-color: var(--background-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon svg {
  color: var(--primary-color);
}

.feature-item h3 {
  margin-bottom: 15px;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 60px 0 40px;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.cta-banner {
  background-color: var(--primary-color);
  color: white;
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
  margin-top: 60px;
}

.cta-banner h3 {
  color: white;
  margin-bottom: 20px;
}

.cta-banner .btn {
  background-color: white;
  color: var(--primary-color);
}

.cta-banner .btn:hover {
  background-color: var(--gray-100);
}

/* ======= About Products Section ======= */
.about-products {
  background-color: var(--background-color);
  padding: 80px 0;
}

.about-products h2 {
  text-align: center;
  margin-bottom: 40px;
}

.about-products h2:after {
  left: 50%;
  transform: translateX(-50%);
}

.about-products h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.about-products p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background-color: var(--background-alt);
  border-radius: var(--border-radius);
}

.badge svg {
  color: var(--primary-color);
}

/* ======= Products Section ======= */
.products {
  text-align: center;
  background-color: var(--background-color);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-card h3 {
  padding: 20px 20px 10px;
  font-size: 1.25rem;
}

.product-card .price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.2rem;
  padding: 0 20px;
}

.product-card .description {
  padding: 0 20px;
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.product-card .btn {
  margin: 20px;
  width: calc(100% - 40px);
}

/* ======= Product Detail Page ======= */
.product-detail {
  padding: 60px 0;
}

.product-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.product-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.product-info h1 {
  margin-bottom: 10px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  color: var(--text-light);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-rating span:first-child {
  color: var(--warning-color);
}

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

.product-status {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.in-stock {
  color: var(--success-color);
  font-weight: 600;
}

.limited, .bestseller {
  background-color: var(--primary-color);
  color: white;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.875rem;
}

.bestseller {
  background-color: var(--warning-color);
  color: var(--text-color);
}

.product-description {
  margin-bottom: 30px;
}

.product-description p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.product-description ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.product-description ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.product-description ul li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.quantity-selector {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.quantity-selector label {
  margin-right: 15px;
}

.quantity-controls {
  display: flex;
  align-items: center;
}

.quantity-controls button {
  width: 30px;
  height: 30px;
  background-color: var(--background-alt);
  border: 1px solid var(--border-color);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.quantity-controls input {
  width: 50px;
  height: 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  border-left: none;
  border-right: none;
}

.product-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.shipping-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.shipping-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
}

.shipping-info svg {
  color: var(--primary-color);
}

.size-selector, .frame-selector {
  margin-top: 25px;
}

.size-options, .frame-options {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.size-btn, .frame-btn {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.size-btn:hover, .frame-btn:hover,
.size-btn.active, .frame-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.size-chart-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.875rem;
}

/* Product Details Tabs */
.product-details-tabs {
  max-width: var(--container-width);
  margin: 0 auto 60px;
  padding: 0 20px;
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.tab-btn {
  padding: 15px 25px;
  background-color: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-content {
  display: none;
}

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

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr:nth-child(odd) {
  background-color: var(--background-alt);
}

.specs-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-color);
}

.specs-table td:first-child {
  font-weight: 600;
  width: 30%;
}

/* Reviews */
.review-summary {
  display: flex;
  gap: 50px;
  margin-bottom: 40px;
  background-color: var(--background-alt);
  padding: 25px;
  border-radius: var(--border-radius);
}

.average-rating {
  text-align: center;
}

.big-rating {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stars {
  color: var(--warning-color);
  font-size: 1.5rem;
  margin: 5px 0;
}

.rating-bars {
  flex-grow: 1;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.bar-container {
  flex-grow: 1;
  height: 10px;
  background-color: var(--gray-300);
  border-radius: 5px;
  overflow: hidden;
}

.bar {
  height: 100%;
  background-color: var(--primary-color);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review {
  background-color: var(--background-alt);
  padding: 20px;
  border-radius: var(--border-radius);
}

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

.reviewer-name {
  font-weight: 600;
}

.review-date {
  color: var(--text-light);
  font-size: 0.875rem;
}

.review-rating {
  color: var(--warning-color);
}

/* Related Products */
.related-products {
  background-color: var(--background-alt);
  padding: 60px 0;
  text-align: center;
}

.related-products h2 {
  margin-bottom: 40px;
}

.related-products h2:after {
  left: 50%;
  transform: translateX(-50%);
}

/* ======= Footer ======= */
footer {
  background-color: var(--gray-800);
  color: white;
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-column h3 {
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column a {
  color: var(--gray-400);
  transition: var(--transition);
}

.footer-column a:hover {
  color: white;
}

.footer-column p {
  color: var(--gray-400);
  margin-bottom: 15px;
}

.registration {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  color: var(--gray-400);
  transition: var(--transition);
}

.social-icons a:hover {
  color: white;
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 40px;
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* ======= About Page ======= */
.about-hero {
  background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-mission {
  background-color: var(--background-color);
  padding: 80px 0;
}

.mission-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-item {
  text-align: center;
  padding: 30px;
  background-color: var(--background-alt);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-10px);
}

.value-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon svg {
  color: var(--primary-color);
}

.team-section {
  background-color: var(--background-alt);
  padding: 80px 0;
  text-align: center;
}

.team-intro {
  max-width: 800px;
  margin: 0 auto 60px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.team-member {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-member h3 {
  margin: 20px 0 5px;
}

.team-member p {
  padding: 0 20px;
  margin-bottom: 15px;
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 600;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.testimonials {
  padding: 80px 0;
  background-color: var(--background-color);
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial {
  background-color: var(--background-alt);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
}

.testimonial:before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-light);
  opacity: 0.4;
  line-height: 1;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-author {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.rating {
  color: var(--warning-color);
  margin-bottom: 5px;
}

.milestones {
  background-color: var(--background-alt);
  padding: 80px 0;
  text-align: center;
}

.timeline {
  max-width: 800px;
  margin: 60px auto 0;
  position: relative;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 50px;
  position: relative;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  position: absolute;
  left: 50%;
  top: 15px;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-content {
  width: 45%;
  padding: 20px;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.join-team {
  text-align: center;
  padding: 80px 0;
  background-color: var(--primary-color);
  color: white;
}

.join-team h2 {
  color: white;
}

.join-team h2:after {
  background-color: white;
  left: 50%;
  transform: translateX(-50%);
}

.join-team p {
  max-width: 600px;
  margin: 0 auto 30px;
}

.join-team .btn {
  background-color: white;
  color: var(--primary-color);
}

.join-team .btn:hover {
  background-color: var(--background-alt);
}

/* ======= Contact Page ======= */
.contact-hero {
  background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.contact-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-info {
  padding: 80px 0;
  background-color: var(--background-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-card {
  background-color: var(--background-alt);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-10px);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-icon svg {
  color: var(--primary-color);
}

.contact-card h3 {
  margin-bottom: 15px;
}

.contact-card a {
  color: var(--primary-color);
}

.contact-form-section {
  background-color: var(--background-alt);
  padding: 80px 0;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--background-color);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-container h2 {
  text-align: center;
  margin-bottom: 40px;
}

.form-container h2:after {
  left: 50%;
  transform: translateX(-50%);
}

.contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-group {
  width: calc(50% - 10px);
}

.form-group.full-width {
  width: 100%;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
  margin-top: 5px;
}

.faq-section {
  padding: 80px 0;
  background-color: var(--background-color);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.faq-section h2:after {
  left: 50%;
  transform: translateX(-50%);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.faq-item {
  background-color: var(--background-alt);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.faq-item h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* ======= Cart Page ======= */
.cart-section {
  padding: 60px 0;
  min-height: 600px;
}

.cart-empty {
  text-align: center;
  padding: 60px 0;
}

.empty-cart-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  color: var(--gray-400);
}

.cart-empty h3 {
  margin-bottom: 15px;
}

.cart-empty p {
  margin-bottom: 30px;
  color: var(--text-light);
}

.cart-headers {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr auto;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
}

.cart-item {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr auto;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
}

.cart-item-product {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-item-product img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.cart-item-details h4 {
  margin-bottom: 5px;
}

.cart-item-details p {
  margin-bottom: 0;
  color: var(--text-light);
  font-size: 0.875rem;
}

.cart-item-quantity .quantity-controls {
  width: fit-content;
}

.remove-item {
  background: none;
  border: none;
  color: var(--error-color);
  cursor: pointer;
  transition: var(--transition);
}

.remove-item:hover {
  transform: scale(1.2);
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
}

.cart-summary {
  max-width: 400px;
  margin-left: auto;
  background-color: var(--background-alt);
  padding: 30px;
  border-radius: var(--border-radius);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.summary-row.total {
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
  font-size: 1.25rem;
  font-weight: 700;
}

.checkout-btn-container {
  margin-top: 30px;
}

.checkout-btn-container .btn {
  width: 100%;
}

.recently-viewed {
  background-color: var(--background-alt);
  padding: 60px 0;
  text-align: center;
}

.recently-viewed h2 {
  margin-bottom: 40px;
}

.recently-viewed h2:after {
  left: 50%;
  transform: translateX(-50%);
}

/* ======= Checkout Page ======= */
.checkout-section {
  padding: 60px 0;
  background-color: var(--background-alt);
}

.checkout-header {
  text-align: center;
  margin-bottom: 40px;
}

.checkout-steps {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.step {
  display: flex;
  align-items: center;
  margin: 0 20px;
  color: var(--text-light);
}

.step.active {
  color: var(--primary-color);
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-weight: 600;
}

.step.active .step-number {
  background-color: var(--primary-color);
  color: white;
}

.checkout-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}

.order-summary {
  background-color: var(--background-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  align-self: start;
}

.order-items {
  margin-bottom: 30px;
}

.order-item {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.order-item:last-child {
  border-bottom: none;
}

.order-item-image {
  position: relative;
  margin-right: 15px;
}

.order-item-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.item-quantity {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.order-item-details {
  flex-grow: 1;
}

.order-item-details h4 {
  margin-bottom: 5px;
}

.order-item-details p {
  margin-bottom: 0;
  color: var(--text-light);
  font-size: 0.875rem;
}

.order-totals {
  margin-bottom: 30px;
}

.secure-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--success-color);
  font-weight: 600;
}

.checkout-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

/* ======= Success Page ======= */
.success-section {
  padding: 80px 0;
  background-color: var(--background-color);
}

.success-container {
  max-width: 800px;
  margin: 0 auto 80px;
  text-align: center;
  background-color: var(--background-alt);
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.success-icon {
  width: 100px;
  height: 100px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.success-icon svg {
  color: var(--primary-color);
}

.success-message {
  margin-bottom: 40px;
  font-size: 1.2rem;
}

.next-steps {
  max-width: 500px;
  margin: 0 auto 40px;
  text-align: left;
}

.next-steps h3 {
  margin-bottom: 20px;
  text-align: center;
}

.next-steps ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.next-steps li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.next-steps li svg {
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 3px;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.recommended-products {
  text-align: center;
}

.recommended-products h3 {
  margin-bottom: 40px;
}

/* ======= Cookie Banner ======= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--background-color);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* ======= Responsive Styles ======= */
@media (max-width: 1024px) {
  .product-container {
    grid-template-columns: 1fr;
  }
  
  .product-image {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .checkout-container {
    grid-template-columns: 1fr;
  }
  
  .timeline:before {
    left: 30px;
  }
  
  .timeline-dot {
    left: 30px;
  }
  
  .timeline-content {
    width: auto;
    margin-left: 60px;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 60px;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .feature-grid,
  .stats-container,
  .team-grid,
  .testimonial-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .cart-headers {
    display: none;
  }
  
  .cart-item {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px;
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    position: relative;
  }
  
  .cart-item-product {
    flex-direction: column;
    text-align: center;
  }
  
  .cart-item-product img {
    width: 120px;
    height: 120px;
  }
  
  .cart-item-price:before {
    content: 'Price: ';
    font-weight: 600;
  }
  
  .cart-item-total:before {
    content: 'Total: ';
    font-weight: 600;
  }
  
  .remove-item {
    position: absolute;
    top: 10px;
    right: 10px;
  }
  
  .cart-actions {
    flex-direction: column;
    gap: 15px;
  }
  
  .cart-actions .btn {
    width: 100%;
  }
  
  .cart-summary {
    width: 100%;
    margin: 30px 0 0;
  }
  
  .tabs {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  nav ul {
    flex-direction: column;
    gap: 15px;
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .product-actions .btn {
    width: 100%;
  }
  
  .success-actions {
    flex-direction: column;
  }
  
  .success-actions .btn {
    width: 100%;
  }
  
  .form-group {
    width: 100%;
  }
  
  .success-container {
    padding: 30px 20px;
  }
}
