/* Base Styles & Variables */
:root {
  --primary-color: #2a9df4;
  --secondary-color: #ff6b2b;
  --accent-color: #1e88e5;
  --dark-color: #16324f;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --light-gray: #e9ecef;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --border-radius: 4px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
  --font-heading: 'Montserrat', var(--font-primary);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

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

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

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

p {
  margin-bottom: 1rem;
}

ul {
  list-style: none;
}

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

section {
  padding: 5rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.9rem;
}

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

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.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;
}

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

.btn-secondary:hover {
  background-color: #e85a1a;
}

.btn-view {
  background-color: var(--dark-color);
}

.btn-view:hover {
  background-color: #0d2235;
}

.btn-add {
  background-color: var(--secondary-color);
}

.btn-add:hover {
  background-color: #e85a1a;
}

.btn-add-cart {
  background-color: var(--secondary-color);
  margin-right: 0.5rem;
}

.btn-add-cart:hover {
  background-color: #e85a1a;
}

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

.btn-buy-now:hover {
  background-color: var(--accent-color);
}

.btn-submit {
  width: 100%;
  background-color: var(--primary-color);
  padding: 1rem;
}

.btn-submit:hover {
  background-color: var(--accent-color);
}

/* Header */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
}

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

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

.cart-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-link::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' stroke='currentColor' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--dark-color) 0%, #274c73 100%);
  color: white;
  text-align: center;
  padding: 8rem 0;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Quote Section */
.quote-section {
  background-color: var(--light-color);
  padding: 3rem 0;
  text-align: center;
}

.quote-section blockquote {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--dark-color);
}

.quote-section cite {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  font-style: normal;
  color: var(--gray-color);
}

/* Advantages Section */
.advantages {
  text-align: center;
  background-color: #fff;
}

.advantages h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.advantage-item {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.advantage-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
}

.advantage-item .icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.advantage-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.stats {
  display: flex;
  justify-content: space-around;
  margin: 3rem 0;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--gray-color);
}

.cta {
  background-color: var(--light-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  margin-top: 3rem;
  text-align: center;
}

.cta h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* About Products Section */
.about-products {
  background-color: var(--light-color);
  padding: 5rem 0;
}

.about-products h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.about-products h3 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
}

.about-products p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Products Section */
.products {
  padding: 5rem 0;
}

.products h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
}

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

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

.product-card h3 {
  font-size: 1.3rem;
  padding: 1rem 1rem 0.5rem;
}

.product-card p {
  padding: 0 1rem;
  color: var(--gray-color);
  font-size: 0.9rem;
  height: 60px;
  overflow: hidden;
}

.product-card .price {
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
}

.product-card .product-actions {
  display: flex;
  padding: 1rem;
  gap: 0.5rem;
}

.product-card .btn {
  flex: 1;
  padding: 0.6rem;
  font-size: 0.85rem;
}

.tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--secondary-color);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.tag.new {
  background-color: var(--secondary-color);
}

.tag.sale {
  background-color: var(--success-color);
}

/* Product Detail Page */
.product-detail {
  padding: 5rem 0;
}

.breadcrumb {
  margin-bottom: 2rem;
  color: var(--gray-color);
}

.breadcrumb a {
  color: var(--dark-color);
}

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

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

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

.product-info h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.product-info .tag {
  position: relative;
  display: inline-block;
  top: 0;
  left: 0;
  margin-bottom: 1rem;
}

.product-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
}

.product-description {
  margin-bottom: 2rem;
}

.product-description h3 {
  font-size: 1.3rem;
  margin: 1.5rem 0 0.5rem;
}

.product-description ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.product-meta {
  display: flex;
  margin-bottom: 2rem;
  gap: 2rem;
}

.product-meta > div {
  position: relative;
  padding-left: 1.5rem;
}

.product-meta > div::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
}

.in-stock::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' stroke='%2328a745' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E");
}

.shipping::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' stroke='%232a9df4' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='3' width='15' height='13'%3E%3C/rect%3E%3Cpolygon points='16 8 20 8 23 11 23 16 16 16 16 8'%3E%3C/polygon%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'%3E%3C/circle%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'%3E%3C/circle%3E%3C/svg%3E");
}

.warranty::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' stroke='%232a9df4' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'%3E%3C/path%3E%3C/svg%3E");
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity select {
  padding: 0.6rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.product-tabs {
  margin-bottom: 4rem;
}

.tabs-nav {
  display: flex;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--light-gray);
}

.tab-btn {
  padding: 1rem 2rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-color);
  cursor: pointer;
  position: relative;
}

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

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
}

.tab-content {
  display: none;
}

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

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

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

.specs-table th {
  width: 40%;
  font-weight: 600;
  color: var(--dark-color);
}

.review {
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.review-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-stars {
  color: var(--warning-color);
  font-size: 1.2rem;
}

.review-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.review-author {
  color: var(--gray-color);
  margin-left: auto;
}

.faq-item {
  border-bottom: 1px solid var(--light-gray);
  padding: 1.5rem 0;
}

.faq-question {
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  padding-right: 1.5rem;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gray-color);
}

.faq-answer {
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--light-gray);
}

.related-products h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* About Us Page */
.page-header {
  background-color: var(--dark-color);
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.page-header h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
}

.about-story {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.about-content h2 {
  font-size: 2rem;
  margin: 2rem 0 1rem;
}

.about-content p {
  margin-bottom: 1.5rem;
}

.about-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.about-image img {
  max-width: 250px;
  border-radius: 50%;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-color);
}

.team-section {
  background-color: var(--light-color);
  padding: 5rem 0;
  text-align: center;
}

.team-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.team-section > .container > p {
  max-width: 700px;
  margin: 0 auto 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2.5rem;
}

.team-member {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

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

.team-member h3 {
  font-size: 1.3rem;
  margin: 1.5rem 0 0.25rem;
  padding: 0 1rem;
}

.team-member p {
  padding: 0 1rem;
  margin-bottom: 0.5rem;
}

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

.team-member p:nth-of-type(2) {
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--light-color);
  border-radius: 50%;
  color: var(--dark-color);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.values-section {
  padding: 5rem 0;
}

.values-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

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

.value-item {
  text-align: center;
  padding: 2rem;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

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

.value-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.value-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cta-section {
  background-color: var(--dark-color);
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* Contact Page */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 2rem;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.method-icon {
  color: var(--primary-color);
  flex-shrink: 0;
}

.method-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.method-details p {
  margin-bottom: 0.5rem;
}

.text-muted {
  color: var(--gray-color);
  font-size: 0.9rem;
}

.social-contact h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.social-contact .social-links {
  justify-content: flex-start;
  padding: 0;
}

.contact-form-container h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

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

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-group input {
  width: auto;
  margin-top: 0.3rem;
}

.map-section {
  padding: 5rem 0;
  background-color: var(--light-color);
  text-align: center;
}

.map-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.map-section p {
  max-width: 700px;
  margin: 0 auto 2rem;
}

.map-container {
  max-width: 900px;
  margin: 0 auto;
}

.responsive-map {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.map-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e9ecef;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.map-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.faq-section {
  padding: 5rem 0;
}

.faq-section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.faq-grid {
  max-width: 900px;
  margin: 0 auto;
}

.faq-question {
  font-weight: 600;
  font-size: 1.2rem;
  padding: 1.5rem 0;
  cursor: pointer;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--light-gray);
}

/* Cart Page */
.cart-section {
  padding: 5rem 0;
}

.cart-empty {
  text-align: center;
  padding: 3rem;
}

.cart-empty-icon {
  color: var(--gray-color);
  margin-bottom: 1.5rem;
}

.cart-empty h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cart-empty p {
  margin-bottom: 2rem;
  color: var(--gray-color);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.cart-table th {
  text-align: left;
  padding: 1rem;
  border-bottom: 2px solid var(--light-gray);
  font-weight: 600;
}

.cart-table td {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--light-gray);
}

.cart-table .product-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.cart-table .quantity-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-table .quantity-selector button {
  background: none;
  border: 1px solid var(--light-gray);
  width: 30px;
  height: 30px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-table .quantity-selector span {
  width: 30px;
  text-align: center;
}

.cart-table .remove-item {
  background: none;
  border: none;
  color: var(--danger-color);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

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

.cart-totals {
  margin-bottom: 2rem;
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-gray);
}

.total-row.total-final {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-color);
  border-bottom: none;
}

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

.cart-features {
  background-color: var(--light-color);
  padding: 4rem 0;
}

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

.feature {
  text-align: center;
}

.feature-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.recommended-products {
  padding: 5rem 0;
}

.recommended-products h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

/* Checkout Page */
.checkout-section {
  padding: 5rem 0;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
}

.checkout-form-container h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.checkout-form {
  display: grid;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.order-summary {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  align-self: start;
  position: sticky;
  top: 100px;
}

.order-summary h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-gray);
}

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

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

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

.checkout-item-details h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.checkout-item-price {
  display: flex;
  justify-content: space-between;
}

.checkout-item-quantity {
  color: var(--gray-color);
}

.summary-totals {
  margin: 2rem 0;
}

.checkout-security {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--light-gray);
}

.security-icon {
  color: var(--success-color);
  flex-shrink: 0;
}

.checkout-security p {
  font-size: 0.9rem;
  color: var(--gray-color);
  margin: 0;
}

.checkout-features {
  background-color: var(--light-color);
  padding: 4rem 0;
}

/* Success Page */
.success-section {
  padding: 5rem 0;
  text-align: center;
}

.success-content {
  max-width: 700px;
  margin: 0 auto;
}

.success-icon {
  color: var(--success-color);
  margin-bottom: 2rem;
}

.success-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.success-section p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.what-next {
  background-color: var(--light-color);
  padding: 5rem 0;
}

.what-next h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.next-steps {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.support-resources {
  padding: 5rem 0;
}

.support-resources h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

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

.resource {
  text-align: center;
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.resource:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
}

.resource-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.resource h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.resource p {
  margin-bottom: 1.5rem;
  color: var(--gray-color);
}

.link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.link::after {
  content: '→';
  transition: var(--transition);
}

.link:hover::after {
  transform: translateX(5px);
}

.recommendations {
  padding: 5rem 0;
}

.recommendations h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 1rem;
}

.footer-logo p {
  opacity: 0.8;
}

.footer-links h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links ul li a:hover {
  color: white;
}

.footer-contact h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-contact p {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.8;
}

.footer-contact .social-links {
  padding: 0;
  margin-top: 1.5rem;
  justify-content: flex-start;
}

.footer-contact .social-links a {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.footer-contact .social-links a:hover {
  background-color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.6;
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-color);
  color: white;
  padding: 1rem;
  z-index: 1000;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  display: none;
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.cookie-more {
  font-size: 0.9rem;
  opacity: 0.8;
}

.cookie-more a {
  color: white;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  
  .order-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .advantages-grid,
  .team-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .stats {
    flex-direction: column;
    gap: 2rem;
  }
  
  .cart-table thead {
    display: none;
  }
  
  .cart-table td {
    display: block;
    text-align: right;
    padding: 0.5rem 1rem;
    position: relative;
  }
  
  .cart-table td::before {
    content: attr(data-label);
    float: left;
    font-weight: 600;
  }
  
  .cart-table tr {
    display: block;
    margin-bottom: 1.5rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1rem 0;
  }
  
  .cart-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .success-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .tabs-nav {
    flex-direction: column;
  }
  
  .tab-btn {
    width: 100%;
    text-align: center;
  }
  
  .cart-summary {
    padding: 1.5rem;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-buttons {
    flex-wrap: wrap;
  }
}
