/* ===============================================
   Awesome Mall - Enhanced CSS Variables
   Bootstrap 5 Compatible Design System
   =============================================== */

:root {
    /* ========== Brand Colors (Awesome Mall App Theme) ========== */
    --am-primary: #E8663D;
    /* Primary Red-Orange - matching logo */
    --am-primary-hover: #d14d24;
    /* Darker on Hover */
    --am-primary-light: #fef2ee;
    /* Light Background */
    --am-primary-dark: #c74520;
    /* Darker primary */

    --am-corporate-blue: #00203F;
    /* Corporate Dark Blue - Add to Cart, Links */
    --am-footer-bg: #434956;
    /* Light charcoal footer */
    --am-footer-surface: #4b5260;
    --am-footer-text: #e8eaed;
    /* Footer Text */

    /* Accent & Semantic Colors */
    --am-secondary: #dc3545;
    /* Red for discounts/alerts */
    --am-success: #0CA725;
    /* Forest Green - Sale Ribbon */
    --am-success-bright: #0BDA5B;
    /* Bright Green - In Stock */
    --am-warning: #f59e0b;
    /* Warning Amber */
    --am-danger: #F10909;
    /* Bright Red - Deals */
    --am-info: #0275D8;
    /* Info Blue - New Ribbon */

    /* Neutral Colors */
    --am-text-dark: #282828;
    /* Primary Text Color */
    --am-text-muted: #757575;
    /* Muted/Secondary Text */
    --am-text-light: #999999;
    /* Light Text */
    --am-border: #e0e0e0;
    /* Border Color */
    --am-border-light: #f0f0f0;
    /* Lighter Border */
    --am-bg: #ffffff;
    /* Page Background */
    --am-bg-light: #ffffff;
    /* Light Background */
    --am-white: #ffffff;
    /* Pure White */
    --am-black: #000000;
    /* Pure Black */

    --color-bg-body: #ffffff;
    /* Body Background */
    --color-text-main: #282828;

    /* ========== Typography ========== */
    --font-primary: 'Inter', 'Roboto', sans-serif;
    --font-display: 'Outfit', sans-serif;

    --font-size-xs: 0.75rem;
    /* 12px */
    --font-size-sm: 0.875rem;
    /* 14px */
    --font-size-base: 1rem;
    /* 16px */
    --font-size-lg: 1.125rem;
    /* 18px */
    --font-size-xl: 1.25rem;
    /* 20px */
    --font-size-2xl: 1.5rem;
    /* 24px */
    --font-size-3xl: 1.875rem;
    /* 30px */

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* ========== Spacing ========== */
    --spacing-xs: 0.25rem;
    /* 4px */
    --spacing-sm: 0.5rem;
    /* 8px */
    --spacing-md: 1rem;
    /* 16px */
    --spacing-lg: 1.5rem;
    /* 24px */
    --spacing-xl: 2rem;
    /* 32px */
    --spacing-2xl: 3rem;
    /* 48px */
    --spacing-3xl: 4rem;
    /* 64px */

    /* ========== Border Radius ========== */
    --radius-none: 0;
    --radius-sm: 0.25rem;
    /* 4px */
    --radius-md: 0.375rem;
    /* 6px */
    --radius-lg: 0.5rem;
    /* 8px */
    --radius-xl: 0.75rem;
    /* 12px */
    --radius-2xl: 1rem;
    /* 16px */
    --radius-full: 9999px;
    /* Fully rounded */

    /* Component-Specific Radius */
    --card-radius: 4px;
    --button-radius: 4px;
    --input-radius: 4px;

    /* ========== Shadows ========== */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);

    /* ========== Form Elements ========== */
    --input-height: 42px;
    --input-border: #ddd;
    --input-border-focus: var(--am-corporate-blue);
    --input-bg: var(--am-white);
    --input-bg-disabled: #f5f5f5;
    --input-text: var(--am-text-dark);
    --input-placeholder: #a0a0a0;
    --input-padding-x: 0.75rem;
    --input-padding-y: 0.5rem;

    /* Form Validation States */
    --input-valid-border: var(--am-success);
    --input-valid-bg: #f0fdf4;
    --input-invalid-border: var(--am-danger);
    --input-invalid-bg: #fef2f2;

    /* ========== Transitions ========== */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;

    /* ========== Z-Index Layers ========== */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* ========== Layout ========== */
    --header-height: 60px;
    --container-width: 1400px;
    --container-padding: 30px;
    /* New padding for edge spacing */
    --sidebar-width: 220px;

    /* ========== Breakpoints (for reference in comments) ========== */
    /* xs: 0px */
    /* sm: 576px */
    /* md: 768px */
    /* lg: 992px */
    /* xl: 1200px */
    /* xxl: 1400px */

    /* ========== Component-Specific Variables ========== */

    /* Buttons */
    --btn-padding-x: 1.25rem;
    --btn-padding-y: 0.5rem;
    --btn-font-size: var(--font-size-base);
    --btn-font-weight: var(--font-weight-medium);

    /* Cards */
    --card-padding: 1rem;
    --card-bg: var(--am-white);
    --card-border: 1px solid var(--am-border);
    --card-shadow: var(--shadow-sm);

    /* Tables */
    --table-cell-padding: 0.75rem;
    --table-border: 1px solid var(--am-border);
    --table-stripe-bg: #f9fafb;
    --table-hover-bg: var(--am-bg-light);

    /* Badges */
    --badge-padding-x: 0.5rem;
    --badge-padding-y: 0.25rem;
    --badge-font-size: var(--font-size-xs);
    --badge-border-radius: var(--radius-sm);

    /* Alerts */
    --alert-padding: 1rem;
    --alert-border-radius: var(--radius-md);
    --alert-border-width: 1px;
}

/* ========== Dark Mode Support (Optional) ========== */
@media (prefers-color-scheme: dark) {
    /* You can add dark mode variables here if needed */
}

/* Enterprise Theme Overrides */

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    padding-top: 0 !important;
    /* Override legacy padding */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: -0.025em;
}

a {
    color: var(--am-corporate-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--am-primary);
    text-decoration: none;
}

/* ========================= */
/*         HEADER            */
/* ========================= */

.header-style-1 {
    box-shadow: var(--shadow-sm);
    background: #fff;
    position: relative;
    z-index: 1000;
}

/* Top Header */
#top-header {
    background-color: #f9f9f9;
    /* Soft White */
    color: #333;
    /* Dark Text */
    padding: 4px 0;
    /* Sleeker padding */
    font-size: 0.8rem;
    border-bottom: 1px solid #eee;
}

#top-header a {
    color: #555 !important;
    font-weight: 500;
}

#top-header a:hover {
    color: var(--am-primary) !important;
}

/* Main Header */
#main-header {
    background-color: var(--color-bg-card);
    padding: 10px 0;
    /* Reduced from var(--spacing-md) */
    border-bottom: 1px solid var(--color-border);
}

#main-header .logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--am-primary);
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* Header Icons (Account, Cart, Wishlist) */
.header-right .list-inline-item>a,
.header-right .btn-group>.btn,
.animate-dropdown .dropdown-toggle {
    color: var(--am-corporate-blue);
}

.header-right .list-inline-item>a:hover,
.header-right .btn-group>.btn:hover {
    color: var(--am-primary);
}

/* Search Bar */
.search-field {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: var(--spacing-sm) var(--spacing-lg);
    width: 100%;
    transition: var(--transition-fast);
}

.search-field:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

/* Navigation */
.header-nav {
    background: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--color-text-main) !important;
    padding: var(--spacing-md) var(--spacing-lg) !important;
    border-bottom: 2px solid transparent;
}

.navbar-nav .nav-link:hover,
.navbar-nav .active .nav-link {
    color: var(--color-accent) !important;
    border-bottom-color: var(--color-accent);
}

/* ========================= */
/*       COMPONENTS          */
/* ========================= */

/* Buttons */
.btn {
    border-radius: var(--radius-md);
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    transition: var(--transition-normal);
    text-transform: none !important;
    /* Remove uppercase if present */
    letter-spacing: normal;
}

.btn-primary {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Cards */
.card,
.product-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent);
}

.product-info h3 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.product-price {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.125rem;
}

/* Info Boxes */
.info-box {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.info-box:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.info-box .icon {
    background: var(--color-bg-alt);
    border-radius: var(--radius-full);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

/* Footer */
footer {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding-top: var(--spacing-2xl);
}

footer h3,
footer h4 {
    color: white;
}

footer a {
    color: var(--color-text-light);
}

footer a:hover {
    color: white;
}

/* Awesome Mall - Modern "Franko-like" Layout */
/* Awesome Mall - Modern "Franko-like" Layout */
/* Variables now controlled at top of file */

body {
    background-color: var(--am-bg) !important;
    font-family: 'Inter', sans-serif;
}

/* ============================
   Wrapper & Containers
   ============================ */
.awesome-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    /* Added edge padding */
}

/* ============================
   Hero Section (3 Columns)
   ============================ */
.hero-wrapper {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 20px;
    height: 380px;
    /* Fixed height for consistency */
}

/* Col 1: Sidebar */
.hero-sidebar {
    width: 220px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    overflow-y: auto;
    padding: 10px 0;
}

.hero-sidebar .nav-link {
    display: flex;
    align-items: center;
    color: #282828;
    font-size: 13px;
    /* Slightly larger for Franko */
    padding: 10px 12px;
    text-transform: capitalize;
    border-bottom: 1px solid #f9f9f9;
}

.hero-sidebar .nav-link:hover {
    color: var(--am-primary);
    background-color: #f0fff4;
    /* Light green hover */
    font-weight: 500;
}

.hero-sidebar .nav-link i {
    width: 20px;
    margin-right: 8px;
    text-align: center;
    font-size: 14px;
    color: var(--am-corporate-blue);
}

/* Col 2: Slider */
.hero-slider {
    flex-grow: 1;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hero-slider .owl-carousel,
.hero-slider .item,
.hero-slider img {
    height: 100% !important;
    object-fit: cover;
}

/* Col 3: Right CTA */
.hero-right {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cta-box {
    background: #fff;
    border-radius: 4px;
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    text-decoration: none !important;
    gap: 10px;
}

.cta-box .cta-icon {
    font-size: 24px;
    color: var(--am-corporate-blue);
    width: 40px;
    text-align: center;
}

.cta-box .cta-text h6 {
    font-size: 12px;
    margin: 0;
    font-weight: 700;
    color: #282828;
    text-transform: uppercase;
}

.cta-box .cta-text p {
    font-size: 11px;
    margin: 0;
    color: #757575;
}

/* ============================
   Flash Sales Section
   ============================ */
.flash-sales-container {
    background: #fff;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.flash-header {
    background: #ffffff;
    /* Franko usually has white headers vs Jumia Red */
    border-bottom: 2px solid var(--am-corporate-blue);
    color: #333;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.flash-header .title {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    color: var(--am-corporate-blue);
}

.flash-header .timer {
    font-weight: 500;
    font-size: 16px;
    color: var(--am-secondary);
}

.flash-header .see-all {
    color: var(--am-corporate-blue);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.flash-products {
    padding: 10px;
}

/* Standard Product Card */
.am-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: all 0.2s;
    height: 100%;
    position: relative;
    text-align: left;
    padding: 10px;
}

.am-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--am-primary);
    transform: translateY(-2px);
    z-index: 2;
}

.am-card .img-wrap {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.am-card .img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.am-card .p-name {
    font-size: 13px;
    color: #282828;
    margin-bottom: 4px;
    height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    font-weight: 400;
}

.am-card .price-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    overflow: hidden;
}

.am-card .p-price {
    font-size: 16px;
    font-weight: 700;
    color: #282828;
    word-break: break-word;
    overflow-wrap: break-word;
}

.am-card .p-old-price {
    font-size: 12px;
    color: #757575;
    text-decoration: line-through;
    word-break: break-word;
    overflow-wrap: break-word;
}

.am-card .discount-tag {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--am-secondary);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 2px;
    font-weight: 700;
}

.am-card .stock-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.am-card .stock-fill {
    height: 100%;
    background: var(--am-primary);
    width: 20%;
    /* dynamic */
}

.am-card .stock-text {
    font-size: 10px;
    color: #757575;
    margin-top: 2px;
}

/* ============================
   Quick Links Grid
   ============================ */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.quick-item {
    background: #fff;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    text-decoration: none !important;
    border: 1px solid #eee;
}

.quick-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--am-primary);
}

.quick-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    object-fit: contain;
}

.quick-item span {
    display: block;
    font-size: 12px;
    color: #282828;
    font-weight: 500;
    line-height: 1.2;
}


/* ============================
   Generic Section Header
   ============================ */
.section-header-plain {
    background: #fff;
    border-radius: 4px 4px 0 0;
    padding: 10px 15px;
    border-bottom: 2px solid var(--am-corporate-blue);
    font-size: 16px;
    font-weight: 600;
    color: var(--am-corporate-blue);
    display: flex;
    justify-content: space-between;
}

.white-box {
    background: #fff;
    border-radius: 4px;
    /* padding: 10px; */
    margin-bottom: 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

/* Responsive */
@media (max-width: 992px) {

    .hero-sidebar,
    .hero-right {
        display: none;
    }

    .hero-wrapper {
        height: auto;
    }

    .hero-slider {
        height: 250px;
    }

    .quick-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================
   Site Footer
   ======================== */

#footer {
    background-color: var(--am-footer-bg);
    color: var(--am-footer-text);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    padding-top: 0;
    margin-top: 20px;
}

.footer-newsletter {
    background-color: var(--am-footer-surface);
    padding: 28px 0;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.newsletter-brand {
    flex: 1 1 280px;
}

.newsletter-brand p {
    margin: 8px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
    max-width: 420px;
}

.am-logo-small {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.am-logo-small span {
    color: var(--am-primary);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 1 1 320px;
    justify-content: flex-end;
}

.newsletter-input-group {
    display: flex;
    flex: 1;
    max-width: 360px;
}

.newsletter-input-group .input-icon {
    background: #fff;
    color: var(--am-primary);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    border-radius: 8px 0 0 8px;
}

.newsletter-input-group input {
    border: none;
    padding: 10px 12px;
    width: 100%;
    outline: none;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
}

.btn-subscribe {
    background: var(--am-primary);
    border: 1px solid var(--am-primary);
    color: #fff;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-subscribe:hover {
    background: var(--am-primary-hover);
    border-color: var(--am-primary-hover);
    color: #fff;
}

.footer-links {
    padding: 36px 0 28px;
    background-color: var(--am-footer-bg);
}

.footer-col {
    margin-bottom: 16px;
}

.footer-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 8px;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-list a:hover {
    color: #fff;
}

.footer-bottom {
    background-color: #383d47;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-left,
.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
    flex: 1 1 auto;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    margin-right: 12px;
    transition: color 0.2s ease;
}

.social-icons a:last-child {
    margin-right: 0;
}

.social-icons a:hover {
    color: var(--am-primary);
}

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

.payment-icons i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
    #footer {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }

    .footer-newsletter {
        padding: 20px 0 16px;
    }

    .newsletter-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .newsletter-brand {
        flex: 0 0 auto;
    }

    .newsletter-brand p {
        max-width: none;
    }

    .newsletter-form {
        width: 100%;
        flex: 0 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        justify-content: flex-start;
    }

    .newsletter-input-group {
        max-width: none;
        width: 100%;
    }

    .btn-subscribe {
        width: 100%;
        margin-left: 0;
    }

    .footer-links {
        padding: 24px 0 16px;
    }

    .footer-col {
        margin-bottom: 12px;
    }

    .footer-bottom {
        padding: 16px 0;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }

    .footer-bottom-left,
    .footer-bottom-right {
        justify-content: center;
    }

    .footer-copyright {
        order: 3;
    }
}

/* ===============================================
   Awesome Mall - Components Library
   Bootstrap 5 Compatible Components
   =============================================== */

/* ========================================
   FORMS & INPUTS
   ======================================== */

/* Text Inputs, Textareas, Selects */
.form-control,
.form-select {
    height: var(--input-height);
    padding: var(--input-padding-y) var(--input-padding-x);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: 1.5;
    color: var(--input-text);
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: var(--input-radius);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    color: var(--input-text);
    background-color: var(--input-bg);
    border-color: var(--input-border-focus);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(232, 102, 61, 0.1);
}

.form-control::placeholder {
    color: var(--input-placeholder);
    opacity: 1;
}

.form-control:disabled,
.form-select:disabled {
    background-color: var(--input-bg-disabled);
    opacity: 0.6;
    cursor: not-allowed;
}

textarea.form-control {
    height: auto;
    min-height: 100px;
}

/* Form Validation States */
.form-control.is-valid,
.form-select.is-valid {
    border-color: var(--input-valid-border);
    background-color: var(--input-valid-bg);
}

.form-control.is-valid:focus {
    border-color: var(--input-valid-border);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--input-invalid-border);
    background-color: var(--input-invalid-bg);
}

.form-control.is-invalid:focus {
    border-color: var(--input-invalid-border);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.valid-feedback {
    display: block;
    margin-top: 0.25rem;
    font-size: var(--font-size-sm);
    color: var(--am-success);
}

.invalid-feedback {
    display: block;
    margin-top: 0.25rem;
    font-size: var(--font-size-sm);
    color: var(--am-danger);
}

/* Input Groups */
.input-group {
    display: flex;
    align-items: stretch;
}

.input-group .form-control {
    border-radius: 0;
}

.input-group .form-control:first-child {
    border-top-left-radius: var(--input-radius);
    border-bottom-left-radius: var(--input-radius);
}

.input-group .form-control:last-child {
    border-top-right-radius: var(--input-radius);
    border-bottom-right-radius: var(--input-radius);
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: var(--input-padding-y) var(--input-padding-x);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    color: var(--am-text-muted);
    background-color: var(--am-bg-light);
    border: 1px solid var(--input-border);
}

/* Checkboxes and Radio Buttons */
.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    vertical-align: top;
    border: 1px solid var(--input-border);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--am-primary);
    border-color: var(--am-primary);
}

.form-check-input:focus {
    border-color: var(--am-primary);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(232, 102, 61, 0.1);
}

.form-check-label {
    margin-left: 0.5rem;
    cursor: pointer;
}

/* Form Labels */
.form-label {
    margin-bottom: 0.5rem;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--am-text-dark);
}

.form-label span {
    color: var(--am-danger);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: var(--btn-padding-y) var(--btn-padding-x);
    font-size: var(--btn-font-size);
    font-weight: var(--btn-font-weight);
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: var(--button-radius);
    transition: all var(--transition-fast);
    user-select: none;
}

.btn:hover {
    text-decoration: none;
}

.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(232, 102, 61, 0.15);
}

.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Button Variants */
.btn-primary {
    color: var(--am-white);
    background-color: var(--am-primary);
    border-color: var(--am-primary);
}

.btn-primary:hover {
    background-color: var(--am-primary-hover);
    border-color: var(--am-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    color: var(--am-white);
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
}

.btn-success {
    color: var(--am-white);
    background-color: var(--am-success);
    border-color: var(--am-success);
}

.btn-success:hover {
    background-color: #c74520;
    border-color: #c74520;
}

.btn-danger {
    color: var(--am-white);
    background-color: var(--am-danger);
    border-color: var(--am-danger);
}

.btn-danger:hover {
    background-color: #dc2626;
    border-color: #dc2626;
}

.btn-warning {
    color: var(--am-white);
    background-color: var(--am-warning);
    border-color: var(--am-warning);
}

.btn-warning:hover {
    background-color: #d97706;
    border-color: #d97706;
}

.btn-info {
    color: var(--am-white);
    background-color: var(--am-info);
    border-color: var(--am-info);
}

.btn-info:hover {
    background-color: #2563eb;
    border-color: #2563eb;
}

/* Outline Buttons */
.btn-outline-primary {
    color: var(--am-primary);
    border-color: var(--am-primary);
    background-color: transparent;
}

.btn-outline-primary:hover {
    color: var(--am-white);
    background-color: var(--am-primary);
    border-color: var(--am-primary);
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.btn-outline-secondary:hover {
    color: var(--am-white);
    background-color: #6c757d;
}

.btn-outline-danger {
    color: var(--am-danger);
    border-color: var(--am-danger);
}

.btn-outline-danger:hover {
    color: var(--am-white);
    background-color: var(--am-danger);
}

/* Button Sizes */
.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-lg);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Icon Buttons */
.btn .fa {
    margin-right: 0.5rem;
}

.btn .fa:only-child {
    margin-right: 0;
}

/* ========================================
   CARDS
   ======================================== */

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--card-bg);
    border: var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
}

.card-header {
    padding: var(--card-padding);
    background-color: var(--am-bg-light);
    border-bottom: 1px solid var(--am-border);
    font-weight: var(--font-weight-semibold);
    color: var(--am-text-dark);
    border-radius: var(--card-radius) var(--card-radius) 0 0;
}

.card-body {
    flex: 1 1 auto;
    padding: var(--card-padding);
}

.card-footer {
    padding: var(--card-padding);
    background-color: var(--am-bg-light);
    border-top: 1px solid var(--am-border);
    border-radius: 0 0 var(--card-radius) var(--card-radius);
}

.card-title {
    margin-bottom: 0.75rem;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
}

.card-text {
    margin-bottom: 1rem;
}

/* Card Hover Effect */
.card-hover {
    transition: all var(--transition-normal);
}

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

/* ========================================
   TABLES
   ======================================== */

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: var(--am-text-dark);
}

.table th,
.table td {
    padding: var(--table-cell-padding);
    vertical-align: top;
    border-top: var(--table-border);
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid var(--am-border);
    font-weight: var(--font-weight-semibold);
    background-color: var(--am-bg-light);
}

.table tbody+tbody {
    border-top: 2px solid var(--am-border);
}

/* Table Bordered */
.table-bordered {
    border: var(--table-border);
}

.table-bordered th,
.table-bordered td {
    border: var(--table-border);
}

/* Table Striped */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--table-stripe-bg);
}

/* Table Hover */
.table-hover tbody tr:hover {
    background-color: var(--table-hover-bg);
}

/* Responsive Tables */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
}

/* ========================================
   ALERTS
   ======================================== */

.alert {
    position: relative;
    padding: var(--alert-padding);
    margin-bottom: 1rem;
    border: var(--alert-border-width) solid transparent;
    border-radius: var(--alert-border-radius);
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-danger,
.alert-error {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.alert-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}

/* Dismissible Alerts */
.alert-dismissible {
    padding-right: 3rem;
}

.alert-dismissible .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem;
    color: inherit;
}

/* ========================================
   BADGES
   ======================================== */

.badge {
    display: inline-block;
    padding: var(--badge-padding-y) var(--badge-padding-x);
    font-size: var(--badge-font-size);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: var(--badge-border-radius);
}

.badge-primary {
    color: var(--am-white);
    background-color: var(--am-primary);
}

.badge-secondary {
    color: var(--am-white);
    background-color: #6c757d;
}

.badge-success {
    color: var(--am-white);
    background-color: var(--am-success);
}

.badge-danger {
    color: var(--am-white);
    background-color: var(--am-danger);
}

.badge-warning {
    color: var(--am-text-dark);
    background-color: var(--am-warning);
}

.badge-info {
    color: var(--am-white);
    background-color: var(--am-info);
}

/* Order Status Badges */
.badge-order-new {
    background-color: #3b82f6;
    color: white;
}

.badge-order-packed {
    background-color: #f59e0b;
    color: white;
}

.badge-order-shipped {
    background-color: #8b5cf6;
    color: white;
}

.badge-order-delivered {
    background-color: #E8663D;
    color: white;
}

.badge-order-cancelled {
    background-color: #ef4444;
    color: white;
}

/* ========================================
   BREADCRUMBS
   ======================================== */

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    background-color: var(--am-bg-light);
    border-radius: var(--radius-md);
}

.breadcrumb-item {
    display: flex;
}

.breadcrumb-item+.breadcrumb-item {
    padding-left: 0.5rem;
}

.breadcrumb-item+.breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    color: var(--am-text-muted);
    content: "/";
}

.breadcrumb-item a {
    color: var(--am-primary);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--am-primary-hover);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--am-text-muted);
}

/* ========================================
   PAGINATION
   ======================================== */

.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: var(--radius-md);
}

.page-item {
    margin: 0 0.25rem;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--am-primary);
    text-decoration: none;
    background-color: var(--am-white);
    border: 1px solid var(--am-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.page-link:hover {
    color: var(--am-white);
    background-color: var(--am-primary);
    border-color: var(--am-primary);
}

.page-item.active .page-link {
    color: var(--am-white);
    background-color: var(--am-corporate-blue);
    border-color: var(--am-corporate-blue);
}

.page-item.disabled .page-link {
    color: var(--am-text-muted);
    pointer-events: none;
    background-color: var(--am-bg-light);
}

/* ========================================
   LOADING SPINNER
   ======================================== */

.spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 0.25rem solid var(--am-border);
    border-top-color: var(--am-primary);
    border-radius: 50%;
    animation: spinner-rotate 0.75s linear infinite;
}

@keyframes spinner-rotate {
    to {
        transform: rotate(360deg);
    }
}

.spinner-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15rem;
}

/* ========================================
   EMPTY STATES
   ======================================== */

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--am-text-light);
    margin-bottom: 1rem;
}

.empty-state-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--am-text-dark);
    margin-bottom: 0.5rem;
}

.empty-state-text {
    color: var(--am-text-muted);
    margin-bottom: 1.5rem;
}

/* ========================================
   QUANTITY SELECTOR
   ======================================== */

.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--input-border);
    border-radius: var(--input-radius);
    overflow: hidden;
}

.quantity-btn {
    background-color: var(--am-bg-light);
    border: none;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    color: var(--am-text-dark);
    transition: background-color var(--transition-fast);
}

.quantity-btn:hover {
    background-color: var(--am-border);
}

.quantity-input {
    border: none;
    border-left: 1px solid var(--input-border);
    border-right: 1px solid var(--input-border);
    text-align: center;
    width: 60px;
    padding: 0.5rem;
    font-weight: var(--font-weight-medium);
}

/* ========================================
   RATING STARS
   ======================================== */

.rating-stars {
    display: inline-flex;
    gap: 0.25rem;
}

.rating-stars .fa-star {
    color: var(--am-warning);
}

.rating-stars .fa-star-o {
    color: var(--am-border);
}

/* ========================================
   TABS (Bootstrap 5 Compatible)
   ======================================== */

.nav-tabs {
    border-bottom: 2px solid var(--am-border);
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1.5rem;
    color: var(--am-text-muted);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-fast);
}

.nav-tabs .nav-link:hover {
    color: var(--am-primary);
    border-bottom-color: var(--am-border);
}

.nav-tabs .nav-link.active {
    color: var(--am-corporate-blue);
    border-bottom-color: var(--am-corporate-blue);
}

.tab-content {
    padding: 1.5rem 0;
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */

@media (max-width: 767.98px) {
    .table-responsive {
        border: none;
    }

    .btn-block-mobile {
        display: block;
        width: 100%;
    }

    .card {
        margin-bottom: 1rem;
    }
}

/* ===============================================
   Awesome Mall - Extra Styles & Animations
   Enhancements for Product Cards & UI Elements
   =============================================== */

/* ========================================
   SIDEBAR ENHANCEMENTS
   ======================================== */

.hero-sidebar .sidebar-header {
    background: var(--am-corporate-blue);
    color: #fff;
    padding: 12px 15px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.hero-sidebar .see-all-link {
    background: #f8f8f8;
    font-weight: 600;
    color: var(--am-corporate-blue) !important;
    transition: background var(--transition-fast);
}

.hero-sidebar .see-all-link:hover {
    background: var(--am-primary-light);
}

/* ========================================
   PRODUCT CARD BUTTONS
   ======================================== */

.btn-add-cart {
    display: block;
    background: var(--am-corporate-blue);
    color: #fff !important;
    text-align: center;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 4px;
    margin-top: 10px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-add-cart::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-add-cart:hover::before {
    width: 300px;
    height: 300px;
}

.btn-add-cart:hover {
    background: #00305F;
    /* Slightly lighter blue on hover */
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(232, 102, 61, 0.3);
}

.btn-add-cart .fa {
    margin-right: 5px;
    transition: transform var(--transition-fast);
}

.btn-add-cart:hover .fa {
    transform: scale(1.2);
}

.btn-out-stock {
    display: block;
    background: #f5f5f5;
    color: #999;
    text-align: center;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    margin-top: 10px;
    cursor: not-allowed;
}

/* ========================================
   SEE ALL LINKS & CTA BUTTONS
   ======================================== */

.see-all-link {
    color: var(--am-corporate-blue);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: all var(--transition-fast);
    position: relative;
}

.see-all-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--am-primary);
    transition: width var(--transition-fast);
}

.see-all-link:hover::after {
    width: 100%;
}

.see-all-link:hover {
    color: var(--am-primary-hover);
}

/* ========================================
   TIMER & COUNTDOWN STYLING
   ======================================== */

#countdown-timer {
    background: rgba(0, 0, 0, 0.05);
    padding: 5px 15px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

#timer-display {
    font-weight: 700;
    color: var(--am-secondary);
}

/* ========================================
   HERO CAROUSEL ENHANCEMENTS
   ======================================== */

#hero-carousel .item {
    height: 380px;
    position: relative;
}

#hero-carousel .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#hero-carousel .item:hover img {
    transform: scale(1.05);
}

/* Carousel Controls */
#hero-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

#hero-carousel .owl-nav button:hover {
    background: var(--am-primary) !important;
    transform: translateY(-50%) scale(1.1);
}

#hero-carousel .owl-nav .owl-prev {
    left: 10px;
}

#hero-carousel .owl-nav .owl-next {
    right: 10px;
}

/* ========================================
   BODY CONTENT SPACING
   ======================================== */

.body-content {
    padding-top: 15px;
    background: var(--am-bg);
    min-height: calc(100vh - var(--header-height) - 300px);
}

/* ========================================
   PRODUCT CARD LAYOUTS
   ======================================== */

.am-card {
    margin-bottom: 0;
}

.row .am-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.row .am-card a {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.row .am-card .price-wrap {
    margin-top: auto;
}

.row .am-card .btn-add-cart {
    margin-top: auto;
}

/* ========================================
   WISHLIST HEART ANIMATION
   ======================================== */

.wishlist-btn {
    display: inline-block;
    padding: 8px 12px;
    color: var(--am-danger);
    border: 1px solid var(--am-danger);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.wishlist-btn .fa-heart {
    transition: transform var(--transition-fast);
}

.wishlist-btn:hover {
    background: var(--am-danger);
    color: white;
}

.wishlist-btn:hover .fa-heart {
    transform: scale(1.3);
    animation: heartbeat 0.6s ease-in-out;
}

.wishlist-btn.active {
    background: var(--am-danger);
    color: white;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.3);
    }

    50% {
        transform: scale(1.1);
    }

    75% {
        transform: scale(1.25);
    }
}

/* ========================================
   PRICE STYLING
   ======================================== */

.price-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.p-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--am-text-dark);
}

.p-old-price {
    font-size: 12px;
    color: var(--am-text-muted);
    text-decoration: line-through;
}

/* Price Animation on Hover */
.am-card:hover .p-price {
    color: var(--am-corporate-blue);
    animation: price-pulse 0.5s ease;
}

@keyframes price-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ========================================
   DISCOUNT TAGS
   ======================================== */

.discount-tag {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--am-secondary);
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 2px;
    font-weight: 700;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    animation: discount-float 2s ease-in-out infinite;
}

@keyframes discount-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */

.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: var(--z-tooltip);
}

.toast {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    margin-bottom: 1rem;
    min-width: 250px;
    max-width: 350px;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: toast-slide-in 0.3s ease;
}

@keyframes toast-slide-in {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-success {
    border-left: 4px solid var(--am-success);
}

.toast-error {
    border-left: 4px solid var(--am-danger);
}

.toast-warning {
    border-left: 4px solid var(--am-warning);
}

.toast-info {
    border-left: 4px solid var(--am-info);
}

/* ========================================
   LOADING STATES
   ======================================== */

.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    margin-left: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spinner-rotate 0.6s linear infinite;
}

/* ========================================
   SMOOTH TRANSITIONS
   ======================================== */

a,
button,
.btn,
.form-control,
.card,
.am-card {
    transition: all var(--transition-fast);
}

/* ========================================
   IMAGE HOVER EFFECTS
   ======================================== */

.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform 0.5s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.1);
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--am-corporate-blue);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    transform: translateY(100px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--am-primary-hover);
    transform: translateY(-5px);
}

.scroll-to-top .fa {
    font-size: 20px;
}

/* ========================================
   OVERLAY & MODAL IMPROVEMENTS
   ======================================== */

.modal-backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.modal-content {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
}

/* ========================================
   CATEGORY ICONS
   ======================================== */

.category-icon {
    width: 50px;
    height: 50px;
    background: var(--am-primary-light);
    color: var(--am-corporate-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all var(--transition-fast);
}

.category-icon:hover {
    background: var(--am-corporate-blue);
    color: white;
    transform: rotate(10deg) scale(1.1);
}

/* ========================================
   STOCK INDICATORS
   ======================================== */

.stock-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
}

.stock-badge.in-stock {
    background: #d1f4e0;
    color: var(--am-success);
}

.stock-badge.low-stock {
    background: #fff3cd;
    color: var(--am-warning);
}

.stock-badge.out-of-stock {
    background: #f8d7da;
    color: var(--am-danger);
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: var(--am-bg-light);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--am-border);
    border-radius: var(--radius-full);
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--am-text-muted);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 767.98px) {
    .btn-add-cart {
        font-size: 11px;
        padding: 6px 8px;
    }

    .discount-tag {
        font-size: 10px;
        padding: 3px 6px;
    }

    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }

    .scroll-to-top .fa {
        font-size: 16px;
    }

    .toast {
        min-width: 200px;
        max-width: 300px;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {

    .btn-add-cart,
    .wishlist-btn,
    .scroll-to-top,
    .toast-container,
    .hero-carousel .owl-nav {
        display: none !important;
    }
}

/* ===============================================
   Shop & Category Pages - Enhanced Styles
   Design Option 2: Category-Focused Layout
   =============================================== */

/* ========================================
   CATEGORY HERO BANNER
   ======================================== */

.category-banner {
    background: linear-gradient(135deg, var(--am-primary) 0%, var(--am-primary-dark) 100%);
    background-size: cover;
    background-position: center;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.category-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.category-banner-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.category-banner h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.category-banner p {
    font-size: 1.125rem;
    margin-bottom: 0;
    opacity: 0.95;
}

@media (max-width: 767px) {
    .category-banner {
        height: 200px;
    }

    .category-banner h1 {
        font-size: 1.75rem;
    }

    .category-banner p {
        font-size: 0.95rem;
    }
}

/* ========================================
   FILTER CHIPS (Active Filters)
   ======================================== */

.filter-chips-container {
    margin-bottom: 1.5rem;
    padding: 0.75rem 0;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--am-primary-light);
    color: var(--am-primary);
    border: 1px solid var(--am-primary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.filter-chip:hover {
    background: var(--am-primary);
    color: white;
}

.filter-chip .remove-filter {
    margin-left: 6px;
    cursor: pointer;
    font-weight: bold;
    opacity: 0.7;
    padding: 0 4px;
}

.filter-chip .remove-filter:hover {
    opacity: 1;
}

.clear-all-filters {
    color: var(--am-danger);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
}

.clear-all-filters:hover {
    color: #c82333;
}

/* ========================================
   SHOP TOOLBAR (Sort & View Options)
   ======================================== */

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--am-bg-light);
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.product-count {
    font-size: 0.95rem;
    color: var(--am-text-muted);
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-dropdown label {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.sort-dropdown select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid var(--input-border);
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
}

/* ========================================
   SIDEBAR FILTERS
   ======================================== */

.shop-sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.filter-section {
    border-bottom: 1px solid var(--am-border-light);
    padding: 1rem 0;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--am-text-dark);
    margin-bottom: 1rem;
}

.filter-section-title i {
    transition: transform var(--transition-fast);
}

.filter-section.collapsed .filter-section-title i {
    transform: rotate(-90deg);
}

.filter-options {
    display: block;
}

.filter-section.collapsed .filter-options {
    display: none;
}

.filter-option {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.filter-option input[type="checkbox"] {
    margin-right: 0.5rem;
}

.filter-option label {
    margin: 0;
    cursor: pointer;
    font-size: 0.95rem;
}

/* Price Range Slider */
.price-range-slider {
    padding: 1rem 0;
}

.price-inputs {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.price-inputs input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--input-border);
    border-radius: 4px;
}

/* ========================================
   ENHANCED PRODUCT GRID
   ======================================== */

.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1199px) {
    .shop-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .shop-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 575px) {
    .shop-product-grid {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Product Card */
.shop-product-card {
    background: white;
    border: 1px solid var(--am-border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

.shop-product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--am-primary);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
}

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

.shop-product-card:hover .product-image-wrapper img {
    transform: scale(1.1);
}

/* ========================================
   DISCOUNT BADGES
   ======================================== */

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--am-danger);
    color: white;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.discount-badge .discount-percent {
    font-size: 16px;
    line-height: 1;
}

.discount-badge .off-text {
    font-size: 10px;
    text-transform: uppercase;
}

.badge-new {
    background: var(--am-info);
}

.badge-sale {
    background: var(--am-danger);
}

.badge-hot {
    background: var(--am-warning);
}

/* ========================================
   PRODUCT INFO
   ======================================== */

.product-info {
    padding: 1rem;
}

.product-category {
    font-size: 0.75rem;
    color: var(--am-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--am-text-dark);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stars {
    color: var(--am-warning);
    font-size: 0.875rem;
}

.rating-count {
    font-size: 0.75rem;
    color: var(--am-text-muted);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--am-primary);
}

.original-price {
    font-size: 0.95rem;
    color: var(--am-text-muted);
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-add-to-cart {
    flex: 1;
    background: var(--am-primary);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-add-to-cart:hover {
    background: var(--am-primary-hover);
    transform: translateY(-2px);
}

.btn-wishlist {
    background: white;
    border: 1px solid var(--am-border);
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-wishlist:hover {
    border-color: var(--am-danger);
    color: var(--am-danger);
}

/* ========================================
   PAGINATION
   ======================================== */

.shop-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--am-border-light);
}

.shop-pagination .pagination {
    display: flex;
    gap: 0.5rem;
}

.shop-pagination .page-item .page-link {
    padding: 0.5rem 1rem;
    border: 1px solid var(--am-border);
    color: var(--am-text-dark);
    border-radius: 4px;
}

.shop-pagination .page-item.active .page-link {
    background: var(--am-primary);
    color: white;
    border-color: var(--am-primary);
}

.shop-pagination .page-item:hover .page-link {
    background: var(--am-primary-light);
    border-color: var(--am-primary);
}

/* ========================================
   MOBILE ENHANCEMENTS
   ======================================== */

@media (max-width: 991px) {
    .shop-sidebar {
        margin-bottom: 2rem;
    }

    .filter-chips-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .filter-chips {
        flex-wrap: nowrap;
    }
}

@media (max-width: 767px) {
    .shop-toolbar {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .sort-dropdown {
        width: 100%;
    }

    .sort-dropdown select {
        flex: 1;
    }
}

/* ========================================
   EMPTY STATE
   ======================================== */

.no-products-found {
    text-align: center;
    padding: 4rem 2rem;
}

.no-products-found i {
    font-size: 4rem;
    color: var(--am-text-light);
    margin-bottom: 1rem;
}

.no-products-found h3 {
    color: var(--am-text-dark);
    margin-bottom: 0.5rem;
}

.no-products-found p {
    color: var(--am-text-muted);
}