/* ==========================================================
   Las 3 Bes - Dark Royal Theme
   Colors: Dark #0a0a1a, Gold #d4af37, Purple #8b5cf6, Navy #1a1a2e
   Fonts: Playfair Display (headings), Cormorant Garamond (decorative), Inter (body)
   ========================================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0a0a1a;
    color: #d1d1e0;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    color: #d4af37;
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

a {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e8c54a;
}

p { margin-bottom: 1rem; }

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
    color: #d4af37;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.section-title p {
    color: #8b5cf6;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    font-style: italic;
    margin-top: 10px;
}

/* --- Top Bar --- */
.top-bar {
    background: #050510;
    padding: 8px 0;
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 2px solid #d4af37;
}

.top-bar p {
    color: #d4af37;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: 2px;
}

/* --- Header / Navbar --- */
.header {
    background: #0f0f23;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo a {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #d4af37;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo a:hover { color: #d4af37; }

.site-logo {
    max-height: 100px;
    border-radius: 8px;
    background: #0a0a1a;
    padding: 10px 20px;
}

.logo .crown {
    color: #d4af37;
    font-size: 1.6rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #e0e0f0;
    padding: 5px 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.3s ease;
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
    width: 100%;
}

.nav-menu > li > a:hover { color: #d4af37; }

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #111128;
    min-width: 220px;
    padding: 10px 0;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-top: 3px solid #d4af37;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

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

.dropdown-menu li { list-style: none; }

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #c0c0d0;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: #1a1a3a;
    color: #d4af37;
    padding-left: 25px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions a {
    color: #e0e0f0;
    font-size: 1.2rem;
    position: relative;
    transition: color 0.3s ease;
}

.header-actions a:hover { color: #d4af37; }

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #d4af37;
    color: #0a0a1a;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-dropdown { position: relative; }

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #111128;
    min-width: 200px;
    padding: 10px 0;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-top: 3px solid #d4af37;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

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

.user-dropdown-menu a {
    display: block;
    padding: 8px 20px;
    font-size: 0.9rem;
    color: #c0c0d0;
}

.user-dropdown-menu a:hover {
    background: #1a1a3a;
    color: #d4af37;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #d4af37;
    cursor: pointer;
    padding: 5px;
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: #0a0a1a;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
}

.hero-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 0 20px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.hero-slide-content .subtitle {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3rem;
    color: #d4af37;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-slide-content h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-slide-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Slider Navigation */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #d4af37;
    border-color: #d4af37;
}

.slider-dot:hover {
    background: #d4af37;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 35px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: linear-gradient(135deg, #d4af37, #c9a032);
    color: #0a0a1a;
    border: 1px solid #d4af37;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #c9a032, #b8942e);
    color: #0a0a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    color: #d4af37;
    border: 1px solid #d4af37;
}

.btn-outline:hover {
    background: #d4af37;
    color: #0a0a1a;
}

.btn-outline-gold {
    background: transparent;
    color: #d4af37;
    border: 1px solid #d4af37;
}

.btn-outline-gold:hover {
    background: #d4af37;
    color: #0a0a1a;
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 45px;
    font-size: 1.15rem;
}

/* --- Featured Categories --- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: #111128;
    transition: all 0.4s ease;
    text-align: center;
}

.category-card:hover {
    border-color: #d4af37;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.category-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.category-card-body {
    padding: 20px;
    border-top: 2px solid #d4af37;
}

.category-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #d4af37;
}

.category-card-body p {
    color: #8b5cf6;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 0.95rem;
    margin: 0;
}

/* --- Featured Products --- */
.featured-products {
    background: #0f0f23;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.products-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.product-card {
    background: #111128;
    border: 1px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.product-card:hover {
    border-color: #d4af37;
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

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

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

.product-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #d4af37;
    color: #0a0a1a;
    padding: 5px 15px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.product-card-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(15, 15, 35, 0.95);
    transition: bottom 0.4s ease;
}

.product-card:hover .product-card-actions {
    bottom: 0;
}

.product-card-actions .btn {
    padding: 8px 18px;
    font-size: 0.8rem;
}

.product-card-body {
    padding: 20px;
    text-align: center;
    border-top: 2px solid #d4af37;
}

.product-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.product-card-body h3 a {
    color: #e0e0f0;
}

.product-card-body h3 a:hover {
    color: #d4af37;
}

.product-price {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #d4af37;
}

.product-price .compare-price {
    font-size: 0.95rem;
    color: #888;
    text-decoration: line-through;
    margin-left: 8px;
    font-weight: 400;
}

.product-rating {
    color: #d4af37;
    font-size: 0.9rem;
    margin-top: 5px;
}

.product-rating .stars { color: #d4af37; }

/* --- Why Choose Us --- */
.why-choose-us {
    background: #050510;
    position: relative;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.why-choose-us .section-title h2 {
    color: #d4af37;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 25px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.4s ease;
}

.feature-card:hover {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #111128;
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 35px;
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card::before {
    content: '\201C';
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 5rem;
    color: rgba(212, 175, 55, 0.1);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-card:hover {
    border-color: #d4af37;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-card .content {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    color: #c0c0d0;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding-top: 20px;
}

.testimonial-card .author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d4af37;
}

.testimonial-card .author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: #e0e0f0;
}

.testimonial-card .author-info span {
    font-size: 0.85rem;
    color: #8b5cf6;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
}

/* --- Newsletter --- */
.newsletter-section {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
    border-top: 3px solid #d4af37;
    border-bottom: 3px solid #d4af37;
}

.newsletter-section h2 {
    color: #d4af37;
    margin-bottom: 10px;
}

.newsletter-section p {
    color: rgba(255,255,255,0.6);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #d4af37;
    border-right: none;
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter-form button {
    padding: 15px 30px;
    background: #d4af37;
    color: #0a0a1a;
    border: 1px solid #d4af37;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #c9a032;
}

/* --- Footer --- */
.footer {
    background: #050510;
    color: rgba(255,255,255,0.6);
    padding: 80px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 2fr;
    gap: 40px;
}

.footer-column h3 {
    color: #d4af37;
    font-size: 1.2rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d4af37;
    display: inline-block;
}

.footer-column p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a:hover {
    color: #d4af37;
    padding-left: 5px;
}

.footer-column ul li a i {
    font-size: 0.75rem;
    color: #d4af37;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.footer-contact li i {
    color: #d4af37;
    margin-top: 5px;
    min-width: 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #d4af37;
    color: #0a0a1a;
    border-color: #d4af37;
}

.footer-bottom {
    margin-top: 60px;
    padding: 20px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom p { margin: 0; }

/* --- Shop Page --- */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 40px 0;
}

.shop-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: #111128;
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 25px;
    margin-bottom: 25px;
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d4af37;
}

.search-widget input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #0a0a1a;
    color: #e0e0f0;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-widget input:focus {
    border-color: #d4af37;
}

.category-filter label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: #c0c0d0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.category-filter label:hover { color: #d4af37; }

.category-filter input[type="checkbox"] {
    accent-color: #d4af37;
    width: 16px;
    height: 16px;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.shop-header .results {
    font-size: 0.95rem;
    color: #888;
}

.shop-header .sort-select {
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #111128;
    color: #e0e0f0;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
}

.shop-header .sort-select:focus {
    border-color: #d4af37;
}

/* --- Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 56px;
    padding: 0 20px;
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 1.15rem;
    font-weight: 600;
    color: #c0c0d0;
    background: #111128;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .active span {
    background: #d4af37;
    border-color: #d4af37;
    color: #0a0a1a;
}

.pagination .disabled span {
    opacity: 0.4;
    cursor: not-allowed;
}

/* --- Product Detail Page --- */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 40px 0;
}

.product-gallery {
    position: sticky;
    top: 100px;
    align-self: start;
}

.product-main-image {
    border: 1px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
    margin-bottom: 15px;
    background: #111128;
}

.product-main-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
}

.product-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-thumbnails img:hover,
.product-thumbnails img.active {
    border-color: #d4af37;
}

.product-info {
    padding-top: 10px;
}

.product-info .category-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    color: #8b5cf6;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: inline-block;
}

.product-info h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #d4af37;
}

.product-info .price {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 5px;
}

.product-info .compare-price {
    font-size: 1.2rem;
    color: #888;
    text-decoration: line-through;
    margin-left: 10px;
    font-weight: 400;
}

.product-info .stock-status {
    margin: 15px 0;
    font-size: 0.9rem;
}

.product-info .stock-status.in-stock { color: #4caf50; }
.product-info .stock-status.out-of-stock { color: #ef5350; }

.product-info .sku {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
}

.product-info .description {
    margin: 20px 0;
    line-height: 1.8;
    color: #b0b0c0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 25px 0;
}

.quantity-selector button {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #111128;
    color: #e0e0f0;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-selector button:hover {
    background: #1a1a3a;
    border-color: #d4af37;
}

.quantity-selector input {
    width: 60px;
    height: 44px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    border-left: none;
    border-right: none;
    background: #0a0a1a;
    color: #e0e0f0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
}

.quantity-selector input::-webkit-inner-spin-button,
.quantity-selector input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

/* Related Products */
.related-products {
    padding: 60px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

/* --- Cart Page --- */
.cart-section { padding: 50px 0; }

.cart-empty {
    text-align: center;
    padding: 80px 20px;
}

.cart-empty .icon {
    font-size: 4rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.cart-empty h2 {
    margin-bottom: 15px;
}

.cart-empty p {
    color: #888;
    margin-bottom: 30px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.cart-table {
    width: 100%;
    background: #111128;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.cart-table th {
    padding: 15px 20px;
    text-align: left;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #050510;
    color: #d4af37;
    border-bottom: none;
}

.cart-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    vertical-align: middle;
    color: #c0c0d0;
}

.cart-table tr:last-child td { border-bottom: none; }

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.cart-item-name {
    font-weight: 600;
    color: #e0e0f0;
}

.cart-item-name:hover { color: #d4af37; }

.cart-item-price,
.cart-item-subtotal {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    color: #d4af37;
}

.cart-quantity {
    display: flex;
    align-items: center;
}

.cart-quantity button {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #0a0a1a;
    color: #e0e0f0;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cart-quantity button:hover {
    background: #1a1a3a;
    border-color: #d4af37;
}

.cart-quantity input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    border-left: none;
    border-right: none;
    background: #0a0a1a;
    color: #e0e0f0;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
}

.cart-remove {
    color: #ef5350;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.cart-remove:hover { color: #f44336; }

/* Cart Totals */
.cart-totals {
    background: #111128;
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 30px;
}

.cart-totals h3 {
    font-size: 1.3rem;
    padding-bottom: 15px;
    border-bottom: 2px solid #d4af37;
    margin-bottom: 20px;
}

.cart-totals .totals-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #c0c0d0;
}

.cart-totals .totals-row.total {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #d4af37;
    border-bottom: none;
    padding-top: 15px;
}

.cart-totals .btn {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.95rem;
    color: #888;
}

.continue-shopping:hover { color: #d4af37; }

/* --- Checkout Page --- */
.checkout-section { padding: 50px 0; }

.checkout-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.checkout-login-prompt {
    text-align: center;
    background: #111128;
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 60px 40px;
    max-width: 500px;
    margin: 50px auto;
}

.checkout-login-prompt .icon {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.checkout-login-prompt h2 {
    margin-bottom: 15px;
}

.checkout-login-prompt p {
    color: #888;
    margin-bottom: 25px;
}

.checkout-login-prompt .btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.checkout-form-section {
    background: #111128;
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 35px;
}

.checkout-form-section h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d4af37;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #d4af37;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #0a0a1a;
    color: #e0e0f0;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #d4af37;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Payment Method */
.payment-methods {
    margin: 20px 0;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #0a0a1a;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover,
.payment-method.selected {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
}

.payment-method input[type="radio"] {
    accent-color: #d4af37;
    width: 18px;
    height: 18px;
}

.payment-method label {
    cursor: pointer;
    font-weight: 500;
    color: #e0e0f0;
}

/* Order Summary Sidebar (Checkout) */
.checkout-summary {
    background: #111128;
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 30px;
    position: sticky;
    top: 100px;
}

.checkout-summary h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d4af37;
}

.checkout-summary-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.checkout-summary-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.checkout-summary-item .item-details {
    flex: 1;
}

.checkout-summary-item .item-details h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: #e0e0f0;
}

.checkout-summary-item .item-details .item-price {
    font-size: 0.85rem;
    color: #888;
}

.checkout-summary-totals {
    padding-top: 20px;
}

.checkout-summary-totals .totals-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
    color: #c0c0d0;
}

.checkout-summary-totals .totals-row.grand-total {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #d4af37;
    border-top: 2px solid #d4af37;
    padding-top: 15px;
    margin-top: 10px;
}

/* --- Thank You Page --- */
.thankyou-section {
    text-align: center;
    padding: 80px 20px;
}

.thankyou-icon {
    font-size: 5rem;
    color: #4caf50;
    margin-bottom: 25px;
}

.thankyou-section h1 {
    margin-bottom: 15px;
}

.thankyou-section .order-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.thankyou-section p {
    color: #888;
    max-width: 500px;
    margin: 0 auto 30px;
}

/* --- Dashboard Pages --- */
.dashboard-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    padding: 40px 0;
}

.dashboard-sidebar {
    background: #111128;
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 25px;
    position: sticky;
    top: 100px;
    align-self: start;
}

.dashboard-sidebar h3 {
    font-size: 1.1rem;
    padding-bottom: 15px;
    border-bottom: 2px solid #d4af37;
    margin-bottom: 15px;
}

.dashboard-sidebar ul {
    list-style: none;
}

.dashboard-sidebar ul li {
    margin-bottom: 5px;
}

.dashboard-sidebar ul li a {
    display: block;
    padding: 10px 15px;
    font-size: 0.9rem;
    color: #c0c0d0;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.dashboard-sidebar ul li a:hover,
.dashboard-sidebar ul li a.active {
    background: #1a1a3a;
    border-left-color: #d4af37;
    color: #d4af37;
}

.dashboard-content {
    min-height: 400px;
}

.dashboard-card {
    background: #111128;
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 30px;
    margin-bottom: 25px;
}

.dashboard-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d4af37;
}

.dashboard-card .user-info {
    display: grid;
    gap: 15px;
}

.dashboard-card .user-info p {
    margin: 0;
    font-size: 0.95rem;
    color: #c0c0d0;
}

.dashboard-card .user-info strong {
    color: #d4af37;
    min-width: 100px;
    display: inline-block;
}

/* Orders Table */
.orders-table {
    width: 100%;
    background: #111128;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.orders-table th {
    padding: 14px 18px;
    text-align: left;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #050510;
    color: #d4af37;
}

.orders-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    font-size: 0.9rem;
    color: #c0c0d0;
}

.orders-table tr:last-child td { border-bottom: none; }

.status-badge {
    display: inline-block;
    padding: 4px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-pending {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.status-processing {
    background: rgba(23, 162, 184, 0.15);
    color: #17a2b8;
    border: 1px solid #17a2b8;
}

.status-shipped {
    background: rgba(0, 123, 255, 0.15);
    color: #5dade2;
    border: 1px solid #5dade2;
}

.status-delivered {
    background: rgba(40, 167, 69, 0.15);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.status-cancelled {
    background: rgba(220, 53, 69, 0.15);
    color: #ef5350;
    border: 1px solid #ef5350;
}

/* --- Page Content (Static) --- */
.page-content {
    padding: 60px 0;
}

.page-content h1 {
    margin-bottom: 30px;
}

.page-content .content {
    line-height: 1.9;
    font-size: 1.05rem;
    color: #b0b0c0;
}

.page-content .content p {
    margin-bottom: 1.2rem;
}

/* --- Page Header Banner --- */
.page-header {
    background: #050510;
    padding: 50px 0;
    text-align: center;
    position: relative;
    border-bottom: 3px solid #d4af37;
}

.page-header h1 {
    color: #fff;
    margin: 0;
}

.page-header .breadcrumb {
    color: rgba(255,255,255,0.5);
    margin-top: 10px;
    font-size: 0.9rem;
}

.page-header .breadcrumb a {
    color: #d4af37;
}

/* --- Breadcrumb --- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #888;
}

.breadcrumb a:hover {
    color: #d4af37;
}

.breadcrumb .separator {
    color: #555;
}

/* --- Auth (Login/Register) Pages --- */
.auth-body {
    background-color: #0a0a1a;
    color: #d1d1e0;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-wrapper {
    width: 100%;
    max-width: 460px;
    padding: 20px;
}

.auth-card {
    background: #111128;
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 40px 35px;
}

.auth-card h1,
.auth-card h2 {
    color: #d4af37;
    text-align: center;
    margin-bottom: 25px;
}

.auth-card .form-group label {
    color: #d4af37;
}

.auth-card .form-group input {
    background: #0a0a1a;
    border: 1px solid rgba(255,255,255,0.1);
    color: #e0e0f0;
}

.auth-card .form-group input:focus {
    border-color: #d4af37;
}

.auth-card .btn-gold {
    width: 100%;
}

.auth-card a {
    color: #d4af37;
}

.auth-card a:hover {
    color: #e8c54a;
}

.auth-card .text-sm,
.auth-card .text-gray-600 {
    color: #999;
}

.auth-card input[type="checkbox"] {
    accent-color: #d4af37;
}

.auth-card .block > label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c0c0d0;
    font-size: 0.9rem;
}

/* App Navigation */
.admin-nav {
    background: #0f0f23;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.admin-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.admin-nav-brand a {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #d4af37;
    display: flex;
    align-items: center;
}

.admin-nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-nav-link {
    font-size: 0.9rem;
    color: #c0c0d0;
    padding: 6px 12px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
}

.admin-nav-user {
    position: relative;
}

.admin-nav-user-btn {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: #e0e0f0;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.admin-nav-user-btn:hover {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.12);
}

.admin-nav-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background: #111128;
    border: 1px solid rgba(212, 175, 55, 0.2);
    min-width: 200px;
    z-index: 100;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.admin-nav-dropdown-link {
    display: block;
    padding: 10px 18px;
    color: #c0c0d0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.admin-nav-dropdown-link:hover {
    background: #1a1a3a;
    color: #d4af37;
}

.admin-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #d4af37;
    font-size: 1.3rem;
    cursor: pointer;
}

.admin-nav-responsive {
    display: none;
    padding: 15px 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    background: #0a0a1a;
}

.admin-nav-responsive.open {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

@media (max-width: 767px) {
    .admin-nav-links {
        display: none;
    }
    .admin-nav-toggle {
        display: block;
    }
}

/* App Layout (Authenticated) */
.app-body {
    background-color: #0a0a1a;
    color: #d1d1e0;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}

.app-header {
    background: #0f0f23;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 15px 0;
}

.app-header h1,
.app-header h2 {
    color: #d4af37;
    margin: 0;
}

/* --- Field Error --- */
.field-error {
    color: #ef5350;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

/* --- Alert Messages --- */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(40, 167, 69, 0.15);
    border-color: #4caf50;
    color: #4caf50;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.15);
    border-color: #ef5350;
    color: #ef5350;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.15);
    border-color: #ffc107;
    color: #ffc107;
}

.alert-info {
    background: rgba(23, 162, 184, 0.15);
    border-color: #17a2b8;
    color: #17a2b8;
}

/* --- Responsive --- */
@media (max-width: 1199px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .shop-layout {
        grid-template-columns: 1fr;
    }
    .shop-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .sidebar-widget { margin-bottom: 0; }
    .product-detail {
        grid-template-columns: 1fr;
    }
    .product-gallery { position: static; }
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
    .dashboard-sidebar { position: static; }
    .hero-slide { height: 450px; }
    .hero-slide-content h1 { font-size: 2.5rem; }
}

@media (max-width: 767px) {
    .top-bar p { font-size: 0.75rem; letter-spacing: 1px; }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0f0f23;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 3px solid #d4af37;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu > li {
        width: 100%;
    }

    .nav-menu > li > a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-menu > li > a::after { display: none; }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        border-top: none;
        box-shadow: none;
        padding-left: 15px;
        display: none;
        background: transparent;
    }

    .nav-menu li:hover .dropdown-menu {
        display: block;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .products-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .shop-sidebar {
        grid-template-columns: 1fr;
    }
    .hero-slide { height: 380px; }
    .hero-slide-content h1 { font-size: 2rem; }
    .hero-slide-content .subtitle { font-size: 1rem; }
    .section-padding { padding: 50px 0; }

    .cart-table th, .cart-table td {
        padding: 10px;
    }
    .cart-item-image {
        width: 50px;
        height: 50px;
    }
    .cart-table .hide-mobile {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkout-form-section {
        padding: 20px;
    }

    .newsletter-form {
        flex-direction: column;
        padding: 0 20px;
    }
    .newsletter-form input {
        border-right: 1px solid #d4af37;
        border-bottom: none;
    }

    .page-header { padding: 30px 0; }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .products-grid-3 {
        grid-template-columns: 1fr;
    }
    .products-grid .product-card-image {
        height: 220px;
    }
    .hero-slide { height: 320px; }
    .hero-slide-content h1 { font-size: 1.6rem; }
    .hero-slide-content p { font-size: 0.9rem; }
    .header-actions { gap: 12px; }
    .logo a { font-size: 1.3rem; }
}
@media print {
    .dashboard-sidebar,
    .page-header,
    .btn { display: none; }
    .dashboard-content { margin-left: 0; width: 100%; }
    body { background: #fff; color: #000; }
    .dashboard-card { border: 1px solid #ddd; box-shadow: none; }
}
