/* Swarn Lal Ashok Kumar - Main Stylesheet */

/* CSS Variables */
:root {
    --primary-color: #ffeb3b;
    --primary-dark: #fdd835;
    --secondary-color: #000000;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #ffffff;
    --gray-bg: #f5f5f5;
    --border-color: #e0e0e0;
    --sale-color: #e53935;
    --success-color: #43a047;
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Playfair Display', serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 12px;
}

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

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.since-badge {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 2px 8px;
    font-weight: 600;
    text-transform: uppercase;
}

.exchange-text {
    color: var(--text-muted);
}

.top-bar-center {
    flex: 1;
    text-align: center;
}

.track-order {
    color: var(--white);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.track-order:hover {
    color: var(--primary-color);
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.social-link {
    color: var(--white);
    font-size: 14px;
    transition: color 0.3s;
}

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

/* Main Header */
.main-header {
    background-color: var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.mobile-menu-btn {
    font-size: 24px;
    color: var(--secondary-color);
    padding: 5px;
    display: none;
}

.logo a {
    display: block;
}

.logo-image {
    max-height: 80px;
    /* Adjust based on preference */
    width: auto;
}

/* Retaining text styles for fallback or other uses, though primarily moving to image */
.logo-hindi {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--secondary-color);
    display: none;
    /* Hide via CSS if markup remains, or just removal from HTML */
}

.logo-text {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
    font-style: italic;
    color: var(--secondary-color);
    display: none;
    /* Hide via CSS if markup remains */
}

.header-icons {
    display: flex;
    gap: 20px;
}

.icon-link {
    font-size: 20px;
    color: var(--secondary-color);
    position: relative;
    transition: transform 0.3s;
}

.icon-link:hover {
    transform: scale(1.1);
}

/* User Dropdown Styles */
.user-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 8px;
    padding: 10px 0;
    border: 1px solid #eee;
    margin-top: 10px;
}

.user-dropdown-menu.show {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

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

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

.user-dropdown-menu .dropdown-header {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
}

.user-dropdown-menu .dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
    font-size: 14px;
    border-radius: 0 !important;
    /* Override potential button styles */
}

.user-dropdown-menu .dropdown-item:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

.user-dropdown-menu .dropdown-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Ensure container doesn't break layout */
.user-dropdown-container {
    vertical-align: middle;
}

.cart-count,
.wishlist-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: 10px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Desktop Navigation */
.desktop-nav {
    display: block;
}

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

.nav-menu li a {
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

/* Category Navigation */
.category-nav {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.category-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
    justify-content: center;
}

.category-scroll::-webkit-scrollbar {
    height: 6px;
}

.category-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.category-scroll::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 3px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    text-align: center;
    transition: transform 0.3s;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 8px;
    border: 2px solid var(--border-color);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-name {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-color);
    line-height: 1.3;
}

/* Mobile Navigation */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--white);
    z-index: 1001;
    transition: left 0.3s;
    overflow-y: auto;
}

.mobile-nav-overlay.active .mobile-nav {
    left: 0;
}

.close-nav {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: var(--text-color);
}

.mobile-nav-content {
    padding: 60px 20px 20px;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 30px;
}

.mobile-menu li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu a {
    display: block;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--primary-dark);
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

/* Product Section */
.product-section {
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
    letter-spacing: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: var(--white);
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.product-link {
    display: block;
}

.product-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: var(--gray-bg);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--sale-color);
    color: var(--white);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-badge.sold-out {
    background-color: var(--text-muted);
}

.product-badge.sale {
    background-color: var(--sale-color);
}

.product-badge.low-stock {
    background-color: #ff9800;
    color: #fff;
}

.product-info {
    padding: 15px;
    text-align: center;
}

.product-name {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.4;
    text-transform: capitalize;
}

.product-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.price-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: capitalize;
}

.current-price {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

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

.save-badge {
    display: inline-block;
    margin-top: 8px;
    font-size: 11px;
    color: var(--success-color);
    font-weight: 500;
}

.view-all {
    text-align: center;
    margin-top: 30px;
}

.view-all-link {
    display: inline-block;
    font-size: 14px;
    color: var(--text-color);
    text-transform: lowercase;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 2px;
    transition: color 0.3s, border-color 0.3s;
}

.view-all-link:hover {
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* All Categories Section */
.all-categories {
    background-color: var(--gray-bg);
    padding: 60px 0;
}

.all-categories .section-title {
    margin-bottom: 30px;
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.category-tag {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-color);
    transition: all 0.3s;
}

.category-tag:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* About Section */
.about-section {
    padding: 60px 0;
    background-color: var(--white);
}

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

.about-content h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 10px;
    text-transform: capitalize;
}

.about-text {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Promo Banner */
.promo-banner {
    background-color: var(--gray-bg);
    padding: 60px 0;
}

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

.promo-text {
    margin-bottom: 20px;
}

.promo-label {
    display: block;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.promo-discount {
    font-family: var(--font-display);
    font-size: 80px;
    font-weight: 700;
    line-height: 1;
    margin: 10px 0;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

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

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

/* New Arrivals */
.new-arrivals {
    padding: 40px 0;
    background-color: var(--white);
}

.new-arrivals-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--gray-bg);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.new-arrivals-link:hover {
    background-color: var(--primary-color);
}

.view-collection {
    font-size: 14px;
    text-transform: capitalize;
}

/* Footer */
.main-footer {
    background-color: var(--gray-bg);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul a {
    font-size: 13px;
    color: var(--text-light);
    transition: color 0.3s;
}

.footer-column ul a:hover {
    color: var(--text-color);
}

.newsletter-column h5 {
    font-size: 14px;
    font-weight: 500;
    margin: 15px 0 10px;
}

.newsletter-column p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    font-size: 13px;
}

.btn-subscribe {
    padding: 12px 20px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.btn-subscribe:hover {
    background-color: var(--text-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links .social-link {
    font-size: 13px;
    color: var(--text-light);
    transition: color 0.3s;
}

.social-links .social-link:hover {
    color: var(--text-color);
}

.support-column .contact-info p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.support-column .contact-info .timing {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.footer-bottom .developer {
    font-size: 11px;
}

/* Chat Button */
.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: var(--white);
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s;
}

.chat-button:hover {
    transform: scale(1.05);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--sale-color);
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

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

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

    .top-bar-left .exchange-text {
        display: none;
    }

    .logo-image {
        max-height: 60px;
    }

    .logo-hindi,
    .logo-text {
        font-size: 24px;
    }

    .header-icons {
        gap: 15px;
    }

    .icon-link {
        font-size: 18px;
    }

    .category-scroll {
        justify-content: flex-start;
    }

    .category-item {
        min-width: 120px;
    }

    .category-image {
        width: 100px;
        height: 100px;
    }

    .category-name {
        font-size: 14px;
    }

    .section-title {
        font-size: 18px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .promo-discount {
        font-size: 60px;
    }

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

    .chat-button {
        padding: 10px 15px;
        font-size: 12px;
    }

    .chat-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .top-bar {
        font-size: 10px;
    }

    .since-badge {
        padding: 2px 6px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-info {
        padding: 10px;
    }

    .product-name {
        font-size: 12px;
    }

    .logo-image {
        max-height: 50px;
    }

    .current-price {
        font-size: 13px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.product-card {
    animation: fadeIn 0.5s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-bg);
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-dark);
}

/* Auth Page Redesign */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: #fff;
    font-family: 'Poppins', sans-serif;
}

.auth-card {
    display: flex;
    width: 100%;
    background: #fff;
    overflow: hidden;
    min-height: 100vh;
}

.auth-left {
    flex: 1.1;
    background: url("../images/login_bg_designer.png") no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
}

.auth-left::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.auth-left-content {
    position: relative;
    z-index: 1;
}

.auth-logo {
    width: 60px;
}

.auth-right {
    flex: 0.9;
    padding: 40px;
    display: flex;
    flex-direction: column;
    background: #fff;
    justify-content: center;
}

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

.back-btn {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    display: inline-block;
    transition: transform 0.3s;
}

.back-btn:hover {
    transform: translateX(-5px);
}

.auth-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111;
}

.auth-subtitle {
    color: #666;
    font-size: 16px;
}

.auth-link {
    color: #111;
    font-weight: 600;
    text-decoration: underline;
}

.auth-form-group {
    margin-bottom: 15px;
}

.auth-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
}

.auth-input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 15px;
    transition: all 0.3s;
    background: #fcfcfc;
}

.auth-input:focus {
    outline: none;
    border-color: #111;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.02);
}

.password-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
}

.forgot-password {
    text-align: right;
    margin-top: 10px;
}

.forgot-password a {
    font-size: 12px;
    font-weight: 600;
    color: #111;
    text-decoration: underline;
}

.auth-submit-btn {
    width: 100%;
    padding: 16px;
    background: #000;
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s;
}

.auth-submit-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.auth-terms {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

.auth-terms input {
    width: 18px;
    height: 18px;
    accent-color: #000;
}

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

.auth-divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #eee;
}

.auth-divider span {
    position: relative;
    background: #fff;
    padding: 0 15px;
    color: #aaa;
    font-size: 12px;
}

.social-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.social-btn:hover {
    background: #f9f9f9;
    border-color: #ccc;
}

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

@media (max-width: 992px) {
    .auth-card {
        flex-direction: column;
        max-width: 500px;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        padding: 40px 20px;
    }
}

/* Premium Chatbot Styles */
.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 520px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
}

.chatbot-window.active {
    display: flex;
    transform: translateY(0) scale(1);
    opacity: 1;
}

.chatbot-header {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    padding: 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h4 {
    margin: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-header .close-chat {
    cursor: pointer;
    font-size: 18px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.chatbot-header .close-chat:hover {
    opacity: 1;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #fdfdfd;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.message.bot {
    background: #f1f1f1;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.message.user {
    background: #000;
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.typing-indicator {
    display: none;
    align-self: flex-start;
    background: #f1f1f1;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 12px;
    color: #888;
}

.chatbot-input-area {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    background: #fff;
}

.chatbot-input-area input {
    flex: 1;
    border: 1px solid #eee;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.chatbot-input-area input:focus {
    border-color: #000;
}

.chatbot-send-btn {
    background: #000;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.chatbot-send-btn:hover {
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 90px;
        height: 60vh;
    }
}

/* Professional Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.search-overlay.active {
    display: flex;
    opacity: 1;
}

.search-overlay-close {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 30px;
    cursor: pointer;
    color: #000;
    transition: transform 0.3s;
}

.search-overlay-close:hover {
    transform: rotate(90deg);
}

.search-overlay-content {
    width: 100%;
    max-width: 800px;
    padding: 0 30px;
    text-align: center;
    transform: translateY(50px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.search-overlay.active .search-overlay-content {
    transform: translateY(0);
}

.search-form {
    position: relative;
    border-bottom: 2px solid #000;
    margin-bottom: 40px;
}

.search-form input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 20px 60px 20px 0;
    font-size: 36px;
    font-family: var(--font-display);
    font-weight: 500;
    outline: none;
}

.search-submit {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #000;
    background: none;
    border: none;
}

.popular-searches h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #888;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.search-tags a {
    padding: 8px 25px;
    background: #f5f5f5;
    border-radius: 30px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s;
}

.icon-link {
    font-size: 20px;
    color: #333;
    transition: all 0.3s;
    position: relative;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #000;
    color: #fff;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border: 2px solid #fff;
}

.search-tags a:hover {
    background: #000;
    color: #fff;
}

@media (max-width: 768px) {
    .search-form input {
        font-size: 24px;
    }

    .search-overlay-close {
        top: 20px;
        right: 20px;
        font-size: 24px;
    }
}

/* Shopify-Style Cart Redesign */
.cart-shopify-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e8e1;
    margin-top: 40px;
}

.cart-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 400;
    margin: 0;
}

.continue-shopping {
    font-size: 14px;
    color: #121212;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cart-grid-shopify {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    margin-bottom: 80px;
}

.cart-items-header-shopify {
    display: grid;
    grid-template-columns: 1fr 120px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e8e1;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6a6a6a;
}

.col-total {
    text-align: right;
}

.cart-item-shopify {
    display: grid;
    grid-template-columns: 120px 1fr 120px;
    gap: 30px;
    padding: 35px 0;
    border-bottom: 1px solid #e8e8e1;
}

.item-visual-shopify img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}

.item-details-shopify {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-name {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #121212;
    text-decoration: none;
    margin-bottom: 8px;
}

.item-name:hover {
    text-decoration: underline;
}

.item-price-each {
    font-size: 14px;
    color: #121212;
}

.item-controls-shopify {
    display: flex;
    align-items: center;
    gap: 20px;
}

.shopify-qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #e8e8e1;
    width: fit-content;
}

.shopify-qty-selector button {
    background: none;
    border: none;
    width: 35px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shopify-qty-selector input {
    width: 40px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.item-remove-shopify {
    background: none;
    border: none;
    color: #121212;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.item-remove-shopify:hover {
    opacity: 1;
}

.item-total-shopify {
    text-align: right;
    font-size: 16px;
    font-weight: 500;
    color: #121212;
}

.cart-summary-shopify {
    position: sticky;
    top: 120px;
    text-align: right;
}

.summary-line {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 15px;
}

.summary-line .label {
    font-size: 16px;
    color: #121212;
}

.summary-line .value {
    font-size: 18px;
    font-weight: 500;
    color: #121212;
}

.summary-note {
    font-size: 13px;
    color: #6a6a6a;
    margin-bottom: 35px;
}

.shopify-checkout-btn {
    display: block;
    width: 100%;
    background: #121212;
    color: #fff;
    text-align: center;
    padding: 18px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s;
}

.shopify-checkout-btn:hover {
    background: #333;
}

.empty-cart-shopify {
    text-align: center;
    padding: 100px 0;
}

.empty-cart-shopify p {
    font-size: 18px;
    color: #121212;
    margin-bottom: 30px;
}

.shopify-btn {
    display: inline-block;
    background: #121212;
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

/* Mobile Responsiveness for Shopify Cart */
@media (max-width: 992px) {
    .cart-grid-shopify {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .cart-shopify-header {
        margin-bottom: 30px;
    }

    .cart-title {
        font-size: 26px;
    }

    .cart-items-header-shopify {
        display: none;
    }

    .cart-item-shopify {
        grid-template-columns: 100px 1fr;
        gap: 20px;
        position: relative;
    }

    .item-total-shopify {
        position: absolute;
        top: 35px;
        right: 0;
    }
}