/* Global Styles */
:root {
    --primary: #ff6a00; /* Orange */
    --secondary: #28A745; /* Green */
    --accent: #007BFF; /* Blue */
    --light-gray: #ffffff; /* Light Gray */
    --dark-gray: #6C757D; /* Dark Gray */
    --white: #ffffff;
    --black: #212529;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--black);
    line-height: 1.6;
    background-color: var(--light-gray);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.btn:hover {
    background-color: #e05d00;
    transform: translateY(-2px);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--black);
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    margin: 10px auto;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 60px; /* Increased logo size */
    width: auto;
}

.logo h1 {
    color: var(--primary);
    font-size: 2.2rem; /* Increased font size */
    font-weight: 700;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    font-weight: 500;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: 5px;
    padding: 10px 0;
    width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    display: inline;
}

nav ul li:hover .dropdown {
    opacity: 1;
    visibility: visible;
}

.dropdown li {
    margin: 0;
    padding: 8px 15px;
}

.dropdown li a {
    display:block;
    color: var(--dark-gray);
}

.dropdown li a:hover {
    color: var(--primary);
    background-color: var(--light-gray);
}

#cart-count {
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8rem;
    margin-left: 5px;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--black);
}

/* Search Bar */
.search-bar {
    position: relative;
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.search-input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px 0 0 20px;
    width: 200px;
    transition: var(--transition);
    height: 40px;
}

.search-input:focus {
    width: 250px;
    outline: none;
    border-color: var(--primary);
}

.search-btn {
    height: 40px;
    width: 40px;
    background-color: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
    border-radius: 0 20px 20px 0;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background-color: #e05d00;
    border-color: #e05d00;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: 5px;
    margin-top: 5px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.search-bar.active .search-results {
    display: block;
}

.search-result-item {
    display: flex;
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    background-color: var(--light-gray);
}

.search-result-image {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.search-result-info h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.search-result-price {
    display: flex;
    align-items: center;
}

.search-result-price .current-price {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-right: 8px;
}

.search-result-price .original-price {
    font-size: 0.8rem;
    text-decoration: line-through;
    color: var(--dark-gray);
}

.search-placeholder, .no-results {
    padding: 15px;
    text-align: center;
    color: var(--dark-gray);
}

.search-more-results {
    padding: 10px;
    text-align: center;
    background-color: var(--light-gray);
    color: var(--primary);
    font-weight: 500;
}

/* Hero Section - Improved Responsive Advert Slider */




.hero {
    padding: 20px 0;
    background-color: #5c0000; /* Added background color to hero area */
    margin-top: auto;
    
}

.advert-slider {
    position: relative;
    width: 80%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    aspect-ratio: 16/9; /* Maintain aspect ratio */
    max-height: 450px; /* Slightly reduced slide size */
    margin: 0 auto;
    background-color: #550008;
}



.slides-container {
    position: relative;
    width: 80%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

/*.slide img {
    width: 80%;
    height: 100%;
    object-fit: cover; /* This ensures images cover the container while maintaining aspect ratio 
    object-position: center;
} */

#ad2 {
    width: 100%;
    height: 99%;
    /*object-fit:;  This ensures images cover the container while maintaining aspect ratio*/ 
    object-position: center;
}



#ad5 {
    width: 100%;
    height: 60%;
    /*object-fit:;  This ensures images cover the container while maintaining aspect ratio*/ 
    object-position: center;
}

#ad6 {
    width: 100%;
    height: 60%;
    /*object-fit:;  This ensures images cover the container while maintaining aspect ratio*/ 
    object-position: center;
}

#ad3 {
    width: 100%;
    height:100%;
    /*object-fit:;  This ensures images cover the container while maintaining aspect ratio*/ 
    
}





.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 10;
}

.slider-controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.slider-controls button:hover {
    background-color: var(--primary);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--white);
}

/* Categories Section */
.categories {
    padding: 60px 0;
    background-color: rgba(255, 94, 0, 0.897); /* Changed to orange (logo color) */
    border-radius: 10px;
    margin: 20px 0;
}

.categories-section-title {
    background-color: rgba(247, 247, 247, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 30px;

}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid #eee;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.category-info {
    padding: 15px;
}

.category-info h3 {
    margin-bottom: 10px;
    color: var(--black);
}

.section-title {
    color: var(--white);
}

.view-more {
    color: var(--black);
    font-weight: 500;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 5px;
}

.view-more:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.3);
}

/* Promotional Flyer */
.promo-flyer {
    padding: 5px 0;
    background-color: #ffffff;
    border-radius: 10px;
    margin: 20px 0;
}

.flyer {
      position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.flyer img { 
      position: relative;
    width:80%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Featured Products */
.featured-products {
    padding: 60px 0;
    background-color: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    cursor: pointer;
}

.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);
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--secondary);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-info {
    padding: 15px;
}

.product-name {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--black);
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.current-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-right: 10px;
}

.original-price {
    font-size: 1rem;
    text-decoration: line-through;
    color: var(--dark-gray);
}

.product-description {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.add-cart-btn {
    width: 100%;
    padding: 10px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.add-cart-btn:hover {
    background-color: #e05d00;
}

/* Category Page */
.category-header {
    padding: 30px 0;
    background-color: var(--white);
    margin-bottom: 30px;
    text-align: center;
}

.category-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--black);
}

.category-header p {
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

.filters {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
}

.filter-group select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: var(--white);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
}

.pagination button {
    padding: 8px 15px;
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.pagination button:hover:not(:disabled) {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Product Page */
.product-details-page {
    padding: 60px 0;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

#product-gallery {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--box-shadow);
}

.main-image {
    width: 100%;
    height: 400px;
    margin-bottom: 15px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.thumbnail.active {
    border-color: var(--primary);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--box-shadow);
}

.product-details h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--black);
}

.price-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
    flex-wrap: wrap;
}

#current-price {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary);
}

#original-price {
    font-size: 1.4rem;
    text-decoration: line-through;
    color: var(--dark-gray);
}

#discount {
    background-color: var(--secondary);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.product-description {
    margin-bottom: 20px;
    color: var(--dark-gray);
    line-height: 1.8;
}

.product-specs {
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.spec-item strong {
    min-width: 120px;
    color: var(--black);
}

.quantity-control {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.quantity-control button {
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border: 1px solid #ddd;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-control button:hover {
    background-color: #e9ecef;
}

.quantity-control input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    font-size: 1rem;
}

.related-products {
    margin-top: 60px;
}

.related-products h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--black);
    text-align: center;
}

/* Cart Page */
.cart-page {
    padding: 60px 0;
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.cart-items {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--box-shadow);
}

.cart-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    margin-right: 15px;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--black);
}

.cart-item-price {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.remove-item {
    color: #dc3545;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.remove-item:hover {
    color: #c82333;
}

.empty-cart {
    text-align: center;
    padding: 40px 0;
}

.empty-cart p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.empty-cart p:first-child {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.empty-cart p:nth-child(2) {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.continue-shopping {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 5px;
    transition: var(--transition);
}

.continue-shopping:hover {
    background-color: #e05d00;
}

.cart-summary {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--box-shadow);
    align-self: start;
    position: sticky;
    top: 100px;
}

.cart-summary h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--black);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.summary-item:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: 1.2rem;
}

#checkout-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
}

#checkout-btn1 {
    width: 50%;
    padding: 8px;
    background-color: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

#checkout-btn:hover {
    background-color: #218838;
}
#checkout-btn1:hover {
    background-color: #95f158;
}

/* Contact Page */
.contact-page {
    padding: 60px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--black);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-detail i {
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--primary);
    flex-shrink: 0;
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--white);
}

.contact-form {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--black);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--black);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
}

.footer-column h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    margin-top: 10px;
}

.footer-column p {
    margin-bottom: 15px;
    color: #ced4da;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ced4da;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #495057;
    color: #ced4da;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--secondary);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* FAB Container Styles */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fab-main {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.fab-whatsapp {
    background-color: #25D366; /* WhatsApp green */
}

.fab-call {
    background-color: var(--accent); /* Blue */
}

.fab-main:hover {
    transform: scale(1.1);
}

.fab-whatsapp:hover {
    background-color: #128C7E; /* Darker WhatsApp green */
}

.fab-call:hover {
    background-color: #0069d9; /* Darker blue */
}

.fab-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.fab-cart-container {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
}

.fab-container.cart-active .fab-cart-container {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.fab-cart-header h3 {
    font-size: 1.2rem;
    color: var(--black);
}

.fab-cart-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--dark-gray);
}

.fab-cart-items {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.fab-cart-item {
    display: flex;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.fab-cart-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.fab-cart-item-image {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    flex-shrink: 0;
}

.fab-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.fab-cart-item-details {
    flex: 1;
}

.fab-cart-item-name {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--black);
}

.fab-cart-item-price {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.fab-cart-summary {
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.fab-cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: 600;
}

.fab-cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fab-cart-buttons .btn {
    text-align: center;
    padding: 8px 15px;
    font-size: 0.9rem;
}

.empty-fab-cart {
    text-align: center;
    padding: 20px 0;
    color: var(--dark-gray);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
    
    .advert-slider {
        max-height: 400px;
    }
}

@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-column {
        width: 100%;
    }
    
    .advert-slider {
        max-height: 380px;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-container {
        grid-template-columns: 1fr;
    }
    
    .cart-container {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .logo {
        order: 1;
    }
    
    .logo img {
        height: 50px; /* Adjusted for mobile */
    }
    
    .logo h1 {
        font-size: 1.8rem; /* Adjusted for mobile */
    }
    
    .mobile-menu {
        display: block;
        order: 2;
    }
    
    nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav ul li {
        margin: 10px 0;
        width: 100%;
    }
    
    .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        margin-top: 10px;
        display: none;
    }
    
    nav ul li:hover .dropdown {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    
    .search-bar {
        order: 4;
        margin: 15px 0 0;
        width: 100%;
    }
    
    .search-input {
        width: 100%;
    }
    
    .search-input:focus {
        width: 100%;
    }
    
    .advert-slider {
        max-height: 300px;
        aspect-ratio: 16/9;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-group {
        width: 100%;
        justify-content: space-between;
    }
    
    .main-image {
        height: 300px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .fab-container {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-main {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .fab-cart-container {
        width: 280px;
        right: -20px;
    }
    
    .slider-controls button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    .advert-slider {
        max-height: 220px;
        aspect-ratio: 16/9;
    }
    
    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        flex-direction: column;
    }
    
    .cart-item-image {
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cart-item-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .quantity-control {
        margin-bottom: 0;
    }
    
    .fab-container {
        bottom: 15px;
        right: 15px;
    }
    
    .fab-main {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .fab-cart-container {
        width: 260px;
        right: -15px;
    }
    
    .slider-controls {
        padding: 0 10px;
    }
    
    .slider-controls button {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .slider-dots {
        bottom: 10px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 400px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }
    
    .advert-slider {
        max-height: 180px;
        aspect-ratio: 16/9;
    }
    
    .product-image {
        height: 180px;
    }
    
    .main-image {
        height: 250px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .fab-container {
        bottom: 10px;
        right: 10px;
    }
    
    .fab-cart-container {
        width: 240px;
    }
    
    .logo {
        gap: 8px;
    }
    
    .logo img {
        height: 45px;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
}