/* public/assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #FBF9FD;
    --text-primary: #0F172A;
    --text-secondary: #404759;
    --accent-purple: #581845;
    --accent-purple-hover: #451136;
    --accent-magenta: #8E24AA;
    --accent-purple-light: #F7F0F9;
    --accent-blue: #7C3AED;
    --border-color: #EAE4EF;
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    --shadow-soft: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    --shadow-premium: 0 20px 40px -10px rgba(88, 24, 69, 0.14);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    overflow-x: clip;
    max-width: 100vw;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: clip;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    opacity: 0;
    animation: pageFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

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

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Scroll Reveal animation helper */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    height: 44px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.slide {
    display: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: slideFade 0.5s ease;
}

.slide.active {
    display: block;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--transition-smooth);
}

.slider-nav:hover {
    background: rgba(255,255,255,0.3);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.navbar {
    height: 80px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky !important;
    top: 0 !important;
    z-index: 10000 !important;
    width: 100%;
    transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.35s ease, 
                box-shadow 0.35s ease, 
                border-color 0.35s ease;
    will-change: height, background-color, box-shadow;
}

.navbar.navbar-scrolled {
    height: 64px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 10px 30px -8px rgba(88, 24, 69, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    border-bottom-color: rgba(234, 228, 239, 0.9);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

/* Interactive Brand Logo */
.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1;
    position: relative;
    padding: 3px 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.brand-logo:hover {
    transform: translateY(-1.5px) scale(1.025);
    filter: drop-shadow(0 6px 16px rgba(88, 24, 69, 0.2));
}

.brand-logo:active {
    transform: translateY(0) scale(0.98);
}

.brand-logo-img {
    height: 46px;
    width: auto;
    max-width: 230px;
    object-fit: contain;
    display: block;
    transition: height 0.3s ease, max-width 0.3s ease;
}

.navbar.navbar-scrolled .brand-logo-img {
    height: 38px;
    max-width: 190px;
}

/* Footer Brand Logo */
.footer-logo-wrap {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-logo-wrap:hover {
    opacity: 0.95;
    transform: translateY(-1px) scale(1.02);
}

.footer-logo-img {
    height: 40px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--text-primary);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), left 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

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

.nav-icon {
    font-size: 18px;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
}

.nav-icon:hover {
    color: var(--text-primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-purple);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Premium Main Slideshow (below navbar) */
.banner-slider {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: #000;
}

.banner-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.banner-slide.active {
    opacity: 1;
    z-index: 2;
}

.banner-slide-content {
    color: white;
    max-width: 600px;
    padding: 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.banner-slide.active .banner-slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #A78BFA;
    margin-bottom: 12px;
    display: block;
}

.slide-title {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-50%) scale(1.05);
}

.banner-prev { left: 30px; }
.banner-next { right: 30px; }

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

.banner-dot {
    width: 16px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.banner-dot.active {
    background: white;
    width: 24px;
}

/* Button UI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background-color: var(--accent-purple);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(124, 58, 237, 0.25);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

/* 100vh Hero Section */
.hero {
    height: calc(100vh - 124px);
    display: flex;
    align-items: center;
    background-color: var(--bg-primary);
    overflow: hidden;
}

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

.hero-content {
    padding-right: 60px;
}

.hero-tag {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-purple);
    margin-bottom: 20px;
    display: block;
}

.hero-heading {
    font-size: 64px;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-avatars {
    display: flex;
}

.social-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    margin-right: -10px;
    object-fit: cover;
}

.social-text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}



/* Sections */
.section {
    padding: 100px 0;
}

.section-bg {
    background-color: var(--bg-secondary);
}

.section-header {
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
}

.section-subtitle {
    font-size: 13px;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

/* Products Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

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

.product-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-premium);
    border-color: var(--accent-purple);
}

.product-card-img-wrapper {
    position: relative;
    aspect-ratio: 1;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.product-card-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--text-primary);
    color: white;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--border-radius-sm);
}

.product-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.product-card-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Template Library grid */
.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.template-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    text-align: center;
    transition: var(--transition-smooth);
}

.template-card:hover {
    transform: scale(1.03);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-premium);
}

.template-card-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 20px auto;
}

.template-card-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.template-card-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-purple);
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.step-card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
}

.step-number {
    font-size: 80px;
    font-weight: 900;
    color: rgba(124, 58, 237, 0.05);
    position: absolute;
    top: -20px;
    right: 10px;
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.footer-brand .logo {
    color: white;
    margin-bottom: 20px;
}

.footer-desc {
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
    max-width: 320px;
    font-size: 14px;
}

.footer-heading {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
}

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

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

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* Accordion Tab Styling inside Customizer */
.accordion-tab {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    background: white;
}

.accordion-tab-header {
    padding: 16px 20px;
    background: var(--bg-secondary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: var(--transition-smooth);
}

.accordion-tab-header:hover {
    background: #FAF8FF;
}

.accordion-tab-content {
    padding: 24px;
    display: none;
    border-top: 1px solid var(--border-color);
    animation: accordionFade 0.3s ease;
}

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

/* Keyframes */
@keyframes floatEffect {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

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

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

@keyframes pageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================================================
   GLOBAL UI/UX REFINEMENT SYSTEM
   ========================================================================== */

/* Shimmer Animation */
@keyframes shimmerAnim {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-loader {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmerAnim 1.5s infinite linear;
    border-radius: var(--border-radius-sm);
    display: inline-block;
    width: 100%;
    height: 100%;
}

/* Image Fade In */
.fade-in-image {
    transition: opacity 0.4s ease-in-out;
}

/* Button Loading State */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
    cursor: default;
}
.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 2px solid rgba(124, 58, 237, 0.25);
    border-top-color: #7C3AED;
    border-radius: 50%;
    animation: spinRotate 0.6s linear infinite;
}
/* For dark background or primary buttons, show white spinner */
.btn-primary.btn-loading::after,
.btn-primary-dark.btn-loading::after,
.btn.btn-loading::after,
button.btn-loading::after,
input[type="submit"].btn-loading::after {
    border: 2px solid rgba(255, 255, 255, 0.25) !important;
    border-top-color: #ffffff !important;
}

@keyframes spinRotate {
    to { transform: rotate(360deg); }
}

/* Global Premium Toast Notification System */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 420px;
    width: 100%;
}

.toast-card {
    background: white;
    border-left: 4px solid var(--text-primary);
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    pointer-events: auto;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border-color);
}

.toast-card.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.toast-card.hide {
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
}

.toast-icon {
    font-size: 16px;
    margin-top: 2px;
}

.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.toast-message {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 12px;
    padding: 2px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.toast-close:hover {
    opacity: 1;
}

/* Toast Color Variants */
.toast-success {
    border-left-color: #10B981;
}
.toast-success .toast-icon {
    color: #10B981;
}

.toast-error {
    border-left-color: #EF4444;
}
.toast-error .toast-icon {
    color: #EF4444;
}

.toast-warning {
    border-left-color: #F59E0B;
}
.toast-warning .toast-icon {
    color: #F59E0B;
}

.toast-info {
    border-left-color: var(--accent-purple);
}
.toast-info .toast-icon {
    color: var(--accent-purple);
}

/* Custom Modals Overlay */
.custom-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.35) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 1000000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease !important;
}

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

.custom-modal-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    transform: scale(0.95);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.custom-modal-overlay.show .custom-modal-card {
    transform: scale(1);
}

.custom-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-modal-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.custom-modal-icon.danger {
    background: #FEE2E2;
    color: #EF4444;
}

.custom-modal-icon.info {
    background: #FAF8FF;
    color: var(--accent-purple);
}

.custom-modal-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.custom-modal-body {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.custom-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

/* Premium Card hover lifts */
.product-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.05), 0 8px 8px -6px rgba(0, 0, 0, 0.03);
    border-color: var(--accent-purple);
}

/* Input enhancements */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: var(--accent-purple) !important;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15) !important;
    transition: all 0.2s ease-in-out;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS OVERRIDES (Stitch & Craft)
   ========================================================================== */

/* Shop Dropdown styles (desktop) */
.shop-dropdown-li:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    padding: 10px 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
    background: #FAF8FF;
    color: var(--accent-purple);
}

/* Nav Left, Logo, Nav Right flex columns */
.nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

.nav-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.logo {
    flex: 0 0 auto;
    text-align: center;
}

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

.nav-divider {
    height: 20px;
    width: 1px;
    background-color: var(--border-color);
    display: inline-block;
}

.cart-btn-outline {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid var(--text-primary);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

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

.cart-btn-outline:hover .cart-badge {
    background: white;
    color: var(--text-primary);
}

.cart-badge {
    background: var(--text-primary);
    color: white;
    border-radius: 2px;
    padding: 2px 6px;
    font-size: 11px;
    transition: all 0.2s ease;
}

.nav-link-login {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 0;
}

/* Mobile Side Drawer styles */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background: white;
    z-index: 9999;
    box-shadow: var(--shadow-premium);
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active {
    left: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.drawer-overlay.active {
    display: block;
    opacity: 1;
}

.drawer-link {
    display: block;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--bg-secondary);
    transition: background 0.2s;
}

.drawer-link:hover {
    background: var(--bg-secondary);
}

.drawer-sublink {
    display: block;
    padding: 12px 20px 12px 40px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.drawer-sublink:hover {
    color: var(--accent-purple);
}

@media (max-width: 991px) {
    .desktop-only-nav {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: block !important;
    }
    .nav-container {
        padding: 0 16px !important;
    }
    .nav-divider {
        display: none !important;
    }
    .desktop-only-icon {
        display: none !important;
    }
    .mobile-only-icon {
        display: inline-block !important;
    }
    .cart-btn-outline .cart-text {
        display: none !important;
    }
    .cart-btn-outline {
        border: none !important;
        padding: 8px !important;
        gap: 6px !important;
    }
    .cart-btn-outline:hover {
        background: transparent !important;
        color: var(--text-primary) !important;
    }
    .nav-left {
        flex: 1 !important;
    }
    .nav-actions {
        flex: 1 !important;
        gap: 16px !important;
    }

    /* Hero section responsiveness */
    .hero {
        padding: 50px 20px !important;
    }
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .hero-content {
        padding-right: 0 !important;
    }
    .hero-heading {
        font-size: 38px !important;
        line-height: 1.1 !important;
        margin-bottom: 16px !important;
    }
    .hero-description {
        font-size: 15px !important;
        margin-bottom: 25px !important;
        max-width: 100% !important;
    }

    /* Hero slideshow height adjustment */
    .banner-slider {
        height: 280px !important;
    }
    .banner-slide h2 {
        font-size: 28px !important;
    }
    .banner-slide p {
        font-size: 13px !important;
    }

    /* Grid Layouts - Stack columns vertically */
    .categories-grid,
    .products-grid,
    .collection-layout,
    .checkout-grid,
    .cart-grid,
    .steps-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Product Detail page */
    .product-detail-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .gallery-container {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    #product-thumbnails-gallery {
        display: none !important;
    }

    /* Collections Catalog responsive filters toggle */
    .mobile-filters-toggle-bar {
        display: block !important;
    }
    .collection-layout-wrapper {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .filter-sidebar-panel {
        display: none !important; /* Hidden by default on mobile */
        position: static !important;
        padding: 16px !important;
        background: white !important;
        border: 1px solid var(--border-color) !important;
        border-radius: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .filter-sidebar-panel.active {
        display: block !important; /* Shows when clicked */
        animation: slideDownCustom 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @keyframes slideDownCustom {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .filter-sidebar-panel ul {
        flex-direction: row !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding-bottom: 8px !important;
        scrollbar-width: none !important; /* Hide scrollbars */
        gap: 10px !important;
        width: 100% !important;
        min-width: 0 !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .filter-sidebar-panel ul::-webkit-scrollbar {
        display: none;
    }
    .filter-sidebar-panel ul li {
        flex-shrink: 0;
    }
    .filter-sidebar-panel ul li a {
        background: var(--bg-secondary);
        padding: 8px 16px;
        border-radius: 20px;
        border: 1px solid var(--border-color);
        font-size: 13px !important;
    }
    .filter-sidebar-panel h3 {
        margin-top: 20px !important;
        margin-bottom: 12px !important;
    }
    .price-filter-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
    .price-filter-container > div {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        align-items: center !important;
    }
    .price-filter-container > div input {
        flex: 1 !important;
        min-width: 0 !important;
    }
    .price-filter-container button {
        width: 100% !important;
        padding: 10px 0 !important;
        height: auto !important;
    }
    .sorting-header-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 12px 16px !important;
    }
    .sorting-header-bar > div:first-child {
        font-size: 12px !important;
    }
    #sorting-tabs-container {
        width: 100% !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding-bottom: 4px !important;
        scrollbar-width: none !important;
        display: flex !important;
        gap: 8px !important;
        min-width: 0 !important;
    }
    #sorting-tabs-container::-webkit-scrollbar {
        display: none;
    }
    .sort-tab {
        flex-shrink: 0;
        font-size: 11px !important;
        padding: 6px 12px !important;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    
    /* Cart Table stacking on mobile */
    .cart-item {
        flex-direction: column !important;
        gap: 16px !important;
        padding: 16px !important;
    }
    .cart-item a {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1/1 !important;
    }
    .cart-item img {
        width: 120px !important;
        height: 120px !important;
    }

    /* Product Card adjustments for 2-column mobile view */
    .product-card-content {
        padding: 12px !important;
    }
    .product-card-title {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }
    .product-card-price {
        font-size: 13px !important;
    }
    .product-card-tag {
        top: 10px !important;
        left: 10px !important;
        font-size: 8px !important;
        padding: 3px 6px !important;
    }
    .product-card-content .btn, .product-card-content a.btn {
        padding: 8px 10px !important;
        font-size: 10px !important;
    }
}

@media (max-width: 768px) {
    .brand-logo-img {
        height: 38px;
        max-width: 175px;
    }
}

@media (max-width: 576px) {
    /* Responsive Logo sizing */
    .brand-logo-img {
        height: 32px;
        max-width: 145px;
    }
    .footer-logo-img {
        height: 34px;
        max-width: 160px;
    }
    .logo {
        font-size: 16px !important;
    }


    /* Hero Slideshow button styling */
    .banner-slide .btn {
        padding: 10px 18px !important;
        font-size: 11px !important;
    }

    /* Grids scaling down to single column on mobile */
    .products-catalog {
        grid-template-columns: 1fr !important;
    }
    
    /* Profile Section styling */
    .profile-layout {
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    /* Checkout sections padding adjustments */
    .checkout-card {
        padding: 20px !important;
    }
}

/* Global Clean Product Card Styles */
.home-product-card {
    background: transparent;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-product-img-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #FAF7F2;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-product-card:hover .home-product-img-wrapper {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(188, 163, 116, 0.12);
    border-color: var(--accent-purple);
}

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

.home-product-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 12px 0 4px 0;
    text-align: left;
    line-height: 1.4;
    word-wrap: break-word;
    height: 38px; /* Fixed height for two lines to keep grid perfectly aligned */
    overflow: hidden;
}

.home-product-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--accent-purple);
    text-align: left;
}

.home-product-action-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    transform: translateY(60px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 14px;
    z-index: 10;
}

.home-product-card:hover .home-product-action-badge {
    transform: translateY(0);
    opacity: 1;
}

.home-product-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.8px;
    text-align: left;
    display: block;
}

.home-product-compare {
    font-size: 11px;
    font-weight: 500;
    text-decoration: line-through;
    color: #94a3b8;
}

.home-product-discount {
    font-size: 10px;
    font-weight: 700;
    color: #ef4444;
    background: #fef2f2;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Megamenu hover styling */
.shop-dropdown-li:hover .megamenu-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.megamenu-dropdown {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(12px);
    width: 460px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
    padding: 24px;
    z-index: 9999;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.3s;
}

.megamenu-dropdown::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
}

.megamenu-column {
    flex: 1;
    text-align: left;
}

.megamenu-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-purple);
    margin-bottom: 12px;
    border-bottom: 1px solid var(--bg-secondary);
    padding-bottom: 6px;
}

.megamenu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.megamenu-column ul li a {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}

.megamenu-column ul li a:hover {
    color: var(--text-primary);
    padding-left: 4px;
}

/* Homepage Animation Polish & Premium Layouts */
.home-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 60px auto 25px auto;
    max-width: calc(100% - 80px);
    padding: 0 0 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.home-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.home-section-view-all {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-purple);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.home-section-view-all i {
    transition: transform 0.3s ease;
}

.home-section-view-all:hover {
    color: #000;
}

.home-section-view-all:hover i {
    transform: translateX(4px);
}

/* Floating Navigation Arrows for Carousels */
.home-carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    cursor: pointer;
    z-index: 15;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-arrow:hover {
    background: #000;
    color: #fff;
    border-color: #000;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.home-carousel-wrapper:hover .carousel-arrow {
    opacity: 1;
    visibility: visible;
}

/* Scroll Entrance Animations */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.fade-up {
    transform: translateY(25px);
}

.fade-up.animated {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    transform: none;
}

.fade-in.animated {
    opacity: 1;
}

.scale-in {
    transform: scale(0.95);
}

.scale-in.animated {
    opacity: 1;
    transform: scale(1);
}

/* Skeleton Loading Shimmer */
.skeleton-loader {
    position: relative;
    background: #f1f5f9 !important;
    overflow: hidden;
}

.skeleton-loader::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 20%, rgba(255,255,255,0.6) 60%, rgba(255,255,255,0) 100%);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.fade-in-img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.fade-in-img.loaded {
    opacity: 1;
}

/* Customize Now Card Button Styling */
.home-product-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 12px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    opacity: 0.9;
    border: none;
    cursor: pointer;
}

.home-product-card:hover .home-product-cta-btn {
    background: var(--accent-purple);
    opacity: 1;
    transform: translateY(-2px);
}

/* ==========================================================================
   HEADER POLISH & INTERACTIONS SYSTEM
   ========================================================================== */

/* Profile Dropdown container & animations */
.profile-dropdown-container {
    position: relative;
}
.profile-dropdown-menu {
    display: block !important;
    position: absolute;
    top: 100%;
    right: 0;
    width: 180px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    padding: 8px 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.25s;
}
.profile-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
}
.profile-dropdown-container:hover .profile-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.profile-dropdown-container:hover .dropdown-arrow-icon {
    transform: rotate(180deg);
}
.profile-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.profile-dropdown-menu a i {
    width: 16px;
    font-size: 14px;
    color: #64748b;
    transition: color 0.2s;
}
.profile-dropdown-menu a:hover {
    background: #f8fafc;
    color: var(--accent-purple);
}
.profile-dropdown-menu a:hover i {
    color: var(--accent-purple);
}

/* Cart Icon hover shake */
.cart-btn-outline {
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.cart-btn-outline:hover i {
    animation: cartShake 0.4s ease;
}
@keyframes cartShake {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}
/* Cart count pop badge update */
@keyframes badgePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
.cart-badge.pop {
    animation: badgePop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Search slide-down transitions */
#search-overlay {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    z-index: 999;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-15px);
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.3s;
}
#search-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Mobile side drawer transitions using GPU transforms */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0 !important;
    transform: translateX(-320px);
    width: 300px;
    height: 100%;
    background: white;
    z-index: 100000 !important;
    box-shadow: var(--shadow-premium);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.mobile-drawer.active {
    transform: translateX(0);
}
.drawer-overlay {
    z-index: 99998 !important;
    display: block !important;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s;
}
.drawer-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* Mobile accordions max-height slider animation */
.mobile-dropdown-menu {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.mobile-dropdown-menu.open {
    max-height: 350px !important;
}
#mobile-account-menu {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
#mobile-account-menu.open {
    max-height: 300px !important;
}

