/* Remove underline from product card links and prices */
.product-card,
.product-card * {
    text-decoration: none !important;
}
.product-price,
.product-original-price {
    text-decoration: none !important;
}
/* ==================== PRODUCT PAGE ==================== */
.product-section {
    max-width: 1100px;
    margin: 2.5rem auto 2rem auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 2rem 2.5rem 2rem 2.5rem;
}
.product-details {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: flex-start;
}
.product-images {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}
#main-product-img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: #f7f7f7;
    cursor: zoom-in;
    transition: box-shadow 0.2s;
}
#main-product-img:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.product-thumbnails {
    display: flex;
    gap: 0.7rem;
}
.product-thumbnails img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.2s;
}
.product-thumbnails img:hover {
    border: 2px solid var(--primary-color);
}
.product-info {
    flex: 2 1 350px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.product-info h1 {
    font-size: 2.1rem;
    margin-bottom: 0.2rem;
}
.product-rating {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}
.product-pricing {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.3rem;
}
.product-price {
    color: var(--primary-color);
    font-weight: bold;
}
.product-original-price {
    color: #888;
    text-decoration: line-through;
    font-size: 1.1rem;
}
.product-badge {
    background: var(--primary-color);
    color: #fff;
    border-radius: 12px;
    padding: 0.2rem 0.7rem;
    font-size: 0.95rem;
    font-weight: 600;
}
.product-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.7rem;
}
#product-qty {
    width: 60px;
    padding: 0.4rem 0.6rem;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-right: 0.5rem;
}
.product-share {
    margin-top: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.1rem;
}
.product-share a {
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: color 0.2s;
}
.product-share a:hover {
    color: #111;
}

/* Modal Zoom Styles */
.zoom-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
}
.zoom-modal-content {
    margin: 5vh auto 0 auto;
    display: block;
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.zoom-close {
    position: absolute;
    top: 2vh;
    right: 4vw;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 3100;
    text-shadow: 0 2px 8px #000;
}
#zoom-caption {
    color: #fff;
    text-align: center;
    margin-top: 1.2rem;
    font-size: 1.2rem;
}

@media (max-width: 900px) {
    .product-section {
        padding: 1.2rem 0.5rem;
    }
    .product-details {
        flex-direction: column;
        align-items: stretch;
    }
    #main-product-img {
        width: 100%;
        height: auto;
        max-width: 350px;
    }
    .product-thumbnails img {
        width: 48px;
        height: 48px;
    }
    .zoom-modal-content {
        max-width: 98vw;
        max-height: 60vh;
    }
}
/* ==================== PROFILE PAGE ==================== */
.profile-section {
    max-width: 700px;
    margin: 2.5rem auto 2rem auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 2rem 2.5rem 2rem 2.5rem;
}
.profile-card {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}
.profile-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 140px;
}
.profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
#change-avatar-btn {
    font-size: 0.95rem;
    padding: 0.4rem 1rem;
}
.profile-card form {
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.profile-card .form-row {
    display: flex;
    gap: 1.2rem;
}
.profile-card .form-group {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
#toggle-password {
    margin-top: 0.3rem;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1.1rem;
}
.profile-orders {
    margin-top: 2.5rem;
}
.orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: #faf9f6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.orders-table th, .orders-table td {
    padding: 0.7rem 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.orders-table th {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
}
.orders-table tr:last-child td {
    border-bottom: none;
}
.btn-danger {
    background: #d9534f;
    color: #fff;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 24px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 2.5rem;
    transition: background 0.2s;
}
.btn-danger:hover {
    background: #b52a25;
}

@media (max-width: 900px) {
    .profile-section {
        padding: 1.2rem 0.5rem;
    }
    .profile-card {
        flex-direction: column;
        align-items: stretch;
    }
    .profile-card .form-row {
        flex-direction: column;
        gap: 0.7rem;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4af37;
    --secondary-color: #1a1a1a;
    --accent-color: #8b7355;
    --light-bg: #f9f7f4;
    --dark-bg: #1a1a1a;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-full {
    width: 100%;
    padding: 0 20px;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    background: var(--secondary-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar .container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* ==================== BUTTONS ==================== */
.btn {
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background: #c9a027;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
    margin: 0.8rem 0;
}

/* ==================== HERO SECTION ==================== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    min-height: 600px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem 2rem 2rem 3rem;
    box-sizing: border-box;
}

.hero-content .btn-primary {
    margin-top: 1.2rem;
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 30px;
    align-self: flex-start;
    box-shadow: 0 2px 12px 0 rgba(212,175,55,0.10);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ==================== SECTION TITLES ==================== */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ==================== FEATURES SECTION ==================== */
.features {
    padding: 4rem 0;
    background: var(--light-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==================== COLLECTIONS SECTION ==================== */
.collections {
    padding: 4rem 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-dark);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--secondary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    background: var(--light-bg);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-rating .stars {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.product-rating .count {
    color: var(--text-light);
    font-size: 0.85rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.product-price .original {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1rem;
    margin-right: 0.5rem;
}

.add-to-cart-btn {
    padding: 0.6rem 1.2rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.add-to-cart-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* ==================== WHY CHOOSE US SECTION ==================== */
.why-choose {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.why-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    padding-left: 5rem;
}

.why-number {
    position: absolute;
    left: 2rem;
    top: 2rem;
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 700;
    opacity: 0.3;
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.why-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}

.testimonial-card .stars {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.testimonial-card p {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-card h4 {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.role {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ==================== NEWSLETTER SECTION ==================== */
.newsletter {
    padding: 4rem 0;
    background: var(--secondary-color);
    color: white;
    text-align: center;
}

.newsletter h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
}

.newsletter-form button {
    padding: 0.8rem 1.8rem;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2a2a2a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ==================== SHOP PAGE ==================== */
.shop-section {
    padding: 3rem 0;
}

.shop-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.shop-sidebar {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 80px;
}

.filter-section {
    margin-bottom: 2rem;
}

.filter-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 0.7rem;
    cursor: pointer;
    color: var(--text-dark);
}

.filter-option input {
    margin-right: 0.8rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.filter-option span {
    font-size: 0.95rem;
}

.price-range {
    margin-top: 1rem;
}

.price-range input {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    outline: none;
}

.price-range input::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

.price-range input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
}

.price-range p {
    margin-top: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.filter-section select {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: white;
    cursor: pointer;
    color: var(--text-dark);
}

.shop-main {
    flex: 1;
}

.shop-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.product-count {
    color: var(--text-light);
    font-weight: 600;
}

.view-options {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    padding: 0.6rem 1rem;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    border-radius: 4px;
    color: var(--text-dark);
    transition: all 0.3s;
}

.view-btn.active,
.view-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    border-radius: 4px;
    color: var(--text-dark);
    transition: all 0.3s;
}

.pagination-btn:hover {
    border-color: var(--primary-color);
    background: var(--light-bg);
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-numbers button {
    min-width: 40px;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    border-radius: 4px;
    color: var(--text-dark);
}

.page-numbers button.active {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

/* ==================== CONTACT PAGE ==================== */
.contact-info-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.contact-info-card:hover {
    transform: translateY(-10px);
}

.info-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.contact-info-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.map-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: color 0.3s;
}

.map-link:hover {
    color: var(--secondary-color);
}

.small-text {
    font-size: 0.85rem;
}

.contact-form-section {
    padding: 4rem 0;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.form-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.form-content > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.form-message {
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.map-section {
    padding: 3rem 0;
    background: var(--light-bg);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 500px;
}

.faq-section {
    padding: 4rem 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item-accordion {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: var(--light-bg);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: all 0.3s;
}

.faq-question:hover {
    background: white;
    color: var(--primary-color);
}

.faq-question.open {
    background: white;
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-question.open i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1.5rem;
    background: white;
    color: var(--text-light);
    line-height: 1.6;
    display: none;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.faq-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== CART PAGE ==================== */
.cart-section {
    padding: 3rem 0;
    min-height: 500px;
}

.empty-cart {
    text-align: center;
    padding: 4rem 0;
}

.empty-cart-content {
    max-width: 500px;
    margin: 0 auto;
}

.empty-cart i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-cart h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.empty-cart p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cart-content {
    display: flex;
    flex-direction: column;
}

.cart-items-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-bottom: 3rem;
}

.cart-items {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cart-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 0.8fr;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-bg);
    font-weight: 600;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--border-color);
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 0.8fr;
    gap: 1rem;
    padding: 1.5rem;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
    border-bottom: none;
}

.item-details {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.item-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--light-bg);
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-info h4 {
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
}

.item-info p {
    color: var(--text-light);
    font-size: 0.85rem;
}

.item-price {
    font-weight: 600;
    color: var(--secondary-color);
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.quantity-control button {
    width: 30px;
    height: 30px;
    border: none;
    background: var(--light-bg);
    cursor: pointer;
    color: var(--text-dark);
}

.quantity-control button:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-control input {
    width: 40px;
    text-align: center;
    border: none;
    background: white;
}

.item-total {
    font-weight: 700;
    color: var(--primary-color);
}

.remove-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.remove-btn:hover {
    color: #c82333;
}

.cart-summary {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 80px;
}

.cart-summary h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.summary-row.total {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1rem 0;
}

.promo-code {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.promo-code label {
    display: block;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.promo-input {
    display: flex;
    gap: 0.5rem;
}

.promo-input input {
    flex: 1;
    padding: 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.promo-input button {
    padding: 0.6rem 1rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}

.promo-input button:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

#promoMessage {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
}

#promoMessage.success {
    color: #28a745;
}

#promoMessage.error {
    color: #dc3545;
}

.cart-recommendations {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
}

.cart-recommendations h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.trust-badges {
    padding: 3rem 0;
    background: var(--light-bg);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.badge {
    text-align: center;
}

.badge i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.badge h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.badge p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
        /* Cart link black background and white text on mobile */
        .cart-link {
            background: #111;
            color: #fff !important;
            border-radius: 24px;
            padding: 0.4rem 1.1rem 0.4rem 0.9rem;
            font-weight: 600;
            transition: background 0.2s, color 0.2s;
        }
        .cart-link i,
        .cart-link .cart-badge {
            color: #fff !important;
        }
        .cart-link .cart-badge {
            background: #fff;
            color: #111 !important;
            border: 2px solid #111;
        }
        .cart-link:hover {
            background: #222;
            color: #ffd700 !important;
        }
    .hero {
        grid-template-columns: 1fr;
        padding: 2rem 0 1.5rem 0;
        min-height: auto;
        text-align: center;
    }
    .hero-content {
        align-items: center;
        padding: 1.5rem 1rem 1.5rem 1rem;
        max-width: 100%;
    }
    .hero-content h1 {
        font-size: 2.2rem;
        text-align: center;
    }
    .hero-content p {
        text-align: center;
    }
    .hero-content .btn-primary {
        align-self: center;
        width: 80%;
        min-width: 180px;
        font-size: 1rem;
        padding: 0.8rem 0;
    }
    .hero-image {
        margin-top: 1.5rem;
        display: flex;
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .shop-wrapper {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
        top: auto;
    }

    .form-wrapper {
        grid-template-columns: 1fr;
    }

    .form-image {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-section .form-wrapper {
        grid-template-columns: 1fr;
    }

    .cart-items-wrapper {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
        top: auto;
    }

    .cart-header,
    .cart-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .cart-header > div:nth-child(n+2),
    .cart-item > div:nth-child(n+2) {
        display: none;
    }

    .navbar {
        position: static;
        top: 0;
        bottom: auto;
        left: 0;
        width: 100vw;
        z-index: 2000;
        box-shadow: none;
        padding: 0.2rem 0;
        background: var(--secondary-color);
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .container-nav {
        padding: 0;
        max-width: 100vw;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .logo {
        display: flex !important;
        justify-content: center;
        align-items: center;
        font-size: 1.3rem;
        color: var(--primary-color);
        background: var(--secondary-color);
        padding: 0.5rem 0 0.3rem 0;
        border-bottom: 1px solid #222;
        width: 100vw;
    }
    .nav-links {
        display: flex !important;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        width: 100vw;
        gap: 0;
        background: var(--secondary-color);
        margin: 0;
        padding: 0.2rem 0 0.1rem 0;
        position: fixed;
        bottom: 0;
        left: 0;
        box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
        z-index: 2000;
    }
    .nav-links li {
        flex: 1 1 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .nav-links a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        padding: 0.5rem 0 0.2rem 0;
        color: #fff;
        width: 100%;
        border-radius: 0;
        background: none;
        transition: color 0.2s;
    }
    .nav-links a.active,
    .nav-links a:hover {
        color: var(--primary-color);
        background: none;
    }
    .cart-link {
        background: #111;
        color: #fff !important;
        border-radius: 24px;
        padding: 0.4rem 1.1rem 0.4rem 0.9rem;
        font-weight: 600;
        transition: background 0.2s, color 0.2s;
        position: relative;
        justify-content: center;
        align-items: center;
        font-size: 1.6rem;
    }
    .cart-link i,
    .cart-link .cart-badge {
        color: #fff !important;
    }
    .cart-link .cart-badge {
        background: #fff;
        color: #111 !important;
        border: 2px solid #111;
        position: absolute;
        top: -8px;
        right: -8px;
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .cart-link:hover {
        background: #222;
        color: #ffd700 !important;
    }
    .hamburger {
        display: none !important;
    }
    body {
        padding-bottom: 60px;
    }

    .section-title {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.3rem;
    }
    .hero-content {
        padding: 1rem 0.5rem;
    }
    .hero-content .btn-primary {
        font-size: 0.95rem;
        padding: 0.7rem 0;
        width: 100%;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Adjust product price and add-to-cart button for mobile */
    .product-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .product-price {
        font-size: 1.2rem;
        text-align: left;
        margin-bottom: 0.2rem;
    }
    .add-to-cart-btn {
        width: 100%;
        font-size: 1rem;
        padding: 0.7rem 0;
        border-radius: 6px;
    }
}
