/* Base Styles */
:root {
    --primary-color: #14c6c6;
    --secondary-color: #0dc2bc;
    --accent-color: #ff6600;
    --text-color: #333333;
    --light-text: #777777;
    --border-color: #e5e5e5;
    --light-bg: #f8f9fa;
    --dark-bg: #212529;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --radius: 4px;
    --container-width: 1200px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #eaf1f5;
}

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

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

ul {
    list-style: none;
}

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

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

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}

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

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

.btn-block {
    display: block;
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

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

.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-color);
}

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

.btn-outline-dark {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-outline-dark:hover {
    background-color: #fff;
    color: var(--text-color);
}

.btn-link {
    background-color: transparent;
    border-color: transparent;
    color: var(--primary-color);
    padding: 0.5rem 0;
    text-decoration: none;
}

.btn-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar a {
    color: #fff;
    margin-right: 20px;
}

.top-bar a:hover {
    color: rgba(255, 255, 255, 0.8);
}

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

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
}

.top-bar-right > * {
    margin-left: 20px;
}

.language-selector, .cart-info {
    cursor: pointer;
}

.language-selector i, .cart-info i {
    margin-left: 5px;
    font-size: 12px;
}

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

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

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

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

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

.header-icons {
    display: flex;
    align-items: center;
}

.header-icons a {
    color: var(--text-color);
    margin-left: 20px;
    font-size: 20px;
    position: relative;
}

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

.icon-badge {
    position: relative;
}

.icon-badge span {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Hero Section */
.hero-section {
    background-color: var(--light-bg);
    padding: 60px 0;
    position: relative;
}

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

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

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

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-height: 500px;
    object-fit: cover;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Services Section */
.services-section {
    padding: 40px 0;
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
}

.services-section .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-item {
    display: flex;
    align-items: center;
}

.service-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-right: 15px;
}

.service-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.service-content p {
    font-size: 14px;
    color: var(--light-text);
}

/* Categories Section */
.categories-section {
    padding: 60px 0;
}

.categories-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
}

.category-large {
    grid-column: 1;
    grid-row: 1 / span 2;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    height: 500px;
}

.category-small {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    height: 235px;
}

.category-medium {
    grid-column: 2;
    grid-row: 2;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    height: 235px;
}

.category-large img, .category-small img, .category-medium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-large:hover img, .category-small:hover img, .category-medium:hover img {
    transform: scale(1.05);
}

.category-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
}

.category-label {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
    background-color: var(--primary-color);
    padding: 5px 10px;
    border-radius: var(--radius);
}

.category-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.category-content p {
    margin-bottom: 20px;
}

.discount-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: var(--radius);
    font-weight: 600;
    z-index: 1;
}

/* Featured Products */
.featured-products {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.product-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--light-text);
    cursor: pointer;
    position: relative;
}

.tab-btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.tab-btn.active:after {
    width: 30px;
}

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

.product-card {
    background-color: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

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

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

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

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius);
}

.badge.new {
    background-color: var(--primary-color);
    color: #fff;
}

.badge.sale {
    background-color: var(--accent-color);
    color: #fff;
}

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.action-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: var(--light-text);
    margin-bottom: 5px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-title a {
    color: var(--text-color);
}

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

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.stars {
    color: #ffc107;
    margin-right: 5px;
}

.rating-count {
    font-size: 12px;
    color: var(--light-text);
}

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

.current-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

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

/* Promotional Banners */
.promo-banners {
    padding: 60px 0;
}

.promo-banners .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.promo-banner {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    height: 300px;
}

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

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

.promo-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
}

.promo-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.promo-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.promo-content p {
    margin-bottom: 20px;
}

/* Featured Categories */
.featured-categories {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.category-card {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

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

.category-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.category-card p {
    font-size: 14px;
    color: var(--light-text);
}

/* Newsletter */
.newsletter {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: #fff;
}

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

.newsletter-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.newsletter-content p {
    margin-bottom: 30px;
}

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

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
}

/* Footer */
.main-footer {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 60px 0 0;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-widget p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

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

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

.social-icons a:hover {
    background-color: var(--primary-color);
}

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

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

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

.payment-methods {
    display: flex;
    gap: 10px;
    font-size: 24px;
}

/* Page Header */
.page-header {
    background-color: var(--light-bg);
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 14px;
    color: var(--light-text);
}

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

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

/* Shop Page */
.shop-section {
    padding: 60px 0;
}

.shop-section .container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.shop-sidebar {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.widget {
    margin-bottom: 30px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
}

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

.category-list span {
    color: var(--light-text);
}

.price-range {
    margin-top: 15px;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-inputs input {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.checkbox-list label, .rating-list label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.checkbox-list input, .rating-list input {
    margin-right: 10px;
}

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

.shop-filters {
    display: flex;
    align-items: center;
    gap: 20px;
}

.view-switcher {
    display: flex;
    gap: 10px;
}

.view-switcher button {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--light-text);
    cursor: pointer;
}

.view-switcher button.active {
    color: var(--primary-color);
}

.sort-by select {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-color);
}

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

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background-color: #fff;
    color: var(--text-color);
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.pagination a:hover, .pagination a.active {
    background-color: var(--primary-color);
    color: #fff;
}

.prev-page, .next-page {
    font-size: 12px;
}

/* Product Detail */
.product-detail-section {
    padding: 60px 0;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.product-gallery {
    position: relative;
}

.main-image {
    position: relative;
    height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
}

.main-image img {
    width: 100%;
    height: 100%;
    margin-bottom: 30px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.thumbnail {
    height: 100px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.thumbnail.active, .thumbnail:hover {
    opacity: 1;
}

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

.product-info h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.product-availability {
    color: var(--success-color);
}

.product-price {
    margin-bottom: 20px;
}

.current-price {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.old-price {
    font-size: 18px;
    color: var(--light-text);
    text-decoration: line-through;
    margin-left: 10px;
}

.product-description {
    margin-bottom: 30px;
    color: var(--light-text);
}

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

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

.variation-group h4 {
    margin-bottom: 10px;
}

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

.color-option, .size-option {
    position: relative;
    cursor: pointer;
}

.color-option input, .size-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.color-circle {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: var(--transition);
}

.color-option input:checked + .color-circle {
    border-color: var(--primary-color);
}
/*there is a duplication battling or conlicting the mobile-menu toggle to work . fix that for me */
.size-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.size-option input:checked + span {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

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

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

.quantity-btn {
    width: 40px;
    height: 50px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.quantity-selector input {
    width: 60px;
    height: 50px;
    border: none;
    text-align: center;
    font-size: 16px;
}

.add-to-cart {
    flex: 1;
}

.wishlist-btn {
    width: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-meta-info {
    margin-bottom: 30px;
}

.product-meta-info p {
    margin-bottom: 10px;
    color: var(--light-text);
}

.product-meta-info p span:first-child {
    font-weight: 600;
    color: var(--text-color);
    margin-right: 10px;
}

.product-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-tabs {
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background-color: var(--light-bg);
}

.tabs-header .tab-btn {
    padding: 15px 30px;
    font-weight: 600;
}

.tab-pane {
    display: none;
    padding: 30px;
}

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

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

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

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

.specs-table td {
    padding: 15px 0;
}

.specs-table td:first-child {
    font-weight: 600;
    width: 30%;
}

.reviews-summary {
    display: flex;
    gap: 50px;
    margin-bottom: 40px;
}

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

.rating-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.rating-stars {
    margin-bottom: 10px;
    color: #ffc107;
}

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

.rating-bars {
    flex: 1;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-level {
    width: 60px;
}

.progress {
    flex: 1;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    margin: 0 15px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
}

.rating-percent {
    width: 40px;
    text-align: right;
}

.reviews-list {
    margin-bottom: 40px;
}

.review-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

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

.reviewer-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.reviewer-name {
    font-weight: 600;
}

.review-date {
    color: var(--light-text);
    font-size: 14px;
}

.review-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.review-content {
    color: var(--light-text);
    margin-bottom: 10px;
}

.review-form-wrapper {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: var(--radius);
}

.review-form-wrapper h3 {
    margin-bottom: 20px;
}

.rating-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.rating-selector .rating-stars {
    cursor: pointer;
}

.rating-selector .rating-stars i {
    margin-right: 5px;
}

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

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 16px;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.related-products {
    padding: 60px 0;
    background-color: var(--light-bg);
}

/* Cart Page */
.cart-section {
    padding: 60px 0;
}

.cart-empty {
    text-align: center;
    padding: 60px 0;
}

.empty-cart-icon {
    font-size: 80px;
    color: var(--light-text);
    margin-bottom: 20px;
}

.cart-empty h2 {
    margin-bottom: 10px;
}

.cart-empty p {
    color: var(--light-text);
    margin-bottom: 30px;
}

.cart-content {
    display: none;
}

.cart-table-wrapper {
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
}

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

.cart-table th {
    background-color: var(--light-bg);
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.cart-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

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

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

.cart-product-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-right: 15px;
}

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

.cart-product-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.cart-product-info p {
    font-size: 14px;
    color: var(--light-text);
}

.cart-quantity {
    width: 120px;
}

.remove-item {
    color: var(--danger-color);
    cursor: pointer;
}

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

.coupon {
    display: flex;
    gap: 10px;
}

.coupon input {
    width: 200px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 16px;
}

.update-cart {
    display: flex;
    gap: 10px;
}

.cart-summary-wrapper {
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.cart-summary {
    padding: 30px;
}

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

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-row.total {
    font-size: 20px;
    font-weight: 600;
}

.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shipping-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.btn-block {
    margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .services-section .container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .shop-section .container {
        grid-template-columns: 1fr;
    }
    
    .shop-sidebar {
        display: none;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }
    
    .top-bar .container {
        justify-content: center;
    }
    
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .categories-section .container {
        grid-template-columns: 1fr;
    }
    
    .category-large {
        grid-column: auto;
        grid-row: auto;
    }
    
    .promo-banners .container {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 20px;
    }
    
    .coupon {
        width: 100%;
    }
    
    .coupon input {
        flex: 1;
    }
    
    .update-cart {
        width: 100%;
    }
    
    .update-cart button {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .services-section .container {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-wrap: wrap;
    }
    
    .quantity-selector {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .add-to-cart {
        width: calc(100% - 65px);
    }
    
    .reviews-summary {
        flex-direction: column;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Add responsive grid layout for products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 15px;
}

@media (min-width: 576px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Adjust product card for better mobile display */
.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  background-color: #fff;
}

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

.product-image {
  position: relative;
  overflow: hidden;
  padding-top: 100%; /* 1:1 Aspect ratio */
}

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

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

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge.new {
  background-color: #007bff;
  color: white;
}

.badge.sale {
  background-color: #dc3545;
  color: white;
}

.badge.discount {
  background-color: #28a745;
  color: white;
}

.product-actions {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  transition: bottom 0.3s ease;
}

.product-card:hover .product-actions {
  bottom: 0;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: white;
  color: #333;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.action-btn:hover {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.product-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 12px;
  color: #777;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.product-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-title a {
  color: #333;
  text-decoration: none;
}

.product-title a:hover {
  color: #007bff;
}

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

.stars {
  color: #ffc107;
  margin-right: 5px;
}

.rating-count {
  font-size: 12px;
  color: #777;
}

.product-price {
  margin-top: auto;
  font-weight: 600;
}

.current-price {
  font-size: 18px;
  color: #333;
}

.old-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  margin-left: 5px;
}

/* Hero section styling */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: #f8f9fa;
}

.hero-container {
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .hero-container {
    flex-direction: row;
    align-items: center;
  }
}

.hero-content {
  padding: 30px 15px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .hero-content {
    padding: 50px 30px;
    text-align: left;
    margin: 0;
  }
}

.hero-content h3 {
  font-size: 18px;
  color: #007bff;
  margin-bottom: 10px;
  font-weight: 600;
}

.hero-content h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 48px;
  }
}

.hero-content p {
  font-size: 16px;
  color: #666;
  margin-bottom: 25px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

@media (min-width: 992px) {
  .hero-buttons {
    justify-content: flex-start;
  }
}

.hero-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  transition: opacity 0.5s ease;
}

/* Features section */
.features-section {
  padding: 40px 0;
  background-color: #fff;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 576px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .features-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-box {
  display: flex;
  align-items: center;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.feature-box:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 24px;
  color: #007bff;
  margin-right: 15px;
}

.feature-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.feature-content p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Category banners */
.category-banners {
  padding: 40px 0;
}

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

@media (min-width: 768px) {
  .banners-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .banners-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.banner-large {
  grid-column: 1 / -1;
}

@media (min-width: 992px) {
  .banner-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }
}

.category-banner {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 250px;
}

.banner-large {
  height: 520px;
}

@media (max-width: 991px) {
  .banner-large {
    height: 300px;
  }
}

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

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

.banner-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  color: white;
}

.banner-content h3 {
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.banner-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.banner-content .btn {
  align-self: flex-start;
}

/* Featured products section */
.featured-products {
  padding: 40px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #007bff;
}

.product-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  padding: 8px 15px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
  color: #007bff;
}

.tab-btn.active {
  font-weight: 600;
  position: relative;
}

.tab-btn.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: #007bff;
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 991px) {
  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    z-index: 1000;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    overflow-y: auto;
    display: block;
  }

  .main-nav.active {
    left: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav ul li {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }
}

/* Notification */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 15px;
  width: 300px;
  max-width: 100%;
  animation: slideIn 0.3s ease forwards;
}

.notification.fade-out {
  animation: slideOut 0.3s ease forwards;
}

.notification.success .notification-content i {
  color: #28a745;
}

.notification.error .notification-content i {
  color: #dc3545;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification-content i {
  font-size: 20px;
}

.notification-close {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #999;
}

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

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




@media (min-width: 576px) {
  .top-bar {
    font-size: 14px;
  }
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

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

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar a {
  color: white;
  text-decoration: none;
}

.top-bar a:hover {
  text-decoration: underline;
}

/* Add styles for main header */
.main-header {
  padding: 0;
  margin: 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo h1 {
  margin: 0;
  font-size: 24px;
}

.logo a {
  color: #333;
  text-decoration: none;
  font-weight: 700;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.main-nav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #007bff;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-icons a {
  color: #333;
  font-size: 18px;
  transition: color 0.3s ease;
}

.header-icons a:hover {
  color: #007bff;
}

.icon-badge {
  position: relative;
}

.icon-badge span {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #007bff;
  color: white;
  font-size: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Replace the existing products-grid styles with these improved responsive styles */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}

@media (min-width: 576px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (min-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Update product card styles for better mobile display */
.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.product-image {
  position: relative;
  overflow: hidden;
  padding-top: 100%; /* 1:1 Aspect ratio */
}

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

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

.product-badges {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.badge {
  display: inline-block;
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 3px;
  text-transform: uppercase;
}

@media (min-width: 576px) {
  .badge {
    padding: 4px 8px;
    font-size: 11px;
  }
}

@media (min-width: 768px) {
  .badge {
    padding: 4px 8px;
    font-size: 12px;
  }
}

.badge.new {
  background-color: #007bff;
  color: white;
}

.badge.sale {
  background-color: #dc3545;
  color: white;
}

.badge.discount {
  background-color: #28a745;
  color: white;
}

.product-actions {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 5px;
  background-color: rgba(255, 255, 255, 0.9);
  transition: bottom 0.3s ease;
}

@media (min-width: 576px) {
  .product-actions {
    gap: 8px;
    padding: 8px;
  }
}

.product-card:hover .product-actions {
  bottom: 0;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: white;
  color: #333;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  font-size: 12px;
}

@media (min-width: 576px) {
  .action-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .action-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

.action-btn:hover {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.product-info {
  padding: 8px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (min-width: 576px) {
  .product-info {
    padding: 10px;
  }
}

@media (min-width: 768px) {
  .product-info {
    padding: 15px;
  }
}

.product-category {
  font-size: 10px;
  color: #777;
  text-transform: uppercase;
  margin-bottom: 3px;
}

@media (min-width: 576px) {
  .product-category {
    font-size: 11px;
    margin-bottom: 4px;
  }
}

@media (min-width: 768px) {
  .product-category {
    font-size: 12px;
    margin-bottom: 5px;
  }
}

.product-title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (min-width: 576px) {
  .product-title {
    font-size: 14px;
    margin-bottom: 6px;
  }
}

@media (min-width: 768px) {
  .product-title {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.3;
  }
}

.product-title a {
  color: #333;
  text-decoration: none;
}

.product-title a:hover {
  color: #007bff;
}

.product-rating {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

@media (min-width: 768px) {
  .product-rating {
    margin-bottom: 8px;
  }
}

.stars {
  color: #ffc107;
  margin-right: 3px;
  font-size: 10px;
}

@media (min-width: 576px) {
  .stars {
    font-size: 11px;
    margin-right: 4px;
  }
}

@media (min-width: 768px) {
  .stars {
    font-size: 12px;
    margin-right: 5px;
  }
}

.rating-count {
  font-size: 9px;
  color: #777;
}

@media (min-width: 576px) {
  .rating-count {
    font-size: 10px;
  }
}

@media (min-width: 768px) {
  .rating-count {
    font-size: 12px;
  }
}

.product-price {
  margin-top: auto;
  font-weight: 600;
}

.current-price {
  font-size: 14px;
  color: #333;
}

@media (min-width: 576px) {
  .current-price {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  .current-price {
    font-size: 18px;
  }
}

.old-price {
  font-size: 11px;
  color: #999;
  text-decoration: line-through;
  margin-left: 3px;
}

@media (min-width: 576px) {
  .old-price {
    font-size: 12px;
    margin-left: 4px;
  }
}

@media (min-width: 768px) {
  .old-price {
    font-size: 14px;
    margin-left: 5px;
  }
}

/* Hero section styling */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: #f8f9fa;
}

.hero-container {
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .hero-container {
    flex-direction: row;
    align-items: center;
  }
}

.hero-content {
  padding: 30px 15px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .hero-content {
    padding: 50px 30px;
    text-align: left;
    margin: 0;
  }
}

.hero-content h3 {
  font-size: 18px;
  color: #007bff;
  margin-bottom: 10px;
  font-weight: 600;
}

.hero-content h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 48px;
  }
}

.hero-content p {
  font-size: 16px;
  color: #666;
  margin-bottom: 25px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

@media (min-width: 992px) {
  .hero-buttons {
    justify-content: flex-start;
  }
}

.hero-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  transition: opacity 0.5s ease;
}

/* Features section */
.features-section {
  padding: 40px 0;
  background-color: #fff;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 576px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .features-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-box {
  display: flex;
  align-items: center;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.feature-box:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 24px;
  color: #007bff;
  margin-right: 15px;
}

.feature-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.feature-content p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Update category banners for better mobile display */
.banners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 576px) {
  .banners-grid {
    gap: 15px;
  }
}

@media (min-width: 768px) {
  .banners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.banner-large {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .banner-large {
    grid-column: 1;
    grid-row: span 2;
  }
}

.category-banner {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 150px;
}

@media (min-width: 576px) {
  .category-banner {
    height: 180px;
  }
}

@media (min-width: 768px) {
  .category-banner {
    height: 200px;
  }
}

.banner-large {
  height: 200px;
}

@media (min-width: 576px) {
  .banner-large {
    height: 250px;
  }
}

@media (min-width: 768px) {
  .banner-large {
    height: 420px;
  }
}

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

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

.banner-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  color: white;
}

.banner-content h3 {
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.banner-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.banner-content .btn {
  align-self: flex-start;
}

/* Featured products section */
.featured-products {
  padding: 40px 0;
}

/* Add these new styles for a more modern and grand look */
.section-header {
  position: relative;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #007bff;
}

.product-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  padding: 8px 15px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
  color: #007bff;
}

.tab-btn.active {
  font-weight: 600;
  position: relative;
}

.tab-btn.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: #007bff;
}

/* Update featured categories for better mobile display */
.category-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 576px) {
  .category-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (min-width: 768px) {
  .category-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.category-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.category-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

@media (min-width: 576px) {
  .category-card img {
    height: 140px;
  }
}

@media (min-width: 768px) {
  .category-card img {
    height: 160px;
  }
}

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

.category-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.category-info h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

@media (min-width: 576px) {
  .category-info h3 {
    font-size: 16px;
    margin-bottom: 3px;
  }
}

.category-info p {
  font-size: 12px;
  color: #777;
  margin: 0;
}

@media (min-width: 576px) {
  .category-info p {
    font-size: 13px;
  }
}

/* Add styles for weekend sale section */
.weekend-sale {
  padding: 30px 0;
}

/* Add styles for newsletter section */
.newsletter {
  padding: 40px 0;
  background-color: #f8f9fa;
}

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

.newsletter-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.newsletter-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 576px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.newsletter-form button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #0069d9;
}

/* Update footer styles for better mobile display */
.footer-widgets {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
}

@media (min-width: 576px) {
  .footer-widgets {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-widgets {
    grid-template-columns: repeat(3, 1fr);
  }
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: #007bff;
  color: white;
  border: 2px solid #007bff;
}

.btn-primary:hover {
  background-color: #0069d9;
  border-color: #0069d9;
}

.btn-outline {
  background-color: transparent;
  color: #007bff;
  border: 2px solid #007bff;
}

.btn-outline:hover {
  background-color: #007bff;
  color: white;
}

.btn-light {
  background-color: white;
  color: #333;
  border: 2px solid white;
}

.btn-light:hover {
  background-color: transparent;
  color: white;
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 991px) {
  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background-color: white;
    z-index: 1000;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    overflow-y: auto;
  }

  .main-nav.active {
    left: 0;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav ul li {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }
}

/* Notification */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 15px;
  width: 300px;
  max-width: 100%;
  animation: slideIn 0.3s ease forwards;
}

.notification.fade-out {
  animation: slideOut 0.3s ease forwards;
}

.notification.success .notification-content i {
  color: #28a745;
}

.notification.error .notification-content i {
  color: #dc3545;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification-content i {
  font-size: 20px;
}

.notification-close {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #999;
}

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

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



/* Replace the existing products-grid styles with these improved responsive styles */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}

@media (min-width: 576px) {
  .products-grid {
    grid-template-columns: repeat(2 1fr);
    gap: 12px;
  }
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }
}

@media (min-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* Update product card styles for better mobile display */
.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.product-image {
  position: relative;
  overflow: hidden;
  padding-top: 100%; /* 1:1 Aspect ratio */
}

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

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

.product-badges {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.badge {
  display: inline-block;
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 3px;
  text-transform: uppercase;
}

@media (min-width: 576px) {
  .badge {
    padding: 4px 8px;
    font-size: 11px;
  }
}

@media (min-width: 768px) {
  .badge {
    padding: 4px 8px;
    font-size: 12px;
  }
}

.badge.new {
  background-color: #007bff;
  color: white;
}

.badge.sale {
  background-color: #dc3545;
  color: white;
}

.badge.discount {
  background-color: #28a745;
  color: white;
}

.product-actions {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 5px;
  background-color: rgba(255, 255, 255, 0.9);
  transition: bottom 0.3s ease;
}

@media (min-width: 576px) {
  .product-actions {
    gap: 8px;
    padding: 8px;
  }
}

.product-card:hover .product-actions {
  bottom: 0;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: white;
  color: #333;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  font-size: 12px;
}

@media (min-width: 576px) {
  .action-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .action-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

.action-btn:hover {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.product-info {
  padding: 8px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (min-width: 576px) {
  .product-info {
    padding: 10px;
  }
}

@media (min-width: 768px) {
  .product-info {
    padding: 15px;
  }
}

.product-category {
  font-size: 10px;
  color: #777;
  text-transform: uppercase;
  margin-bottom: 3px;
}

@media (min-width: 576px) {
  .product-category {
    font-size: 11px;
    margin-bottom: 4px;
  }
}

@media (min-width: 768px) {
  .product-category {
    font-size: 12px;
    margin-bottom: 5px;
  }
}

.product-title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (min-width: 576px) {
  .product-title {
    font-size: 14px;
    margin-bottom: 6px;
  }
}

@media (min-width: 768px) {
  .product-title {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.3;
  }
}

.product-title a {
  color: #333;
  text-decoration: none;
}

.product-title a:hover {
  color: #007bff;
}

.product-rating {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

@media (min-width: 768px) {
  .product-rating {
    margin-bottom: 8px;
  }
}

.stars {
  color: #ffc107;
  margin-right: 3px;
  font-size: 10px;
}

@media (min-width: 576px) {
  .stars {
    font-size: 11px;
    margin-right: 4px;
  }
}

@media (min-width: 768px) {
  .stars {
    font-size: 12px;
    margin-right: 5px;
  }
}

.rating-count {
  font-size: 9px;
  color: #777;
}

@media (min-width: 576px) {
  .rating-count {
    font-size: 10px;
  }
}

@media (min-width: 768px) {
  .rating-count {
    font-size: 12px;
  }
}

.product-price {
  margin-top: auto;
  font-weight: 600;
}

.current-price {
  font-size: 14px;
  color: #333;
}

@media (min-width: 576px) {
  .current-price {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  .current-price {
    font-size: 18px;
  }
}

.old-price {
  font-size: 11px;
  color: #999;
  text-decoration: line-through;
  margin-left: 3px;
}

@media (min-width: 576px) {
  .old-price {
    font-size: 12px;
    margin-left: 4px;
  }
}

@media (min-width: 768px) {
  .old-price {
    font-size: 14px;
    margin-left: 5px;
  }
}

/* Hero section styling */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 400px;
}

@media (min-width: 576px) {
  .hero-image-container {
    height: 450px;
  }
}

@media (min-width: 768px) {
  .hero-image-container {
    height: 500px;
  }
}

@media (min-width: 992px) {
  .hero-image-container {
    height: 600px;
  }
}

@media (min-width: 576px) {
  .hero-content h3 {
    font-size: 18px;
  }
}


@media (min-width: 576px) {
  .hero-content h1 {
    font-size: 42px;
  }
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 52px;
  }
}

.hero-content p {
  font-size: 14px;
  color: #fff;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

@media (min-width: 576px) {
  .hero-content p {
    font-size: 16px;
  }
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #fff;
  transform: scale(1.2);
}

/* Features section */
.features-section {
  padding: 40px 0;
  background-color: #fff;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 576px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .features-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-box {
  display: flex;
  align-items: center;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.feature-box:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 24px;
  color: #007bff;
  margin-right: 15px;
}

.feature-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.feature-content p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Update category banners for better mobile display */
.banners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 576px) {
  .banners-grid {
    gap: 15px;
  }
}

@media (min-width: 768px) {
  .banners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.banner-large {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .banner-large {
    grid-column: 1;
    grid-row: span 2;
  }
}

.category-banner {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 150px;
}

@media (min-width: 576px) {
  .category-banner {
    height: 180px;
  }
}

@media (min-width: 768px) {
  .category-banner {
    height: 200px;
  }
}

.banner-large {
  height: 200px;
}

@media (min-width: 576px) {
  .banner-large {
    height: 250px;
  }
}

@media (min-width: 768px) {
  .banner-large {
    height: 420px;
  }
}

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

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

.banner-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  color: white;
}

.banner-content h3 {
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.banner-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.banner-content .btn {
  align-self: flex-start;
}

/* Featured products section */
.featured-products {
  padding: 40px 0;
}

/* Add these new styles for a more modern and grand look */
.section-header {
  position: relative;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #007bff;
}

.product-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  padding: 8px 15px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
  color: #007bff;
}

.tab-btn.active {
  font-weight: 600;
  position: relative;
}

.tab-btn.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: #007bff;
}

/* Update featured categories for better mobile display */
.featured-categories {
  padding: 40px 0;
  background-color: #f8f9fa;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

@media (min-width: 576px) {
  .category-cards {
    gap: 20px;
  }
}

@media (min-width: 768px) {
  .category-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

.category-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: block;
  text-decoration: none;
  height: 180px;
}

@media (min-width: 576px) {
  .category-card {
    height: 200px;
  }
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

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

.category-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  text-align: center;
  color: white;
  transition: all 0.3s ease;
}

.category-card:hover .category-info {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding-bottom: 20px;
}

.category-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.category-info p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Add styles for weekend sale section */
.weekend-sale {
  padding: 30px 0;
}

/* Add styles for newsletter section */
.newsletter {
  padding: 40px 0;
  background-color: #f8f9fa;
}

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

.newsletter-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.newsletter-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 576px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.newsletter-form button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #0069d9;
}

/* Update footer styles for better mobile display */
.footer-widgets {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
}

@media (min-width: 576px) {
  .footer-widgets {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-widgets {
    grid-template-columns: repeat(4, 1fr);
  }
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: #007bff;
  color: white;
  border: 2px solid #007bff;
}

.btn-primary:hover {
  background-color: #0069d9;
  border-color: #0069d9;
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background-color: #fff;
  color: #007bff;
}

.btn-light {
  background-color: white;
  color: #333;
  border: 2px solid white;
}

.btn-light:hover {
  background-color: transparent;
  color: white;
}





.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}


@media (max-width: 768px) {
    .hero-section {
        height: 500px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 450px;
    }
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 600px;
    color: #fff;
    z-index: 2;
    padding: 20px;
}

@media (max-width: 992px) {
    .hero-content {
        left: 5%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 90%;
    }
}

.hero-content h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content h3 {
        font-size: 16px;
    }
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0;
}

@media (max-width: 576px) {
    .hero-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
}

.hero-buttons {
    display: flex;
    gap: 15px;
    opacity: 0;
}

@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

/* Modern Button Styling */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
    border: 2px solid #007bff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0069d9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Navigation Arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.hero-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

@media (max-width: 576px) {
    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Dots Navigation */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Animation Classes */
.slide-in-top {
    animation: slideInTop 1s forwards 0.2s;
}

.slide-in-right {
    animation: slideInRight 1s forwards 0.4s;
}

.slide-in-bottom {
    animation: slideInBottom 1s forwards 0.6s;
}

.fade-in {
    animation: fadeIn 1s forwards 0.8s;
}

@keyframes slideInTop {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInBottom {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* i dont want any space between the header and the hero images */


/* fix the mobile responsive issue  of the products thatb has been added to 
carts insidev the cart page*/

/* Responsive cart table for mobile */
@media (max-width: 768px) {
  .cart-table-wrapper {
    overflow-x: auto;
  }
  .cart-table {
    min-width: 600px;
    width: 100%;
    display: block;
  }
  .cart-table th,
  .cart-table td {
    white-space: nowrap;
    padding: 10px 8px;
    font-size: 14px;
  }
  .cart-product {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .cart-product-image {
    width: 60px;
    height: 60px;
    margin-right: 0;
    margin-bottom: 8px;
  }
  .cart-quantity {
    width: 90px;
  }
}

/* Stack cart summary and actions on mobile */
@media (max-width: 576px) {
  .cart-actions {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  .cart-summary-wrapper {
    margin-top: 20px;
  }
}


/* Fix: Add margin-bottom to product images in product details page to prevent overlap with buttons */

/*it looks like the products iamges inside ythe product details page are covers the buy now button and the add to cart button and the product details button so i will add a margin top to the product images inside the product details page*/
/* Replace the existing products-grid styles with these improved responsive styles */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}

@media (min-width: 576px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (min-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
}

/* Update product card styles for better mobile display */
.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.product-image {
  position: relative;
  overflow: hidden;
  padding-top: 100%; /* 1:1 Aspect ratio */
}

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

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

.product-badges {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.badge {
  display: inline-block;
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 3px;
  text-transform: uppercase;
}

@media (min-width: 576px) {
  .badge {
    padding: 4px 8px;
    font-size: 11px;
  }
}

@media (min-width: 768px) {
  .badge {
    padding: 4px 8px;
    font-size: 12px;
  }
}

.badge.new {
  background-color: #007bff;
  color: white;
}

.badge.sale {
  background-color: #dc3545;
  color: white;
}

.badge.discount {
  background-color: #28a745;
  color: white;
}

.product-actions {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 5px;
  background-color: rgba(255, 255, 255, 0.9);
  transition: bottom 0.3s ease;
}

@media (min-width: 576px) {
  .product-actions {
    gap: 8px;
    padding: 8px;
  }
}

.product-card:hover .product-actions {
  bottom: 0;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: white;
  color: #333;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  font-size: 12px;
}

@media (min-width: 576px) {
  .action-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .action-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

.action-btn:hover {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.product-info {
  padding: 8px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (min-width: 576px) {
  .product-info {
    padding: 10px;
  }
}

@media (min-width: 768px) {
  .product-info {
    padding: 15px;
  }
}

.product-category {
  font-size: 10px;
  color: #777;
  text-transform: uppercase;
  margin-bottom: 3px;
}

@media (min-width: 576px) {
  .product-category {
    font-size: 11px;
    margin-bottom: 4px;
  }
}

@media (min-width: 768px) {
  .product-category {
    font-size: 12px;
    margin-bottom: 5px;
  }
}

.product-title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (min-width: 576px) {
  .product-title {
    font-size: 14px;
    margin-bottom: 6px;
  }
}

@media (min-width: 768px) {
  .product-title {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.3;
  }
}

.product-title a {
  color: #333;
  text-decoration: none;
}

.product-title a:hover {
  color: #007bff;
}

.product-rating {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

@media (min-width: 768px) {
  .product-rating {
    margin-bottom: 8px;
  }
}

.stars {
  color: #ffc107;
  margin-right: 3px;
  font-size: 10px;
}

@media (min-width: 576px) {
  .stars {
    font-size: 11px;
    margin-right: 4px;
  }
}

@media (min-width: 768px) {
  .stars {
    font-size: 12px;
    margin-right: 5px;
  }
}

.rating-count {
  font-size: 9px;
  color: #777;
}

@media (min-width: 576px) {
  .rating-count {
    font-size: 10px;
  }
}

@media (min-width: 768px) {
  .rating-count {
    font-size: 12px;
  }
}

.product-price {
  margin-top: auto;
  font-weight: 600;
}

.current-price {
  font-size: 14px;
  color: #333;
}

@media (min-width: 576px) {
  .current-price {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  .current-price {
    font-size: 18px;
  }
}

.old-price {
  font-size: 11px;
  color: #999;
  text-decoration: line-through;
  margin-left: 3px;
}

@media (min-width: 576px) {
  .old-price {
    font-size: 12px;
    margin-left: 4px;
  }
}

@media (min-width: 768px) {
  .old-price {
    font-size: 14px;
    margin-left: 5px;
  }
}

/* Hero section styling */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 400px;
}

@media (min-width: 576px) {
  .hero-image-container {
    height: 450px;
  }
}

@media (min-width: 768px) {
  .hero-image-container {
    height: 500px;
  }
}

@media (min-width: 992px) {
  .hero-image-container {
    height: 600px;
  }
}

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

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

.hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: center;
  color: white;
  padding: 0 20px;
  z-index: 2;
}

.hero-content h3 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 576px) {
  .hero-content h3 {
    font-size: 18px;
  }
}

.hero-content h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
}

@media (min-width: 576px) {
  .hero-content h1 {
    font-size: 42px;
  }
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 52px;
  }
}

.hero-content p {
  font-size: 14px;
  color: #fff;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

@media (min-width: 576px) {
  .hero-content p {
    font-size: 16px;
  }
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #fff;
  transform: scale(1.2);
}

/* Features section */
.features-section {
  padding: 40px 0;
  background-color: #fff;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 576px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .features-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-box {
  display: flex;
  align-items: center;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.feature-box:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 24px;
  color: #007bff;
  margin-right: 15px;
}

.feature-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.feature-content p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Update category banners for better mobile display */
.banners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 576px) {
  .banners-grid {
    gap: 15px;
  }
}

@media (min-width: 768px) {
  .banners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.banner-large {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .banner-large {
    grid-column: 1;
    grid-row: span 2;
  }
}

.category-banner {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 150px;
}

@media (min-width: 576px) {
  .category-banner {
    height: 180px;
  }
}

@media (min-width: 768px) {
  .category-banner {
    height: 200px;
  }
}

.banner-large {
  height: 200px;
}

@media (min-width: 576px) {
  .banner-large {
    height: 250px;
  }
}

@media (min-width: 768px) {
  .banner-large {
    height: 420px;
  }
}

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

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

.banner-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  color: white;
}

.banner-content h3 {
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.banner-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.banner-content .btn {
  align-self: flex-start;
}

/* Featured products section */
.featured-products {
  padding: 40px 0;
}

/* Add these new styles for a more modern and grand look */
.section-header {
  position: relative;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #007bff;
}

.product-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  padding: 8px 15px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
  color: #007bff;
}

.tab-btn.active {
  font-weight: 600;
  position: relative;
}

.tab-btn.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: #007bff;
}

/* Update featured categories for better mobile display */
.featured-categories {
  padding: 40px 0;
  background-color: #f8f9fa;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

@media (min-width: 576px) {
  .category-cards {
    gap: 20px;
  }
}

@media (min-width: 768px) {
  .category-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

.category-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: block;
  text-decoration: none;
  height: 180px;
}

@media (min-width: 576px) {
  .category-card {
    height: 200px;
  }
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

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

.category-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  text-align: center;
  color: white;
  transition: all 0.3s ease;
}

.category-card:hover .category-info {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding-bottom: 20px;
}

.category-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.category-info p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Add styles for weekend sale section */
.weekend-sale {
  padding: 30px 0;
}

/* Add styles for newsletter section */
.newsletter {
  padding: 40px 0;
  background-color: #f8f9fa;
}

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

.newsletter-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.newsletter-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 576px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.newsletter-form button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #0069d9;
}

/* Update footer styles for better mobile display */
.footer-widgets {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
}

@media (min-width: 576px) {
  .footer-widgets {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-widgets {
    grid-template-columns: repeat(3, 1fr);
  }
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: #007bff;
  color: white;
  border: 2px solid #007bff;
}

.btn-primary:hover {
  background-color: #0069d9;
  border-color: #0069d9;
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background-color: #fff;
  color: #007bff;
}

.btn-light {
  background-color: white;
  color: #333;
  border: 2px solid white;
}

.btn-light:hover {
  background-color: transparent;
  color: white;
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 991px) {
  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background-color: white;
    z-index: 1000;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    overflow-y: auto;
  }

  .main-nav.active {
    left: 0;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav ul li {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }
}

/* Notification */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 15px;
  width: 300px;
  max-width: 100%;
  animation: slideIn 0.3s ease forwards;
}

.notification.fade-out {
  animation: slideOut 0.3s ease forwards;
}

.notification.success .notification-content i {
  color: #28a745;
}

.notification.error .notification-content i {
  color: #dc3545;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification-content i {
  font-size: 20px;
}

.notification-close {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #999;
}

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

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

/* Buy Now button styles */
.btn-secondary {
  background-color: #28a745;
  color: white;
  border: 2px solid #28a745;
}

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

.action-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .action-buttons {
    flex-direction: column;
  }

  .action-buttons .btn {
    width: 100%;
  }
}

/* Add styles for product detail page buttons */
.product-actions {
  margin-top: 25px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  max-width: 150px;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  background: #f8f9fa;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.quantity-btn:hover {
  background: #e9ecef;
}

.quantity-selector input {
  width: 70px;
  height: 40px;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  text-align: center;
  font-size: 16px;
}

.quantity-selector input:focus {
  outline: none;
}

.action-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.action-buttons .btn {
  padding: 12px 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background-color: #007bff;
  color: white;
  border: 2px solid #007bff;
}

.btn-primary:hover {
  background-color: #0069d9;
  border-color: #0069d9;
}

.btn-secondary {
  background-color: #28a745;
  color: white;
  border: 2px solid #28a745;
}

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

.btn-outline {
  background-color: transparent;
  color: #333;
  border: 2px solid #ddd;
  width: 46px;
  height: 46px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-outline:hover {
  background-color: #f8f9fa;
  border-color: #ccc;
}

/* Responsive styles for buttons */
@media (max-width: 576px) {
  .action-buttons {
    flex-direction: column;
  }

  .action-buttons .btn {
    width: 100%;
  }

  .btn-outline {
    width: 100%;
    height: 46px;
  }
}

/* Product detail page styles */
.product-detail-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .product-detail-content {
    grid-template-columns: 1fr 1fr;
  }
}

.product-gallery {
  position: relative;
}

.main-image {
  position: relative;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-image img {
  width: 100%;
  height: auto;
  display: block;
}

.thumbnail-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.thumbnail {
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail.active {
  border-color: #007bff;
}

.thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.product-info h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

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

.product-price {
  margin-bottom: 15px;
}

.current-price {
  font-size: 24px;
  font-weight: 700;
  color: #333;
}

.old-price {
  font-size: 18px;
  color: #999;
  text-decoration: line-through;
  margin-left: 10px;
}

.product-description {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #666;
}

.product-meta {
  margin-bottom: 20px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.meta-item {
  margin-bottom: 8px;
}

.meta-label {
  font-weight: 600;
  margin-right: 5px;
}

.product-variations {
  margin-bottom: 20px;
}

.variation-group h4 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

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

.color-option {
  cursor: pointer;
  position: relative;
}

.color-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.color-option span {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #eee;
  transition: all 0.3s ease;
}

.color-option input:checked + span {
  transform: scale(1.1);
  border-color: #333;
}

.product-share {
  display: flex;
  align-items: center;
  margin-top: 25px;
}

.product-share span {
  margin-right: 15px;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f8f9fa;
  color: #333;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: #007bff;
  color: white;
}

/* Product tabs */
.product-tabs {
  margin-bottom: 40px;
}

.tabs-header {
  display: flex;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
  overflow-x: auto;
  white-space: nowrap;
}

.tab-btn {
  padding: 12px 20px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.tab-btn.active,
.tab-btn:hover {
  color: #007bff;
}

.tab-btn.active:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #007bff;
}

.tab-panel {
  display: none;
}

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

.tab-content {
  line-height: 1.6;
  color: #666;
}

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

.specs-table tr:nth-child(odd) {
  background-color: #f8f9fa;
}

.specs-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

.specs-table td:first-child {
  font-weight: 600;
  width: 30%;
}

/* Reviews */
.reviews-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.average-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rating-number {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.rating-stars {
  margin-bottom: 5px;
  font-size: 18px;
}

.rating-count {
  color: #666;
  font-size: 14px;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-item {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

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

.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #999;
}

.reviewer-details h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
  font-weight: 600;
}

.review-date {
  color: #999;
  font-size: 14px;
}

.review-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.review-content {
  line-height: 1.6;
  color: #666;
}

.no-reviews {
  text-align: center;
  padding: 30px;
  color: #999;
  font-style: italic;
}

/* Related products */
.related-products {
  margin-bottom: 40px;
}

.related-products h2 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
}





