:root {
    --primary: #c9a96e;
    --primary-dark: #a88c5a;
    --dark: #1a1a1a;
    --dark-light: #2d2d2d;
    --light: #f8f8f8;
    --gray: #e0e0e0;
    --text: #333333;
    --text-light: #777777;
    --shadow: 0 0.52vw 1.56vw rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

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

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.78vw;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0.73vw 1.67vw;
    border: none;
    border-radius: 0.21vw;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    font-size: 0.83vw;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-0.1vw);
    box-shadow: 0 0.26vw 0.78vw rgba(201, 169, 110, 0.3);
}

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

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

.section-title {
    text-align: center;
    margin-bottom: 3.13vw;
}

.section-title h2 {
    font-size: 1.88vw;
    color: var(--dark);
    margin-bottom: 0.78vw;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -0.52vw;
    left: 50%;
    transform: translateX(-50%);
    width: 4.17vw;
    height: 0.16vw;
    background-color: var(--primary);
}

.section-title p {
    color: var(--text-light);
    max-width: 36.46vw;
    margin: 0 auto;
    font-size: 0.94vw;
}

header {
    background-color: var(--dark);
    color: white;
    padding: 1.04vw 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 0.1vw 0.52vw rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.46vw;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: white;
    margin-left: 0.26vw;
}

.logo i {
    margin-right: 0.52vw;
    font-size: 1.25vw;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.56vw;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.26vw 0;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.1vw;
    background-color: var(--primary);
    transition: var(--transition);
}

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

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

.header-actions {
    display: flex;
    align-items: center;
}

.search-form {
    display: flex;
    margin-right: 1.04vw;
    position: relative;
}

.search-form input {
    padding: 0.52vw 0.78vw;
    border: none;
    border-radius: 0.21vw;
    outline: none;
    width: 10.42vw;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.search-form input:focus {
    width: 13.02vw;
    background-color: rgba(255, 255, 255, 0.15);
}

.search-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-form button {
    background: none;
    border: none;
    color: white;
    position: absolute;
    right: 0.52vw;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.header-icon {
    position: relative;
    color: white;
    font-size: 1.04vw;
    margin-left: 1.04vw;
    cursor: pointer;
    transition: var(--transition);
}

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

.cart-count {
    position: absolute;
    top: -0.42vw;
    right: -0.42vw;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    width: 0.94vw;
    height: 0.94vw;
    font-size: 0.63vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.25vw;
    cursor: pointer;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1516884680789-5d61c6d87fe2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 9.38vw 0 6.25vw;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(201, 169, 110, 0.2), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 41.67vw;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.92vw;
    margin-bottom: 1.04vw;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
}

.hero p {
    font-size: 1.04vw;
    margin-bottom: 2.08vw;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.8s;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.04vw;
    opacity: 0;
    animation: fadeInUp 1s forwards 1.1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1.56vw);
    }

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

.brands {
    padding: 4.17vw 0;
    background-color: white;
}

.brands-slider {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.56vw;
}

.brand-item {
    flex: 1;
    min-width: 7.81vw;
    text-align: center;
    opacity: 0.7;
    transition: var(--transition);
    filter: grayscale(100%);
}

.brand-item:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.brand-item span {
    font-family: 'Playfair Display', serif;
    font-size: 1.15vw;
    font-weight: 600;
    color: var(--dark);
}

.featured-products {
    padding: 5.21vw 0;
    background-color: var(--light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15.63vw, 1fr));
    gap: 1.56vw;
}

.product-card {
    background-color: white;
    border-radius: 0.42vw;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-0.52vw);
    box-shadow: 0 0.78vw 1.56vw rgba(0, 0, 0, 0.1);
}

.product-badge {
    position: absolute;
    top: 0.78vw;
    right: 0.78vw;
    background-color: var(--primary);
    color: white;
    padding: 0.26vw 0.52vw;
    border-radius: 0.21vw;
    font-size: 0.63vw;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    height: 13.02vw;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-actions {
    display: flex;
    gap: 0.52vw;
}

.product-action {
    width: 2.34vw;
    height: 2.34vw;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: var(--transition);
}

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

.product-info {
    padding: 1.3vw;
}

.product-info h3 {
    font-size: 1.04vw;
    margin-bottom: 0.52vw;
}

.product-category {
    color: var(--text-light);
    font-size: 0.73vw;
    margin-bottom: 0.52vw;
    text-transform: uppercase;
    letter-spacing: 0.05vw;
}

.product-price {
    font-size: 1.15vw;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.78vw;
}

.product-rating {
    color: #ffc107;
    margin-bottom: 0.78vw;
}

.product-card .btn {
    width: 100%;
}

.about {
    padding: 5.21vw 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3.13vw;
}

.about-image {
    flex: 1;
    border-radius: 0.42vw;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 1.88vw;
    margin-bottom: 1.04vw;
    color: var(--dark);
}

.about-text p {
    margin-bottom: 1.04vw;
    color: var(--text-light);
}

.about-features {
    margin-top: 1.56vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.04vw;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.78vw;
}

.about-feature i {
    color: var(--primary);
    font-size: 1.25vw;
    margin-top: 0.26vw;
}

.about-feature h4 {
    margin-bottom: 0.26vw;
}

.testimonials {
    padding: 5.21vw 0;
    background-color: var(--light);
}

.testimonials-slider {
    max-width: 41.67vw;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background-color: white;
    padding: 2.08vw;
    border-radius: 0.42vw;
    box-shadow: var(--shadow);
    text-align: center;
    display: none;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.testimonial-text {
    font-size: 0.94vw;
    font-style: italic;
    margin-bottom: 1.56vw;
    color: var(--text-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.78vw;
}

.testimonial-author img {
    width: 3.13vw;
    height: 3.13vw;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.26vw;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.73vw;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 1.56vw;
    gap: 0.52vw;
}

.testimonial-dot {
    width: 0.63vw;
    height: 0.63vw;
    border-radius: 50%;
    background-color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background-color: var(--primary);
}

.cta {
    padding: 5.21vw 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1547996160-81dfc10bc5d9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.19vw;
    margin-bottom: 1.04vw;
}

.cta p {
    font-size: 0.94vw;
    max-width: 36.46vw;
    margin: 0 auto 2.08vw;
    color: rgba(255, 255, 255, 0.8);
}

footer {
    background-color: var(--dark);
    color: white;
    padding: 4.17vw 0 1.04vw;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10.42vw, 1fr));
    gap: 2.08vw;
    margin-bottom: 3.13vw;
}

.footer-column h3 {
    color: var(--primary);
    margin-bottom: 1.3vw;
    font-size: 1.04vw;
    position: relative;
    padding-bottom: 0.52vw;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2.08vw;
    height: 0.1vw;
    background-color: var(--primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.63vw;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary);
    padding-left: 0.26vw;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.04vw;
}

.social-links {
    display: flex;
    gap: 0.78vw;
}

.social-links a {
    display: inline-block;
    width: 2.08vw;
    height: 2.08vw;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-0.16vw);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.04vw;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 0.63vw 0.78vw;
    border: none;
    border-radius: 0.21vw 0 0 0.21vw;
    outline: none;
}

.newsletter-form button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0 1.04vw;
    border-radius: 0 0.21vw 0.21vw 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.04vw;
    border-top: 0.05vw solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.73vw;
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.19vw;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image,
    .about-text {
        flex: none;
        width: 100%;
    }

    .brands-slider {
        justify-content: center;
    }

    .brand-item {
        min-width: 6.25vw;
    }
}

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

    nav {
        position: fixed;
        top: 3.65vw;
        left: 0;
        width: 100%;
        background-color: var(--dark);
        padding: 1.04vw;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: 0 0.52vw 1.04vw rgba(0, 0, 0, 0.1);
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0.52vw 0;
    }

    .search-form {
        display: none;
    }

    .hero {
        padding: 7.81vw 0 4.17vw;
    }

    .hero h1 {
        font-size: 1.88vw;
    }

    .hero p {
        font-size: 0.94vw;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .section-title h2 {
        font-size: 1.67vw;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(13.02vw, 1fr));
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.67vw;
    }

    .section-title h2 {
        font-size: 1.46vw;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 0.21vw;
        margin-bottom: 0.52vw;
    }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: 0.52vw;
    width: 90%;
    max-width: 23.44vw;
    box-shadow: 0 0.52vw 1.56vw rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-2.6vw);
    }

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.04vw 1.3vw;
    border-bottom: 0.05vw solid #eee;
}

.modal-header h2 {
    margin: 0;
    font-size: 0.78vw;
    font-weight: 600;
}

.close-modal {
    font-size: 0.94vw;
    cursor: pointer;
    color: #777;
    transition: color 0.3s;
}

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

.modal-body {
    padding: 1.3vw;
}

.form-group {
    margin-bottom: 1.04vw;
}

.form-group label {
    display: block;
    margin-bottom: 0.42vw;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 0.63vw 0.78vw;
    border: 0.05vw solid #ddd;
    border-radius: 0.26vw;
    font-size: 0.52vw;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #c19f5f;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.04vw;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.47vw;
}

.checkbox-container input {
    margin-right: 0.42vw;
}

.forgot-password {
    color: #c19f5f;
    text-decoration: none;
    font-size: 0.47vw;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    padding: 0.63vw;
    background-color: #c19f5f;
    color: white;
    border: none;
    border-radius: 0.26vw;
    font-size: 0.52vw;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-full:hover {
    background-color: #a8874a;
}

.auth-divider {
    text-align: center;
    margin: 1.3vw 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 0.05vw;
    background-color: #eee;
}

.auth-divider span {
    background-color: white;
    padding: 0 0.78vw;
    color: #777;
    font-size: 0.47vw;
}

.social-auth {
    display: flex;
    flex-direction: column;
    gap: 0.52vw;
    margin-bottom: 1.04vw;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.63vw;
    border: 0.05vw solid #ddd;
    border-radius: 0.26vw;
    background-color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.social-btn i {
    margin-right: 0.52vw;
}

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

.google-btn {
    color: #333;
}

.facebook-btn {
    color: #3b5998;
}

.auth-footer {
    text-align: center;
    font-size: 0.47vw;
    color: #777;
}

.register-link {
    color: #c19f5f;
    text-decoration: none;
}

.register-link:hover {
    text-decoration: underline;
}

.cart-modal-content {
    max-width: 26.04vw;
}

.cart-items {
    max-height: 20.83vw;
    overflow-y: auto;
    margin-bottom: 1.04vw;
}

.empty-cart-message {
    text-align: center;
    padding: 2.08vw 1.04vw;
    color: #777;
}

.empty-cart-message i {
    font-size: 1.56vw;
    margin-bottom: 0.78vw;
    display: block;
    color: #ddd;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 0.78vw 0;
    border-bottom: 0.05vw solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 3.13vw;
    height: 3.13vw;
    object-fit: cover;
    border-radius: 0.26vw;
    margin-right: 0.78vw;
}

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

.cart-item-info h4 {
    margin: 0 0 0.26vw 0;
    font-size: 0.52vw;
}

.cart-item-info p {
    margin: 0 0 0.26vw 0;
    color: #777;
    font-size: 0.47vw;
}

.cart-item-price {
    font-weight: 600;
    color: #c19f5f;
}

.remove-from-cart {
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    padding: 0.26vw;
    transition: color 0.3s;
}

.remove-from-cart:hover {
    color: #ff4444;
}

.cart-summary {
    border-top: 0.05vw solid #eee;
    padding-top: 1.04vw;
}
.featured-products {
    padding: 5.21vw 0;
    background-color: var(--light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2vw;
}

.product-card {
    background-color: white;
    border-radius: 0.5vw;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    min-height: 400px;
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-info {
    padding: 1.5vw;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5vw;
}

.product-category {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-bottom: 0.5vw;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1vw;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 3vw;
    }
    
    .product-card {
        min-height: 350px;
    }
    
    .product-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 4vw;
    }
    
    .product-card {
        min-height: 300px;
    }
    
    .product-image {
        height: 160px;
    }
}