/* XtraTough E-commerce Website Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    margin-left: -15px;
    margin-right: -15px;
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #0066cc;
}

a:hover {
    color: #004080;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
header {
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background-color: #69488E;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.logo a span {
    color: #0066cc;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    font-weight: 500;
}

nav ul li a:hover {
    color: #0066cc;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* User Actions */
.user-actions {
    display: flex;
    align-items: center;
}

.user-actions a {
    margin-left: 15px;
    color: #fff;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #0066cc;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

/* Hero Section */
.hero {
    background-color: #69488E;
    color: #fff;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff;
    color: #0066cc;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Featured Products */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    background-color: #B6E2D3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image img {
    max-height: 100%;
    object-fit: cover;
}

.product-image1 {
    height: 300px;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image1 img {
    max-height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 15px 30px;
    text-align: center;
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.product-price {
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 10px;
}

.product-card .btn {
    width: 100%;
    text-align: center;
    background-color: #0066cc;
    color: #fff;
}

.product-card .btn:hover {
    background-color: #004080;
}

/* Featured Products Slider */
.featured-products-slider {
    padding: 40px 0;
    background-color: #f8f9fa; /* Or match your site's background */
}

.featured-products-slider .section-title {
    margin-bottom: 30px;
}

.featuredSwiper .swiper-slide {
    text-align: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.featuredSwiper .swiper-slide:hover {
    transform: translateY(-5px);
}

.featuredSwiper .product-slide a {
    display: block;
    color: inherit; /* Inherit text color */
    text-decoration: none;
}

.featuredSwiper .product-image {
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #eee; /* Placeholder background */
}

.featuredSwiper .product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain; /* Use contain to show full image */
}

.featuredSwiper .product-description {
    padding: 15px;
    min-height: 60px; /* Ensure consistent height */
}

.featuredSwiper .product-description p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

/* Swiper Navigation/Pagination for Featured Slider */
.featuredSwiper .swiper-button-next,
.featuredSwiper .swiper-button-prev {
    color: #0066cc; /* Match your theme color */
    top: 40%; /* Adjust vertical position */
}

.featuredSwiper .swiper-button-next::after,
.featuredSwiper .swiper-button-prev::after {
    font-size: 24px; /* Adjust arrow size */
}

.featuredSwiper .swiper-pagination-bullet-active {
    background-color: #0066cc; /* Match your theme color */
}

.featuredSwiper .swiper-pagination {
    position: static; /* Position below the slider */
    margin-top: 20px;
}

/* Categories Section */
.categories {
    margin-bottom: 40px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: #0066cc;
}

.category-title {
    font-size: 18px;
    color: #333;
}

/* Footer */
footer {
    background-color: #69488E;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    margin-left: 80px;
    margin-right: 80px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #ccc;
}

/* Contact Page Styles */
.contact-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 40px;
}

.contact-content p {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #555;
    font-size: 18px;
    line-height: 1.6;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: #69488E;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.contact-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.contact-text p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 16px;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
.form-control {
    width: 70%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    margin-left: 10%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
.form-control:focus {
    border-color: #69488E;
    outline: none;
    box-shadow: 0 0 0 3px rgba(105, 72, 142, 0.1);
    background-color: #fff;
}

.btn-primary {
    background-color: #69488E;
    color: #fff;
    border: none;
    padding: 14px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(105, 72, 142, 0.2);
}

.btn-primary:hover {
    background-color: #5a3a7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(105, 72, 142, 0.3);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
}

/* Map Section */
.map-section {
    padding: 40px 0 80px;
    background-color: #fff;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #69488E;
}

.map-placeholder i {
    margin-bottom: 15px;
}

.map-placeholder p {
    font-size: 18px;
    color: #666;
}

/* Alert Messages */
.alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Product Detail Page */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.product-detail-image {
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    width: 40%;
    margin-left: 35%;
    margin-right: -35%;
}

.product-detail-info h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.product-detail-price {
    font-size: 24px;
    color: #0066cc;
    margin-bottom: 5px;
}

.product-detail-description {
    margin-bottom: 20px;
    line-height: 1.8;
}

.product-detail-actions {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.quantity-input {
    width: 60px;
    padding: 10px;
    margin-right: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

/* Cart Page */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cart-table th {
    background-color: #f0f0f0;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.cart-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.cart-product {
    display: flex;
    align-items: center;
}

.cart-product-image {
    width: 80px;
    height: 80px;
    background-color: #f0f0f0;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-product-title {
    font-weight: 500;
}

.cart-quantity {
    display: flex;
    align-items: center;
}

.cart-quantity-btn {
    background-color: #f0f0f0;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.cart-quantity-input {
    width: 40px;
    padding: 5px;
    text-align: center;
    margin: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cart-remove {
    color: #dc3545;
    cursor: pointer;
}

.cart-summary {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cart-summary-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cart-summary-total {
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #69488E;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        margin: 0 0 15px 0;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    /* Contact Page Responsive */
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form-container {
        padding: 25px 20px;
    }
    
    .contact-item {
        padding: 20px 15px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .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: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .cart-table td {
        text-align: right;
        padding: 10px;
        position: relative;
    }
    
    .cart-table td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
    }
    
    .cart-product {
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    /* Contact Page Small Screen */
    .contact-content p {
        font-size: 16px;
    }
    
    .contact-form-container {
        padding: 20px 15px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .contact-text h3 {
        font-size: 18px;
    }
    
    .contact-text p {
        font-size: 14px;
    }
    
    .map-container {
        height: 250px;
    }
}

/* slider */


.main {
  height: 400px;
  width: 100%;
}
.wrapper,
.slide {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  overflow: hidden;
}
/* Removed color overlay to show clear images */
.slide::before {
  content: none;
}
.slide .image {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.slide .image-data {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  z-index: 100;
}
.image-data span.text {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
}
.image-data h2 {
  font-size: 45px;
  font-weight: 600;
  color: #fff;
}
a.button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  color: #333;
  background: #fff;
  text-decoration: none;
  margin-top: 25px;
  transition: all 0.3s ease;
}
a.button:hover {
  color: #fff;
  background-color: #c87e4f;
}

/* swiper button css */
.nav-btn {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}
.nav-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}
.swiper-button-next {
  right: 20px;
}
.swiper-button-prev {
  left: 20px;
}
.nav-btn::before,
.nav-btn::after {
  font-size: 25px;
  color: #fff;
}
.swiper-pagination-bullet {
  opacity: 1;
  height: 12px;
  width: 12px;
  background-color: #fff;
  visibility: hidden;
}
.swiper-pagination-bullet-active {
  border: 2px solid #fff;
  background-color: #c87e4f;
}

@media screen and (max-width: 768px) {
  /* Improve hero slider for mobile view */
  .main {
    height: 300px; /* Slightly shorter height for mobile */
  }
  
  .slide .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right; /* Center the image */
  }
 
  .swiper-pagination-bullet {
    visibility: visible;
  }
}
/* why Section */
.points-section {
    max-width: 1400px;
    margin: auto;
    padding-left: 100px;
    padding-right: 100px;
    margin-top: 60px;
    background: #f8f9fa;
    margin-bottom: 60px;
  }
  .points-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: left;
    color:#69488E;
  }

  .points-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .point-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    color: #69488E;
    padding: 15px;
    transition: all 0.3s ease;
  }

  .point-item:hover {
    background: #e0f7ff;
  }

  .point-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border: 3px solid #69488E;
    border-radius: 50%;
    background-color: transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .point-icon img {
    width: 70%;
    height: 70%;
    object-fit: scale-down;
    border-radius: 50%;
  }

  .point-text {
    font-size: 1.1rem;
    color: #69488E;
    font-weight: 700;
  }

  .swiper-card {
    margin-left: 100px;
    margin-right: 100px;
   }

  @media (max-width: 768px) {
    .points-section {
        max-width: 1400px;
        margin: auto;
        padding-left: 40px;
        padding-right: 20px;
        margin-top: 20px;
        background: #f8f9fa;
      }

    .points-grid {
      grid-template-columns: 1fr;
    }
    .points-section h1 {
        
        font-size: 36px;
        margin-bottom: 20px;
        text-align: left;
        color:#69488E;
      }

      .point-icon {
        flex-shrink: 0;
        width: 70px;
        height: 70px;
        border: 3px solid #69488E;
        border-radius: 50%;
        background-color: transparent;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .point-text {
        font-size: .9rem;
        color: #69488E;
        font-weight: 700;
      }
      
      /* featured Slider */
      .swiper-card {
        margin-left: auto;
        margin-right: auto;
       }

       .product-image {
        width: 100%;
        height: 360px;
        object-fit: cover; 
       }

       .product-image1 {
        width: 100%;
        height: 360px;
        object-fit: contain; 
       }
    }

       /* services Section */
       .services-section {
        max-width: 1200px;
        margin: 60px auto;
        padding: 40px 40px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
      }
  
      .services-title {
        text-align: center;
        font-size: 32px;
        margin-bottom: 40px;
        color: #333;
      }
  
      .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 2fr);
        gap: 50px;
      }
  
      .service-item {
        display: flex;
        gap: 20px;
        align-items: flex-start;
        transition: transform 0.3s ease;
        margin-bottom: -10px;
      }

      .services-section p {
        text-align: center;
        font-size: 18px;
        margin-bottom: 40px;
        color: #555;
        margin-top: -50px;
      }

      .key-para {
        text-align: center;
        font-size: 14px;
        margin-bottom: 20px;
        color: #555;
        margin-top: -10px;
        margin-left: 15%;
        margin-right: 15%;
      }
  
      .service-item:hover {
        transform: translateY(-5px);
      }
  
      .service-icon {
        margin-top: 5px;
        width: 20px;
        height: 20px;
        color: #fff;
        border-radius: 50%;
        overflow: hidden;
        background: #69488E;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
      }
  
      .service-icon img {
        width: 30px;
        height: 30px;
        object-fit: contain;
        filter: invert(1);
      }
  
      .service-content h3 {
        margin: 0 0 10px;
        font-size: 20px;
        color: #222;
      }
  
      .service-content p {
        text-align: left;
        margin: 0;
        color: #555;
        line-height: 1.5;
      }
  
      @media (max-width: 768px) {
        .services-grid {
          grid-template-columns: 1fr;
        }
      
    }