/* Nuralam - Rock Metal T-Shirt Exact Branding & Visual Styles */
:root {
    --rm-orange: #ff5722;
    --rm-orange-hover: #e64a19;
    --rm-pink: #e91e63;
    --rm-blue-strike: #3b82f6;
    --rm-dark: #0b0f19;
    --rm-slate: #1e293b;
    --rm-bg: #f8fafc;
    --rm-border: #e2e8f0;
}

* {
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
}

html, body {
    max-width: 100%;
    overflow-x: hidden !important;
}

body {
    background-color: var(--rm-bg);
    color: #0f172a;
    font-family: 'Inter', 'Hind Siliguri', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    padding-bottom: 75px;
    -webkit-tap-highlight-color: transparent;
}

/* Header & Top Bar */
.sf-navbar {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.top-nav-orange-bar {
    background-color: var(--rm-orange);
    color: #ffffff;
}

.top-nav-orange-bar a {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 6px 14px;
    border-radius: 4px;
    transition: background 0.15s;
    text-decoration: none;
}

.top-nav-orange-bar a:hover {
    background: rgba(0,0,0,0.15);
}

/* Social & Utility Header Icons */
.header-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rm-orange);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.2s;
}

.header-social-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Cards & Surfaces */
.sf-card {
    background: #ffffff;
    border: 1px solid var(--rm-border);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
    border-color: var(--rm-orange);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.15);
}

.product-img-wrapper {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background-color: #f1f5f9;
}

.product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.06);
}

/* Circular Magenta Discount Badge */
.discount-badge-circle {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--rm-pink);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.4);
    z-index: 2;
}

/* Price Display Styling */
.price-strike-blue {
    color: var(--rm-blue-strike);
    text-decoration: line-through;
    font-weight: 600;
    font-size: 0.9rem;
}

.price-sale-orange {
    color: var(--rm-orange);
    font-weight: 700;
    font-size: 1.15rem;
}

/* Rock Metal Action Buttons */
.btn-order-orange {
    background-color: var(--rm-orange);
    color: #ffffff;
    border: none;
    font-weight: 700;
    border-radius: 30px;
    padding: 8px 16px;
    width: 100%;
    transition: background 0.2s, transform 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-decoration: none;
}

.btn-order-orange:hover {
    background-color: var(--rm-orange-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-view-more {
    background-color: var(--rm-orange);
    color: #ffffff;
    border: none;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 4px;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-view-more:hover {
    background-color: var(--rm-orange-hover);
    color: #ffffff;
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
}

.mobile-nav-link {
    color: #64748b;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 500;
    transition: color 0.2s;
}

.mobile-nav-link i {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.mobile-nav-link.active, .mobile-nav-link:active {
    color: var(--rm-orange);
}

/* Scroll-to-Top Floating Button */
.btn-scroll-top {
    position: fixed;
    bottom: 75px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--rm-orange);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.2s;
}

.btn-scroll-top:hover {
    transform: translateY(-3px);
    color: #ffffff;
}

/* Hero Swiper Overrides - Prevent horizontal scroll overflow */
.full-screen-swiper-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.swiper-slide-hero {
    min-height: 380px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11,15,25,0.9) 0%, rgba(11,15,25,0.6) 60%, rgba(11,15,25,0.2) 100%);
}

.swiper-button-next, .swiper-button-prev {
    color: #ffffff !important;
    background: var(--rm-orange);
    width: 38px !important;
    height: 38px !important;
    border-radius: 50%;
    transition: all 0.25s ease;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 0.9rem !important;
    font-weight: bold;
}

/* Slide-Over Cart Drawer Styles */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1045;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -6px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ============================================================
   MOBILE RESPONSIVENESS (EXACT 1 PRODUCT PER ROW ON MOBILE)
   ============================================================ */
@media (max-width: 575.98px) {
    /* 1 PRODUCT PER ROW ON MOBILE PHONES */
    .row > .col-12,
    .row > .col-sm-6,
    .product-card-col {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .product-card {
        margin-bottom: 10px;
        border-radius: 10px;
    }

    .product-img-wrapper {
        padding-top: 85%; /* Elegant proportion on full-width mobile cards */
    }

    .product-card .p-2 {
        padding: 14px 16px !important;
    }

    .product-card h6 {
        font-size: 1rem !important;
        margin-bottom: 6px !important;
    }

    .price-sale-orange {
        font-size: 1.25rem !important;
    }

    .btn-order-orange {
        padding: 10px 18px !important;
        font-size: 0.95rem !important;
    }

    /* Header Compact Mobile */
    .sf-navbar {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    /* Hero Slider Mobile */
    .swiper-slide-hero {
        min-height: 280px;
    }

    .swiper-slide-hero h1 {
        font-size: 1.65rem !important;
    }

    .swiper-button-next, .swiper-button-prev {
        display: none !important; /* Hide arrows on touch phones to prevent obstruction */
    }
}