/*******************************
  TWINKLE MOBILE - LANDING PAGE
  Modern Ecommerce UI (Shein/Shopify Inspired)
********************************/

/* RESET IMPROVEMENT */
body {
    font-family: "Nunito", sans-serif;
    background: #f6f8fb;
    margin: 0;
    padding: 0;

    min-height: 100vh;

    display: flex;
    flex-direction: column;
}

/* =========================
   NAVBAR (SHOPIFY STYLE)
========================= */
.navbar {
    background: #091E3E !important;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-brand {
    font-weight: 800;
    font-size: 20px;
    color: #fff !important;
    letter-spacing: 0.5px;
}

.navbar input {
    border-radius: 50px;
    padding: 10px 15px;
    border: none;
    outline: none;
    flex: 1;
    max-width: 500px;
}

.navbar .btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 8px 16px;
}

/* =========================
   HERO SECTION (SHEIN STYLE)
========================= */
.hero {
    background: linear-gradient(135deg, #06A3DA, #34AD54);
    color: white;
    text-align: center;
    padding: 80px 20px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* =========================
   CATEGORY SECTION (MODERN PILLS)
========================= */
.container .row.text-center > div {
    background: white;
    margin: 10px;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.container .row.text-center > div:hover {
    transform: translateY(-5px);
    background: var(--primary);
    color: white;
}

/* =========================
   SECTION TITLE
========================= */
h3 {
    font-weight: 800;
    margin-bottom: 20px;
    color: #091E3E;
}

/* =========================
   PRODUCT GRID WRAPPER
========================= */
#productGrid {
    margin-top: 20px;
}

/* =========================
   PRODUCT CARD (SHEIN STYLE UPGRADE)
========================= */
.product-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* product image */
.product-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 12px;
    background: #f9f9f9;
    padding: 10px;
}

/* title */
.product-title {
    font-size: 14px;
    font-weight: 700;
    color: #091E3E;
    margin-top: 10px;
}

/* price styling */
.product-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.old-price {
    font-size: 13px;
    text-decoration: line-through;
    color: #999;
}

/* stock badge */
.in-stock {
    color: #34AD54;
    font-size: 12px;
    font-weight: 700;
}

.out-of-stock {
    color: red;
    font-size: 12px;
    font-weight: 700;
}

/* buttons */
.product-actions .btn {
    width: 100%;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 8px;
    transition: 0.3s;
}

.product-actions .btn:hover {
    transform: scale(1.02);
}

/* wishlist / quick view badge */
.product-card::before {
    content: "🔥 Hot";
    position: absolute;
    top: 10px;
    left: 10px;
    background: red;
    color: white;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 50px;
}

/* =========================
   RESPONSIVE IMPROVEMENTS
========================= */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }

    .navbar {
        flex-wrap: wrap;
    }

    .navbar input {
        width: 100%;
        margin-top: 10px;
    }
}
main {
    flex: 1;
}