/* 
   Super Premium Template - Styles
   Theme: PREMIUM & MODERN
*/

:root {
  /* Color Palette */
  --primary-color: #0f766e; /* Teal/Navy */
  --primary-dark: #0d615b;
  --accent-color: #d97706; /* Gold/Amber */
  --accent-hover: #b45309;
  --bg-color: #f9fafb; /* Off-White/Cream */
  --bg-light: #ffffff; /* Pure White for cards/sections */
  --text-color: #1f2937; /* Charcoal */
  --text-light: #6b7280; /* Gray for subtitles */
  --border-color: #e5e7eb;

  /* Typography */
  --font-main: "Inter", sans-serif;

  /* Spacing */
  --section-gap: 80px;
  --container-width: 1200px;

  /* Effects */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

.section-padding {
  padding: var(--section-gap) 0;
}

.bg-light {
  background-color: var(--bg-light);
}

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

.mt-3 {
  margin-top: 1rem;
}
.mt-4 {
  margin-top: 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 15px auto 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

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

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

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

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

/* Header */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  padding: 15px 0;
}

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

.logo a {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: var(--transition);
}

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

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

.search-bar {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 5px 15px;
  background-color: var(--bg-light);
}

.search-bar input {
  border: none;
  outline: none;
  background: transparent;
  padding: 5px;
  font-family: inherit;
}

.search-bar button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
}

.action-icon {
  font-size: 1.2rem;
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--accent-color);
  color: white;
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.scale-0 {
  transform: scale(0);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 600px;
  background-image: url("https://images.unsplash.com/photo-1483985988355-763728e1935b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}

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

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.category-card {
  background-color: var(--bg-light);
  padding: 30px;
  text-align: center;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--border-color);
}

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

.category-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.category-card h3 {
  font-size: 1.2rem;
  color: var(--text-color);
}

/* Product Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

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

.product-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

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

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

.add-to-cart-btn {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.product-card:hover .add-to-cart-btn {
  bottom: 0;
}

.add-to-cart-btn:hover {
  background-color: var(--primary-dark);
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 4px;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge.sale {
  background-color: #ef4444;
  animation: pulse 2s infinite;
}
.badge.new {
  background-color: var(--accent-color);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.product-info {
  padding: 20px;
}

.rating {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.rating span {
  color: var(--text-light);
  margin-left: 5px;
  font-size: 0.8rem;
}

.product-name {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.price-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.current-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.old-price {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: line-through;
}

/* Promo Banner */
.promo-banner {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.promo-title {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.promo-code {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.time-block {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-radius: 8px;
  min-width: 80px;
}

.time-block span {
  display: block;
  font-weight: 700;
  font-size: 2rem;
}

.time-block .label {
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.testimonial-card .stars {
  margin-bottom: 15px;
}

.testimonial-card .comment {
  font-style: italic;
  color: var(--text-color);
  margin-bottom: 20px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.user-info span {
  font-weight: 600;
}

.trust-summary {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1rem;
  color: var(--text-light);
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

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

.feature-item p {
  color: var(--text-light);
}

/* Newsletter */
.newsletter {
  background-color: var(--primary-dark);
  color: white;
  text-align: center;
}

.newsletter h2 {
  color: white;
}

.newsletter-content {
  max-width: 600px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 4px;
  border: none;
  outline: none;
}

/* Footer */
.footer {
  background-color: #111827;
  color: white;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-col p {
  color: #9ca3af;
  margin-bottom: 20px;
}

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

.footer-col ul li a {
  color: #9ca3af;
}

.footer-col ul li a:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 35px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--accent-color);
}

.payment-methods {
  display: flex;
  gap: 15px;
  font-size: 2rem;
  color: #9ca3af;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #6b7280;
  font-size: 0.9rem;
}

/* Product Detail Page */
.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-gallery {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: white;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.product-info-detail {
    padding: 10px;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.category-tag {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.detail-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.2;
}

.detail-rating {
    margin-bottom: 20px;
    color: #fbbf24;
    font-size: 1.1rem;
}

.detail-rating span {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-left: 8px;
}

.detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.detail-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}

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

.option-group {
    margin-bottom: 20px;
}

.option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.color-options {
    display: flex;
    gap: 10px;
}

.color-option {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 0 0 1px var(--border-color);
    transition: var(--transition);
}

.color-option.selected {
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary-color);
}

.size-options {
    display: flex;
    gap: 10px;
}

.size-option {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.size-option:hover {
    border-color: var(--primary-color);
}

.size-option.selected {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.quantity-selector button {
    width: 40px;
    height: 45px;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color);
    transition: var(--transition);
}

.quantity-selector button:hover {
    background: #e5e7eb;
}

.quantity-selector input {
    width: 50px;
    height: 45px;
    border: none;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    appearance: textfield;
    -moz-appearance: textfield;
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-lg {
    padding: 0 40px;
    font-size: 1.1rem;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.product-extras {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.extra-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.extra-item i {
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

/* Responsive Product Detail */
@media (max-width: 768px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .detail-title {
        font-size: 2rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px;
    box-shadow: var(--shadow-md);
  }

  .nav-menu.active {
    display: block;
  }

    .checkout-container {
        flex-direction: column-reverse;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full {
        grid-column: span 1;
    }
/* Login Page */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.auth-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
}

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

.auth-tab {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

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

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.forgot-password {
    color: var(--primary-color);
}

.social-login {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.social-login p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.social-buttons {
    display: flex;
    gap: 15px;
}

.social-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-btn:hover {
    background-color: var(--bg-light);
}

.social-btn.google { color: #DB4437; }
.social-btn.facebook { color: #4267B2; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}  
  .nav-links {
    flex-direction: column;
    gap: 15px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .search-bar {
    display: none; /* Simplify for mobile */
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .category-grid,
  .product-grid,
  .testimonial-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 480px) {
  .category-grid,
  .product-grid,
  .testimonial-grid,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

  .newsletter-form {
    flex-direction: column;
  }
}
/* Shop Page */
.shop-container {
    display: block; /* Changed from grid to block for horizontal layout */
}

.shop-filters-top {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.filter-group-horizontal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.filter-group-horizontal h3 {
    font-size: 1rem;
    margin: 0;
    color: var(--text-color);
    white-space: nowrap;
}

.filter-options-horizontal {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-options-horizontal label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition);
    margin: 0;
}

.filter-options-horizontal label:hover {
    color: var(--primary-color);
}

.price-filter-horizontal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-filter-horizontal input[type="range"] {
    width: 150px;
    accent-color: var(--primary-color);
}

.shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.product-count {
    color: var(--text-light);
}

.sort-options select {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    outline: none;
    color: var(--text-color);
    cursor: pointer;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
}

.pagination button:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Cart Page */
.cart-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.cart-items-wrapper {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.cart-items {
    display: flex;
    flex-direction: column;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    gap: 20px;
}

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

.cart-item-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

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

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.cart-item-title a {
    color: var(--text-color);
    transition: var(--transition);
}

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

.cart-item-price {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 5px;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.cart-summary {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--text-light);
}

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

.summary-row.total span:last-child {
    color: var(--primary-color);
}

/* Auth Pages (Login/Register) */
.login-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.auth-card {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 500px;
    max-width: 100%;
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.05);
}

.auth-tabs {
    display: flex;
    margin-bottom: 35px;
    border-bottom: 2px solid var(--bg-light);
}

.auth-tab {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.auth-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.auth-tab.active::after {
    width: 100%;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-light);
}

.forgot-password {
    color: var(--primary-color);
    font-weight: 500;
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
}

.social-login {
    margin-top: 35px;
    text-align: center;
    position: relative;
}

.social-login::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    z-index: 0;
}

.social-login p {
    background-color: white;
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 0 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.social-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-color);
}

.social-btn:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Responsive Shop & Auth */
@media (max-width: 992px) {
    .cart-container {
        grid-template-columns: 1fr;
    }
    
    .shop-filters-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .shop-container {
        display: block;
    }
    
    .auth-card {
        padding: 30px;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item-actions {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    color: var(--text-color);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    border-left: 4px solid var(--primary-color);
    min-width: 300px;
}

.toast.show {
    transform: translateX(0);
}

.toast i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.toast-success {
    border-left-color: var(--primary-color);
}

.toast-error {
    border-left-color: #ef4444;
}

.toast-error i {
    color: #ef4444;
}

/* Checkout Page */
.checkout-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.checkout-forms {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.form-section {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.full {
    grid-column: span 2;
}

.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    background-color: white;
    cursor: pointer;
}

.payment-methods-select {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.payment-option:hover {
    border-color: var(--primary-color);
    background-color: var(--bg-light);
}

.payment-option input[type="radio"] {
    margin-right: 15px;
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-color);
}

.payment-label i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.checkout-summary {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
}

.checkout-summary h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.checkout-items-list {
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
}

.checkout-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--bg-light);
}

.checkout-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.checkout-item img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.checkout-item-info h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.checkout-item-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 2px;
}

.summary-totals {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

/* Success Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal.hidden {
    display: none !important;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
}

.modal-content h2 {
    color: var(--text-color);
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Profile Page */
.profile-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.profile-sidebar {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.user-summary {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-light);
}

.user-avatar {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 15px;
}

.user-basic-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.user-basic-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.profile-nav {
    padding: 10px 0;
}

.profile-nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    border: none;
    background: none;
    text-align: left;
    font-size: 1rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.profile-nav-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.profile-nav-item.active {
    background-color: rgba(13, 148, 136, 0.05);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.profile-nav-item.logout {
    color: #ef4444;
    margin-top: 10px;
    border-top: 1px solid var(--border-color);
}

.profile-nav-item.logout:hover {
    background-color: #fef2f2;
}

.profile-content {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    padding: 30px;
    min-height: 500px;
}

.profile-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

.tab-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.profile-form {
    max-width: 700px;
}

.gender-options {
    display: flex;
    gap: 20px;
    padding: 10px 0;
}

.gender-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 400;
}

/* Address Cards */
.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.address-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    transition: var(--transition);
}

.address-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.address-card.default {
    border-color: var(--primary-color);
    background-color: rgba(13, 148, 136, 0.02);
}

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

.tag {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.tag.office {
    background-color: var(--text-light);
}

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

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.btn-icon:hover {
    color: var(--primary-color);
}

.address-card h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.address-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 3px;
}

/* Orders List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.order-header {
    background-color: var(--bg-light);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.order-id {
    font-weight: 700;
    color: var(--text-color);
}

.order-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-left: 10px;
}

.order-status {
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.order-status.processing { background-color: #dbeafe; color: #1e40af; }
.order-status.shipped { background-color: #fef3c7; color: #92400e; }
.order-status.delivered { background-color: #dcfce7; color: #166534; }
.order-status.cancelled { background-color: #fee2e2; color: #991b1b; }

.order-body {
    padding: 20px;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.order-item img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.order-item-info {
    flex: 1;
}

.order-item-name {
    font-weight: 500;
    font-size: 0.95rem;
}

.order-item-meta {
    font-size: 0.85rem;
    color: var(--text-light);
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.order-total {
    font-weight: 700;
    font-size: 1.1rem;
}

.order-total span {
    color: var(--primary-color);
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--border-color);
}

.empty-state p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Responsive Profile */
@media (max-width: 992px) {
    .profile-container {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .address-grid {
        grid-template-columns: 1fr;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .order-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .order-footer .btn {
        width: 100%;
    }
}
