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

:root {
    --beige: #F5F0E8;
    --beige-dark: #E8E0D4;
    --terracotta: #C17A5F;
    --terracotta-light: #D4957A;
    --olive: #7A8B6E;
    --olive-light: #96A688;
    --text-dark: #3D3229;
    --text-light: #6B5E52;
    --white: #FFFFFF;
    --shadow: rgba(61, 50, 41, 0.08);
    --shadow-hover: rgba(61, 50, 41, 0.15);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--beige);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--terracotta);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--terracotta-light);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--terracotta);
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: var(--terracotta);
}

nav a.active::after {
    width: 100%;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-dark);
    fill: none;
    stroke-width: 2;
    transition: stroke 0.3s ease;
}

.cart-icon:hover svg {
    stroke: var(--terracotta);
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--terracotta);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.cart-count.bounce {
    animation: bounce 0.4s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.hero {
    text-align: center;
    padding: 4rem 2rem 3rem;
    background: linear-gradient(135deg, var(--beige) 0%, var(--beige-dark) 100%);
}

.hero h1 {
    font-family: 'Caveat', cursive;
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

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

.catalog {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}

.catalog h2 {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease 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:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-hover);
}

.product-image {
    width: 100%;
    height: 260px;
    background: linear-gradient(135deg, var(--beige-dark) 0%, var(--beige) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-specs {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--terracotta);
    margin-bottom: 1rem;
}

.add-to-cart {
    width: 100%;
    padding: 0.9rem;
    background: var(--olive);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-to-cart:hover {
    background: var(--olive-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(122, 139, 110, 0.3);
}

.cart-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(61, 50, 41, 0.4);
    backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 201;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

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

.cart-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--beige-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    color: var(--text-dark);
}

.close-cart {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.close-cart:hover {
    transform: rotate(90deg);
}

.close-cart svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-dark);
    stroke-width: 2;
}

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

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.cart-empty svg {
    width: 60px;
    height: 60px;
    stroke: var(--beige-dark);
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--beige-dark);
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.cart-item-image {
    width: 70px;
    height: 70px;
    background: var(--beige);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.cart-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.cart-item-price {
    color: var(--terracotta);
    font-weight: 700;
    font-size: 0.95rem;
}

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

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--beige-dark);
    background: var(--white);
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--beige);
    border-color: var(--terracotta);
}

.cart-item-qty {
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.remove-item {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.3rem;
    margin-left: auto;
    transition: transform 0.2s ease;
}

.remove-item:hover {
    transform: scale(1.2);
}

.remove-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-light);
    stroke-width: 2;
}

.remove-item:hover svg {
    stroke: var(--terracotta);
}

.cart-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--beige-dark);
    background: var(--beige);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cart-total-label {
    font-size: 1.1rem;
    font-weight: 600;
}

.cart-total-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--terracotta);
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--terracotta);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background: var(--terracotta-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 122, 95, 0.3);
}

.order-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(61, 50, 41, 0.5);
    backdrop-filter: blur(5px);
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.order-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.order-modal {
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.order-modal-overlay.active .order-modal {
    transform: scale(1) translateY(0);
}

.order-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.order-modal-header h3 {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: var(--text-dark);
}

.close-order-modal {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.close-order-modal:hover {
    transform: rotate(90deg);
}

.close-order-modal svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-dark);
    stroke-width: 2;
}

.order-summary {
    background: var(--beige);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.order-summary-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.order-summary-list {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.order-summary-total {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--beige-dark);
    font-weight: 700;
    color: var(--terracotta);
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--beige-dark);
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(193, 122, 95, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-order-btn {
    width: 100%;
    padding: 1rem;
    background: var(--olive);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.submit-order-btn:hover {
    background: var(--olive-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 139, 110, 0.3);
}

.submit-order-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.product-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(61, 50, 41, 0.5);
    backdrop-filter: blur(5px);
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.product-modal {
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 920px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    position: relative;
}

.product-modal-overlay.active .product-modal {
    transform: scale(1) translateY(0);
}

.close-product-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.close-product-modal:hover {
    transform: rotate(90deg);
}

.close-product-modal svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-dark);
    stroke-width: 2;
}

.product-modal-gallery {
    flex: 1 1 50%;
    min-width: 0;
    background: var(--beige);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-modal-main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--beige-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.product-modal-thumbs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-modal-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.product-modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-modal-thumb:hover {
    opacity: 0.9;
}

.product-modal-thumb.active {
    border-color: var(--terracotta);
    opacity: 1;
}

.product-modal-info {
    flex: 1 1 50%;
    min-width: 0;
    padding: 2.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
}

.product-modal-info h3 {
    font-family: 'Caveat', cursive;
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-modal-specs {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.product-modal-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--terracotta);
    margin-bottom: 1.2rem;
}

.product-modal-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex: 1;
}

@media (max-width: 768px) {
    .product-modal {
        flex-direction: column;
        max-height: 95vh;
    }
    .product-modal-gallery {
        padding: 1.5rem;
    }
    .product-modal-info {
        padding: 1.5rem;
    }
}

.success-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(61, 50, 41, 0.5);
    backdrop-filter: blur(5px);
    z-index: 400;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.success-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-modal {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.success-overlay.active .success-modal {
    transform: scale(1);
}

.success-icon {
    width: 70px;
    height: 70px;
    background: var(--olive);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--white);
    stroke-width: 3;
    fill: none;
}

.success-modal h3 {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.success-modal p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.success-btn {
    padding: 0.9rem 2rem;
    background: var(--terracotta);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.success-btn:hover {
    background: var(--terracotta-light);
}

footer {
    background: var(--text-dark);
    color: var(--beige);
    padding: 3rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: var(--terracotta);
}

.footer-copy {
    font-size: 0.9rem;
    color: var(--beige-dark);
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: right;
}

.footer-contacts a {
    color: var(--beige);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-contacts a:hover {
    color: var(--terracotta);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--terracotta);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: var(--beige);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    z-index: 150;
    padding: 2rem;
    transition: left 0.4s ease;
    box-shadow: 5px 0 30px rgba(0,0,0,0.1);
}

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

.mobile-nav-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(61, 50, 41, 0.4);
    z-index: 149;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-close {
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 2rem;
}

.mobile-nav-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-dark);
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 1.5rem;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: var(--terracotta);
}

.mobile-nav a.active {
    color: var(--terracotta);
}

/* Page content sections */
.page-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
}

.page-section h1 {
    font-family: 'Caveat', cursive;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.page-section h2 {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.page-section p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.page-section a {
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 600;
}

.page-section a:hover {
    text-decoration: underline;
}

.info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 20px var(--shadow);
    text-align: left;
}

.info-card h3 {
    font-family: 'Caveat', cursive;
    font-size: 1.6rem;
    color: var(--terracotta);
    margin-bottom: 0.8rem;
}

.info-card p, .info-card li {
    color: var(--text-light);
    line-height: 1.8;
}

.info-card ul {
    padding-left: 1.2rem;
}

.info-card li {
    margin-bottom: 0.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow);
}

.contact-card h3 {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    color: var(--terracotta);
    margin-bottom: 0.8rem;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }
    nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .cart-sidebar {
        width: 100%;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-contacts {
        text-align: center;
    }
    .order-modal {
        padding: 1.5rem;
    }
    .page-section h1 {
        font-size: 2.2rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    .catalog h2 {
        font-size: 2rem;
    }
    .product-image {
        height: 220px;
    }
    .page-section {
        padding: 2rem 1rem;
    }
}

.cart-items::-webkit-scrollbar,
.order-modal::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-track,
.order-modal::-webkit-scrollbar-track {
    background: var(--beige);
}

.cart-items::-webkit-scrollbar-thumb,
.order-modal::-webkit-scrollbar-thumb {
    background: var(--beige-dark);
    border-radius: 3px;
}

.cart-items::-webkit-scrollbar-thumb:hover,
.order-modal::-webkit-scrollbar-thumb:hover {
    background: var(--terracotta-light);
}
