/* Main Stylesheet */
:root {
  --primary: #2C3E50;
  --secondary: #E74C3C;
  --accent: #3498DB;
  --bg-light: #F8F9FA;
  --bg-dark: #1A252F;
  --text-primary: #333333;
  --text-secondary: #7F8C8D;
  --success: #2ECC71;
  --warning: #F39C12;
  --border: #DFE4EA;
}

/* Global Styles */
body {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--bg-light);
  overflow-x: hidden;
}

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

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: var(--secondary);
  text-decoration: none;
}

td {
  color: var(--border);
}

.btn {
  border-radius: 4px;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

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

.btn-primary:hover, .btn-primary:focus {
  background-color: transparent;
  color: var(--primary);
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
  border: 2px solid var(--secondary);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: transparent;
  color: var(--secondary);
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.navbar-brand img {
  height: 50px;
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin-left: 1.5rem;
}

.nav-link {
  color: var(--primary);
  font-weight: 500;
  position: relative;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

.nav-link:hover:after, .nav-link:focus:after, .nav-link.active:after {
  width: 100%;
}

.cart-icon {
  position: relative;
  font-size: 1.25rem;
  margin-left: 1.5rem;
}

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

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
}

/* Diagonal sections */
.diagonal-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.diagonal-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: inherit;
  transform: skewY(-3deg);
  transform-origin: 100%;
  z-index: -1;
}

.diagonal-section:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: inherit;
  transform: skewY(3deg);
  transform-origin: 0;
  z-index: -1;
}

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

.diagonal-section.bg-primary {
  background-color: var(--primary);
}

.diagonal-section.bg-primary h2{
  color: white;
}

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

.diagonal-section.bg-accent {
  background-color: var(--accent);
  color: white;
}

.diagonal-section.bg-accent h2, 
.diagonal-section.bg-accent h3 {
  color: white;
}

/* Hero section */
.hero {
  position: relative;
  padding: 8rem 0;
  background-color: var(--bg-dark);
  color: white;
  overflow: hidden;
}

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

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
  line-height: 1.2;
}

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

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  clip-path: polygon(100px 0, 100% 0, 100% 100%, 0 100%);
}

/* Features section */
.features {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

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

.section-title p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
}

.feature-card {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* About section */
.about {
  padding: 5rem 0;
}

.about-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-img img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

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

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

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

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

.product-filters {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-btn {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
}

.filter-btn:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

.filter-btn:hover:after, .filter-btn:focus:after, .filter-btn.active:after {
  width: 100%;
}

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

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

.product-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--secondary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.product-info {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

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

.product-description {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.product-actions {
  display: flex;
  justify-content: space-between;
}

/* News section */
.news {
  padding: 5rem 0;
}

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

.news-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-img {
  height: 200px;
  overflow: hidden;
}

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

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

.news-info {
  padding: 1.5rem;
}

.news-date {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.news-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Contact form */
.contact-form {
  background-color: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.form-check-input {
  margin-top: 0.25rem;
  margin-right: 0.75rem;
}

.form-check-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 40px;
}

.footer h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-links a:hover, .footer-links a:focus {
  color: white;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.footer-contact-icon {
  margin-right: 1rem;
  color: var(--accent);
  font-size: 1.25rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Cart styles */
.cart-page {
  padding: 4rem 0;
}

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

.cart-empty i {
  font-size: 4rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

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

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

.cart-product {
  display: flex;
  align-items: center;
}

.cart-product-img {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  margin-right: 1rem;
}

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

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

.quantity-btn {
  background: none;
  border: 1px solid var(--border);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

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

.cart-remove {
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
}

.cart-summary {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cart-summary h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

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

/* Checkout styles */
.checkout-page {
  padding: 4rem 0;
}

.checkout-form {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.checkout-form h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.payment-methods {
  margin-bottom: 1.5rem;
}

.payment-method {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.payment-method-radio {
  margin-right: 0.75rem;
}

/* Thank you page */
.thank-you {
  text-align: center;
  padding: 5rem 0;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--success);
  margin-bottom: 2rem;
}

.thank-you h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.thank-you p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  padding: 1.5rem;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: none;
}

.cookie-consent.show {
  display: block;
}

.cookie-text {
  margin-bottom: 1rem;
}

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

.cookie-settings {
  margin-left: auto;
}

.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background-color: white;
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.cookie-modal-body {
  margin-bottom: 1.5rem;
}

.cookie-preference {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.cookie-preference:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cookie-preference-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.cookie-preference-title {
  font-weight: 500;
  margin: 0;
}

.cookie-preference-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-preference-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-preference-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.cookie-preference-toggle .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.cookie-preference-toggle input:checked + .slider {
  background-color: var(--success);
}

.cookie-preference-toggle input:checked + .slider:before {
  transform: translateX(26px);
}

.cookie-preference-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0;
}

.cookie-modal-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* FAQ accordion */
.faq-accordion {
  margin-bottom: 3rem;
}

.faq-item {
  background-color: white;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: white;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.show {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 3rem;
}

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

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

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-check {
  color: var(--success);
  font-size: 1.25rem;
}

.comparison-x {
  color: var(--secondary);
  font-size: 1.25rem;
}

/* Responsive styles */
@media (max-width: 992px) {
  .navbar-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
  }
  
  .navbar-nav.show {
    display: flex;
  }
  
  .nav-item {
    margin: 0;
    padding: 0.5rem 1.5rem;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-bg {
    width: 100%;
    opacity: 0.2;
    clip-path: none;
  }
  
  .diagonal-section {
    padding: 4rem 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .about-content h2 {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .news-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 5rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .diagonal-section {
    padding: 3rem 0;
  }
  
  .diagonal-section:before,
  .diagonal-section:after {
    height: 50px;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .cart-table thead {
    display: none;
  }
  
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td {
    display: block;
    width: 100%;
  }
  
  .cart-table tr {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
  }
  
  .cart-table td {
    border: none;
    padding: 0.5rem 0;
    text-align: right;
    position: relative;
    padding-left: 50%;
  }
  
  .cart-table td:before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 45%;
    font-weight: 500;
    text-align: left;
  }
  
  .cart-product {
    justify-content: flex-end;
  }
  
  .comparison-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 576px) {
  .cookie-actions {
    flex-direction: column;
  }
  
  .cookie-settings {
    margin-left: 0;
    margin-top: 0.5rem;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .about-content h2 {
    font-size: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .thank-you h1 {
    font-size: 2rem;
  }
  
  .thank-you p {
    font-size: 1rem;
  }
}

/* Added styles for international telephone input */
.iti {
  width: 100%;
}