/* 
   Monsoon Agro Bio Pvt. Ltd. - Homepage Style Guide
   Custom Premium Design System
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* 60% Dominant Base: Deep Navy Structure */
    --primary: #193854;
    --primary-rgb: 25, 56, 84;
    --primary-hover: #122b42;
    --primary-light: #204566;
    
    /* 30% Secondary Accent: Vibrant Sky Blue / Cyan */
    --secondary: #29BFF1;
    --secondary-rgb: 41, 191, 241;
    --secondary-hover: #1baee0;
    --secondary-light: #e0f7fe;
    --accent-turquoise: #29BFF1;
    
    /* 10% Highlight Accent: Warm Golden Yellow */
    --accent-yellow: #FED93C;
    --accent-yellow-rgb: 254, 217, 60;
    --accent-lemon: #FED93C;
    --accent-gold: #FED93C;
    --accent-yellow-hover: #fcc914;

    --dark: #193854;
    --light-gray: #f8fafc;
    --border-gray: #e2e8f0;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --accent-orange: #f97316;
    --accent-red: #ef4444;
    --shadow-sm: 0 2px 4px rgba(25, 56, 84, 0.06);
    --shadow-md: 0 4px 14px rgba(25, 56, 84, 0.10);
    --shadow-lg: 0 12px 28px rgba(25, 56, 84, 0.15);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* Header & Navigation */
.top-bar {
    background-color: #29BFF1;
    color: #ffffff;
    padding: 9px 5%;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2.5px solid #FED93C; /* Lemon Green Accent Divider */
    box-shadow: 0 2px 8px rgba(59, 108, 213, 0.25);
}

.top-bar-left {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3.5px 13px 3.5px 5px;
    background: rgba(18, 50, 77, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 30px;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.2px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-bar-left a i {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #ffffff;
    color: #0284c7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
}

.top-bar-left a:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #193854;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 12px rgba(18, 50, 77, 0.22);
}

.top-bar-left a:hover i {
    background: #193854;
    color: #84cc16; /* Glowing Lemon green on navy circle */
    transform: scale(1.05);
}

.top-bar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-slogan {
    color: #f8fafc;
    font-size: 12.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 7px;
    background:  #193854;
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid rgba(163, 230, 53, 0.35);
}

.top-bar-slogan::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background-color: #84cc16; /* Glowing Lemon Green dot */
    border-radius: 50%;
    box-shadow: 0 0 8px #a3e635;
}

.top-bar-socials {
    display: flex;
    gap: 8px;
    align-items: center;
}

.top-bar-socials a {
    color: #ffffff;
    font-size: 12px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(25, 56, 84, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.top-bar-socials a:hover {
    background-color: #84cc16; /* Lemon Green on hover */
    color: #193854; /* Navy icon on hover */
    border-color: #84cc16;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(132, 204, 22, 0.4);
}

/* Main Navigation */
.main-header {
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 3px clamp(12px, 2.5vw, 36px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
}

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-svg {
    height: clamp(65px, 6vw, 95px);
    width: auto;
    transition: height 0.3s ease;
}

.nav-cta-wrapper {
    display: flex;
    align-items: center;
    margin-left: 8px;
    flex-shrink: 0;
}

.btn-login-header {
    background: #193854;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    border: 1.5px solid #3b6cd5;
    box-shadow: 0 2px 6px rgba(59, 108, 213, 0.25);
}

.btn-login-header i {
    color: #a3e635; /* Lemon Green User Icon */
}

.btn-login-header:hover {
    background: #193854;
    border-color: #84cc16;
    color: #bef264;
    box-shadow: 0 4px 14px rgba(25, 56, 84, 0.35);
}

.mobile-login-item {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.1vw, 18px);
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-item {
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(11px, 0.82vw, 12.8px);
    color: #193854;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.15px;
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 15px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: #3b6cd5;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #29BFF1 0%, #FED93C 100%);
    border-radius: 2px;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 330px;
    width: max-content;
    max-width: 420px;
    box-shadow: 0 12px 28px rgba(25, 56, 84, 0.14);
    border-radius: 6px;
    border-top: 3.5px solid #29BFF1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 22px;
    font-size: 14px;
    color: #193854;
    border-bottom: 1px solid var(--border-gray);
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.dropdown-item:last-child a {
    border-bottom: none;
}

.dropdown-item a:hover {
    background-color: #e0f7fe;
    color: #193854;
    border-left: 3.5px solid #29BFF1;
    padding-left: 24px;
}

.dropdown-item:has(.submenu li) > a::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    color: #94a3b8;
    margin-left: 18px;
    transition: transform 0.2s, color 0.2s;
}

.dropdown-item:hover > a::after {
    color: #FED93C;
    transform: translateX(3px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: auto;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.93) 48%, rgba(240,249,255,0.8) 75%, rgba(24,57,82,0.35) 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 15px 5%;
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 35px;
    align-items: center;
}

.hero-text-side {
    max-width: 680px;
}

.hero-badge {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 15px;
    font-style: italic;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 46px;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-title span {
    color: var(--primary);
}

.hero-description {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Search Tabs & Box */
.search-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 20px;
    margin-top: 20px;
    border: 1px solid var(--border-gray);
}

.search-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-gray);
    padding-bottom: 8px;
}

.search-tab-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 4px 4px 0 0;
    transition: var(--transition);
}

.search-tab-btn.active {
    background-color: var(--light-gray);
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-input-wrapper {
    flex-grow: 1;
    position: relative;
}

.search-icon-inside {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 14px;
    background-color: var(--light-gray);
}

.search-select {
    padding: 12px 20px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 14px;
    background-color: #ffffff;
    color: var(--text-main);
    cursor: pointer;
}

.search-submit-btn {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 0 30px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.search-submit-btn:hover {
    background-color: var(--primary-hover);
}

.popular-searches {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 12px;
}

.popular-searches strong {
    color: var(--dark);
}

.popular-searches a {
    color: var(--text-muted);
    margin: 0 4px;
}

.popular-searches a:hover {
    color: var(--primary);
}

/* Combined Login Tab Box */
.login-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-gray);
    overflow: hidden;
}

.login-tabs-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--light-gray);
    border-bottom: 1px solid var(--border-gray);
}

.login-tab-btn {
    background: none;
    border: none;
    padding: 16px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.login-tab-btn i {
    font-size: 18px;
}

.login-tab-btn.active {
    background-color: #ffffff;
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}

.login-tabs-content {
    padding: 25px;
}

.login-tab-pane {
    display: none;
}

.login-tab-pane.active {
    display: block;
    animation: fadeIn var(--transition-speed) ease-in-out;
}

.login-intro {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.login-form-group {
    margin-bottom: 15px;
    position: relative;
}

.login-form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.login-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    font-size: 14px;
    background-color: var(--light-gray);
    transition: var(--transition);
}

.login-input:focus {
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 104, 55, 0.1);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 20px;
}

.login-checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    cursor: pointer;
}

.forgot-password-link {
    color: var(--accent-orange);
    font-weight: 500;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

.login-action-btn {
    width: 100%;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}

.login-action-btn:hover {
    background-color: var(--primary-hover);
}

.register-prompt {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 15px;
}

.register-prompt a {
    color: var(--primary);
    font-weight: 600;
}

.register-prompt a:hover {
    text-decoration: underline;
}

/* Feature Icons Row */
.features-section {
    background-color: #ffffff;
    padding: 30px 5%;
    border-bottom: 1px solid var(--border-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 104, 55, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-item:hover .feature-icon-wrapper {
    background-color: var(--primary);
    color: #ffffff;
    transform: scale(1.1);
}

.feature-info h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 2px;
}

.feature-info p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Section Common Styles */
.section-padding {
    padding: 60px 5%;
}

.section-bg-light {
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 28px;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-muted);
}

/* Explore Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
}

.category-card {
    background-color: #ffffff;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.category-img-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    background-color: var(--light-gray);
    border: 2px solid var(--border-gray);
}

.category-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-img-wrapper img {
    transform: scale(1.1);
}

.category-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.category-btn {
    width: 22px;
    height: 22px;
    background-color: var(--light-gray);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: var(--transition);
}

.category-card:hover .category-btn {
    background-color: var(--primary);
    color: #ffffff;
}

/* Featured Products Section */
.products-container {
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

@media (min-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color:   #29BFF1;
    color: #ffffff;
    padding: 3px 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-img-wrapper {
    height: 170px;
    overflow: hidden;
    position: relative;
    background-color: var(--light-gray);
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.08);
}

.product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-details {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-detail-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--border-gray);
    padding-bottom: 3px;
}

.product-detail-item:last-child {
    border-bottom: none;
}

.product-detail-item strong {
    color: var(--text-main);
}

.product-action-btn {
    width: 100%;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin-top: auto;
    text-align: center;
    display: block;
    transition: var(--transition);
}

.product-action-btn:hover {
    background-color: var(--primary-hover);
}

/* ========================================================
   Classic Premium Product Card Action Buttons System
   ======================================================== */
.product-card-actions {
    margin-top: 12px;
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.product-action-btn {
    text-decoration: none;
    cursor: pointer;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 700;
    box-sizing: border-box;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    user-select: none;
}

/* Tier 1: BUY NOW Button - Frozen Deal Navy to Turquoise Gradient */
.product-action-btn.btn-action-buy {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    background: #193854;
    color: #ffffff !important;
    border: none;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 6px rgba(24, 57, 82, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-buy-content {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
}

.btn-buy-content i {
    font-size: 12.5px;
    color: #e0f2fe;
    transition: transform 0.2s ease;
}

.product-action-btn.btn-action-buy:hover {
    background: linear-gradient(135deg, #0f2537 0%, #008fa3 100%);
    transform: translateY(-1.5px);
    box-shadow: 0 6px 14px rgba(24, 57, 82, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.product-action-btn.btn-action-buy:hover .btn-buy-content i {
    transform: scale(1.12);
}

.product-action-btn.btn-action-buy:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(24, 57, 82, 0.2);
}

/* MOQ Pill Badge inside Buy Now */
.btn-moq-badge {
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(4px);
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.25px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-moq-badge i {
    font-size: 9.5px;
    opacity: 0.9;
}

.product-action-btn.btn-action-buy:hover .btn-moq-badge {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Tier 2: Row for RFQ & AUCTION */
.product-card-subactions {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: 3px;
    margin-bottom: 2px;
}

/* Base styling for subaction buttons */
.product-action-btn.btn-action-rfq,
.product-action-btn.btn-action-auction {
    flex: 1;
    min-height: 35px;
    height: auto;
    padding: 6px 8px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.25;
    text-align: center;
    box-sizing: border-box;
}

/* RFQ Button - Cyan / Sky Blue Gradient with Crisp Contrast */
.product-action-btn.btn-action-rfq {
    background: linear-gradient(135deg, #0284c7 0%, #0098b8 100%);
    color: #ffffff !important;
    border: 1px solid rgba(2, 132, 199, 0.4);
    box-shadow: 0 2px 5px rgba(2, 132, 199, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.product-action-btn.btn-action-rfq i {
    font-size: 11.5px;
    color: #e0f2fe;
    transition: transform 0.2s ease;
}

.product-action-btn.btn-action-rfq:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
    transform: translateY(-1.5px);
    box-shadow: 0 5px 12px rgba(2, 132, 199, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.product-action-btn.btn-action-rfq:hover i {
    transform: scale(1.15);
}

.product-action-btn.btn-action-rfq:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(2, 132, 199, 0.2);
}

/* AUCTION Button - Deep Teal Gradient (Matching B2B Auction / Bidding Theme) */
.product-action-btn.btn-action-auction {
    background: linear-gradient(135deg, #0f766e 0%, #0d5f58 100%);
    color: #ffffff !important;
    border: 1px solid rgba(15, 118, 110, 0.4);
    box-shadow: 0 2px 5px rgba(15, 118, 110, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.product-action-btn.btn-action-auction i {
    font-size: 11.5px;
    color: #ccfbf1;
    transition: transform 0.2s ease;
}

.product-action-btn.btn-action-auction:hover {
    background: linear-gradient(135deg, #115e59 0%, #0f766e 100%);
    transform: translateY(-1.5px);
    box-shadow: 0 5px 12px rgba(15, 118, 110, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.product-action-btn.btn-action-auction:hover i {
    transform: rotate(-15deg) scale(1.15);
}

.product-action-btn.btn-action-auction:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(15, 118, 110, 0.2);
}

@media (max-width: 420px) {
    .product-action-btn.btn-action-buy {
        padding: 0 8px;
        font-size: 11px;
    }
    .btn-moq-badge {
        font-size: 9.5px;
        padding: 2px 6px;
    }
    .product-action-btn.btn-action-rfq,
    .product-action-btn.btn-action-auction {
        font-size: 10.5px;
        gap: 4px;
    }
}

.view-all-container {
    text-align: center;
}

.btn-outline {
    background: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #ffffff;
}

/* Global Video/Image Modal Overlay */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Live Reverse Auctions Section (Enhanced User Request) */
.auction-section {
    background-color: #ffffff;
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
}

.auction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.auction-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 2px solid #efefef;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.auction-card:hover {
    border-color: var(--accent-red);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.auction-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-red);
    color: #ffffff;
    padding: 4px 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulse 1.5s infinite;
}

.auction-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
}

.auction-body {
    padding: 25px;
}

.auction-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 5px;
}

.auction-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.auction-timer-container {
    background-color: rgba(217, 56, 56, 0.08);
    border: 1px solid rgba(217, 56, 56, 0.2);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
}

.auction-timer-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    color: var(--accent-red);
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.auction-timer {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    color: var(--dark);
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.timer-part {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-val {
    font-weight: 800;
}

.timer-unit {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: -3px;
}

.auction-details-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
    padding: 15px 0;
    margin-bottom: 20px;
}

.auction-detail-point {
    display: flex;
    flex-direction: column;
}

.auction-detail-point span {
    font-size: 11px;
    color: var(--text-muted);
}

.auction-detail-point strong {
    font-size: 14px;
    color: var(--dark);
}

.auction-detail-point.l1-price strong {
    color: var(--primary);
    font-size: 16px;
}

.auction-bid-btn {
    width: 100%;
    background-color:  #193854;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.auction-bid-btn:hover {
    background-color: #b82828;
}

/* Call-to-Actions (Quotation & Sell CTAs - Enhanced User Request) */
.cta-split-section {
    padding: 60px 5%;
    background-color: var(--light-gray);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.cta-box {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-gray);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: var(--primary);
    z-index: 2;
}

.cta-box.cta-sell::before {
    background-color: var(--accent-orange);
}

.cta-icon-bg {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 140px;
    color: rgba(0,0,0,0.02);
    z-index: -1;
    transform: rotate(-15deg);
}

.cta-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.cta-tag-buy {
    background-color: rgba(0, 104, 55, 0.1);
    color: var(--primary);
}

.cta-tag-sell {
    background-color: rgba(241, 90, 36, 0.1);
    color: var(--accent-orange);
}

.cta-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.cta-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-stats-highlight {
    background-color: var(--light-gray);
    border-radius: 6px;
    padding: 10px 15px;
    margin-bottom: 25px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
}

.cta-stats-highlight strong {
    color: var(--accent-orange);
    font-size: 16px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition);
}

.cta-btn-buy {
    background-color: var(--primary);
}

.cta-btn-buy:hover {
    background-color: var(--primary-hover);
    transform: translateX(3px);
}

.cta-btn-sell {
    background-color:   #29BFF1;
}

.cta-btn-sell:hover {
    background-color: #d64716;
    transform: translateX(3px);
}

/* Why Choose Us Section */
.why-choose-section {
    background-color: #183952;
    color: #ffffff;
}

.why-choose-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.why-choose-header h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.why-choose-header h2 span {
    color: var(--secondary);
}

.why-choose-header p {
    font-size: 15px;
    color: #bde0cb;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.why-card {
    text-align: center;
    padding: 10px;
}

.why-icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: var(--secondary);
    font-size: 26px;
    transition: var(--transition);
}

.why-card:hover .why-icon-wrapper {
    background-color: var(--secondary);
    color: #183952;
    transform: scale(1.1);
}

.why-card h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 12px;
    color: #bde0cb;
    line-height: 1.4;
}

/* How It Works Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
}

.step-card {
    background-color: #ffffff;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.step-arrow {
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--text-muted);
    z-index: 2;
}

.step-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 32px;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 10px;
    text-align: right;
}

.step-icon {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 15px;
}

.step-card h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Stats Counter Section */
.stats-section {
    background-color: #183952;
    background-image: linear-gradient(135deg, #183952 0%, #0b1f2e 100%);
    color: #ffffff;
    padding: 50px 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 10px;
    opacity: 0.8;
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 5px;
}

.stat-title {
    font-size: 12px;
    color: #bae6fd;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Certifications Section */
.certs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.cert-logo {
    height: 65px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.cert-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Newsletter Section */
.newsletter-section {
    background-color: #ffffff;
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
    padding: 40px 5%;
}

.newsletter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter-text h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 5px;
}

.newsletter-text p {
    font-size: 14px;
    color: var(--text-muted);
}

.newsletter-form {
    display: flex;
    flex-grow: 1;
    max-width: 500px;
}

.newsletter-input {
    flex-grow: 1;
    padding: 12px 20px;
    border: 1px solid var(--border-gray);
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    background-color: var(--light-gray);
}

.newsletter-btn {
    background-color: var(--dark);
    color: #ffffff;
    border: none;
    padding: 0 25px;
    border-radius: 0 4px 4px 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background-color: var(--primary);
}

/* Footer Styles */
.main-footer {
    background-color: #29BFF1;
    color: #ffffff;
    font-size: 13px;
    border-top: 4px solid #84cc16;
}

.footer-top {
    padding: 60px 5% 40px 5%;
    display: grid;
    grid-template-columns: 1.2fr repeat(4, 1fr);
    gap: 30px;
}

.footer-logo-svg {
    height: 55px;
    margin-bottom: 20px;
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #f1f5f9;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-social-btn {
    width: 32px;
    height: 32px;
    background-color: rgba(25, 56, 84, 0.6);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.footer-social-btn:hover {
    background-color: #84cc16;
    color: #193854;
    border-color: #84cc16;
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #bef264;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ffffff;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #bef264;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #f1f5f9;
}

.footer-contact i {
    color: #bef264;
    margin-top: 3px;
}

.footer-contact a {
    color: #ffffff;
}

.footer-contact a:hover {
    color: #bef264;
}

.footer-bottom {
    background-color: #193854;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 12px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #ffffff;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* Global Action Button (btn-pay / btn-submit) */
.btn-pay {
    width: 100%;
    background: linear-gradient(135deg, #183952 0%, #00a8cc 100%);
    color: #ffffff !important;
    border: none;
    padding: 16px 26px;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(24, 57, 82, 0.28);
    transition: all 0.25s ease;
    box-sizing: border-box;
    display: block;
    text-align: center;
    outline: none;
}
.btn-pay:hover {
    background: linear-gradient(135deg, #0f2537 0%, #008fa3 100%);
    box-shadow: 0 8px 24px rgba(0, 168, 204, 0.38);
    transform: translateY(-2px);
    color: #ffffff !important;
}
.btn-pay:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(24, 57, 82, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Floating Scroll Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 100;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* Responsive Breakpoints */
@mixin respond-to($breakpoint) {
    @if $breakpoint == "large" {
        @media (max-width: 1200px) { @content; }
    }
    @else if $breakpoint == "medium" {
        @media (max-width: 992px) { @content; }
    }
    @else if $breakpoint == "tablet" {
        @media (max-width: 768px) { @content; }
    }
    @else if $breakpoint == "mobile" {
        @media (max-width: 480px) { @content; }
    }
}

@media (max-width: 1366px) {
    .main-header {
        padding: 3px 16px;
    }
    .nav-menu {
        gap: 10px;
    }
    .nav-link {
        font-size: 11.5px;
        letter-spacing: 0.1px;
    }
    .logo-svg {
        height: 72px;
    }
    .btn-login-header {
        padding: 6px 12px;
        font-size: 11.5px;
    }
}

@media (max-width: 1100px) {
    .main-header {
        padding: 2px 10px;
    }
    .nav-menu {
        gap: 6px;
    }
    .nav-link {
        font-size: 10.8px;
        letter-spacing: 0px;
    }
    .logo-svg {
        height: 60px;
    }
    .btn-login-header {
        padding: 5px 9px;
        font-size: 11px;
        gap: 4px;
    }
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    .why-choose-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        padding-top: 40px;
        padding-bottom: 40px;
        height: auto;
    }
    .hero-section {
        height: auto;
    }
    .hero-text-side {
        max-width: 100%;
        text-align: center;
    }
    .search-tabs {
        justify-content: center;
    }
    .search-form {
        flex-direction: column;
    }
    .search-select, .search-submit-btn {
        width: 100%;
        justify-content: center;
    }
    .cta-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 10px 5%;
    }
    .top-bar-slogan {
        display: none;
    }
    .top-bar-left {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 10px;
    }
    .top-bar-left a {
        font-size: 11.5px;
        padding: 3px 11px 3px 4px;
    }
    .logo-svg {
        height: 55px;
    }
    .nav-cta-wrapper {
        display: flex;
        align-items: center;
        margin-left: auto;
        margin-right: 12px;
    }
    .btn-login-header {
        padding: 6px 12px;
        font-size: 12px;
        gap: 6px;
    }
    .nav-menu {
        display: none; /* In production layout, a burger menu would toggle this class */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-gray);
        gap: 12px;
    }
    .nav-menu.mobile-active {
        display: flex;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .step-arrow {
        transform: rotate(90deg) translateX(-50%);
        top: auto;
        bottom: -20px;
        right: 50%;
    }
    .why-choose-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .newsletter-container {
        flex-direction: column;
        align-items: stretch;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 32px;
    }
    .section-title {
        font-size: 22px;
    }
}

/* ==========================================
   Admin Layout & Sidebar Styles
   ========================================== */
.admin-body {
    background-color: #f8fafc;
    margin: 0;
    font-family: var(--font-body);
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Enhanced Admin LHS Sidebar & In-Page Active Menu Indicator */
.admin-sidebar {
    width: 280px;
    background-color: #102436; /* Deep navy tone with high contrast */
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: var(--transition);
    z-index: 100;
    border-right: 1px solid #1d3d5d;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.25);
}

.sidebar-brand {
    padding: 18px 20px;
    background-color: #0b1a27; /* Rich dark navy header */
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #1d3d5d;
}

.sidebar-brand i {
    color: #29BFF1;
}

.sidebar-menu {
    flex-grow: 1;
    padding: 15px 0 30px 0;
    overflow-y: auto;
}

/* Custom Scrollbar for Admin Sidebar */
.sidebar-menu::-webkit-scrollbar {
    width: 5px;
}
.sidebar-menu::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar-menu::-webkit-scrollbar-thumb {
    background: rgba(41, 191, 241, 0.25);
    border-radius: 10px;
}
.sidebar-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(41, 191, 241, 0.45);
}

.menu-item {
    margin-bottom: 3px;
}

.menu-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 3px 12px;
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: #cbd5e1;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 8px;
    border-left: 4px solid transparent;
}

.menu-link:hover {
    background-color: rgba(41, 191, 241, 0.12);
    color: #ffffff;
    border-left-color: rgba(41, 191, 241, 0.5);
    transform: translateX(3px);
}

.menu-link.open {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-left-color: #29BFF1;
}

/* Parent Group Active State (highlight parent when a child page in this group is active) */
.menu-link.parent-active {
    background: linear-gradient(90deg, rgba(41, 191, 241, 0.22) 0%, rgba(16, 36, 54, 0.7) 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-left: 4px solid #29BFF1 !important;
}
.menu-link.parent-active i.icon-left {
    color: #29BFF1 !important;
    filter: drop-shadow(0 0 6px rgba(41, 191, 241, 0.7));
}
.menu-link.parent-active i.chevron {
    color: #29BFF1 !important;
}

/* Root Active State (Dashboard, Log Auditing, Fee Settings, etc.) */
.menu-link.active {
    background: linear-gradient(90deg, rgba(254, 217, 60, 0.25) 0%, #15324b 45%, rgba(41, 191, 241, 0.25) 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border-left: 5px solid #FED93C !important;
    border-radius: 4px 10px 10px 4px !important;
    box-shadow: 0 4px 16px rgba(16, 36, 54, 0.4), 0 0 12px rgba(254, 217, 60, 0.25) !important;
    transform: translateX(3px);
}

.menu-link.active i.icon-left {
    color: #FED93C !important;
    filter: drop-shadow(0 0 8px rgba(254, 217, 60, 0.85));
    transform: scale(1.2) !important;
}

.menu-link.active::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FED93C;
    box-shadow: 0 0 8px 1px #FED93C, 0 0 14px 3px rgba(254, 217, 60, 0.6);
    margin-left: auto;
    flex-shrink: 0;
    display: inline-block;
    animation: activePulseYellow 1.8s infinite ease-in-out;
}

.menu-link i.icon-left {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 15px;
    color: #29BFF1;
    transition: all 0.25s ease;
}

.menu-link:hover i.icon-left {
    color: #ffffff;
    transform: scale(1.15);
}

.menu-link i.chevron {
    font-size: 11px;
    color: #64748b;
    transition: transform 0.3s ease;
}

.menu-link.open i.chevron {
    transform: rotate(180deg);
    color: #29BFF1;
}

.submenu {
    display: none;
    background-color: #091622; /* Darker inset sub-container */
    border-left: 3px solid #1e476d;
    margin: 2px 12px 6px 18px;
    border-radius: 0 8px 8px 0;
    padding: 6px 0;
}

.submenu.show {
    display: block;
}

.submenu-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 8px 22px;
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.submenu-link:hover {
    color: #ffffff;
    background-color: rgba(41, 191, 241, 0.12);
    border-left-color: rgba(41, 191, 241, 0.5);
    padding-left: 25px;
}

/* In-Page Active Menu Indicator for Submenu Items */
.submenu-link.active {
    color: #ffffff !important;
    background: linear-gradient(90deg, rgba(254, 217, 60, 0.24) 0%, rgba(41, 191, 241, 0.14) 100%) !important;
    border-left: 4px solid #FED93C !important;
    font-weight: 800 !important;
    padding-left: 24px !important;
    box-shadow: inset 0 0 10px rgba(254, 217, 60, 0.08);
}

.submenu-link.active i {
    color: #FED93C !important;
}

.submenu-link.active::after {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FED93C;
    box-shadow: 0 0 8px 1px #FED93C, 0 0 14px 3px rgba(254, 217, 60, 0.6);
    margin-left: auto;
    flex-shrink: 0;
    display: inline-block;
    animation: activePulseYellow 1.8s infinite ease-in-out;
}

/* Header Area */
.admin-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0; /* Prevent grid breakout */
}

.admin-topbar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-gray);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    flex-wrap: nowrap;
    gap: 10px;
    min-height: 56px;
}

.admin-title-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
}

.admin-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.admin-welcome {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}

.admin-logout {
    background-color: var(--light-gray, #f8fafc);
    color: var(--dark, #193854);
    border: 1px solid var(--border-gray, #cbd5e1);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--transition);
}

.admin-logout i {
    color: var(--accent-red, #ef4444);
    font-size: 11.5px;
    transition: color 0.2s ease;
}

.admin-logout:hover {
    background-color: var(--accent-red, #ef4444);
    color: #ffffff;
    border-color: var(--accent-red, #ef4444);
    text-decoration: none;
}

.admin-logout:hover i {
    color: #ffffff;
}

.admin-container {
    padding: 30px 40px;
    flex-grow: 1;
}

/* Master Form Page Layout styles */
.admin-card {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
}

.admin-card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 25px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.filter-input {
    padding: 8px 12px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 13px;
    background-color: var(--light-gray);
    min-width: 180px;
    transition: var(--transition);
}

.filter-input:focus {
    border-color: var(--primary);
    background-color: #ffffff;
}

.btn-filter {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 9px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-filter:hover {
    background-color: var(--primary-hover);
}

.btn-reset {
    background-color: var(--light-gray);
    color: var(--text-main);
    border: 1px solid var(--border-gray);
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-reset:hover {
    background-color: #e2e8f0;
}

.form-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.form-textbox {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 13px;
    background-color: var(--light-gray);
    transition: var(--transition);
}

.form-textbox:focus {
    border-color: var(--secondary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 168, 204, 0.15);
}

.btn-submit {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--primary-hover);
}

/* Common Brand Action Buttons (aligned with Buyer/Seller) */
.btn-primary-custom {
    background: linear-gradient(135deg, #183952 0%, #00a8cc 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(0, 168, 204, 0.25) !important;
    transition: all 0.25s ease !important;
    cursor: pointer;
}
.btn-primary-custom:hover {
    background: linear-gradient(135deg, #0f2537 0%, #008fa3 100%) !important;
    box-shadow: 0 6px 16px rgba(0, 168, 204, 0.4) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-secondary-custom {
    background-color: #f0f9ff !important;
    color: #183952 !important;
    border: 1.5px solid #bae6fd !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    transition: all 0.25s ease !important;
    cursor: pointer;
}
.btn-secondary-custom:hover {
    background-color: #e0f2fe !important;
    color: #00a8cc !important;
    border-color: #00a8cc !important;
    transform: translateY(-2px);
}

/* ==========================================
   Dashboard Specific Layout Styles
   ========================================== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.metric-info h3 {
    font-size: 28px;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 5px;
    line-height: 1;
}

.metric-info p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* Custom colors for metric card icons */
.metric-card:nth-child(1) .metric-icon { background-color: rgba(24, 57, 82, 0.1); color: var(--primary); }
.metric-card:nth-child(2) .metric-icon { background-color: rgba(241, 90, 36, 0.1); color: var(--accent-orange); }
.metric-card:nth-child(3) .metric-icon { background-color: rgba(248, 165, 29, 0.1); color: var(--accent-yellow); }
.metric-card:nth-child(4) .metric-icon { background-color: rgba(0, 168, 204, 0.1); color: var(--secondary); }

.content-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 15px;
}

.data-panel {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
}

.panel-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.data-table th {
    background-color: var(--light-gray);
    color: var(--text-main);
    font-weight: 600;
    padding: 12px 15px;
    border-bottom: 2px solid var(--border-gray);
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-gray);
    color: var(--text-muted);
    word-break: break-word;
    white-space: normal;
}

.data-table tr:hover {
    background-color: #fafafa;
}

.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.badge-success { background: #e6f7ec; color: #1b8543; }
.badge-warning { background: #fff8e6; color: #b27b00; }
.badge-danger { background: #fdf2f2; color: var(--accent-red); }

.status-banner {
    background-color: #fff9e6;
    border-left: 5px solid var(--accent-yellow);
    color: #664d03;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}

.status-banner.offline {
    background-color: #fdf2f2;
    border-left-color: var(--accent-red);
    color: var(--accent-red);
}

.sql-code-box {
    background-color: #1e1e1e;
    color: #a9dc76;
    padding: 15px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 11px;
    overflow-x: auto;
    margin-top: 15px;
    line-height: 1.5;
    border: 1px solid #2d2d2d;
}

.charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.chart-card {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    height: 330px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.chart-card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-canvas-wrapper {
    flex-grow: 1;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
}

/* ==========================================
   Single Product Details Page Styles
   ========================================== */
.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    margin-bottom: 50px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-gray);
    box-shadow: var(--shadow-sm);
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image-box {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-gray);
    background-color: var(--light-gray);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.thumbnail-row {
    display: flex;
    gap: 10px;
}

.thumb-box {
    width: 75px;
    height: 75px;
    border-radius: 6px;
    border: 2px solid var(--border-gray);
    overflow: hidden;
    cursor: pointer;
    background-color: var(--light-gray);
    transition: var(--transition);
}

.thumb-box:hover, .thumb-box.active {
    border-color: var(--primary);
    transform: scale(1.05);
}

.thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Meta Info */
.product-meta-header {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-gray);
    padding-bottom: 20px;
}

.product-cat-badge {
    background-color: rgba(0, 104, 55, 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.product-detail-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 28px;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 10px;
}

.product-rating-row {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.rating-stars {
    color: var(--accent-yellow);
}

.product-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px dashed var(--border-gray);
    padding-bottom: 8px;
}

.spec-item span {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.spec-item strong {
    font-size: 14px;
    color: var(--dark);
}

.action-card-box {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--border-gray);
    margin-bottom: 30px;
}

.action-price-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.action-price-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 15px;
}

.action-buttons-row {
    display: flex;
    gap: 15px;
}

.btn-detail-rfq {
    flex-grow: 1;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.btn-detail-rfq:hover {
    background-color: var(--primary-hover);
}

.btn-detail-wish {
    background-color: #ffffff;
    color: var(--text-muted);
    border: 1px solid var(--border-gray);
    width: 48px;
    height: 48px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-detail-wish:hover {
    color: var(--accent-red);
    border-color: var(--accent-red);
    background-color: rgba(217, 56, 56, 0.05);
}

/* Tabs section styling */
.detail-tabs-container {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.detail-tabs-header {
    display: flex;
    background-color: var(--light-gray);
    border-bottom: 1px solid var(--border-gray);
}

.detail-tab-btn {
    background: none;
    border: none;
    padding: 15px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid var(--border-gray);
    transition: var(--transition);
}

.detail-tab-btn.active {
    background-color: #ffffff;
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}

.detail-tabs-content {
    padding: 30px;
}

.detail-tab-pane {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.detail-tab-pane.active {
    display: block;
}

.spec-sheet-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-sheet-table tr td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-gray);
    font-size: 14px;
}

.spec-sheet-table tr td:first-child {
    font-weight: 600;
    color: var(--dark);
    width: 250px;
    background-color: #fcfdfc;
}

.spec-sheet-table tr td:last-child {
    color: var(--text-muted);
}

.seller-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.seller-logo-placeholder {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 104, 55, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary);
}

@media (max-width: 992px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================
   Buyer Layout & Sidebar Styles
   ========================================== */
.buyer-body {
    background-color: #f8fafc;
    margin: 0;
    font-family: var(--font-body);
}

.buyer-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styling */
.buyer-sidebar {
    width: 280px;
    background-color: #193854; /* 60% Navy Base */
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: var(--transition);
    z-index: 100;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 4px 0 16px rgba(25, 56, 84, 0.12);
}

.buyer-sidebar-brand {
    padding: 20px;
    background-color: #122b42; /* Deep Navy Header */
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 16px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #29BFF1; /* 30% Cyan Accent Line */
}

.buyer-sidebar-brand i {
    color: #FED93C; /* 10% Yellow Accent */
    filter: drop-shadow(0 0 6px rgba(254, 217, 60, 0.6));
}

.buyer-sidebar-menu {
    flex-grow: 1;
    padding: 15px 0;
}

.buyer-menu-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #cbd5e1;
    cursor: pointer;
    text-decoration: none;
    border-left: 4px solid transparent;
    transition: var(--transition);
}

.buyer-menu-link:hover {
    background-color: rgba(41, 191, 241, 0.14);
    color: #ffffff;
    border-left: 4px solid #FED93C;
}

.buyer-menu-link:hover i {
    color: #FED93C;
    transform: scale(1.1);
}

.buyer-menu-link.active {
    background: linear-gradient(90deg, rgba(41, 191, 241, 0.25) 0%, rgba(25, 56, 84, 0.12) 100%);
    color: #ffffff;
    font-weight: 700;
    border-left: 4px solid #FED93C;
}

.buyer-menu-link.active i {
    color: #FED93C;
    filter: drop-shadow(0 0 6px rgba(254, 217, 60, 0.8));
    transform: scale(1.15);
}

.buyer-menu-link i {
    margin-right: 12px;
    width: 18px;
    text-align: center;
    font-size: 15px;
    color: #29BFF1;
    transition: all 0.2s ease;
}

/* Header Area */
.buyer-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.buyer-topbar {
    background-color: #ffffff;
    border-bottom: 2px solid #e2e8f0;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(25, 56, 84, 0.04);
    flex-wrap: nowrap;
    gap: 12px;
    min-height: 56px;
}

.buyer-page-title-area {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
}

.buyer-breadcrumb {
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.buyer-page-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: #193854; /* 60% Navy Title */
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.buyer-header-progress {
    display: flex;
    flex-direction: column;
    width: 160px;
    gap: 4px;
    flex-shrink: 1;
    min-width: 0;
}

@media (max-width: 1250px) {
    .buyer-header-progress {
        display: none !important;
    }
}

.bh-progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    color: #193854;
}

.bh-progress-track {
    height: 7px;
    background-color: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
}

.bh-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #29BFF1 0%, #193854 100%);
    border-radius: 10px;
}

.buyer-user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.buyer-avatar-circle {
    width: 40px;
    height: 40px;
    background-color: #e0f7fe;
    color: #193854;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 1.5px solid #29BFF1;
}

.buyer-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.buyer-user-name {
    font-size: 13px;
    font-weight: 700;
    color: #193854;
    line-height: 1.2;
}

.buyer-badge {
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    align-self: flex-start;
}

.buyer-badge-ind { background: #e0f7fe; color: #193854; border: 1px solid #29BFF1; }
.buyer-badge-bus { background: #fef9c3; color: #193854; border: 1px solid #FED93C; }

.buyer-change-pass-btn {
    text-decoration: none;
    color: #193854;
    font-size: 11.5px;
    font-weight: 700;
    background: #e0f2fe;
    padding: 5px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #bae6fd;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.buyer-change-pass-btn:hover {
    background-color: #bae6fd;
    color: #0369a1;
    text-decoration: none;
}

.buyer-logout-btn {
    background-color: var(--light-gray, #f8fafc);
    color: var(--dark, #193854);
    border: 1px solid var(--border-gray, #cbd5e1);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--transition);
}

.buyer-logout-btn i {
    color: var(--accent-red, #ef4444);
    font-size: 11.5px;
    transition: color 0.2s ease;
}

.buyer-logout-btn:hover {
    background-color: var(--accent-red, #ef4444);
    color: #ffffff;
    border-color: var(--accent-red, #ef4444);
    text-decoration: none;
}

.buyer-logout-btn:hover i {
    color: #ffffff;
}

.buyer-container {
    padding: 30px 40px;
    flex-grow: 1;
}

.dashboard-welcome-banner {
    background-color: #ffffff;
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    padding: 24px 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.dashboard-welcome-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary);
}

.seller-body .dashboard-welcome-banner::before {
    background-color: var(--secondary, #29BFF1);
}

.dashboard-welcome-banner h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 6px;
}

.dashboard-welcome-banner p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 0;
}

.profile-completion-banner {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 5px solid #d97706;
    color: #92400e;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.btn-complete-profile {
    background-color: #d97706;
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-complete-profile:hover {
    background-color: #b45309;
}

/* ==========================================
   Seller Layout & Sidebar Styles
   ========================================== */
.seller-body {
    background-color: #fafaf9; /* Stone 50 */
    margin: 0;
    font-family: var(--font-body);
}

.seller-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styling */
.seller-sidebar {
    width: 280px;
    background-color: #193854; /* 60% Navy Base */
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: var(--transition);
    z-index: 100;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 4px 0 16px rgba(25, 56, 84, 0.12);
}

.seller-sidebar-brand {
    padding: 22px 20px;
    background-color: #ffffff; /* Clean white background for logo */
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    color: #193854; /* 60% Navy Text */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 1px;
    border-bottom: 3px solid #29BFF1; /* 30% Cyan Accent Line */
    text-align: center;
}

.seller-sidebar-brand img {
    height: 58px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(25, 56, 84, 0.12));
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.seller-sidebar-brand img:hover {
    transform: scale(1.05);
}

.seller-sidebar-brand span {
    font-size: 11px;
    text-transform: uppercase;
    color: #193854;
    background: #e0f7fe;
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 800;
    letter-spacing: 0.8px;
    border: 1px solid #29BFF1;
}

.seller-sidebar-menu {
    flex-grow: 1;
    padding: 15px 0;
    overflow-y: auto;
}

/* Custom Scrollbar for Sidebar */
.seller-sidebar-menu::-webkit-scrollbar {
    width: 5px;
}
.seller-sidebar-menu::-webkit-scrollbar-track {
    background: transparent;
}
.seller-sidebar-menu::-webkit-scrollbar-thumb {
    background: rgba(41, 191, 241, 0.25);
    border-radius: 10px;
}

.seller-menu-link {
    position: relative;
    display: flex;
    align-items: center;
    margin: 4px 12px;
    padding: 11px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: #cbd5e1;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 8px;
    border-left: 4px solid transparent;
}

.seller-menu-link i {
    margin-right: 13px;
    width: 20px;
    text-align: center;
    font-size: 16px;
    color: #29BFF1;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.seller-menu-link:hover:not(.active) {
    background-color: rgba(41, 191, 241, 0.15) !important;
    color: #ffffff !important;
    border-left: 4px solid #FED93C !important;
    transform: translateX(4px);
}

.seller-menu-link:hover:not(.active) i {
    color: #FED93C !important;
    transform: scale(1.18);
}

.seller-menu-link.active {
    background: linear-gradient(135deg, #122b42 0%, #193854 50%, rgba(41, 191, 241, 0.4) 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border-left: 5px solid #FED93C !important;
    border-radius: 4px 10px 10px 4px !important;
    box-shadow: 0 4px 16px rgba(25, 56, 84, 0.35), 0 0 12px rgba(254, 217, 60, 0.2) !important;
    transform: translateX(4px);
}

.seller-menu-link.active i {
    color: #FED93C !important;
    filter: drop-shadow(0 0 8px rgba(254, 217, 60, 0.85));
    transform: scale(1.22) !important;
}

.seller-menu-link.active::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FED93C;
    box-shadow: 0 0 10px 2px #FED93C, 0 0 16px 4px rgba(254, 217, 60, 0.5);
    margin-left: auto;
    flex-shrink: 0;
    display: inline-block;
    animation: activePulseYellow 1.8s infinite ease-in-out;
}

@keyframes activePulseYellow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 8px 1px #FED93C;
    }
    50% {
        transform: scale(1.35);
        box-shadow: 0 0 14px 3px #FED93C, 0 0 20px 5px rgba(254, 217, 60, 0.6);
    }
}

/* Bottom Main Website Redirection Button */
.seller-sidebar .menu-go-main {
    margin: 15px 14px 25px 14px !important;
    padding: 12px 18px !important;
    background-color: #ffffff !important;
    color: #193854 !important;
    border-radius: 8px !important;
    border: 2px solid #29BFF1 !important;
    text-align: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(25, 56, 84, 0.15) !important;
    transition: all 0.25s ease !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.seller-sidebar .menu-go-main:hover {
    background-color: #29BFF1 !important;
    color: #ffffff !important;
    border-color: #29BFF1 !important;
    box-shadow: 0 6px 16px rgba(41, 191, 241, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* Header Area */
.seller-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.seller-topbar {
    background-color: #ffffff;
    border-bottom: 2px solid #e2e8f0;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(25, 56, 84, 0.04);
    flex-wrap: nowrap;
    gap: 12px;
    min-height: 56px;
}

.seller-page-title-area {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
}

.seller-breadcrumb {
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.seller-page-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: #193854; /* 60% Navy */
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.seller-header-progress {
    display: flex;
    flex-direction: column;
    width: 160px;
    gap: 4px;
    flex-shrink: 1;
    min-width: 0;
}

@media (max-width: 1250px) {
    .seller-header-progress {
        display: none !important;
    }
}

.sh-progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    color: #193854;
}

.sh-progress-track {
    height: 7px;
    background-color: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
}

.sh-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #29BFF1 0%, #193854 100%);
    border-radius: 10px;
}

.seller-user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.seller-avatar-circle {
    width: 40px;
    height: 40px;
    background-color: #e0f7fe;
    color: #193854;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 1.5px solid #29BFF1;
}

.seller-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.seller-user-name {
    font-size: 13px;
    font-weight: 700;
    color: #193854;
    line-height: 1.2;
}

.seller-badge {
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    align-self: flex-start;
}

.seller-badge-ind { background: #e0f7fe; color: #193854; border: 1px solid #29BFF1; }
.seller-badge-bus { background: #fef9c3; color: #193854; border: 1px solid #FED93C; }

.seller-change-pass-btn,
.transporter-change-pass-btn {
    text-decoration: none;
    color: #193854;
    font-size: 11.5px;
    font-weight: 700;
    background: #e0f2fe;
    padding: 5px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #bae6fd;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.seller-change-pass-btn:hover,
.transporter-change-pass-btn:hover {
    background-color: #bae6fd;
    color: #0369a1;
    text-decoration: none;
}

.seller-logout-btn,
.transporter-logout-btn {
    background-color: var(--light-gray, #f8fafc);
    color: var(--dark, #193854);
    border: 1px solid var(--border-gray, #cbd5e1);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--transition);
}

.seller-logout-btn i,
.transporter-logout-btn i {
    color: var(--accent-red, #ef4444);
    font-size: 11.5px;
    transition: color 0.2s ease;
}

.seller-logout-btn:hover,
.transporter-logout-btn:hover {
    background-color: var(--accent-red, #ef4444);
    color: #ffffff;
    border-color: var(--accent-red, #ef4444);
    text-decoration: none;
}

.seller-logout-btn:hover i,
.transporter-logout-btn:hover i {
    color: #ffffff;
}

.seller-container {
    padding: 30px 40px;
    flex-grow: 1;
}

/* Flyout Dropdown Submenu */
.dropdown-item {
    position: relative;
}
.dropdown-menu .dropdown-item .submenu {
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #ffffff;
    min-width: 250px;
    width: max-content;
    max-width: 340px;
    box-shadow: var(--shadow-lg);
    border-radius: 6px;
    border-top: 3.5px solid var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition);
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 0;
}
.dropdown-menu .dropdown-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.dropdown-menu .dropdown-item .submenu li a {
    display: block;
    padding: 11px 20px;
    font-size: 13.5px;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-gray);
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
}
.dropdown-menu .dropdown-item .submenu li:last-child a {
    border-bottom: none;
}
.dropdown-menu .dropdown-item .submenu li a:hover {
    background-color: #e0f7fe;
    color: var(--primary);
    border-left: 3px solid #29BFF1;
    padding-left: 23px;
}




