:root {
    --primary: #FF6B35;
    --primary-dark: #E85A2A;
    --primary-light: #FFF1EB;
    --secondary: #1A2238;
    --bg-light: #F8F9FA;
    --accent: #FFC107;
    --text-dark: #2B2D3A;
    --text-muted: #8A8D9F;
    --border-light: #EDEFF3;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--secondary);
}

img {
    max-width: 100%;
}

/* ===== Navbar ===== */
.navbar-store {
    background-color: var(--secondary);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.navbar-store .navbar-brand {
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
}

.brand-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
    letter-spacing: 0.2px;
}

.brand-title .accent {
    color: var(--primary);
}

.brand-tagline {
    font-size: 0.65rem;
    color: #9BA0B5;
    font-weight: 500;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.navbar-store .nav-link {
    color: #e0e0e0 !important;
    font-weight: 500;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.navbar-store .nav-link:hover,
.navbar-store .nav-link.active {
    color: #fff !important;
    background: rgba(255, 107, 53, 0.15);
}

.navbar-search {
    background: rgba(255,255,255,0.06);
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 4px 4px 4px 18px;
    max-width: 360px;
    width: 100%;
}

.navbar-search input {
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
    font-size: 0.88rem;
    flex-grow: 1;
}

.navbar-search input::placeholder {
    color: #8A8FA3;
}

.navbar-search button {
    background: var(--primary);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.navbar-search button:hover {
    background: var(--primary-dark);
}

.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 0.95rem;
    transition: transform 0.2s ease, filter 0.2s ease;
    flex-shrink: 0;
}

.social-icon:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.social-icon.whatsapp { background: #25D366; }
.social-icon.facebook { background: #1877F2; }
.social-icon.instagram { background: radial-gradient(circle at 30% 110%, #fdf497, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

.cart-icon-wrapper {
    position: relative;
    display: inline-block;
}

.navbar-cart-icon {
    color: #fff !important;
    font-size: 1.15rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    min-width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
    border: 2px solid var(--secondary);
}

/* ===== Buttons ===== */
.btn-primary-store {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 22px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.25);
}

.btn-primary-store:hover {
    filter: brightness(1.06);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.35);
}

.btn-outline-store {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    font-weight: 600;
    border-radius: 10px;
    background: transparent;
    transition: all 0.25s ease;
}

.btn-outline-store:hover {
    background-color: var(--secondary);
    color: #fff;
}

/* ===== Hero Banner ===== */
.hero-banner {
    border-radius: 18px;
    overflow: hidden;
}

.hero-banner .carousel-item img {
    height: 420px;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-caption {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 520px;
}

.hero-caption h2 {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 700;
}

/* ===== Section Headings ===== */
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.section-heading h3 {
    border-left: 5px solid var(--primary);
    padding-left: 14px;
    margin: 0;
    font-size: 1.4rem;
}

.section-heading a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.section-heading a:hover {
    text-decoration: underline;
}

/* ===== Trust Badges Strip ===== */
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    background: #fff;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 2px 12px rgba(20, 24, 46, 0.05);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 200px;
}

.trust-item i {
    font-size: 1.7rem;
    color: var(--primary);
    background: var(--primary-light);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-size: 0.88rem;
    color: var(--secondary);
}

.trust-item span {
    font-size: 0.76rem;
    color: var(--text-muted);
}

/* ===== Section Eyebrow / Title (Top Picks style) ===== */
.section-eyebrow {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title-lg {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== Free Delivery Banner Strip ===== */
.delivery-strip {
    background: linear-gradient(120deg, var(--secondary), #10182c);
    color: #C9CCDA;
    border-radius: 16px;
    padding: 26px 30px;
}

.delivery-strip i {
    color: var(--primary);
}

/* ===== Category Cards ===== */
.category-card {
    background: #fff;
    border-radius: 16px;
    text-align: center;
    padding: 20px 10px;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(20, 24, 46, 0.06);
    transition: all 0.3s ease;
    display: block;
    border: 1px solid transparent;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(255, 107, 53, 0.18);
    border-color: var(--primary-light);
}

.category-card img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 12px;
    border: 3px solid var(--bg-light);
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.08) rotate(3deg);
}

.category-card span {
    display: block;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.88rem;
}

/* =====================================================
   PRODUCT CARD — Premium redesign
   ===================================================== */

.product-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 10px rgba(20, 24, 46, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    opacity: 0;
    transform: translateY(24px);
    animation: cardFadeIn 0.6s ease forwards;
}

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(20, 24, 46, 0.14);
    border-color: var(--primary-light);
}

.row > [class*="col-"]:nth-child(4n+1) .product-card { animation-delay: 0s; }
.row > [class*="col-"]:nth-child(4n+2) .product-card { animation-delay: 0.08s; }
.row > [class*="col-"]:nth-child(4n+3) .product-card { animation-delay: 0.16s; }
.row > [class*="col-"]:nth-child(4n+4) .product-card { animation-delay: 0.24s; }

/* --- Image area --- */
.product-img-wrap {
    position: relative;
    background: linear-gradient(180deg, #FBFBFD, #F2F3F7);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: block;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    display: block;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.1);
}

/* --- Discount badge --- */
.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.35);
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
}

.pulse-badge {
    animation: pulseBadge 2.2s infinite;
}

/* --- Wishlist button --- */
.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C7C9D6;
    font-size: 1rem;
    box-shadow: 0 3px 10px rgba(20, 24, 46, 0.12);
    transition: all 0.25s ease;
    cursor: pointer;
    padding: 0;
}

.wishlist-btn:hover {
    transform: scale(1.12);
    color: var(--primary);
}

.wishlist-btn.active {
    color: var(--primary);
    background: #fff;
}

.wishlist-btn.active i {
    animation: heartBeat 0.45s ease;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    35% { transform: scale(1.45); }
    100% { transform: scale(1); }
}

/* --- Quick View slide-up strip --- */
.quick-view-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: linear-gradient(0deg, rgba(26,34,56,0.92), rgba(26,34,56,0.75) 70%, rgba(26,34,56,0));
    color: #fff;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 22px 0 10px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
}

.product-card:hover .quick-view-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* --- Card body --- */
.product-card .card-body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card .product-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
    transition: color 0.2s ease;
}

.product-card a:hover .product-title {
    color: var(--primary);
}

.rating-stars {
    color: var(--accent);
    font-size: 0.82rem;
    margin-bottom: 8px;
}

.rating-stars i {
    margin-right: 1px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.price-new {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.15rem;
}

.product-card .card-body .btn-primary-store {
    margin-top: auto;
    width: 100%;
    font-size: 0.85rem;
    padding: 9px 12px;
}

/* ===== Footer ===== */
.footer-store {
    background-color: var(--secondary);
    color: #cfd2dc;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-store h5 {
    color: #fff;
    margin-bottom: 16px;
}

.footer-store a {
    color: #cfd2dc;
    text-decoration: none;
}

.footer-store a:hover {
    color: var(--primary);
}

.payment-icons span {
    background: #fff;
    color: var(--secondary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 6px;
    display: inline-block;
    margin-bottom: 6px;
}

/* ===== Cart & Checkout ===== */
.cart-item-row img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.summary-box {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(20, 24, 46, 0.06);
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
}

.qty-control button {
    background: var(--bg-light);
    border: none;
    padding: 6px 12px;
    font-weight: 700;
}

.qty-control input {
    width: 45px;
    text-align: center;
    border: none;
    outline: none;
}

.payment-option {
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-option.active,
.payment-option:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

/* ===== Product Detail ===== */
.product-gallery-main {
    background: linear-gradient(180deg, #FBFBFD, #F2F3F7);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.product-gallery-main img {
    max-height: 420px;
    object-fit: contain;
}

.thumb-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.thumb-img:hover {
    transform: translateY(-2px);
}

.thumb-img.active {
    border-color: var(--primary);
}

/* ===== Order Success ===== */
.success-box {
    background: #fff;
    border-radius: 18px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(20, 24, 46, 0.08);
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
}

/* =====================================================
   Scroll fade-in for non-card elements (sections, banners)
   ===================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Promo Video Section ===== */
.promo-video-section {
    position: relative;
    height: 420px;
    overflow: hidden;
    border-radius: 18px;
    margin-top: 60px;
}

.promo-video-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(26,34,56,0.55), rgba(26,34,56,0.78));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.promo-badge {
    display: inline-block;
    background: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.promo-video-overlay h2 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.promo-video-overlay p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 22px;
}

/* ===== Trending Collection Cards (optional use) ===== */
.trending-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    height: 100%;
}

.trending-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.trending-card:hover img {
    transform: scale(1.08);
}

.trending-card-lg { min-height: 420px; }
.trending-card-sm { min-height: 195px; }

.trending-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,34,56,0.85) 10%, rgba(26,34,56,0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
}

.trending-overlay h4, .trending-overlay h5 {
    color: #fff;
    margin: 4px 0;
    font-weight: 700;
}

.trending-tag {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 6px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-banner .carousel-item img { height: 260px; }
    .hero-caption h2 { font-size: 1.4rem; }
    .hero-caption p { font-size: 0.9rem; }
    .promo-video-section { height: 300px; }
    .promo-video-overlay h2 { font-size: 1.5rem; }
    .trending-card-lg { min-height: 260px; }
    .product-card .product-title { font-size: 0.85rem; }
    .price-new { font-size: 1rem; }
    .brand-tagline { display: none; }
    .navbar-search { max-width: 100%; }
    .navbar-collapse .d-flex.align-items-center.gap-2 { margin-top: 12px; }
    .trust-strip { flex-direction: column; padding: 16px; }
    .section-title-lg { font-size: 1.4rem; }
    .delivery-strip { text-align: center; }
}

@media (max-width: 480px) {
    .brand-title { font-size: 1rem; }
}

