:root {
    --primary-orange: #ff6b35;
    --primary-blue: #007bff;
    --secondary-blue: #0056b3;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
    --border-color: #e9ecef;
    --profile-primary: #ff6b35;
    --profile-secondary: #4a90e2;
    --profile-light-gray: #f8f9fa;
    --profile-dark-gray: #6c757d;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-gray);
}

/* Spinning Wave Loader Styles */
.wave-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.wave-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.wave-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.wave {
    position: absolute;
    border: 3px solid transparent;
    border-top: 3px solid #ff6b35;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.wave:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.wave:nth-child(2) {
    width: 90px;
    height: 90px;
    top: 15px;
    left: 15px;
    animation-delay: -0.3s;
    border-top-color: #ff6b35; /* Lighter Blue */
}

.wave:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 30px;
    left: 30px;
    animation-delay: -0.6s;
    border-top-color: rgba(135, 206, 250, 0.4); /* Even Lighter */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.wave-text {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    color: #ff6b35;
    font-weight: 600;
    letter-spacing: 1px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.top-navbar {
    background-color: #f8f9fa;
    padding: 2px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #ff6b35;
}

.top-navbar-nav {
    display: flex;
    list-style: none;
    gap: 30px;
}

.top-navbar-nav a {
    color: blue;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.top-navbar-nav a:hover {
    opacity: 0.7;
}

.navbar-brand {
    color: var(--primary-orange) !important;
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-container {
    max-width: 500px;
    margin: 0 auto;
}

.btn-search {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

.btn-search:hover {
    background-color: #e55a2b;
    border-color: #e55a2b;
}

.btn-cart {
    background-color: transparent;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    border-radius: 25px;
    padding: 8px 20px;
}

.btn-cart:hover {
    background-color: var(--primary-orange);
    color: white;
}

.sidebar {
    background: white;
    height: calc(100vh - 76px);
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    overflow-y: auto;
    top: 85px;
}

.sidebar-header {
    background-color: var(--primary-orange);
    color: white;
    padding: 15px;
    margin: -15px -15px 15px -15px;
}

.sidebar-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: var(--dark-gray);
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.sidebar-item:hover {
    color: var(--primary-orange);
    padding-left: 10px;
    text-decoration: none;
}

.welcome-card {
    background: linear-gradient(
        135deg,
        var(--primary-blue),
        var(--secondary-blue)
    );
    color: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-blue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hero-banner {
    background-size: cover;
    background-position: center;
    color: white;
    /* padding: 100px 0; */
    text-align: center;
    border-radius: 15px;
    margin-bottom: 30px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.category-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card-body {
    padding: 20px;
}

.flash-sale {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border-radius: 15px;
    padding: 25px 20px;
    margin-bottom: 30px;
    text-align: center;
    height: 100%;
    min-height: 400px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 6px;
    min-width: 45px;
    text-align: center;
}

/* Default (Desktop & Large Screens) */
.carousel-img {
    height: 520px;
    object-fit: cover;
}

/* Tablets */
@media (max-width: 991.98px) {
    .carousel-img {
        height: 450px;
    }
}

/* Mobile devices */
@media (max-width: 575.98px) {
    .carousel-img {
        height: 450px;
    }
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: transparent;
}

.carousel-indicators button.active {
    background-color: white;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 250px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    font-size: 3rem;
}

.product-info {
    padding: 15px;
}

.product-price {
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1.2rem;
}

.offcanvas-header {
    background-color: var(--primary-orange);
    color: white;
}

.btn-toggle {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    border-radius: 5px;
}

.btn-toggle:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
}

@media (max-width: 991.98px) {
    .sidebar {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-banner {
        padding: 50px 0;
    }

    .countdown {
        flex-wrap: wrap;
        gap: 10px;
    }

    .countdown-item {
        padding: 10px;
        min-width: 50px;
        font-size: 0.9rem;
    }
}

/* ITEMS */

.items-container {
    background-color: #fff;
}

.item-header {
    /* background-color: #fff; */
    padding: 15px 20px;
    margin-bottom: 20px;
    /* border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
}

.item-header h2 {
    color: #ff6b35;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
}

.item-header .fa-circle {
    margin-right: 10px;
    font-size: 12px;
}

.item-container {
    /* background-color: white; */
    border-radius: 12px;
    padding: 3px;
    margin-bottom: 0px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.item-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.item-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

.item-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ffc107;
    color: #000;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    z-index: 2;
}

.item-image {
    width: 100%;
    height: 200px;
    /* object-fit: contain; */
    object-fit: cover;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 10px;
}

.item-price {
    color: #dc3545;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.item-title {
    color: #333;
    font-size: 14px;
    line-height: 1.3;
    height: 40px;
    overflow: hidden;
    margin-bottom: 0;
}

.item-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.item-spec {
    background-color: #e9ecef;
    color: #495057;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
}

.item-spec.purple {
    background-color: #8b5cf6;
    color: white;
}

.item-spec.blue {
    background-color: #3b82f6;
    color: white;
}

@media (max-width: 768px) {
    .item-container {
        margin-bottom: 15px;
    }

    .item-image {
        height: 150px;
    }
}

/* Items Categories */
.item-category-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.item-category-section {
    margin-bottom: 40px;
}


.item-category-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.item-category-icon {
    width: 12px;
    height: 12px;
    background-color: #ff6b35;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

.item-category-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-top: 10px;
}

.item-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Default: 2 columns for large screens */
    gap: 20px;
}

.item-category-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    min-width: 0;
}

.item-category-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.item-category-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.item-category-view-all {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.item-category-view-all:hover {
    color: #ff6b35;
}

.item-category-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.item-category-product {
    position: relative;
    aspect-ratio: 1;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.item-category-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.item-category-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge styling */
.item-category-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: #ff6b35;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}

/* Product info overlay */
.item-category-product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 70%, transparent 100%);
    padding: 12px;
    color: white;
}

.item-category-product-name {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-category-product-price {
    font-size: 12px;
    margin-bottom: 4px;
}

.price-current {
    font-weight: bold;
    color: #ff6b35;
}

.price-original {
    text-decoration: line-through;
    opacity: 0.7;
    margin-left: 4px;
    font-size: 11px;
}

.price-range {
    font-weight: bold;
}

.item-category-product-colors {
    font-size: 10px;
    opacity: 0.9;
}

.item-category-product-colors i {
    margin-right: 3px;
}

/* Placeholder product styles */
.item-category-product-phone {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.item-category-product-clothing {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.item-category-product-shoes {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.item-category-product-beauty {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.item-category-product-bags {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.item-category-product-watch {
    background: linear-gradient(135deg, #fdbb2d 0%, #22c1c3 100%);
}

.item-category-product-electronics {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.item-category-product-baby {
    background: linear-gradient(135deg, #ffeef8 0%, #ffe0f4 100%);
}

.item-category-product-home {
    background: linear-gradient(135deg, #e0c3fc 0%, #9bb5ff 100%);
}

.item-category-product-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    text-align: center;
    padding: 10px;
}

.item-category-product-placeholder i {
    font-size: 28px;
    margin-bottom: 8px;
}

/* Large Desktop (1200px and above) - 2 columns */
@media (min-width: 1200px) {
    .item-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Desktop (992px to 1199px) - 2 columns */
@media (min-width: 992px) and (max-width: 1199px) {
    .item-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .item-category-card {
        padding: 12px;
    }
}

/* Tablet (768px to 991px) - 2 columns */
@media (min-width: 768px) and (max-width: 991px) {
    .item-category-container {
        padding: 15px;
    }

    .item-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .item-category-card {
        padding: 10px;
    }

    .item-category-products {
        gap: 8px;
    }

    .item-category-card-title {
        font-size: 15px;
    }

    .item-category-badge {
        padding: 3px 6px;
        font-size: 11px;
    }

    .item-category-product-name {
        font-size: 12px;
    }
}

/* Small Tablet (576px to 767px) - 1 column */
@media (min-width: 576px) and (max-width: 767px) {
    .item-category-container {
        padding: 15px;
    }

    .item-category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .item-category-products {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .item-category-title {
        font-size: 17px;
    }

    .item-category-card-title {
        font-size: 14px;
    }
}

/* Mobile (up to 575px) - 1 column */
@media (max-width: 575px) {
    .item-category-container {
        padding: 10px;
        margin: 0;
        border-radius: 0;
    }

    .item-category-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .item-category-card {
        padding: 8px;
    }

    .item-category-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .item-category-title {
        font-size: 16px;
    }

    .item-category-card-title {
        font-size: 13px;
    }

    .item-category-view-all {
        font-size: 11px;
    }

    .item-category-badge {
        top: 5px;
        right: 5px;
        padding: 2px 5px;
        font-size: 10px;
    }

    .item-category-product-info {
        padding: 8px;
    }

    .item-category-product-name {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .item-category-product-price {
        font-size: 10px;
    }

    .item-category-product-colors {
        font-size: 9px;
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .item-category-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }

    .item-category-product-name {
        font-size: 10px;
    }

    .item-category-product-price {
        font-size: 9px;
    }
}

/* Footer */

/* Footer Styles */
.footer-main {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-brand {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 15px;
}

.footer-description {
    font-size: 14px;
    color: #bdc3c7;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #ecf0f1;
    margin-bottom: 15px;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 5px;
    display: inline-block;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ff6b35;
    text-decoration: none;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #34495e;
    color: #bdc3c7;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background-color: #ff6b35;
    color: white;
    transform: translateY(-2px);
}

.footer-contact-info {
    font-size: 14px;
    color: #bdc3c7;
    margin-bottom: 10px;
}

.footer-contact-info i {
    color: #ff6b35;
    width: 20px;
}

.footer-bottom {
    background-color: #1a252f;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid #34495e;
}

.footer-copyright {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 0;
}

.footer-payment-methods {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: end;
}

.footer-payment-icon {
    background: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: #2c3e50;
    font-weight: bolder;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-payment-methods {
        justify-content: center;
        margin-top: 15px;
    }

    .footer-social-icons {
        justify-content: center;
    }
}

/* Contact use */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.contact-main-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 50px;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.contact-hero-content {
    position: relative;
    z-index: 2;
}

.contact-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-hero-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.contact-hero-image {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 200"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.2)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0.1)"/></linearGradient></defs><rect width="150" height="200" fill="grad1" rx="10"/><rect x="160" width="140" height="200" fill="grad1" rx="10"/><circle cx="75" cy="60" r="25" fill="rgba(255,255,255,0.3)"/><circle cx="225" cy="60" r="25" fill="rgba(255,255,255,0.3)"/></svg>')
        center/contain no-repeat;
}

.contact-info-section {
    padding: 40px;
}

.contact-working-hours {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
}

.contact-working-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.contact-hours-item {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.contact-hours-item i {
    color: #ff6b35;
    margin-right: 10px;
    width: 20px;
}

.contact-description {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
}

.contact-btn-whatsapp {
    background-color: #25d366;
    color: white;
}

.contact-btn-whatsapp:hover {
    background-color: #128c7e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.contact-btn-email {
    background-color: #4285f4;
    color: white;
}

.contact-btn-email:hover {
    background-color: #3367d6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

.contact-btn-social {
    background-color: #6c5ce7;
    color: white;
}

.contact-btn-social:hover {
    background-color: #5a4fcf;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.contact-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.contact-form-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 50px;
    margin-bottom: 50px;
}

.contact-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
}

.contact-form-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 40px;
}

.contact-form-group {
    margin-bottom: 25px;
}

.contact-form-label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1rem;
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    outline: none;
    border-color: #ff6b35;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.contact-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-submit {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.contact-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.contact-form-submit:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 2rem;
    }

    .contact-hero {
        padding: 40px 20px;
        text-align: center;
    }

    .contact-hero-image {
        display: none;
    }

    .contact-hero-title {
        font-size: 1.8rem;
    }

    .contact-info-section {
        padding: 30px 20px;
    }

    .contact-form-section {
        padding: 30px 20px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Auth */
.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 500px;
    margin: 20px;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: left;
}

.auth-toggle {
    text-align: right;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #6c757d;
}

.auth-toggle-link {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
}

.auth-toggle-link:hover {
    color: #e55a2b;
    text-decoration: underline;
}

.auth-form-group {
    position: relative;
    margin-bottom: 30px;
}

.auth-input {
    width: 100%;
    padding: 15px 0 8px 0;
    border: none;
    border-bottom: 2px solid #dee2e6;
    background: transparent;
    font-size: 1rem;
    color: #2c3e50;
    outline: none;
    transition: all 0.3s ease;
}

.auth-input:focus {
    border-bottom-color: #ff6b35;
}

.auth-input:focus + .auth-label,
.auth-input:not(:placeholder-shown) + .auth-label {
    transform: translateY(-20px);
    font-size: 0.8rem;
    color: #ff6b35;
}

.auth-label {
    position: absolute;
    left: 0;
    top: 15px;
    color: #6c757d;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.auth-forgot-link {
    display: block;
    text-align: left;
    color: #6c757d;
    text-decoration: underline;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.auth-forgot-link:hover {
    color: #495057;
}

.auth-submit-btn {
    width: 100%;
    background-color: #ff6b35;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.auth-submit-btn:hover {
    background-color: #e55a2b;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

/* Password toggle icon */
.auth-password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    font-size: 1.2rem;
}

/* Register specific styles */
.register-container {
    max-width: 600px;
}

.register-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.register-col {
    flex: 1;
    position: relative;
}

/* Hidden forms */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-container {
        padding: 30px 20px;
        margin: 10px;
    }

    .register-row {
        flex-direction: column;
        gap: 0;
    }

    .auth-title {
        font-size: 1.8rem;
    }
}

/* Blue accent for some elements */
.auth-blue-accent {
    color: #4a90e2;
}

.auth-input:focus.blue-focus {
    border-bottom-color: #4a90e2;
}

.auth-input:focus.blue-focus + .auth-label {
    color: #4a90e2;
}

/* Product Page */
.product-page-container {
    margin: 10;
}

.product-page-sidebar {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.product-page-sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b35;
}

.product-page-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-page-category-item {
    margin-bottom: 8px;
}

.product-page-category-link {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 5px 0;
    display: block;
    transition: color 0.3s ease;
}

.product-page-category-link:hover {
    color: #ff6b35;
    text-decoration: none;
}

.product-page-category-link.active {
    color: #ff6b35;
    font-weight: 500;
}

.product-page-main-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.product-page-breadcrumb {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.product-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.product-page-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.product-page-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-page-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff6b35;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-page-image {
    width: 100%;
    height: 180px;
    /* object-fit: cover; */
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 10px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.9rem;
}

.product-page-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 5px;
}

.product-page-title {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-page-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 5px;
}

.product-page-pagination a,
.product-page-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    text-decoration: none;
    color: #666;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.product-page-pagination a:hover {
    background-color: #f8f9fa;
    color: #333;
}

.product-page-pagination .active {
    background-color: #ff6b35;
    color: white;
    font-weight: 600;
}

.product-page-pagination .disabled {
    color: #ccc;
    cursor: not-allowed;
}

.product-page-pagination .ellipsis {
    cursor: default;
}

.product-page-pagination .go-to-page {
    margin-left: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.product-page-pagination input {
    width: 50px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 0.9rem;
}

.product-page-pagination button {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .product-page-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }

    .product-page-sidebar {
        margin-bottom: 20px;
    }

    .product-page-pagination {
        flex-wrap: wrap;
        gap: 3px;
    }

    .product-page-pagination .go-to-page {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .product-page-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* Profile Pages */
.profile-container {
    min-height: 100vh;
    background-color: var(--profile-light-gray);
    margin-top: 76px;
    margin-left: auto;
    margin-right: auto;
    max-width: calc(100% - 40px);
}

.profile-sidebar {
    background: white;
    min-height: 100vh;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.profile-menu-header {
    background: var(--profile-primary);
    color: white;
    padding: 15px 20px;
    font-weight: bold;
    font-size: 18px;
}

.profile-menu-item {
    padding: 15px 20px;
    color: var(--profile-dark-gray);
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.profile-menu-item:hover {
    background-color: var(--profile-light-gray);
    color: var(--profile-primary);
    text-decoration: none;
}

.profile-menu-item.active {
    background-color: var(--profile-primary);
    color: white;
}

.profile-main-content {
    padding: 20px;
}

.profile-header {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.profile-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    background-color: var(--profile-light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--profile-dark-gray);
}

.profile-user-details h4 {
    margin: 0;
    color: #333;
}

.profile-edit-btn {
    background-color: transparent;
    border: 1px solid var(--profile-primary);
    color: var(--profile-primary);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.profile-edit-btn:hover {
    background-color: var(--profile-primary);
    color: white;
}

.profile-coupons-badge {
    background-color: var(--profile-primary);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    text-decoration: none;
}

.profile-order-stats {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    margin-bottom: 30px;
}

.profile-stat-item {
    text-align: center;
    padding: 0 15px;
}

.profile-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 24px;
    color: white;
}

.profile-stat-pending {
    background-color: #ffc107;
}
.profile-stat-transit {
    background-color: var(--profile-secondary);
}
.profile-stat-feedback {
    background-color: #17a2b8;
}
.profile-stat-return {
    background-color: #6f42c1;
}
.profile-stat-delivered {
    background-color: #28a745;
}

.profile-stat-label {
    font-size: 14px;
    color: var(--profile-dark-gray);
    margin: 0;
}

.profile-orders-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.profile-orders-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.profile-orders-tabs {
    display: flex;
    background-color: var(--profile-light-gray);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .profile-orders-tabs {
        display: block;
    }
}
.profile-tab-item {
    flex: 1;
    padding: 15px 20px;
    text-align: center;
    background: none;
    border: none;
    color: var(--profile-dark-gray);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.profile-tab-item.active {
    background-color: white;
    color: var(--profile-primary);
    border-bottom-color: var(--profile-primary);
}

.profile-tab-item:hover:not(.active) {
    background-color: #e9ecef;
}

.profile-orders-content {
    padding: 40px 20px;
    min-height: 300px;
}

.profile-empty-state {
    text-align: center;
    color: var(--profile-dark-gray);
}

.profile-empty-icon {
    width: 120px;
    height: 120px;
    background-color: var(--profile-light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 48px;
    color: #ccc;
}
/* Extra Small Devices */
@media (max-width: 320px) {
    .profile-tab-item {
        min-width: 80px;
        padding: 8px 5px;
        font-size: 0.75rem;
    }

    .profile-orders-content {
        padding: 12px 8px;
    }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .profile-tab-item {
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    .profile-orders-content {
        padding: 30px 20px;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .profile-orders-section {
        max-width: 1400px;
    }

    .profile-orders-header {
        padding: 25px;
    }

    .profile-tab-item {
        padding: 18px 25px;
        font-size: 1rem;
    }

    .profile-orders-content {
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    .profile-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        z-index: 1000;
        width: 280px;
        transition: left 0.3s ease;
    }

    .profile-sidebar.show {
        left: 0;
    }

    .profile-main-content {
        margin-left: 0;
    }

    .profile-mobile-header {
        background: var(--profile-primary);
        color: white;
        padding: 15px;
        margin: -20px -20px 20px -20px;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .profile-menu-toggle {
        background: none;
        border: none;
        color: white;
        font-size: 20px;
    }

    .profile-stat-item {
        margin-bottom: 20px;
    }
}

.profile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.profile-overlay.show {
    display: block;
}

/* All Product Page */
.items-page-container {
    min-height: 100vh;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    top: 70px;
}

.items-sidebar {
    background-color: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    height: 100vh;
    padding: 0;
    position: fixed;
    left: 0;
    top: 70px;
    width: var(--sidebar-width);
    z-index: 1050;
    overflow-y: auto;
}

@media (max-width: 776px) {
    .items-sidebar {
        top: 95px;
    }
}

.items-sidebar-header {
    background-color: var(--primary-orange);
    color: white;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
    position: sticky;
    top: 0;
    z-index: 1051;
}

.items-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.items-category-item {
    border-bottom: 1px solid #e9ecef;
}

.items-category-link {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 16px;
    transition: all 0.3s ease;
}

.items-category-link:hover {
    background-color: var(--light-gray);
    color: var(--primary-orange);
    text-decoration: none;
}

.items-category-link.active {
    background-color: var(--primary-orange);
    color: white;
}

.items-category-icon {
    margin-right: 15px;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.items-main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    width: calc(100% - var(--sidebar-width));
    padding: 0;
}

.items-content-header {
    background-color: white;
    padding: 25px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.items-breadcrumb {
    margin-bottom: 15px;
}

.items-page-title {
    color: var(--secondary-blue);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.items-subcategory-grid {
    padding: 30px;
    min-height: calc(100vh - 200px);
}

.items-subcategory-card {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.items-subcategory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.15);
    border-color: var(--primary-orange);
}

.items-subcategory-icon {
    font-size: 40px;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.items-subcategory-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-blue);
    margin-bottom: 10px;
}

.items-subcategory-description {
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.items-product-count {
    display: inline-block;
    background-color: var(--primary-orange);
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
}

.items-mobile-toggle {
    display: none;
    background-color: var(--primary-orange);
    color: white;
    border: none;
    padding: 15px;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    position: fixed;
    top: 55px;
    left: 0;
    z-index: 1070;
    cursor: pointer;
}

.items-search-bar {
    margin-bottom: 25px;
}

.items-search-input {
    border: 2px solid #e9ecef;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 16px;
}

.items-search-input:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.items-filter-bar {
    background-color: white;
    padding: 20px 25px;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.items-filter-btn {
    background-color: var(--light-gray);
    border: 1px solid #e9ecef;
    color: var(--dark-gray);
    padding: 8px 16px;
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.items-filter-btn:hover,
.items-filter-btn.active {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

.items-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.items-overlay.show {
    display: block;
}

/* Custom scrollbar for sidebar */
.items-sidebar::-webkit-scrollbar {
    width: 6px;
}

.items-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.items-sidebar::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 3px;
}

.items-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-blue);
}

/* Large screens (xl) */
@media (min-width: 1400px) {
    :root {
        --sidebar-width: 280px;
    }
}

/* Medium screens (lg) */
@media (max-width: 1199.98px) and (min-width: 992px) {
    :root {
        --sidebar-width: 300px;
    }
}

/* Tablet and mobile screens */
@media (max-width: 991.98px) {
    :root {
        --sidebar-width: 280px;
    }

    .items-mobile-toggle {
        display: block;
    }

    .items-sidebar {
        width: var(--sidebar-width);
        left: calc(-1 * var(--sidebar-width));
        transition: left 0.3s ease;
    }

    .items-sidebar.show {
        left: 0;
    }

    .items-main-content {
        margin-left: 0;
        width: 100%;
        padding-top: 60px;
    }

    .items-subcategory-grid {
        padding: 20px 15px;
    }

    .items-content-header {
        padding: 20px 15px;
    }

    .items-page-title {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .items-subcategory-card {
        padding: 20px 15px;
    }

    .items-subcategory-icon {
        font-size: 32px;
    }

    .items-subcategory-title {
        font-size: 18px;
    }

    .items-subcategory-description {
        font-size: 13px;
    }

    .items-subcategory-grid {
        padding: 15px 10px;
    }

    .items-content-header {
        padding: 15px;
    }

    .items-search-bar .row > div {
        margin-bottom: 10px;
    }
}

/* Product Details */
/* Amazon-style Layout */
.product-detail-container {
    max-width: 1500px;
    margin: 76px auto 0;
    padding: 20px;
    background: #ffffff;
}

/* Left Column: Images Section */
.product-images-section {
    display: flex;
    gap: 15px;
}

.product-thumbnails-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 600px;
    overflow-y: auto;
}

.product-detail-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-detail-thumbnail:hover,
.product-detail-thumbnail.active {
    border-color: var(--primary-orange);
}

.product-main-image-wrapper {
    flex: 1;
}

.product-detail-main-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    background: #ffffff;
}

/* Middle Column: Product Info */
.product-info-section {
    padding: 0 20px;
}

.product-brand-link {
    margin-bottom: 8px;
}

.product-brand-link a {
    color: #007185;
    text-decoration: none;
    font-size: 0.875rem;
}

.product-brand-link a:hover {
    color: #c7511f;
    text-decoration: underline;
}

.product-detail-title {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.3;
    color: #0f1111;
    margin-bottom: 12px;
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.product-detail-stars {
    color: #ffa41c;
}

.product-detail-rating-text {
    color: #007185;
    font-size: 0.875rem;
    cursor: pointer;
}

.product-bought-count {
    color: #565959;
    font-size: 0.875rem;
}

/* Price Section */
.product-price-section {
    padding: 12px 0;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: 16px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-label {
    background: #cc0c39;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.875rem;
}

.product-detail-price {
    font-size: 1.75rem;
    color: #0f1111;
    font-weight: 400;
}

.original-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.price-label-small {
    font-size: 0.875rem;
    color: #565959;
}

.strikethrough-price {
    text-decoration: line-through;
    color: #565959;
    font-size: 0.875rem;
}

/* Shipping Info */
.product-detail-shipping-info {
    margin-bottom: 20px;
}

.shipping-badge {
    color: #007185;
    font-size: 1rem;
    margin-bottom: 4px;
}

.shipping-date {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.shipping-location {
    color: #007185;
    font-size: 0.875rem;
    margin-bottom: 8px;
    cursor: pointer;
}

.stock-status {
    font-size: 1.125rem;
    font-weight: 500;
}

.stock-status.in-stock {
    color: #007600;
}

/* Variant Selection */
.product-variant-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e7e7e7;
}

.variant-label {
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.selected-variant {
    color: #007185;
    font-weight: 600;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-option {
    padding: 8px 16px;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.variant-option:hover {
    background: #f7fafa;
    border-color: #007185;
}

.variant-option.active {
    border-color: #007185;
    box-shadow: 0 0 0 2px #c7f0ff;
    background: #f0f9ff;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 6px;
}

.color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #ddd;
}

/* About This Item */
.about-item-section {
    margin-top: 24px;
}

.section-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-list {
    list-style-position: outside;
    padding-left: 20px;
}

.about-list li {
    margin-bottom: 8px;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Right Column: Purchase Box */
.purchase-box {
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    padding: 20px;
    position: sticky;
    top: 100px;
}

.purchase-price {
    font-size: 1.75rem;
    color: #0f1111;
    margin-bottom: 12px;
}

.purchase-shipping {
    margin-bottom: 16px;
}

.free-shipping {
    color: #007185;
    font-size: 0.875rem;
}

.delivery-date {
    font-size: 1rem;
    margin: 4px 0;
}

.delivery-location {
    font-size: 0.875rem;
    color: #007185;
}

.delivery-location a {
    color: #007185;
    text-decoration: none;
}

.stock-status-box {
    font-size: 1.125rem;
    margin-bottom: 16px;
}

.stock-status-box.in-stock {
    color: #007600;
}

.quantity-selector-box {
    margin-bottom: 16px;
}

.quantity-selector-box label {
    font-size: 0.875rem;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.quantity-dropdown {
    width: 100%;
    padding: 8px;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    background: #f0f2f2;
    font-size: 0.875rem;
}

/* Action Buttons */
.purchase-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.btn-add-to-cart,
.btn-buy-now {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-add-to-cart {
    background: #ffd814;
    color: #0f1111;
}

.btn-add-to-cart:hover {
    background: #f7ca00;
}

.btn-buy-now {
    background: #ffa41c;
    color: #0f1111;
}

.btn-buy-now:hover {
    background: #fa8900;
}

.secure-transaction {
    text-align: center;
    color: #007185;
    font-size: 0.75rem;
    margin-bottom: 16px;
}

/* Seller Info Box */
.seller-info-box {
    border-top: 1px solid #e7e7e7;
    padding-top: 16px;
    margin-bottom: 16px;
}

.seller-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.seller-row .label {
    color: #565959;
}

.seller-row .value {
    color: #007185;
    text-align: right;
}

/* Gift Option */
.gift-option {
    margin-bottom: 16px;
    font-size: 0.875rem;
}

.gift-option input {
    margin-right: 8px;
}

.btn-add-to-list {
    width: 100%;
    padding: 10px;
    background: white;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-add-to-list:hover {
    background: #f7fafa;
}

/* Similar Items Grid */
.similar-items-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e7e7e7;
}

.product-details-similar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.similar-items-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.similar-item-card {
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.similar-item-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.similar-item-image img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 8px;
}

.similar-item-name {
    font-size: 0.875rem;
    margin-bottom: 4px;
    line-height: 1.3;
}

.similar-item-price {
    font-size: 1rem;
    font-weight: 600;
    color: #0f1111;
}

/* Responsive Design */
@media (max-width: 991px) {
    .product-images-section {
        flex-direction: column-reverse;
    }

    .product-thumbnails-wrapper {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
    }

    .purchase-box {
        position: static;
        margin-top: 20px;
    }

    .similar-items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-detail-title {
        font-size: 1.25rem;
    }

    .similar-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-detail-container {
        padding: 10px;
    }

    .product-info-section {
        padding: 0;
    }

    .similar-items-grid {
        grid-template-columns: 1fr;
    }
}

/* Details and similar Itemts */
/* Sidebar Styles */
.product-details-sidebar {
    background: white;
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.product-details-seller-section {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.product-details-seller-header {
    background: var(--light-gray);
    padding: 15px 20px;
    margin: -20px -20px 20px -20px;
    border-radius: 10px 10px 0 0;
    font-weight: 600;
    color: #333;
}

.product-details-seller-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-details-seller-logo {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.product-details-seller-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-details-seller-rating {
    color: #00bcd4;
    font-size: 1.2rem;
}

.product-details-seller-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.product-details-visit-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--dark-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-details-visit-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.product-details-whatsapp-btn {
    background: #25d366;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.product-details-whatsapp-btn:hover {
    background: #128c7e;
    color: white;
}

.product-details-similar-section {
    padding: 20px;
}

.product-details-similar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.product-details-similar-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.product-details-view-all {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 0.9rem;
}

.product-details-similar-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.product-details-similar-item:last-child {
    border-bottom: none;
}

.product-details-similar-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.product-details-similar-info {
    flex: 1;
}

.product-details-similar-name {
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.3;
}

.product-details-similar-price {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Main Content Styles */
.product-details-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f9fa;
    min-height: 100vh;
}
.product-details-main-content {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-details-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.product-details-tab {
    padding: 20px 30px;
    background: none;
    border: none;
    color: var(--dark-gray);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.product-details-tab.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

.product-details-tab-content {
    padding: 30px;
}

.product-details-features-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.product-details-feature-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.product-details-feature-row:last-child {
    border-bottom: none;
}

.product-details-feature-label {
    flex: 0 0 200px;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.product-details-feature-value {
    flex: 1;
    color: #333;
    font-size: 0.95rem;
}

.product-details-main-image-container {
    position: relative;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.product-details-main-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.product-details-hd-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffc107;
    color: #333;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
}

.product-details-product-info {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #333;
}

.product-details-model-name {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.product-details-specs {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.8;
}

@media (max-width: 992px) {
    .product-details-container {
        padding: 10px;
    }

    .product-details-model-name {
        font-size: 2rem;
    }

    .product-details-specs {
        font-size: 1rem;
    }

    .product-details-tab {
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    .product-details-feature-label {
        flex: 0 0 150px;
    }
}

@media (max-width: 768px) {
    .product-details-seller-actions {
        flex-direction: column;
    }

    .product-details-tabs {
        flex-direction: column;
    }

    .product-details-tab {
        text-align: left;
        border-bottom: 1px solid var(--border-color);
        border-right: none;
    }

    .product-details-tab.active {
        border-bottom-color: var(--border-color);
        border-left: 3px solid var(--primary-blue);
    }

    .product-details-feature-row {
        flex-direction: column;
        gap: 5px;
    }

    .product-details-feature-label {
        flex: none;
        font-weight: 600;
    }

    .product-details-main-image-container {
        padding: 20px;
    }

    .product-details-model-name {
        font-size: 1.5rem;
    }

    .product-details-specs {
        font-size: 0.9rem;
    }
}

.authenticated-user-container {
    max-width: 400px;
    margin: 2rem auto;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.authenticated-user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 3px solid var(--border-color);
}

.authenticated-user-avatar img {
    width: 50px;
    height: 50px;
    filter: grayscale(100%);
    opacity: 0.6;
}

.authenticated-user-greeting {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 2rem;
}

.authenticated-user-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.authenticated-user-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.authenticated-user-action-btn:hover {
    color: #333;
    transform: translateY(-2px);
}

.authenticated-user-action-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: white;
}

.authenticated-user-action-icon.coupons {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
}

.authenticated-user-action-icon.orders {
    background: linear-gradient(135deg, var(--primary-orange), #ff4757);
}

.authenticated-user-action-icon.kikuu {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.authenticated-user-action-text {
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.authenticated-user-features {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.authenticated-user-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    padding: 0.5rem 0;
}

.authenticated-user-feature:last-child {
    margin-bottom: 0;
}

.authenticated-user-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1rem;
    color: var(--primary-blue);
}

.authenticated-user-feature-content h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.authenticated-user-feature-content p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--dark-gray);
    line-height: 1.3;
}

/* DropDown */
.dropdown-avatar-btn {
    border: none;
    background: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-avatar-btn:focus {
    box-shadow: none;
}

.dropdown-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-orange);
    transition: transform 0.2s ease;
}

.dropdown-avatar-btn:hover .dropdown-avatar-img {
    transform: scale(1.05);
}

.dropdown-username {
    color: var(--dark-gray);
    font-weight: 500;
    margin: 0;
}

.dropdown-menu {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px;
    min-width: 200px;
    margin-top: 8px;
}

.dropdown-menu-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--dark-gray);
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.dropdown-menu-item:last-child {
    margin-bottom: 0;
}

.dropdown-menu-item:hover {
    background-color: var(--light-gray);
    color: var(--primary-blue);
    text-decoration: none;
}

.dropdown-menu-item.dropdown-logout-item:hover {
    background-color: #fee;
    color: #dc3545;
}

.dropdown-menu-icon {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-menu-text {
    font-weight: 500;
    font-size: 14px;
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 8px 0;
    border: none;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 177.78%; /* 9:16 aspect ratio for YouTube Shorts */
    margin: 1rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Additional Pages */
.additional-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    /* background-color: #f8f9fa; */
    min-height: 100vh;
    margin-top: 76px;
}

.additional-page-header {
    text-align: center;
    margin-bottom: 60px;
}

.additional-page-title {
    font-size: 3rem;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.additional-page-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.additional-page-section {
    padding: 40px;
}

.additional-page-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.additional-page-section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    border-radius: 2px;
}

.additional-page-description {
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-align: justify;
}

@media (max-width: 768px) {
    .additional-page-title {
        font-size: 2rem;
    }

    .additional-page-section {
        padding: 30px 20px;
    }

    .additional-page-description {
        font-size: 1rem;
    }

    .additional-page-africa-map {
        height: 300px;
    }
}
