:root {
    --primary-color: #f8f4e9;
    --secondary-color: #d4c9a8;
    --accent-color: #a38a5f;
    --accent-dark: #8a724d;
    --text-color: #5a4a3a;
    --light-color: #ffffff;
    --dark-color: #3a3329;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.shop-selector-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

/* Animated background elements */
.bg-decoration {
    position: fixed;
    background-color: rgba(163, 138, 95, 0.05);
    border-radius: 50%;
    z-index: 0;
    filter: blur(30px);
}

.bg-1 {
    width: 600px;
    height: 600px;
    top: -300px;
    right: -300px;
    animation: float 12s ease-in-out infinite;
}

.bg-2 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: -200px;
    animation: float 8s ease-in-out infinite reverse;
}

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

/* Header with language selector */
.shop-header {
    padding: 20px 40px;
    background-color: var(--light-color);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo i {
    margin-right: 12px;
    color: var(--accent-color);
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.03);
}

/* Language selector */
.language-selector {
    position: relative;
}

.language-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 30px;
    transition: var(--transition);
    background-color: rgba(0,0,0,0.03);
}

.language-btn:hover {
    background-color: rgba(0,0,0,0.08);
}

.language-btn img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 140px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    transform: translateY(10px);
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.language-dropdown a:hover {
    background-color: var(--primary-color);
    color: var(--accent-color);
}

.language-dropdown a img {
    width: 16px;
}

/* Main content */
.shop-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.shop-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.shop-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    animation: expandLine 1s ease forwards;
}

@keyframes expandLine {
    from { width: 0; }
    to { width: 80px; }
}

.shop-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 60px;
    max-width: 700px;
    line-height: 1.6;
    opacity: 0.9;
}

.shop-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    perspective: 1000px;
}

.shop-card {
    width: 320px;
    background-color: var(--light-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    opacity: 0;
    transform: translateY(30px) rotateY(10deg);
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
}

.shop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), transparent);
    opacity: 0;
    transition: var(--transition);
}

.shop-card:hover::before {
    opacity: 1;
}

.shop-card:nth-child(1) {
    animation: cardEntrance 0.8s ease forwards 0.2s;
}

.shop-card:nth-child(2) {
    animation: cardEntrance 0.8s ease forwards 0.4s;
}

.shop-card:nth-child(3) {
    animation: cardEntrance 0.8s ease forwards 0.6s;
}

@keyframes cardEntrance {
    to {
        opacity: 1;
        transform: translateY(0) rotateY(0);
    }
}

.shop-card:hover {
    transform: translateY(-15px) scale(1.03) rotateY(0);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.shop-card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.shop-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent 60%);
}

.shop-card-content {
    padding: 30px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shop-card-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.shop-card-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.shop-card:hover .shop-card-title::after {
    width: 60px;
}

.shop-card-desc {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.6;
    opacity: 0.8;
    flex-grow: 1;
}

.shop-card-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--light-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
    position: relative;
    overflow: hidden;
    margin-top: auto;
    align-self: center;
    width: fit-content;
}

.shop-card-btn:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-3px);
}

.shop-card-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.6s;
}

.shop-card-btn:hover::after {
    left: 100%;
}

/* Footer */
.shop-footer {
    padding: 20px;
    text-align: center;
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

/* Responsive design */
@media (max-width: 1024px) {
    .shop-grid {
        gap: 30px;
    }
    
    .shop-card {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .shop-header {
        padding: 15px 20px;
    }
    
    .shop-main {
        padding: 30px 20px;
    }
    
    .shop-title {
        font-size: 2.2rem;
    }
    
    .shop-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .shop-grid {
        gap: 20px;
    }
    
    .shop-card {
        width: 100%;
        max-width: 350px;
    }
    
    .bg-1, .bg-2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .shop-title {
        font-size: 1.8rem;
    }
    
    .shop-card-title {
        font-size: 1.4rem;
    }
    
    .shop-card-content {
        padding: 20px;
    }
}