/* Import sophisticated artistic fonts */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Abril+Fatface&family=Great+Vibes&family=Cinzel:wght@400;500;600&family=Amatic+SC:wght@400;700&display=swap');

/* Security styles */
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img {
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* CSS Variables for Theme Management */
:root {
    /* Original Theme */
    --primary-bg: #E3DCD2;
    --secondary-bg: #f5f1ea;
    --accent-color: #CC8B65;
    --dark-color: #013328;
    --text-color: #100C0D;
    --light-text: #E3DCD2;
    --border-color: rgba(204, 139, 101, 0.3);
    --shadow-color: rgba(204, 139, 101, 0.2);
}

/* Theme Variations */
[data-theme="sunset"] {
    --primary-bg: #FFE4B5;
    --secondary-bg: #FFF8DC;
    --accent-color: #FF6B35;
    --dark-color: #8B0000;
    --text-color: #2F1B14;
    --light-text: #FFF8DC;
    --border-color: rgba(255, 107, 53, 0.3);
    --shadow-color: rgba(255, 107, 53, 0.2);
}

[data-theme="ocean"] {
    --primary-bg: #E0F6FF;
    --secondary-bg: #F0FBFF;
    --accent-color: #4ECDC4;
    --dark-color: #006A6B;
    --text-color: #003840;
    --light-text: #E0F6FF;
    --border-color: rgba(78, 205, 196, 0.3);
    --shadow-color: rgba(78, 205, 196, 0.2);
}

[data-theme="forest"] {
    --primary-bg: #F0F8E8;
    --secondary-bg: #F8FCF5;
    --accent-color: #8FBC8F;
    --dark-color: #2F4F2F;
    --text-color: #1C3A1C;
    --light-text: #F0F8E8;
    --border-color: rgba(143, 188, 143, 0.3);
    --shadow-color: rgba(143, 188, 143, 0.2);
}

[data-theme="monochrome"] {
    --primary-bg: #F5F5F5;
    --secondary-bg: #FAFAFA;
    --accent-color: #666666;
    --dark-color: #1A1A1A;
    --text-color: #2A2A2A;
    --light-text: #F5F5F5;
    --border-color: rgba(102, 102, 102, 0.3);
    --shadow-color: rgba(102, 102, 102, 0.2);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', Georgia, serif;
    line-height: 1.5;
    color: var(--text-color);
    background: var(--primary-bg);
    min-height: 100vh;
    font-size: 0.9rem;
    position: relative;
    overflow-x: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="artisticTexture" patternUnits="userSpaceOnUse" width="200" height="200"><circle cx="30" cy="30" r="0.8" fill="%23100C0D" opacity="0.03"/><circle cx="170" cy="50" r="0.5" fill="%23013328" opacity="0.04"/><circle cx="80" cy="160" r="0.6" fill="%23CC8B65" opacity="0.03"/><path d="M20,100 Q60,80 100,100 T180,100" stroke="%23CC8B65" stroke-width="0.3" opacity="0.02" fill="none"/><path d="M100,20 Q120,60 100,100 T100,180" stroke="%23013328" stroke-width="0.2" opacity="0.02" fill="none"/></pattern></defs><rect width="200" height="200" fill="url(%23artisticTexture)"/></svg>');
    pointer-events: none;
    z-index: 1;
    opacity: 0.7;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        conic-gradient(from 0deg at 10% 90%, transparent 0deg, rgba(204, 139, 101, 0.02) 45deg, transparent 90deg),
        conic-gradient(from 180deg at 90% 10%, transparent 0deg, rgba(1, 51, 40, 0.02) 45deg, transparent 90deg);
    pointer-events: none;
    z-index: 2;
    opacity: 0.8;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 10;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-color) 100%);
    color: var(--light-text);
    padding: 1rem 0;
    box-shadow: 0 4px 20px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #E3DCD2;
    box-shadow: 0 4px 20px rgba(16, 12, 13, 0.5);
    background: #E3DCD2;
    padding: 2px;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.company-name {
    font-family: 'Abril Fatface', cursive;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 2px;
    position: relative;
    background: linear-gradient(45deg, var(--light-text), var(--accent-color), var(--light-text), var(--accent-color), var(--light-text));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 3s ease-in-out infinite;
    text-shadow: 
        2px 2px 4px rgba(0,0,0,0.6),
        0 0 15px var(--border-color);
    transition: all 0.5s ease;
}

@keyframes shimmerText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.cart-toggle {
    position: relative;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(227, 220, 210, 0.2);
    border: 2px solid rgba(227, 220, 210, 0.5);
    backdrop-filter: blur(5px);
}

.cart-toggle:hover {
    background: rgba(227, 220, 210, 0.3);
    border-color: rgba(227, 220, 210, 0.8);
    transform: scale(1.05);
}

.cart-icon {
    font-size: 1.3rem;
    color: #E3DCD2;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5));
}

.cart-count {
    position: absolute;
    top: -3px;
    right: -3px;
    background: linear-gradient(135deg, #CC8B65 0%, #013328 100%);
    color: #E3DCD2;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #E3DCD2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Main content */
.main {
    min-height: calc(100vh - 140px);
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
    position: relative;
    font-style: italic;
    text-transform: capitalize;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    transition: all 0.5s ease;
}

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

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #CC8B65, #013328, #CC8B65, transparent);
    margin: 1.5rem auto;
    border-radius: 2px;
    position: relative;
    box-shadow: 0 2px 12px rgba(204, 139, 101, 0.4);
    animation: expandLine 2s ease forwards;
}

@keyframes expandLine {
    from { width: 0; opacity: 0; }
    to { width: 120px; opacity: 1; }
}

.section-title::before {
    content: '❦';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -2rem;
    font-size: 1.5rem;
    color: #CC8B65;
    opacity: 0.8;
    animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: translateX(-50%) scale(1) rotate(0deg); opacity: 0.8; }
    50% { transform: translateX(-50%) scale(1.1) rotate(180deg); opacity: 1; }
}

/* Story section */
.story-section {
    padding: 3rem 0;
    background: 
        radial-gradient(ellipse at center top, rgba(234, 225, 215, 0.6) 0%, transparent 70%),
        radial-gradient(circle at 70% 30%, rgba(204, 139, 101, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(240, 235, 225, 0.9) 0%, 
            rgba(235, 228, 218, 0.95) 50%,
            rgba(230, 220, 210, 0.92) 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(204, 139, 101, 0.25);
    border-bottom: 1px solid rgba(204, 139, 101, 0.25);
}

.story-section::after {
    content: '“';
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 12rem;
    color: rgba(204, 139, 101, 0.08);
    font-family: 'Great Vibes', cursive;
    line-height: 1;
    pointer-events: none;
    transform: rotate(-15deg);
    animation: float 6s ease-in-out infinite;
}

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

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #013328, transparent);
}

.story-content {
    max-width: 650px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #100C0D;
    font-family: 'EB Garamond', serif;
    font-weight: 400;
    text-align: justify;
    text-indent: 1.5rem;
    position: relative;
    padding: 1.8rem;
    background: 
        linear-gradient(135deg, rgba(248, 245, 240, 0.4) 0%, rgba(245, 240, 235, 0.2) 100%),
        linear-gradient(45deg, transparent 48%, rgba(204, 139, 101, 0.04) 50%, transparent 52%);
    border-radius: 15px;
    box-shadow: 
        inset 0 2px 12px rgba(248, 245, 240, 0.6),
        0 4px 20px rgba(204, 139, 101, 0.08),
        0 2px 6px rgba(100, 50, 30, 0.05);
    border: 1px solid rgba(245, 240, 235, 0.8);
}

/* Quote wrapper for story section */
.story-quote-wrapper {
    position: relative;
    padding: 2rem;
}

.quote-mark {
    position: absolute;
    font-family: 'Great Vibes', cursive;
    font-size: 8rem;
    color: rgba(204, 139, 101, 0.15);
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}

.quote-open {
    top: -1rem;
    left: -1rem;
    transform: rotate(-15deg);
}

.quote-close {
    bottom: -1rem;
    right: -1rem;
    transform: rotate(15deg);
}

.story-content p:first-child::first-letter {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    line-height: 1;
    float: left;
    margin: 0.2rem 0.5rem 0 0;
    color: #CC8B65;
    text-shadow: 2px 2px 4px rgba(204, 139, 101, 0.3);
}

.story-content p {
    margin-bottom: 1.5rem;
}

.artist-intro {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.artist-photo {
    width: 160px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 
        0 12px 30px rgba(16, 12, 13, 0.25),
        0 6px 12px rgba(1, 51, 40, 0.15),
        inset 0 2px 0 rgba(227, 220, 210, 0.4),
        0 0 0 6px rgba(227, 220, 210, 0.9),
        0 0 0 10px rgba(204, 139, 101, 0.2);
    flex-shrink: 0;
    position: relative;
    transition: all 0.4s ease;
    filter: sepia(0.1) saturate(1.1);
}

.artist-photo:hover {
    transform: scale(1.02) rotate(1deg);
    box-shadow: 
        0 20px 50px rgba(16, 12, 13, 0.3),
        0 12px 20px rgba(1, 51, 40, 0.2),
        inset 0 2px 0 rgba(227, 220, 210, 0.5),
        0 0 0 8px rgba(227, 220, 210, 1),
        0 0 0 12px rgba(204, 139, 101, 0.4);
    filter: sepia(0.05) saturate(1.2) brightness(1.05);
}

.artist-photo::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border: 2px solid transparent;
    border-radius: 32px;
    background: linear-gradient(45deg, #CC8B65, #013328, #CC8B65) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
    animation: rotateBorder 8s linear infinite;
}

@keyframes rotateBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.artist-text {
    flex: 1;
    font-family: 'Playfair Display', serif;
}

/* Gallery section */
.gallery-section {
    padding: 3rem 0;
    background: 
        radial-gradient(ellipse at center bottom, rgba(1, 51, 40, 0.04) 0%, transparent 60%),
        radial-gradient(circle at 30% 70%, rgba(204, 139, 101, 0.06) 0%, transparent 40%),
        linear-gradient(135deg, 
            rgba(235, 225, 215, 0.7) 0%, 
            rgba(225, 215, 205, 0.5) 30%,
            rgba(230, 220, 210, 0.6) 70%,
            rgba(220, 210, 200, 0.4) 100%);
    position: relative;
    overflow: hidden;
    border-top: 3px double rgba(204, 139, 101, 0.3);
    border-bottom: 3px double rgba(204, 139, 101, 0.3);
}

.gallery-section::after {
    content: '❦';
    position: absolute;
    bottom: 2rem;
    left: 3rem;
    font-size: 8rem;
    color: rgba(1, 51, 40, 0.06);
    transform: rotate(-20deg);
    pointer-events: none;
    animation: gentlePulse 4s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% { opacity: 0.06; transform: rotate(-20deg) scale(1); }
    50% { opacity: 0.1; transform: rotate(-20deg) scale(1.05); }
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #CC8B65, transparent);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding: 1rem 0;
    position: relative;
}

.gallery-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(204, 139, 101, 0.3), transparent);
}

.gallery-grid::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(1, 51, 40, 0.2), transparent);
}

.gallery-grid .painting-card:nth-child(1) { animation-delay: 0.1s; }
.gallery-grid .painting-card:nth-child(2) { animation-delay: 0.2s; }
.gallery-grid .painting-card:nth-child(3) { animation-delay: 0.3s; }
.gallery-grid .painting-card:nth-child(4) { animation-delay: 0.4s; }
.gallery-grid .painting-card:nth-child(5) { animation-delay: 0.5s; }
.gallery-grid .painting-card:nth-child(6) { animation-delay: 0.6s; }
.gallery-grid .painting-card:nth-child(7) { animation-delay: 0.7s; }
.gallery-grid .painting-card:nth-child(8) { animation-delay: 0.8s; }

.painting-card {
    background: 
        linear-gradient(135deg, rgba(227, 220, 210, 0.98) 0%, rgba(227, 220, 210, 0.92) 100%),
        linear-gradient(45deg, transparent 48%, rgba(204, 139, 101, 0.08) 50%, transparent 52%);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(16, 12, 13, 0.18), 
        0 8px 20px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(227, 220, 210, 0.9),
        inset 0 -1px 0 rgba(204, 139, 101, 0.1);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    animation: cardAppear 0.8s ease forwards;
}

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

.painting-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, transparent 30%, rgba(227, 220, 210, 0.1) 50%, transparent 70%),
        radial-gradient(circle at 20% 20%, rgba(204, 139, 101, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.painting-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #CC8B65, #013328, #CC8B65, #013328);
    background-size: 400% 400%;
    border-radius: 27px;
    z-index: -1;
    opacity: 0;
    animation: gradientShift 4s ease infinite;
    transition: opacity 0.3s ease;
}

.painting-card:hover::after {
    opacity: 0.3;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.painting-card:hover {
    transform: translateY(-12px) scale(1.03) rotateY(2deg);
    box-shadow: 
        0 30px 60px rgba(16, 12, 13, 0.3), 
        0 15px 30px rgba(1, 51, 40, 0.25),
        0 0 40px rgba(204, 139, 101, 0.2);
    border: 2px solid rgba(204, 139, 101, 0.4);
    background: 
        linear-gradient(135deg, rgba(227, 220, 210, 1) 0%, rgba(227, 220, 210, 0.95) 100%),
        linear-gradient(45deg, transparent 48%, rgba(204, 139, 101, 0.12) 50%, transparent 52%);
}

.painting-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease, filter 0.3s ease;
    background: linear-gradient(135deg, rgba(227, 220, 210, 0.1) 0%, rgba(204, 139, 101, 0.1) 100%);
}

.painting-image:hover {
    transform: scale(1.02);
    filter: brightness(1.05) contrast(1.02);
}

.painting-image[src*=".png"] {
    background: linear-gradient(135deg, rgba(227, 220, 210, 0.95) 0%, rgba(227, 220, 210, 0.9) 100%);
}

.painting-image[src*=".jpeg"],
.painting-image[src*=".jpg"] {
    object-fit: cover;
    background: #E3DCD2;
}

/* Loading state for images */
.painting-image {
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(204, 139, 101, 0.1) 0%, transparent 70%),
        linear-gradient(90deg, transparent 25%, rgba(227, 220, 210, 0.3) 50%, transparent 75%);
    background-size: 100% 100%, 200% 100%;
    animation: shimmer 2s infinite ease-in-out;
}

@keyframes shimmer {
    0% { background-position: 0% 50%, -200% 0%; }
    50% { background-position: 0% 50%, 200% 0%; }
    100% { background-position: 0% 50%, -200% 0%; }
}

.painting-image:not([src=""]):not([src="#"]) {
    animation: none;
    background-image: none;
}

.painting-info {
    padding: 1rem;
    position: relative;
    z-index: 2;
}

.painting-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #100C0D;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    letter-spacing: 0.8px;
    font-style: italic;
    position: relative;
    text-align: center;
    border-bottom: 1px solid rgba(204, 139, 101, 0.2);
    padding-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(227, 220, 210, 0.5);
}

.painting-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #CC8B65, transparent);
}

.painting-description {
    color: #013328;
    margin-bottom: 1.2rem;
    line-height: 1.7;
    font-size: 0.85rem;
    font-weight: 400;
    font-family: 'EB Garamond', serif;
    font-style: italic;
    text-align: center;
    opacity: 0.9;
    position: relative;
    padding: 0 0.5rem;
}

.painting-description::before {
    content: '“';
    font-size: 1.5rem;
    color: #CC8B65;
    opacity: 0.4;
    position: absolute;
    left: 0;
    top: -0.3rem;
    font-family: 'Great Vibes', cursive;
}

.painting-description::after {
    content: '”';
    font-size: 1.5rem;
    color: #CC8B65;
    opacity: 0.4;
    position: absolute;
    right: 0;
    bottom: -0.3rem;
    font-family: 'Great Vibes', cursive;
}

.painting-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: #E3DCD2;
    margin: 1rem auto;
    padding: 0.4rem 1rem;
    background: 
        linear-gradient(135deg, #CC8B65 0%, rgba(204, 139, 101, 0.95) 100%),
        linear-gradient(45deg, rgba(227, 220, 210, 0.1) 0%, transparent 100%);
    border-radius: 25px;
    display: block;
    width: fit-content;
    box-shadow: 
        0 4px 12px rgba(1, 51, 40, 0.4),
        inset 0 1px 0 rgba(227, 220, 210, 0.3);
    border: 2px solid rgba(227, 220, 210, 0.2);
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.painting-price::before {
    content: '$';
    font-family: 'Amatic SC', cursive;
    font-size: 1rem;
    margin-right: 0.2rem;
    opacity: 0.9;
}

.painting-price::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(227, 220, 210, 0.3), transparent);
    transition: left 0.5s ease;
}

.painting-card:hover .painting-price::after {
    left: 100%;
}

.add-to-cart-btn {
    width: 90%;
    margin: 0 auto;
    padding: 12px 20px;
    background: 
        linear-gradient(135deg, #013328 0%, #100C0D 100%),
        linear-gradient(45deg, rgba(204, 139, 101, 0.1) 0%, transparent 100%);
    color: #E3DCD2;
    border: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(227, 220, 210, 0.2);
    font-family: 'Cinzel', serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 
        0 4px 15px rgba(1, 51, 40, 0.3),
        inset 0 1px 0 rgba(227, 220, 210, 0.1);
    display: block;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(227, 220, 210, 0.2), transparent);
    transition: left 0.6s ease;
}

.add-to-cart-btn::after {
    content: '✦';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242, 233, 228, 0.2), transparent);
    transition: left 0.5s;
}

.add-to-cart-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 12px 30px rgba(1, 51, 40, 0.5),
        0 0 20px rgba(204, 139, 101, 0.3);
    background: 
        linear-gradient(135deg, #CC8B65 0%, #013328 100%),
        linear-gradient(45deg, rgba(227, 220, 210, 0.1) 0%, transparent 100%);
    border-color: rgba(204, 139, 101, 0.6);
    color: #E3DCD2;
}

.add-to-cart-btn:hover::before {
    left: 100%;
}

.add-to-cart-btn:hover::after {
    opacity: 1;
    transform: translateY(-50%) rotate(180deg);
}

.add-to-cart-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.add-to-cart-btn:hover::before {
    left: 100%;
}

.add-to-cart-btn:active {
    transform: translateY(-1px);
}

/* Cart sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #E3DCD2 0%, rgba(227, 220, 210, 0.98) 100%);
    box-shadow: -10px 0 30px rgba(16, 12, 13, 0.3);
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(1, 51, 40, 0.3);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(1, 51, 40, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #100C0D 0%, #013328 100%);
    color: #E3DCD2;
    box-shadow: 0 2px 10px rgba(16, 12, 13, 0.4);
}

.cart-header h3 {
    font-family: 'Abril Fatface', cursive;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: #E3DCD2;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-cart:hover {
    background-color: rgba(255,255,255,0.1);
}

.cart-items {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    padding: 2rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #ecf0f1;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: #100C0D;
    margin-bottom: 0.4rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

.cart-item-price {
    color: #013328;
    font-weight: 500;
    font-family: 'Libre Baskerville', serif;
    font-size: 0.8rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 25px;
    height: 25px;
    border: 1px solid #013328;
    background: #E3DCD2;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    color: #100C0D;
}

.quantity-btn:hover {
    background: #CC8B65;
    border-color: #013328;
    color: #E3DCD2;
}

.remove-item {
    background: #013328;
    color: #E3DCD2;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(1, 51, 40, 0.3);
}

.remove-item:hover {
    background: #100C0D;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(16, 12, 13, 0.5);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(1, 51, 40, 0.3);
    background: linear-gradient(135deg, rgba(227, 220, 210, 0.7) 0%, rgba(227, 220, 210, 0.3) 100%);
}

.cart-total {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: #100C0D;
    font-style: italic;
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #CC8B65 0%, #013328 100%);
    color: #E3DCD2;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(204, 139, 101, 0.4);
    border: 1px solid rgba(1, 51, 40, 0.3);
    font-family: 'Abril Fatface', cursive;
    letter-spacing: 1px;
    text-transform: capitalize;
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(204, 139, 101, 0.6);
    background: linear-gradient(135deg, #013328 0%, #100C0D 100%);
    border-color: rgba(1, 51, 40, 0.5);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Authentication Overlay */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 51, 40, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: authFadeIn 0.3s ease-out;
}

.auth-modal {
    background: linear-gradient(135deg, #E3DCD2, #f5f1ea);
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid #CC8B65;
    position: relative;
    overflow: hidden;
}

.auth-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #CC8B65, #013328, #CC8B65);
    background-size: 200% 100%;
    animation: shimmerAuth 2s ease-in-out infinite;
}

.auth-header {
    margin-bottom: 30px;
}

.auth-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: block;
    border: 3px solid #CC8B65;
    object-fit: cover;
}

.auth-header h2 {
    font-family: 'Playfair Display', serif;
    color: #013328;
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.auth-header p {
    font-family: 'Open Sans', sans-serif;
    color: #100C0D;
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.8;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.password-input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.password-input-group input {
    padding: 15px 20px;
    border: 2px solid #CC8B65;
    border-radius: 12px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    background: white;
    color: #013328;
    transition: all 0.3s ease;
    outline: none;
}

.password-input-group input:focus {
    border-color: #013328;
    box-shadow: 0 0 0 3px rgba(1, 51, 40, 0.1);
    transform: translateY(-2px);
}

.auth-submit-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #013328, #1a4d42);
    color: #E3DCD2;
    border: none;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-submit-btn:hover {
    background: linear-gradient(135deg, #1a4d42, #013328);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(1, 51, 40, 0.3);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

.auth-error {
    color: #d63384;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    margin-top: 10px;
    padding: 10px;
    background: rgba(214, 51, 132, 0.1);
    border-radius: 8px;
    border-left: 4px solid #d63384;
    display: none;
}

.auth-error:not(:empty) {
    display: block;
    animation: errorShake 0.5s ease-in-out;
}

/* Animations */
@keyframes authFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmerAuth {
    0%, 100% {
        background-position: -200% 0;
    }
    50% {
        background-position: 200% 0;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); }
    20%, 40%, 60%, 80% { transform: translateX(8px); }
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Disclaimer Styles */
.disclaimer {
    background: #ffebcd;
    border-top: 2px solid #daa520;
    border-bottom: 2px solid #daa520;
    padding: 15px 0;
    text-align: center;
    font-family: 'Crimson Text', serif;
}

.disclaimer p {
    margin: 0;
    color: #8b4513;
    font-size: 0.9rem;
    font-weight: 600;
}

.disclaimer strong {
    color: #b8860b;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #100C0D 0%, #013328 100%);
    color: #E3DCD2;
    text-align: center;
    padding: 3rem 0;
    position: relative;
    margin-top: auto;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #CC8B65, transparent);
}

.footer p {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #E3DCD2;
    font-family: 'Crimson Text', serif;
    font-style: italic;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .brand {
        justify-content: center;
    }
    
    .company-name {
        font-size: 1.8rem;
    }
    
    /* Mobile responsiveness for auth modal */
    .auth-modal {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .auth-header h2 {
        font-size: 1.5rem;
    }
    
    .auth-logo {
        width: 60px;
        height: 60px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

/* Theme Selector Styles */
.header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-selector {
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.theme-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn:hover {
    transform: scale(1.1);
    background: var(--accent-color);
    color: var(--light-text);
    border-color: var(--dark-color);
}

.theme-btn.active {
    background: var(--accent-color);
    color: var(--light-text);
    border-color: var(--dark-color);
    transform: scale(1.05);
}

/* 3D Gallery Wall Experience */
.gallery-3d-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem 0;
}

.gallery-wall-3d {
    position: relative;
    height: 80vh;
    min-height: 600px;
    perspective: 1200px;
    overflow: hidden;
}

/* Gallery Wall Background */
.wall-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: 
        /* Gallery Blue Wall like image */
        linear-gradient(180deg, #4a6b7c 0%, #3a5a6b 50%, #2a4a5b 100%);
    z-index: 1;
}

/* Realistic Wooden Floor */
.floor-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: 
        /* Wood grain overlay */
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            rgba(139, 69, 19, 0.1) 1px,
            transparent 2px,
            transparent 8px
        ),
        /* Wood planks with realistic spacing */
        repeating-linear-gradient(
            90deg,
            #8B4513 0px,
            #8B4513 100px,
            #704214 100px,
            #704214 102px,
            #A0522D 102px,
            #A0522D 200px,
            #8B4A14 200px,
            #8B4A14 202px,
            #7D4A1A 202px,
            #7D4A1A 300px,
            #6B3E16 300px,
            #6B3E16 302px
        ),
        /* Base wood color with depth */
        linear-gradient(0deg, #4A2C10 0%, #6B3E16 30%, #8B4513 50%, #A0522D 70%, #8B4513 100%);
    /* Subtle shadow pattern for realism */
    box-shadow: 
        inset 0 0 100px rgba(0,0,0,0.2),
        inset 0 -20px 40px rgba(75, 44, 16, 0.3);
    transform: perspective(1000px) rotateX(78deg);
    transform-origin: bottom;
    z-index: 0;
    /* Add wood texture noise */
    background-size: 
        3px 3px,
        302px 100%,
        100% 100%;
}

/* 3 Paintings Display */
.paintings-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    z-index: 3;
}

/* Painting Frame Styles */
.painting-frame {
    position: relative;
    border: 12px solid #D4AF37;
    border-image: linear-gradient(45deg, #FFD700, #DAA520, #B8860B, #DAA520, #FFD700) 1;
    box-shadow: 
        0 0 20px rgba(0,0,0,0.3),
        inset 0 0 10px rgba(212, 175, 55, 0.5);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: white;
}

/* Side Paintings (smaller) */
.left-painting, .right-painting {
    width: 200px;
    height: 250px;
    opacity: 0.7;
    transform: perspective(600px) rotateY(20deg) scale(0.8);
}

.left-painting {
    transform: perspective(600px) rotateY(25deg) scale(0.8);
}

.right-painting {
    transform: perspective(600px) rotateY(-25deg) scale(0.8);
}

/* Center Painting (featured) */
.center-painting {
    width: 320px;
    height: 400px;
    transform: translateZ(50px) scale(1.1);
    opacity: 1;
    box-shadow: 
        0 0 40px rgba(0,0,0,0.4),
        0 0 80px rgba(212, 175, 55, 0.3);
}

/* Painting Images */
.painting-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.nav-left {
    left: 3%;
}

.nav-right {
    right: 3%;
}

.nav-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.nav-arrow:active {
    transform: translateY(-50%) scale(1.05);
    background: #f0f0f0;
}

/* Painting Details Overlay */
.painting-details-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 6;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.details-content {
    padding: 1.5rem;
}

.painting-title-detail {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.painting-description-detail {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.9rem;
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-and-cart {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.painting-price-detail {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.add-to-cart-detail {
    background: linear-gradient(135deg, var(--accent-color), var(--dark-color));
    color: var(--light-text);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.add-to-cart-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* Mobile Responsiveness for 3D Gallery */
@media (max-width: 768px) {
    .gallery-wall-3d {
        height: 60vh;
        min-height: 500px;
    }
    
    .paintings-display {
        gap: 40px;
        transform: translate(-50%, -50%);
    }
    
    .left-painting, .right-painting {
        width: 120px;
        height: 150px;
        transform: perspective(400px) rotateY(30deg) scale(0.7);
    }
    
    .center-painting {
        width: 200px;
        height: 250px;
        transform: translateZ(30px) scale(1);
    }
    
    .nav-arrow {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .painting-details {
        width: 95%;
        padding: 1.5rem;
    }
    
    .painting-title-detail {
        font-size: 1.4rem;
    }
    
    .painting-price-detail {
        font-size: 1.2rem;
    }
    
    /* Mobile overlay adjustments */
    .painting-details-overlay {
        width: 280px;
        bottom: 10px;
        right: 10px;
    }
    
    .details-content {
        padding: 1rem;
    }
    
    .painting-title-detail {
        font-size: 1.2rem;
    }
    
    .painting-description-detail {
        font-size: 0.8rem;
        max-height: 40px;
    }
    
    .painting-price-detail {
        font-size: 1.1rem;
    }
    
    .add-to-cart-detail {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .paintings-display {
        gap: 20px;
    }
    
    .left-painting, .right-painting {
        width: 80px;
        height: 100px;
        transform: perspective(300px) rotateY(35deg) scale(0.6);
    }
    
    .center-painting {
        width: 160px;
        height: 200px;
    }
    
    .nav-left {
        left: 2%;
    }
    
    .nav-right {
        right: 2%;
    }
    
    /* Small mobile overlay adjustments */
    .painting-details-overlay {
        width: 250px;
        bottom: 5px;
        right: 5px;
    }
    
    .details-content {
        padding: 0.8rem;
    }
    
    .painting-title-detail {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .painting-description-detail {
        font-size: 0.75rem;
        max-height: 30px;
        margin-bottom: 0.8rem;
    }
    
    .price-and-cart {
        gap: 0.5rem;
    }
    
    .painting-price-detail {
        font-size: 1rem;
    }
    
    .add-to-cart-detail {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* 3D Gallery Animations */
@keyframes lightFlicker {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    25% {
        opacity: 0.9;
        transform: scale(1.05);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.98);
    }
    75% {
        opacity: 0.85;
        transform: scale(1.02);
    }
}

@keyframes galleryDepth {
    0%, 100% {
        transform: translateZ(0px);
    }
    50% {
        transform: translateZ(20px);
    }
}

/* Artistic Painting Card Enhancements */
.painting-card {
    position: relative;
    overflow: visible;
}

.painting-card::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, 
        var(--accent-color) 0%, 
        var(--dark-color) 25%, 
        var(--accent-color) 50%, 
        var(--dark-color) 75%, 
        var(--accent-color) 100%);
    background-size: 400% 400%;
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    animation: gradientShift 3s ease infinite;
}

.painting-card:hover::before {
    opacity: 0.3;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Responsive adjustments for artistic elements */
@media (max-width: 768px) {
    .theme-selector {
        gap: 4px;
        padding: 6px 8px;
    }
    
    .theme-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .shape {
        transform: scale(0.7);
    }
    
    .header-controls {
        gap: 10px;
    }
    
    .logo-image {
        width: 60px;
        height: 60px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .story-content {
        font-size: 1rem;
    }
    
    .artist-intro {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        margin-top: 1rem;
    }
    
    .artist-photo {
        width: 120px;
        height: 150px;
        align-self: center;
    }
    
    .story-content {
        padding: 1.2rem;
        font-size: 0.9rem;
        line-height: 1.5;
        text-indent: 1rem;
    }
    
    .painting-image {
        height: 200px;
    }
    
    .painting-info {
        padding: 0.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .story-section {
        padding: 2rem 0;
    }
    
    .gallery-section {
        padding: 2rem 0;
    }
    
    .painting-card {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .cart-sidebar {
        width: 100vw;
    }
    
    .painting-info {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}