/* 
   TEDDY HUB - Premium eCommerce Brand Style Sheet (Logo-Matched Theme)
   Colors: Ivory Cream, Deep Mahogany, Rich Crimson, Caramel Gold, Warm Beige
   Typography: Poppins (Sans-serif) & Playfair Display (Serif)
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
    --cream-bg: #FAF6F0;
    --cream-light: #FFFDF9;
    --chocolate-dark: #421A15;
    --chocolate-medium: #B65D54; /* Rose Mahogany (Girly logo match) */
    --chocolate-light: #B76D2E; /* Caramel Gold */
    --warm-red: #E08580; /* Blush Rose Accent */
    --warm-red-hover: #C66C67; /* Hover Blush Accent */
    --soft-pink: #F5E5E3; /* Soft Blush Rose */
    --soft-pink-light: #FFF5F4; /* Light Rose Wash */
    --beige-border: #EAD3CD; /* Soft Pinkish-Beige Border */
    --text-color: #4E2822;
    --text-muted: #A27A73; /* Muted Rose-Brown */
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', system-ui, -apple-system, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(58, 35, 18, 0.04);
    --shadow-md: 0 12px 30px rgba(58, 35, 18, 0.08);
    --shadow-lg: 0 20px 50px rgba(58, 35, 18, 0.12);
    
    /* Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-round: 50%;
    
    /* Transitions */
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 100px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--chocolate-dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button, input, select, textarea {
    font-family: inherit;
    border: none;
    outline: none;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.section-padding { padding: 80px 0; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 8px;
}

.btn-primary {
    background-color: var(--chocolate-medium);
    color: var(--cream-light);
}

.btn-primary:hover {
    background-color: var(--chocolate-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--chocolate-dark);
    border: 2px solid var(--chocolate-medium);
}

.btn-secondary:hover {
    background-color: var(--chocolate-medium);
    color: var(--cream-light);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--warm-red);
    color: var(--cream-light);
}

.btn-accent:hover {
    background-color: var(--warm-red-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--warm-red);
    border-radius: 2px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 10px;
}



/* --- Header / Navbar --- */
header {
    background-color: rgba(250, 246, 240, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--beige-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition-smooth);
}

.header-active {
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo img {
    height: 85px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--chocolate-dark);
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--warm-red);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.action-btn {
    background: transparent;
    color: var(--chocolate-dark);
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    padding: 6px;
    transition: var(--transition-fast);
}

.action-btn:hover {
    color: var(--warm-red);
}

.badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--warm-red);
    color: var(--cream-light);
    font-size: 0.7rem;
    font-weight: 600;
    width: 17px;
    height: 17px;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--cream-bg);
}

.login-btn {
    background-color: var(--soft-pink);
    color: var(--chocolate-dark);
    border: 1px solid rgba(107, 71, 43, 0.2);
    font-weight: 500;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.login-btn:hover {
    background-color: var(--chocolate-medium);
    color: var(--cream-light);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--chocolate-dark);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: calc(100vh - var(--header-height));
    min-height: 550px;
    max-height: 800px;
    background: transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-overlay-container {
    position: relative;
    z-index: 2;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-content {
    background: rgba(250, 246, 240, 0.25); /* Ultra-transparent Ivory Cream overlay */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(230, 220, 184, 0.35); /* subtle warm border */
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto; /* enable clicks inside the card */
    animation: fadeInUp 1s ease;
    max-width: 650px;
    width: 100%;
}

.hero-tag {
    display: inline-block;
    background-color: var(--soft-pink);
    color: var(--chocolate-dark);
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 500px;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    opacity: 0.85; /* Highly visible background slideshow */
    transition: transform 8s ease-in-out;
}

.hero-slide.active img {
    transform: scale(1.08); /* Premium slow zoom scale Ken Burns effect */
}

.hero-slideshow-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--text-muted);
    opacity: 0.5;
    cursor: pointer;
    transition: var(--transition-fast);
}

.hero-dot.active {
    background-color: var(--chocolate-medium);
    opacity: 1;
    transform: scale(1.2);
}

/* --- Category Section --- */
.categories {
    background-color: var(--cream-light);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

/* --- Categories Section Tabs Layout --- */
.categories-container {
    background-color: var(--cream-light);
    border: 1px solid var(--beige-border);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-sm);
    margin-top: 30px;
}

.category-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* Category card layout in dropdown */
.category-item-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--cream-bg);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    border: 1px solid var(--beige-border);
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.category-item-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
    border-color: #E67E22;
}

.category-item-card.active {
    border-color: #E67E22;
    border-width: 2px;
    background-color: var(--cream-light);
}

.category-item-thumb {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--beige-border);
    overflow: hidden;
    background-color: var(--cream-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.category-item-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--chocolate-dark);
    font-family: var(--font-body);
}

.category-item-card.active .category-item-name {
    color: #E67E22;
}

/* Quantity badge in category card top-right */
.category-item-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #E67E22;
    color: var(--cream-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(230,126,34,0.3);
    border: 2px solid var(--cream-light);
}

#forgot-password-link:hover {
    color: var(--warm-red) !important;
    text-decoration: underline;
}

@media (max-width: 576px) {
    .categories-container {
        padding: 20px;
    }
}


/* --- Featured Products --- */
.products-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--cream-light);
    color: var(--chocolate-dark);
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-xl);
    cursor: pointer;
    border: 1px solid var(--beige-border);
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--chocolate-medium);
    color: var(--cream-light);
    border-color: var(--chocolate-medium);
    box-shadow: var(--shadow-sm);
}

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

.product-card {
    background-color: var(--cream-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--beige-border);
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--soft-pink);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--warm-red);
    color: var(--cream-light);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 10;
}

.product-wishlist {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-round);
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 10;
    transition: var(--transition-smooth);
    color: var(--chocolate-dark);
}

.product-wishlist:hover {
    background-color: var(--warm-red);
    color: var(--cream-light);
    transform: scale(1.1);
}

.product-wishlist.active i {
    color: var(--warm-red);
}

.product-wishlist.active:hover i {
    color: var(--cream-light);
}

.product-image-container {
    height: 280px;
    background-color: #f7f1eb;
    overflow: hidden;
    position: relative;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.product-action-overlay {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    padding: 12px;
    background: linear-gradient(0deg, rgba(58, 35, 18, 0.2) 0%, rgba(255,255,255,0) 100%);
    display: flex;
    justify-content: center;
    transition: var(--transition-smooth);
}

.product-card:hover .product-action-overlay {
    bottom: 0;
}

.btn-quickview {
    padding: 8px 18px;
    font-size: 0.8rem;
    font-weight: 500;
    background-color: rgba(250, 246, 240, 0.95);
    color: var(--chocolate-dark);
    box-shadow: var(--shadow-sm);
}

.btn-quickview:hover {
    background-color: var(--chocolate-medium);
    color: var(--cream-light);
}

.product-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--chocolate-dark);
    line-height: 1.3;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 15px;
}

.product-rating i {
    font-size: 0.85rem;
    color: #F39C12;
}

.product-rating span {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 4px;
}

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

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--chocolate-medium);
}

.btn-add-cart {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-round);
    background-color: var(--soft-pink);
    color: var(--chocolate-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-add-cart:hover {
    background-color: var(--chocolate-medium);
    color: var(--cream-light);
    transform: rotate(90deg);
}


/* --- About Section --- */
.about {
    background-color: var(--cream-bg);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-text {
    color: var(--text-color);
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature-item i {
    color: var(--warm-red);
    font-size: 1.25rem;
    margin-top: 4px;
}

.about-feature-item h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--chocolate-dark);
    margin-bottom: 4px;
}

.about-feature-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.about-images {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-img-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--cream-light);
    width: 80%;
    z-index: 2;
}

.about-img-sub {
    position: absolute;
    bottom: -30px;
    left: -10px;
    width: 50%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 4px solid var(--cream-light);
    z-index: 3;
}

.about-badge {
    position: absolute;
    top: -20px;
    right: 10px;
    width: 100px;
    height: 100px;
    background-color: var(--soft-pink);
    border-radius: var(--radius-round);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: var(--shadow-md);
    transform: rotate(15deg);
    border: 2px dashed var(--chocolate-medium);
}

.about-badge-num {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--chocolate-dark);
    line-height: 1;
}

.about-badge-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--chocolate-medium);
    text-align: center;
}

/* --- Customer Reviews --- */
.reviews {
    background-color: var(--cream-light);
}

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

.review-card {
    background-color: var(--cream-bg);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    border: 1px solid var(--beige-border);
    transition: var(--transition-smooth);
    position: relative;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--soft-pink);
}

.review-quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.5rem;
    color: rgba(107, 71, 43, 0.06);
}

.review-stars {
    margin-bottom: 20px;
}

.review-stars i {
    color: #F39C12;
    font-size: 0.95rem;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 24px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-round);
    background-color: var(--soft-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--chocolate-dark);
    border: 2px solid var(--cream-light);
    box-shadow: var(--shadow-sm);
}

.review-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--chocolate-dark);
}

.review-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Newsletter Section --- */
.newsletter {
    background-color: var(--cream-bg);
    padding: 60px 0;
}

.newsletter-box {
    background-color: var(--soft-pink-light);
    border: 1px dashed var(--chocolate-light);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.newsletter h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.newsletter-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--cream-light);
    padding: 6px;
    border-radius: 40px;
    border: 1px solid var(--beige-border);
    box-shadow: var(--shadow-sm);
}

.newsletter-form input {
    flex-grow: 1;
    padding: 10px 20px;
    background: transparent;
    font-size: 0.9rem;
    color: var(--text-color);
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form button {
    border-radius: 40px;
    padding: 10px 24px;
}

.newsletter-success {
    display: none;
    color: var(--chocolate-dark);
    background-color: var(--cream-light);
    border: 1px solid var(--beige-border);
    padding: 15px 30px;
    border-radius: 30px;
    max-width: 450px;
    margin: 20px auto 0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- Footer --- */
footer {
    background-color: var(--chocolate-dark);
    color: var(--cream-light);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo-footer {
    height: 55px;
    margin-bottom: 24px;
}

.footer-brand p {
    color: var(--cream-bg);
    opacity: 0.75;
    font-size: 0.9rem;
    margin-bottom: 24px;
    max-width: 250px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-round);
    background-color: rgba(250, 246, 240, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--soft-pink);
    color: var(--chocolate-dark);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: var(--cream-light);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--soft-pink);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--cream-bg);
    opacity: 0.75;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--soft-pink);
    opacity: 1;
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--cream-bg);
    opacity: 0.75;
}

.footer-contact i {
    color: var(--soft-pink);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(250, 246, 240, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--cream-bg);
    opacity: 0.7;
}

.payment-methods {
    display: flex;
    gap: 15px;
    align-items: center;
}

.payment-methods i {
    font-size: 1.5rem;
}

/* --- Cart Drawer --- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(58, 35, 18, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background-color: var(--cream-light);
    box-shadow: -10px 0 40px rgba(58, 35, 18, 0.15);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.cart-overlay.open .cart-drawer {
    right: 0;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--beige-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.4rem;
}

.cart-close-btn {
    background: transparent;
    color: var(--chocolate-dark);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition-fast);
}

.cart-close-btn:hover {
    color: var(--warm-red);
    transform: rotate(90deg);
}

.cart-items-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Empty Cart View */
.cart-empty {
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cart-empty i {
    font-size: 3.5rem;
    color: var(--text-muted);
    opacity: 0.4;
}

.cart-empty p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Cart Item Card */
.cart-item {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid rgba(233, 222, 196, 0.5);
    padding-bottom: 20px;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    background-color: var(--cream-bg);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--chocolate-dark);
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--chocolate-medium);
    margin-bottom: 8px;
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--beige-border);
    border-radius: 20px;
    padding: 2px 4px;
    background-color: var(--cream-bg);
}

.qty-btn {
    background: transparent;
    width: 24px;
    height: 24px;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    color: var(--chocolate-dark);
}

.qty-btn:hover {
    background-color: var(--cream-light);
}

.qty-num {
    font-size: 0.85rem;
    font-weight: 600;
    width: 30px;
    text-align: center;
}

.cart-item-delete {
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.cart-item-delete:hover {
    color: var(--warm-red);
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--beige-border);
    background-color: var(--cream-bg);
}

.cart-totals {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--chocolate-dark);
    margin-bottom: 20px;
}

.cart-total-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--warm-red);
}

.cart-footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-footer-buttons .btn {
    width: 100%;
}

#checkout-btn {
    background-color: #25D366;
    color: var(--cream-light);
    border: none;
}

#checkout-btn:hover {
    background-color: #20BA56;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.35);
}

/* --- Quick View Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(58, 35, 18, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background-color: var(--cream-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 800px;
    position: relative;
    overflow: hidden;
    transform: translateY(30px);
    transition: var(--transition-smooth);
    border: 1px solid var(--beige-border);
}

.modal-overlay.open .modal-container {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-round);
    background-color: var(--cream-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    z-index: 10;
    border: 1px solid var(--beige-border);
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--warm-red);
    transform: rotate(90deg);
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}

.modal-gallery {
    background-color: #f7f1eb;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.modal-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.modal-title {
    font-size: 2rem;
    color: var(--chocolate-dark);
    margin-bottom: 12px;
}

.modal-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.modal-rating i {
    color: #F39C12;
    font-size: 0.9rem;
}

.modal-rating span {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 6px;
}

.modal-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--chocolate-medium);
    margin-bottom: 20px;
}

.modal-desc {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 24px;
}

.modal-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.modal-actions .qty-selector {
    padding: 6px 12px;
}

.modal-actions .qty-btn {
    width: 28px;
    height: 28px;
}

.modal-actions .qty-num {
    font-size: 0.95rem;
}

.modal-actions .btn {
    flex-grow: 1;
}

.modal-footer-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--beige-border);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-footer-meta span strong {
    color: var(--chocolate-dark);
}

/* --- Search Overlay --- */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(58, 35, 18, 0.95);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.search-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.search-close-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    background: transparent;
    color: var(--cream-light);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-close-btn:hover {
    color: var(--soft-pink);
    transform: rotate(90deg);
}

.search-container {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.search-container h3 {
    color: var(--cream-light);
    font-size: 2rem;
    margin-bottom: 30px;
}

.search-form {
    position: relative;
    border-bottom: 2px solid var(--cream-light);
    padding-bottom: 12px;
    display: flex;
    align-items: center;
}

.search-form input {
    background: transparent;
    color: var(--cream-light);
    font-size: 1.5rem;
    width: 100%;
    padding-right: 40px;
}

.search-form input::placeholder {
    color: rgba(250, 246, 240, 0.5);
}

.search-form button {
    background: transparent;
    color: var(--cream-light);
    font-size: 1.5rem;
    position: absolute;
    right: 0;
    cursor: pointer;
}

.search-form button:hover {
    color: var(--soft-pink);
}

/* --- Toast Notifications --- */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background-color: var(--chocolate-dark);
    color: var(--cream-light);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 280px;
    animation: slideInLeft 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: auto;
    border-left: 4px solid var(--warm-red);
}

.toast i {
    font-size: 1.2rem;
}

.toast-success i {
    color: #2ECC71;
}

.toast-info i {
    color: var(--soft-pink);
}

.toast.removing {
    animation: fadeOutLeft 0.3s forwards;
}

/* --- Keyframe Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatTeddy {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-40px);
    }
}

/* --- Responsive Media Queries --- */

@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-wrapper {
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--cream-light);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 60px;
        gap: 40px;
        transition: var(--transition-smooth);
        box-shadow: 0 10px 30px rgba(58, 35, 18, 0.05);
        border-top: 1px solid var(--beige-border);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-actions {
        gap: 12px;
    }
    
    .login-btn {
        display: none; /* Hide in header for mobile, show in menu list if needed */
    }
    
    .hero {
        height: auto;
        min-height: calc(100vh - var(--header-height));
        padding: 60px 0;
        max-height: none;
    }
    
    .hero-container {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .hero-content {
        padding: 30px 20px;
        width: 100%;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-images {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .modal-content-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-gallery {
        min-height: 280px;
        height: 280px;
    }
    
    .modal-details {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-drawer {
        max-width: 100%;
    }
}

/* --- Admin Dashboard Layout & Components --- */
.admin-dashboard {
    background-color: var(--cream-bg);
}

.admin-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.admin-metrics-grid .metric-card {
    background-color: var(--cream-light);
    border: 1px solid var(--beige-border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.admin-metrics-grid .metric-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.admin-metrics-grid .metric-card i {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-round);
    background-color: var(--cream-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--beige-border);
}

.metric-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.metric-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--chocolate-dark);
}

.admin-metrics-grid .alert-card.alert-active {
    border-color: var(--warm-red);
    background-color: var(--soft-pink-light);
}

.admin-content-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.admin-form-container,
.admin-table-container,
.admin-sales-log-container {
    background-color: var(--cream-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--beige-border);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.admin-form-container h3,
.admin-table-container h3,
.admin-sales-log-container h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--soft-pink);
    padding-bottom: 10px;
    position: relative;
}

.admin-form-container h3::after,
.admin-table-container h3::after,
.admin-sales-log-container h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--chocolate-medium);
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--chocolate-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: var(--cream-bg);
    border: 1px solid var(--beige-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: var(--transition-fast);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background-color: var(--cream-light);
    border-color: var(--chocolate-medium);
    box-shadow: 0 0 0 3px rgba(107, 71, 43, 0.1);
}

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

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--beige-border);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.admin-table th {
    background-color: var(--chocolate-dark);
    color: var(--cream-light);
    padding: 14px 16px;
    font-weight: 600;
    font-family: var(--font-body);
}

.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--beige-border);
    color: var(--text-color);
    vertical-align: middle;
}

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

.admin-table tbody tr:hover {
    background-color: var(--cream-bg);
}

.admin-table img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background-color: var(--cream-bg);
    border: 1px solid var(--beige-border);
}

.table-product-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--chocolate-dark);
}

.table-product-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.stock-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.stock-ok {
    background-color: rgba(46, 204, 113, 0.15);
    color: #2ECC71;
}

.stock-low {
    background-color: rgba(230, 126, 34, 0.15);
    color: #E67E22;
}

.stock-out {
    background-color: rgba(184, 58, 58, 0.15);
    color: var(--warm-red);
}

.admin-qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.admin-qty-control button {
    background-color: var(--cream-bg);
    border: 1px solid var(--beige-border);
    width: 22px;
    height: 22px;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.7rem;
    color: var(--chocolate-dark);
    transition: var(--transition-fast);
}

.admin-qty-control button:hover {
    background-color: var(--chocolate-medium);
    color: var(--cream-light);
}

.admin-qty-control span {
    font-size: 0.8rem;
    font-weight: 600;
}

.admin-actions-cell {
    display: flex;
    gap: 10px;
}

.btn-delete, .btn-edit {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-round);
    background-color: var(--soft-pink);
    color: var(--chocolate-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.85rem;
}

.btn-delete:hover {
    background-color: var(--warm-red);
    color: var(--cream-light);
}

.btn-edit:hover {
    background-color: var(--chocolate-medium);
    color: var(--cream-light);
}

.text-left-all th,
.text-left-all td {
    text-align: left !important;
}

.order-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.order-success {
    background-color: rgba(46, 204, 113, 0.15);
    color: #2ECC71;
}

.order-items-list {
    font-size: 0.8rem;
    list-style: disc;
    padding-left: 15px;
    color: var(--text-muted);
}

/* --- View Toggle Logic Styles --- */
#storefront-view,
#admin-view {
    animation: fadeInView 0.5s ease;
}

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

/* --- Responsive Adjustments for Dashboard --- */
@media (max-width: 1024px) {
    .admin-content-layout {
        grid-template-columns: 1fr;
    }
}

/* --- Customer Login Tabs & Security Modals --- */
.login-tab-btn {
    transition: var(--transition-fast);
    border: none;
    background: transparent;
    padding: 12px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.login-tab-btn:hover {
    color: var(--chocolate-medium);
}

.login-tab-btn.active {
    color: var(--chocolate-dark) !important;
    font-weight: 600 !important;
    border-bottom: 2px solid var(--chocolate-medium) !important;
}

#admin-passcode-input {
    background-color: var(--cream-bg);
    border: 1px solid var(--beige-border);
    border-radius: var(--radius-sm);
    color: var(--chocolate-dark);
    font-weight: 700;
    transition: var(--transition-fast);
}

#admin-passcode-input:focus {
    border-color: var(--chocolate-medium);
    box-shadow: 0 0 0 3px rgba(107, 71, 43, 0.1);
    background-color: var(--cream-light);
}

/* Modal Error Shake Animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

.shake-modal {
    animation: shake 0.4s ease-in-out;
}

/* --- Floating WhatsApp Icon --- */
.floating-whatsapp-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF !important;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
    animation: pulseWhatsapp 2s infinite;
}

.floating-whatsapp-chat:hover {
    background-color: #20BA56;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--chocolate-dark);
    color: var(--cream-light);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.floating-whatsapp-chat:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(-5px);
}

@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Help Center FAQ Styling --- */
.help-tab-content {
    animation: fadeInView 0.35s ease;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--beige-border);
    border-radius: var(--radius-sm);
    background-color: var(--cream-bg);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item.active {
    border-color: var(--chocolate-medium);
    background-color: var(--cream-light);
}

.faq-question {
    width: 100%;
    background: transparent;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--chocolate-dark);
    text-align: left;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--chocolate-medium);
}

.faq-question i {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--chocolate-medium);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 20px 20px;
}

.faq-answer p {
    font-size: 0.88rem;
    color: var(--text-color);
    line-height: 1.5;
}

/* --- Announcement Bar Styles --- */
.announcement-bar {
    width: 100%;
    text-align: center;
    padding: 10px 24px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 150;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.announcement-bar span {
    font-family: var(--font-body);
}

/* --- Admin Stats breakdown & Restock Alerts panel styles --- */
.admin-metrics-grid .metric-card > div {
    flex: 1;
    width: 100%;
}

.metric-breakdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--beige-border);
    width: 100%;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.breakdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
}

.breakdown-val {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--chocolate-dark);
}

.admin-restock-panel {
    background-color: var(--soft-pink-light);
    border: 1px solid var(--warm-red);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    animation: fadeInView 0.5s ease;
}

.restock-panel-header {
    margin-bottom: 20px;
}

.restock-panel-header h3 {
    font-size: 1.3rem;
    color: var(--chocolate-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.restock-panel-header h3 i {
    color: var(--warm-red);
}

.restock-panel-header p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.restock-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.restock-item-card {
    background-color: var(--cream-light);
    border: 1px solid var(--beige-border);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.restock-item-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--warm-red);
}

.restock-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.restock-item-info img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--beige-border);
    background-color: var(--cream-bg);
}

.restock-item-meta h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--chocolate-dark);
    margin-bottom: 2px;
}

.restock-item-meta span {
    font-size: 0.8rem;
    font-weight: 600;
}

.restock-item-meta span.stock-count-alert {
    color: var(--warm-red);
}

.btn-quick-restock {
    background-color: var(--chocolate-medium);
    color: var(--cream-light);
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.btn-quick-restock:hover {
    background-color: var(--chocolate-dark);
    transform: scale(1.02);
}

/* --- Image upload & live preview wrapper styling --- */
.image-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--cream-bg);
    border: 1px dashed var(--beige-border);
    border-radius: var(--radius-sm);
    padding: 10px 15px;
    width: 100%;
}

.upload-preview {
    width: 75px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--beige-border);
    background-color: var(--cream-light);
    display: block;
    flex-shrink: 0;
}

.image-upload-wrapper input[type="file"] {
    font-size: 0.85rem;
    color: var(--text-color);
    cursor: pointer;
    flex-grow: 1;
}
