/*
Theme Name: Degusto Restaurant Theme
Theme URI: https://degusto.md
Author: Degusto
Description: Фирменная тема Degusto для WooCommerce
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --degusto-font-title: 'Playfair Display', Georgia, serif;
    --degusto-font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --degusto-color-primary: #ff6047;
    --degusto-color-price: #d85c37;
    --degusto-color-dark: #1f1f1f;
    --degusto-color-bg: #fcfafa;
    --degusto-radius: 20px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--degusto-font-body);
    background-color: var(--degusto-color-bg);
    color: var(--degusto-color-dark);
    -webkit-font-smoothing: antialiased;
}

/* Header */
.degusto-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.degusto-header__logo img {
    height: 48px;
    width: auto;
}

.degusto-header__contacts {
    text-align: right;
    font-size: 13px;
    line-height: 1.4;
}

.degusto-header__phone {
    font-size: 16px;
    font-weight: 700;
    color: var(--degusto-color-dark);
    text-decoration: none;
}

/* Hero Banner */
.degusto-hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('/tilda-assets/images/tild3632-3633-4739-b237-363262613938__degusto_photo.png') center/cover no-repeat;
    color: #ffffff;
    padding: 70px 20px;
    text-align: center;
}

.degusto-hero__title {
    font-family: var(--degusto-font-title);
    font-size: 46px;
    font-weight: 700;
    margin: 0 0 10px;
}

.degusto-hero__subtitle {
    font-size: 18px;
    opacity: 0.95;
    margin: 0;
}

/* Sticky Categories Navigation */
.degusto-nav-wrapper {
    position: sticky;
    top: 72px;
    z-index: 990;
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    padding: 10px 16px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.degusto-nav-list {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1240px;
}

.degusto-nav-list a {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 25px;
    background: #f4f4f4;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.degusto-nav-list a:hover,
.degusto-nav-list a.active {
    background: var(--degusto-color-dark);
    color: #fff;
}

/* Container */
.degusto-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 30px 16px;
}

/* Section / Category */
.degusto-section {
    margin-bottom: 50px;
    scroll-margin-top: 140px;
}

.degusto-section__title {
    font-family: var(--degusto-font-title);
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 25px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eaeaea;
    color: #222;
}

/* Products Grid */
.degusto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

@media (max-width: 576px) {
    .degusto-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .degusto-hero__title {
        font-size: 32px;
    }
}

/* Product Card */
.degusto-card {
    background: #fff;
    border-radius: var(--degusto-radius);
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.degusto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 26px rgba(0,0,0,0.09);
}

.degusto-card__img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f0f0;
}

.degusto-card__img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.degusto-card:hover .degusto-card__img-wrapper img {
    transform: scale(1.04);
}

.degusto-card__body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.degusto-card__title {
    font-family: var(--degusto-font-title);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.3;
    color: #111;
}

.degusto-card__portion {
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
    font-weight: 500;
}

.degusto-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.degusto-card__price {
    font-family: var(--degusto-font-title);
    font-size: 22px;
    font-weight: 700;
    color: var(--degusto-color-price);
}

.degusto-btn-add {
    background: #111;
    color: #fff !important;
    border: none;
    border-radius: 30px;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.degusto-btn-add:hover {
    background: var(--degusto-color-primary);
}

/* Floating Cart Button */
.degusto-floating-cart {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #111;
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    z-index: 1000;
    transition: transform 0.2s, background 0.2s;
}

.degusto-floating-cart:hover {
    transform: scale(1.05);
    background: var(--degusto-color-primary);
}
