/* ----------------------------------------------------
   GLOBAL STYLE
---------------------------------------------------- */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f8f9fa;
    padding-top: 80px; /* Navbar spacing */
}

section {
    scroll-margin-top: 80px;
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
}

/* Branding Colors */
:root {
    --primary-red: #BF1A1A;
    --orange: #FF6C0C;
    --yellow: #FFE08F;
    --dark-navy: #060771;
}


/* ----------------------------------------------------
   NAVBAR
---------------------------------------------------- */
.custom-nav {
    background: var(--dark-navy) !important;
    padding: 15px 0;
    transition: 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.custom-nav .navbar-brand {
    color: var(--yellow) !important;
    font-size: 26px;
    font-weight: 700;
}

.custom-nav .nav-link {
    color: #fff !important;
    margin-left: 22px;
    font-weight: 500;
    transition: 0.3s ease;
}

.custom-nav .nav-link:hover {
    color: var(--orange) !important;
}

.navbar-toggler-icon {
    filter: invert(100%);
}
/* Cart Icon Style */
.nav-link i.bi-cart3 {
    color: #fff;
    transition: 0.2s ease;
}

.nav-link:hover i.bi-cart3 {
    color: var(--orange);
}

/* Cart Counter Bubble */
.cart-count {
    font-size: 12px;
    padding: 4px 6px;
}



/* ----------------------------------------------------
   HERO SECTION
---------------------------------------------------- */
.hero-section {
    height: 85vh;
    min-height: 600px;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
}


/* ----------------------------------------------------
   CATEGORY SECTION
---------------------------------------------------- */
.category-box {
    background: white;
    transition: 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.category-box:hover {
    transform: translateY(-10px);
    border-color: var(--orange);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.category-box img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}


/* ----------------------------------------------------
   PRODUCT CARDS
---------------------------------------------------- */
.product-card {
    transition: 0.35s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-red);
    box-shadow: 0 14px 30px rgba(0,0,0,0.2);
}

.product-card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}


/* ADD TO CART BUTTON */
.product-card button {
    background: var(--primary-red);
    border: none;
}

.product-card button:hover {
    background: var(--orange);
}


/* ----------------------------------------------------
   PROMO SECTION
---------------------------------------------------- */
.promo-section {
    background: var(--primary-red);
    padding: 80px 0;
}

.promo-section .btn-warning {
    background: var(--yellow);
    color: #000;
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 35px;
    border: none;
}

.promo-section .btn-warning:hover {
    background: var(--orange);
    color: #fff;
}


/* ----------------------------------------------------
   NEWSLETTER
---------------------------------------------------- */
.newsletter-form input {
    border: 2px solid var(--dark-navy);
    border-radius: 50px;
    padding-left: 20px;
}

.newsletter-form input:focus {
    border-color: var(--orange);
    box-shadow: none;
}

.newsletter-form button {
    background: var(--dark-navy);
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
}

.newsletter-form button:hover {
    background: var(--orange);
}


/* ----------------------------------------------------
   CART PAGE DESIGN — PREMIUM STYLE
---------------------------------------------------- */

.cart-container {
    max-width: 900px;
    margin: auto;
}

.cart-card {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.cart-card:hover {
    transform: translateY(-3px);
}

.cart-card img {
    height: 160px;
    width: 100%;
    object-fit: cover;
    border-radius: 14px 0 0 0;
}

.cart-body {
    padding: 20px 25px;
}

.cart-title {
    font-size: 20px;
    font-weight: 700;
}

.cart-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-red);
}

.cart-subtotal {
    font-weight: 600;
}

/* Quantity Box */
.quantity-btn {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    font-weight: bold;
}

.quantity-btn:hover {
    background: var(--dark-navy);
    color: #fff;
}

.quantity-display {
    font-size: 18px;
    font-weight: 600;
}

/* Remove Button */
.remove-item {
    background: var(--primary-red);
    border: none;
    padding: 6px 18px;
    border-radius: 50px;
    color: #fff;
    transition: 0.3s ease;
}

.remove-item:hover {
    background: var(--dark-navy);
}

/* Cart Total Box */
.cart-total-box {
    padding: 25px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* Checkout Button */
.checkout-btn {
    background: var(--orange);
    border: none;
    padding: 15px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    color: #fff;
    transition: 0.3s ease;
}

.checkout-btn:hover {
    background: var(--primary-red);
    color: #fff;
}


/* ----------------------------------------------------
   CHECKOUT PAGE — PREMIUM DESIGN
---------------------------------------------------- */

.checkout-container {
    max-width: 1100px;
}

.checkout-box, .summary-box {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.checkout-field {
    border-radius: 8px;
    padding: 10px;
}

.checkout-field:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 0.15rem rgba(255,108,12,0.3);
}

.summary-box hr {
    border-color: rgba(0,0,0,0.15);
}

.summary-item {
    background: #f9f9f9;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.checkout-btn {
    background: var(--primary-red);
    padding: 14px;
    font-size: 18px;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    transition: 0.3s ease;
}

.checkout-btn:hover {
    background: var(--orange);
}
/* ----------------------------------------------------
   ORDER SUCCESS PAGE
---------------------------------------------------- */

.success-container {
    max-width: 750px;
}

.success-box {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.success-icon i {
    font-size: 90px;
    color: var(--primary-red);
}

.order-number {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-navy);
}

.btn-primary {
    background: var(--primary-red);
    border: none;
}

.btn-primary:hover {
    background: var(--orange);
}

.btn-outline-primary {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.btn-outline-primary:hover {
    background: var(--primary-red);
    color: #fff;
}


/* ----------------------------------------------------
   PRODUCT DETAILS PAGE
---------------------------------------------------- */

.product-container {
    max-width: 1100px;
}

.main-image-box {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.main-product-image {
    width: 100%;
    border-radius: 15px;
}

.thumb-row {
    display: flex;
}

.thumb-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
}

.thumb-img:hover {
    transform: scale(1.05);
}

.active-thumb {
    border-color: var(--primary-red);
}

.product-price {
    color: var(--primary-red);
    font-weight: 700;
}

.qty-input {
    width: 80px;
    padding: 8px;
}

.addtocart-btn {
    background: var(--primary-red);
    border: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    transition: 0.3s;
    color: #fff;
}

.addtocart-btn:hover {
    background: var(--orange);
}

.product-details ul {
    line-height: 2;
    font-size: 16px;
}


/* ----------------------------------------------------
   SHOP PAGE — PRODUCT GRID & FILTERS
---------------------------------------------------- */

.filter-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.filter-category li {
    margin-bottom: 10px;
    cursor: pointer!important;
    font-weight: 500;
    transition: 0.2s;
}

.filter-category li:hover {
    color: var(--primary-red);
}

.product-box {
    background: #fff;
    border-radius: 14px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.product-box:hover {
    transform: translateY(-5px);
}

.product-img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    margin-top: 15px;
}

.product-price {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 10px;
}

.btn-outline-primary {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.btn-outline-primary:hover {
    background: var(--primary-red);
    color: #fff;
}

.btn-primary {
    background: var(--primary-red);
    border: none;
}

.btn-primary:hover {
    background: var(--orange);
}


/* ----------------------------------------------------
   LOGIN / REGISTER
---------------------------------------------------- */

.login-container {
    min-height: 100vh;
}

.login-box {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.nav-pills .nav-link {
    border-radius: 50px;
    font-weight: 600;
    color: var(--dark-navy);
}

.nav-pills .nav-link.active {
    background: var(--primary-red);
}


/* ----------------------------------------------------
   ADMIN PANEL
---------------------------------------------------- */

.admin-wrapper {
    min-height: 100vh;
}

.admin-sidebar {
    width: 240px;
    background: var(--dark-navy);
}

.admin-menu {
    list-style: none;
    padding: 0;
}

.admin-menu li {
    color: #fff;
    padding: 12px 0;
    cursor: pointer;
    transition: 0.2s;
}

.admin-menu li:hover,
.admin-menu li.active {
    color: var(--yellow);
}

.admin-content {
    flex: 1;
    background: #f8f9fa;
}

/* ----------------------------------------------------
   ADMIN ORDERS PAGE
---------------------------------------------------- */

.table thead th {
    background: var(--dark-navy);
    color: #fff;
}

.table-hover tbody tr:hover {
    background: rgba(0,0,0,0.03);
}


/* ----------------------------------------------------
   USER PROFILE / ORDERS
---------------------------------------------------- */

.table th {
    background: var(--dark-navy);
    color: #fff;
}

.category-hero {
    height: 45vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.category-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.category-hero .container {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.category-list li {
    padding: 10px;
    cursor: pointer;
    border-radius: 6px;
}

.category-list li:hover {
    background: #FFE08F;
    color: #060771;
}

.product-card {
    border-radius: 12px;
    padding: 15px;
    background: #fff;
    transition: transform .3s, box-shadow .3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.price {
    font-weight: bold;
    color: #BF1A1A;
}
.product-excerpt {
    font-size: 14px;
    color: #666;
    min-height: 40px;
}
.product-excerpt {
    opacity: 0;
    transition: .3s;
}

.category-card:hover .product-excerpt {
    opacity: 1;
}



/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
.footer-area {
    background: var(--dark-navy);
}


/* ----------------------------------------------------
   RESPONSIVE FIXES
---------------------------------------------------- */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }

    .category-box img,
    .product-card img {
        height: 150px;
    }
}
