/* =============================== */
/* BUTOR ULTRA TEMPLATE - STYLE.CSS */
/* =============================== */

/* ------------------------------ */
/* RESET & BASE STYLING           */
/* ------------------------------ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: #fdfdfd;
    color: #222;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

a:hover {
    color: #ff6f61;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: 600;
    color: #111;
}

img {
    max-width: 100%;
    display: block;
}

/* ------------------------------ */
/* HEADER / HERO SLIDER           */
/* ------------------------------ */
header {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    overflow: hidden;
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    transition: transform 0.8s ease-in-out;
}

.hero-slide-content {
    position: absolute;
    bottom: 80px;
    left: 60px;
    color: #fff;
    max-width: 500px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-slide h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-slide p {
    font-size: 18px;
}

/* Hero slider nav */
.hero-nav {
    position: absolute;
    bottom: 30px;
    right: 50px;
    display: flex;
    gap: 15px;
}

.hero-nav button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
}

.hero-nav button.active {
    background: #ff6f61;
}

/* ------------------------------ */
/* TOP NAV & FLOATING CART        */
/* ------------------------------ */
.top-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#cart-link {
    position: fixed;
    top: 30px;
    right: 30px;
    background: #ff6f61;
    color: #fff;
    padding: 15px 20px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    z-index: 1000;
}

#cart-link:hover {
    transform: scale(1.1);
}

/* ------------------------------ */
/* MOBILE MENU & HAMBURGER        */
/* ------------------------------ */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

.menu-items {
    display: flex;
    gap: 25px;
}

.menu-items.active {
    display: block;
}

/* MOBILE CATEGORY TREE */
.mobile-cat-tree,
.child-list {
    list-style: none;
}

.toggle-sub {
    cursor: pointer;
    margin-left: 10px;
    transition: transform 0.3s;
}

.toggle-sub[aria-expanded="true"] {
    transform: rotate(90deg);
}

/* ------------------------------ */
/* PRODUCTS GRID & HOVER GALLERY  */
/* ------------------------------ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Hover gallery */
.product-card .images {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.product-card .images img {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s;
}

.product-card .images img.secondary {
    opacity: 0;
}

.product-card:hover .images img.secondary {
    opacity: 1;
}

/* Product info */
.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.product-info p {
    font-size: 14px;
    color: #555;
}

.product-info .price {
    font-weight: bold;
    margin-top: 10px;
    font-size: 18px;
}

/* QUICK VIEW BUTTON */
.product-card .quick-view {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6f61;
    color: #fff;
    padding: 8px 12px;
    border-radius: 30px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .quick-view {
    opacity: 1;
}

/* ------------------------------ */
/* CATEGORY LANDING & ANIMATIONS  */
/* ------------------------------ */
.category-landing {
    padding: 80px 60px;
    background: #f8f8f8;
    text-align: center;
}

.category-landing h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.category-landing p {
    font-size: 18px;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Scroll Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

[data-animate].active {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------ */
/* FOOTER                        */
/* ------------------------------ */
#footer {
    background: #222;
    color: #fff;
    padding: 60px 60px 30px;
    font-size: 14px;
}

#footer a {
    color: #ff6f61;
    text-decoration: none;
}

/* ------------------------------ */
/* RESPONSIVE MEDIA QUERIES       */
/* ------------------------------ */
@media (max-width: 1200px) {
    .hero-slide-content {
        left: 30px;
        max-width: 400px;
    }
    .top-menu {
        padding: 15px 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .menu-items {
        display: none;
        flex-direction: column;
        gap: 15px;
        background: #fff;
        padding: 20px;
        position: absolute;
        top: 70px;
        right: 0;
        width: 250px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* =============================== */
/* END OF BUTOR ULTRA STYLE.CSS    */
/* =============================== */