/* static/css/style.css */
:root {
    --primary: #d4af37;
    --secondary: #000;
    --light: #f8f8f8;
    --gray: #eaeaea;
    --dark: #333;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: #fff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: var(--secondary);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover {
    background: #b8972e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--secondary);
}

.btn-view {
    padding: 8px 15px;
    font-size: 13px;
    margin-top: auto; /* Push to bottom of flex container */
    display: block;
    width: 100%;
    text-align: center;
}

/* Global page content spacing to prevent hiding under fixed navbar */
.page-content {
    margin-top: 120px; /* Increased spacing to account for the fixed header height */
}

/* For pages without their own top spacing */
.main-content-spacing {
    padding-top: 80px;
}

/* Grid layouts */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Changed to fixed 4 columns */
    gap: 20px;
    margin-top: 30px;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgb(255, 255, 255);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 3px 0;
    font-size: 16px;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

nav ul li a.active {
    color: var(--primary);
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a:hover:after, 
nav ul li a.active:after {
    width: 100%;
}

.nav-icons {
    display: flex;
    align-items: center;
}

.nav-icons a {
    margin-left: 16px;
    color: var(--dark);
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
}

.nav-icons a:hover {
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary);
    color: var(--secondary);
    font-size: 9px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* User dropdown menu */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 5px;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-menu:before {
    content: '';
    position: absolute;
    top: -8px;
    right: 18px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.dropdown-menu a {
    color: var(--secondary);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background 0.3s;
    margin: 0;
}

.dropdown-menu a:hover {
    background-color: #f8f8f8;
}

.user-dropdown:hover .dropdown-menu {
    display: block;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--light);
    padding-top: 80px;
}

.hero-content {
    max-width: 600px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-size: 60px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.stats {
    display: flex;
    margin-top: 40px;
}

.stat-item {
    margin-right: 50px;
}

.stat-item h3 {
    font-size: 40px;
    margin-bottom: 5px;
    color: var(--primary);
}

.stat-item p {
    font-size: 16px;
    opacity: 0.8;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.about-text, .about-image {
    width: 48%;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 25px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Categories Section */
.categories {
    padding: 100px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.category-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.category-card .category-link {
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-name {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 20px;
    font-weight: 600;
    padding: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: var(--transition);
}

.category-overlay .view-category {
    color: white;
    background-color: rgba(212, 175, 55, 0.8);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 500;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3));
}

.category-card:hover .view-category {
    transform: translateY(0);
    opacity: 1;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 450px; /* Fixed height for consistency */
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--secondary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: #777;
    font-size: 14px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    height: 46px; /* Fixed height for product names */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    line-clamp: 2; /* Standard property for compatibility */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    height: 28px; /* Fixed height for price area */
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.old-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.discount {
    color: #e74c3c;
    font-weight: 600;
    font-size: 14px;
    background: rgba(231, 76, 60, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.btn-view {
    padding: 12px 15px;
    font-size: 14px;
    margin-top: auto;
    display: block;
    width: 100%;
    text-align: center;
    background: var(--primary);
    color: var(--secondary);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-view:hover {
    background: #b8972e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.whatsapp-order {
    margin-top: 10px;
    background: #25d366;
    color: white;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    width: 100%;
    padding: 12px 15px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-order:hover {
    background: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.text-center {
    text-align: center;
}

/* Collections Section */
.collections {
    padding: 100px 0;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.collection-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--light);
}

.collection-title {
    font-size: 28px;
    margin-bottom: 10px;
}

.collection-desc {
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--light);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 5px;
    -ms-overflow-style: none; /* Hide scrollbar IE and Edge */
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.testimonials-slider::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome, Safari, Opera */
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.slider-prev, .slider-next {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-prev:hover, .slider-next:hover {
    background-color: var(--primary-dark);
}

.testimonial-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    flex: 0 0 300px;
    min-width: 300px;
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: var(--primary);
    opacity: 0.2;
    font-family: 'Playfair Display', serif;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background: var(--gray);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-role {
    color: #777;
    font-size: 14px;
}

/* Footer */
footer {
    background: var(--secondary);
    color: var(--light);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.footer-col h3 {
    font-size: 22px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-links .logout-link {
    color: var(--primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-links .logout-link:hover {
    color: var(--secondary);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 18px;
    min-width: 20px;
}

.newsletter p {
    margin-bottom: 20px;
    color: #aaa;
}

.newsletter-form {
    display: flex;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
}

.newsletter-form button {
    background: var(--primary);
    color: var(--secondary);
    border: none;
    border-radius: 0 30px 30px 0;
    padding: 0 20px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #b8972e;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #222;
    color: var(--light);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid #333;
    color: #777;
    font-size: 14px;
}

/* Shop Page */
.shop-header {
    padding: 150px 0 80px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1535632066927-ab7c9ab60908?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1374&q=80') center/cover;
    text-align: center;
    color: white;
}

.shop-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.shop-header p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Shop Page Styles */

/* Mobile filter toggle - hidden on desktop */
.mobile-filter-toggle {
    display: none;
}

.filters-header {
    display: none;
}

.filters-container {
    width: 100%;
}

/* Shop filters */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.filters select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    transition: var(--transition);
}

.filters select:hover {
    border-color: var(--primary);
}

.filter-option {
    flex: 1;
    min-width: 200px;
}

.filter-option label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.filter-option select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    transition: all 0.3s ease;
}

#reset-filters {
    margin-top: 26px; /* Aligns the button with the dropdowns */
    background: #f2f2f2;
    color: #333;
    border: 1px solid #ddd;
    font-size: 14px;
    padding: 10px 15px;
}

#reset-filters:hover {
    background: #e0e0e0;
    border-color: #ccc;
}

/* Animation for newly filtered products */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* WhatsApp Order Button */
.whatsapp-order {
    background-color: #25D366;
    color: white;
    border: none;
    margin-top: 10px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-order:hover {
    background-color: #128C7E;
    color: white;
}

.whatsapp-order:before {
    content: "\f232";
    font-family: "Font Awesome 5 Brands";
    margin-right: 8px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.page-link {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
}

.page-link:hover, .page-link.active {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
}

.pagination span.page-link {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 15px;
    background-color: transparent;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    cursor: default;
}

/* Authentication Pages (Login/Register) Styles */
.auth-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.auth-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 28px;
}

.auth-header p {
    color: #777;
    font-size: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--secondary);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-check-label {
    color: #555;
    cursor: pointer;
}

.error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--secondary);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #c19b2e;
    transform: translateY(-3px);
}

.auth-footer {
    margin-top: 30px;
    text-align: center;
}

.auth-footer p {
    margin: 8px 0;
    color: #555;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Alert messages */
.alert {
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 14px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Contact Page Styles */
.contact-page {
    padding: 120px 0 80px;
    background-color: #fff;
}

.contact-page h1 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-page-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info-section {
    flex: 1;
    padding: 40px;
    min-width: 300px;
}

.contact-form-section {
    flex: 1;
    padding: 40px;
    min-width: 300px;
    background: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-page h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-page p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    line-height: 1.6;
}

.contact-page ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.contact-page ul li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
}

.contact-page ul li:before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: 10px;
}

/* New contact list styling */
.contact-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.contact-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-text {
    font-size: 1rem;
    line-height: 1.5;
}

.contact-item:before {
    content: none;
}

.contact-page ul li a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-page ul li a:hover {
    text-decoration: underline;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

.form-row {
    margin-bottom: 20px;
    width: 100%;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    margin-bottom: 0;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    background-color: var(--primary);
    color: var(--secondary);
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background-color: #b8972e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-social {
    margin-top: 30px;
}

.contact-social h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #b8972e;
}

.contact-map {
    width: 100%;
    height: 400px;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-map-container {
    margin-top: 60px;
    width: 100%;
}

.contact-map-container h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Product Detail Page Styles */
.product-detail-section {
    padding: 60px 0;
    margin-top: 120px; /* Increased margin to prevent content from hiding under fixed navbar */
    background-color: #fcfcfc;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--primary);
    font-weight: 500;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding-bottom: 30px;
}

.product-images {
    position: relative;
}

.main-image {
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 0;
    background-color: #f9f9f9;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
    object-fit: cover;
}

.main-image:hover img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary);
    color: var(--secondary);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    letter-spacing: 1px;
    max-width: 70px; /* Control the maximum width of the badge */
    text-align: center;
}

/* Banner-style NEW badge */
.new-product-banner {
    background-color: var(--primary);
    color: var(--secondary);
    text-align: center;
    padding: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;
    width: 100%;
    border-radius: 30px;
    margin: 0 0 20px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.product-info {
    padding: 30px;
}

.product-category {
    color: var(--primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 500;
    display: inline-block;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 3px;
}

.product-name {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #222;
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 0;
    border-top: 1px dashed #eee;
    border-bottom: 1px dashed #eee;
}

.current-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.old-price {
    font-size: 20px;
    text-decoration: line-through;
    color: #999;
    margin-left: 15px;
    opacity: 0.7;
}

.discount-label {
    background-color: #ff6b6b;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
    margin-left: 10px;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(255, 107, 107, 0.3);
}

.product-description {
    margin-bottom: 30px;
    color: #555;
    line-height: 1.8;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    font-size: 15px;
    border-left: 3px solid var(--primary);
}

.product-meta {
    margin-bottom: 30px;
    padding: 15px 20px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #f0f0f0;
}

.in-stock {
    color: #2ecc71;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.in-stock::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #2ecc71;
    border-radius: 50%;
    margin-right: 8px;
}

.out-of-stock {
    color: #e74c3c;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.out-of-stock::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #e74c3c;
    border-radius: 50%;
    margin-right: 8px;
}

.product-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #eee;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
    background: white;
}

.qty-btn {
    width: 42px;
    height: 50px;
    border: none;
    background: white;
    cursor: pointer;
    transition: var(--transition);
    font-size: 18px;
    color: var(--dark);
}

.qty-btn:hover {
    background: var(--primary);
    color: var(--secondary);
}

#product-quantity {
    width: 50px;
    height: 50px;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    background: white;
}

.whatsapp-order {
    margin-top: 8px;
    background-color: #25D366;
    color: #fff;
    font-size: 13px;
    display: block;
    width: 100%;
    text-align: center;
}

.whatsapp-order:hover {
    background-color: #128C7E;
}

.whatsapp-order::before {
    content: "\f232";
    font-family: "Font Awesome 6 Brands";
    margin-right: 8px;
    font-size: 16px;
}

.social-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.social-share span {
    font-weight: 600;
    color: #444;
    letter-spacing: 0.5px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    font-size: 18px;
}

.social-icon:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.related-products {
    padding: 80px 0;
    background-color: #fcfcfc;
    margin-top: 50px;
    border-top: 1px solid #eee;
}

.related-products h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-size: 34px;
    color: #222;
    font-weight: 700;
}

.related-products h2::after {
    content: "";
    height: 4px;
    width: 80px;
    background-color: var(--primary);
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.small-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* You May Also Like section styling */
.related-products .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-products .product-card {
    height: auto;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.related-products .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.related-products .product-image {
    height: 180px;
    border-radius: 0;
}

.related-products .product-category {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.related-products .product-name {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
    height: auto;
    line-height: 1.3;
}

.related-products .product-price {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.related-products .current-price {
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.related-products .old-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.related-products .discount {
    background-color: #e74c3c;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.related-products .btn {
    margin-top: 5px;
    padding: 10px 20px;
    width: 100%;
}

.related-products .btn-view {
    background-color: var(--primary);
    border: none;
    margin-bottom: 8px;
}

.related-products .whatsapp-order {
    background-color: #25d366;
    color: white;
}

/* Product Features Section */
.product-features {
    margin-bottom: 30px;
}

.product-features h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.product-features h4:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.product-features li i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 16px;
}

.shipping-info {
    margin-top: 10px;
    color: #666;
    display: flex;
    align-items: center;
}

.shipping-info i {
    color: var(--primary);
    margin-right: 10px;
}

/* Small grid for related products */
.products-grid.small-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.small-grid .product-card {
    height: 380px;
}

.small-grid .product-image {
    height: 180px;
}

.small-grid .product-name {
    font-size: 16px;
    height: 42px;
}

/* Responsive adjustments for products grid */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for tablets */
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile landscape */
        gap: 20px;
    }
    
    .product-card {
        height: 400px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .related-products .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-products h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(1, 1fr); /* Single column for small mobile */
        gap: 15px;
    }
    
    .product-card {
        height: 340px;
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-name {
        font-size: 16px;
        height: 40px;
    }
    
    .current-price {
        font-size: 18px;
    }
    
    .related-products .products-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
    }
    
    .related-products .product-image {
        height: 200px;
    }
    
    .related-products h2 {
        font-size: 24px;
        margin-bottom: 25px;    }
    
    .old-price {
        font-size: 14px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        padding: 0 0 20px 0;
    }
    
    .product-info {
        padding: 25px;
    }
    
    .small-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-name {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .product-actions {
        flex-direction: column;
    }
    
    .quantity-selector {
        width: 100%;
    }
    
    .product-description {
        padding: 15px;
        font-size: 14px;
    }
    
    .related-products h2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .product-name {
        font-size: 26px;
    }
    
    .current-price {
        font-size: 28px;
    }
    
    .old-price {
        font-size: 18px;
    }
    
    .small-grid {
        grid-template-columns: 1fr;
    }
    
    .product-info {
        padding: 20px 15px;
    }
    
    .social-share {
        flex-wrap: wrap;
    }
}

/* Responsive styling */
@media (max-width: 768px) {
    .auth-card {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .contact-page-container {
        flex-direction: column;
    }
    
    .contact-info-section,
    .contact-form-section {
        padding: 30px;
    }
    
    .contact-page h1 {
        font-size: 2rem;
    }
    
    .contact-page h2 {
        font-size: 1.5rem;
    }
}

/* Responsive adjustments for fixed header */
@media (max-width: 768px) {
    .page-content,
    .product-detail-section {
        margin-top: 100px; /* Increased spacing for mobile */
    }
    
    header {
        padding: 8px 0; /* Slightly smaller header on mobile */
    }
}

@media (max-width: 576px) {
    .breadcrumb {
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    .product-name {
        font-size: 28px;
    }
}

/* Responsive Navbar Styles */
@media (max-width: 992px) {
    .mobile-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: white;
        transition: 0.3s ease;
        overflow-y: auto;
        z-index: 1001;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    nav ul li a {
        display: block;
        padding: 10px 0;
        font-size: 16px;
    }
    
    .nav-icons {
        margin-left: auto;
    }
    
    /* Add dark overlay when mobile menu is active */
    .overlay {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
    }
    
    .overlay.active {
        display: block;
    }
}

/* Product Detail Page Animation Effects */
.product-detail-section .container {
    animation: fadeIn 0.8s ease-in-out;
}

.product-detail-wrapper .product-info > * {
    animation: slideUp 0.5s ease-in-out forwards;
    opacity: 0;
}

.product-category {
    animation-delay: 0.1s;
}

.product-name {
    animation-delay: 0.2s;
}

.product-price {
    animation-delay: 0.3s;
}

.product-description {
    animation-delay: 0.4s;
}

.product-features {
    animation-delay: 0.5s;
}

.product-meta {
    animation-delay: 0.6s;
}

.product-actions {
    animation-delay: 0.7s;
}

.social-share {
    animation-delay: 0.8s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional responsive styles for product page */
@media (max-width: 767px) {
    .new-product-banner {
        font-size: 12px;
        padding: 6px;
        margin-bottom: 15px;
    }
    
    .breadcrumb {
        margin-bottom: 20px;
    }
    
    .product-detail-section {
        padding-top: 30px;
    }
}

@media (max-width: 480px) {
    .product-badge {
        left: 10px;
        top: 10px;
        padding: 3px 10px;
        font-size: 10px;
    }
    
    .product-category {
        font-size: 12px;
    }
    
    .breadcrumb {
        padding-bottom: 8px;
    }
}

/* Product item styling for products.html */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 35px;
}

.product-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 320px;
    display: flex;
    flex-direction: column;
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.product-item h3 {
    font-size: 16px;
    padding: 10px 15px 5px;
    margin: 0;
    height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-item p {
    padding: 0 15px 15px;
    margin: 0;
    font-weight: 600;
    color: var(--primary);
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-item:hover img {
    transform: scale(1.05);
}

/* Contact Us button styling */
nav ul li a.contact-btn {
    background-color: #800020;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

nav ul li a.contact-btn:hover {
    background-color: #9a0026;
}

nav ul li a.contact-btn:after {
    display: none;
}

/* Feature Card */
.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    margin-left: 30px;
}

/* Shop Page Styles */

/* Mobile filter toggle - hidden on desktop */
.mobile-filter-toggle {
    display: none;
}

.filters-header {
    display: none;
}

.filters-container {
    width: 100%;
}

/* Shop filters */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.filters select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    transition: var(--transition);
}

.filters select:hover {
    border-color: var(--primary);
}

.filter-option {
    flex: 1;
    min-width: 200px;
}

.filter-option label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.filter-option select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    transition: all 0.3s ease;
}

#reset-filters {
    margin-top: 26px; /* Aligns the button with the dropdowns */
    background: #f2f2f2;
    color: #333;
    border: 1px solid #ddd;
    font-size: 14px;
    padding: 10px 15px;
}

#reset-filters:hover {
    background: #e0e0e0;
    border-color: #ccc;
}

/* Animation for newly filtered products */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* WhatsApp Order Button */
.whatsapp-order {
    background-color: #25D366;
    color: white;
    border: none;
    margin-top: 10px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-order:hover {
    background-color: #128C7E;
    color: white;
}

.whatsapp-order:before {
    content: "\f232";
    font-family: "Font Awesome 5 Brands";
    margin-right: 8px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.page-link {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
}

.page-link:hover, .page-link.active {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
}

.pagination span.page-link {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 15px;
    background-color: transparent;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    cursor: default;
}

/* Authentication Pages (Login/Register) Styles */
.auth-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.auth-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 28px;
}

.auth-header p {
    color: #777;
    font-size: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--secondary);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-check-label {
    color: #555;
    cursor: pointer;
}

.error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--secondary);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #c19b2e;
    transform: translateY(-3px);
}

.auth-footer {
    margin-top: 30px;
    text-align: center;
}

.auth-footer p {
    margin: 8px 0;
    color: #555;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Alert messages */
.alert {
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 14px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Contact Page Styles */
.contact-page {
    padding: 120px 0 80px;
    background-color: #fff;
}

.contact-page h1 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-page-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info-section {
    flex: 1;
    padding: 40px;
    min-width: 300px;
}

.contact-form-section {
    flex: 1;
    padding: 40px;
    min-width: 300px;
    background: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-page h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-page p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    line-height: 1.6;
}

.contact-page ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.contact-page ul li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
}

.contact-page ul li:before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: 10px;
}

/* New contact list styling */
.contact-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.contact-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-text {
    font-size: 1rem;
    line-height: 1.5;
}

.contact-item:before {
    content: none;
}

.contact-page ul li a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-page ul li a:hover {
    text-decoration: underline;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

.form-row {
    margin-bottom: 20px;
    width: 100%;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    margin-bottom: 0;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    background-color: var(--primary);
    color: var(--secondary);
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background-color: #b8972e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-social {
    margin-top: 30px;
}

.contact-social h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #b8972e;
}

.contact-map {
    width: 100%;
    height: 400px;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-map-container {
    margin-top: 60px;
    width: 100%;
}

.contact-map-container h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Product Detail Page Styles */
.product-detail-section {
    padding: 60px 0;
    margin-top: 120px; /* Increased margin to prevent content from hiding under fixed navbar */
    background-color: #fcfcfc;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--primary);
    font-weight: 500;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding-bottom: 30px;
}

.product-images {
    position: relative;
}

.main-image {
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 0;
    background-color: #f9f9f9;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
    object-fit: cover;
}

.main-image:hover img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary);
    color: var(--secondary);
    font-size: 12px;
}