/* --- 1. CSS VARIABLES (COLORS & FONTS) --- */
:root {
    /* Palette extracted from image */
    --color-primary: #a87e74;
    /* The brownish-mauve button color */
    --color-primary-hover: #8e685f;
    --color-text-dark: #333333;
    --color-text-light: #666666;
    --color-bg-white: #ffffff;
    --color-bg-cream: #fdfbf7;
    --color-bg-soft-pink: #f9f2f0;
    --border-color: #e5e5e5;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --font-script: 'Great Vibes', cursive;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-bg-cream);
    line-height: 1.6;
}

/* --- 2. HEADER & NAVIGATION --- */
header {
    text-align: center;
    padding: 20px 0;
    background: var(--color-bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-script {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--color-text-light);
    margin-bottom: -10px;
    display: block;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-dark);
    margin: 0 30px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.brand-name:hover {
    color: var(--color-primary);
}

.brand-name span {
    font-style: italic;
    text-transform: lowercase;
    font-family: var(--font-heading);
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-spacer {
    width: 70px;
    display: flex;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a {
    text-decoration: none;
    color: var(--color-text-dark);
    transition: color 0.3s ease;
    cursor: pointer;
}

nav a:hover {
    color: var(--color-primary);
}

.nav-icons {
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.search-icon {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.search-icon svg {
    width: 22px;
    height: 22px;
    transition: color 0.3s ease;
}

.search-icon:hover svg {
    color: var(--color-primary);
}

.header-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.header-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.header-search-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    padding: 30px;
    border-radius: 10px;
    z-index: 999;
    width: 90%;
    max-width: 500px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.header-search-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.header-search-popup input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
}

.header-search-popup input:focus {
    border-color: var(--color-primary);
}

.header-search-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-light);
}

/* --- 3. UTILITY CLASSES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

.btn {
    background-color: var(--color-primary);
    color: white;
    padding: 14px 35px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--color-primary);
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    font-family: var(--font-body);
}

.btn:hover {
    background-color: transparent;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 126, 116, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
}

.btn-light {
    background-color: white;
    color: var(--color-primary);
    border: 2px solid white;
}

.btn-light:hover {
    background-color: transparent;
    color: white;
    border-color: white;
}

h2.section-title {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 2rem;
    margin: 40px 0;
    color: var(--color-text-dark);
}

/* --- 4. HOMEPAGE STYLES --- */
.hero {
    position: relative;
    height: 65vh;
    min-height: 460px;
    max-height: 575px;
    background-color: #1a1a1a;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Video placeholder styling */
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-bg-soft-pink) 0%, var(--color-primary) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.video-placeholder-icon {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.video-placeholder-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 25px solid rgba(255, 255, 255, 0.9);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 8px;
}

.video-placeholder-text {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Overlay for text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Bottom gradient for smooth transition */
.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent 0%, var(--color-bg-cream) 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: absolute;
    z-index: 3;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 500px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Featured Collections */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.collection-card {
    text-align: center;
    position: relative;
}

.collection-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.collection-label {
    background-color: var(--color-primary);
    color: white;
    padding: 10px;
    margin-top: -5px;
    /* Pull up slightly */
    display: inline-block;
    width: 100%;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Essence Section */
.essence-section {
    background-color: var(--color-bg-soft-pink);
    background-image: url('images/lets tryy.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
    position: relative;
}

.essence-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(249, 242, 240, 0.7);
}

.essence-section>* {
    position: relative;
    z-index: 1;
}

.essence-quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--color-text-light);
}

/* Fragrance Boxes */
.fragrance-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.fragrance-box-wrapper {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.fragrance-box {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
}

.fragrance-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fragrance-box-wrapper:hover .fragrance-box img {
    transform: scale(1.05);
}

.fragrance-box-info {
    background: white;
    padding: 25px;
    text-align: center;
}

.fragrance-box-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-text-dark);
    margin-bottom: 15px;
}

.fragrance-box-info .btn {
    margin-top: 5px;
}

/* Customer Love */
.reviews {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.stars {
    color: #cca43b;
    letter-spacing: 3px;
}

/* --- 5. SHOP PAGE STYLES --- */
.shop-layout {
    display: flex;
    margin-top: 40px;
    gap: 40px;
}

.sidebar {
    width: 250px;
    flex-shrink: 0;
    background: var(--color-bg-soft-pink);
    padding: 20px;
    height: fit-content;
}

.sidebar h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    cursor: pointer;
}

.sidebar li:hover {
    color: var(--color-primary);
}

.sidebar li.active {
    color: var(--color-primary);
    font-weight: 700;
}

/* Search Bar */
.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

#search-input {
    width: 100%;
    max-width: 400px;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
    transition: all 0.3s ease;
}

#search-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(168, 126, 116, 0.1);
}

.search-btn {
    padding: 12px 20px;
    background: var(--color-primary);
    border: none;
    border-radius: 30px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: var(--color-primary-hover);
    transform: scale(1.05);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.product-card {
    text-align: center;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
    background-color: #fff;
    cursor: pointer;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 5px;
}

.product-price {
    font-weight: 300;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.product-bulk-price {
    font-size: 0.75rem;
    color: var(--color-primary, #b76e79);
    font-weight: 500;
    margin-top: 2px;
    letter-spacing: 0.3px;
    font-style: italic;
}

.bulk-pricing-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(183, 110, 121, 0.08), rgba(183, 110, 121, 0.04));
    border: 1px solid rgba(183, 110, 121, 0.2);
    border-radius: 50px;
    padding: 10px 28px;
    margin: 0 auto 25px;
    max-width: 600px;
    font-size: 0.82rem;
    color: var(--color-text-light, #888);
    text-align: center;
    letter-spacing: 0.2px;
}

.bulk-notice-icon {
    flex-shrink: 0;
    color: var(--color-primary, #b76e79);
    opacity: 0.8;
}

.bulk-notice-text strong {
    color: var(--color-primary, #b76e79);
}


/* --- 6. PRODUCT DETAIL PAGE --- */
.product-detail-layout {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    background: #fff;
    padding: 40px;
    border: 1px solid var(--border-color);
}

.detail-image {
    width: 50%;
}

.detail-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.detail-info {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 10px;
}

.detail-price {
    font-size: 1.2rem;
    color: var(--color-text-dark);
    margin-bottom: 20px;
}

.detail-desc {
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.shipping-note {
    background-color: var(--color-bg-cream);
    padding: 15px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.accordion {
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    padding: 15px 0;
    font-family: var(--font-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

/* Contact Page Styles */
.contact-hero {
    text-align: center;
    background: var(--color-bg-soft-pink);
    padding: 50px 30px;
    margin-bottom: 50px;
    border-radius: 10px;
}

.contact-hero h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-text-dark);
    margin-bottom: 15px;
}

.contact-hero p {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 10px;
    line-height: 1.7;
}

.contact-hours-highlight {
    color: var(--color-primary) !important;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 20px !important;
}

/* Two Column Help Section */
.contact-help-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
    align-items: center;
}

.contact-help-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-text-dark);
    margin-bottom: 15px;
}

.contact-intro {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-help-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-help-item .contact-help-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: var(--color-bg-soft-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dark);
}

.contact-help-item .contact-help-icon svg {
    width: 22px;
    height: 22px;
}

.contact-help-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-text-dark);
    margin-bottom: 5px;
}

.contact-help-item p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-help-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.contact-help-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Methods - Three in One Row */
.contact-methods-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.contact-method-item {
    background: var(--color-bg-cream);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.contact-method-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.contact-method-item .contact-method-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--color-text-dark);
    border: 1px solid var(--border-color);
}

.contact-method-item .contact-method-icon svg {
    width: 28px;
    height: 28px;
}

.contact-method-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--color-text-dark);
}

.contact-method-item p {
    color: var(--color-text-light);
    font-size: 0.85rem;
    line-height: 1.5;
}

.contact-small {
    font-size: 0.75rem !important;
    margin-top: 5px;
}

.contact-form-section {
    max-width: 700px;
    margin: 0 auto 60px;
    background: white;
    padding: 50px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-text-dark);
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    background: var(--color-bg-cream);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(168, 126, 116, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.char-count {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 5px;
}

/* Floating WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-popup {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.whatsapp-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-popup-header {
    background: #25D366;
    padding: 20px;
    color: white;
}

.whatsapp-popup-header h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.whatsapp-popup-header p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.whatsapp-popup-body {
    padding: 20px;
}

.whatsapp-popup-body label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.whatsapp-popup-body textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    resize: none;
    height: 80px;
    margin-bottom: 15px;
}

.whatsapp-popup-body textarea:focus {
    outline: none;
    border-color: #25D366;
}

.whatsapp-send-btn {
    width: 100%;
    padding: 12px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.whatsapp-send-btn:hover {
    background: #1da851;
}

.whatsapp-send-btn svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.whatsapp-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
}

.whatsapp-popup-close:hover {
    opacity: 1;
}

/* Footer */
footer {
    margin-top: 60px;
    font-size: 0.85rem;
    color: var(--color-text-light);
    border-top: 1px solid var(--border-color);
}

.footer-main {
    background: #1a1a1a;
    padding: 50px 20px 30px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: white;
    font-size: 1rem;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.footer-col p {
    line-height: 1.7;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
    font-size: 0.85rem;
}

.footer-col ul li a:hover {
    color: var(--color-primary);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.84rem;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    stroke: var(--color-primary);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.footer-bottom {
    background: #111;
    text-align: center;
    padding: 18px 20px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: var(--color-primary);
    text-decoration: none;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: center;
    }
}

/* Hamburger Menu */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 200;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 149;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
}

.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: var(--color-bg-white);
    z-index: 150;
    transition: left 0.35s ease;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-nav-drawer.active {
    left: 0;
}

.mobile-nav-header {
    padding: 25px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-text-dark);
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-light);
    padding: 5px;
}

.mobile-nav-links {
    list-style: none;
    padding: 10px 0;
}

.mobile-nav-links li a {
    display: block;
    padding: 14px 25px;
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-nav-links li a:hover,
.mobile-nav-links li a.active {
    color: var(--color-primary);
    background: rgba(168, 126, 116, 0.06);
    padding-left: 30px;
}

@media (max-width: 768px) {
    .hamburger-btn {
        display: block;
    }

    .mobile-nav-overlay,
    .mobile-nav-drawer {
        display: block;
    }

    .nav-left,
    .nav-right {
        display: none !important;
    }

    .nav-spacer {
        display: none !important;
    }

    header {
        position: sticky;
        top: 0;
    }

    nav {
        justify-content: center;
        position: relative;
        min-height: 50px;
    }

    .brand-name {
        font-size: 1.6rem;
        margin: 0;
        width: auto;
        order: unset;
    }

    .nav-icons {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(168, 126, 116, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 90;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(168, 126, 116, 0.45);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* Sort Dropdown */
.shop-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sort-select {
    padding: 10px 35px 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.88rem;
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background: white;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: border-color 0.3s ease;
}

.sort-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(168, 126, 116, 0.1);
}

/* Product Description */
.product-desc {
    font-size: 0.78rem;
    color: var(--color-text-light);
    line-height: 1.4;
    margin-top: 4px;
    margin-bottom: 4px;
    min-height: 18px;
}

/* --- 7. CART STYLES --- */
.cart-icon {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-icon svg {
    width: 22px;
    height: 22px;
}

.cart-count {
    background: var(--color-primary);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -8px;
    right: -10px;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: var(--color-bg-white);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-light);
    transition: color 0.3s ease;
}

.cart-close:hover {
    color: var(--color-primary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-text-light);
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.cart-item-qty button {
    width: 26px;
    height: 26px;
    border: 1px solid var(--border-color);
    background: var(--color-bg-cream);
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.cart-item-qty button:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: scale(1.1);
}

.cart-item-qty span {
    font-size: 0.9rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    font-size: 0.8rem;
    text-decoration: underline;
    transition: all 0.2s ease;
    margin-top: 5px;
}

.cart-item-remove:hover {
    color: #c0392b;
    text-decoration: none;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: var(--color-bg-cream);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.cart-total strong {
    font-family: var(--font-heading);
}

.btn-checkout {
    width: 100%;
    padding: 15px;
}

/* Add to cart button on product cards */
.product-card-actions {
    margin-top: 10px;
}

.btn-add-cart {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 8px 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-add-cart:hover {
    background: var(--color-primary);
    color: white;
}

/* --- 8. PAGE TRANSITIONS --- */
.page-section {
    animation: fadeSlideIn 0.5s ease-out;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-section.fade-out {
    animation: fadeSlideOut 0.3s ease-in forwards;
}

@keyframes fadeSlideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Button hover animations */
.btn-add-cart {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-add-cart:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(168, 126, 116, 0.3);
}

/* Product card animations */
.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.product-card:hover img {
    transform: scale(1.08);
}

/* Collection card animations - only button animates */
.collection-card {
    overflow: hidden;
    cursor: pointer;
}

.collection-card img {
    transition: none;
}

.collection-label {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card:hover .collection-label {
    background-color: var(--color-primary-hover);
    letter-spacing: 2px;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(168, 126, 116, 0.4);
}

/* Sidebar category animations */
.sidebar li {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.sidebar li::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--color-primary);
    transition: height 0.3s ease;
    border-radius: 2px;
}

.sidebar li:hover::before,
.sidebar li.active::before {
    height: 70%;
}

.sidebar li:hover {
    padding-left: 10px;
}

/* Cart sidebar smooth animation */
.cart-sidebar {
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.cart-sidebar.open {
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
}

.cart-overlay {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cart item animations */
.cart-item {
    transition: all 0.3s ease;
    animation: slideInRight 0.4s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-item:hover {
    background: var(--color-bg-cream);
}

/* Product grid stagger animation */
.product-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:nth-child(1) {
    animation-delay: 0.05s;
}

.product-card:nth-child(2) {
    animation-delay: 0.1s;
}

.product-card:nth-child(3) {
    animation-delay: 0.15s;
}

.product-card:nth-child(4) {
    animation-delay: 0.2s;
}

.product-card:nth-child(5) {
    animation-delay: 0.25s;
}

.product-card:nth-child(6) {
    animation-delay: 0.3s;
}

/* Hero content animation */
.hero-content h1 {
    animation: fadeSlideUp 1s ease-out 0.3s both;
}

.hero-content .btn {
    animation: fadeSlideUp 1s ease-out 0.6s both;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Nav link hover effect */
nav a {
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Section title animation */
.section-title {
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin: 15px auto 0;
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100px;
}

/* Accordion animation */
.accordion-header {
    transition: all 0.3s ease;
}

.accordion-header:hover {
    color: var(--color-primary);
    padding-left: 10px;
}

/* Pulse animation for cart icon when item added */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.cart-count.pulse {
    animation: pulse 0.4s ease;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Back link hover */
.back-link {
    text-decoration: underline;
    cursor: pointer;
    color: #777;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

/* --- 9. RESPONSIVE DESIGN --- */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .collections-grid {
        gap: 15px;
    }

    .collection-card img {
        height: 250px;
    }

    .shop-layout {
        gap: 25px;
    }

    .sidebar {
        width: 200px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .product-detail-layout {
        gap: 30px;
        padding: 30px;
    }
}

/* Mobile Landscape / Small Tablet (576px - 768px) */
@media (max-width: 768px) {

    .hero {
        height: 40vh;
        min-height: 300px;
    }

    .hero-content {
        left: 5%;
        right: 5%;
        max-width: none;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    h2.section-title {
        font-size: 1.6rem;
        margin: 30px 0;
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 40px;
    }

    .collection-card img {
        height: 200px;
    }

    .collection-label {
        font-size: 0.8rem;
        padding: 8px;
    }

    .essence-section {
        padding: 40px 15px;
    }

    .fragrance-boxes {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fragrance-box-title {
        font-size: 1.1rem;
    }

    .fragrance-box-info {
        padding: 20px;
    }

    .shop-layout {
        flex-direction: column;
        gap: 20px;
    }

    .sidebar {
        width: 100%;
        padding: 0;
        background: transparent;
    }

    .sidebar h3 {
        background: var(--color-bg-soft-pink);
        padding: 15px 20px;
        margin: 0;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .sidebar.open h3 {
        border-radius: 8px 8px 0 0;
        background: var(--color-primary);
        color: white;
    }

    .sidebar h3::after {
        content: '+';
        font-size: 1.3rem;
        font-weight: 300;
        transition: transform 0.3s ease;
    }

    .sidebar.open h3::after {
        content: '-';
    }

    .sidebar ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        background: var(--color-bg-cream);
        border: 1px solid var(--border-color);
        border-top: none;
        border-radius: 0 0 8px 8px;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.3s ease,
            padding 0.3s ease;
    }

    .sidebar.open ul {
        max-height: 600px;
        opacity: 1;
        padding: 10px 0;
    }

    .sidebar li {
        border: none;
        border-bottom: 1px solid var(--border-color);
        padding: 12px 20px;
        border-radius: 0;
        transform: translateX(-20px);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .sidebar.open li {
        transform: translateX(0);
        opacity: 1;
    }

    .sidebar.open li:nth-child(1) {
        transition-delay: 0.05s;
    }

    .sidebar.open li:nth-child(2) {
        transition-delay: 0.08s;
    }

    .sidebar.open li:nth-child(3) {
        transition-delay: 0.11s;
    }

    .sidebar.open li:nth-child(4) {
        transition-delay: 0.14s;
    }

    .sidebar.open li:nth-child(5) {
        transition-delay: 0.17s;
    }

    .sidebar.open li:nth-child(6) {
        transition-delay: 0.20s;
    }

    .sidebar.open li:nth-child(7) {
        transition-delay: 0.23s;
    }

    .sidebar.open li:nth-child(8) {
        transition-delay: 0.26s;
    }

    .sidebar.open li:nth-child(9) {
        transition-delay: 0.29s;
    }

    .sidebar.open li:nth-child(10) {
        transition-delay: 0.32s;
    }

    .sidebar.open li:nth-child(11) {
        transition-delay: 0.35s;
    }

    .sidebar.open li:nth-child(12) {
        transition-delay: 0.38s;
    }

    .sidebar.open li:nth-child(13) {
        transition-delay: 0.41s;
    }

    .sidebar.open li:nth-child(14) {
        transition-delay: 0.44s;
    }

    .sidebar li:last-child {
        border-bottom: none;
    }

    .sidebar li::before {
        display: none;
    }

    .sidebar li:active {
        background: var(--color-primary);
        color: white;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-card img {
        height: 180px;
    }

    .product-detail-layout {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .detail-image,
    .detail-info {
        width: 100%;
    }

    .detail-title {
        font-size: 1.5rem;
    }

    .cart-sidebar {
        width: 100%;
        max-width: 380px;
        right: -100%;
    }

    /* Contact Page Mobile - 768px */
    .contact-hero {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .contact-hero h3 {
        font-size: 1.4rem;
    }

    .contact-help-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-help-image {
        height: 250px;
        order: -1;
    }

    .contact-help-content h3 {
        font-size: 1.4rem;
    }

    .contact-methods-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-method-item {
        padding: 25px 20px;
    }

    .contact-form-section {
        padding: 30px 20px;
        margin: 0 0 40px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* WhatsApp Widget Mobile */
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-popup {
        width: 290px;
        right: -10px;
    }

    .whatsapp-btn {
        width: 55px;
        height: 55px;
    }

    .whatsapp-btn svg {
        width: 28px;
        height: 28px;
    }
}

/* Mobile Portrait (max 576px) */
@media (max-width: 576px) {
    header {
        padding: 15px 0;
    }

    .brand-name {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .nav-icons {
        top: 15px;
        right: 15px;
    }

    nav ul {
        gap: 12px;
        font-size: 0.75rem;
    }

    .hero {
        height: 35vh;
        min-height: 250px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .video-placeholder-icon {
        width: 60px;
        height: 60px;
    }

    .video-placeholder-text {
        font-size: 0.9rem;
    }

    h2.section-title {
        font-size: 1.4rem;
        margin: 25px 0;
    }

    .collections-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .collection-card img {
        height: 220px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-card img {
        height: 250px;
    }

    .product-title {
        font-size: 1.1rem;
    }

    .reviews {
        padding: 30px 0;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-item img {
        width: 60px;
        height: 60px;
    }

    .cart-item-title {
        font-size: 0.85rem;
    }

    footer {
        margin-top: 40px;
        padding: 15px;
    }

    /* Contact Page Mobile - 576px */
    .contact-hero {
        padding: 25px 15px;
    }

    .contact-hero h3 {
        font-size: 1.2rem;
    }

    .contact-hero p {
        font-size: 0.9rem;
    }

    .contact-hours-highlight {
        font-size: 1rem !important;
    }

    .contact-help-content h3 {
        font-size: 1.2rem;
        text-align: center;
    }

    .contact-intro {
        text-align: center;
        font-size: 0.9rem;
    }

    .contact-help-item {
        flex-direction: row;
        text-align: left;
        gap: 12px;
        margin-bottom: 15px;
        align-items: center;
    }

    .contact-help-item .contact-help-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .contact-help-item .contact-help-icon svg {
        width: 18px;
        height: 18px;
    }

    .contact-help-item h4 {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }

    .contact-help-item p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .contact-help-image {
        height: 200px;
    }

    .contact-methods-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contact-method-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 15px;
        gap: 12px;
    }

    .contact-method-item h4 {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }

    .contact-method-item p {
        font-size: 0.8rem;
    }

    .contact-method-item .contact-method-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        margin: 0;
    }

    .contact-method-item .contact-method-icon svg {
        width: 20px;
        height: 20px;
    }

    .contact-method-item .btn-outline {
        padding: 6px 12px;
        font-size: 0.7rem;
        margin-top: 5px;
    }

    .contact-form-section {
        padding: 25px 15px;
    }

    .whatsapp-popup {
        width: 260px;
        bottom: 65px;
    }

    .whatsapp-popup-header {
        padding: 15px;
    }

    .whatsapp-popup-header h4 {
        font-size: 1rem;
    }

    .whatsapp-popup-body {
        padding: 15px;
    }

    .whatsapp-popup-body textarea {
        height: 70px;
        font-size: 0.85rem;
    }

    .whatsapp-send-btn {
        padding: 10px;
        font-size: 0.85rem;
    }
}

/* Extra small devices */
@media (max-width: 380px) {
    .brand-name {
        font-size: 1.3rem;
    }

    nav ul {
        gap: 8px;
        font-size: 0.7rem;
    }

    .hero-content h1 {
        font-size: 1.3rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
}

/* Checkout Modal Styles */
.checkout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.checkout-overlay.active {
    opacity: 1;
    visibility: visible;
}

.checkout-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--color-bg-white);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 15px;
    z-index: 1101;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.checkout-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.checkout-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-text-light);
    transition: color 0.3s ease;
    z-index: 10;
}

.checkout-modal-close:hover {
    color: var(--color-primary);
}

.checkout-modal-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.checkout-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.checkout-modal-header p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.checkout-modal-body {
    padding: 25px 30px 30px;
}

.checkout-order-summary {
    background: var(--color-bg-cream);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.checkout-order-summary h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-text-dark);
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.checkout-summary-item:last-of-type {
    border-bottom: none;
}

.checkout-summary-item-name {
    flex: 1;
}

.checkout-summary-item-qty {
    color: var(--color-text-light);
    margin: 0 15px;
}

.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid var(--color-primary);
    font-size: 1.1rem;
}

.checkout-summary-total strong {
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.checkout-form-section {
    margin-bottom: 25px;
}

.checkout-form-section h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--color-text-dark);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.checkout-modal .form-group {
    margin-bottom: 15px;
}

.checkout-modal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkout-modal label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: var(--color-text-dark);
    font-weight: 500;
}

.checkout-modal input,
.checkout-modal select,
.checkout-modal textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    background: white;
}

.checkout-modal input:focus,
.checkout-modal select:focus,
.checkout-modal textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(168, 126, 116, 0.15);
}

.checkout-modal select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.checkout-modal textarea {
    resize: vertical;
    min-height: 80px;
}

.checkout-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.checkout-actions .btn {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Checkout Modal Responsive */
@media (max-width: 576px) {
    .checkout-modal {
        width: 95%;
        max-height: 95vh;
    }

    .checkout-modal-header {
        padding: 20px;
    }

    .checkout-modal-header h3 {
        font-size: 1.3rem;
    }

    .checkout-modal-body {
        padding: 20px;
    }

    .checkout-modal .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .checkout-actions {
        flex-direction: column;
    }
}

/* ========================================
   RESELLER MANAGEMENT SYSTEM STYLES
======================================== */

/* Reseller Landing Page */
.reseller-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #3d2b27 50%, var(--color-primary) 100%);
    text-align: center;
    padding: 80px 20px;
    color: white;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.reseller-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 126, 116, 0.15) 0%, transparent 50%);
    animation: reseller-shimmer 8s ease-in-out infinite;
}

@keyframes reseller-shimmer {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(5%, 5%);
    }
}

.reseller-hero>* {
    position: relative;
    z-index: 1;
}

.reseller-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.reseller-hero p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
    line-height: 1.7;
}

.reseller-hero .btn-light {
    font-size: 1rem;
    padding: 16px 40px;
}

/* Benefits Grid */
.reseller-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.benefit-card {
    text-align: center;
    padding: 40px 28px 35px;
    background: var(--color-bg-white);
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--color-primary);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(168, 126, 116, 0.18);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(168, 126, 116, 0.12), rgba(168, 126, 116, 0.06));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--color-primary);
}

.benefit-icon svg {
    width: 26px;
    height: 26px;
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--color-text-dark);
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Admin Fee Notice */
.reseller-fee-notice {
    background: linear-gradient(135deg, #faf6f5 0%, #f5ebe8 100%);
    border: 1px solid rgba(168, 126, 116, 0.25);
    border-radius: 14px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0 10px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.reseller-fee-notice .fee-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.reseller-fee-notice .fee-icon svg {
    width: 22px;
    height: 22px;
}

.reseller-fee-notice .fee-text {
    flex: 1;
}

.reseller-fee-notice .fee-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-text-dark);
    margin-bottom: 4px;
}

.reseller-fee-notice .fee-text span {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.reseller-fee-amount {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-primary);
    font-weight: 700;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .reseller-fee-notice {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
}

/* Steps Section */
.reseller-steps {
    background: var(--color-bg-soft-pink);
    padding: 50px 20px;
    text-align: center;
    margin: 40px 0;
    border-radius: 14px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 900px;
    margin: 30px auto 0;
}

.step-item {
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 22px;
    right: -14px;
    width: 28px;
    height: 2px;
    background: rgba(168, 126, 116, 0.35);
}

.step-number {
    width: 45px;
    height: 45px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 0 auto 12px;
}

.step-item h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.step-item p {
    font-size: 0.82rem;
    color: var(--color-text-light);
}

/* Reseller Auth Forms */
.reseller-auth-container {
    max-width: 480px;
    margin: 40px auto;
    padding: 0 20px;
}

.reseller-auth-card {
    background: var(--color-bg-white);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.reseller-auth-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.reseller-auth-header h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.reseller-auth-header p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.reseller-auth-body {
    padding: 30px;
}

.reseller-auth-body .form-group {
    margin-bottom: 18px;
}

.reseller-auth-body label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text-dark);
}

.reseller-auth-body input,
.reseller-auth-body select,
.reseller-auth-body textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s ease;
}

.reseller-auth-body input:focus,
.reseller-auth-body select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(168, 126, 116, 0.1);
}

.reseller-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.reseller-auth-body .btn {
    width: 100%;
    margin-top: 10px;
}

.reseller-auth-footer {
    text-align: center;
    padding: 20px 30px 30px;
    font-size: 0.88rem;
    color: var(--color-text-light);
}

.reseller-auth-footer a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.reseller-auth-footer a:hover {
    text-decoration: underline;
}

.reseller-terms-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400 !important;
    cursor: pointer;
}

.reseller-terms-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

/* Google Sign-In Button */
.google-signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 20px;
    background: white;
    color: #3c4043;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
}

.google-signin-btn:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #c0c0c0;
}

.google-signin-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    gap: 15px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    font-size: 0.82rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reseller-msg {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.88rem;
    display: none;
}

.reseller-msg.error {
    background: #fee;
    color: #c0392b;
    border: 1px solid #f5c6cb;
    display: block;
}

.reseller-msg.success {
    background: #efffef;
    color: #27ae60;
    border: 1px solid #c3e6cb;
    display: block;
}

/* Reseller Dashboard */
.reseller-dashboard {
    padding: 20px 0 40px;
}

.dashboard-welcome {
    background: linear-gradient(135deg, var(--color-primary) 0%, #5a3a34 100%);
    color: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.dashboard-welcome h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.dashboard-welcome p {
    opacity: 0.85;
    font-size: 0.95rem;
}

.referral-code-box {
    background: rgba(255, 255, 255, 0.15);
    border: 1px dashed rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 15px 25px;
    text-align: center;
}

.referral-code-box small {
    display: block;
    opacity: 0.8;
    margin-bottom: 5px;
    font-size: 0.8rem;
}

.referral-code-box .code {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    letter-spacing: 3px;
    font-weight: 600;
}

.copy-code-btn {
    margin-top: 8px;
    background: white;
    color: var(--color-primary);
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.copy-code-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--color-bg-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-primary);
}

.stat-card.green::before {
    background: #27ae60;
}

.stat-card.blue::before {
    background: #2980b9;
}

.stat-card.orange::before {
    background: #e67e22;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-text-dark);
}

/* Dashboard Panels */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.dashboard-panel {
    background: var(--color-bg-white);
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    padding: 25px;
}

.dashboard-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

/* Share Link */
.share-link-box {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.share-link-box input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    color: var(--color-text-light);
    background: var(--color-bg-cream);
}

.share-link-box button {
    padding: 10px 18px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.share-link-box button:hover {
    background: var(--color-primary-hover);
}

/* Sales Table */
.reseller-table-wrap {
    overflow-x: auto;
}

.reseller-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.reseller-table th,
.reseller-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.reseller-table th {
    background: var(--color-bg-cream);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
}

.reseller-table tr:hover {
    background: var(--color-bg-soft-pink);
}

.reseller-table .badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-active {
    background: #e8f5e9;
    color: #27ae60;
}

.badge-pending {
    background: #fff3e0;
    color: #e67e22;
}

.badge-suspended {
    background: #ffebee;
    color: #c0392b;
}

/* Bar Chart */
.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 150px;
    padding: 10px 0;
}

.chart-bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

.chart-bar {
    width: 100%;
    max-width: 40px;
    background: linear-gradient(to top, var(--color-primary), var(--color-primary-hover));
    border-radius: 6px 6px 0 0;
    min-height: 5px;
    transition: height 0.5s ease;
}

.chart-bar-label {
    font-size: 0.7rem;
    color: var(--color-text-light);
    margin-top: 6px;
}

.chart-bar-value {
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text-dark);
}

/* Dashboard Actions */
.dashboard-actions {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.dashboard-actions .btn {
    font-size: 0.82rem;
    padding: 10px 20px;
}

/* Logout Button */
.reseller-logout-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.82rem;
    transition: all 0.3s ease;
}

.reseller-logout-btn:hover {
    background: white;
    color: var(--color-primary);
}

/* Admin Panel Styles */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.admin-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0;
}

.admin-search {
    padding: 10px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    width: 280px;
    max-width: 100%;
}

.admin-search:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Responsive — Reseller Pages */
@media (max-width: 768px) {
    .reseller-hero h1 {
        font-size: 2rem;
    }

    .reseller-hero p {
        font-size: 1rem;
    }

    .reseller-benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-welcome {
        flex-direction: column;
        text-align: center;
    }

    .reseller-form-row {
        grid-template-columns: 1fr;
    }

    .admin-header {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-search {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .reseller-hero {
        padding: 50px 15px;
    }

    .reseller-hero h1 {
        font-size: 1.6rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 1.4rem;
    }

    .referral-code-box .code {
        font-size: 1.3rem;
    }
}

/* ========================================
   MULTI-STEP REGISTRATION WIZARD
======================================== */

/* Step Progress Bar */
.reg-stepper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 10px;
}

.reg-stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 120px;
}

.reg-stepper-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-bg-cream);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-text-light);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.reg-stepper-step.active .reg-stepper-circle {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    box-shadow: 0 3px 12px rgba(168, 126, 116, 0.35);
    transform: scale(1.1);
}

.reg-stepper-step.completed .reg-stepper-circle {
    background: #27ae60;
    border-color: #27ae60;
    color: white;
}

.reg-stepper-label {
    font-size: 0.68rem;
    margin-top: 6px;
    color: var(--color-text-light);
    text-align: center;
    transition: color 0.3s ease;
}

.reg-stepper-step.active .reg-stepper-label {
    color: var(--color-primary);
    font-weight: 600;
}

.reg-stepper-step.completed .reg-stepper-label {
    color: #27ae60;
}

.reg-stepper-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 -5px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
    transition: background 0.4s ease;
}

.reg-stepper-line.completed {
    background: #27ae60;
}

/* Step Content */
.reg-step-content {
    display: none;
    animation: fadeSlideIn 0.4s ease-out;
}

.reg-step-content.active {
    display: block;
}

.reg-step-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--color-text-dark);
}

.reg-step-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.reg-step-actions .btn {
    flex: 1;
    text-align: center;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    padding: 12px 30px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

/* Google Sign-In as Primary */
.google-signin-btn.primary {
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid #4285F4;
    box-shadow: 0 2px 10px rgba(66, 133, 244, 0.15);
}

.google-signin-btn.primary:hover {
    background: #f0f4ff;
    box-shadow: 0 4px 16px rgba(66, 133, 244, 0.25);
    transform: translateY(-1px);
}

.google-recommended {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.72rem;
    color: #4285F4;
    font-weight: 600;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

/* Password Reset */
.forgot-password-link {
    display: block;
    width: 100%;
    text-align: right;
    font-size: 0.82rem;
    color: var(--color-primary);
    text-decoration: none;
    cursor: pointer;
    margin-top: 5px;
    margin-bottom: 10px;
    transition: color 0.2s ease;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
}

.forgot-password-link:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

/* Profile Completion Page */
.profile-completion-card {
    background: var(--color-bg-white);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-width: 560px;
    margin: 40px auto;
}

.profile-completion-header {
    background: linear-gradient(135deg, #27ae60 0%, #219653 100%);
    color: white;
    padding: 30px 30px 20px;
    text-align: center;
}

.profile-completion-header h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 5px;
    color: white;
}

.profile-completion-header p {
    opacity: 0.9;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Progress Bar */
.profile-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin: 15px 0 10px;
    overflow: hidden;
}

.profile-progress-fill {
    height: 100%;
    background: #abffc3;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.profile-completion-body {
    padding: 30px;
}

/* Section Headers */
.profile-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text-dark);
    margin: 25px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.profile-section-icon {
    font-size: 1.2rem;
}

.profile-welcome-info {
    background: var(--color-bg-cream);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border-color);
}

.profile-welcome-avatar {
    width: 45px;
    height: 45px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.profile-welcome-detail {
    font-size: 0.88rem;
}

.profile-welcome-detail strong {
    display: block;
    color: var(--color-text-dark);
}

.profile-welcome-detail span {
    color: var(--color-text-light);
    font-size: 0.82rem;
}

.profile-terms {
    margin-top: 20px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.reseller-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--color-text-dark);
}

.reseller-checkbox-label input {
    transform: scale(1.2);
    margin-top: 2px;
    accent-color: var(--color-primary);
}

/* Admin Detail Modal */
.admin-detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.admin-detail-overlay.active {
    opacity: 1;
    visibility: visible;
}

.admin-detail-card {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 550px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeSlideIn 0.3s ease-out;
}

.admin-detail-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, #5a3a34 100%);
    color: white;
    padding: 25px;
    position: relative;
}

.admin-detail-close {
    position: absolute;
    top: 15px;
    right: 18px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.admin-detail-close:hover {
    opacity: 1;
}

.admin-detail-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.admin-detail-header p {
    font-size: 0.85rem;
    opacity: 0.85;
}

.admin-detail-body {
    padding: 25px;
}

.admin-detail-section {
    margin-bottom: 22px;
}

.admin-detail-section h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-color);
    color: var(--color-text-dark);
}

.admin-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.admin-detail-row:last-child {
    border-bottom: none;
}

.admin-detail-label {
    color: var(--color-text-light);
    font-weight: 500;
}

.admin-detail-value {
    color: var(--color-text-dark);
    font-weight: 600;
    text-align: right;
}

.admin-view-btn {
    background: none;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 4px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.75rem;
    margin-right: 5px;
    transition: all 0.2s ease;
}

.admin-view-btn:hover {
    background: var(--color-primary);
    color: white;
}

@media (max-width: 576px) {
    .reg-stepper-label {
        font-size: 0.6rem;
    }

    .reg-stepper-circle {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .admin-detail-card {
        width: 95%;
        max-height: 90vh;
    }

    .admin-detail-row {
        flex-direction: column;
        gap: 2px;
    }

    .admin-detail-value {
        text-align: left;
    }
}