/* Frontend Shop Styles */

:root {
    --front-main-color: #3b82f6;
    --front-main-rgb: 59, 130, 246;
}

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

/* Extended Margin Utilities */
.mt-1 { margin-top: 4px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 12px !important; }
.mt-4 { margin-top: 16px !important; }
.mt-5 { margin-top: 20px !important; }
.mt-6 { margin-top: 24px !important; }
.mt-7 { margin-top: 28px !important; }
.mt-8 { margin-top: 32px !important; }
.mt-9 { margin-top: 36px !important; }
.mt-10 { margin-top: 40px !important; }
.mt-11 { margin-top: 44px !important; }
.mt-12 { margin-top: 48px !important; }
.mt-13 { margin-top: 52px !important; }
.mt-14 { margin-top: 56px !important; }
.mt-16 { margin-top: 64px !important; }
.mt-20 { margin-top: 80px !important; }
.mt-24 { margin-top: 96px !important; }
.mt-28 { margin-top: 112px !important; }
.mt-32 { margin-top: 128px !important; }

/* Extended Margin Bottom Utilities */
.mb-10 { margin-bottom: 40px !important; }
.mb-12 { margin-bottom: 48px !important; }
.mb-16 { margin-bottom: 64px !important; }
.mb-20 { margin-bottom: 80px !important; }

/* Extended Padding Utilities */
.pt-10 { padding-top: 40px !important; }
.pt-12 { padding-top: 48px !important; }
.pt-16 { padding-top: 64px !important; }
.pt-20 { padding-top: 80px !important; }

.pb-10 { padding-bottom: 40px !important; }
.pb-12 { padding-bottom: 48px !important; }
.pb-16 { padding-bottom: 64px !important; }
.pb-20 { padding-bottom: 80px !important; }

html {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff !important;
    background: #ffffff !important;
}

main {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.top-bar {
    background: #2563EB;
    color: white;
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

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

.contact-info {
    display: flex;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.header {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563EB;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1rem;
}

/* Front Header Logo Image Styles */
.front-logo {
    max-height: 90px;
    height: 90px; /* Force height for SVGs */
    width: auto;
    min-width: 140px; /* Ensure minimum width */
    object-fit: contain;
    max-width: 280px;
    transition: opacity 0.3s ease;
    display: block;
}

.front-logo:hover {
    opacity: 0.8;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #2563EB;
}

/* Search Toggle Button */
.search-toggle {
    display: flex;
    align-items: center;
}

.search-btn {
    background: none;
    border: none;
    color: #374151;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: #F3F4F6;
    color: #2563EB;
}

.search-btn i {
    font-size: 1.25rem;
}

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 100;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease;
    opacity: 0;
}

.search-dropdown.active {
    max-height: 350px;
    opacity: 1;
}

.search-dropdown-content {
    padding: 1.5rem 0;
}

.search-input-wrapper {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

.search-input-expanded {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    outline: none;
    transition: all 0.15s ease-in-out;
    background: white;
    color: #111827;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.search-input-expanded:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    background: white;
}

.search-input-expanded::placeholder {
    color: #9ca3af;
}

.search-submit-btn {
    background: #3b82f6;
    color: white;
    border: 1px solid #3b82f6;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.search-submit-btn:hover {
    background: #2563eb;
    border-color: #2563eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.search-submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.search-suggestions {
    margin-top: 1rem;
}

.suggestion-category h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.suggestion-tag {
    background: #f8fafc;
    color: #475569;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    display: inline-block;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.suggestion-tag:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: #2563EB;
    color: white;
}

.btn-primary:hover {
    background: #1D4ED8;
}

.btn-secondary {
    background: transparent;
    color: #2563EB;
    border: 2px solid #2563EB;
}

.btn-secondary:hover {
    background: #2563EB;
    color: white;
}

.cart-btn {
    position: relative;
    background: none;
    border: none;
    color: #374151;
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    padding: 0.5rem;
}

.cart-btn:hover {
    color: #2563EB;
    text-decoration: none;
}

.cart-badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: #F97316;
    color: white;
    font-size: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    background: #ffffff;
    padding: 4rem 0;
    height: 800px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text .highlight {
    color: #2563EB;
}

.hero-text p {
    font-size: 1.25rem;
    color: #6B7280;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-item .icon {
    margin-bottom: 0.5rem;
}

.hero-image {
    position: relative;
}

.hero-card {
    background: white;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: rotate(2deg);
    transition: transform 0.3s;
}

.hero-card:hover {
    transform: rotate(0deg);
}

.hero-card img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    border-radius: 0.5rem;
    min-height: 40vh;
}

.price-badge {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    background: #F97316;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: bold;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.no-min-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: #10B981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: bold;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Trust Bar */
.trust-bar {
    background: white;
    border-top: 1px solid #E5E7EB;
    padding: 2rem 0;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    opacity: 0.6;
}

.trust-stat h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #9CA3AF;
}

.trust-stat p {
    font-size: 0.875rem;
    color: #6B7280;
}

/* Product Categories */
.categories {
    padding: 5rem 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #6B7280;
    max-width: 48rem;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.category-image {
    position: relative;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-price {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #F97316;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.category-content {
    padding: 1.5rem;
}

.category-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.5rem;
}

.category-content p {
    color: #6B7280;
    margin-bottom: 1rem;
}

.shop-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    border: none;
    font-size: 0.875rem;
    transition: all 0.3s;
    cursor: pointer;
    /* Fallback colors (overridden by inline styles from admin) */
    background-color: #593193;
    color: #ffffff;
}

.shop-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0.9;
}

.shop-link-outlined {
    background: transparent !important;
}

.shop-link-outlined:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0.9;
}

/* Category Shop Button - New approach with no conflicting styles */
.category-shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Base styles only - colors set via inline styles */
}

.category-shop-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    opacity: 0.9 !important;
}

.btn-outlined {
    background: transparent !important;
    border: 2px solid #3b82f6 !important;
    color: #3b82f6 !important;
}

.btn-outlined:hover {
    background: #3b82f6 !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    border-radius: 1rem;
    background: #F9FAFB;
    text-align: center;
    transition: all 0.3s;
}

.service-card:hover {
    background: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.service-icon {
    display: inline-flex;
    padding: 1rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6B7280;
}

.cta-section {
    background: transparent;
    border-radius: 0;
    padding: 3rem;
    text-align: center;
    color: white;
    margin: 0;
}

.cta-section h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Best Sellers Section */
.best-sellers {
    padding: 5rem 0;
    background: white;
}


.tab-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0.5rem;
    background: #F9FAFB;
    border-radius: 0.75rem;
}

.tab-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-button:hover {
    background: #F3F4F6;
    color: #374151;
}

.tab-button.active {
    background: white;
    color: #111827;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-content {
    display: none;
    margin-top: 2rem;
}

.tab-content.active {
    display: block;
}

.best-sellers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.bestseller-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bestseller-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.bestseller-link {
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bestseller-image {
    position: relative;
    width: 100%;
    height: 16rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F9FAFB;
}

.bestseller-image .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.bestseller-card:hover .product-img {
    transform: scale(1.1);
}

.bestseller-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    color: white;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.bestseller-badge.top-seller {
    background: #10B981;
}

.bestseller-badge.staff-favorite {
    background: #2563EB;
}

.bestseller-badge.eco-friendly {
    background: #10B981;
    color: #065F46;
    background: #D1FAE5;
}

.bestseller-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bestseller-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.4;
}

.color-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
}

.color-swatch {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.375rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.color-swatch:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px #2563eb, 0 4px 8px rgba(0, 0, 0, 0.15);
}

.color-count {
    font-size: 0.875rem;
    color: #6B7280;
    margin-left: 0.5rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-rating .stars {
    color: #FCD34D;
    font-size: 0.875rem;
}

.review-count {
    font-size: 0.875rem;
    color: #6B7280;
}

.product-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6B7280;
}

.separator {
    color: #D1D5DB;
}

.product-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-pricing .price {
    font-size: 0.875rem;
    color: #111827;
}

.info-btn {
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: color 0.2s;
}

.info-btn:hover {
    color: #2563EB;
}

.order-now-btn {
    width: 100%;
    background: #2563EB;
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.order-now-btn:hover {
    background: #1D4ED8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.order-now-btn:active {
    transform: translateY(0);
}

/* Featured Products */
.featured {
    padding: 5rem 0;
    background: #ffffff;
}

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

.product-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

.product-image img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-bestseller { background: #10B981; }
.badge-premium { background: #8B5CF6; }

.badge-new { background: #2563EB; }
.badge-popular { background: #F97316; }
.badge-featured { background: #F59E0B; }

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stars {
    color: #FCD34D;
}

.rating-text {
    font-size: 0.875rem;
    color: #6B7280;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.current-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
}

.original-price {
    font-size: 0.875rem;
    color: #6B7280;
    text-decoration: line-through;
}

.product-colors {
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 1rem;
}

.customize-btn {
    width: 100%;
    background: #2563EB;
    color: white;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.customize-btn:hover {
    background: #1D4ED8;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #F9FAFB;
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
}

.testimonial-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.quote-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #2563EB;
    opacity: 0.2;
    font-size: 2rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.testimonial-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

.testimonial-info .role {
    color: #6B7280;
    font-size: 0.875rem;
}

.testimonial-info .company {
    color: #9CA3AF;
    font-size: 0.875rem;
}

.testimonial-rating {
    display: flex;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #374151;
    font-style: italic;
}

.rating-summary {
    text-align: center;
    margin-top: 3rem;
}

.rating-display {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #F0FDF4;
    padding: 2rem;
    border-radius: 0.5rem;
}

.rating-stars {
    display: flex;
    color: #FCD34D;
}

.rating-score {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111827;
}

.rating-count {
    color: #6B7280;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: #D1D5DB;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    color: #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 2.9rem;
    height: 2.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: rgba(208, 199, 199, 0.2);
}

.social-links a i {
    font-size: 1.5rem;
}

.social-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-icon {
    color: #60A5FA;
}

.business-hours {
    background: #1F2937;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
}

.business-hours h5 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.hours-item .day {
    font-weight: 500;
    color: #F3F4F6;
    min-width: 4.5rem;
    text-align: left;
}

.hours-item .time {
    color: #D1D5DB;
    text-align: right;
    flex: 1;
}

.business-hours div {
    font-size: 0.875rem;
    color: #D1D5DB;
}

.newsletter {
    background: #1F2937;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    margin: 3rem 0;
}

.newsletter h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.newsletter p {
    color: #D1D5DB;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    max-width: 24rem;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    background: #374151;
    color: white;
    outline: none;
}

.newsletter-input::placeholder {
    color: #9CA3AF;
}

.newsletter-btn {
    background: #2563EB;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-btn:hover {
    background: #1D4ED8;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 1.5rem 0;
}

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

.copyright {
    color: #9CA3AF;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.version-info {
    background: rgba(255, 255, 255, 0.1);
    color: #D1D5DB;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Utility Classes */
.text-center { text-align: center; }
.hidden { display: none; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.mb-4 { margin-bottom: 1rem; }

/* Mobile Styles */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .front-logo {
        max-height: 70px;
        height: 70px; /* Force height for mobile SVGs */
        min-width: 100px; /* Minimum width for mobile */
        max-width: 180px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        height: auto;
        min-height: 90vh;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-actions, .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .contact-info {
        display: none;
    }
}

/* Products Catalogue Section */
.products-catalogue-section {
    padding: 1rem 0;
    background-color: #f3f4f6;
}

.products-catalogue-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.products-catalogue-section .section-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.products-catalogue-section .section-header p {
    font-size: 1.1rem;
    color: #dcddde;
    max-width: 600px;
    margin: 0 auto;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-buttons {
    display: flex;
    gap: 0.5rem;
    background: #f3f4f6;
    padding: 0.25rem;
    border-radius: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    border-radius: 0.5rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.tab-btn:hover {
    color: #374151;
    background: rgba(255, 255, 255, 0.5);
}

.tab-btn.active {
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: #f9fafb;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Product Image and Title Links */
.product-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-title-link:hover {
    text-decoration: none;
    color: #2563eb;
}

.product-image-link:hover {
    text-decoration: none;
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    color: #9ca3af;
}

.image-placeholder i {
    font-size: 2rem;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Ensure catalogue product cards have proper padding */
.products-catalogue-section .product-info,
.products-grid .product-info {
    padding: 10px !important;
}

.product-name,
.product-card .product-name,
.product-info .product-name,
h4.product-name {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.5 !important;
    padding: 0.5rem 0.75rem !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    display: block !important;
    background: transparent !important;
    border: none !important;
    box-sizing: border-box !important;
    width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
}

.product-colours,
.product-sizes,
.product-quantity {
    margin-bottom: 0.375rem !important;
    padding: 0 0.75rem !important;
}

.product-colours .label,
.product-sizes .label,
.product-quantity .label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    margin-right: 0.5rem;
}

/* Colour Swatches ####*/
.colour-swatches {
    display: inline-flex;
    gap: 0.375rem;
    align-items: center;
}

.colour-swatch {
    width: 28px;
    height: 28px;
    border-radius: 0.375rem;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.colour-swatch:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px #2563eb;
}

.more-colours {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    margin-left: 0.5rem;
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.more-colours:hover {
    background: #2563eb;
    color: white;
    transform: scale(1.05);
}

/* Size Badges */
.size-list {
    display: inline-flex;
    gap: 0.375rem;
    flex-wrap: wrap;
    align-items: center;
}

.size-badge {
    padding: 0.375rem 0.75rem;
    background: #f1f5f9;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    min-width: 2.5rem;
    text-align: center;
}

.size-badge:hover {
    background: #2563eb;
    color: white;
    transform: scale(1.05);
    border-color: #2563eb;
}

.more-sizes {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    margin-left: 0.5rem;
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.more-sizes:hover {
    background: #2563eb;
    color: white;
    transform: scale(1.05);
}

.product-quantity .quantity {
    font-weight: 600;
    color: #1f2937;
}

/* Product Card Footer */
.product-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

/* Product Price */
.product-price {
    margin: 0 0 1rem 0;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    justify-content: center;
}

.price-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
}

.price-unit {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Product Button */
.product-btn {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--front-main-color);
    text-align: center;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid;
    margin: 0;
}

.product-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Products Placeholder */
.products-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.placeholder-icon {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.products-placeholder h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.products-placeholder > p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.placeholder-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.placeholder-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.placeholder-features .feature i {
    color: #059669;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .products-catalogue-section {
        padding: 3rem 0;
    }

    .products-catalogue-section .section-header h3 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tab-buttons {
        gap: 0.25rem;
        padding: 0.125rem;
    }

    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .placeholder-features {
        flex-direction: column;
        gap: 1rem;
    }

    .product-info {
        padding: 1rem;
    }

    /* Override for product details page */
    .product-details-section .product-info {
        padding: 0 16px !important;
    }

    .product-name,
    .product-card .product-name,
    .product-info .product-name,
    h4.product-name {
        font-size: 1.1rem !important;
        padding: 0.375rem 0.5rem !important;
        line-height: 1.5 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
    }
}

@media (max-width: 480px) {
    .products-catalogue-section .section-header h3 {
        font-size: 1.75rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 200px;
        text-align: center;
    }
}

/* Product Details Page Styles */
.product-details-section {
    padding: 2rem 0 4rem;
    background: #ffffff !important;
    background-color: #ffffff !important;
    min-height: 100vh;
}

/* Design Upload Styles */
.design-upload-area {
    margin-top: 1rem;
}

.upload-dropzone {
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
    border-color: #60a5fa;
    background-color: #eff6ff;
}

.upload-dropzone i {
    font-size: 2.5rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.upload-dropzone p {
    margin: 0.5rem 0;
    color: #4b5563;
}

.upload-dropzone small {
    display: block;
    color: #6b7280;
    margin-top: 0.5rem;
}

.uploaded-files {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.uploaded-file-preview {
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.5rem;
    background-color: #ffffff;
}

.uploaded-file-preview img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    border-radius: 0.25rem;
    background-color: #f9fafb;
}

.uploaded-file-preview i.bi-file-earmark-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    font-size: 2rem;
    color: #6b7280;
    background-color: #f9fafb;
    border-radius: 0.25rem;
}

.file-info {
    margin-top: 0.5rem;
}

.file-name {
    display: block;
    font-size: 0.875rem;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
}

.remove-file {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: #ef4444;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remove-file:hover {
    background-color: #dc2626;
}

.remove-file i {
    font-size: 1rem;
}

/* Force white background on viewport and common containers */
.min-h-screen {
    background-color: #ffffff !important;
}

/* Override any Tailwind default backgrounds */
.bg-default-50,
.bg-slate-50,
.bg-gray-50,
.bg-blue-50,
.bg-sky-50 {
    background-color: #ffffff !important;
}

/* Breadcrumb */
.breadcrumb-nav {
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.breadcrumb-nav a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
    color: #1d4ed8;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #d1d5db;
}

.current {
    color: #374151;
    font-weight: 500;
}

/* Product Details Grid */
.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.main-image-container {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    background: #f9fafb;
}

.main-product-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.main-product-image.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    color: #9ca3af;
    border: 2px dashed #d1d5db;
    border-radius: 1rem;
}

.main-product-image.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.main-product-image.image-placeholder p {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.image-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.5rem;
    padding: 1rem;
    display: none;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #f3f4f6;
    border-top: 3px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.image-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: calc(7 * (80px + 0.5rem) - 0.5rem); /* 7 thumbnails per row */
    overflow-x: visible;
    padding-bottom: 0.5rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.thumbnail:hover {
    border-color: #2563eb;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Product Details Page - Product Info */
.product-details-section .product-info {
    padding: 0 16px !important;
    margin: 0;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.2;
    width: 100%;
    text-align: left;
}

.product-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: #f3f4f6 !important;
    border-radius: 0.5rem;
    color: #374151 !important;
    font-weight: 500;
    width: 100%;              /* Changed: From fit-content to full width */
    justify-content: flex-start; /* Added: Left alignment */
}

/* Override any Tailwind or other CSS that might be applying sky-900 (#0c4a6e) */
.product-details-section .product-category,
.product-details-section .product-category * {
    color: #374151 !important;
    background-color: #f3f4f6 !important;
}

.product-description {
    margin-bottom: 2rem;
}

.product-description p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 1rem;
}

/* Product Pricing */
.product-pricing {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f0fdf4;
    border-radius: 1rem;
    border: 1px solid #bbf7d0;
    width: 100%;
    text-align: left;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    justify-content: flex-start;
    width: 100%;
}

.price-label {
    font-size: 0.875rem;
    color: #065f46;
    font-weight: 500;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #059669;
}

.price-unit {
    font-size: 0.875rem;
    color: #065f46;
}

.price-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #065f46;
}

/* Product Options */
.product-option-group {
    margin-bottom: 0.7rem;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid #f3f4f6;
    width: 100%;
    text-align: left;
}

.product-option-group:last-of-type {
    border-bottom: none;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 1rem;
}

/* Color Selector */
.color-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Product Details Color Swatch - Main Definition */
.product-details-section .color-swatch,
.color-option .color-swatch {
    width: 32px !important;
    height: 32px !important;
    border-radius: 0.375rem;
    border: 2px solid #e5e7eb;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.color-option:hover .color-swatch {
    border-color: #9ca3af;
    transform: scale(1.05);
}

.color-option.active .color-swatch {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    transform: scale(1.1);
}

/* Add check mark to selected color using SVG */
.color-option.active .color-swatch::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"></path></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.color-name {
    display: none;
}

.color-option.active .color-name {
    display: none;
}

/* Size and Quantity Selector */
.size-quantity-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    width: 100%;
}

.size-quantity-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #ffffff;
    transition: all 0.2s ease;
    width: 100%;
}

.size-quantity-option:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.size-quantity-option.active {
    border-color: #2563eb;
    background: #eff6ff;
}

.size-info {
    display: flex;
    justify-content: flex-start;
    flex: 1;
    min-width: 0;
}

.size-name {
    font-weight: 600;
    font-size: 1.125rem;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.size-min-qty {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 400;
}

.size-total-price {
    font-size: 1.125rem;
    color: #6b7280;
    font-weight: 600;
    transition: color 0.2s ease;
    text-align: right;
    flex-shrink: 0;
    min-width: 80px;
}

.size-quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.size-qty-btn {
    background: #f9fafb;
    border: none;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-qty-btn:hover {
    background: #f3f4f6;
    color: #2563eb;
}

.size-qty-input {
    border: none;
    outline: none;
    padding: 0.5rem;
    text-align: center;
    width: 60px;
    font-weight: 500;
    background: #ffffff;
    font-size: 0.875rem;
}

/* Material Selector */
.material-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.material-option {
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #ffffff;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 120px;
}

.material-option:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.material-option.active {
    border: 4px solid #2563eb;
    background: #eff6ff;
    color: #2563eb;
}

.material-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.material-option.active .material-name {
    font-weight: 700;
    font-size: 1rem;
}

.material-description {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.3;
}

.material-option.active .material-description {
    color: #1d4ed8;
}

/* Printing Method Selector */
.method-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.method-option {
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #ffffff;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 140px;
}

.method-option:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.method-option.active {
    border: 4px solid #2563eb;
    background: #eff6ff;
    color: #2563eb;
}

.method-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.method-description {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.3;
}

.method-cost {
    font-size: 0.75rem;
    color: #059669;
    font-weight: 600;
}

.method-option.active .method-description {
    color: #1d4ed8;
}

/* Impressions/Locations Selector */
.impressions-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
    max-width: 300px;
}

.impression-option {
    aspect-ratio: 1;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.25rem;
    position: relative;
    overflow: hidden;
}

.impression-option:hover {
    border-color: #1d4ed8 !important;
    background: #dbe5f2 !important;
}

.impression-option.active {
    background: #b6cce9 !important;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2) !important;
}

/* Impression images are now in the main gallery, no longer needed here */

.impression-name {
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.1;
}

.impression-option.active .impression-name {
    font-size: 0.9rem;
    font-weight: 700;
}

.impression-cost {
    font-size: 0.8rem;
    color: #059669;
    font-weight: 700;
    text-align: center;
}
.impression-option.active .impression-cost {
    font-size: 0.9rem;
    font-weight: 700;
}

.impression-checkbox {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 1rem;
    height: 1rem;
    background: #1d4ed8 !important;
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.impression-option.active .impression-checkbox {
    display: flex;
}



/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.qty-btn {
    background: #f9fafb;
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #f3f4f6;
    color: #2563eb;
}

.qty-input {
    border: none;
    outline: none;
    padding: 0.75rem;
    text-align: center;
    width: 80px;
    font-weight: 500;
    background: #ffffff;
}

.quantity-note,
.selected-option {
    font-size: 1rem;
    color: #6b7280;
}

.selected-option {
    font-weight: 500;
}

.selected-option span:last-child {
    color: #2563eb;
    font-weight: 600;
}

/* Selected Color Display */
.selected-color-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.selected-color-swatch {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.selected-color-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.selected-color-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.selected-color-text #selectedColorName {
    font-size: 0.875rem;
    color: #2563eb;
    font-weight: 600;
}

/* Product Actions */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    width: 100%;
}

.btn-add-to-cart,
.btn-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    width: 100%;
}

.btn-add-to-cart {
    background: #2563eb;
    color: #ffffff;
    border: 2px solid #2563eb;
}

.btn-add-to-cart:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-add-to-cart.success {
    background: #059669;
    border-color: #059669;
}

.btn-quote {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-quote:hover {
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Quantity Pricing uses the existing tier-pricing styles */

/* Product Features */
.product-features {
    margin-bottom: 3rem;
    width: 100%;
    text-align: left;
}

.product-features h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

/* Product Description */
.product-description {
    margin-bottom: 3rem;
}

.product-description h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.product-description .description-content {
    color: #6b7280;
    line-height: 1.6;
    font-size: 1rem;
}

.product-description .description-content p {
    margin-bottom: 1rem;
}

/* Selection Summary Popup */
.selection-summary-popup {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%) translateX(-320px);
    width: 350px;
    max-height: 80vh;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: none;
    border-radius: 0 1rem 1rem 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.selection-summary-popup.open {
    transform: translateY(-50%) translateX(0);
}

.summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.summary-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.summary-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    color: #6b7280;
}

.summary-toggle:hover {
    background: #e5e7eb;
    color: #374151;
}

.summary-content {
    padding: 1.5rem;
    max-height: calc(80vh - 80px);
    overflow-y: auto;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.summary-label {
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.summary-value {
    font-weight: 600;
    color: #111827;
    font-size: 0.875rem;
    text-align: right;
    max-width: 60%;
    word-wrap: break-word;
}

.summary-section {
    margin: 1.5rem 0;
    padding-top: 1rem;
    border-top: 2px solid #f3f4f6;
}

.summary-section-title {
    font-weight: 600;
    color: #111827;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.summary-sizes-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-size-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.summary-size-name {
    font-weight: 500;
    color: #374151;
}

.summary-size-qty {
    color: #6b7280;
    font-size: 0.875rem;
}

.summary-size-price {
    font-weight: 600;
    color: #059669;
}

.summary-totals {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e5e7eb;
}

.summary-subtotal,
.summary-additional-costs {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.summary-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-add-to-cart,
.summary-get-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.summary-add-to-cart {
    background: #2563eb;
    color: #ffffff;
}

.summary-add-to-cart:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.summary-get-quote {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.summary-get-quote:hover {
    background: #2563eb;
    color: #ffffff;
}

/* Floating Summary Button */
.floating-summary-btn {
    position: fixed;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 0.75rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 80px;
}

.floating-summary-btn:hover {
    background: #1d4ed8;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4);
}

.floating-summary-btn i {
    font-size: 1.25rem;
}

.floating-btn-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
}

.floating-btn-count {
    background: #ffffff;
    color: #2563eb;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.features-list li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #374151;
    width: 100%;
}

.features-list i {
    color: #059669;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Tier Pricing */
.tier-pricing {
    background: #f9fafb;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 3rem;
    width: 100%;
    text-align: left;
}

.tier-pricing h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.pricing-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.pricing-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #e5e7eb;
    border-radius: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
}

.pricing-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border-radius: 0.5rem;
    border: 1px solid #f3f4f6;
    font-size: 0.875rem;
}

.pricing-row span:first-child {
    color: #6b7280;
}

.pricing-row span:last-child {
    color: #059669;
    font-weight: 600;
}

/* Related Products */
.related-products-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid #f3f4f6;
}

.related-products-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    text-align: center;
    margin-bottom: 2rem;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-product-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.related-product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f9fafb;
    position: relative;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.related-product-image .image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #9ca3af;
}

.related-product-image .image-placeholder i {
    font-size: 2rem;
}

.related-product-info {
    padding: 1rem;
}

.related-product-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.related-product-price {
    font-size: 0.875rem;
    color: #059669;
    font-weight: 600;
}

/* Responsive Design for Product Details */
@media (max-width: 1024px) {
    .product-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-gallery {
        position: static;
    }

    .main-product-image {
        height: 450px;
    }

    .product-actions {
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .product-details-section {
        padding: 1rem 0 2rem;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 1.5rem;
    }

    .color-selector,
    .size-selector {
        gap: 0.5rem;
    }

    .product-details-section .color-swatch,
    .color-option .color-swatch {
        width: 32px !important;
        height: 32px !important;
        border-radius: 0.375rem;
    }

    .size-option {
        padding: 0.5rem 1rem;
        min-width: 2.5rem;
    }

    .btn-add-to-cart,
    .btn-quote {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .image-thumbnails {
        max-width: calc(6 * (80px + 0.5rem) - 0.5rem); /* 6 thumbnails per row on tablet */
    }

    .impressions-selector {
        grid-template-columns: repeat(5, 1fr);
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .breadcrumb-nav {
        font-size: 0.75rem;
    }

    .product-title {
        font-size: 1.25rem;
    }

    .main-product-image {
        height: 350px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .image-thumbnails {
        max-width: calc(5 * (60px + 0.5rem) - 0.5rem); /* 5 thumbnails per row on mobile */
    }

    .impressions-selector {
        grid-template-columns: repeat(4, 1fr);
        max-width: 320px;
    }

    .impression-name {
        font-size: 0.5rem;
    }

    .color-selector {
        justify-content: center;
    }

    .size-selector {
        justify-content: center;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }
}

/* Category Page Styles */
.category-page {
    background: #ffffff;
    min-height: 100vh;
}

.category-title h1 {
    color: #1f2937;
    font-size: 1.875rem;
    font-weight: 700;
}

/* Horizontal Filter Styles */
.filters-row {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
}

.filters-horizontal {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filters-horizontal form {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
}

.filter-btn {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s ease;
    min-width: 100px;
    text-align: left;
    position: relative;
}

.filter-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #374151;
}

.filter-btn:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}

.filter-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

/* Custom Dropdown Styles */
.filter-dropdown {
    position: relative;
}

.custom-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-top: 0.25rem;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.custom-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.filter-btn.has-filters {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

.filter-btn.active {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.dropdown-header {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.filter-options {
    max-height: 300px;
    overflow-y: auto;
}

.filter-options .form-check {
    padding: 0.25rem 0;
}

.filter-options .form-check-input {
    margin-top: 0.125rem;
}

.filter-options .form-check-label {
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
}

/* Sort Options Styling */
.sort-option {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
    font-size: 0.875rem;
    color: #374151;
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
}

.sort-option:hover {
    background-color: #f3f4f6;
}

.sort-option.active {
    background-color: #3b82f6;
    color: #ffffff;
}

.sort-option.active i {
    color: #ffffff;
}

.sort-option i {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Color Filter Grid */
.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.75rem;
    max-height: 300px;
    overflow-y: auto;
}

.color-option {
    text-align: center;
}

.color-circle-label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
}

.color-circle-label:hover {
    background-color: #f3f4f6;
}

.color-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
}

.color-circle.selected {
    border-color: #3b82f6;
    border-width: 3px;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.color-circle i {
    font-size: 14px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.color-name {
    font-size: 0.75rem;
    color: #374151;
    text-align: center;
    line-height: 1.2;
}

.color-checkbox:checked + .color-circle-label .color-circle {
    border-color: #3b82f6;
    border-width: 3px;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Legacy color swatch for other uses - DISABLED to avoid conflicts */
/*
.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 0.375rem;
    border: 2px solid #e5e7eb;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
*/

/* Active Filters */
.active-filters {
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.active-filters .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
}

.color-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

/* Products Section */
.products-section {
    margin-top: 1.5rem;
    color:#f3f4f6
}

.results-info {
    font-size: 0.875rem;
    color: #6b7280;
}

.sort-options select {
    border-color: #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

.no-products-found {
    background: #f9fafb;
    border-radius: 0.75rem;
    margin: 2.5rem 0;
    padding: 3rem 2rem;
}

/* Filter Clear Button */
.filter-clear .btn-link {
    font-size: 0.875rem;
    text-decoration: none;
}

.filter-clear .btn-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-title h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .filters-horizontal {
        justify-content: center;
        gap: 0.5rem;
    }

    .filters-horizontal form {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .filter-btn {
        min-width: 80px;
        text-align: center;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .results-info {
        margin-bottom: 1rem;
        text-align: center;
    }

    .sort-options {
        text-align: center;
    }

    .active-filters {
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .filter-dropdown .dropdown-menu {
        min-width: 250px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* ======================
   SHOPPING CART STYLES
   ====================== */

/* Cart Page Background - Also used for Products/Category pages */
.cart-page-bg {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Enhanced Product Cards for Light Background */
.cart-page-bg .product-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.cart-page-bg .product-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #3b82f6;
    transform: translateY(-2px);
}

/* Enhanced Filter Sections */
.cart-page-bg .filters-row {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.cart-page-bg .active-filters {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Orders Page Enhancements */
.cart-page-bg .orders-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Order Card Status Badges */
.order-status-badge {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-in-production { background: #dbeafe; color: #1e40af; }
.status-completed { background: #d1fae5; color: #065f46; }
.status-shipped { background: #e0e7ff; color: #3730a3; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

.payment-pending { background: #fef3c7; color: #92400e; }
.payment-paid { background: #d1fae5; color: #065f46; }
.payment-failed { background: #fee2e2; color: #991b1b; }
.payment-refunded { background: #e0f2fe; color: #0369a1; }

/* Enhanced Card Shadows */
.cart-card-elevated {
    background: #ffffff;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 7px 7px -7px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Cart Header Gradients */
.cart-header-primary {
    background: linear-gradient(to right, #dbeafe, #bfdbfe);
    border-bottom: 1px solid #93c5fd;
    padding: 1.25rem 1.5rem;
}

.cart-header-success {
    background: linear-gradient(to right, #dcfce7, #bbf7d0);
    border-bottom: 1px solid #86efac;
    padding: 1.25rem 1.5rem;
}

.cart-header-info {
    background: linear-gradient(to right, #e0f2fe, #b3e5fc);
    border-bottom: 1px solid #81d4fa;
    padding: 1.25rem 1.5rem;
}

/* Cart Body Padding */
.cart-body {
    padding: 1.5rem;
    background: #f9fafb;
}

/* Cart Item Cards */
.cart-item-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.cart-item-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #3b82f6;
}

/* Product Image in Cart */
.cart-product-image {
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 2px solid #f3f4f6;
    transition: all 0.2s ease;
}

.cart-product-image:hover {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.cart-product-image-placeholder {
    width: 5rem;
    height: 5rem;
    background: #f3f4f6;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e7eb;
}

/* Enhanced Empty Cart State */
.cart-empty-state {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 4rem 2rem;
    text-align: center;
    margin: 1rem;
}

/* Order Summary Body */
.cart-summary-body {
    padding: 1.5rem;
}

.cart-empty-icon {
    width: 6rem;
    height: 6rem;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

/* Cart Actions */
.cart-action-btn {
    transition: all 0.2s ease;
}

.cart-action-btn:hover {
    transform: translateY(-1px);
}

/* Breadcrumb Enhancement */
.cart-breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cart-breadcrumb a:hover {
    color: #1d4ed8;
}

.cart-breadcrumb-separator {
    color: #9ca3af;
    margin: 0 0.5rem;
}

.cart-breadcrumb-current {
    color: #6b7280;
    font-weight: 500;
}

/* Page Title Enhancement */
.cart-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-top: 1rem;
}

.cart-page-subtitle {
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Cart Quantity Controls - Matching Product Detail Style */
.cart-quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #ffffff;
}

.cart-qty-btn {
    background: #f9fafb;
    border: none;
    padding: 0.625rem 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    min-width: 2.5rem;
}

.cart-qty-btn:hover {
    background: #f3f4f6;
    color: #2563eb;
}

.cart-qty-btn:active {
    background: #e5e7eb;
}

.cart-qty-input {
    border: none;
    outline: none;
    padding: 0.625rem;
    text-align: center;
    width: 4rem;
    font-weight: 600;
    background: #ffffff;
    font-size: 0.875rem;
    color: #374151;
}

.cart-qty-input:focus {
    background: #f8fafc;
}

/* Button Enhancements */
.cart-btn-primary {
    background: #3b82f6;
    color: #ffffff;
    border: 1px solid #3b82f6;
    border-radius: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    margin: 0.25rem 0;
}

.cart-btn-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
    text-decoration: none;
    color: #ffffff;
}

.cart-btn-outline-primary {
    background: transparent;
    color: #3b82f6;
    border: 1px solid #3b82f6;
    border-radius: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    margin: 0.25rem;
}

.cart-btn-outline-primary:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}

.cart-btn-outline-danger {
    background: transparent;
    color: #dc2626;
    border: 1px solid #dc2626;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    margin: 0.25rem;
}

.cart-btn-outline-danger:hover {
    background: #fef2f2;
    border-color: #b91c1c;
    color: #b91c1c;
    text-decoration: none;
}

/* ======================
   ABOUT & CONTACT PAGE STYLES
   ====================== */

/* About & Contact Page Shared Styles */
.about-hero,
.contact-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.about-hero::before,
.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%23e2e8f0" stroke-width="1" opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.about-hero-content,
.contact-hero-content {
    position: relative;
    z-index: 1;
}

.about-hero-title,
.contact-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.about-hero-title .highlight,
.contact-hero-title .highlight {
    color: var(--front-main-color);
}

.about-hero-subtitle,
.contact-hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    line-height: 1.6;
}

.about-breadcrumb,
.contact-breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.about-breadcrumb a,
.contact-breadcrumb a {
    color: var(--front-main-color);
    text-decoration: none;
    transition: color 0.2s;
}

.about-breadcrumb a:hover,
.contact-breadcrumb a:hover {
    color: color-mix(in srgb, var(--front-main-color) 85%, black);
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #d1d5db;
}

.breadcrumb-current {
    color: #374151;
    font-weight: 500;
}

/* Responsive Styles for About & Contact */
@media (max-width: 1024px) {
    .about-hero-title,
    .contact-hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-hero,
    .contact-hero {
        padding: 2rem 0 3rem;
    }

    .about-hero-title,
    .contact-hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .about-hero-title,
    .contact-hero-title {
        font-size: 1.75rem;
    }
}

/* About Page Specific Styles */

/* Values Section */
.our-values {
    padding: 6rem 0;
    background: #f8fafc;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--front-main-color), color-mix(in srgb, var(--front-main-color) 85%, white));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-color: var(--front-main-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--front-main-color), color-mix(in srgb, var(--front-main-color) 85%, white));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.value-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Our Story Section */
.our-story {
    padding: 6rem 0;
    background: #ffffff;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.story-content {
    padding-right: 2rem;
}

.story-text p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.story-highlights {
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #374151;
    font-weight: 500;
}

.highlight-item i {
    color: #10b981;
    font-size: 1.1rem;
}

.story-images {
    position: relative;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    height: 600px;
}

.image-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: #f3f4f6;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-item.large {
    grid-row: span 2;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Section Header Styles */
.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-badge {
    display: inline-block;
    background: color-mix(in srgb, var(--front-main-color) 10%, transparent);
    color: var(--front-main-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .story-content {
        padding-right: 0;
    }

    .image-grid {
        height: auto;
    }

    .image-item.large {
        grid-row: auto;
    }

    .image-item img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .our-story {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .story-text p {
        font-size: 1rem;
    }

    .image-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .image-item img {
        height: 250px;
    }
}

/* Process Section */
.our-process {
    padding: 6rem 0;
    background: #ffffff;
}

.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr 300px;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.process-step.reverse {
    grid-template-columns: 80px 1fr 300px;
    direction: rtl;
}

.process-step.reverse * {
    direction: ltr;
}

.process-step.reverse .step-content {
    text-align: right;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--front-main-color), color-mix(in srgb, var(--front-main-color) 85%, white));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 10px 25px color-mix(in srgb, var(--front-main-color) 30%, transparent);
    position: relative;
    z-index: 2;
}

.step-content {
    padding: 2rem;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.step-description {
    color: #6b7280;
    line-height: 1.6;
    font-size: 1.1rem;
}

.step-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.step-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.faq-icon {
    color: #6b7280;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--front-main-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 1000px;
}

.faq-content {
    padding: 1rem 2rem 2rem 2rem;
    color: #6b7280;
    line-height: 1.6;
}

.faq-content p {
    margin-bottom: 1rem;
}

.faq-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-content li {
    margin-bottom: 0.5rem;
}

.faq-content strong {
    color: #374151;
}

.file-formats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.format-category h4 {
    color: #111827;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* CTA Section */
.about-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--front-main-color), color-mix(in srgb, var(--front-main-color) 85%, white));
    color: white;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-outline-primary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* About Hero */
.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-image-container {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.hero-image-container:hover {
    transform: rotate(0deg);
}

.hero-main-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.hero-image-overlay {
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.overlay-badge {
    background: rgba(var(--front-main-rgb), 0.9);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px color-mix(in srgb, var(--front-main-color) 30%, transparent);
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-hero-stats {
    display: flex;
    gap: 2rem;
}

.about-hero-stats .stat-number {
    color: var(--front-main-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--front-main-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

/* Contact Page Specific Styles */
.contact-hero-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-main {
    padding: 6rem 0;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-section {
    position: sticky;
    top: 2rem;
}

.contact-cards {
    margin-bottom: 3rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--front-main-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--front-main-color), color-mix(in srgb, var(--front-main-color) 85%, white));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-link {
    color: var(--front-main-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.contact-link:hover {
    color: color-mix(in srgb, var(--front-main-color) 85%, black);
}

/* Business Hours */
.business-hours-section {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid #e5e7eb;
}

.hours-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

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

.hours-item .day {
    font-weight: 600;
    color: #374151;
}

.hours-item .time {
    color: #6b7280;
}

/* Quick Contact */
.quick-contact {
    background: linear-gradient(135deg, var(--front-main-color), color-mix(in srgb, var(--front-main-color) 85%, white));
    border-radius: 1rem;
    padding: 2rem;
    color: white;
}

.quick-contact-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.quick-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(4px);
}

/* Contact Form */
.form-container {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: #6b7280;
    font-size: 1rem;
}

/* Form Elements */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.required {
    color: #dc2626;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--front-main-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--front-main-color) 10%, transparent);
    outline: none;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: #9ca3af;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-error {
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    display: block;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25rem 1.25rem;
    padding-right: 2.5rem;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--front-main-color), color-mix(in srgb, var(--front-main-color) 85%, white));
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--front-main-color) 30%, transparent);
    min-width: 200px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--front-main-color) 40%, transparent);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-note {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Map Section */
.map-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.map-header {
    text-align: center;
    margin-bottom: 3rem;
}

.map-container {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.map-embed {
    position: relative;
    width: 100%;
    height: 450px;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

.map-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.map-info p {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.map-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.map-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--front-main-color);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s;
    text-align: center;
    justify-content: center;
}

.map-btn:hover {
    background: color-mix(in srgb, var(--front-main-color) 85%, black);
}

/* ======================
   AUTH FORMS STYLING
   ====================== */

/* Form Container Wrappers */
.auth-form-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 60vh;
    padding: 2rem 1rem;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 28rem; /* 448px - Perfect for login */
}

.auth-form-wrapper.register {
    max-width: 32rem; /* 512px - Slightly larger for register */
}

.auth-form-wrapper.profile {
    max-width: 72rem; /* 1152px - Full width for profile grid */
}

/* Auth Form Cards */
.auth-form-card {
    background: #ffffff;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

/* Auth Form Inputs */
.auth-input {
    width: 100% !important;
    padding: 0.875rem 1rem !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 0.75rem !important;
    font-size: 0.875rem !important;
    transition: all 0.2s ease !important;
    background: #ffffff !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.auth-input:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    outline: none !important;
}

.auth-input:hover {
    border-color: #9ca3af !important;
}

.auth-input.error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.auth-textarea {
    resize: vertical;
    min-height: 5rem;
    line-height: 1.5;
}

/* Enhanced Select Dropdowns */
.auth-select {
    width: 100%;
    padding: 0.875rem 2.5rem 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25rem 1.25rem;
    cursor: pointer;
}

.auth-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    outline: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%233b82f6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

.auth-select:hover {
    border-color: #9ca3af;
}

.auth-select.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23dc2626' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* Input with Icon Container */
.auth-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 1rem;
    color: #6b7280;
    pointer-events: none;
    z-index: 10;
}

.auth-input.with-icon {
    padding-left: 2.75rem !important;
}

.auth-input-icon-right {
    position: absolute;
    right: 1rem;
    color: #6b7280;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.auth-input-icon-right:hover {
    color: #374151;
}

/* Auth Form Labels */
.auth-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Auth Form Groups */
.auth-form-group {
    margin-bottom: 1.5rem;
}

.auth-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.auth-form-grid.two-cols {
    grid-template-columns: 1fr 1fr;
}

/* Individual form sections spacing */
.auth-form-grid + .auth-form-grid,
.auth-form-grid + div,
div + .auth-form-grid {
    margin-top: 1.5rem;
}

/* Standalone form fields spacing */
.cart-body > form > div:not(.auth-form-grid) {
    margin-bottom: 1.5rem;
}

.cart-body > form > div:not(.auth-form-grid) + .auth-form-grid {
    margin-top: 1.5rem;
}

/* Custom Radio Buttons for Checkout */
.checkout-radio-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
}

.checkout-radio-option:hover {
    border-color: #2563eb;
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.checkout-radio-option.selected {
    border-color: #2563eb !important;
    border-width: 3px !important;
    background: #d5e2ff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

.checkout-radio-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 1rem;
    margin-top: 0.125rem;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    appearance: none;
    position: relative;
}

.checkout-radio-input:checked {
    border-color: #2563eb;
    background: #2563eb;
}

.checkout-radio-input:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
}

.checkout-radio-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.checkout-radio-content {
    flex: 1;
    min-width: 0;
}

.checkout-radio-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.checkout-radio-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.4;
}

.checkout-radio-price {
    font-weight: 700;
    color: #2563eb;
    font-size: 1.125rem;
    margin-left: 1rem;
    flex-shrink: 0;
}

/* Purple header for billing address */
.cart-header-purple {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-bottom: 2px solid #a855f7;
}

/* Validation banner animations */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

/* Enhanced validation banner styling */
.validation-banner {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Navigation Menu Styles */
.nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.25rem;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: transparent;
    border: 2px solid transparent;
    letter-spacing: -0.025em;
}

.nav-link:hover {
    color: var(--front-main-color);
    background: color-mix(in srgb, var(--front-main-color) 10%, transparent);
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--front-main-color) 15%, transparent);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--front-main-color) 20%, transparent);
}

.nav-link.active {
    color: var(--front-main-color) !important;
    background: color-mix(in srgb, var(--front-secondary-color) 15%, transparent) !important;
    border-color: color-mix(in srgb, var(--front-secondary-color) 30%, transparent) !important;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--front-secondary-color) 25%, transparent) !important;
}

.nav-link.dropdown-toggle {
    position: relative;
}

.nav-link.dropdown-toggle::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.nav-link.dropdown-toggle:hover::after {
    opacity: 1;
}

.nav-dropdown.show .nav-link.dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 320px;
    background: #ffffff;
    border: none;
    border-radius: 1rem;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem 0.75rem 1.25rem;
    backdrop-filter: blur(10px);
    overflow: visible;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 2rem;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
    z-index: -1;
}

.nav-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-header {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #1e293b;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    text-align: center;
}

.dropdown-item {
    display: block;
    color: #475569;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0.75rem;
    margin-bottom: 0.375rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.dropdown-item-content {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    gap: 1rem;
}

.category-thumbnail {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.category-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #94a3b8;
}

.thumbnail-placeholder.all-products {
    background: color-mix(in srgb, var(--front-main-color) 10%, transparent);
    color: var(--front-main-color);
}

.category-info {
    flex: 1;
    text-align: left;
}

.category-name {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.3;
}

/* User Dropdown Styling - Separate from nav dropdowns */
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: auto;
    min-width: 260px;
    background: #ffffff;
    border: none;
    border-radius: 1rem;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem 0.75rem 1.25rem;
    backdrop-filter: blur(10px);
    overflow: visible;
}

.user-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 2rem;
    left: auto;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
    z-index: -1;
}

.user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.user-dropdown-menu.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
}

.user-menu-icon {
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.dropdown-item:hover .user-menu-icon {
    background: var(--front-main-color);
    color: white;
    transform: scale(1.05);
}

.logout-item {
    margin-bottom: 0;
}

.logout-btn {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0;
}

.logout-item:hover .user-menu-icon {
    background: #dc2626;
    color: white;
}

.logout-item:hover .category-name {
    color: #dc2626;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #2563eb;
    transform: scaleY(0);
    transition: transform 0.25s ease;
}

.dropdown-item:hover {
    background: color-mix(in srgb, var(--front-main-color) 8%, transparent);
    transform: translateX(4px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--front-main-color) 15%, transparent);
}

.dropdown-item:hover::before {
    transform: scaleY(1);
}

.dropdown-item:hover .category-name {
    color: var(--front-main-color);
}

.dropdown-item:hover .item-count {
    background: var(--front-main-color);
    color: #ffffff;
    transform: scale(1.05);
}

.dropdown-item:hover .category-thumbnail {
    transform: scale(1.05);
    border-color: var(--front-main-color);
}

.dropdown-item.featured {
    background: color-mix(in srgb, var(--front-main-color) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--front-main-color) 20%, transparent);
    margin-top: 0.75rem;
    font-weight: 700;
    position: relative;
    padding: 1rem 1.25rem !important;
    border-radius: 0.75rem;
}

.dropdown-item.featured::after {
    content: 'All';
    position: absolute;
    top: -6px;
    right: 1rem;
    background: var(--front-main-color);
    color: white;
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dropdown-item.featured:hover {
    background: color-mix(in srgb, var(--front-main-color) 15%, transparent);
    color: var(--front-main-color);
    border-color: color-mix(in srgb, var(--front-main-color) 30%, transparent);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--front-main-color) 20%, transparent);
    transform: translateX(6px);
}

.item-count {
    font-size: 0.875rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 600;
    transition: all 0.25s ease;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
    min-width: 2rem;
    text-align: center;
}

.dropdown-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 0.75rem 0;
    border-radius: 1px;
}

/* Enhanced Navigation hover effects */
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Active page highlighting using primary color for text, secondary for background */
.nav-link[href*="about"].active,
.nav-link[href*="contact"].active,
.nav-link[href*="products"].active,
.nav-link.active {
    color: var(--front-main-color) !important;
    background: color-mix(in srgb, var(--front-secondary-color) 15%, transparent) !important;
    border-color: color-mix(in srgb, var(--front-secondary-color) 30%, transparent) !important;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--front-secondary-color) 25%, transparent) !important;
}

/* Mobile Navigation Adjustments */
@media (max-width: 1024px) {
    .nav {
        gap: 0.25rem;
    }

    .nav-link {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .nav-dropdown-menu {
        min-width: 280px;
        left: -1rem;
    }

    .nav-dropdown-menu::before {
        left: 3rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none; /* Hide on mobile - would need mobile menu implementation */
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cart-page-title {
        font-size: 1.5rem;
    }

    .cart-item-card {
        padding: 1rem;
    }

    .cart-product-image,
    .cart-product-image-placeholder {
        width: 4rem;
        height: 4rem;
    }

    .auth-form-container {
        padding: 1rem 0.5rem;
        min-height: 50vh;
    }

    .auth-form-wrapper {
        max-width: 100%;
    }

    .auth-form-grid.two-cols {
        grid-template-columns: 1fr;
    }
}

/* Order Confirmation Styles */
.order-confirmation-box {
    background-color: #f0fdf4;
    border: 2px solid #22c55e;
}

/* Global About Page Utilities - Reusable across site */
.section-badge {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ======================
   Proofs Image Viewer Modal
   ====================== */
.front-modal-overlay {
    /* 75% dark overlay behind the image viewer */
    background: rgba(0, 0, 0, 0.87) !important;
}

.front-modal-close {
    position: fixed;
    top: 1.5rem;   /* similar to top-6 */
    right: 1.5rem; /* similar to right-6 */
    background: #ffffff;
    color: #ea580c;           /* orange-600 */
    border: 2px solid #f97316;/* orange-500 */
    border-radius: 9999px;    /* fully rounded */
    padding: 0.8rem;          /* similar to p-2 */
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
    transition: background-color .2s ease-in-out, box-shadow .2s ease-in-out, transform .15s ease-in-out;
    z-index: 9999;
}

.front-modal-close:hover {
    background: #fff7ed; /* very light orange */
    box-shadow: 0 12px 18px -4px rgba(0,0,0,.12), 0 6px 8px -3px rgba(0,0,0,.08);
    transform: translateY(-1px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Responsive section titles */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }
}

/* Advertising Section Styles */
.advertising-section {
    padding: var(--image-margin, 32px) 0;
}

.advertising-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--image-gap, 24px);
    align-items: center;
}

.advertising-item {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    transition: transform 0.3s ease;
    background-color: #f3f4f6;
}

.advertising-item:hover {
    transform: translateY(-4px);
}

.advertising-item.with-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.advertising-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

@media (max-width: 768px) {
    .advertising-grid {
        grid-template-columns: 1fr;
    }

    .advertising-section {
        padding: calc(var(--image-margin, 32px) * 0.75) 0;
    }
}

/* Happy Customers Section Styles */
.happy-customers-section {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--stat-number-color, #2563eb);
}

.stat-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--stat-text-color, #1f2937);
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .happy-customers-section {
        padding: 3rem 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-title {
        font-size: 1rem;
    }
}

/* Proofs chat scroll area (max 500px height) */
.chat-scroll-500 {
    max-height: 500px;
    overflow-y: auto;
}
