:root {
    /* Bold & Premium HSL Palette */
    --primary-h: 164;
    --primary-s: 48%;
    --primary-l: 48%;

    --primary-color: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --primary-dark: hsl(var(--primary-h), var(--primary-s), 35%);
    --primary-light: hsl(var(--primary-h), var(--primary-s), 96%);

    --bg-deep: #ffffff;
    --bg-light: #f8fafc;
    --text-main: #020617;
    --text-muted: #64748b;
    --white: #ffffff;

    --glass-white: rgba(255, 255, 255, 0.95);
    --glass-dark: rgba(15, 23, 42, 0.05);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-premium: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --radius-xl: 40px;
    --radius-lg: 24px;
    --radius-md: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

html {
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden;
    }
}

/* Typography Overhaul */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(3rem, 10vw, 7rem);
}

h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-premium);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 20px 40px -10px hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 60px -12px hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.4);
}

/* Glass UI */
.glass-panel {
    background: var(--glass-white);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

/* Animations */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.2, 1, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Grid & Layout Utilities */
.section-padding {
    padding: 100px 0;
}

.grid-modern {
    display: grid;
    gap: 60px;
}

@media (max-width: 992px) {
    .section-padding {
        padding: 60px 0;
    }
    .grid-modern {
        gap: 30px;
    }
}

/* Boutique Sidebar & Category Cards */
.category-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: var(--white);
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.2, 1);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.category-link::after {
    content: '→';
    opacity: 0.3;
    transition: all 0.3s ease;
}

.category-link:hover {
    border-color: var(--primary-color);
    background: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.02);
    padding-left: 30px;
    color: var(--primary-color);
}

.category-link:hover::after {
    opacity: 1;
    transform: translateX(5px);
}

.category-link.active {
    background: var(--text-main);
    color: var(--white);
    border-color: var(--text-main);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

.category-link.active::after {
    opacity: 1;
    color: var(--primary-color);
}

/* Image Utilities */
.img-reveal {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.img-reveal img {
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.2, 1);
}

.img-reveal:hover img {
    transform: scale(1.08);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Boutique Shop Cards */
.shop-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.2, 1, 0.2, 1);
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.shop-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
    border-color: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.2);
}

.shop-card .img-container {
    height: 180px;
    background: #f8fafc;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    transition: var(--transition-premium);
    overflow: hidden;
}

.shop-card:hover .img-container {
    background: #f1f5f9;
}

.shop-card .img-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-premium);
}

.shop-card:hover .img-container img {
    transform: scale(1.05);
}

.shop-card .category-tag {
    font-size: 0.65rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
    margin-bottom: 8px;
    display: block;
}

.shop-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-main);
    line-height: 1.3;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.shop-card .price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
}

.shop-card .btn-acquire {
    width: 100%;
    padding: 15px;
    background: var(--text-main);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: var(--transition-premium);
    text-align: center;
    text-decoration: none;
}

.shop-card:hover .btn-acquire {
    background: var(--primary-color);
}

/* Sidebar Active State */
.category-link.active {
    color: var(--primary-color) !important;
    font-weight: 800 !important;
    padding-left: 10px;
}

.category-link {
    transition: var(--transition-premium);
    display: block;
}

.category-link:hover {
    padding-left: 5px;
}

/* Global Mobile Fixes */
@media (max-width: 768px) {
    .btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .modern-card {
        padding: 20px !important;
    }
}/* Dog-Themed Menu Animations */
.menu-btn {
    position: relative !important;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    z-index: 10 !important;
    padding: 10px 20px !important;
}

.icon-1, .icon-2, .icon-3, .icon-4, .icon-5 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 0px;
    height: auto;
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    color: var(--primary-color);
}

.icon-1 img, .icon-2 img, .icon-3 img, .icon-4 img, .icon-5 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (hover: hover) {
    .menu-btn:hover {
        border-radius: 12px 12px 32px 32px !important;
        background: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.1) !important;
        color: var(--primary-color) !important;
    }

    .menu-btn:hover .icon-1, 
    .menu-btn:hover .icon-2, 
    .menu-btn:hover .icon-3, 
    .menu-btn:hover .icon-4, 
    .menu-btn:hover .icon-5 {
        opacity: 1;
    }

    .menu-btn:hover .icon-1 {
        top: 150%;
        left: 50%;
        width: 60px;
        height: 60px;
        animation: inDogIcon1 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s forwards;
    }

    .menu-btn:hover .icon-2 {
        top: 120%;
        left: 95%;
        width: 80px;
        height: 80px;
        animation: inDogIcon2 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.15s forwards;
    }

    .menu-btn:hover .icon-3 {
        top: 100%;
        left: 5%;
        width: 70px;
        height: 70px;
        animation: inDogIcon1 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s forwards;
    }

    .menu-btn:hover .icon-4 {
        top: 180%;
        left: 15%;
        width: 75px;
        height: 75px;
        animation: inDogIcon2 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.25s forwards;
    }

    .menu-btn:hover .icon-5 {
        top: 200%;
        left: 85%;
        width: 85px;
        height: 85px;
        animation: inDogIcon1 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s forwards;
    }
}

@keyframes inDogIcon1 {
    0% { transform: translate(-50%, 0) rotate(-10deg) scale(0); opacity: 0; }
    40% { transform: translate(-50%, 0) rotate(15deg) scale(1.1); opacity: 1; }
    70% { transform: translate(-50%, 0) rotate(-5deg) scale(0.95); opacity: 1; }
    100% { transform: translate(-50%, 0) rotate(0deg) scale(1); opacity: 1; }
}

@keyframes inDogIcon2 {
    0% { transform: translate(-50%, 0) rotate(10deg) scale(0); opacity: 0; }
    35% { transform: translate(-50%, 0) rotate(-20deg) scale(1.1); opacity: 1; }
    75% { transform: translate(-50%, 0) rotate(10deg) scale(0.95); opacity: 1; }
    100% { transform: translate(-50%, 0) rotate(0deg) scale(1); opacity: 1; }
}

