/* ================================================
   VIMAL TOYS — MAIN STYLESHEET
   ================================================ */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root{
    --brand:#ff6b6b;
    --brand-dark:#ff4757;
    --ink:#222222;
    --text:#333333;
    --muted:#6b6b6b;
    --bg:#f8f9ff;
    --white:#ffffff;
    --line:rgba(0,0,0,.08);
    --radius:15px;
    --shadow:0 5px 18px rgba(0,0,0,.08);
    --shadow-lg:0 12px 30px rgba(0,0,0,.14);

    /* category accents */
    --c-soft:#ff6b6b;
    --c-cars:#4EA8DE;
    --c-edu:#4CAF6D;
    --c-baby:#FFC93C;
    --c-action:#8B6FE8;
    --c-dolls:#FF8FB3;
    --c-arts:#FF9F43;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{ scroll-behavior:smooth; }

body{
    background:var(--bg);
    color:var(--text);
}

a{ color:inherit; }
ul{ list-style:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }

:focus-visible{
    outline:3px solid var(--brand);
    outline-offset:2px;
}

.container{
    max-width:1200px;
    margin:0 auto;
    padding:0 8%;
}

/* ================= NAVBAR ================= */
.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 8%;
    background:var(--white);
    box-shadow:0 3px 10px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:1000;
}

.logo h2{
    color:var(--brand);
    font-size:28px;
    white-space:nowrap;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:35px;
}

.nav-links a{
    text-decoration:none;
    color:var(--text);
    font-weight:500;
    transition:.3s;
    position:relative;
    padding:4px 0;
}

.nav-links a:hover{ color:var(--brand); }

.nav-links a.active{ color:var(--brand); }
.nav-links a.active::after{
    content:"";
    position:absolute;
    left:0; right:0; bottom:-4px;
    height:3px;
    border-radius:3px;
    background:var(--brand);
}

.nav-right{
    display:flex;
    align-items:center;
    gap:18px;
}

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

.icons i, .icons a{
    font-size:20px;
    cursor:pointer;
    color:#444;
    transition:.3s;
    position:relative;
    display:inline-flex;
}

.icons a:hover, .icons i:hover{ color:var(--brand); }

.cart-count{
    position:absolute;
    top:-9px; right:-11px;
    background:var(--brand);
    color:#fff;
    font-size:11px;
    font-weight:700;
    min-width:18px;
    height:18px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 4px;
}

.hamburger{
    display:none;
    flex-direction:column;
    gap:5px;
    background:none;
    border:none;
}
.hamburger span{
    width:26px;
    height:3px;
    background:var(--ink);
    border-radius:3px;
    display:block;
}

/* ================= BUTTONS ================= */
.btn{
    display:inline-block;
    padding:15px 35px;
    background:var(--brand);
    color:white;
    text-decoration:none;
    border-radius:30px;
    font-weight:600;
    border:none;
    transition:.3s;
}
.btn:hover{ background:var(--brand-dark); transform:translateY(-2px); }

.btn-outline{
    display:inline-block;
    padding:13px 33px;
    background:transparent;
    color:var(--brand);
    border:2px solid var(--brand);
    border-radius:30px;
    font-weight:600;
    text-decoration:none;
    transition:.3s;
}
.btn-outline:hover{ background:var(--brand); color:#fff; }

.btn-block{ width:100%; text-align:center; }
.btn-sm{ padding:8px 18px; font-size:14px; border-radius:20px; }

/* ================= HERO (home) ================= */
.hero{
    height:90vh;
    background:linear-gradient(135deg,#2b2b3d,#3d2b4a);
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    position:relative;
    overflow:hidden;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:
      radial-gradient(circle at 15% 25%, rgba(255,107,107,.35), transparent 40%),
      radial-gradient(circle at 85% 75%, rgba(78,168,222,.35), transparent 40%);
}

.hero-content{
    position:relative;
    color:#fff;
    width:80%;
    max-width:720px;
}

.hero-content .eyebrow{
    display:inline-block;
    background:rgba(255,255,255,.12);
    padding:8px 18px;
    border-radius:30px;
    font-weight:600;
    font-size:14px;
    margin-bottom:22px;
    letter-spacing:.03em;
}

.hero-content h1{
    font-size:56px;
    margin-bottom:20px;
    font-weight:800;
    line-height:1.15;
}

.hero-content p{
    font-size:19px;
    margin-bottom:35px;
    color:#e7e4f2;
}

.hero-badges{
    display:flex;
    gap:22px;
    justify-content:center;
    margin-top:36px;
    flex-wrap:wrap;
    color:#d8d4ea;
    font-weight:600;
    font-size:14px;
}

/* ================= PAGE BANNER (inner pages) ================= */
.page-banner{
    background:linear-gradient(120deg,#2b2b3d,#3d2b4a);
    color:#fff;
    text-align:center;
    padding:64px 8% 56px;
}
.page-banner h1{ font-size:38px; margin-bottom:10px; font-weight:800; }
.breadcrumb{
    color:#cfc9e4;
    font-weight:500;
    font-size:14px;
}
.breadcrumb a{ color:#fff; text-decoration:none; }
.breadcrumb a:hover{ text-decoration:underline; }

/* ================= SECTION GENERIC ================= */
section{ padding:70px 8%; }

section h2.section-title{
    text-align:center;
    font-size:36px;
    margin-bottom:12px;
    color:var(--ink);
    font-weight:800;
}
.section-sub{
    text-align:center;
    color:var(--muted);
    max-width:520px;
    margin:0 auto 45px;
    font-weight:500;
}

/* ================= CATEGORIES ================= */
.category-box{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:25px;
}

.card{
    background:var(--white);
    padding:35px 20px;
    text-align:center;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    transition:.3s;
    text-decoration:none;
    color:inherit;
    border-top:5px solid var(--accent, var(--brand));
    display:block;
}

.card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lg); }

.card .cat-emoji{
    font-size:42px;
    margin-bottom:14px;
}

.card h3{
    color:var(--ink);
    font-size:17px;
    margin-bottom:6px;
}
.card span.count{
    color:var(--muted);
    font-size:13px;
    font-weight:600;
}

/* ================= FILTERS (products page) ================= */
.filter-row{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    justify-content:center;
    margin-bottom:40px;
}
.chip{
    padding:10px 20px;
    border-radius:30px;
    border:2px solid var(--line);
    background:#fff;
    font-weight:600;
    font-size:14px;
    color:var(--muted);
    transition:.2s;
}
.chip:hover{ border-color:var(--brand); color:var(--brand); }
.chip.active{ background:var(--ink); border-color:var(--ink); color:#fff; }

/* ================= PRODUCTS ================= */
.product-box{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
    gap:30px;
}

.product{
    background:var(--white);
    border-radius:var(--radius);
    overflow:hidden;
    text-align:center;
    box-shadow:var(--shadow);
    transition:.3s;
    position:relative;
    display:flex;
    flex-direction:column;
}

.product:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lg); }

.product .media{
    width:100%;
    height:180px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:70px;
    background:var(--tint,#fff1f1);
}

.product .p-body{
    padding:18px 18px 22px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.product .p-cat{
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.05em;
    color:var(--accent,var(--brand));
    margin-bottom:6px;
}

.product h3{ margin-top:0; font-size:16px; color:var(--ink); }

.product .stars{ color:#FFC93C; font-size:14px; margin:8px 0; }

.product p.price{
    margin:6px 0 18px;
    color:var(--brand);
    font-size:20px;
    font-weight:700;
}

.product .add-btn{
    margin-top:auto;
    background:var(--ink);
    color:#fff;
    border:none;
    padding:11px;
    border-radius:30px;
    font-weight:700;
    font-size:14px;
    transition:.2s;
}
.product .add-btn:hover{ background:var(--brand); }
.product .add-btn.bump{ animation:bump .3s ease; }
@keyframes bump{ 50%{ transform:scale(.9); } }

.no-results{
    grid-column:1/-1;
    text-align:center;
    color:var(--muted);
    font-weight:600;
    padding:40px 0;
}

/* ================= WHY CHOOSE ================= */
.why-box{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.why-box div{
    background:var(--brand);
    color:white;
    padding:30px 20px;
    border-radius:12px;
    text-align:center;
    font-size:17px;
    font-weight:600;
}
.why-box div span{ display:block; font-size:30px; margin-bottom:10px; }

/* ================= NEWSLETTER ================= */
.newsletter{
    background:#fff;
    text-align:center;
}
.newsletter-box{
    max-width:600px;
    margin:0 auto;
    background:linear-gradient(120deg,#2b2b3d,#3d2b4a);
    border-radius:20px;
    padding:50px 34px;
    color:#fff;
}
.newsletter-box h2{ margin-bottom:10px; font-size:28px; }
.newsletter-box p{ color:#d8d4ea; margin-bottom:24px; font-weight:500; }
.nl-form{
    display:flex;
    gap:10px;
    max-width:420px;
    margin:0 auto;
    flex-wrap:wrap;
    justify-content:center;
}
.nl-form input{
    flex:1;
    min-width:200px;
    padding:14px 18px;
    border-radius:30px;
    border:none;
    font-family:'Poppins';
    outline:none;
}
.nl-note{ margin-top:14px; font-size:13px; color:#cfc9e4; }

/* ================= ABOUT PAGE ================= */
.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}
.about-visual{
    background:#fff;
    border-radius:20px;
    box-shadow:var(--shadow);
    padding:40px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    text-align:center;
}
.about-visual .emoji-tile{
    background:var(--bg);
    border-radius:14px;
    padding:26px 10px;
    font-size:38px;
}
.about-text h2{ font-size:32px; margin-bottom:18px; color:var(--ink); font-weight:800; }
.about-text p{ margin-bottom:16px; color:var(--muted); line-height:1.7; }

.values-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    margin-top:20px;
}
.value-card{
    background:#fff;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:30px 24px;
    text-align:center;
}
.value-card .v-icon{ font-size:34px; margin-bottom:14px; }
.value-card h3{ margin-bottom:8px; font-size:17px; }
.value-card p{ color:var(--muted); font-size:14px; line-height:1.6; }

/* ================= CONTACT ================= */
.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
}
.contact-info .info-item{
    display:flex;
    gap:16px;
    margin-bottom:26px;
    align-items:flex-start;
}
.contact-info .info-icon{
    width:46px; height:46px;
    background:#fff1f1;
    color:var(--brand);
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    flex-shrink:0;
}
.contact-info h4{ margin-bottom:4px; font-size:16px; }
.contact-info p{ color:var(--muted); font-size:14px; }

.form-card{
    background:#fff;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:40px;
}
.form-group{ margin-bottom:20px; }
.form-group label{
    display:block;
    font-weight:600;
    margin-bottom:8px;
    font-size:14px;
    color:var(--ink);
}
.form-group input,
.form-group textarea,
.form-group select{
    width:100%;
    padding:13px 16px;
    border-radius:10px;
    border:2px solid var(--line);
    font-family:'Poppins';
    font-size:14px;
    outline:none;
    transition:.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{ border-color:var(--brand); }
.form-group textarea{ resize:vertical; min-height:120px; }

.form-msg{
    display:none;
    background:#e7f9ee;
    color:#1f8a4c;
    padding:14px 18px;
    border-radius:10px;
    font-weight:600;
    font-size:14px;
    margin-bottom:20px;
}
.form-msg.show{ display:block; }

/* ================= AUTH (login/register) ================= */
.auth-wrap{
    min-height:80vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:60px 20px;
    background:var(--bg);
}
.auth-card{
    background:#fff;
    border-radius:20px;
    box-shadow:var(--shadow-lg);
    padding:46px 40px;
    width:100%;
    max-width:420px;
}
.auth-card .auth-logo{
    text-align:center;
    color:var(--brand);
    font-size:26px;
    font-weight:800;
    margin-bottom:6px;
}
.auth-card h2{
    text-align:center;
    font-size:22px;
    margin-bottom:6px;
    color:var(--ink);
}
.auth-card .auth-sub{
    text-align:center;
    color:var(--muted);
    font-size:14px;
    margin-bottom:30px;
}
.auth-row-split{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}
.auth-check{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    color:var(--muted);
    margin-bottom:20px;
}
.auth-foot{
    text-align:center;
    font-size:14px;
    color:var(--muted);
    margin-top:22px;
}
.auth-foot a{ color:var(--brand); font-weight:700; text-decoration:none; }
.auth-divider{
    display:flex;
    align-items:center;
    gap:12px;
    color:var(--muted);
    font-size:13px;
    margin:22px 0;
}
.auth-divider::before, .auth-divider::after{
    content:"";
    flex:1;
    height:1px;
    background:var(--line);
}
.social-row{ display:flex; gap:12px; }
.social-row button{
    flex:1;
    padding:12px;
    border-radius:10px;
    border:2px solid var(--line);
    background:#fff;
    font-weight:600;
    font-size:13px;
}
.social-row button:hover{ border-color:var(--ink); }

/* ================= CART PAGE ================= */
.cart-layout{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:40px;
    align-items:start;
}
.cart-table{
    background:#fff;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    overflow:hidden;
}
.cart-row{
    display:flex;
    align-items:center;
    gap:18px;
    padding:20px 24px;
    border-bottom:1px solid var(--line);
}
.cart-row:last-child{ border-bottom:none; }
.cart-row .c-media{
    width:70px; height:70px;
    border-radius:12px;
    background:var(--tint,#fff1f1);
    display:flex; align-items:center; justify-content:center;
    font-size:34px;
    flex-shrink:0;
}
.cart-row .c-info{ flex:1; min-width:120px; }
.cart-row .c-info h4{ font-size:15px; margin-bottom:4px; }
.cart-row .c-info .c-price{ color:var(--brand); font-weight:700; font-size:15px; }
.qty-box{
    display:flex;
    align-items:center;
    border:2px solid var(--line);
    border-radius:30px;
    overflow:hidden;
}
.qty-box button{
    width:32px; height:32px;
    background:none;
    border:none;
    font-weight:700;
    font-size:16px;
}
.qty-box button:hover{ background:var(--bg); }
.qty-box span{ width:30px; text-align:center; font-weight:700; }
.remove-btn{
    color:var(--brand);
    font-weight:700;
    font-size:13px;
    background:none;
    border:none;
}
.remove-btn:hover{ text-decoration:underline; }

.cart-empty{
    text-align:center;
    padding:70px 20px;
    background:#fff;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}
.cart-empty .ce-icon{ font-size:60px; margin-bottom:16px; }
.cart-empty p{ color:var(--muted); font-weight:600; margin-bottom:24px; }

.summary-card{
    background:#fff;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:30px 26px;
}
.summary-card h3{ margin-bottom:20px; font-size:18px; }
.summary-row{
    display:flex;
    justify-content:space-between;
    margin-bottom:14px;
    font-weight:600;
    color:var(--muted);
    font-size:14px;
}
.summary-total{
    display:flex;
    justify-content:space-between;
    font-weight:800;
    font-size:19px;
    color:var(--ink);
    padding-top:14px;
    border-top:1px solid var(--line);
    margin-bottom:24px;
}
.promo-row{
    display:flex;
    gap:8px;
    margin-bottom:22px;
}
.promo-row input{
    flex:1;
    padding:11px 14px;
    border-radius:10px;
    border:2px solid var(--line);
    outline:none;
    font-family:'Poppins';
    font-size:13px;
}

/* ================= FOOTER ================= */
footer{
    background:var(--ink);
    color:white;
    padding:60px 8% 24px;
}
.footer-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr;
    gap:34px;
    padding-bottom:36px;
    border-bottom:1px solid rgba(255,255,255,.12);
}
.footer-grid h4{ margin-bottom:16px; font-size:15px; }
.footer-grid h2{ color:var(--brand); margin-bottom:12px; }
.footer-grid p{ color:#b6b6b6; font-size:14px; line-height:1.7; max-width:260px; }
.footer-grid li{ margin-bottom:10px; }
.footer-grid a{ color:#b6b6b6; text-decoration:none; font-size:14px; }
.footer-grid a:hover{ color:var(--brand); }
.footer-social{ display:flex; gap:10px; margin-top:16px; }
.footer-social a{
    width:36px; height:36px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    display:flex; align-items:center; justify-content:center;
}
.footer-social a:hover{ background:var(--brand); }
.footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-top:20px;
    flex-wrap:wrap;
    gap:10px;
    color:#8a8a8a;
    font-size:13px;
}

/* ================= UTILITIES ================= */
.text-center{ text-align:center; }
.mt-40{ margin-top:40px; }

.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.navbar-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: #d4af37; /* gold, matching Farms' style */
    line-height: 1;
    margin-top: 6px; /* nudges the script font to sit nicely against the logo */
}


