/* Basic Styling */
.custom-section-1 {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background: #f3f3f3;
}

/* Slideshow Container */
.custom-slideshow-container {
    position: relative;
    width: 100%; /* Full width */
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    border-radius: 0; /* Ensure full-screen with no rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Individual Slides */
.custom-slide {
    display: none;
    position: absolute;
    width: 100%; /* Full container width */
    height: 100%; /* Full container height */
}

/* Ensure images cover the container */
.custom-slide img {
    width: 100%;
    height: 100%; /* Full container height */
    object-fit: cover; /* Maintain aspect ratio while filling the container */
}

/* Active slide class */
.custom-slide.show {
    display: block;
    animation: customSlideInEffect 0.8s forwards;
}

@keyframes customSlideInEffect {
    from { transform: translateX(100%); } /* Start off-screen */
    to { transform: translateX(0); } /* Slide into view */
}


/* Text Overlay */
.custom-text-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 16px;
    padding: 8px 12px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    width: auto;
}

/* Navigation Arrows */
.custom-prev, .custom-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    color: white;
    font-size: 20px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    user-select: none;
    z-index: 10;
}

.custom-prev { left: 10px; }
.custom-next { right: 10px; }

/* Dots */
.custom-dot-container {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.custom-dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.custom-active, .custom-dot:hover {
    background-color: #717171;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .custom-text-overlay {
        font-size: 14px;
        bottom: 15px;
        left: 15px;
    }

    .custom-prev, .custom-next {
        font-size: 18px;
        padding: 8px;
    }
}

@media screen and (max-width: 480px) {
    .custom-text-overlay {
        font-size: 12px;
        padding: 5px 10px;
    }

    .custom-prev, .custom-next {
        font-size: 16px;
        padding: 5px;
    }

    .custom-dot {
        height: 10px;
        width: 10px;
    }
}

 /* Basic Reset */
 .f1hy654fdvh564sd { margin: 0; padding: 10; box-sizing: border-box; }
 .f2hy123fdrt234sd { font-family: Arial, sans-serif; }

 /* Hero Banner */
 .h1fdg343kjf234gk {
     display: flex;
     align-items: center;
     justify-content: center;
     height: 80vh;
     background: url('../img/slide/1.jpg') no-repeat center/cover;
     color: white;
     text-align: center;
     padding: 20px;
 }
 .h2sfg235hr3k5j6k {
     max-width: 600px;
     background-color: rgba(0, 0, 0, 0.5);
     padding: 20px;
     border-radius: 5px;
 }
 .h3hsf534kj4k5j3k { font-size: 3em; margin-bottom: 10px; }
 .h4jfsd234j4k5k4j { font-size: 1.2em; }
 .btn234htr3j2kl4k {
     background: #ff6b6b;
     padding: 10px 20px;
     border: none;
     color: white;
     font-size: 1em;
     cursor: pointer;
     border-radius: 5px;
     margin-top: 15px;
     transition: background 0.3s;
 }
 .btn234htr3j2kl4k:hover { background: #ff5252; }

 /* Sections */
 .sec434j5k3h2j4h {
     padding: 40px 20px;
     max-width: 1200px;
     margin: 0 auto;
 }
 .sec-title3jk4h53g2k { text-align: center; margin-bottom: 20px; font-size: 2em; }

 /* Featured Products & New Arrivals */
 .prod-grid5y3h43k2j {
     display: grid;
     gap: 20px;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 }
 .prod-card2j3g43h2kj {
     background: #fff;
     border: 1px solid #ddd;
     padding: 15px;
     text-align: center;
     border-radius: 5px;
     transition: box-shadow 0.3s;
 }
 .prod-card2j3g43h2kj:hover { box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); }
 .prod-img53gk2k35j { width: 100%; height: 150px; object-fit: cover; border-radius: 5px; }
 .prod-title4h53k23jh { font-size: 1.2em; margin: 10px 0; }
 .prod-price2kjh5j34k { color: #777; font-size: 0.9em; }

 /* Categories */
 .cat-grid4j5k3hg34 {
     display: flex;
     gap: 20px;
     overflow-x: auto;
     padding: 10px;
 }
 .cat-card53kj42gh5 {
     min-width: 150px;
     background: #f0f0f0;
     text-align: center;
     padding: 20px;
     border-radius: 5px;
     transition: background 0.3s;
 }
 .cat-card53kj42gh5:hover { background: #ddd; }
 .cat-img3g4jk35jk { width: 100%; height: 100px; object-fit: cover; border-radius: 5px; }
 .cat-title3j4k2jkh { margin-top: 10px; font-size: 1em; }

 /* Testimonials */
 .testimonials5k4j3ghk2 { text-align: center; }
 .testimonial-card2jk3hg5j3k {
     display: inline-block;
     background: #fff;
     padding: 20px;
     border: 1px solid #ddd;
     border-radius: 5px;
     margin: 0 10px;
     max-width: 300px;
 }

 /* Newsletter Signup */
 .newsletter5kj3hg5j34 {
     background: #333;
     color: white;
     text-align: center;
     padding: 30px 20px;
     border-radius: 5px;
 }
 .newsletter-input3j5gh2j4 {
     padding: 10px;
     width: 70%;
     border: none;
     border-radius: 3px;
     margin-right: 10px;
 }
 .newsletter-btn23k4gh23 {
     padding: 10px 20px;
     border: none;
     background: #ff6b6b;
     color: white;
     border-radius: 3px;
     cursor: pointer;
     transition: background 0.3s;
 }
 .newsletter-btn23k4gh23:hover { background: #ff5252; }

 /* Responsive */
 @media (max-width: 768px) {
     .h3hsf534kj4k5j3k { font-size: 2em; }
     .prod-grid5y3h43k2j, .cat-grid4j5k3hg34 { grid-template-columns: 1fr 1fr; }
     .newsletter-input3j5gh2j4 { width: 60%; margin: 5px 0; }
 }

 /* Sales and Promotions */
.sec-sales2j5k4h2 { padding: 40px 20px; max-width: 1200px; margin: 0 auto; }
.sales-grid6k4j5k2 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.sales-card3j5k4j2 { background: #fff; border: 1px solid #ddd; padding: 15px; border-radius: 5px; text-align: center; transition: box-shadow 0.3s; }
.sales-img5j4k2h5 { width: 100%; height: 150px; object-fit: cover; border-radius: 5px; }
.sales-title2j5k4j3 { font-size: 1.5em; margin: 10px 0; }
.sales-price8h5j4h3 { font-size: 1.2em; color: #d9534f; margin: 10px 0; }
.sales-description4h5j2k3 { color: #555; margin-bottom: 15px; }
.sales-btn5j3k4h5 {
   background: #ff6b6b;
   padding: 10px 15px;
   border: none;
   color: white;
   font-size: 1em;
   cursor: pointer;
   border-radius: 5px;
   transition: background 0.3s;
}
.sales-btn5j3k4h5:hover { background: #ff5252; }
/* Festive Offers */
.sec-festive3d4g5k2 { padding: 40px 20px; max-width: 1200px; margin: 0 auto; background: #f9f9f9; border-radius: 5px; }
.sec-title3d2g4k5 { text-align: center; margin-bottom: 20px; font-size: 2.5em; color: #d9534f; }

.festive-grid4k2g3j2 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.festive-card3k4g5j2 { background: #fff; border: 1px solid #ddd; padding: 15px; border-radius: 5px; text-align: center; box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); transition: transform 0.3s; }
.festive-card3k4g5j2:hover { transform: translateY(-5px); }

.festive-img3j5k4g2 { width: 100%; height: 150px; object-fit: cover; border-radius: 5px; }
.festive-title3d5g4k2 { font-size: 1.5em; margin: 10px 0; color: #333; }
.festive-price5d3g2 { font-size: 1.2em; color: #d9534f; margin: 10px 0; }
.festive-description4g3k5d2 { color: #555; margin-bottom: 15px; }
.festive-btn3g5k2 {
   background: #ff6b6b;
   padding: 10px 15px;
   border: none;
   color: white;
   font-size: 1em;
   cursor: pointer;
   border-radius: 5px;
   transition: background 0.3s;
}
.festive-btn3g5k2:hover { background: #ff5252;
 }

body {
    margin: 0;
    padding: 0;
}

/* PORTO STYLE HEADER */

.porto-header {
    font-family: Arial, sans-serif;
    background: white;
}

/* TOP BAR */

.top-bar {
    background: #f5f5f5;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: auto;
    padding: 0 20px;
}

.left-contact {
    display: flex;
    gap: 20px;
    color: #444;
}

.left-contact a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.left-contact a:hover {
    color: #49a1dc;
}

.social-icons a {
    margin-left: 15px;
    font-size: 16px;
    color: #444;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #49a1dc;
}

/* MAIN HEADER */

.header-main {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.header-flex {
    max-width: 1300px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */

.logo img {
    height: 50px;
}

/* SEARCH */

.search-box {
    flex: 1;
    margin: 0 40px;
}

.search-box form {
    display: flex;
    border: 2px solid #49a1dc; /* Theme Primary */
    border-radius: 30px;
    overflow: hidden;
    height: 46px;
    background: #fff;
}

.search-box select {
    border: none;
    padding: 10px 20px;
    background: transparent;
    font-weight: 600;
    color: #444;
    border-right: 1px solid #eee;
    outline: none;
}

.search-box input {
    flex: 1;
    border: none !important;
    padding: 0 20px !important;
    outline: none !important;
    height: 100% !important;
    background: transparent !important;
    font-size: 14px;
}

.search-box button {
    background: transparent;
    color: #222;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-size: 18px;
}

.search-box button:hover {
    color: #49a1dc;
}

/* ICONS */

.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icons a {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

/* Circular Icon Style */
.header-icons a i {
    width: 42px;
    height: 42px;
    background: #f4f4f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #222;
    transition: 0.3s;
    margin-right: 8px; /* space between icon and text */
}

/* Hide text on smaller screens (optional, but requested for Porto) */
.header-icons a span {
    display: inline-block;
    font-weight: 600;
}
.header-icons a i { margin-right: 8px; }

.header-icons a:hover i {
    background: #49a1dc;
    color: white;
}

/* CART COUNT */

/* CART COUNT */

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #ff3131;
    color: white;
    font-size: 11px;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* MENU */

.header-menu {
    border-top: 1px solid #e7e7e7;
    background: white;
}

.header-menu .container {
    max-width: 1300px;
    margin: auto;
    padding: 0 20px;
}

.menu {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    gap: 20px;
    padding: 0;
    margin: 0;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}
.menu::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.menu li {
    list-style: none;
    white-space: nowrap;
}

.menu li a {
    display: inline-block;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    padding: 10px 0;
    position: relative;
    white-space: nowrap;
}

/* PORTO HERO BANNER SLIDER */

.porto-hero-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.porto-hero-slider {
    position: relative;
    width: 100%;
    margin: auto;
    max-height: 520px;
    overflow: hidden;
}

.porto-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.porto-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.porto-slide img.hero-bg-img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

/* Removed unused hero text styling */

/* Slider Navigation */
.porto-prev, .porto-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.porto-prev { left: 10px; }
.porto-next { right: 10px; }

.porto-prev:hover, .porto-next:hover {
    background: #49a1dc;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .porto-hero-slider {
        max-height: 300px;
    }
    .porto-slide img.hero-bg-img {
        max-height: 300px;
    }
}

.menu li a:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: #49a1dc;
    transition: width 0.3s;
}

.menu li a:hover {
    color: #49a1dc;
}

.menu li a:hover:after {
    width: 100%;
}

/* PORTO PRODUCT CARDS */

.porto-product-card {
    background: #fff;
    border: 1px solid #e7e7e7;
    position: relative;
    transition: box-shadow 0.3s, transform 0.3s;
    margin-bottom: 25px;
    border-radius: 3px;
    overflow: hidden;
    text-align: left;
}

.porto-product-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    z-index: 2;
}

.porto-product-img {
    position: relative;
    overflow: hidden;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdfdfd;
}

.porto-product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.porto-product-card:hover .porto-product-img img {
    transform: scale(1.05);
}

.porto-product-body {
    padding: 12px 16px !important;
}

.porto-product-category {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.porto-product-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
}

.porto-product-name a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s;
}

.porto-product-name a:hover {
    color: #49a1dc;
}

.porto-product-price-box {
    margin-bottom: 4px;
}

.porto-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #49a1dc;
    margin-right: 8px;
}

.porto-product-old-price {
    font-size: 14px;
    color: #999;
}

.porto-product-stock {
    font-size: 13px;
    color: #555;
    margin: 4px 0;
}

.porto-add-to-cart {
    background: #f8f8f8;
    padding: 12px;
    text-align: center;
    border-top: 1px solid #eee;
    transition: background 0.3s;
}

.porto-btn-cart {
    display: inline-block;
    background: #444;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 3px;
    text-decoration: none;
    transition: 0.3s;
    width: 100%;
}

.porto-btn-cart i {
    margin-right: 5px;
}

.porto-btn-cart:hover {
    background: #ff3131;
    color: #fff;
}

.porto-add-to-cart:hover {
    background: #fff;
}

/* PORTO PROMO BANNERS */

.porto-banner-section {
    padding: 30px 0;
    background: #fdfdfd;
}

.porto-promo-banner {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.porto-promo-banner img {
    width: 100%;
    transition: transform 0.5s ease, opacity 0.3s;
    display: block;
}

.porto-promo-banner:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

/* PORTO FOOTER */

.porto-footer-wrapper {
    background: #222;
    color: #999;
    padding-top: 50px;
}

.porto-footer-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.porto-footer-widget {
    margin-bottom: 30px;
}

.porto-footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.porto-footer-contact li {
    margin-bottom: 12px;
    display: flex;
}

.porto-footer-contact li i {
    width: 25px;
    font-size: 14px;
    color: #49a1dc;
    margin-top: 4px;
}

.porto-footer-contact li span {
    flex: 1;
    line-height: 1.6;
}

.porto-footer-contact a {
    color: #999;
    transition: 0.3s;
    text-decoration: none;
}

.porto-footer-contact a:hover {
    color: #49a1dc;
}

.porto-footer-social {
    margin-top: 20px;
}

.social-icon {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #333;
    color: #fff;
    border-radius: 50%;
    margin-right: 8px;
    transition: 0.3s;
}

.social-icon:hover {
    background: #49a1dc;
    color: #fff;
}

.porto-footer-links li {
    margin-bottom: 10px;
}

.porto-footer-links a {
    color: #999;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

.porto-footer-links a:hover {
    color: #49a1dc;
    transform: translateX(5px);
}

.newsletter-text {
    margin-bottom: 15px;
}

.porto-newsletter-form {
    display: flex;
}

.porto-newsletter-input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 3px 0 0 3px;
    background: #333;
    color: #fff;
}

.porto-newsletter-input:focus {
    outline: none;
}

.porto-newsletter-btn {
    padding: 10px 20px;
    border: none;
    background: #49a1dc;
    color: #fff;
    border-radius: 0 3px 3px 0;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

.porto-newsletter-btn:hover {
    background: #ff3131;
}

#porto-bottom-footer {
    background: #111;
    padding: 20px 0;
    margin-top: 20px;
}

.copyright {
    color: #777;
    font-size: 13px;
}

.footer-payments li {
    display: inline-block;
    color: #555;
    font-size: 24px;
    margin-left: 10px;
}

/* CATEGORY GRID */

.category-grid{
display:grid;
grid-template-columns: repeat(4,1fr);
gap:35px;
margin-top:30px;
}

.category-card{
text-align:center;
}

.category-card img{
width:110px;
height:110px;
border-radius:50%;
object-fit:cover;
border:3px solid #eee;
padding:4px;
transition:all .3s ease;
}

.category-card img:hover{
transform:scale(1.08);
box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

.category-card p{
margin-top:10px;
font-size:14px;
font-weight:600;
}

.category-card a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.category-card a:hover p {
    color: #49a1dc;
}

/* PRODUCTS GRID */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

/* Ensure product cards take full width of their grid cell */
.products-grid .porto-product-card {
    width: 100%;
    margin-bottom: 0;
}

/* MINIMAL PRODUCT CARD STYLES */

.product-card{
background:#fff;
border-radius:10px;
padding:15px;
box-shadow:0 6px 18px rgba(0,0,0,0.05);
display:flex;
flex-direction:column;
}

.product-card:hover{
transform:translateY(-6px);
box-shadow:0 15px 35px rgba(0,0,0,0.1);
}

.product-image{
width:100%;
height:220px;
display:flex;
align-items:center;
justify-content:center;
overflow:hidden;
}

.product-image a {
display:flex;
align-items:center;
justify-content:center;
width:100%;
height:100%;
}

.product-image img{
width: 100%;
height: 220px;
object-fit: contain;
}

.product-info {
display:flex;
flex-direction:column;
flex-grow: 1; /* Allows the info box to fill the remaining card height */
}

.product-title {
    font-size: 14px !important;
    line-height: 1.4 !important;
    min-height: 40px;
    height: 60px;
    margin: 5px 0 10px 0 !important;
    padding: 0 !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}
.product-title a {
    color: inherit !important;
    text-decoration: none !important;
}

.product-desc{
font-size:13px !important;
color:#777 !important;
margin: 10px 0 5px 0 !important; 
padding: 0 !important;
text-align: center;
}

.divider{
width:40px;
height:2px;
background:#ccc;
margin:15px auto;
}

.product-price{
display:flex;
align-items:center;
justify-content:center;
gap:8px;
font-size:16px;
font-weight:600;
color:#49a1dc;
min-height: 24px; /* Ensure space even if price is missing */
}

.product-price del{
font-size:13px;
color:#999;
}

/* Product title truncation - max 4 lines */
/* Product title truncation consolidated above */

/* product-image img rule consolidated above */

@media(max-width:1200px){
.products-grid{
grid-template-columns:repeat(4,1fr);
}
}

/* DEAL BANNER */
.fulfillflex-special-promo{
margin:30px 0;
}

.special-promo-img{
width:100%;
border-radius:8px;
display:block;
transition:transform .3s ease, box-shadow .3s ease;
}

.special-promo-img:hover{
transform:scale(1.01);
box-shadow:0 8px 24px rgba(0,0,0,0.12);
}

/* BRANDS SECTION - AUTO SCROLL */
.brand-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    width: 100%;
    margin-top: 30px;
}

.brand-track {
    display: flex;
    gap: 30px;
    animation: scrollLogos 25s linear infinite;
}

.brand-track:hover {
    animation-play-state: paused;
}

.brand-item {
    text-align: center;
    min-width: 120px;
}

.brand-item img {
    width: 80px;
    height: 45px;
    border-radius: 50%;
    object-fit: contain;
    border: 2px solid #eee;
    padding: 10px;
    background: #fff;
    margin: 0 25px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-item img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.brand-item p {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media(max-width: 768px) {
    .brand-track {
        gap: 20px;
    }
    .brand-item {
        min-width: 100px;
    }
    .brand-item img {
        width: 70px;
        height: 45px;
    }
}

/* SHOP UNDER PRICE - MODERN CARDS */
.price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.price-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
    text-align: center;
}

.price-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.price-card span {
    display: block;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.hero-bg-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.brand-slider {
    overflow: hidden;
}

.brand-item {
    min-width: 80px;
}

@media(max-width: 768px) {
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .price-card span {
        padding: 10px;
        font-size: 13px;
    }
    .price-card img {
        height: 100px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .product-card {
        padding: 8px;
    }
    .product-image {
        height: 130px;
        padding: 4px;
    }
    .product-image img {
        height: 120px;
    }
    .product-title {
        font-size: 13px;
        margin-top: 10px;
        line-height: 1.3;
    }
    .product-desc {
        font-size: 11px;
    }
    .product-price {
        font-size: 15px;
    }
    .product-add-to-cart {
        margin-top: 10px !important;
    }
    .porto-btn-cart {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .category-card {
        padding: 15px 10px;
    }
    .category-card img {
        width: 60px;
        height: 60px;
    }
    .category-card p {
        font-size: 13px;
    }
    .container {
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        width: 100% !important;
    }
    .header-menu {
        overflow-x: auto !important;
        white-space: nowrap !important;
    }
}

/* GLOBAL MOBILE FIXES */
body {
    overflow-x: hidden !important;
    width: 100% !important;
}

.container {
    max-width: 1300px;
    margin: auto;
    padding: 0 20px;
}

/* -----------------------------
   MOBILE SPECIFIC HEADER 
----------------------------- */
.mobile-header {
    display: none;
    background: #fff;
    padding: 10px 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.mobile-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mobile-logo img {
    height: 35px;
}

.mobile-search {
    flex: 1;
}

.mobile-search input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid #ddd;
}

@media(max-width: 768px) {
    .mobile-header {
        display: block;
    }
    .porto-header {
        display: none !important;
    }
}

/* -----------------------------
   LIVE SEARCH RESULTS
----------------------------- */
.search-results {
    position: absolute;
    background: #fff;
    width: 100%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 6px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 999;
    top: 100%; /* Push below search input */
    left: 0;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.search-item img {
    width: 40px;
    height: 40px;
    object-fit: contain; /* changed from cover to prevent cropping logos/products */
    background: #f9f9f9;
    border-radius: 4px;
}

.search-item:hover {
    background: #f6f6f6;
}

.search-item-name {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.search-item-price {
    font-weight: 700;
    color: #ff3131;
    font-size: 14px;
}

/* -----------------------------
   CART ICON 
----------------------------- */
.cart-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.cart-icon-box {
    position: relative;
    font-size: 18px;
}

.cart-text {
    font-size: 14px;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #ff3131;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* -----------------------------
   CATEGORY PAGE SIDEBAR FILTERS
----------------------------- */
.filter-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.filter-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.filter-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-body li {
    margin-bottom: 8px;
}

.filter-body label {
    cursor: pointer;
    font-size: 14px;
}

.price-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-filter input {
    width: 100%;
    padding: 6px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.price-filter button {
    background: #49a1dc;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
}

.sidebar {
    padding-right: 20px;
    position: sticky;
    top: 120px;
}

@media(max-width: 768px) {
    .sidebar {
        position: static;
        margin-bottom: 20px;
    }
}

/* -----------------------------
   MODERN PRODUCT DETAILS PAGE (MCN STYLE)
----------------------------- */
.product-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.product-gallery {
    display: flex;
    flex-wrap: wrap; /* Allowing wrap in case multiple images are rendered */
    gap: 10px;
}

.product-gallery img {
    cursor: pointer;
    width: 100%;
    border-radius: 8px;
    object-fit: contain;
}

.product-info {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.product-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-price {
    font-size: 26px;
    color: #49a1dc;
    font-weight: 600;
    margin: 10px 0;
}

.product-cart button {
    background: #ff3131;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: all 0.3s ease;
}

.product-cart button:hover {
    background: #e60000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 49, 49, 0.3);
}

.share-icons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.share-icons i {
    font-size: 16px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.share-icons i:hover {
    color: #49a1dc !important;
}

.thumbnail-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumbnail-images img {
    width: 60px;
    cursor: pointer;
    border-radius: 4px;
    object-fit: cover;
}

.product-add-to-cart {
    margin-top: auto !important;
    display: flex;
    justify-content: center;
    width: 100%;
}

.porto-btn-cart {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
    display: inline-block !important; /* ensure block styling despite inline styles */
    white-space: nowrap;
}

@media(max-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-page {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        gap: 20px;
    }
    .product-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
