@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
@font-face {
    font-family: Zyzol;
    src: url(Zyzol.otf);
}
@font-face {
    font-family: ZyzolO;
    src: url(ZyzolO.otf);
}
@font-face {
    font-family: Thaloria_Regular;
    src: url(Thaloria_Regular.ttf);
}
:root {
    --font-main: 'Poppins', sans-serif;
    --text-color: #333333;
    --text-light: #555555;
    --bg-color: #f8f9fa;
    --accent-color: #beadad;
    --btn-primary: rgb(255, 127, 80);
    --btn-secondary: #2c3e50;
    --radius-card: 8px;
    --radius-btn: 5px;
}

html {
    font-family: var(--font-main);
    font-size: 16px;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
}
.block_text h1 {
    padding: 30px;
}

.formular h1 {
    padding: 10px;
}

.formular table {
    padding: 10px;
}

.texta h1 {
    font-family: ZyzolO;
    font-weight: 600;
    font-size: clamp(2rem, 5vw, 4rem);
    margin: 0.5em 0;
    text-align: center;
    color: #111;
}

.texta h2,
#mi {
    font-family: var(--font-main);
    font-weight: 300;
    text-align: center;
}

.cart-action {
    margin-top: 20px;
    text-align: center;
}

.btn-view-cart {
    background: var(--btn-primary);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: var(--radius-btn);
    font-family: var(--font-main);
    font-weight: 600;
    display: inline-block;
    transition: background 0.3s ease;
}

.btn-view-cart:hover {
    background: rgb(250, 106, 53);
}

.btn-add-cart {
    display: inline-block;
    background-color: var(--btn-secondary);
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 5px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    transition: background 0.3s ease, transform 0.2s;
}

.btn-add-cart:hover {
    background-color: #1a252f;
    transform: translateY(-2px);
}

.gal {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

div.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

div.gallery-item {
    background: white;
    margin-bottom: 0;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

div.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

div.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.prod-info {
    padding: 15px 10px;
}

.prod-title {
    margin: 10px 0 5px;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.prod-price {
    font-weight: 600;
    color: var(--text-light);
    font-family: var(--font-main);
    margin: 0 0 10px 0;
}

@media screen and (max-width: 1024px) {
    div.gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    div.gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media screen and (max-width: 480px) {
    div.gallery {
        grid-template-columns: repeat(1, 1fr);
    }
}