:root {
    --primary: #0A66C2;
    --primary-hover: #084e96;
    --secondary: #f5f7fa;
    --text-dark: #222222;
    --text-light: #666666;
    --white: #ffffff;
    --border: #e2e8f0;
    --success: #10b981;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-5,
.col-md-6,
.col-md-7 {
    padding: 0 15px;
}

.col-md-5 {
    width: 41.666667%;
}

.col-md-6 {
    width: 50%;
}

.col-md-7 {
    width: 58.333333%;
}

.align-center {
    align-items: center;
}

.flex-row-reverse {
    flex-direction: row-reverse;
}

.section {
    padding: 70px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo i {
        font-size: 1.15rem;
        margin-right: 5px;
    }
}

.bg-light {
    background-color: var(--secondary);
}

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.my-60-20 {
    margin: 20px 0;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.p-4 {
    padding: 1.5rem;
}

.pl-4 {
    padding-left: 1.5rem;
}

.pr-4 {
    padding-right: 1.5rem;
}

.w-100 {
    width: 100%;
}

.ml-2 {
    margin-left: 0.5rem;
}

.rounded {
    border-radius: 8px;
}

.shadow {
    box-shadow: var(--shadow);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-icon-btn {
    color: var(--text-dark);
    font-size: 1.1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: transparent;
}

.nav-icon-btn:hover {
    background-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
}

.cart-icon-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.text-primary {
    color: var(--primary);
}

.h-100 {
    height: 100%;
}

.features-overlap {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.grid {
    display: grid;
    gap: 25px;
}

.four-col-grid {
    grid-template-columns: repeat(4, 1fr);
}

.feature-box {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.feature-box i {
    font-size: 2rem;
    color: var(--primary);
    background: var(--secondary);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-box:hover i {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.feature-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
}

@media (max-width: 992px) {
    .four-col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .four-col-grid {
        grid-template-columns: 1fr;
    }

    .features-overlap {
        margin-top: -30px;
    }
}

.hidden {
    display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.hero-buttons .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

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

.btn-light {
    background-color: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background-color: var(--secondary);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

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

.top-bar {
    background-color: var(--text-dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
    color: var(--primary);
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
}

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

.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    padding: 8px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
}

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

.logo i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--primary), #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-list li {
    margin: 0 12px;
}

.nav-list a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 4px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary);
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 80%;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background: var(--white);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid var(--border);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-menu li {
    margin: 0 !important;
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    font-size: 0.9rem;
    color: var(--text-dark) !important;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background-color: var(--secondary);
    color: var(--primary) !important;
    padding-left: 30px;
}

.mobile-menu-btn {
    display: none;
    background: var(--secondary);
    border: none;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: var(--primary);
    color: var(--white);
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        gap: 40px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-list li {
        margin: 15px 0;
        width: 100%;
    }

    .nav-list a {
        font-size: 1.1rem;
        display: block;
    }

    .nav-actions {
        width: 100%;
        justify-content: flex-start;
        padding-top: 20px;
        border-top: 1px solid var(--border);
    }
}

.hero-main {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 600;
    min-height: 400px;
    background: #fff url('../img/banner/banner 1.png') no-repeat;
    background-position: center;
    background-size: cover;
    border-bottom: 1px solid var(--border);
}



.hero-main-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-main-text {
    max-width: 550px;
    padding-top: 40px;
    animation: slideUp 0.8s ease-out;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-main-title span {
    color: var(--primary);
}

.hero-main-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-main-btns {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-main-btns .btn {
    box-shadow: 0 4px 15px rgba(10, 102, 194, 0.2);
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
    padding: 14px 35px;
}

.hero-main-btns .btn-outline {
    box-shadow: none;
    border: 2px solid var(--primary);
}

.hero-main-btns .btn-outline:hover {
    box-shadow: 0 4px 15px rgba(10, 102, 194, 0.2);
}

.hero-features-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.hero-features-list li {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-features-list li i {
    color: var(--primary);
    font-size: 1.2rem;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-features-list {
    list-style: none;
    padding: 0;
    margin: 25px 0 0 0;
}

.hero-features-list li {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-features-list li i {
    color: #10b981;
}

@media (max-width: 768px) {
    .hero-main {
        height: auto;
        background-image: url('../img/banner/mobile_banner.png');
        background-size: cover;
        background-position: center;
        aspect-ratio: 1 / 1.3;
        min-height: 350px;
        padding: 0;
        border-bottom: none;
    }

    .hero-main::before {
        display: none;
    }

    .hero-main-text {
        max-width: 100%;
        padding: 40px 25px;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        margin-left: 0;
        width: 100%;
        text-align: left;
    }

    .hero-main-title {
        font-size: 1.8rem;
        font-weight: 800;
        margin-bottom: 0;
        line-height: 1.2;
        text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
    }

    .hero-features-list {
        margin-top: 15px;
    }

    .hero-features-list li {
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 8px;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    }

    .hero-main-btns {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 12px;
    }

    .hero-main-btns .btn {
        width: 100%;
        max-width: 300px;
        padding: 12px 25px;
    }
}

.hero-brother {
    position: relative;
    overflow: hidden;
    background: url('../assets/img/banner/banner 2.png') right center/cover no-repeat;
    height: 500px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.hero-polygon {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 60%;
    background-color: #2764db;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    z-index: 1;
}

.hero-brother-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-brother-content {
    color: white;
    width: 50%;
    padding-left: 20px;
}

.brother-logo {
    margin-bottom: 30px;
}

.brother-logo-main {
    font-family: 'Arial Black', Impact, sans-serif;
    font-size: 3.5rem;
    letter-spacing: -1.5px;
    line-height: 1;
    margin-bottom: 2px;
}

.brother-logo-sub {
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.hero-brother-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0;
    color: white;
    letter-spacing: 0px;
}

.hero-brother-image {
    width: 45%;
    max-width: 450px;
    padding-right: 20px;
    z-index: 2;
    transform: translateY(40px);
}

.hero-brother-image img {
    width: 100%;
    mix-blend-mode: multiply;
    border-radius: 8px;
    filter: contrast(1.1);
}

.features-overlap {
    position: relative;
    z-index: 10;
    margin-top: -60px;
}



.promo-banner {
    padding: 0;
}

.promo-banner-inner {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 12px;
    padding: 50px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

.promo-banner-inner h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}

.promo-banner-inner p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 0;
}

.promo-banner-inner strong {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
}

.shop-supplies-btn {
    background-color: #0284c7;
    border-color: #0284c7;
    padding: 15px 30px;
    font-size: 1.1rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-supplies-btn:hover {
    background-color: #0369a1;
    border-color: #0369a1;
    color: white;
}

@media (max-width: 992px) {
    .hero-polygon {
        width: 75%;
        clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    }

    .hero-brother-image {
        width: 35%;
    }

    .hero-brother-title {
        font-size: 2.5rem;
    }

    .promo-banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .hero-polygon {
        width: 100%;
        clip-path: none;
        opacity: 0.9;
    }

    .hero-brother-container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .hero-brother-content {
        width: 100%;
        padding: 0;
        margin-bottom: 30px;
    }

    .hero-brother-image {
        display: none;
    }
}

.cta-banner {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-banner p {
    color: #e2e8f0;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.page-header {
    background-color: var(--secondary);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

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

.grid {
    display: grid;
    gap: 30px;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.four-col-grid {
    grid-template-columns: repeat(4, 1fr);
}

.five-col-grid {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1200px) {
    .five-col-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .five-col-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .five-col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .five-col-grid {
        grid-template-columns: 1fr;
    }
}

.recently-added {
    background-color: #f8fafc;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.featured-products {
    padding: 70px 0;
}

.featured-products .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.simple-product-card {
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

.simple-product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.5s ease;
}

.simple-product-card:hover img {
    transform: scale(1.05);
}

.simple-product-title {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 600;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.simple-product-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 15px;
    margin-top: auto;
}

.simple-product-card .add-to-cart-btn {
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.simple-product-card:hover .add-to-cart-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.simple-product-card .add-to-cart-btn:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.features-overlap {
    padding: 60px 0;
    background-color: var(--secondary);
}



.service-card {
    padding: 30px 20px;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    border-bottom-color: var(--primary);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.check-list i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary);
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.product-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info .add-to-cart-btn {
    margin-top: auto !important;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-detail-box {
    display: flex;
    margin-bottom: 25px;
}

.contact-detail-box .icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-detail-box h4 {
    margin-bottom: 5px;
}

.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #34d399;
}

.footer {
    background-color: var(--text-dark);
    color: #a0aec0;
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 50px;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-logo {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

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

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

.footer-col ul a {
    color: #a0aec0;
}

.footer-col ul a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-col p {
    color: #a0aec0;
    margin-bottom: 15px;
}

.contact-col i {
    color: var(--primary);
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

@media (max-width: 992px) {

    .col-md-5,
    .col-md-6,
    .col-md-7 {
        width: 100%;
    }

    .mt-mobile {
        margin-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .four-col-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease-in-out;
    }

    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .nav-list li {
        margin: 10px 0;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .four-col-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .feature-box {
        padding: 20px 15px;
    }

    .feature-box i {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .feature-box h3 {
        font-size: 0.95rem;
    }

    .features-overlap {
        margin-top: -30px;
        padding: 0 10px;
    }

    .product-grid,
    .services-grid,
    .five-col-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .four-col-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .five-col-grid {
        grid-template-columns: 1fr;
    }

    .features-overlap {
        margin-top: 30px;
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-icon-btn {
    color: var(--text-dark);
    font-size: 1.4rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-icon-btn:hover {
    color: var(--primary);
}

.dropdown {
    position: relative;
}

.nav-list .dropdown>a i {
    font-size: 0.7em;
    margin-left: 2px;
    transform: translateY(-1px);
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 4px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    padding: 10px 0;
    border: 1px solid var(--border);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-list .dropdown-menu li {
    margin: 0;
    width: 100%;
}

.nav-list .dropdown-menu a {
    display: block;
    padding: 15px 25px;
    color: var(--text-dark);
    font-weight: 400;
}

.nav-list .dropdown-menu a:hover {
    color: var(--primary);
    background-color: var(--secondary);
}

.nav-list .dropdown-menu a::after {
    display: none;
}

.cart-icon-btn {
    position: relative;
    font-size: 1.4rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 350px;
    height: 100%;
    background-color: var(--white);
    z-index: 1060;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-light);
}

.cart-close:hover {
    color: var(--text-dark);
}

.cart-body {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-light);
    margin-top: 20px;
}

.cart-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 0.95rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    background: var(--secondary);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #e2e8f0;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.85rem;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
}

.cart-total-box {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.breadcrumb-section {
    padding: 20px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.breadcrumb-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.breadcrumbs span {
    color: var(--text-dark);
    font-weight: 500;
}

.product-nav {
    display: flex;
    gap: 15px;
    align-items: center;
}

.product-nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-nav .divider {
    color: #cbd5e1;
}

.product-details-section {
    padding: 60px 0;
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-main-image {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white);
}

.product-main-image img {
    max-width: 100%;
    height: auto;
}

.img-zoom-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.img-zoom-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.product-info-col {
    padding-top: 10px;
}

.pd-title {
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.2;
}

.pd-price {
    font-size: 1.4rem;
    color: #888;
    margin-bottom: 30px;
}

.pd-description {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 40px;
}

.pd-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 30px;
    overflow: hidden;
    height: 45px;
}

.qty-btn {
    background: transparent;
    border: none;
    width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--secondary);
}

.qty-selector input {
    width: 50px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    outline: none;
}

.pd-add-to-cart-btn {
    border-radius: 30px;
    padding: 12px 35px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-grow: 1;
    max-width: 250px;
}

.pd-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.meta-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 5px;
}

@media (max-width: 768px) {
    .product-details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pd-title {
        font-size: 1.8rem;
    }

    .pd-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pd-add-to-cart-btn {
        max-width: 100%;
    }
}

.pd-tagline {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.pd-features-container {
    margin-bottom: 30px;
}

.pd-features-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.pd-features-list {
    list-style-type: none;
    padding-left: 0;
}

.pd-features-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.pd-features-list li i {
    color: #22c55e;
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 0.9rem;
}

.pd-review-box {
    margin-top: 40px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.pd-review-stars {
    display: flex;
    gap: 4px;
    color: #fbbf24;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.pd-review-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.pd-reviewer {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

.related-products-section {
    padding: 80px 0;
}

.related-products-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    font-weight: 700;
}

.simple-product-card .btn-view-details {
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 10px;
}

.footer {
    background-color: #0d0b14;
    color: #cbd5e1;
    padding: 70px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.6fr;
    gap: 40px;
}

.footer-col h3 {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 25px;
    color: white;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col.contact-col p {
    margin-bottom: 10px;
}

.footer-col.contact-col p strong {
    font-weight: 600;
    color: white;
}

.footer-col.contact-col h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
    margin-top: 25px;
}

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

.footer-links li {
    margin-bottom: 15px;
}

.footer-links li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.payment-icons {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 15px;
}

.payment-icons img {
    height: 22px;
    background: white;
    padding: 3px 6px;
    border-radius: 2px;
    object-fit: contain;
}

.mt-60 {
    margin-top: 60px;
}

.mb-60 {
    margin-bottom: 60px;
}

.my-60-20 {
    margin: 60px 0 20px 0;
}

.ml-auto {
    margin-left: auto;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.about-section {
    padding: 80px 0;
}

.about-content {
    padding-right: 40px;
}

.about-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #111;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.about-image {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.why-us-section {
    background-color: #faf9f6;
    padding: 100px 0;
}

.why-us-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
}

.section-divider {
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    margin: 0 auto 60px;
}

.feature-item {
    padding: 20px;
}

.feature-icon-box {
    width: 90px;
    height: 90px;
    background-color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.feature-icon-box i {
    font-size: 2.5rem;
    color: white;
}

.feature-item h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #111;
}

.feature-item p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .about-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .about-content h2,
    .why-us-section h2 {
        font-size: 2.2rem;
    }
}

:root {
    --checkout-bg: #f3f4f6;
    --card-bg: #ffffff;
    --input-border: #e2e8f0;
    --input-focus: #3b82f6;
    --step-active: #3b82f6;
    --step-inactive: #cbd5e1;
}

.checkout-page {
    background-color: var(--checkout-bg);
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.checkout-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.checkout-header-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid #edf2f7;
}

.back-to-cart {
    color: #718096;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.back-to-cart:hover {
    color: var(--primary);
}

.checkout-stepper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

/* Checkout Page Base */
.checkout-page {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding-bottom: 100px;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.checkout-page::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Header & Stepper */
.checkout-header-mini {
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.back-to-cart {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.back-to-cart:hover {
    color: #1e293b;
    transform: translateX(-4px);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.checkout-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    position: relative;
}

.step .step-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
}

.step.active .step-icon {
    background: #2563eb;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.step.completed .step-icon {
    background: #10b981;
    color: #fff;
}

.step-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    transition: all 0.3s ease;
}

.step.active .step-label {
    color: #1e293b;
}

.step-divider {
    width: 30px;
    height: 2px;
    background: #e2e8f0;
    margin: 0 5px;
}

.step.active+.step-divider {
    background: linear-gradient(to right, #2563eb, #e2e8f0);
}

/* Layout Grid */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 991px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .checkout-sidebar {
        order: -1;
    }
}

/* Sections */
.checkout-section {
    margin-bottom: 40px;
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}

.header-secure-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #10b981;
    background: #f0fdf4;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #dcfce7;
}

.header-secure-tag i {
    font-size: 0.85rem;
}


.checkout-section {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.checkout-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #2563eb, #60a5fa);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkout-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    border-color: rgba(255, 255, 255, 1);
}

.checkout-section:hover::after {
    opacity: 1;
}

.section-subtitle {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 20px;
    font-weight: 500;
}


.login-prompt a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

/* Floating Labels */
.floating-label {
    position: relative;
    margin-bottom: 20px;
}

.floating-label .form-control {
    padding: 24px 16px 8px;
    height: 64px;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    font-size: 0.95rem;
    background: rgba(248, 250, 252, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #1e293b;
}

.floating-label label {
    position: absolute;
    top: 20px;
    left: 16px;
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.3s ease;
}

.floating-label .form-control:focus+label,
.floating-label .form-control:not(:placeholder-shown)+label,
.floating-label select.form-control+label {
    top: 10px;
    font-size: 0.75rem;
    color: #2563eb;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.floating-label .form-control:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.floating-label .form-control.is-invalid {
    border-color: #ef4444;
    background-color: #fffafb;
}

.floating-label .form-control.is-invalid+label {
    color: #ef4444;
}

/* Payment Error Styling */
.payment-error-container {
    background: #fff;
    border: 1px solid #fee2e2;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    animation: slideUp 0.4s ease-out;
}

.payment-error-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-error-icon {
    width: 60px;
    height: 60px;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.payment-error-title {
    color: #991b1b;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.payment-error-text {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.chat-agent-btn {
    width: 100%;
    background: #dc2626;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chat-agent-btn:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.chat-agent-btn:active {
    transform: translateY(0);
}


.input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #4a5568;
    cursor: pointer;
}

/* Payment Methods */
.payment-methods-container {
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 20px;
    background: #fff;
}

.payment-option-static {
    padding: 0;
}

.payment-option-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.method-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.method-name::before {
    content: '\f09d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #64748b;
}

.method-icons {
    display: flex;
    gap: 8px;
}

.method-icons img {
    height: 14px;
    opacity: 0.8;
}

.payment-content {
    padding: 32px 24px;
}


.payment-notice {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #475569;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #1e293b;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    background: #fff;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
    background: #fff;
}

.select-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}


.summary-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 40px;
}


.summary-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

.summary-free-badge {
    color: #10b981;
    font-weight: 700;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #f1f5f9;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.checkout-item-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.checkout-item-row:hover {
    transform: translateX(4px);
}

.checkout-item-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px;
}

.item-variant {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

.checkout-item-total {
    margin-left: auto;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
}



.place-order-btn {
    width: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border: none;
    padding: 20px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.place-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
    filter: brightness(1.1);
}

.place-order-btn:active {
    transform: scale(0.98);
}

.place-order-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.place-order-btn.processing {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin-top: 25px;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.trust-badges img {
    height: 16px;
    opacity: 0.5;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.trust-badges:hover img {
    opacity: 0.9;
    filter: grayscale(0);
}

.trust-badges i {
    color: #10b981;
    font-size: 1rem;
    filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.2));
}

.checkout-support-box {
    padding: 24px;
    background: rgba(248, 250, 252, 0.5);
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.checkout-support-box:hover {
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.item-count-badge {
    font-size: 0.75rem;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 6px;
    color: #64748b;
    font-weight: 600;
}

.summary-items-scroll::-webkit-scrollbar {
    width: 4px;
}

.summary-items-scroll::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

.checkout-item-image {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    background: #fff;
    padding: 4px;
    flex-shrink: 0;
}

.checkout-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.checkout-item-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: #1e293b;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.checkout-support-box {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.support-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-support-box p {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 12px;
    line-height: 1.5;
}

.support-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 2px solid #e2e8f0;
    transition: all 0.2s;
}

.support-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Discount Section */
.discount-input-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.discount-input-group .form-group {
    flex: 1;
    margin-bottom: 0;
}

.discount-input-group .form-control {
    height: 48px;
    padding: 18px 16px 4px;
    background: #f8fafc;
    border-color: #f1f5f9;
}

.discount-input-group .form-control:focus {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: none;
}

.apply-btn {
    height: 48px;
    padding: 0 24px;
    background: #1e293b;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.apply-btn:hover {
    background: #334155;
    transform: translateY(-1px);
}

.apply-btn:active {
    transform: translateY(0);
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-25 {
    margin-top: 25px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.mt-15 {
    margin-top: 15px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.ml-auto {
    margin-left: auto !important;
}


/* Success Page Premium Layout */
.checkout-success-container {
    padding: 20px 0 60px;
    max-width: 800px;
    margin: 0 auto;
}

.success-main-card {
    background: #fff;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.success-check-icon {
    width: 80px;
    height: 80px;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 30px;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.order-id-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.success-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}

.success-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 50px;
}

/* Order Timeline */
.order-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 60px;
    position: relative;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
}

.t-icon {
    width: 45px;
    height: 45px;
    background: #f1f5f9;
    color: #94a3b8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.t-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
}

.timeline-step.completed .t-icon {
    background: #dcfce7;
    color: #16a34a;
}

.timeline-step.completed .t-text {
    color: #16a34a;
}

.timeline-step.current .t-icon {
    background: #dbeafe;
    color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.timeline-step.current .t-text {
    color: #2563eb;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-continue {
    padding: 16px 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-continue:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.order-summary-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.box-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.box-row:last-child {
    margin-bottom: 0;
}

.box-row span {
    color: #64748b;
}

.box-row strong {
    color: #1e293b;
}

.billing-info {
    font-size: 0.85rem;
    color: #64748b;
    font-style: italic;
}

.btn-print {
    padding: 16px 32px;
    background: #fff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-print:hover {
    background: #f8fafc;
}

.place-order-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
}

.success-message {
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    font-size: 4rem;
    color: #22c55e;
    margin-bottom: 20px;
    animation: scaleUp 0.5s ease;
}

@keyframes scaleUp {
    0% {
        transform: scale(0);
    }

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

/* Success State Details Fixes */
.success-main-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.checkout-success-container {
    padding: 40px 0;
}

.order-summary-box {
    border: 1px solid #f1f5f9;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.checkout-success-card {
    grid-column: 1 / -1;
    background: white;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.checkout-success-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.checkout-success-card p {
    color: #64748b;
    margin-bottom: 30px;
}

.checkout-success-card .btn {
    padding: 15px 40px;
    border-radius: 12px;
}

.checkout-empty-msg {
    text-align: center;
    color: #64748b;
    padding: 20px;
}

.checkout-secure-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 20px;
}

.summary-free-badge {
    background: #dcfce7;
    color: #16a34a;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .summary-card {
        position: static;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Checkout Refinements */
.item-delivery-estimate {
    font-size: 0.8rem;
    color: #10b981;
    margin-top: 4px;
    font-weight: 500;
}

.item-delivery-estimate i {
    margin-right: 4px;
}

.active-brand {
    color: #2563eb !important;
}

.success-confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: radial-gradient(circle, #2563eb 2px, transparent 2px);
    background-size: 50px 50px;
    opacity: 0.1;
    z-index: 0;
}

.success-footer-note {
    text-align: center;
    margin-top: 20px;
    color: #64748b;
    font-size: 0.85rem;
}

.success-footer-note i {
    color: #10b981;
}

.checkout-header-mini .step.completed .step-icon {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}


/* Premium Login Page */
/* Premium Split Layout Authentication */
.auth-split-layout {
    display: flex;
    min-height: 100vh;
    background: #fff;
}

.auth-visual-side {
    flex: 1.2;
    background: url('../img/login_bg_premium.png') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px;
    color: #fff;
}

@media (max-width: 1024px) {
    .auth-visual-side {
        display: none;
    }

    .auth-split-layout {
        background: #f8fafc;
    }
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(30, 58, 138, 0.8));
    display: flex;
    align-items: center;
    padding: 60px;
}

.visual-content {
    max-width: 500px;
}

.visual-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    margin-bottom: 40px;
}

.visual-logo span {
    opacity: 0.8;
}

.visual-content h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.visual-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 40px;
}

.visual-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.7;
}

.auth-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 440px;
}

.auth-mobile-logo {
    display: none;
    margin-bottom: 40px;
    text-align: center;
}

.auth-mobile-logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    text-decoration: none;
}

.auth-mobile-logo span {
    color: #2563eb;
}

@media (max-width: 1024px) {
    .auth-mobile-logo {
        display: block;
    }
}

.auth-form-header {
    margin-bottom: 40px;
}

.auth-form-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.auth-form-header p {
    color: #64748b;
    font-size: 1.05rem;
}

.modern-input-group {
    margin-bottom: 24px;
}

.modern-input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i:not(.fa-eye):not(.fa-eye-slash) {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    font-size: 1rem;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    color: #0f172a;
    transition: all 0.2s;
    background: #f8fafc;
}

.auth-form-side input:focus {
    outline: none;
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.password-eye {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 8px;
    font-size: 1rem;
}

.password-eye:hover {
    color: #2563eb;
}

.forgot-link {
    font-size: 0.85rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    cursor: pointer;
}

.modern-auth-btn {
    width: 100%;
    background: #0f172a;
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
}

.modern-auth-btn:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.3);
}

.modern-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.modern-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.modern-divider span {
    position: relative;
    background: #fff;
    padding: 0 16px;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .modern-divider span {
        background: #f8fafc;
    }
}

.modern-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

.social-modern-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.social-modern-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.social-modern-btn img {
    width: 20px;
}

.auth-form-footer {
    text-align: center;
    font-size: 0.95rem;
    color: #64748b;
}

.auth-form-footer a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.auth-form-footer a:hover {
    text-decoration: underline;
}

.form-row-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .form-row-modern {
        grid-template-columns: 1fr;
    }

    .modern-social-grid {
        grid-template-columns: 1fr;
    }
}

/* ── CHAT NUDGE MODAL ──────────────────────────────────────────────────────── */
#chat-nudge-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#chat-nudge-modal.cnm-visible {
    opacity: 1;
    pointer-events: all;
}

.cnm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 40, 0.65);
    backdrop-filter: blur(4px);
}

.cnm-box {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px;
    max-width: 440px;
    width: 92%;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    animation: cnmPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cnmPop {
    from {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.cnm-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff3cd, #ffe08a);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 28px;
    color: #d97706;
}

.cnm-box h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.cnm-box p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
}

.cnm-chat-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    gap: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0A66C2, #084e96);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cnm-chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 102, 194, 0.35);
}

.cnm-close {
    display: block;
    margin: 14px auto 0;
    background: none;
    border: none;
    font-size: 0.85rem;
    color: #888;
    cursor: pointer;
}

.cnm-close:hover {
    color: #333;
}

/* ── TOAST ─────────────────────────────────────────────────────────────────── */
#toast-wrap {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99998;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    pointer-events: none;
}

.site-toast {
    background: #1e293b;
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    max-width: 420px;
    width: max-content;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.35s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.site-toast.error {
    border-left: 4px solid #ef4444;
}

.site-toast.success {
    border-left: 4px solid #10b981;
}

/* ── STICKY STRIP ──────────────────────────────────────────────────────────── */
#chat-strip {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: linear-gradient(90deg, #0A66C2, #0d4fa3);
    color: #fff;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 0.9rem;
    flex-wrap: wrap;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

#chat-strip.strip-visible {
    transform: translateY(0);
}

#chat-strip span {
    display: flex;
    align-items: center;
    gap: 8px;
}

#chat-strip button {
    background: #fff;
    color: #0A66C2;
    border: none;
    border-radius: 8px;
    padding: 7px 18px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
}

#chat-strip button:hover {
    background: #e8f0fe;
}

#chat-strip .strip-close {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    padding: 4px 8px;
    border-radius: 4px;
}

#chat-strip .strip-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

/* ── CART CHAT NOTE ────────────────────────────────────────────────────────── */
.cart-chat-note {
    background: #fff8e1;
    border-left: 3px solid #f59e0b;
    padding: 10px 14px;
    margin: 0 16px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.cart-chat-note i {
    color: #f59e0b;
    margin-top: 2px;
    flex-shrink: 0;
}