/* VumaShops - Professional Storefront CSS */
/* Applied globally via styles override template */

:root {
    --vs-primary: #1B4332;
    --vs-primary-light: #2D6A4F;
    --vs-primary-dark: #0B2B1E;
    --vs-accent: #D4A03C;
    --vs-accent-light: #E8C468;
    --vs-bg: #FAFAF8;
    --vs-card-bg: #FFFFFF;
    --vs-text: #1A1A1A;
    --vs-text-muted: #6B7280;
    --vs-border: #E5E7EB;
    --vs-radius: 12px;
    --vs-radius-sm: 8px;
    --vs-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --vs-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --vs-shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --vs-transition: all 0.25s ease;
}

/* ===== GLOBAL ===== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--vs-bg);
    color: var(--vs-text);
    -webkit-font-smoothing: antialiased;
}

/* ===== TOP BAR ===== */
.bg-black {
    background: var(--vs-primary-dark) !important;
}
.bg-black .container {
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

/* ===== HEADER ===== */
.border-bottom.py-4 {
    background: var(--vs-card-bg);
    border-bottom: 1px solid var(--vs-border) !important;
    box-shadow: var(--vs-shadow);
    position: sticky;
    top: 0;
    z-index: 1020;
}

/* ===== NAVBAR / CATEGORY MENU ===== */
.w-100.border-bottom {
    background: var(--vs-card-bg);
    border-bottom: 1px solid var(--vs-border) !important;
}
.navbar-nav .nav-link,
.navbar-nav a {
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    color: var(--vs-text) !important;
    padding: 0.75rem 0 !important;
    transition: var(--vs-transition);
    position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav a:hover {
    color: var(--vs-primary) !important;
}
.navbar-nav .nav-link::after,
.navbar-nav > div > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--vs-primary);
    transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav > div > a:hover::after {
    width: 100%;
}

/* ===== HERO BANNER ===== */
.vs-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--vs-primary-dark) 0%, var(--vs-primary) 50%, var(--vs-primary-light) 100%);
    min-height: 480px;
    display: flex;
    align-items: center;
}
.vs-hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.vs-hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}
.vs-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.vs-hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    max-width: 520px;
    line-height: 1.6;
}
.vs-hero .btn-primary {
    background: var(--vs-accent);
    border: none;
    color: var(--vs-primary-dark);
    font-weight: 600;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    font-size: 1rem;
    letter-spacing: 0.02em;
    transition: var(--vs-transition);
    box-shadow: 0 4px 15px rgba(212,160,60,0.35);
}
.vs-hero .btn-primary:hover {
    background: var(--vs-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212,160,60,0.45);
}
.vs-hero .btn-outline {
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    background: transparent;
    font-weight: 600;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--vs-transition);
}
.vs-hero .btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

/* ===== CATEGORY CARDS ===== */
.vs-categories {
    padding: 4rem 0 2rem;
}
.vs-categories h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}
.vs-cat-card {
    background: var(--vs-card-bg);
    border-radius: var(--vs-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--vs-text);
    border: 1px solid var(--vs-border);
    transition: var(--vs-transition);
    display: block;
    height: 100%;
}
.vs-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vs-shadow-lg);
    border-color: var(--vs-primary-light);
    color: var(--vs-text);
}
.vs-cat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}
.vs-cat-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* ===== TRUST BAR ===== */
.vs-trust-bar {
    background: var(--vs-card-bg);
    border-top: 1px solid var(--vs-border);
    border-bottom: 1px solid var(--vs-border);
    padding: 2.5rem 0;
    margin: 3rem 0;
}
.vs-trust-item {
    text-align: center;
    padding: 0.5rem;
}
.vs-trust-icon {
    font-size: 1.75rem;
    color: var(--vs-primary);
    margin-bottom: 0.5rem;
}
.vs-trust-item h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.vs-trust-item p {
    font-size: 0.78rem;
    color: var(--vs-text-muted);
    margin: 0;
}

/* ===== PRODUCT GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}
.products-grid > div {
    height: 100%;
}

/* Product Cards */
.card,
[data-test-product] {
    border: 1px solid var(--vs-border);
    border-radius: var(--vs-radius);
    overflow: hidden;
    transition: var(--vs-transition);
    background: var(--vs-card-bg);
    height: 100%;
}
.card:hover,
[data-test-product]:hover {
    transform: translateY(-4px);
    box-shadow: var(--vs-shadow-lg);
}
.card img,
[data-test-product] img {
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
    transition: transform 0.4s ease;
}
.card:hover img,
[data-test-product]:hover img {
    transform: scale(1.05);
}
.card-body,
[data-test-product] .p-3,
[data-test-product] .px-3 {
    padding: 1rem !important;
}
.card-title,
[data-test-product] h5,
[data-test-product] .fw-semibold {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
[data-test-product] a {
    text-decoration: none;
    color: var(--vs-text);
}
[data-test-product] a:hover {
    color: var(--vs-primary);
}

/* Prices */
.text-primary,
.price,
[data-test-product] .fw-bold {
    color: var(--vs-primary) !important;
    font-weight: 700;
    font-size: 1.05rem;
}

/* ===== SECTION HEADINGS ===== */
h2.mb-5 {
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}
h2.mb-5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--vs-accent);
    border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--vs-primary);
    border-color: var(--vs-primary);
    border-radius: var(--vs-radius-sm);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: var(--vs-transition);
}
.btn-primary:hover {
    background: var(--vs-primary-light);
    border-color: var(--vs-primary-light);
    transform: translateY(-1px);
}
.btn-outline-primary {
    color: var(--vs-primary);
    border-color: var(--vs-primary);
    border-radius: var(--vs-radius-sm);
    font-weight: 600;
}
.btn-outline-primary:hover {
    background: var(--vs-primary);
    border-color: var(--vs-primary);
}

/* ===== FOOTER ===== */
.mt-auto.border-top {
    background: var(--vs-primary-dark);
    border-top: none !important;
    color: rgba(255,255,255,0.8);
}
.mt-auto.border-top a {
    color: rgba(255,255,255,0.7) !important;
    transition: var(--vs-transition);
}
.mt-auto.border-top a:hover {
    color: var(--vs-accent) !important;
}
.mt-auto.border-top .nav-link {
    color: rgba(255,255,255,0.7) !important;
    padding: 0.35rem 0;
    font-size: 0.9rem;
}
.mt-auto.border-top .nav-link:hover {
    color: #fff !important;
}
.mt-auto.border-top .fw-medium,
.mt-auto.border-top .mb-3.fw-medium {
    color: #fff !important;
}
.mt-auto.border-top .border {
    border-color: rgba(255,255,255,0.15) !important;
    background: rgba(255,255,255,0.05) !important;
}

/* ===== BREADCRUMBS ===== */
.breadcrumb {
    font-size: 0.85rem;
    padding: 1rem 0;
}

/* ===== FORM CONTROLS ===== */
.form-control,
.form-select {
    border-radius: var(--vs-radius-sm);
    border-color: var(--vs-border);
    padding: 0.65rem 1rem;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--vs-primary-light);
    box-shadow: 0 0 0 3px rgba(45,106,79,0.12);
}

/* ===== OFFCANVAS CART ===== */
.offcanvas {
    border-radius: var(--vs-radius) 0 0 var(--vs-radius);
}

/* ===== MISC ===== */
.photo-grid { display: none !important; }
.fs-7 { font-size: 0.8rem !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .vs-hero { min-height: 380px; }
    .vs-hero h1 { font-size: 1.75rem; }
    .vs-hero p { font-size: 1rem; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}
@media (max-width: 575px) {
    .vs-hero { min-height: 320px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .vs-cat-card { padding: 1.25rem 1rem; }
}

/* ===== FONT IMPORT ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
