@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Roboto:wght@400;500;700&family=Montserrat:wght@400;500;600;700&display=swap');

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

html {
    height: 100%;
}

body {
    font-family: 'Inter', 'Roboto', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fef7f5;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 182, 193, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(232, 180, 180, 0.06) 0%, transparent 50%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 182, 193, 0.02) 2px,
            rgba(255, 182, 193, 0.02) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(232, 180, 180, 0.015) 2px,
            rgba(232, 180, 180, 0.015) 4px
        );
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    min-height: 100vh;
    color: #5a4a42;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    border-radius: 20px;
}

/* Header */
header {
    background: #fff8f5;
    box-shadow: 0 1px 3px rgba(255, 182, 193, 0.15);
    padding: 24px 0;
    margin-bottom: 0;
    width: 100%;
    animation: slideDown 0.6s ease-out;
}

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

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

header h1 {
    color: #d4a5a5;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.header-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d4a5a5;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.header-logo-link:hover {
    opacity: 0.8;
}

.header-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #8b6f6f;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

nav a:hover {
    color: #e8b4b4;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #fff5f8 0%, #ffeef0 30%, #ffe8e8 60%, #fff0e6 100%);
    padding: 180px 0 140px;
    margin-bottom: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid rgba(244, 194, 194, 0.3);
}

/* Декоративні елементи для hero */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* Цветочные узоры */
        radial-gradient(circle at 15% 20%, rgba(244, 194, 194, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(232, 180, 180, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 50% 70%, rgba(255, 182, 193, 0.1) 0%, transparent 35%),
        /* Волнистые линии */
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 60px,
            rgba(244, 194, 194, 0.05) 60px,
            rgba(244, 194, 194, 0.05) 61px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 60px,
            rgba(232, 180, 180, 0.04) 60px,
            rgba(232, 180, 180, 0.04) 61px
        );
    animation: patternMove 25s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

/* Декоративні кола та елементи */
.hero-section::after {
    content: '';
    position: absolute;
    top: -15%;
    right: -8%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.18) 0%, rgba(232, 180, 180, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    filter: blur(40px);
}

/* Додаткові декоративні елементи через псевдоелемент контейнера */

@keyframes patternMove {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    50% {
        transform: translateX(40px) translateY(40px) rotate(180deg);
    }
    100% {
        transform: translateX(80px) translateY(80px) rotate(360deg);
    }
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 500;
    color: #b88a8a;
    margin-top: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    animation: fadeInUp 1.4s ease-out 0.3s both;
    font-style: italic;
}

.hero-description {
    font-size: 18px;
    color: #8b6f6f;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1.6s ease-out 0.6s both;
    font-weight: 400;
}

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

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    overflow: visible;
    padding: 40px 20px;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    border: 3px solid rgba(244, 194, 194, 0.25);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
    pointer-events: none;
    box-shadow: 0 0 40px rgba(244, 194, 194, 0.2);
}

.hero-content::after {
    content: '';
    position: absolute;
    bottom: -120px;
    right: -120px;
    width: 350px;
    height: 350px;
    border: 3px solid rgba(232, 180, 180, 0.2);
    border-radius: 50%;
    animation: rotate 35s linear infinite reverse;
    pointer-events: none;
    box-shadow: 0 0 50px rgba(232, 180, 180, 0.15);
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: #c99a9a;
    line-height: 1.15;
    letter-spacing: -2px;
    animation: fadeInUp 1.2s ease-out;
    position: relative;
    margin-bottom: 30px;
    text-shadow: 0 2px 20px rgba(244, 194, 194, 0.3);
    background: linear-gradient(135deg, #d4a5a5 0%, #c99a9a 50%, #b88a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title::before {
    content: '✨';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    opacity: 0;
    animation: sparkle 2s ease-out 0.8s forwards;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #f4c2c2 20%, #e8b4b4 50%, #f4c2c2 80%, transparent 100%);
    border-radius: 2px;
    animation: expandLine 2s ease-out 0.8s forwards;
    box-shadow: 0 2px 10px rgba(244, 194, 194, 0.4);
}

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

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

@keyframes sparkle {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(-10px) scale(1.2);
    }
    100% {
        opacity: 0.7;
        transform: translateX(-50%) translateY(-20px) scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
    }
    25% {
        transform: translateY(-40px) translateX(30px) scale(1.05);
    }
    50% {
        transform: translateY(-20px) translateX(15px) scale(0.98);
    }
    75% {
        transform: translateY(30px) translateX(-25px) scale(1.02);
    }
}


/* Main Content */
main {
    background: #ffffff;
    padding: 0;
    margin-bottom: 160px;
    padding-bottom: 60px;
    flex-grow: 1;
    border-radius: 24px;
    overflow: hidden;
}

.section-title {
    color: #c99a9a;
    margin-bottom: 60px;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 0;
    margin-bottom: 60px;
    align-items: stretch;
}

/* Product Card */
.product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(232, 180, 180, 0.15);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #ffe5e5;
    opacity: 0;
    animation: fadeInScale 0.6s ease-out forwards;
    cursor: pointer;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(n+7) { animation-delay: 0.7s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(232, 180, 180, 0.25);
    transform: translateY(-4px);
    border-color: #f4c2c2;
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: contain;
    background: #fff8f5;
    padding: 24px;
    transition: opacity 0.3s ease;
    display: none;
}

.product-image.active {
    display: block;
}

.product-card-single-image {
    width: 100%;
    height: 280px;
    background: #fff8f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image-single {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
    box-sizing: border-box;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image-single {
    transform: scale(1.05);
}

.product-card-slider {
    position: relative;
    width: 100%;
    height: 280px;
    background: #fff8f5;
    overflow: hidden;
}

.product-card-images {
    width: 100%;
    height: 100%;
    position: relative;
}

.product-card-images .product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
    box-sizing: border-box;
}

.product-card-slider-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 5;
}

.product-card-slider-btn {
    background: rgba(232, 180, 180, 0.8);
    color: #5a4a42;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
}

.product-card-slider-btn:hover {
    background: rgba(212, 165, 165, 0.95);
    transform: scale(1.1);
}

.product-card-slider-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.product-card-slider-dots .slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-card-slider-dots .slider-dot:hover {
    background: #999;
    transform: scale(1.2);
}

.product-card-slider-dots .slider-dot.active {
    background: #d4a5a5;
    width: 24px;
    border-radius: 4px;
}

.product-card:hover .product-image.active {
    transform: scale(1.05);
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #8b6f6f;
    line-height: 1.4;
}

.product-description {
    display: block;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.product-price {
    font-size: 28px;
    font-weight: 700;
    color: #c99a9a;
    letter-spacing: -0.5px;
    margin: 0;
}

.product-price-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 20px;
}

.btn-add-to-cart {
    flex: 1;
    padding: 14px;
    background: linear-gradient(135deg, #f4c2c2 0%, #e8b4b4 100%);
    color: #5a4a42;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-add-to-cart::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-add-to-cart:hover::before {
    width: 300px;
    height: 300px;
}

.product-card:hover .btn-add-to-cart {
    background: linear-gradient(135deg, #e8b4b4 0%, #d4a5a5 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 180, 180, 0.4);
}

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

.btn-add-to-cart.added {
    background: linear-gradient(135deg, #d4a5a5 0%, #c99a9a 100%);
    color: #fff8f5;
}

/* Cart */
.cart-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(232, 180, 180, 0.12);
    border: 1px solid #ffe5e5;
}

.cart-item-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff8f5;
    padding: 12px;
}

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

.cart-item-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #8b6f6f;
}

.cart-item-price {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 16px;
}

.cart-item-quantity {
    color: #666;
    font-size: 14px;
    margin-top: 4px;
}

.cart-item-total {
    font-size: 22px;
    font-weight: 700;
    color: #c99a9a;
    margin-right: 24px;
}

.btn-remove {
    padding: 10px 20px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.btn-remove:hover {
    background: #d32f2f;
}

.cart-total {
    margin-top: 40px;
    padding: 32px 40px;
    background: linear-gradient(135deg, #ffeef5 0%, #ffe5e5 50%, #fff0e6 100%);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(232, 180, 180, 0.2);
    position: relative;
    overflow: hidden;
    border: 2px solid #f4c2c2;
}

.cart-total::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.15) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.cart-total-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.cart-total-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.cart-total-label {
    color: #8b6f6f;
    font-size: 16px;
    font-weight: 500;
}

.cart-total-price {
    color: #c99a9a;
    font-size: 36px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(232, 180, 180, 0.3);
    line-height: 1.2;
}

#total-price {
    color: #c99a9a;
}

.btn-pay {
    padding: 16px 40px;
    background: linear-gradient(135deg, #f4c2c2 0%, #e8b4b4 100%);
    color: #5a4a42;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(232, 180, 180, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-pay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-pay:hover {
    background: linear-gradient(135deg, #e8b4b4 0%, #d4a5a5 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 180, 180, 0.5);
    color: #fff8f5;
}

.btn-pay:hover::before {
    width: 300px;
    height: 300px;
}

.btn-pay:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.4);
}

.btn-pay:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-pay-icon {
    font-size: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-pay:hover .btn-pay-icon {
    transform: scale(1.2) rotate(5deg);
}

.btn-pay:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.empty-cart p {
    font-size: 18px;
    margin-bottom: 24px;
}

/* Product Modal */
.product-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
}

.product-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(139, 111, 111, 0.4);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.product-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #fff8f5 100%);
    margin: auto;
    padding: 0;
    border-radius: 24px;
    width: 700px;
    height: 650px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(232, 180, 180, 0.3), 0 0 0 1px rgba(244, 194, 194, 0.2);
    display: flex;
    flex-direction: row;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    border: 2px solid rgba(244, 194, 194, 0.3);
}

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

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

.product-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #c99a9a;
    background: linear-gradient(135deg, rgba(255, 248, 245, 0.98) 0%, rgba(255, 240, 245, 0.95) 100%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border: 2px solid rgba(244, 194, 194, 0.4);
    box-shadow: 0 4px 12px rgba(232, 180, 180, 0.2);
}

.product-modal-close:hover {
    background: linear-gradient(135deg, #ffeef5 0%, #ffe5e5 100%);
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(244, 194, 194, 0.6);
    box-shadow: 0 6px 16px rgba(232, 180, 180, 0.3);
}

.product-modal-image-container {
    width: 40%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #fff8f5 0%, #ffeef5 50%, #ffe5e5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 30px;
    box-sizing: border-box;
    position: relative;
}

.product-modal-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 182, 193, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.product-modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Слайдер зображень */
.product-image-slider {
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, #fff8f5 0%, #ffeef5 50%, #ffe5e5 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    border-right: 2px solid rgba(244, 194, 194, 0.2);
}

.product-image-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 182, 193, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.slider-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 30px;
    box-sizing: border-box;
}

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

.product-modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    display: block;
}

.product-modal-image.active {
    opacity: 1;
    position: relative;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(244, 194, 194, 0.9) 0%, rgba(232, 180, 180, 0.9) 100%);
    color: #5a4a42;
    border: 2px solid rgba(255, 255, 255, 0.5);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    user-select: none;
    box-shadow: 0 4px 12px rgba(232, 180, 180, 0.3);
    font-weight: bold;
}

.slider-btn:hover {
    background: linear-gradient(135deg, rgba(232, 180, 180, 0.95) 0%, rgba(212, 165, 165, 0.95) 100%);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 18px rgba(232, 180, 180, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
}

.slider-btn-prev {
    left: 20px;
}

.slider-btn-next {
    right: 20px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 248, 245, 0.8) 0%, rgba(255, 240, 245, 0.6) 100%);
    border-top: 1px solid rgba(244, 194, 194, 0.2);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(232, 180, 180, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot:hover {
    background: rgba(212, 165, 165, 0.6);
    transform: scale(1.3);
    border-color: rgba(244, 194, 194, 0.5);
}

.slider-dot.active {
    background: linear-gradient(135deg, #d4a5a5 0%, #c99a9a 100%);
    width: 32px;
    border-radius: 16px;
    border-color: rgba(244, 194, 194, 0.6);
    box-shadow: 0 2px 8px rgba(212, 165, 165, 0.4);
}

.product-modal-details {
    padding: 45px 40px 40px;
    width: 60%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    height: 100%;
    box-sizing: border-box;
    background: linear-gradient(135deg, #ffffff 0%, #fff8f5 100%);
    position: relative;
}

.product-modal-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #f4c2c2 0%, #e8b4b4 50%, #d4a5a5 100%);
}

.product-modal-name {
    color: #c99a9a;
    font-size: 30px;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.8px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 16px;
}

.product-modal-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #f4c2c2 0%, #e8b4b4 100%);
    border-radius: 2px;
}

.product-modal-price {
    font-size: 36px;
    font-weight: 700;
    color: #c99a9a;
    margin-bottom: 24px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #d4a5a5 0%, #c99a9a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    padding: 8px 0;
}

.product-modal-description {
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.8;
    color: #8b6f6f;
    background: rgba(255, 248, 245, 0.6);
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid #f4c2c2;
}

.product-modal-description h3 {
    color: #c99a9a;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 14px;
}

.product-modal-description p {
    color: #8b6f6f;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 12px;
}

.product-modal-actions {
    margin-top: auto;
    padding-top: 24px;
    border-top: 2px solid rgba(244, 194, 194, 0.2);
}

.btn-add-to-cart-modal {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #f4c2c2 0%, #e8b4b4 100%);
    color: #5a4a42;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(232, 180, 180, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-add-to-cart-modal::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-add-to-cart-modal:hover::before {
    width: 300px;
    height: 300px;
}

.btn-add-to-cart-modal:hover {
    background: linear-gradient(135deg, #e8b4b4 0%, #d4a5a5 100%);
    color: #fff8f5;
    box-shadow: 0 6px 20px rgba(232, 180, 180, 0.5);
    transform: translateY(-2px);
}

.btn-add-to-cart-modal:active {
    transform: translateY(0);
}

.btn-add-to-cart-modal.added {
    background: linear-gradient(135deg, #d4a5a5 0%, #c99a9a 100%);
    color: #fff8f5;
    box-shadow: 0 4px 16px rgba(212, 165, 165, 0.4);
}

/* Footer */
footer {
    margin-top: auto;
    width: 100%;
    position: relative;
}

.footer-wrapper {
    background: linear-gradient(180deg, #ffffff 0%, #fff8f5 30%, #ffeef5 100%);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #f4c2c2 20%, #e8b4b4 50%, #f4c2c2 80%, transparent 100%);
}

.footer-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 182, 193, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(232, 180, 180, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-brand {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(244, 194, 194, 0.2);
}

.footer-logo {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #d4a5a5 0%, #c99a9a 50%, #b88a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.footer-tagline {
    font-size: 16px;
    color: #8b6f6f;
    font-style: italic;
    margin: 0;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 248, 245, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(244, 194, 194, 0.2);
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    background: rgba(255, 248, 245, 0.8);
    border-color: rgba(244, 194, 194, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 180, 180, 0.15);
}

.footer-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(244, 194, 194, 0.2) 0%, rgba(232, 180, 180, 0.2) 100%);
    border-radius: 12px;
}

.footer-contact-item div {
    flex: 1;
}

.footer-contact-item strong {
    display: block;
    color: #c99a9a;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-contact-item p {
    color: #8b6f6f;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.footer-contact-item a {
    color: #8b6f6f;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
    display: block;
}

.footer-contact-item a:hover {
    color: #d4a5a5;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(244, 194, 194, 0.2);
}

.footer-links a {
    color: #8b6f6f;
    text-decoration: none;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: linear-gradient(90deg, #f4c2c2 0%, #e8b4b4 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: #c99a9a;
    background: rgba(255, 248, 245, 0.6);
}

.footer-links a:hover::after {
    transform: scaleX(1);
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(244, 194, 194, 0.2);
    background: rgba(255, 248, 245, 0.3);
    position: relative;
    z-index: 1;
}

.footer-payment-methods {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(244, 194, 194, 0.15);
}

.payment-label {
    color: #8b6f6f;
    font-size: 14px;
    font-weight: 500;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.payment-icon {
    height: 32px;
    width: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: grayscale(20%);
}

.payment-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
    filter: grayscale(0%);
}

.footer-bottom p {
    color: #8b6f6f;
    font-size: 14px;
    margin: 0;
}

/* Floating Cart Button */
.floating-cart-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f4c2c2 0%, #e8b4b4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(232, 180, 180, 0.4);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    overflow: visible;
}

.floating-cart-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(232, 180, 180, 0.5);
    background: linear-gradient(135deg, #e8b4b4 0%, #d4a5a5 100%);
}

.floating-cart-btn:active {
    transform: scale(0.95);
}

.cart-icon {
    font-size: 32px;
    transition: transform 0.3s ease;
    display: inline-block;
    line-height: 1;
}

.floating-cart-btn:hover .cart-icon {
    transform: scale(1.15) rotate(-5deg);
}

.cart-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #d4a5a5;
    color: #fff8f5;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(212, 165, 165, 0.5);
    animation: bounceIn 0.3s ease;
}

.floating-cart-btn:hover .cart-count-badge,
.cart-count-badge.show {
    display: flex;
}

.cart-count-badge:empty {
    display: none;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Delivery Modal */
.delivery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
}

.delivery-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.delivery-modal-content {
    background-color: white;
    margin: auto;
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    animation: modalSlideIn 0.4s ease forwards;
}

.delivery-modal-content h2 {
    color: #c99a9a;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.delivery-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #1a1a1a;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
    border: 1px solid #f0f0f0;
}

.delivery-modal-close:hover {
    background: #f5f5f5;
}

.delivery-modal-content .form-group {
    margin-bottom: 20px;
}

.delivery-modal-content label {
    display: block;
    margin-bottom: 8px;
    color: #8b6f6f;
    font-weight: 600;
    font-size: 14px;
}

.delivery-modal-content input,
.delivery-modal-content textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.delivery-modal-content input:focus,
.delivery-modal-content textarea:focus {
    outline: none;
    border-color: #e8b4b4;
    box-shadow: 0 0 0 3px rgba(232, 180, 180, 0.2);
}

.delivery-modal-content textarea {
    resize: vertical;
    min-height: 80px;
}

.delivery-info {
    background: #fff8f5;
    padding: 16px;
    border-radius: 8px;
    margin: 24px 0;
    border: 1px solid #ffe5e5;
}

.delivery-info p {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin: 8px 0;
}

.delivery-info p:first-child {
    margin-top: 0;
}

.delivery-info p:last-child {
    margin-bottom: 0;
}

.btn-pay-modal {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #f4c2c2 0%, #e8b4b4 100%);
    color: #5a4a42;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(232, 180, 180, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.btn-pay-modal:hover:not(:disabled) {
    background: linear-gradient(135deg, #e8b4b4 0%, #d4a5a5 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 180, 180, 0.5);
    color: #fff8f5;
}

.btn-pay-modal:active:not(:disabled) {
    transform: translateY(0);
}

.btn-pay-modal:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Footer Modal */
.footer-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.footer-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-modal-content {
    background-color: white;
    margin: auto;
    padding: 40px;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.footer-modal-close {
    position: absolute;
    right: 24px;
    top: 24px;
    font-size: 32px;
    font-weight: bold;
    color: #1a1a1a;
    cursor: pointer;
    transition: color 0.2s;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-modal-close:hover {
    color: #d4a5a5;
}

#footer-modal-body h2 {
    color: #c99a9a;
    margin-bottom: 24px;
    font-size: 28px;
    font-weight: 700;
}

#footer-modal-body h3 {
    color: #8b6f6f;
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
}

#footer-modal-body p {
    line-height: 1.7;
    margin-bottom: 16px;
    color: #666;
    font-size: 15px;
}

#footer-modal-body ul {
    list-style-type: none;
    padding-left: 0;
}

#footer-modal-body ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

#footer-modal-body ul li:last-child {
    border-bottom: none;
}

#footer-modal-body a {
    color: #d4a5a5;
    text-decoration: none;
    transition: color 0.2s;
}

#footer-modal-body a:hover {
    color: #c99a9a;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

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

    header .container {
        flex-direction: column;
        gap: 16px;
    }

    nav {
        gap: 20px;
    }

    .hero-section {
        padding: 100px 0 80px;
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 20px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .hero-content::before,
    .hero-content::after {
        display: none;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cart-item {
        flex-direction: column;
        text-align: center;
    }

    .product-modal-content {
        flex-direction: column;
        width: 95%;
        height: auto;
        max-height: 90vh;
        border-radius: 20px;
    }
    
    .product-modal-image-container,
    .product-image-slider {
        width: 100%;
        min-width: auto;
        height: 280px;
        border-right: none;
        border-bottom: 2px solid rgba(244, 194, 194, 0.2);
    }
    
    .product-modal-image-container::before,
    .product-image-slider::before {
        display: none;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    
    .slider-btn-prev {
        left: 10px;
    }
    
    .slider-btn-next {
        right: 10px;
    }

    .product-modal-details {
        width: 100%;
        padding: 28px 20px 24px;
        height: auto;
    }
    
    .product-modal-details::before {
        display: none;
    }

    .product-modal-name {
        font-size: 26px;
        padding-bottom: 12px;
    }
    
    .product-modal-name::after {
        width: 50px;
    }

    .product-modal-price {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .product-modal-description {
        padding: 16px;
        font-size: 15px;
    }
    
    .product-modal-actions {
        padding-top: 20px;
    }
    
    .btn-add-to-cart-modal {
        padding: 16px;
        font-size: 17px;
    }

    .footer-main {
        gap: 40px;
    }
    
    .footer-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-contact-item {
        padding: 16px;
    }

    
    .footer-logo {
        font-size: 36px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .footer-wrapper {
        padding: 60px 0 0;
    }
    
    .footer-payment-methods {
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    
    .payment-label {
        font-size: 13px;
    }
    
    .payment-icons {
        gap: 16px;
    }
    
    .payment-icon {
        height: 28px;
    }
    
    .floating-cart-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .cart-icon {
        font-size: 24px;
    }
    
    .cart-count-badge {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
    
    .cart-total {
        padding: 24px 20px;
    }
    
    .cart-total-content {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .cart-total-info {
        text-align: center;
    }
    
    .cart-total-price {
        font-size: 32px;
    }
    
    .btn-pay {
        width: 100%;
        justify-content: center;
    }
}
