:root {
    --primary-color: #123559;
    --primary-dark: #0a1f33;
    --secondary-color: #d1c6bc;
    --accent-color: #4a7ba6;
    --light-color: #f8f9fa;
    --dark-color: #0a1f33;
    --gray-light: #e9ecef;
    --gray-medium: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --border-radius: 15px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding-top: 70px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    padding: 12px 30px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(18, 53, 89, 0.2);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 80px;
    /* قلل من 100px إلى 80px */
    right: 20px;
    z-index: 1060;
}

.custom-toast {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--primary-color);
    min-width: 300px;
    max-width: 90vw;
    margin-bottom: 15px;
    overflow: hidden;
    animation: slideInRight 0.3s ease;
}

.toast-header {
    background: rgba(18, 53, 89, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 20px;
}

.toast-body {
    padding: 20px;
}

.toast-success {
    border-left-color: var(--success-color);
}

.toast-error {
    border-left-color: var(--danger-color);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Navbar*/
.navbar {
    background-color: white !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
    transition: var(--transition);
    z-index: 1030;
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 10px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 8px;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Hover Dropdown for Library */
.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-nav .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    margin-top: 8px;
}

.navbar-nav .dropdown-item {
    padding: 8px 16px;
    color: var(--dark-color);
    font-weight: 500;
    transition: all 0.2s ease;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background-color: rgba(18, 53, 89, 0.1);
    color: var(--primary-color);
}

.navbar-nav .dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.navbar-nav .nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Cart Icon */
.cart-icon {
    position: relative;
    font-size: 1.3rem;
    /* قلل من 1.4rem إلى 1.3rem */
    color: var(--dark-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: white;
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Mobile Navbar Specific */
@media (max-width: 992px) {
    body {
        padding-top: 65px;
    }

    .navbar {
        padding: 8px 0;
    }

    .navbar .container-fluid {
        padding: 0 15px;
    }

    .mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        position: relative;
    }

    .mobile-actions {
        display: flex;
        align-items: center;
        gap: 0;
        order: 2;
        flex: 1;
        justify-content: flex-end;
    }

    .mobile-icons {
        display: flex;
        align-items: center;
        order: 1;
        gap: 0;
        position: relative;
        margin-right: 15px;
    }

    .navbar-toggler {
        order: 2;
        border: none;
        padding: 6px 8px;
        margin-left: 5px;
    }

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

    .navbar-toggler-icon {
        width: 1.4em;
        height: 1.4em;
    }

    .mobile-icon-btn {
        background: none;
        border: none;
        color: var(--dark-color);
        font-size: 1.2rem;
        padding: 6px 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

    .mobile-icon-btn:hover {
        color: var(--primary-color);
        transform: translateY(-1px);
    }

    .mobile-cart-icon {
        position: relative;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
        top: -5px;
        right: -3px;
    }

    .user-dropdown-mobile {
        position: relative;
    }

    .user-dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        z-index: 1000;
        display: none;
        min-width: 200px;
        padding: 8px 0;
        margin: 2px 0 0;
        background-color: white;
        border: 1px solid rgba(0, 0, 0, 0.15);
        border-radius: 8px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    }

    .user-dropdown-menu.show {
        display: block;
    }

    .user-dropdown-menu .dropdown-item {
        padding: 8px 15px;
        color: var(--dark-color);
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        transition: all 0.2s ease;
        border: none;
        background: none;
        width: 100%;
        text-align: left;
    }

    .user-dropdown-menu .dropdown-item:hover {
        background-color: rgba(18, 53, 89, 0.1);
        color: var(--primary-color);
    }

    .user-dropdown-menu .dropdown-item i {
        width: 18px;
        margin-right: 8px;
    }

    .user-dropdown-menu .badge {
        font-size: 0.65rem;
        padding: 2px 5px;
        margin-left: auto;
    }

    .user-dropdown-divider {
        height: 1px;
        margin: 6px 0;
        overflow: hidden;
        background-color: var(--gray-light);
    }

    .navbar-collapse {
        background: white;
        padding: 15px;
        margin-top: 10px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav {
        margin-bottom: 15px;
    }

    .navbar-nav .nav-link {
        padding: 10px 0;
        margin: 0;
        border-bottom: 1px solid var(--gray-light);
        font-size: 0.95rem;
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-nav .nav-link.active {
        color: var(--primary-color) !important;
        font-weight: 600;
    }

    .navbar-nav .dropdown-toggle::after {
        display: inline-block;
        margin-left: 5px;
        vertical-align: middle;
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
        transition: transform 0.3s ease;
    }

    .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }

    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: none;
    }

    .navbar-nav .dropdown-menu {
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.03);
        border: none;
        box-shadow: none;
        padding-left: 15px;
        margin: 0;
    }

    .navbar-nav .dropdown-menu.show {
        display: block;
    }

    .navbar-nav .dropdown-item {
        padding: 8px 0;
        color: var(--dark-color);
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        margin-left: 10px;
    }

    .navbar-nav .dropdown-item:last-child {
        border-bottom: none;
    }

    .navbar-nav .dropdown-item:hover {
        background: transparent;
        color: var(--primary-color);
    }

    .desktop-actions {
        display: none;
    }
}

@media (min-width: 993px) {

    .mobile-header,
    .mobile-actions,
    .mobile-icons,
    .user-dropdown-mobile {
        display: none;
    }
}

/* Off-Canvas Cart */
.offcanvas-cart {
    width: 420px !important;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.offcanvas-title {
    color: white;
}
.cart-header {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-body {
    padding: 0;
    flex: 1;
    overflow-y: auto;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-medium);
}

.cart-empty i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--gray-light);
}

.cart-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid var(--gray-light);
    transition: var(--transition);
    flex-direction: row;
    /* مهم: يجعل الصورة والمعلومات في صف واحد */
    align-items: center;
}

.cart-item:hover {
    background: rgba(18, 53, 89, 0.02);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-content {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-light);
    padding: 5px 10px;
    border-radius: 8px;
}

.quantity-btn {
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.quantity-value {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.remove-item {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.remove-item:hover {
    background: rgba(220, 53, 69, 0.1);
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-light);
    background: white;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-light);
}

.total-label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.cart-buttons {
    display: grid;
    gap: 10px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg,
            rgba(18, 53, 89, 0.9) 0%,
            rgba(10, 31, 51, 0.9) 100%),
        url("../imgs/e5918ca1-879b-4576-81f3-268e53d16d32.png");
    background-size: cover;
    background-position: center;
    padding: 100px 50px;
    color: white;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.hero-search {
    max-width: 600px;
    margin: 30px auto 0;
}

.hero-search-form {
    display: flex;
    gap: 10px;
    width: 100%;
}

.hero-search-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-search-form input:focus {
    outline: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.hero-search-form button {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    padding: 0 30px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.hero-search-form button:hover {
    background-color: #c0b1a4;
    transform: translateY(-2px);
}

/* Promotional Banner */
.promo-banner {
    padding: 40px 0;
    margin: 40px 0;
    overflow: hidden;
    position: relative;
}

.promo-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.promo-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.promo-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.promo-countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    min-width: 80px;
    backdrop-filter: blur(10px);
}

.countdown-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-color);
}

.countdown-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Categories */
.categories-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.section-title h2:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.category-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    margin-bottom: 30px;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-image {
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-content {
    padding: 25px;
}

.category-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.category-content p {
    color: var(--gray-medium);
    margin-bottom: 20px;
}

/* Product Cards */
.products-section {
    padding: 60px 0;
    background-color: white;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    margin-bottom: 30px;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-badge.sale {
    background-color: var(--danger-color);
}

.product-badge.new {
    background-color: var(--success-color);
}

.product-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.product-action-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.product-action-btn.active {
    background: var(--primary-color);
    color: white;
}

.product-content {
    padding: 20px;
}

.product-category {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
    line-height: 1.3;
}

.product-description {
    color: var(--gray-medium);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    color: var(--warning-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-count {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-left: 5px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
}

.old-price {
    font-size: 1rem;
    color: var(--gray-medium);
    text-decoration: line-through;
}

.product-button {
    display: grid;
    gap: 10px;
}

/* Best Sellers Section */
.best-sellers-section {
    padding: 60px 0;
    background: linear-gradient(135deg,
            rgba(18, 53, 89, 0.02) 0%,
            rgba(10, 31, 51, 0.02) 100%);
}

.product-tabs {
    margin-bottom: 30px;
}

.nav-tabs {
    border-bottom: 2px solid var(--gray-light);
    justify-content: center;
}

.nav-tabs .nav-link {
    border: none;
    color: var(--gray-medium);
    font-weight: 600;
    padding: 10px 25px;
    margin: 0 5px;
    border-radius: 8px 8px 0 0;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background: white;
    border-bottom: 2px solid var(--primary-color);
}

/* Design Inspiration Section */
.inspiration-section {
    padding: 60px 0;
    background: white;
}

.inspiration-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 400px;
    position: relative;
    margin-bottom: 30px;
}

.inspiration-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.inspiration-card:hover .inspiration-image {
    transform: scale(1.05);
}

.inspiration-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 30px;
    z-index: 2;
}

.inspiration-title {
    color: white;
    margin-bottom: 10px;
}

.inspiration-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

/* Customer Reviews Section */
.reviews-section {
    padding: 60px 0;
    background: white;
}

.review-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    height: 100%;
    margin-bottom: 30px;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-info h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.reviewer-info .product-name {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin: 0;
}

.review-rating {
    color: var(--warning-color);
    margin-bottom: 15px;
}

.review-text {
    color: #555;
    line-height: 1.6;
    font-style: italic;
}

.review-date {
    color: var(--gray-medium);
    font-size: 0.85rem;
    margin-top: 15px;
    text-align: right;
}

/* Newsletter */
.newsletter-section {
    padding: 60px 0;
    background: linear-gradient(135deg,
            var(--primary-color) 0%,
            var(--primary-dark) 100%);
    color: white;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.newsletter-text {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    padding: 0 25px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background-color: #c0b1a4;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 60px 0 0;
}

.footer-main {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo-img {
    max-width: 180px;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-column {
    margin-bottom: 40px;
}

.footer-column h5 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h5:after {
    content: "";
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-links a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.contact-info {
    color: rgba(255, 255, 255, 0.7);
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-info i {
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 3px;
    width: 20px;
    flex-shrink: 0;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-bottom p {
    margin-bottom: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Responsive Improvements */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .promo-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 70px 0 40px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .product-actions {
        opacity: 1;
        transform: translateX(0);
        flex-direction: row;
        top: auto;
        bottom: 15px;
        right: 15px;
    }

    .promo-banner {
        padding: 30px 0;
    }

    .countdown-item {
        min-width: 60px;
        padding: 10px;
    }

    .countdown-value {
        font-size: 1.5rem;
    }

    .cart-item {
        padding: 15px;
    }

    .cart-item-image {
        width: 70px;
        height: 70px;
    }

    .cart-item-title {
        font-size: 0.95rem;
    }

    .cart-item-price {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 35px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-search-form,
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }

    .hero-search-form input,
    .newsletter-form input,
    .hero-search-form button,
    .newsletter-form button {
        width: 100%;
        text-align: center;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    .category-content h3 {
        font-size: 1.2rem;
    }

    .feature-title {
        font-size: 1.2rem;
    }

    .newsletter-title {
        font-size: 1.8rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .product-name {
        font-size: 1.1rem;
    }

    .product-description {
        font-size: 0.9rem;
    }

    .current-price {
        font-size: 1.2rem;
    }

    .promo-countdown {
        flex-wrap: wrap;
    }

    .inspiration-card {
        height: 300px;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offcanvas-cart {
        width: 380px !important;
        max-width: 85vw;
    }

    .cart-item {
        padding: 12px;
    }

    .cart-item-image {
        width: 65px;
        height: 65px;
        margin-right: 12px;
    }

    .cart-item-actions {
        gap: 8px;
    }

    .quantity-control {
        padding: 4px 8px;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 60px;
    }

    .navbar {
        padding: 8px 0;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .category-image {
        height: 180px;
    }

    .product-image {
        height: 200px;
    }

    .product-actions {
        bottom: 10px;
        right: 10px;
        gap: 8px;
    }

    .product-action-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .cart-item {
        flex-direction: row;
        text-align: left;
        padding: 15px 12px;
    }

    .cart-item-image {
        margin: 0 12px 0 0;
        width: 60px;
        height: 60px;
    }

    .cart-item-content {
        flex: 1;
        min-width: 0;
    }

    .cart-item-title {
        white-space: normal;
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .cart-item-price {
        font-size: 0.95rem;
    }

    .cart-item-actions {
        justify-content: flex-start;
        margin-top: 8px;
    }

    .quantity-control {
        padding: 3px 6px;
        gap: 6px;
    }

    .quantity-btn {
        width: 22px;
        height: 22px;
        font-size: 0.8rem;
    }

    .quantity-value {
        min-width: 25px;
        font-size: 0.9rem;
    }

    .remove-item {
        font-size: 0.85rem;
        padding: 4px;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .mobile-icon-btn {
        padding: 6px 8px;
        font-size: 1.2rem;
    }

    .navbar-toggler {
        margin-right: 3px;
        padding: 5px 7px;
    }

    .logo-img {
        width: 35px;
        height: 35px;
    }

    .mobile-actions {
        gap: 5px;
    }

    .mobile-icons {
        gap: 2px;
        margin-right: 10px;
    }

    .offcanvas-cart {
        width: 100% !important;
        max-width: 100%;
    }

}

@media (max-width: 992px) {
    .navbar-nav .nav-link {
        padding: 10px 0;
        margin: 0;
        border-bottom: 1px solid var(--gray-light);
        font-size: 0.95rem;
        position: relative;
    }

    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 0;
        background-color: var(--primary-color);
        transition: width 0.3s ease-in-out;
        display: block !important;
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 30%;
    }

    .navbar-nav .dropdown-toggle::after {
        display: inline-block !important;
        margin-left: 8px;
        vertical-align: middle;
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
        transition: transform 0.3s ease;
    }

    .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }

    .navbar-nav .dropdown-menu {
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.03);
        border: none;
        box-shadow: none;
        padding-left: 15px;
        margin: 0;
        position: static !important;
        float: none !important;
        width: 100% !important;
    }

    .navbar-nav .dropdown-menu.show {
        display: block !important;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .navbar-nav .nav-item.dropdown .nav-link {
        border-bottom: 1px solid var(--gray-light);
    }

    .navbar-nav .dropdown-item {
        padding: 8px 0;
        color: var(--dark-color);
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        margin-left: 10px;
    }

    .navbar-nav .dropdown-item:last-child {
        border-bottom: none;
    }

    .navbar-nav .dropdown-item:hover {
        background: transparent;
        color: var(--primary-color);
    }
}