/* 
  BUBANS SHOP - DESIGN SYSTEM 
  Style Inspiration: moza.com.py (Minimal Luxe)
*/

:root {
    --white: #FFFFFF;
    --light-gray: #F8F8F8;
    --border-gray: #EAEAEA;
    --text-black: #1A1A1A;
    --text-muted: #757575;
    --accent: #B88E2F; /* Luxurious Gold/Tan */
    --accent-hover: #9E7A28;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radius: 4px;
    --container: 1400px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-black);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .nav-item {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* --- HEADER (MOZA INSPIRED) --- */
#shop-header {
    background: var(--white);
    z-index: 1000;
    border-bottom: 1px solid var(--border-gray);
    position: sticky;
    top: 0;
}

.top-bar {
    background: #000;
    color: #fff;
    text-align: center;
    font-size: 0.75rem;
    padding: 8px 0;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.shop-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.menu-items-left {
    display: flex;
    gap: 30px;
}

.nav-item {
    font-size: 0.85rem;
    color: var(--text-black);
}

.nav-item:hover { color: var(--accent); }

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
}

.logo span {
    font-weight: 300;
    color: var(--text-muted);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-icons i {
    font-size: 1.2rem;
}

.cart-btn {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.mobile-toggle { display: none; }

/* --- HERO BANNER --- */
.hero-banner {
    height: 70vh;
}

.swiper {
    width: 100%;
    height: 100%;
}

.banner-item {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.banner-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.2);
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    background: rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.banner-content h2 { font-size: 3.5rem; margin-bottom: 15px; }
.banner-content p { font-size: 1.2rem; margin-bottom: 30px; letter-spacing: 0.1em; }

.btn-shop {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #000;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-shop:hover { background: var(--accent); color: #fff; }

/* --- FILTERS --- */
.shop-filters {
    padding: 60px 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#category-filter {
    padding: 12px 20px;
    border: 1px solid var(--border-gray);
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--white);
    outline: none;
}

.search-box input {
    padding: 12px 20px;
    border: 1px solid var(--border-gray);
    width: 300px;
    font-size: 0.8rem;
    outline: none;
}

.results-count { font-size: 0.8rem; color: var(--text-muted); }

/* --- PRODUCT GRID --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 25px;
    padding-bottom: 100px;
}

.product-card {
    position: relative;
    background: var(--white);
}

.p-img {
    height: 450px;
    position: relative;
    overflow: hidden;
    background: var(--light-gray);
}

.p-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.add-to-cart-quick {
    position: absolute;
    bottom: -60px;
    left: 10%;
    width: 80%;
    background: var(--white);
    padding: 15px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: var(--transition);
    z-index: 5;
    border: 1px solid #000;
}

.product-card:hover .add-to-cart-quick { bottom: 20px; }

.p-badge {
    position: absolute;
    top: 15px; right: 15px;
    background: #000;
    color: #fff;
    padding: 4px 12px;
    font-size: 0.65rem;
    font-weight: 700;
}

.p-badge.sale { background: #E74C3C; }

.p-info {
    padding: 20px 0;
}

.p-info h3 {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-black);
}

.p-price {
    font-weight: 600;
    color: var(--accent);
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    margin-right: 10px;
    font-weight: 400;
}

/* --- CART DRAWER --- */
.cart-drawer {
    position: fixed;
    top: 0; right: -450px;
    width: 450px;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    padding: 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.cart-drawer.open { right: 0; }

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 25px;
    margin-bottom: 40px;
}

.cart-items { flex: 1; overflow-y: auto; }

.cart-footer {
    border-top: 1px solid var(--border-gray);
    padding-top: 30px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.btn-checkout {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.btn-checkout:hover { background: var(--accent); }

.cart-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1999;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
}

.cart-overlay.show { visibility: visible; opacity: 1; }

.empty-cart-msg { text-align: center; padding: 100px 0; color: var(--text-muted); }

/* --- FOOTER --- */
.shop-footer { background: var(--light-gray); padding: 80px 0 40px; border-top: 1px solid var(--border-gray); }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 80px; }

.footer-col h3 { font-size: 1.4rem; margin-bottom: 20px; }
.footer-col h4 { font-size: 0.8rem; margin-bottom: 25px; font-weight: 700; }
.footer-col a, .footer-col p { display: block; margin-bottom: 12px; font-size: 0.85rem; color: var(--text-muted); }

.shop-socials { display: flex; gap: 20px; font-size: 1.5rem; margin-top: 20px; }

.footer-bottom { text-align: center; padding-top: 60px; font-size: 0.8rem; color: var(--text-muted); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-banner { height: 60vh; }
    .banner-content h2 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 60px; }
    .nav-icons .mobile-toggle { display: block; }
    .menu-items-left { display: none; }
}

@media (max-width: 600px) {
    .p-img { height: 350px; }
    .cart-drawer { width: 100%; right: -100%; padding: 25px; }
    .shop-filters { flex-direction: column; gap: 20px; align-items: flex-start; }
    .search-box input { width: 100%; }
}
