/* assets/css/style.css */
/* Veesta - Premium Lingerie & Innerwear Brand Design System */

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

:root {
    --brand-blush: #FFF0F2;
    --brand-rose-gold: #B76E79;
    --brand-mauve: #5D3A42;
    --brand-cream: #FAF9F6;
    --brand-charcoal: #2E2E2E;
    --brand-white: #FFFFFF;
    --brand-gray-light: #F1F0EC;
    --brand-accent: #EAD5C3; /* Warm Nude */
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --box-shadow-soft: 0 8px 30px rgba(93, 58, 66, 0.05);
    --box-shadow-medium: 0 12px 40px rgba(93, 58, 66, 0.08);
}

body {
    background-color: var(--brand-cream);
    color: var(--brand-charcoal);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-font {
    font-family: var(--font-heading);
    color: var(--brand-mauve);
    font-weight: 600;
}

a {
    color: var(--brand-rose-gold);
    text-decoration: none;
    transition: var(--transition-smooth);
}
a:hover {
    color: var(--brand-mauve);
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    box-shadow: var(--box-shadow-soft);
    transition: var(--transition-smooth);
}
.glass-card:hover {
    box-shadow: var(--box-shadow-medium);
    transform: translateY(-4px);
}

/* Premium Buttons */
.btn-brand {
    background-color: var(--brand-rose-gold);
    color: var(--brand-white);
    border: 1px solid var(--brand-rose-gold);
    padding: 10px 24px;
    font-weight: 500;
    border-radius: 30px;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
}
.btn-brand:hover {
    background-color: var(--brand-mauve);
    border-color: var(--brand-mauve);
    color: var(--brand-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(93, 58, 66, 0.2);
}

.btn-brand-outline {
    background-color: transparent;
    color: var(--brand-rose-gold);
    border: 1px solid var(--brand-rose-gold);
    padding: 10px 24px;
    font-weight: 500;
    border-radius: 30px;
    transition: var(--transition-smooth);
}
.btn-brand-outline:hover {
    background-color: var(--brand-rose-gold);
    color: var(--brand-white);
    transform: translateY(-2px);
}

/* Navigation bar */
.navbar-brand {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-mauve) !important;
    letter-spacing: 1.5px;
}
.navbar-veesta {
    background: rgba(250, 249, 246, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(93, 58, 66, 0.05);
}
.navbar-veesta .nav-link {
    color: var(--brand-charcoal);
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}
.navbar-veesta .nav-link:hover,
.navbar-veesta .nav-link.active {
    color: var(--brand-rose-gold);
}
.navbar-veesta .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--brand-rose-gold);
    transition: var(--transition-smooth);
}
.navbar-veesta .nav-link:hover::after,
.navbar-veesta .nav-link.active::after {
    width: 100%;
}

/* Product Cards */
.product-card {
    border: none;
    background: var(--brand-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow-soft);
    transition: var(--transition-smooth);
}
.product-card:hover {
    box-shadow: var(--box-shadow-medium);
    transform: translateY(-5px);
}
.product-card .img-container {
    position: relative;
    overflow: hidden;
    background-color: var(--brand-gray-light);
    aspect-ratio: 3/4;
}
.product-card .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.product-card:hover .img-container img {
    transform: scale(1.08);
}
.product-card .badge-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
}
.product-card .wishlist-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-rose-gold);
    cursor: pointer;
    transition: var(--transition-smooth);
}
.product-card .wishlist-overlay:hover {
    background: var(--brand-rose-gold);
    color: var(--brand-white);
}

.product-card .product-details {
    padding: 16px;
}
.product-card .product-category {
    font-size: 12px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.product-card .product-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-mauve);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-card .price-container {
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-card .price-regular {
    color: var(--brand-rose-gold);
    font-weight: 600;
    font-size: 16px;
}
.product-card .price-original {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
}

/* Home Hero Banner */
.hero-slider {
    position: relative;
    background-color: var(--brand-blush);
    overflow: hidden;
}
.hero-item {
    height: 600px;
    background-size: cover;
    background-position: center;
}
.hero-item-inner {
    height: 100%;
}
@media (max-width: 768px) {
    .hero-item {
        height: 400px;
    }
}
.hero-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 40px;
    border-radius: 16px;
    max-width: 550px;
    animation: fadeInUp 1s ease;
}

/* Detail Page Swatches */
.swatch-color {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    border: 2px solid var(--brand-white);
    box-shadow: 0 0 0 1px #ccc;
    transition: var(--transition-smooth);
}
.swatch-color.active {
    box-shadow: 0 0 0 2px var(--brand-rose-gold);
}
.swatch-size {
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: inline-block;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
    background: var(--brand-white);
}
.swatch-size.active {
    background-color: var(--brand-rose-gold);
    color: var(--brand-white);
    border-color: var(--brand-rose-gold);
}
.swatch-size.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Header Cart Count Badge */
.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--brand-rose-gold);
    color: var(--brand-white);
    border-radius: 50%;
    font-size: 10px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Admin Dashboard layout */
.admin-sidebar {
    background-color: var(--brand-charcoal);
    min-height: 100vh;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
}
.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 20px;
    border-left: 3px solid transparent;
    transition: var(--transition-smooth);
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: var(--brand-white);
    background-color: rgba(255, 255, 255, 0.05);
    border-left-color: var(--brand-rose-gold);
}
.admin-header {
    background-color: var(--brand-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 30px;
}

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Toast Notifications styling */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1060;
}

/* Size Guide Modal & Details */
.size-guide-table th {
    background-color: var(--brand-blush);
    color: var(--brand-mauve);
}

/* Premium Scoped Footer Layout */
.footer-veesta {
    background-color: var(--brand-mauve);
    color: var(--brand-white);
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
}

.footer-veesta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-accent), var(--brand-rose-gold), var(--brand-accent));
}

.footer-veesta h5, 
.footer-veesta h6 {
    color: var(--brand-white) !important;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-veesta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
}

.footer-veesta .footer-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
    transition: var(--transition-smooth);
    display: inline-block;
    padding: 3px 0;
    text-decoration: none;
}

.footer-veesta .footer-link:hover {
    color: var(--brand-accent) !important;
    transform: translateX(4px);
}

.footer-veesta .social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--brand-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.footer-veesta .social-icon:hover {
    background-color: var(--brand-rose-gold);
    color: var(--brand-white);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(183, 110, 121, 0.3);
}

.footer-veesta .newsletter-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--brand-white);
    padding: 10px 16px;
    border-radius: 30px 0 0 30px;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.footer-veesta .newsletter-input:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--brand-rose-gold);
    box-shadow: none;
    color: var(--brand-white);
}

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

.footer-veesta .newsletter-btn {
    background-color: var(--brand-rose-gold);
    color: var(--brand-white);
    border: 1px solid var(--brand-rose-gold);
    padding: 10px 24px;
    border-radius: 0 30px 30px 0;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.footer-veesta .newsletter-btn:hover {
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
    color: var(--brand-mauve);
}

.footer-veesta .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-veesta .contact-item i {
    color: var(--brand-rose-gold);
    font-size: 16px;
}

.footer-veesta .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

