﻿:root {
    --primary-red: #e31e24;
    --primary-blue: #0066a4;
    --light-red: #ff6b6b;
    --light-blue: #4ecdc4;
    --accent-yellow: #ffd100;
    --dark-color: #292f36;
    --light-color: #f7fff7;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --official-TMT-red-color: #dd1621;
    --official-TMT-gradient-color: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
}

html {
    font-size: 16px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
}

.tmt-in-red {
    color: var(--official-TMT-red-color);
}
/* Container styles */
.container-fluid {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
}

.container-custom {
    width: 100%;
    max-width: 1400px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

@media (min-width: 576px) {
    .container-custom {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
}

@media (min-width: 992px) {
    .container-custom {
        padding-right: 2rem;
        padding-left: 2rem;
    }
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: #c91a1f;
        border-color: #c91a1f;
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.btn-secondary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

    .btn-secondary:hover,
    .btn-secondary:focus {
        background-color: #00558a;
        border-color: #00558a;
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.btn-outline-primary {
    color: var(--primary-red);
    border-color: var(--primary-red);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: var(--transition-normal);
}

    .btn-outline-primary:hover,
    .btn-outline-primary:focus {
        background-color: var(--primary-red);
        border-color: var(--primary-red);
        color: white;
        transform: translateY(-2px);
        box-shadow: var(--shadow-sm);
    }

.btn-outline-secondary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: var(--transition-normal);
}

    .btn-outline-secondary:hover,
    .btn-outline-secondary:focus {
        background-color: var(--primary-blue);
        border-color: var(--primary-blue);
        color: white;
        transform: translateY(-2px);
        box-shadow: var(--shadow-sm);
    }

.btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
}

.btn-search {
    background-color: transparent;
    color: var(--dark-color);
    border: none;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

    .btn-search:hover {
        color: var(--primary-red);
        transform: scale(1.1);
    }

/* Navbar Styles */
.navbar {
    background-color: white !important;
    box-shadow: var(--shadow-sm);
    padding: 0.8rem 0;
}

.navbar-brand img {
    height: 50px;
    transition: var(--transition-fast);
}

    .navbar-brand img:hover {
        transform: scale(1.05);
    }

.nav-link {
    font-weight: 600;
    position: relative;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
}

    .nav-link::after {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background-color: var(--primary-red);
        transition: var(--transition-normal);
        transform: translateX(-50%);
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 80%;
    }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.05) 0%, rgba(0, 102, 164, 0.05) 100%);
    padding: 5rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    width: 100%;
}

    .hero-section::before {
        content: "";
        position: absolute;
        top: -50px;
        right: -50px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background-color: rgba(227, 30, 36, 0.1);
        z-index: 0;
    }

    .hero-section::after {
        content: "";
        position: absolute;
        bottom: -50px;
        left: -50px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background-color: rgba(0, 102, 164, 0.1);
        z-index: 0;
    }

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

    .hero-section h1 span {
        color: var(--primary-red);
    }

.hero-section p {
    font-size: 1.25rem;
    color: var(--dark-color);
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-image {
    position: relative;
    z-index: 1;
    transition: var(--transition-normal);
    transform: translateY(0);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Category Pills */
.categories-section {
    padding: 3rem 0;
    width: 100%;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

    .section-title::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: linear-gradient(to right, var(--primary-red), var(--primary-blue));
        border-radius: 3px;
    }

.category-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background-color: white;
    color: var(--dark-color);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    text-decoration: none;
    border: 1px solid var(--gray-200);
}

    .category-pill:hover {
        background: var(--official-TMT-gradient-color);
        color: white;
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
        text-decoration: none;
    }

    .category-pill i {
        margin-right: 0.5rem;
        font-size: 1.2rem;
    }

/* Product Cards */
.products-section {
    padding: 3rem 0;
    width: 100%;
}

/*.product-card {
    border: none;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
    height: 100%;
    box-shadow: var(--shadow-sm);
    background-color: white;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

    .product-card .card-img-top {
        height: 220px;
        object-fit: contain;
        transition: var(--transition-normal);
    }

    .product-card:hover .card-img-top {
        transform: scale(1.05);
    }

    .product-card .card-body {
        padding: 1.5rem;
    }

    .product-card .card-title {
        font-size: 1.1rem;
        font-weight: 700;
        height: 2.8rem;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        margin-bottom: 0.8rem;
    }

    .product-card .card-price {
        font-weight: 800;
        color: var(--primary-red);
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .product-card .btn {
        width: 100%;
        margin-top: 0.5rem;
    }

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-red);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

    .product-badge.new {
        background-color: var(--primary-blue);
    }

    .product-badge.sale {
        background-color: var(--accent-yellow);
        color: var(--dark-color);
    }*/

/* Features Section */
.features-section {
    padding: 4rem 0;
    background-color: var(--gray-100);
    width: 100%;
    margin: 3rem 0 6rem 0; /* Increased bottom margin */
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    background-color: white;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition-normal);
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--official-TMT-gradient-color);
    color: white;
    font-size: 2rem;
}

.feature-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-text {
    color: var(--dark-color);
    opacity: 0.8;
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.05) 0%, rgba(0, 102, 164, 0.05) 100%);
    width: 100%;
    margin-bottom: 6rem; /* Increased bottom margin */
    position: relative;
    overflow: hidden;
}

    .newsletter-section::before {
        content: "";
        position: absolute;
        top: -30px;
        right: -30px;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        background-color: rgba(227, 30, 36, 0.1);
    }

    .newsletter-section::after {
        content: "";
        position: absolute;
        bottom: -30px;
        left: -30px;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        background-color: rgba(0, 102, 164, 0.1);
    }

.newsletter-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.newsletter-text {
    font-size: 1.1rem;
    color: var(--dark-color);
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    border-radius: 50px 0 0 50px;
    border: 1px solid var(--gray-300);
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-right: none;
}

.newsletter-button {
    border-radius: 0 50px 50px 0;
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    transition: var(--transition-normal);
}

    .newsletter-button:hover {
        background-color: #c91a1f;
        border-color: #c91a1f;
    }

/* Footer */
.footer {
    background-color: white;
    border-top: 1px solid var(--gray-200);
    padding-top: 4rem; /* Increased top padding */
    width: 100%;
    margin-top: auto; /* Push footer to bottom */
    position: relative; /* Ensure footer stays on top */
    z-index: 10; /* Ensure footer stays on top */
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--gray-100);
    color: var(--dark-color);
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

    .social-icon:hover {
        background: var(--official-TMT-gradient-color);
        color: white;
        transform: translateY(-3px);
    }

.footer-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

    .footer-title::after {
        content: "";
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 40px;
        height: 2px;
        background: linear-gradient(to right, var(--primary-red), var(--primary-blue));
        border-radius: 2px;
    }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 0.8rem;
    }

    .footer-links a {
        color: var(--dark-color);
        opacity: 0.8;
        text-decoration: none;
        transition: var(--transition-fast);
    }

        .footer-links a:hover {
            color: var(--primary-red);
            opacity: 1;
            padding-left: 5px;
        }

.footer-bottom {
    background-color: var(--gray-100);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
}

    .footer-bottom p {
        margin-bottom: 0;
        color: var(--dark-color);
        opacity: 0.8;
    }

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1050;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .search-modal.show {
        display: block;
        opacity: 1;
    }

.search-modal-content {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.search-modal.show .search-modal-content {
    transform: translateY(0);
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.search-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.search-modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

    .search-modal-close:hover {
        color: var(--primary-red);
        transform: scale(1.1);
    }

.search-modal-body {
    margin-bottom: 1.5rem;
}

.search-modal-form {
    position: relative;
}

.search-modal-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-md);
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

    .search-modal-input:focus {
        outline: none;
        border-color: var(--primary-blue);
        box-shadow: 0 0 0 3px rgba(0, 102, 164, 0.1);
    }

.search-modal-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--dark-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

    .search-modal-button:hover {
        color: var(--primary-red);
    }

.search-results-container {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 1.5rem;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition-fast);
    cursor: pointer;
}

    .search-result-item:hover {
        background-color: var(--gray-100);
    }

.search-result-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    margin-right: 1rem;
}

.search-result-details {
    flex: 1;
}

.search-result-title {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--dark-color);
}

.search-result-price {
    color: var(--primary-red);
    font-weight: 700;
}

.search-no-results {
    text-align: center;
    padding: 2rem;
    color: var(--dark-color);
}

.search-recommendations {
    margin-top: 1.5rem;
}

.search-recommendations-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.search-recommendations-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.search-recommendation-item {
    background-color: var(--gray-100);
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    cursor: pointer;
}

    .search-recommendation-item:hover {
        background-color: var(--primary-blue);
        color: white;
    }

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }

    .hero-section {
        padding: 4rem 0;
    }

    .hero-image {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .newsletter-title {
        font-size: 1.8rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        border-radius: 50px;
        border-right: 1px solid var(--gray-300);
        margin-bottom: 1rem;
    }

    .newsletter-button {
        border-radius: 50px;
    }

    .search-modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 3rem 0;
    }

        .hero-section h1 {
            font-size: 2rem;
        }

    .category-pill {
        width: calc(50% - 0.5rem);
        justify-content: center;
    }
}

/* Utility classes */
.rounded-pill-left {
    border-radius: 50px 0 0 50px;
}

.rounded-pill-right {
    border-radius: 0 50px 50px 0;
}

.rounded-pill {
    border-radius: 50px;
}

.border-right-0 {
    border-right: 0;
}

/* Product Detail Page Styles */
.product-detail {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.product-section {
    margin-bottom: 2rem;
}

.title-section {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.image-tiles-container {
    max-height: 500px;
    overflow-y: auto;
}

.image-tile {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

    .image-tile:hover {
        border-color: var(--primary-blue);
    }

    .image-tile.active {
        border-color: var(--primary-red);
    }

.carousel-item img {
    height: 400px;
    object-fit: contain;
}

.price-section {
    margin: 1.5rem 0;
    font-size: 1.25rem;
}

.quantity-selector {
    max-width: 150px;
}

.product-mini-card {
    padding: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-md);
    background-color: var(--gray-100);
}

.img-sm-tile {
    width: fit-content;
}

.where-to-buy-img {
    max-width: 100px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .where-to-buy-img:hover {
        transform: scale(1.1);
    }

.variations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.variation-item {
    display: inline-block;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
}

    .variation-item:hover,
    .variation-item.active {
        border-color: var(--primary-red);
    }

    .variation-item img {
        width: 50px;
        height: 50px;
        object-fit: cover;
    }

.note {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    text-align: center;
}

blockquote {
    padding: 1rem;
    border-left: 4px solid var(--primary-blue);
    background-color: var(--gray-100);
    font-style: italic;
    margin: 1.5rem 0;
}

    blockquote footer {
        margin-top: 0.5rem;
        font-weight: 600;
        text-align: right;
    }

.product-list-tmt-blue {
    background-color: rgba(0, 102, 164, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
}

.canvas-card {
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .canvas-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

.canvas-card-img-top {
    height: 150px;
    object-fit: contain;
    padding: 0.5rem;
}

.canvas-card-title {
    font-size: 0.9rem;
    height: 2.5rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Toast container */
.toast-container {
    z-index: 1050;
}

.product-gallery-main {
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    background-color: white;
}

    .product-gallery-main img {
        width: 100%;
        height: 400px;
        object-fit: contain;
    }

.gallery-thumb {
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    height: 80px;
    object-fit: contain;
}

    .gallery-thumb:hover {
        border-color: var(--primary-blue);
    }

    .gallery-thumb.active {
        border-color: var(--primary-red);
    }

.product-title {
    font-size: 2rem;
    font-weight: 700;
}

.old-price {
    font-size: 1.25rem;
}

.nav-tabs .nav-link {
    color: var(--dark-color);
    font-weight: 600;
}

    .nav-tabs .nav-link.active {
        color: var(--primary-red);
        border-color: var(--gray-300) var(--gray-300) #fff;
    }

.rating-input .btn-outline-warning {
    color: #ffc107;
    border-color: #ffc107;
}

    .rating-input .btn-outline-warning:hover,
    .rating-input .btn-check:checked + .btn-outline-warning {
        color: #000;
        background-color: #ffc107;
        border-color: #ffc107;
    }

/* Product List Page Styles */
.page-title {
    font-size: 2rem;
    font-weight: 700;
}

.filter-title {
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

    .filter-title::after {
        content: "";
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 30px;
        height: 2px;
        background: linear-gradient(to right, var(--primary-red), var(--primary-blue));
        border-radius: 2px;
    }

.filter-section {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

    .filter-section:last-child {
        border-bottom: none;
    }

.view-option {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .view-option.active {
        background-color: var(--primary-blue);
        color: white;
        border-color: var(--primary-blue);
    }

/* Grid View */
.products-grid .product-card .card-text {
    display: none;
}

/* List View */
.products-list .product-item {
    width: 100%;
}

.products-list .product-card {
    flex-direction: row;
    align-items: center;
}

    .products-list .product-card .card-img-top {
        width: 200px;
        height: 200px;
        object-fit: contain;
    }

    .products-list .product-card .card-body {
        padding: 1.5rem;
    }

    .products-list .product-card .card-text {
        display: block;
    }

@media (max-width: 767.98px) {
    .products-list .product-card {
        flex-direction: column;
    }

        .products-list .product-card .card-img-top {
            width: 100%;
            height: 220px;
        }

    .product-gallery-main img {
        height: 300px;
    }
}

/* Responsive Variations and Where to Buy Sections */
.variations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.variation-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.variation-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid transparent;
    border-radius: 4px;
    padding: 0.25rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

    .variation-item:hover,
    .variation-item.active {
        border-color: var(--primary-red);
        text-decoration: none;
    }

    .variation-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 2px;
    }

    .variation-item .note {
        font-size: 0.75rem;
        margin-top: 0.5rem;
        text-align: center;
        color: var(--dark-color);
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

/* Where to buy section */
.product-mini-card {
    padding: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-md);
    background-color: var(--gray-100);
    margin-bottom: 1.5rem;
}

    .product-mini-card h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        font-weight: 600;
    }

#marketplace-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    align-items: center;
}

.where-to-buy-img {
    max-width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: block;
    margin: 0 auto;
}

    .where-to-buy-img:hover {
        transform: scale(1.1);
    }

/* Responsive adjustments for variations and where to buy */
@media (max-width: 576px) {
    .variation-container {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 0.5rem;
    }

    #marketplace-container {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }

    .product-mini-card {
        padding: 0.75rem;
    }

        .product-mini-card h3 {
            font-size: 1.1rem;
            margin-bottom: 0.75rem;
        }
}

@media (min-width: 577px) and (max-width: 767px) {
    .variation-container {
        grid-template-columns: repeat(auto-fill, minmax(65px, 1fr));
    }

    #marketplace-container {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .variation-container {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }

    #marketplace-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .variation-container {
        grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
    }

    #marketplace-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Additional styles for variation groups rendered by CustomHelper */
.variation-group {
    margin-bottom: 1rem;
}

.variation-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.size-variations,
.theme-variations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.size-variation-item,
.theme-variation-item {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--dark-color);
    font-size: 0.9rem;
}

    .size-variation-item:hover,
    .theme-variation-item:hover,
    .size-variation-item.active,
    .theme-variation-item.active {
        border-color: var(--primary-red);
        background-color: rgba(227, 30, 36, 0.05);
        color: var(--primary-red);
        text-decoration: none;
    }

/* Marketplace item styles */
.marketplace-item {
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: background-color 0.2s ease;
}

    .marketplace-item:hover {
        background-color: rgba(255, 255, 255, 0.7);
    }

/* Product Features Row */
.product-features-row {
    background-color: var(--gray-100);
    border-radius: var(--border-radius-md);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

    .product-features-row .feature-item {
        padding: 0.75rem;
        border-right: 1px solid var(--gray-200);
        transition: var(--transition-normal);
    }

        .product-features-row .feature-item:last-child {
            border-right: none;
        }

        .product-features-row .feature-item:hover {
            background-color: rgba(255, 255, 255, 0.7);
        }

    .product-features-row .feature-icon {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--official-TMT-gradient-color);
        color: white;
        font-size: 1.25rem;
        flex-shrink: 0;
    }

    .product-features-row .feature-text {
        margin-left: 0.5rem;
    }

        .product-features-row .feature-text h6 {
            font-size: 0.9rem;
            font-weight: 600;
        }

        .product-features-row .feature-text small {
            font-size: 0.75rem;
        }

/* Responsive adjustments for product features row */
@media (max-width: 991px) {
    .product-features-row .row {
        flex-wrap: wrap;
    }

    .product-features-row .feature-item {
        width: 50%;
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }

        .product-features-row .feature-item:nth-child(odd) {
            border-right: 1px solid var(--gray-200);
        }

        .product-features-row .feature-item:nth-last-child(1),
        .product-features-row .feature-item:nth-last-child(2) {
            border-bottom: none;
        }
}

@media (max-width: 575px) {
    .product-features-row .feature-item {
        width: 100%;
        border-right: none !important;
        border-bottom: 1px solid var(--gray-200);
    }

        .product-features-row .feature-item:last-child {
            border-bottom: none;
        }

    .product-features-row .d-flex {
        justify-content: flex-start !important;
    }
}

/* Review styles */
.review-item {
    transition: var(--transition-normal);
}

    .review-item:hover {
        background-color: var(--gray-100);
        transform: translateY(-2px);
        box-shadow: var(--shadow-sm);
    }

.review-stars {
    display: flex;
    gap: 0.25rem;
}

/* Find the rating-progress class and update it to ensure proper containment */
.rating-progress {
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

    .rating-progress .progress {
        height: 8px;
        border-radius: 4px;
        background-color: var(--gray-200);
        overflow: hidden;
    }

    .rating-progress .progress-bar {
        background-color: #ffc107;
    }

.rating-label {
    min-width: 40px;
}

.rating-count {
    min-width: 30px;
    text-align: right;
}

.rating-input .btn-group {
    flex-wrap: wrap;
}

#reviewFormAlert {
    margin-bottom: 1rem;
}

/* Category hierarchy styles */
.category-group,
.subcategory-group {
    margin-bottom: 0.5rem;
}

.category-header,
.subcategory-header {
    cursor: pointer;
    padding: 0.25rem 0;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.subcategory-header {
    font-weight: normal;
}

.category-icon,
.subcategory-icon {
    transition: transform 0.2s;
}

.category-header[aria-expanded="true"] .category-icon,
.subcategory-header[aria-expanded="true"] .subcategory-icon {
    transform: rotate(90deg);
}

/* Product list view styles */
.products-list .product-card {
    flex-direction: row;
}

    .products-list .product-card .card-img-top {
        width: 200px;
        height: 200px;
        object-fit: contain;
    }

    .products-list .product-card .card-body {
        flex: 1;
    }

@media (max-width: 767.98px) {
    .products-list .product-card {
        flex-direction: column;
    }

        .products-list .product-card .card-img-top {
            width: 100%;
            height: auto;
        }
}

/* Category Filters Styling */
.category-header,
.subcategory-header {
    cursor: pointer;
    padding: 6px 0;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

    .category-header:hover,
    .subcategory-header:hover {
        color: var(--primary-red);
    }

.category-icon,
.subcategory-icon {
    transition: transform 0.2s ease;
}

.category-header .bi-chevron-down,
.subcategory-header .bi-chevron-down {
    transform: rotate(90deg);
}

.category-group,
.subcategory-group {
    margin-bottom: 0.5rem;
    border-left: 1px solid var(--gray-200);
    padding-left: 0.75rem;
}

/* Dropdown menu styles */
.dropdown-header {
    color: var(--dark-color);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.dropdown-menu {
    max-height: 400px;
    overflow-y: auto;
}

/* Make sure the category filter checkboxes are visible */
.filter-options .form-check {
    padding-left: 1.8rem;
}

.filter-options .form-check-input {
    margin-left: -1.8rem;
}

/* Make checkboxes more visible */
.form-check-input {
    width: 1.1em;
    height: 1.1em;
    margin-top: 0.25em;
}

/* Mobile filters styling */
#filtersOffcanvas .offcanvas-body {
    padding-top: 0;
}

/* Shopping Cart Page */
#empty-shopping-cart:before {
    content: "\1F6D2"; /* Correctly formatted Unicode for 🛍️ (shopping bags emoji) */
    font-size: 2.5em;
}

.cart-item {
    margin-bottom: 1rem;
}

.cart-item-img {
    width: 100%;
    height: 100px;
    object-fit: contain;
}

.cart-summary {
    background-color: var(--gray-100);
    border-radius: var(--border-radius-md);
}

    /* Checkout Page */
    /* Order summary card header */
    .cart-summary .card-header {
        background-color: var(--primary-blue);
        color: white;
        border-top-left-radius: var(--border-radius-md);
        border-top-right-radius: var(--border-radius-md);
        padding: 1rem 1.5rem;
    }

        .cart-summary .card-header .card-title {
            margin-bottom: 0;
            font-weight: 600;
        }


/* Make checkout steps clickable */
a.checkout-step {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    a.checkout-step:hover {
        transform: translateY(-3px);
    }

.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    padding: 0 1rem;
}

    .checkout-step::after {
        content: "";
        position: absolute;
        top: 1.5rem;
        right: -50%;
        width: 100%;
        height: 2px;
        background-color: var(--gray-300);
        z-index: 0;
    }

    .checkout-step:last-child::after {
        display: none;
    }

    .checkout-step i {
        width: 3rem;
        height: 3rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--gray-300);
        color: var(--dark-color);
        border-radius: 50%;
        margin-bottom: 0.5rem;
        position: relative;
        z-index: 1;
    }

    .checkout-step.active i {
        background: var(--official-TMT-gradient-color);
        color: white;
    }

    .checkout-step div {
        font-size: 0.875rem;
        font-weight: 500;
    }

@media (max-width: 767.98px) {
    .checkout-steps {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkout-step {
        flex-direction: row;
        width: 100%;
        margin-bottom: 1rem;
    }

        .checkout-step::after {
            display: none;
        }

        .checkout-step i {
            margin-bottom: 0;
            margin-right: 1rem;
        }
}

/* Color Filter Styles */
.color-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.color-check {
    margin: 0;
    padding: 0;
}

.color-swatch {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

    .color-swatch:hover {
        transform: scale(1.1);
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    }

.form-check-input:checked + .color-swatch {
    border: 2px solid #333;
}

    .form-check-input:checked + .color-swatch::after {
        content: "✓";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        text-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
        font-weight: bold;
    }

/* Color classes */
.color-blue {
    background-color: #0d6efd;
}

.color-cyan {
    background-color: #0dcaf0;
}

.color-green {
    background-color: #198754;
}

.color-orange {
    background-color: #fd7e14;
}

.color-yellow {
    background-color: #ffc107;
}

.color-pink {
    background-color: #d63384;
}

.color-red {
    background-color: #dc3545;
}

.color-gray {
    background-color: #6c757d;
}

.color-brown {
    background-color: #8b4513;
}

.color-purple {
    background-color: #6f42c1;
}

.color-white {
    background-color: #ffffff;
}

.color-black {
    background-color: #000000;
}

.color-default {
    background-color: #e9ecef;
}

/* For white color, use a dark checkmark and border */
.form-check-input:checked + .color-white::after {
    color: #000;
    text-shadow: none;
}

/* Category Hierarchy Styles */
.category-group,
.subcategory-group {
    margin-bottom: 0.5rem;
}

.subcategories-container,
.microsubcategories-container {
    padding-left: 1rem;
    margin-top: 0.5rem;
    border-left: 1px solid var(--gray-200);
}

.category-radio:checked + label,
.subcategory-radio:checked + label,
.microsubcategory-radio:checked + label {
    font-weight: bold;
    color: var(--primary-red);
}

/* Mobile category styles */
.mobile-subcategories-container,
.mobile-microsubcategories-container {
    padding-left: 1rem;
    margin-top: 0.5rem;
    border-left: 1px solid var(--gray-200);
}

.mobile-category-radio:checked + label,
.mobile-subcategory-radio:checked + label,
.mobile-microsubcategory-radio:checked + label {
    font-weight: bold;
    color: var(--primary-red);
}

/* Shopping Cart Page Styles */
.cart-item-card {
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
}

    .cart-item-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
    }

.cart-item-image-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: var(--gray-100);
}

.cart-item-image {
    max-height: 150px;
    max-width: 100%;
    object-fit: contain;
}

.cart-item-content {
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cart-item-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.cart-item-details {
    color: var(--dark-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

.cart-item-sku {
    margin-bottom: 0.25rem;
}

.cart-item-price {
    font-weight: 600;
}

.price-label,
.item-total-label {
    display: block;
    font-size: 0.9rem;
    color: var(--dark-color);
    opacity: 0.8;
}

.price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-red);
}

.item-total-value {
    font-weight: 600;
}

.btn-remove-item {
    background: transparent;
    border: none;
    color: var(--dark-color);
    opacity: 0.6;
    font-size: 1.25rem;
    transition: var(--transition-fast);
    padding: 0;
    line-height: 1;
}

    .btn-remove-item:hover {
        color: var(--primary-red);
        opacity: 1;
    }

.quantity-control {
    max-width: 100%;
}

    .quantity-control .form-label {
        font-weight: 500;
        margin-bottom: 0.5rem;
    }

.btn-quantity-control {
    background-color: var(--gray-200);
    border: none;
    color: var(--dark-color);
    transition: var(--transition-fast);
}

    .btn-quantity-control:hover {
        background-color: var(--primary-blue);
        color: white;
    }

.quantity-input {
    text-align: center;
    font-weight: 600;
    max-width: 70px;
}



.quantity-feedback {
    min-height: 20px;
}

/* Order Summary Styles */
.order-summary-container {
    position: sticky;
    top: 20px;
}

.order-summary-card {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: none;
    overflow: hidden;
}

    .order-summary-card .card-header {
        background-color: var(--primary-blue);
        color: white;
        padding: 1rem 1.5rem;
        border-bottom: none;
    }

.order-summary-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.order-summary-divider {
    height: 1px;
    background-color: var(--gray-300);
    margin: 1rem 0;
}

.order-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-red);
}

.btn-checkout {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.promo-code-card {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: none;
    overflow: hidden;
}

    .promo-code-card .card-header {
        background-color: var(--gray-100);
        padding: 1rem 1.5rem;
        border-bottom: none;
    }

.promo-code-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--dark-color);
}

/* Empty Cart Styles */
.empty-cart-container {
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
}

.empty-cart-icon {
    font-size: 4rem;
    color: var(--gray-300);
}

.empty-cart-title {
    font-weight: 600;
    color: var(--dark-color);
}

.empty-cart-message {
    color: var(--dark-color);
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .cart-item-image-container {
        max-height: 200px;
        padding: 1rem;
    }

    .cart-item-content {
        padding: 1rem;
    }

    .cart-item-price {
        text-align: left !important;
        margin-top: 1rem;
    }

    .order-summary-container {
        margin-top: 2rem;
    }
}

@media (max-width: 575.98px) {
    .cart-item-card {
        padding: 0;
    }

    .cart-item-image-container {
        max-height: 150px;
    }

    .empty-cart-container {
        padding: 2rem 1rem;
    }
}

/* Login and Register Page Styles */
.auth-container {
    width: 100%;
    max-width: 100%;
}

.auth-card {
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

.auth-header {
    padding: 0;
    background: var(--official-TMT-gradient-color);
}

.auth-tabs {
    display: flex;
    width: 100%;
}

.auth-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 1.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    opacity: 0.8;
}

    .auth-tab:hover {
        opacity: 1;
    }

    .auth-tab.active {
        opacity: 1;
    }

        .auth-tab.active::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: white;
        }

.auth-body {
    padding: 2.5rem;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.auth-subtitle {
    color: var(--dark-color);
    opacity: 0.7;
    margin-bottom: 2rem;
}

.auth-form {
    width: 100%;
}

    .auth-form .form-group {
        margin-bottom: 1.5rem;
    }

    .auth-form label {
        font-weight: 500;
        margin-bottom: 0.5rem;
        display: block;
    }

    .auth-form .input-group-text {
        background-color: var(--gray-100);
        border-color: var(--gray-300);
        color: var(--dark-color);
    }

    .auth-form .form-control {
        border-color: var(--gray-300);
        padding: 0.75rem 1rem;
        border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    }

        .auth-form .form-control:focus {
            box-shadow: none;
            border-color: var(--primary-blue);
        }

.forgot-password {
    float: right;
    font-size: 0.875rem;
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

    .forgot-password:hover {
        color: var(--primary-red);
        text-decoration: underline;
    }

.toggle-link {
    margin-top: 1.5rem;
}

    .toggle-link p {
        color: var(--dark-color);
        opacity: 0.8;
    }

    .toggle-link a {
        color: var(--primary-blue);
        text-decoration: none;
        font-weight: 600;
        transition: var(--transition-fast);
    }

        .toggle-link a:hover {
            color: var(--primary-red);
            text-decoration: underline;
        }

.auth-benefits {
    background-color: var(--gray-100);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
}

    .auth-benefits h3 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 1.25rem;
        text-align: center;
        color: var(--dark-color);
    }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background-color: white;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

    .benefit-item:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .benefit-item i {
        font-size: 1.5rem;
        color: var(--primary-blue);
        margin-right: 0.75rem;
    }

    .benefit-item span {
        font-weight: 500;
        color: var(--dark-color);
    }

/* Address Modal Styles */
.modal-icon {
    font-size: 3rem;
    color: var(--primary-blue);
}

/* Responsive adjustments for auth pages */
@media (max-width: 767.98px) {
    .auth-body {
        padding: 1.5rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .auth-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .auth-body {
        padding: 1.25rem;
    }

    .auth-tab {
        padding: 1rem 0;
        font-size: 1rem;
    }
}

/* Account dropdown styling */
.dropdown-item-text {
    padding: 0.5rem 1rem;
}

.dropdown-item i {
    width: 1.25rem;
    text-align: center;
}

#accountDropdown {
    display: flex;
    align-items: center;
}

    #accountDropdown .bi-person-circle {
        font-size: 1.2rem;
    }

.dropdown-menu {
    padding: 0.5rem 0;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

    .dropdown-item:hover {
        background-color: rgba(var(--bs-primary-rgb), 0.1);
    }

    .dropdown-item .btn-link {
        display: flex;
        align-items: center;
        color: var(--bs-body-color);
        text-decoration: none;
    }

        .dropdown-item .btn-link:hover {
            color: var(--bs-primary);
        }

/* Profile Page Styles */
.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.profile-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .profile-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.profile-welcome h1 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #333;
}

.welcome-message {
    font-size: 16px;
    color: #666;
}

.profile-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.summary-card {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    min-width: 150px;
}

.summary-icon {
    font-size: 24px;
    color: #007bff;
    margin-right: 15px;
}

.summary-count {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.summary-label {
    display: block;
    font-size: 14px;
    color: #666;
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.profile-section {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

    .section-header h2 {
        font-size: 18px;
        margin: 0;
        color: #333;
    }

.view-all {
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

    .view-all:hover {
        text-decoration: underline;
    }

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.2s ease;
}

    .order-card:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.order-header {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.order-number,
.order-date {
    display: flex;
    flex-direction: column;
}

.order-status {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

    .order-status.processing {
        background-color: #fff3cd;
        color: #856404;
    }

    .order-status.shipped {
        background-color: #d1ecf1;
        color: #0c5460;
    }

    .order-status.delivered {
        background-color: #d4edda;
        color: #155724;
    }

    .order-status.cancelled {
        background-color: #f8d7da;
        color: #721c24;
    }

.label {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.value {
    font-weight: 500;
    color: #333;
}

.order-details {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.order-actions {
    display: flex;
    gap: 10px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-icon {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 15px;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.empty-state p {
    color: #666;
    margin-bottom: 20px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.profile-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.2s ease;
}

    .profile-card:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transform: translateY(-5px);
    }

.card-icon {
    font-size: 32px;
    color: #007bff;
    margin-bottom: 15px;
}

.profile-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.profile-card p {
    color: #666;
    margin-bottom: 20px;
    min-height: 40px;
}

.profile-recommendations {
    margin-top: 30px;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.product-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

    .product-card:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transform: translateY(-5px);
    }

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/*.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.product-card:hover .wishlist-btn {
    opacity: 1;
}
*/
.product-info {
    padding: 15px;
}

.product-name {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-weight: bold;
    color: #007bff;
    margin-bottom: 8px;
}

.product-rating {
    color: #ffc107;
    font-size: 14px;
}

    .product-rating span {
        color: #666;
        margin-left: 5px;
    }

.product-actions {
    display: flex;
    gap: 10px;
    padding: 0 15px 15px;
}

    .product-actions .btn {
        flex: 1;
    }

/* Responsive adjustments */
@media (max-width: 767px) {
    .profile-header {
        padding: 15px;
    }

    .profile-welcome h1 {
        font-size: 20px;
    }

    .summary-card {
        min-width: 120px;
    }

    .summary-count {
        font-size: 20px;
    }

    .order-header {
        flex-direction: column;
        gap: 10px;
    }

    .order-status {
        margin-left: 0;
    }

    .product-carousel {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .product-image {
        height: 150px;
    }
}

/* Profile Page Styles - New Modern Design */
.profile-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Profile Welcome Section */
.profile-welcome-section {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.05) 0%, rgba(0, 102, 164, 0.05) 100%);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

    .profile-welcome-section::before {
        content: "";
        position: absolute;
        top: -30px;
        right: -30px;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        background-color: rgba(227, 30, 36, 0.05);
        z-index: 0;
    }

    .profile-welcome-section::after {
        content: "";
        position: absolute;
        bottom: -30px;
        left: -30px;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        background-color: rgba(0, 102, 164, 0.05);
        z-index: 0;
    }

.profile-welcome-content {
    position: relative;
    z-index: 1;
}

.profile-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.profile-page-subtitle {
    font-size: 1.1rem;
    color: var(--dark-color);
    opacity: 0.8;
}

.profile-stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.profile-stat-card {
    background-color: white;
    border-radius: var(--border-radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    flex: 1;
    min-width: 150px;
    display: flex;
    align-items: center;
    transition: var(--transition-normal);
}

    .profile-stat-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

.profile-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--official-TMT-gradient-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.5rem;
}

.profile-stat-details {
    display: flex;
    flex-direction: column;
}

.profile-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
}

.profile-stat-label {
    font-size: 0.9rem;
    color: var(--dark-color);
    opacity: 0.7;
}

/* Main Content Grid */
.profile-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Section Styles */
.profile-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
}

.profile-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    position: relative;
}

.profile-view-all {
    font-size: 0.9rem;
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

    .profile-view-all:hover {
        color: var(--primary-red);
        text-decoration: underline;
    }

/* Quick Access Section */
.profile-quick-access {
    background-color: white;
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.profile-quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.profile-quick-link-card {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background-color: var(--gray-100);
    border-radius: var(--border-radius-md);
    text-decoration: none;
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

    .profile-quick-link-card:hover {
        background-color: white;
        border-color: var(--primary-blue);
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

.profile-quick-link-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--official-TMT-gradient-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.profile-quick-link-text {
    flex: 1;
}

    .profile-quick-link-text h3 {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--dark-color);
        margin: 0 0 0.25rem 0;
    }

    .profile-quick-link-text p {
        font-size: 0.9rem;
        color: var(--dark-color);
        opacity: 0.7;
        margin: 0;
    }

/* Recent Orders Section */
.profile-recent-orders {
    background-color: white;
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.profile-orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-order-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

    .profile-order-card:hover {
        border-color: var(--primary-blue);
        box-shadow: var(--shadow-md);
        transform: translateY(-3px);
    }

.profile-order-header {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.profile-order-id,
.profile-order-date {
    display: flex;
    flex-direction: column;
}

.profile-order-label {
    font-size: 0.8rem;
    color: var(--dark-color);
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.profile-order-value {
    font-weight: 600;
    color: var(--dark-color);
}

.profile-order-status {
    margin-left: auto;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.profile-status-processing {
    background-color: #fff3cd;
    color: #856404;
}

.profile-status-shipped {
    background-color: #d1ecf1;
    color: #0c5460;
}

.profile-status-delivered {
    background-color: #d4edda;
    color: #155724;
}

.profile-status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.profile-order-details {
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.profile-order-info {
    display: flex;
    gap: 2rem;
}

.profile-order-items,
.profile-order-total {
    display: flex;
    flex-direction: column;
}

.profile-order-actions {
    display: flex;
    gap: 0.5rem;
}

/* Button Styles */
.profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    border: 1px solid transparent;
    cursor: pointer;
}

.profile-btn-primary {
    background: var(--primary-blue);
    color: white;
}

    .profile-btn-primary:hover {
        background-color: #c91a1f;
        transform: translateY(-2px);
        box-shadow: var(--shadow-sm);
        color: white;
        text-decoration: none;
    }

.profile-btn-secondary {
    background-color: white;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

    .profile-btn-secondary:hover {
        background-color: var(--primary-blue);
        color: white;
        transform: translateY(-2px);
        box-shadow: var(--shadow-sm);
        text-decoration: none;
    }

.profile-btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.875rem;
}

/* Empty State */
.profile-empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.profile-empty-icon {
    font-size: 3rem;
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.profile-empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.profile-empty-message {
    color: var(--dark-color);
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

/* Recommended Products Section */
.profile-recommendations {
    background-color: white;
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.profile-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.profile-product-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
    background-color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .profile-product-card:hover {
        border-color: var(--primary-blue);
        box-shadow: var(--shadow-md);
        transform: translateY(-5px);
    }

.profile-product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.profile-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-product-card:hover .profile-product-img {
    transform: scale(1.05);
}

/*.profile-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.profile-product-card:hover .profile-wishlist-btn {
    opacity: 1;
}

.profile-wishlist-btn:hover {
    transform: scale(1.1);
}*/

.profile-product-info {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.profile-product-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0 0 0.5rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.5rem;
}

.profile-product-rating {
    color: #ffc107;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

    .profile-product-rating span {
        color: var(--dark-color);
        opacity: 0.7;
        margin-left: 0.25rem;
    }

.profile-product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1rem;
    margin-top: auto;
}

.profile-product-actions {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0.5rem;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .profile-welcome-section {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .profile-main-grid {
        grid-template-columns: 1fr 1fr;
    }

    .profile-order-header {
        flex-wrap: nowrap;
    }
}

@media (max-width: 767px) {
    .profile-stats-container {
        flex-direction: column;
    }

    .profile-stat-card {
        width: 100%;
    }

    .profile-order-status {
        margin-left: 0;
        align-self: flex-start;
    }

    .profile-order-details {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-order-
    /* Add these styles to the end of your site.css file */
    /* Quantity control buttons */
    .quantity-control-btn {
        width: 38px;
        height: 38px;
    }

    /* Rating progress container */
    .rating-progress-container {
        position: relative;
        z-index: 1;
    }

    /* Rating progress styles */
    .rating-progress {
        margin-bottom: 0.75rem;
        position: relative;
        z-index: 1;
    }

        .rating-progress .progress {
            height: 8px;
            border-radius: 4px;
            background-color: var(--gray-200);
            overflow: hidden;
        }

        .rating-progress .progress-bar {
            background-color: #ffc107;
        }


    /* Progress bar width classes */
    .progress-bar[data-width="0"] {
        width: 0%;
    }

    .progress-bar[data-width="10"] {
        width: 10%;
    }

    .progress-bar[data-width="20"] {
        width: 20%;
    }

    .progress-bar[data-width="30"] {
        width: 30%;
    }

    .progress-bar[data-width="40"] {
        width: 40%;
    }

    .progress-bar[data-width="50"] {
        width: 50%;
    }

    .progress-bar[data-width="60"] {
        width: 60%;
    }

    .progress-bar[data-width="70"] {
        width: 70%;
    }

    .progress-bar[data-width="80"] {
        width: 80%;
    }

    .progress-bar[data-width="90"] {
        width: 90%;
    }

    .progress-bar[data-width="100"] {
        width: 100%;
    }

    /* For more precise control, we'll use custom properties */
    .progress-bar-dynamic {
        width: var(--progress-width, 0%);
    }

    /* Alert display classes */
    .alert-visible {
        display: block;
    }

    .alert-hidden {
        display: none;
    }
}

/* Checkout Page Styles */

/* Checkout Steps */
.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    padding: 0 1rem;
}

    .checkout-step::after {
        content: "";
        position: absolute;
        top: 1.5rem;
        right: -50%;
        width: 100%;
        height: 2px;
        background-color: var(--gray-300);
        z-index: 0;
    }

    .checkout-step:last-child::after {
        display: none;
    }

    .checkout-step i {
        width: 3rem;
        height: 3rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--gray-300);
        color: var(--dark-color);
        border-radius: 50%;
        margin-bottom: 0.5rem;
        position: relative;
        z-index: 1;
    }

    .checkout-step.active i {
        background: var(--official-TMT-gradient-color);
        color: white;
    }

    .checkout-step div {
        font-size: 0.875rem;
        font-weight: 500;
    }

/* Make checkout steps clickable */
a.checkout-step {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    a.checkout-step:hover {
        transform: translateY(-3px);
    }

/* Checkout Product Items */
.checkout-items-container {
    width: 100%;
}

.checkout-product-item {
    position: relative;
    transition: var(--transition-normal);
}

    .checkout-product-item:hover {
        background-color: var(--gray-100);
    }

.checkout-product-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-100);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.checkout-product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.checkout-product-title {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.checkout-product-sku {
    font-size: 0.8rem;
    color: var(--dark-color);
    opacity: 0.7;
}

.checkout-product-price {
    font-weight: 600;
    color: var(--primary-red);
}

/* Order Summary */
.cart-summary {
    background-color: var(--gray-100);
    border-radius: var(--border-radius-md);
}

    .cart-summary .card-header {
        background-color: var(--primary-blue);
        color: white;
        border-top-left-radius: var(--border-radius-md);
        border-top-right-radius: var(--border-radius-md);
        padding: 1rem 1.5rem;
    }

        .cart-summary .card-header .card-title {
            margin-bottom: 0;
            font-weight: 600;
        }

.order-summary-header {
    background-color: var(--primary-blue);
    color: white;
}

/* Payment Methods */
.payment-method-selector {
    margin-bottom: 1.5rem;
}

.paypal-button {
    max-width: 250px;
    margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .checkout-steps {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkout-step {
        flex-direction: row;
        width: 100%;
        margin-bottom: 1rem;
    }

        .checkout-step::after {
            display: none;
        }

        .checkout-step i {
            margin-bottom: 0;
            margin-right: 1rem;
        }

    .checkout-product-image {
        width: 70px;
        height: 70px;
    }

    .checkout-product-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .checkout-product-image {
        width: 60px;
        height: 60px;
    }

    .checkout-product-title {
        font-size: 0.9rem;
    }

    .checkout-product-sku {
        font-size: 0.75rem;
    }
}

/*Addresses*/
.addresses-header {
    text-align: center;
    margin-bottom: 2rem;
}

.addresses-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.addresses-subtitle {
    font-size: 1.1rem;
    color: var(--dark-color);
    opacity: 0.7;
}

.address-section-card {
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: 100%;
}

.address-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 1px solid var(--gray-200);
    background-color: var(--gray-100);
}

.address-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--dark-color);
}

.address-list {
    padding: 1.25rem;
    min-height: 200px;
}

.address-card {
    background-color: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    padding: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    transition: var(--transition-normal);
}

    .address-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-3px);
    }

    .address-card:last-child {
        margin-bottom: 0;
    }

.address-default-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-blue);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.address-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.address-details {
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 1rem;
}

.address-phone {
    color: var(--dark-color);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.address-actions {
    display: flex;
    gap: 0.5rem;
}

.address-action-btn {
    padding: 0.35rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 50px;
}

.empty-addresses-container {
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    padding: 3rem 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.empty-addresses-icon {
    font-size: 3.5rem;
    color: var(--gray-300);
}

.empty-addresses-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.empty-addresses-message {
    color: var(--dark-color);
    opacity: 0.7;
    max-width: 400px;
    margin: 0 auto;
}

/* Address Type Selector */
.address-type-selector .btn-group {
    width: 100%;
}

.address-type-selector .btn {
    flex: 1;
}

/* Modal Styles */
.modal-content {
    border-radius: var(--border-radius-md);
    border: none;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--gray-200);
    padding: 1.25rem 1.5rem;
}

.modal-title {
    font-weight: 600;
    color: var(--dark-color);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--gray-200);
    padding: 1.25rem 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .addresses-title {
        font-size: 1.8rem;
    }

    .addresses-subtitle {
        font-size: 1rem;
    }

    .address-section-header {
        padding: 1rem;
    }

    .address-section-title {
        font-size: 1.1rem;
    }

    .address-list {
        padding: 1rem;
    }

    .address-card {
        padding: 1rem;
    }

    .address-default-badge {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    .address-name {
        font-size: 1rem;
        padding-right: 60px;
    }

    .empty-addresses-container {
        padding: 2rem 1rem;
    }

    .empty-addresses-icon {
        font-size: 3rem;
    }

    .empty-addresses-title {
        font-size: 1.25rem;
    }
}
/* Profile Update Form Styles */
.profile-update-form {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    margin-top: 10px;
}

    .profile-update-form label {
        font-weight: 500;
    }

    .profile-update-form .btn {
        margin-top: 10px;
    }

/*Order Confirmation*/
.order-confirmation {
    max-width: 800px;
    margin: 0 auto;
}

.confirmation-icon {
    font-size: 4rem;
    color: #28a745;
}

.order-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.next-steps {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1.5rem;
}
/*About us*/

/* About Us Page Styles */
.about-us-container {
    overflow-x: hidden;
}

.about-hero {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.about-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

.aboutus-section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.aboutus-section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.title-underline {
    height: 4px;
    width: 70px;
    background-color: #ff6b6b;
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* Mission Section */
.about-mission {
    padding: 80px 0;
    background-color: #fff;
}

.mission-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

    .mission-card:hover {
        transform: translateY(-10px);
    }

.mission-icon {
    font-size: 3rem;
    color: #ff6b6b;
    margin-bottom: 1.5rem;
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Story Section */
.about-story {
    padding: 80px 0;
    background-color: #f8f9fa;
}

    .about-story p {
        font-size: 1.1rem;
        line-height: 1.8;
        color: #555;
        margin-bottom: 1.5rem;
    }

/* Team Section */
.about-team {
    padding: 80px 0;
    background-color: #fff;
}

.team-card {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

    .team-card:hover {
        transform: translateY(-10px);
    }

.team-image {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

    .team-image img {
        width: 180px;
        height: 180px;
        object-fit: cover;
        border: 5px solid #fff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

.team-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.team-position {
    font-size: 1rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
    font-weight: 600;
}

.team-bio {
    font-size: 0.95rem;
    color: #666;
}

/* Values Section */
.about-values {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-approach {
    padding: 80px 0;
}

.about-features {
    padding: 80px 0;
}

.about-join {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.value-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    height: 100%;
    transition: transform 0.3s ease;
}

    .value-card:hover {
        transform: translateY(-10px);
    }

.value-icon {
    font-size: 2.5rem;
    color: #ff6b6b;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Testimonials Section */
.about-testimonials {
    padding: 80px 0;
    background-color: #fff;
}

.testimonial-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.author-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.2rem;
}

.author-title {
    color: #666;
    font-size: 0.9rem;
}

/* CTA Section */
.about-cta {
    padding: 80px 0;
    background-color: #ff6b6b;
    color: #fff;
}

    .about-cta h2 {
        font-size: 2.5rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .about-cta p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-cta .btn-primary {
        background-color: #fff;
        color: #ff6b6b;
        border: none;
        padding: 12px 30px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 50px;
        transition: all 0.3s ease;
    }

        .about-cta .btn-primary:hover {
            background-color: #f8f9fa;
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

/* Responsive Adjustments */
@media (max-width: 991px) {
    .about-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-hero {
        padding: 60px 0;
        text-align: center;
    }

        .about-hero img {
            margin-top: 30px;
        }
}

@media (max-width: 767px) {
    .about-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-mission,
    .about-story,
    .about-team,
    .about-values,
    .about-testimonials,
    .about-join,
    .about-cta {
        padding: 50px 0;
    }

    .mission-card,
    .value-card,
    .testimonial-card {
        margin-bottom: 30px;
    }
}

/*Return and shipping returns policy*/
/* Returns & Refunds Policy Styles */
.returns-policy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    color: #333;
    font-family: "Nunito", sans-serif;
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

    .policy-header h1 {
        font-size: 2.5rem;
        font-weight: 700;
        color: #ff6b6b;
        margin-bottom: 0.5rem;
        position: relative;
        display: inline-block;
    }

        .policy-header h1::after {
            content: "";
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #ff6b6b, #ffa06b);
            border-radius: 2px;
        }

.last-updated {
    font-size: 0.9rem;
    color: #888;
    margin-top: 1rem;
}

.policy-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.policy-section {
    margin-bottom: 3rem;
}

    .policy-section h2 {
        font-size: 1.8rem;
        color: #4a4a4a;
        margin-bottom: 1.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #f0f0f0;
    }

.policy-card {
    display: flex;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

    .policy-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    }

.policy-icon {
    flex: 0 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ff6b6b;
    margin-right: 1.5rem;
}

.policy-content {
    flex: 1;
}

    .policy-content h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        color: #333;
    }

.policy-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

    .step:hover {
        transform: translateY(-5px);
    }

.step-number {
    flex: 0 0 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b6b, #ffa06b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1.5rem;
}

.step-content {
    flex: 1;
}

    .step-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
        color: #333;
    }

.refund-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.info-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

    .info-card:hover {
        transform: translateY(-5px);
    }

    .info-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        color: #333;
        position: relative;
        padding-bottom: 0.5rem;
    }

        .info-card h3::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: linear-gradient(90deg, #ff6b6b, #ffa06b);
            border-radius: 1.5px;
        }

.exceptions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.exception-item {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

    .exception-item h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        color: #333;
    }

    .exception-item ul {
        padding-left: 1.5rem;
        margin-top: 0.5rem;
    }

    .exception-item li {
        margin-bottom: 0.5rem;
        position: relative;
    }

        .exception-item li::before {
            content: "•";
            color: #ff6b6b;
            font-weight: bold;
            display: inline-block;
            width: 1em;
            margin-left: -1em;
        }

/* Marketplace Returns Notice */
.marketplace-notice {
    border-left: 4px solid #ffcc00;
    background-color: #fffbeb;
}

.warning-icon {
    color: #ffcc00;
}

.marketplace-guidance {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #e0e0e0;
}

    .marketplace-guidance p {
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .marketplace-guidance ul {
        padding-left: 1.5rem;
    }

    .marketplace-guidance li {
        margin-bottom: 0.5rem;
        position: relative;
    }

        .marketplace-guidance li::before {
            content: "→";
            color: #ff6b6b;
            font-weight: bold;
            display: inline-block;
            width: 1em;
            margin-left: -1em;
        }

.contact-info {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

    .contact-method i {
        font-size: 1.5rem;
        color: #ff6b6b;
        margin-bottom: 0.5rem;
    }

    .contact-method a {
        color: #4a4a4a;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .contact-method a:hover {
            color: #ff6b6b;
        }

.open-chat {
    background-color: #ff6b6b;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

    .open-chat:hover {
        background-color: #ff5252;
    }

.policy-footer {
    margin-top: 4rem;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .policy-header h1 {
        font-size: 2rem;
    }

    .policy-card,
    .step {
        flex-direction: column;
    }

    .policy-icon,
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .contact-methods {
        flex-direction: column;
        gap: 1.5rem;
    }

    .exceptions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .policy-header h1 {
        font-size: 1.8rem;
    }

    .policy-section h2 {
        font-size: 1.5rem;
    }
}

/*CONTACT US*/

/* Contact Page Styles */
.contact-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Header Section */
.contact-header {
    background: var(--official-TMT-gradient-color);
    border-radius: 12px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

    .contact-header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("/images/pattern-dots.svg");
        opacity: 0.1;
    }

.contact-header-content {
    position: relative;
    z-index: 1;
}

.contact-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.contact-header .subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

/* Contact Methods Section */
.contact-content-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-methods-container {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    min-width: 300px;
}

.contact-method-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .contact-method-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--official-TMT-gradient-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

    .contact-icon i {
        color: white;
        font-size: 1.5rem;
    }

.contact-method-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-method-card p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-method-card a,
.contact-method-card address {
    color: #2575fc;
    font-weight: 500;
    text-decoration: none;
    font-style: normal;
    font-size: 0.95rem;
}

    .contact-method-card a:hover {
        text-decoration: underline;
    }

.chat-button {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .chat-button:hover {
        transform: scale(1.05);
    }

/* Contact Form Section */
.contact-form-container {
    flex: 1;
    min-width: 300px;
}

.contact-form-card {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

    .contact-form-card h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        color: #333;
    }

    .contact-form-card > p {
        color: #666;
        margin-bottom: 1.5rem;
    }

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
        color: #333;
    }

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .form-control:focus {
        border-color: #2575fc;
        box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.1);
        outline: none;
    }

.text-danger {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-check-input {
    margin-right: 0.5rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: #666;
}

.submit-container {
    text-align: right;
}

.submit-button {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .submit-button:hover {
        transform: scale(1.05);
    }

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* FAQ Section */
.faq-section {
    margin: 4rem 0;
}

    .faq-section h2 {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 2rem;
        color: #333;
    }

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .faq-question:hover {
        background-color: #f9f9f9;
    }

    .faq-question h3 {
        font-size: 1.1rem;
        margin: 0;
        color: #333;
    }

    .faq-question i {
        color: #2575fc;
        transition: transform 0.3s ease;
    }

    .faq-question[aria-expanded="true"] i {
        transform: rotate(180deg);
    }

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #666;
}

    .faq-answer p {
        margin: 0;
    }

    .faq-answer a {
        color: #2575fc;
        text-decoration: none;
    }

        .faq-answer a:hover {
            text-decoration: underline;
        }

/* Map Section */
.map-section {
    margin-bottom: 3rem;
}

    .map-section h2 {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 2rem;
        color: #333;
    }

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.map-placeholder {
    position: relative;
    height: 400px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .map-placeholder img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

    .map-overlay p {
        font-size: 1.2rem;
        font-weight: 500;
        margin-bottom: 0.5rem;
    }

    .map-overlay small {
        font-size: 0.9rem;
        opacity: 0.8;
    }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-header {
        padding: 2rem 1rem;
    }

        .contact-header h1 {
            font-size: 2.5rem;
        }

    .contact-methods-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .map-placeholder {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .contact-header h1 {
        font-size: 2rem;
    }

    .contact-header .subtitle {
        font-size: 1rem;
    }

    .contact-form-card {
        padding: 1.5rem;
    }

    .submit-button {
        width: 100%;
    }
}

/*ERROR PAGE*/
/* Error Page Styles */
.error-page-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.02) 0%, rgba(0, 102, 164, 0.02) 100%);
}

.error-content {
    max-width: 900px;
    width: 100%;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .error-content::before {
        content: "";
        position: absolute;
        top: -50px;
        right: -50px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background-color: rgba(227, 30, 36, 0.05);
        z-index: 0;
    }

    .error-content::after {
        content: "";
        position: absolute;
        bottom: -50px;
        left: -50px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background-color: rgba(0, 102, 164, 0.05);
        z-index: 0;
    }

.error-illustration {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

    .error-illustration i {
        font-size: 6rem;
        color: var(--primary-red);
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.error-message {
    font-size: 1.1rem;
    color: var(--dark-color);
    opacity: 0.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.error-details {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: var(--gray-100);
    border-radius: var(--border-radius-md);
    display: inline-block;
}

    .error-details code {
        font-family: monospace;
        color: var(--primary-blue);
        font-weight: 600;
    }

.error-specific-message {
    padding: 1rem;
    background-color: rgba(227, 30, 36, 0.1);
    border-radius: var(--border-radius-md);
    color: var(--primary-red);
    font-weight: 500;
    margin: 1.5rem 0;
}

.error-suggestions {
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

    .error-suggestions h2 {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: var(--dark-color);
    }

    .error-suggestions ul {
        list-style-type: none;
        padding: 0;
        margin: 0 auto;
        max-width: 400px;
    }

    .error-suggestions li {
        padding: 0.5rem 0;
        position: relative;
        padding-left: 1.5rem;
    }

        .error-suggestions li::before {
            content: "•";
            color: var(--primary-blue);
            font-weight: bold;
            position: absolute;
            left: 0;
        }

.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

    .error-actions .btn {
        min-width: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

.error-featured-products {
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

    .error-featured-products h3 {
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        color: var(--dark-color);
    }

.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.featured-product {
    background-color: var(--gray-100);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    transition: var(--transition-normal);
}

    .featured-product:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-sm);
    }

.featured-product-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
}

    .featured-product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.featured-product h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .error-content {
        padding: 2rem 1.5rem;
    }

    .error-title {
        font-size: 2rem;
    }

    .error-message {
        font-size: 1rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

        .error-actions .btn {
            width: 100%;
        }

    .featured-products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .error-content {
        padding: 1.5rem 1rem;
    }

    .error-illustration i {
        font-size: 4rem;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .error-suggestions h2 {
        font-size: 1.2rem;
    }

    .error-featured-products h3 {
        font-size: 1.1rem;
    }
}

/* Product Card Styles */

/* Card Container */
.product-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    background-color: white;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--gray-200);
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

/* Make entire card clickable */
.product-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-decoration: none;
    color: inherit;
}

/* Card Body */
.product-card .card-body {
    padding: 1.5rem;
    z-index: 0;
    display: flex;
    flex-direction: column;
}

/* Card Image */
.product-card .card-img-top {
    height: 220px;
    object-fit: contain;
    transition: var(--transition-normal);
    padding: 1rem;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Card Title */
.product-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    height: 2.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 0.8rem;
}

/* Product Rating */
.product-rating {
    margin-bottom: 0.8rem;
}

    .product-rating .bi-star-fill,
    .product-rating .bi-star-half,
    .product-rating .bi-star {
        color: #ffc107;
    }

    .product-rating .text-muted {
        font-size: 0.85rem;
    }

/* Product Price */
.product-price {
    margin-top: auto;
    margin-bottom: 0.8rem;
}

    .product-price .regular-price {
        font-weight: 800;
        color: var(--primary-red);
        font-size: 1.3rem;
    }

    .product-price .old-price {
        text-decoration: line-through;
        color: var(--dark-color);
        opacity: 0.6;
        font-size: 1rem;
        margin-right: 0.5rem;
    }

/* Add to Cart Button */
.btn-cart {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    transition: transform 0.2s ease, background-color 0.2s ease;
    opacity: 0;
    transform: translateY(10px);
}

.product-card:hover .btn-cart {
    opacity: 1;
    transform: translateY(0);
}

.btn-cart:hover {
    transform: scale(1.1);
    background-color: #c91a1f;
}

.btn-cart i {
    font-size: 1.2rem;
}

/* Product Badges */
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-red);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

    .product-badge.new {
        background-color: var(--primary-blue);
    }

    .product-badge.sale {
        background-color: var(--accent-yellow);
        color: var(--dark-color);
    }

/* List View Styles */
.products-list .product-item {
    width: 100%;
}

.products-list .product-card {
    flex-direction: row;
    align-items: center;
}

    .products-list .product-card .card-img-top {
        width: 200px;
        height: 200px;
        object-fit: contain;
    }

    .products-list .product-card .card-body {
        padding: 1.5rem;
        flex: 1;
    }

    .products-list .product-card .card-text {
        display: block;
        margin-bottom: 1rem;
    }

/* For touch devices */
@media (hover: none) {
    .btn-cart {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .products-list .product-card {
        flex-direction: column;
    }

        .products-list .product-card .card-img-top {
            width: 100%;
            height: 220px;
        }

    .product-card .card-title {
        font-size: 1rem;
        height: 2.5rem;
    }

    .product-price .regular-price {
        font-size: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .product-card .card-img-top {
        height: 180px;
    }

    .product-card .card-body {
        padding: 1.25rem;
    }

    .btn-cart {
        width: 36px;
        height: 36px;
    }

        .btn-cart i {
            font-size: 1rem;
        }
}

/* Success state for add to cart button */
.btn-cart.added {
    background-color: #28a745; /* Green success color */
    transform: scale(1.1);
}

    .btn-cart.added:hover {
        background-color: #218838; /* Darker green on hover */
    }

    .btn-cart.added i {
        margin: 0 !important; /* Override Bootstrap's me-2 class */
    }

/*FORGOT-PASSWORD*/

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-dialog {
    margin: 1.75rem auto;
}

.modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    outline: 0;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-backdrop {
    z-index: 1040;
}

.close {
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.5;
    cursor: pointer;
}

    .close:hover {
        opacity: 0.75;
    }

.modal-body {
    position: relative;
    padding: 1rem;
}

.modal-icon {
    font-size: 3rem;
    color: #6c757d;
}

/* Verification code input styles */
.verification-code-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.verification-code-input {
    width: 3rem;
    height: 3.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .verification-code-input:focus {
        border-color: #80bdff;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

    .verification-code-input.is-invalid {
        border-color: #dc3545;
    }

    .verification-code-input.is-valid {
        border-color: #28a745;
    }

/* Animation for step transitions */
.forgot-password-step {
    transition: opacity 0.3s ease-in-out;
}

    .forgot-password-step.fade-out {
        opacity: 0;
    }

    .forgot-password-step.fade-in {
        opacity: 1;
    }


/*Wish button*/

/* Wishlist button styles */
.btn-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: white;
    border: none;
    color: #dc3545;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 50%;
    z-index: 3;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .btn-wishlist:hover {
        transform: scale(1.2);
        color: #c82333;
    }

    .btn-wishlist .bi-heart {
        color: #6c757d;
    }

    .btn-wishlist .bi-heart-fill {
        color: #dc3545;
    }

    .btn-wishlist:focus {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }


/*Spinner*/
#pageSpinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    display: none; /* Hidden by default */
}

    #pageSpinner .spinner-border {
        width: 4rem;
        height: 4rem;
        border-width: 0.5em;
        border-color: var(--primary-blue);
        border-right-color: transparent;
        border-radius: 50%;
        animation: rotate 1.2s linear infinite;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.marketplace-unavailable {
    padding: 1rem;
    background-color: #e8f5e9;
    border-radius: 8px;
    color: #2e7d32;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

    .marketplace-unavailable i {
        margin-right: 0.5rem;
        font-size: 1.1rem;
    }


/* Shipping Policy Styles */
.shipping-policy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: "Nunito", sans-serif;
}

.policy-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;
}

    .policy-header h1 {
        color: #333;
        font-size: 2.5rem;
        margin-bottom: 1rem;
        font-weight: 700;
    }

.breadcrumb {
    display: flex;
    /*justify-content: center;*/
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

.breadcrumb-item a {
    color: #4d4d4d6e;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #666;
}

.policy-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.policy-section {
    margin-bottom: 2.5rem;
}

    .policy-section:last-child {
        margin-bottom: 0;
    }

    .policy-section h2 {
        color: #333;
        font-size: 1.8rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #ff6b6b;
        display: inline-block;
    }

    .policy-section p,
    .policy-section li {
        color: #555;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .policy-section ul {
        padding-left: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .policy-section a {
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s;
    }

        .policy-section a:hover {
            color: #e05050;
            text-decoration: underline;
        }

.shipping-methods {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

    .shipping-methods li {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 1.5rem;
        padding: 1rem;
        border-radius: 8px;
        background-color: #f9f9f9;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s, box-shadow 0.3s;
    }

        .shipping-methods li:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

.method-name {
    flex: 0 0 30%;
    font-weight: 700;
    font-size: 1.2rem;
    color: #333;
    padding-right: 1rem;
}

.method-details {
    flex: 0 0 70%;
}

    .method-details p {
        margin: 0.3rem 0;
    }

.info-box {
    background-color: #f0f7ff;
    border-left: 4px solid #4a90e2;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
    display: flex;
    align-items: flex-start;
}

    .info-box i {
        color: #4a90e2;
        font-size: 1.5rem;
        margin-right: 1rem;
    }

    .info-box p {
        margin: 0;
    }

.shipping-map {
    margin: 1.5rem 0;
    text-align: center;
}

    .shipping-map img {
        max-width: 100%;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

.faq-section .accordion {
    margin-top: 1.5rem;
}

.faq-section .accordion-item {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-section .accordion-header {
    margin: 0;
}

.faq-section .accordion-button {
    font-weight: 600;
    color: #333;
    background-color: #f9f9f9;
    padding: 1rem 1.25rem;
}

    .faq-section .accordion-button:not(.collapsed) {
        color: #ff6b6b;
        background-color: #fff0f0;
    }

    .faq-section .accordion-button:focus {
        box-shadow: none;
        border-color: #ff6b6b;
    }

.faq-section .accordion-body {
    padding: 1.25rem;
    background-color: #fff;
}

.contact-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.contact-option {
    flex: 1 1 30%;
    min-width: 250px;
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

    .contact-option i {
        font-size: 1.5rem;
        color: #ff6b6b;
        margin-right: 1rem;
    }

    .contact-option p {
        margin: 0;
    }

.contact-btn {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
}

    .contact-btn:hover {
        background-color: #e05050;
        border-color: #e05050;
        transform: translateY(-2px);
    }

.policy-last-updated {
    text-align: center;
    margin-top: 2rem;
    color: #999;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .policy-header h1 {
        font-size: 2rem;
    }

    .method-name,
    .method-details {
        flex: 0 0 100%;
    }

    .method-name {
        margin-bottom: 0.5rem;
    }

    .contact-option {
        flex: 0 0 100%;
    }
}

@media (max-width: 576px) {
    .policy-content {
        padding: 1.5rem;
    }

    .policy-section h2 {
        font-size: 1.5rem;
    }
}
