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

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

/* Top Bar Styling */
.top-bar {
    background-color: white;
    padding: 15px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
}

.logo-icon {
    width: auto;
    height: 35px;    
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;  
    background: none; 
    padding: 0;
}

.logo-icon img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Search Bar */
.search-container {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 850px;
    margin: 0 30px;
}

.search-bar {
    display: flex;
    width: 100%;
    border: 3px solid #4a90e2;
    border-radius: 6px;
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    font-size: 16px;
}

.category-dropdown {
    padding: 10px 15px;
    border: none;
    border-left: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
    outline: none;
    font-size: 16px;
    min-width: 130px;
}

.search-btn {
    padding: 10px 25px;
    background-color: #4a90e2;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #3afc09;
}

/* Right Icons */
.top-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    color: #4d4c4c;
    font-size: 12px;
    transition: color 0.3s;
}

.icon-item:hover {
    color: #0575f5;
}

.icon-item i {
    font-size: 24px;
    margin-bottom: 3px;
}

/* Navigation Bar */
.nav-bar {
    background-color: white;
    padding: 10px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eee;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-item {
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-item:hover {
    background-color: #f0f0f0;
}

.nav-item.active {
    background-color: #4a90e2;
    color: white;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.language-select {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    outline: none;
}

.ship-to {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

/* Breadcrumb Navigation */
.breadcrumb-section {
    background-color: #f7f7f7;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-link:hover {
    color: #2563eb;
}

.breadcrumb-separator {
    color: #9ca3af;
}

.breadcrumb-current {
    color: #1f2937;
    font-weight: 500;
}

/* Product Listing Section */
.product-listing-section {
    padding: 30px 0;
    background-color: #ffffff;
}

.product-listing-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
}

/* Left Sidebar - Filters */
.filters-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.filter-group {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.filter-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.filter-arrow {
    color: #6b7280;
}

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

.filter-list li {
    margin-bottom: 12px;
}

.filter-list a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.filter-list a:hover {
    color: #2563eb;
}

.filter-checkbox label,
.filter-radio label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
}

.filter-checkbox input[type="checkbox"],
.filter-radio input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.filter-see-all {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    margin-top: 12px;
}

.filter-see-all:hover {
    text-decoration: underline;
}

/* Price Range */
.price-range-slider {
    margin: 16px 0;
}

.range-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    outline: none;
}

.price-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.price-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
}

.apply-btn {
    width: 100%;
    padding: 10px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.apply-btn:hover {
    background-color: #1d4ed8;
}

/* Rating Stars */
.rating-stars {
    color: #fbbf24;
    font-size: 16px;
    letter-spacing: 2px;
}

/* Products Main */
.products-main {
    flex: 1;
    min-width: 0;
}

/* Products Header */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.products-count {
    font-size: 14px;
    color: #6b7280;
}

.products-count strong {
    color: #1f2937;
    font-weight: 600;
}

.products-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.verified-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}

.verified-checkbox input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.sort-dropdown,
.show-dropdown {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    background-color: white;
}

.view-toggle {
    display: flex;
    gap: 4px;
}

.view-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #d1d5db;
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.3s;
}

.view-btn.active {
    background-color: #2563eb;
    color: white;
    border-color: #2563eb;
}

.view-btn:hover:not(.active) {
    background-color: #f3f4f6;
}

/* Products Grid */
.products-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 20px;
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f9fafb;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background-color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    color: #6b7280;
}

.wishlist-btn:hover {
    color: #ef4444;
    transform: scale(1.1);
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    margin: 0 0 12px 0;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.price-current {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.price-old {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: line-through;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

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

.rating-count {
    color: #1f2937;
    font-weight: 500;
}

.product-shipping {
    color: #10b981;
    font-weight: 500;
}

.product-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.view-details {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    align-self: flex-start;
}

.view-details:hover {
    text-decoration: underline;
}

/* Pagination */
.pagination-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 20px;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.pagination-show {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #374151;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    transition: all 0.3s;
}

.page-btn.active {
    background-color: #2563eb;
    color: white;
    border-color: #2563eb;
}

.page-btn:hover:not(.active) {
    background-color: #f3f4f6;
}

/* Newsletter Section */
.newsletter-section {
  padding: 60px 20px;
  background-color: #d3d2d2;
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-size: 30px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 12px;
}

.newsletter-desc {
  font-size: 18px;
  color: #000000;
  margin-bottom: 32px;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.newsletter-input-wrapper {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.newsletter-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #7a9cd6;
  pointer-events: none;
}

.newsletter-input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 2px solid #c9dcf8;
  border-radius: 6px;
  font-size: 18px;
  background-color: #ffffff;
  transition: border-color 0.3s;
}

.newsletter-input:focus {
  outline: none;
  border-color: #0e58f8;
}

.newsletter-input::placeholder {
  color: #9ca3af;
}

.newsletter-btn {
  padding: 14px 32px;
  background-color: #0850eb;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 550;
  cursor: pointer;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background-color: #25ec0b;
  color: rgb(240, 8, 8);
}

/* Footer Main Section */
.footer-main {
  padding: 50px 0;
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
}

.footer-main-container {
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
}

/* Brand Column */
.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

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

.footer-brand-desc {
  font-size: 18px;
  color: #000000;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ebe8e5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.social-icon:hover {
  background-color: #67e460fa;
}

.social-icon img {
  width: 18px;
  height: 18px;
}

/* Footer Columns */
.footer-column {
  min-width: 0;
}

.footer-column-title {
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 16px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 18px;
  color: #5c687e;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #004ff8;
}

/* Get App Column */
.footer-app {
  min-width: 0;
}

.app-download {
  display: block;
  margin-bottom: 12px;
}

.app-download img {
  width: 140px;
  height: auto;
  border-radius: 6px;
  transition: transform 0.3s;
}

.app-download:hover img {
  transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
  padding: 20px 0;
  background-color: #d3d7da;
  border-top: 1px solid #9096a3;
}

.footer-bottom-container {
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 18px;
  color: #1c2331;
  margin: 0;
}

/* Language Selector */
.footer-language {
  position: relative;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: white;
  border: 1px solid #195abb;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  color: #1f2937;
  transition: border-color 0.3s;
}

.language-btn:hover {
  border-color: #9ca3af;
}

.language-flag {
  width: 24px;
  height: 18px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
}

.language-arrow {
  width: 16px;
  height: 16px;
  color: #6b7280;
}

.language-dropdown {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 8px;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 160px;
  display: none;
  overflow: hidden;
}

.footer-language:hover .language-dropdown {
  display: block;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 16px;
  color: #1f2937;
  text-decoration: none;
  transition: background-color 0.3s;
}

.language-option:hover {
  background-color: #f3f4f6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .product-listing-container {
        flex-direction: column;
    }
    
    .filters-sidebar {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .footer-main-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .filters-sidebar {
        grid-template-columns: 1fr;
    }
    
    .products-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .products-controls {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .product-card {
        flex-direction: column;
    }
    
    .product-image {
        width: 100%;
        height: 250px;
    }
    
    .pagination-section {
        flex-direction: column;
        gap: 16px;
    }
    
    .newsletter-section {
        padding: 50px 20px;
    }
    
    .newsletter-title {
        font-size: 24px;
    }
    
    .newsletter-desc {
        font-size: 14px;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .newsletter-input-wrapper {
        max-width: 100%;
        width: 100%;
    }
    
    .newsletter-btn {
        width: 100%;
    }
    
    .footer-main {
        padding: 40px 0;
    }
    
    .footer-main-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-app {
        grid-column: 1 / -1;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-main-container {
        grid-template-columns: 1fr;
    }
}

/* jsjsjsjjsjssjjsjsjsjsjssjjsjsjsjs */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    background: #3b82f6;
    color: white;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
}

.notification-success { background: #10b981; }
.notification-error { background: #ef4444; }
.notification-warning { background: #f59e0b; }
.notification-info { background: #3b82f6; }

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Grid/List View Styles */
.products-grid.list-view .product-card {
    flex-direction: row;
}

.products-grid.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.products-grid.grid-view .product-card {
    flex-direction: column;
}

.products-grid.grid-view .product-image {
    width: 100%;
    height: 200px;
}

/* Filter Animations */
.filter-arrow {
    transition: transform 0.3s ease;
}

.filter-group.active .filter-list {
    display: block !important;
}

