.top-banner,
.header,
.hero-banner,
.shop-section,
.footer,
.modal {
    font-family: 'Raleway', sans-serif;
}

body {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: #cb8161;
}

ul {
    list-style: none;
}

/* Top Banner */
.top-banner {
    background-color: #00e676;
    color: #ffffff;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
}

.banner-content {
    display: inline-block;
    padding-left: 100%;
    animation: scrollBanner 20s linear infinite;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
}

@keyframes scrollBanner {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

/* Bottom Promo Bar */
.bottom-promo-bar {
    background-color: #0b3b60;
    color: #ffffff;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottom-promo-content {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center;
}

/* Header */
.header {
    background-color: #ffffff;
    padding: 0 40px;
    height: 90px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 30px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    text-transform: capitalize;
    font-size: 15px;
    color: #666;
}

.main-nav a.active,
.main-nav a:hover {
    color: #222222;
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-icons a {
    font-size: 14px;
    color: #222222;
    font-weight: 500;
}

.header-icons a i {
    margin-right: 5px;
}

.menu-toggle {
    display: none;
}

/* Hero Banner */
.hero-banner {
    width: 100%;
    background-color: #0b3b60;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.banner-img-container {
    position: relative;
    width: 100%;
    line-height: 0;
    font-size: 0;
    aspect-ratio: 1920 / 727;
    overflow: hidden;
    background-color: #0b3b60;
}

.banner-img-link,
.banner-img-link picture {
    display: block;
    width: 100%;
    height: 100%;
}

.main-banner-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    will-change: transform, opacity;
}

.slide-1 {
    animation: slideFade1 15s infinite;
}

.slide-2 {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: slideFade2 15s infinite;
}

.slide-3 {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: slideFade3 15s infinite;
}

/* Slide wrappers for per-slide CTA buttons */
.slide-wrapper {
    position: relative;
    width: 100%;
}

.slide-wrapper-2,
.slide-wrapper-3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.slide-wrapper-1 {
    animation: slideWrapper1 15s infinite;
}

.slide-wrapper-2 {
    animation: slideWrapper2 15s infinite;
}

.slide-wrapper-3 {
    animation: slideWrapper3 15s infinite;
}

@keyframes slideWrapper1 {

    0%,
    26.66% {
        pointer-events: all;
    }

    33.33%,
    100% {
        pointer-events: none;
    }
}

@keyframes slideWrapper2 {

    0%,
    33.32% {
        pointer-events: none;
    }

    33.33%,
    60% {
        pointer-events: all;
    }

    66.66%,
    100% {
        pointer-events: none;
    }
}

@keyframes slideWrapper3 {

    0%,
    66.65% {
        pointer-events: none;
    }

    66.66%,
    93.33% {
        pointer-events: all;
    }

    100% {
        pointer-events: none;
    }
}

.banner-cta {
    position: absolute;
    bottom: 20%;
    left: 8%;
    padding: 22px 55px;
    background-color: #00e676;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 20;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.banner-cta:hover {
    background-color: #222222;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 230, 118, 0.4);
}

/* Per-slide CTA opacity synced with slide animations */
.cta-1 {
    animation: ctaFade1 15s infinite;
}

.cta-2 {
    animation: ctaFade2 15s infinite;
    opacity: 0;
}

.cta-3 {
    animation: ctaFade3 15s infinite;
    opacity: 0;
}

@keyframes ctaFade1 {

    0%,
    26.66% {
        opacity: 1;
    }

    33.33%,
    100% {
        opacity: 0;
    }
}

@keyframes ctaFade2 {

    0%,
    33.32% {
        opacity: 0;
    }

    33.33%,
    60% {
        opacity: 1;
    }

    66.66%,
    100% {
        opacity: 0;
    }
}

@keyframes ctaFade3 {

    0%,
    66.65% {
        opacity: 0;
    }

    66.66%,
    93.33% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes slideFade1 {
    0% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }

    26.66% {
        transform: translateX(0) scale(1.08);
        opacity: 1;
    }

    33.33% {
        transform: translateX(-100%) scale(1.08);
        opacity: 0;
    }

    33.34%,
    93.33% {
        transform: translateX(100%) scale(1);
        opacity: 0;
    }

    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideFade2 {

    0%,
    26.66% {
        transform: translateX(100%) scale(1);
        opacity: 0;
    }

    33.33% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }

    60% {
        transform: translateX(0) scale(1.08);
        opacity: 1;
    }

    66.66% {
        transform: translateX(-100%) scale(1.08);
        opacity: 0;
    }

    66.67%,
    100% {
        transform: translateX(100%) scale(1);
        opacity: 0;
    }
}

@keyframes slideFade3 {

    0%,
    60% {
        transform: translateX(100%) scale(1);
        opacity: 0;
    }

    66.66% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }

    93.33% {
        transform: translateX(0) scale(1.08);
        opacity: 1;
    }

    100% {
        transform: translateX(-100%) scale(1.08);
        opacity: 0;
    }
}

/* Shop Section */
.shop-section {
    padding: 80px 40px;
    background-color: #ffffff;
}

.shop-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
}

/* Sidebar */
.sidebar {
    width: 280px;
    flex-shrink: 0;
}

.widget {
    margin-bottom: 45px;
}

.widget-title {
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 25px;
    text-transform: capitalize;
}

.category-list>li {
    margin-bottom: 12px;
}

.category-list>li>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 15px;
}

.category-list>li>a.active {
    color: #cb8161;
}

.category-list span {
    font-size: 14px;
    color: #888;
}

.promo-category {
    color: #00e676 !important;
    font-weight: 600 !important;
}

.sub-categories {
    margin-left: 15px;
    margin-top: 10px;
}

.sub-categories li {
    margin-bottom: 8px;
}

.sub-categories a {
    font-size: 14px;
    color: #888;
}

.sub-categories a.active {
    color: #cb8161;
}

/* Price Filter */
.price-slider {
    height: 4px;
    background-color: #e5e5e5;
    position: relative;
    margin-bottom: 20px;
    margin-top: 10px;
}

.slider-track {
    position: absolute;
    height: 100%;
    background-color: #00e676;
    left: 0%;
    right: 0%;
}

.slider-thumb {
    position: absolute;
    top: -4px;
    width: 12px;
    height: 12px;
    background-color: #00e676;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 230, 118, 0.3);
}

.slider-thumb.left {
    left: 20%;
}

.slider-thumb.right {
    right: 30%;
}

.price-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: #f1f1f1;
    padding: 8px 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.search-container:focus-within {
    background: white;
    border-color: #cb8161;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.search-container i {
    color: #888;
    font-size: 14px;
    margin-right: 10px;
}

#productSearch {
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    width: 150px;
    transition: width 0.3s ease;
}

#productSearch:focus {
    width: 220px;
}

.filter-btn {
    background-color: #222222;
    color: #ffffff;
    border: none;
    padding: 6px 15px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #cb8161;
}

.price-range {
    font-size: 14px;
    color: #666;
}

.price-range input {
    width: 45px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 2px 5px;
    font-family: inherit;
    font-size: 13px;
    color: #222222;
    text-align: center;
    background: #fdfdfd;
}

.price-range input:focus {
    border-color: #00e676;
    outline: none;
    background: white;
}

/* Hide arrows for Chrome, Safari, Edge, Opera */
.price-range input::-webkit-outer-spin-button,
.price-range input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

/* Hide arrows for Firefox */
.price-range input[type=number] {
    -moz-appearance: textfield;
}

/* Size & Color */
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-option {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    color: #666;
    font-size: 13px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-option.active,
.size-option:hover {
    background-color: #cb8161;
    color: #ffffff;
}

.color-options {
    display: flex;
    gap: 12px;
}

.color-option {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.color-option:hover {
    transform: scale(1.1);
}

/* Brand List */
.brand-list li {
    margin-bottom: 12px;
    color: #666;
}

/* Featured Products */
.featured-products {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 15px;
    scrollbar-width: none;
    /* Firefox */
    max-width: 100%;
}

.featured-products::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.featured-item {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(145deg, #ffffff, #f9f9f9);
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.featured-title {
    color: #00e676;
}

.featured-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    border-color: #cb8161;
}

.featured-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background-color: transparent;
    padding: 0;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

.featured-item:hover img {
    transform: scale(1.1);
}

.featured-info {
    width: 100%;
}

.featured-info a {
    display: block;
    font-size: 15px;
    color: #222222;
    margin-bottom: 8px;
    font-weight: 600;
}

.featured-info .price {
    font-size: 16px;
    font-weight: 700;
    color: #00e676;
}

.featured-info del {
    color: #aaa;
    margin-right: 8px;
    font-size: 13px;
    font-weight: 400;
}

/* Products Area */
.products-area {
    flex-grow: 1;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    color: #888;
    font-size: 14px;
}

.products-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.sort-select {
    padding: 8px 15px;
    border: none;
    color: #666;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    background: transparent;
}



.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    row-gap: 50px;
}

.product-card {
    text-align: center;
}

.product-image {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    margin-bottom: 0;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0;
    font-size: 30px;
    font-weight: 800;
    z-index: 2;
    letter-spacing: 0.5px;
}

.badge.sale {
    color: #00e676;
    background-color: transparent;
    box-shadow: none;
}

.product-hover {
    position: absolute;
    top: 55px;
    right: -50px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
    opacity: 0;
}

.product-card:hover .product-hover {
    right: 15px;
    opacity: 1;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    color: #222222;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.action-btn:hover {
    background-color: #cb8161;
    color: #ffffff;
}

.action-btn.quick-view-btn:hover {
    background-color: #00e676;
    color: white;
}



.product-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 15px;
    min-height: 60px;
}

.product-info h3 {
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 0;
    text-align: center;
    line-height: 1.3;
}

.product-info h3 a {
    color: #222222;
}

.product-info h3 a:hover {
    color: #cb8161;
}

.product-info .price {
    font-size: 16px;
    font-weight: 700;
    color: #222222;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-info del {
    color: #aaa;
    font-weight: 400;
    font-size: 14px;
}

.add-to-cart {
    background-color: #00e676;
    border: none;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    text-align: center;
    border-radius: 50px;
    padding: 8px 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 230, 118, 0.2);
}

.add-to-cart:hover {
    background-color: #222222;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(34, 34, 34, 0.2);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #e5e5e5;
    padding-top: 40px;
    margin-top: 50px;
    position: relative;
}

.pagination ul {
    display: flex;
    gap: 10px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e5e5e5;
    color: #666;
    font-weight: 500;
}

.pagination a.active,
.pagination a:hover {
    background-color: #222222;
    color: #ffffff;
    border-color: #222222;
}

.pagination p {
    position: absolute;
    right: 0;
    color: #888;
    font-size: 14px;
}



/* Footer */
.footer {
    background-color: #00cdd6;
    background-image: linear-gradient(135deg, #00e676 0%, #00cdd6 100%);
    color: #ffffff;
    padding-top: 70px;
}

.footer-container.simple-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 60px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-left {
    flex: 1 1 300px;
    max-width: 520px;
}

.footer-right {
    flex: 0 0 auto;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    justify-content: flex-start;
}

.footer-right p {
    margin: 0;
}

.footer-right strong {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 5px;
    display: block;
}

.footer-logo {
    display: block;
    margin-bottom: 25px;
}

.footer-logo img {
    max-width: 200px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.footer-phone {
    font-size: 20px;
    color: #ffffff;
    font-weight: 700;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px 40px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive (Basic) */
@media (max-width: 1024px) {
    .shop-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
    }

    .widget {
        width: calc(50% - 15px);
        margin-bottom: 25px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #ffffff;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        z-index: 100;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .menu-toggle {
        display: block;
        font-size: 20px;
        color: #222222;
    }
}

@media (max-width: 768px) {
    .banner-img-container {
        aspect-ratio: auto;
    }
    
    .main-banner-img {
        height: auto;
    }
    
    .header {
        padding: 0 15px;
    }

    .shop-section {
        padding: 40px 15px;
    }

    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .banner-cta {
        padding: 12px 25px;
        font-size: 13px;
        bottom: 10%;
        left: 5%;
    }

    #productSearch {
        width: 100px;
    }

    #productSearch:focus {
        width: 140px;
    }

    .slider-thumb {
        width: 20px;
        height: 20px;
        top: -8px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .widget {
        width: 100%;
    }

    .sidebar {
        display: flex;
        flex-direction: column;
    }

    .sidebar .widget.category-widget {
        display: none;
    }

    .sidebar .widget.price-widget {
        order: 2;
    }

    .sidebar .widget.featured-widget {
        order: 1;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px 40px;
        box-sizing: border-box;
        width: 100%;
    }

    .footer-left,
    .footer-right {
        min-width: unset;
        width: 100%;
        max-width: 100%;
        white-space: normal;
        box-sizing: border-box;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }

    .pagination p {
        position: static;
        margin-top: 20px;
    }
}

/* Quick View Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

#modalCaption {
    margin: 20px auto;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #f1f1f1;
    font-size: 60px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
    color: #00e676;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    .modal-content {
        max-width: 95%;
    }

    .close-modal {
        right: 20px;
        top: 20px;
        font-size: 40px;
    }
}

/* Banner image link wrapper */
.banner-img-link {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}