

/* Start:/bitrix/components/dev/greenpark.pizza/templates/.default/style.css?17697988882942*/
.pizza-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.pizza-item {
    width: calc(33.333% - 14px); /* 3 items in a row with gap */
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    box-sizing: border-box;
}

.pizza-item-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.pizza-item-name {
    font-size: 1.2em;
    font-weight: bold;
    margin: 10px 0;
}

.pizza-item-contains {
    font-size: 0.9em;
    color: #555;
    min-height: 60px; /* Adjust as needed */
}

.pizza-item-prices {
    margin-top: 15px;
}

.pizza-item-price {
    font-weight: bold;
}

/* Add media query for responsiveness */
@media (max-width: 768px) {
    .pizza-item {
        width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .pizza-item {
        width: 100%;
    }
}


/* Сетка 3 в ряд */
.pizza-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

/* Карточка */
.pizza-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    height: 100%;
}

.pizza-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #045018; /* Тот самый зеленый */
}

/* Картинка */
.pizza-image-wrapper {
    position: relative;
    padding-bottom: 70%; /* Соотношение сторон */
    overflow: hidden;
    background: #fdfdfd;
}

.pizza-image-wrapper img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pizza-card:hover .pizza-image-wrapper img {
    transform: scale(1.08) rotate(2deg);
}

/* Текстовая часть */
.pizza-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pizza-name {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    font-weight: 800;
    color: #222;
}

.pizza-ingredients {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Цены */
.pizza-prices {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 10px;
}

.price-tag {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.price-tag:not(:last-child) {
    border-bottom: 1px dashed #ddd;
    margin-bottom: 4px;
}

.price-tag .size {
    font-size: 0.8rem;
    color: #888;
}

.price-tag .val {
    font-weight: 700;
    color: #045018;
    font-size: 1.1rem;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .pizza-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
    .pizza-grid { grid-template-columns: 1fr; }
    .pizza-card { border-radius: 15px; }
}


/* End */
/* /bitrix/components/dev/greenpark.pizza/templates/.default/style.css?17697988882942 */
