/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Titan+One&family=Fredoka:wght@400;600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary-bg: #4b533a;   /* Tmavá olivová z loga */
    --accent: #d6c8a1;       /* Krémová z loga */
    --text-light: #f7f3e3;
    --text-dark: #3a3f2d;    /* Hlboká olivovo-čierna pre text */
    --white: #ffffff;
    --light-bg: #faf9f5;     /* Krásny krémovo biely tón */
}

body {
    background-color: #ffffff !important;
    color: var(--text-dark);
    font-family: 'Fredoka', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

body::before {
    display: none;
}

/* Nadpisy s fontom Titan One podľa loga */
h1, h2, h3, h4, .logo-font {
    font-family: 'Titan One', cursive;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: var(--primary-bg); /* Olivové nadpisy navrhnuté na bielo-olivový kontrast */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* Hlavný Header s Logom */
.main-header {
    text-align: center;
    padding: 35px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container {
    margin-bottom: 15px;
}

.logo-img {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    background: var(--primary-bg);
}

.logo-img:hover {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.header-title-link {
    text-decoration: none;
    color: inherit;
}

.main-header h1 {
    font-size: 3.2rem;
    color: var(--accent);
    margin: 0;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: 3px;
}

.header-subtitle {
    font-size: 1.25rem;
    color: #f7f3e3;
    opacity: 0.95;
    margin: 8px 0 0 0;
    font-style: italic;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Vyhľadávanie a kategórie */
.filters {
    margin-bottom: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.search-form {
    width: 100%;
    max-width: 480px;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    padding: 16px 60px 16px 25px;
    width: 100%;
    border-radius: 35px;
    border: 2px solid var(--accent);
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
    font-size: 1.1rem;
    font-family: 'Fredoka', sans-serif;
    transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.search-input:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.45);
    border-color: var(--white);
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
}

.search-submit {
    position: absolute;
    right: 8px;
    background: var(--accent);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-bg);
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

.search-submit:hover {
    background-color: var(--white);
    transform: scale(1.05);
}

.search-icon {
    display: block;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 5px;
}

.cat-btn {
    text-decoration: none;
    color: var(--primary-bg);
    border: 2px solid var(--accent);
    padding: 10px 24px;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: var(--light-bg);
    backdrop-filter: blur(4px);
}

.cat-btn.active, .cat-btn:hover {
    background: var(--accent);
    color: var(--primary-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(214, 200, 161, 0.4);
}

/* Produkty Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 35px;
    margin-top: 10px;
    margin-bottom: 60px;
}

.card {
    background: rgba(40, 44, 30, 0.65);
    border: 1px solid rgba(214, 200, 161, 0.18);
    padding: 24px;
    border-radius: 24px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s, border-color 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    border-color: rgba(214, 200, 161, 0.45);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    margin-bottom: 20px;
}

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card img {
    transform: scale(1.05);
}

.card-categories {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: calc(100% - 24px);
    z-index: 10;
}

.card-category-bubble {
    background: rgba(75, 83, 58, 0.9);
    backdrop-filter: blur(4px);
    color: #f7f3e3;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid rgba(214, 200, 161, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.card h3 {
    font-size: 1.45rem;
    color: var(--white);
    margin: 10px 0 15px 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-weight: normal;
}

.btn-detail {
    display: inline-block;
    padding: 12px 28px;
    background: var(--accent);
    color: var(--primary-bg);
    text-decoration: none;
    border-radius: 25px;
    font-family: 'Titan One', cursive;
    font-size: 0.95rem;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    width: fit-content;
}

.btn-detail:hover {
    background-color: var(--white);
    transform: scale(1.02);
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25);
}

.no-products-message {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.25);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(214, 200, 161, 0.15);
}

/* Detail Produktu Layout */
.back-link-container {
    margin: 20px 0 35px 0;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--accent);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 10px 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(214, 200, 161, 0.25);
    transition: all 0.3s;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateX(-4px);
    border-color: var(--accent);
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    margin-top: 30px;
    margin-bottom: 60px;
}

.main-img-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(75, 83, 58, 0.08);
    border: 1px solid rgba(75, 83, 58, 0.1);
    background: #ffffff;
}

.main-img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.main-img-wrapper:hover .main-img {
    transform: scale(1.02);
}

.gallery {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.gallery-thumb-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    background: rgba(0, 0, 0, 0.2);
}

.gallery-thumb-wrapper:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.gallery-thumb {
    width: 85px;
    height: 85px;
    object-fit: cover;
    cursor: pointer;
    display: block;
}

.detail-category-badge {
    display: inline-block;
    background: rgba(214, 200, 161, 0.15);
    color: var(--accent);
    border: 1px solid var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 18px;
}

.detail-title {
    font-size: 2.8rem;
    color: var(--primary-bg);
    margin: 0 0 25px 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    font-weight: normal;
}

.detail-desc-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 24px;
    border-radius: 20px;
    margin-bottom: 40px;
    border-left: 4px solid var(--accent);
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.15);
}

.box-title {
    color: var(--accent);
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.detail-desc-box p {
    margin: 0;
    color: #f0ebd8;
    font-size: 1.05rem;
    line-height: 1.7;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Sekcia kontaktu a formulárov */
.contact-section {
    background: rgba(0, 0, 0, 0.25);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(214, 200, 161, 0.15);
    box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.25);
    max-width: 100%;
    margin: 0;
}

.contact-section h3 {
    font-size: 1.6rem;
    color: var(--accent);
    margin-top: 0;
    margin-bottom: 6px;
    font-weight: normal;
}

.contact-sub {
    font-size: 0.95rem;
    color: #f7f3e3;
    opacity: 0.85;
    margin: 0 0 24px 0;
    line-height: 1.45;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

input, textarea, select {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid rgba(214, 200, 161, 0.35);
    background: rgba(0, 0, 0, 0.25);
    color: var(--white);
    border-radius: 12px;
    font-family: 'Fredoka', sans-serif;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
    margin: 0;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.4);
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(214, 200, 161, 0.3);
}

.btn-submit {
    background: var(--accent);
    color: var(--primary-bg);
    border: none;
    padding: 16px 24px;
    border-radius: 35px;
    cursor: pointer;
    width: 100%;
    font-family: 'Titan One', cursive;
    font-size: 1.15rem;
    text-transform: uppercase;
    transition: all 0.3s;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* Status hlásenia */
.status-msg {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 24px;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.success-msg {
    background: rgba(76, 175, 80, 0.18);
    border: 2px solid #4CAF50;
    color: #81C784;
}

/* Integrovaná kontaktná sekcia */
.footer-contact-section {
    padding: 60px 20px 20px 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(214, 200, 161, 0.15);
}

.footer-contact-card {
    background: rgba(45, 50, 35, 0.45);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(214, 200, 161, 0.25);
    border-radius: 28px;
    max-width: 650px;
    margin: 0 auto;
    padding: 40px;
    box-sizing: border-box;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.footer-contact-card h3 {
    font-family: 'Titan One', cursive;
    font-size: 1.8rem;
    color: var(--accent);
    margin-top: 0;
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: 0.5px;
}

.footer-contact-card .contact-sub {
    text-align: center;
    margin-bottom: 30px;
}

/* Error message status */
.error-msg {
    background: rgba(244, 67, 54, 0.15);
    border: 2px solid #F44336;
    color: #E57373;
}

@media (max-width: 600px) {
    .footer-contact-card {
        padding: 25px 20px;
    }
    
    .footer-contact-card h3 {
        font-size: 1.5rem;
    }
}

/* Pätička */
footer {
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid rgba(214, 200, 161, 0.15);
    margin-top: 40px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 25px;
}

.social-btn {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid var(--accent);
    border-radius: 25px;
    color: var(--accent);
    text-decoration: none;
    font-family: 'Titan One', cursive;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: rgba(40, 44, 30, 0.3);
}

.social-btn:hover {
    background: var(--accent);
    color: var(--primary-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(214, 200, 161, 0.4);
}

.admin-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.admin-link:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Autocomplete Našepkávač */
.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(30, 33, 22, 0.96);
    border: 2px solid var(--accent);
    border-radius: 16px;
    z-index: 1000;
    max-height: 260px;
    overflow-y: auto;
    box-shadow: 0 12px 35px rgba(0,0,0,0.6);
    backdrop-filter: blur(12px);
}

.autocomplete-item {
    padding: 14px 22px;
    cursor: pointer;
    color: #f7f3e3;
    transition: all 0.2s ease;
    font-size: 1rem;
    border-bottom: 1px solid rgba(214, 200, 161, 0.12);
    text-align: left;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover, .autocomplete-item.active {
    background: var(--accent);
    color: var(--primary-bg);
    padding-left: 26px;
}

/* Admin Foto Reordering a Kategórie */
.category-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(0, 0, 0, 0.03);
    border: 2px solid rgba(0, 0, 0, 0.08);
    padding: 18px;
    border-radius: 16px;
    margin-bottom: 22px;
}

.cat-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
    user-select: none;
}

.cat-checkbox-label:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.cat-checkbox-label input[type="checkbox"] {
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    cursor: pointer;
}

.image-order-editor {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    background: rgba(0, 0, 0, 0.03);
    border: 2px solid rgba(0, 0, 0, 0.08);
    padding: 20px;
    border-radius: 16px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.image-thumb-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 10px;
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    position: relative;
    transition: transform 0.2s;
}

.image-thumb-card:hover {
    transform: translateY(-2px);
}

.image-thumb-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.image-thumb-actions {
    display: flex;
    gap: 4px;
    width: 100%;
    justify-content: space-between;
}

.img-btn {
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    background: #fdfdfd !important;
    color: #333 !important;
    cursor: pointer;
    border-radius: 6px;
    padding: 4px 6px;
    font-size: 0.82rem;
    transition: all 0.15s;
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-btn:hover {
    background: #eee !important;
    border-color: rgba(0, 0, 0, 0.25) !important;
}

/* Responzivita */
@media (max-width: 950px) {
    .detail-layout {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 35px;
    }
    
    .detail-title {
        font-size: 2.2rem;
    }
    
    .main-header h1 {
        font-size: 2.6rem;
    }
    
    header {
        padding: 40px 10px;
    }
}

/* Styling pre Modal Kontaktného Formulára v pätičke */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 18, 10, 0.72);
    backdrop-filter: blur(10px);
    display: none; /* Skryté defaultne */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.open {
    display: flex;
    opacity: 1;
}

.modal-card {
    background: #fdfbf7;
    color: #2c3022;
    width: 100%;
    max-width: 500px;
    border-radius: 28px;
    padding: 35px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
    position: relative;
    border: 3px solid var(--accent);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-sizing: border-box;
}

.modal-overlay.open .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 18px;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    line-height: 1;
    font-weight: 200;
}

.modal-close:hover {
    color: #d32f2f;
    transform: scale(1.15) rotate(90deg);
}

.modal-card h3 {
    color: var(--primary-bg);
    margin-top: 0;
    font-size: 1.7rem;
    margin-bottom: 8px;
    border-bottom: 2px solid rgba(75, 83, 58, 0.12);
    padding-bottom: 12px;
}

.modal-card .contact-sub {
    color: #555;
    margin-bottom: 24px;
}

.modal-card label {
    color: var(--primary-bg);
    font-weight: 600;
}

.modal-card input, .modal-card textarea, .modal-card select {
    color: #333 !important;
    background: #ffffff !important;
    border: 2px solid rgba(75, 83, 58, 0.28) !important;
}

.modal-card input:focus, .modal-card textarea:focus, .modal-card select:focus {
    border-color: var(--primary-bg) !important;
    box-shadow: 0 0 10px rgba(75, 83, 58, 0.15) !important;
}

.modal-card .btn-submit {
    background: var(--primary-bg);
    color: var(--text-light);
    margin-top: 15px;
}

.modal-card .btn-submit:hover {
    background: #373d2a;
    color: #ffffff;
}

.modal-read-only-input {
    user-select: none;
    pointer-events: none;
}

/* Tlačidlo pre otvorenie kontaktu v pätičke */
.footer-contact-btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--accent);
    color: var(--primary-bg);
    border: none;
    border-radius: 30px;
    font-family: 'Titan One', cursive;
    font-size: 1.15rem;
    text-shadow: none;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    margin: 10px auto 30px auto;
}

.footer-contact-btn:hover {
    background: var(--white);
    color: var(--primary-bg);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* Responzívne prispôsobenie modálneho okna na šírku pre PC/Desktop */
@media (min-width: 768px) {
    .modal-card {
        max-width: 750px !important;
        padding: 45px;
    }
    
    .modal-card .inquiry-form {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .modal-card .inquiry-form .form-group {
        margin-bottom: 0 !important;
    }

    /* Prvý riadok: Výber diela na celú šírku */
    .modal-card .inquiry-form .form-group:nth-of-type(1) {
        grid-column: span 2;
    }
    
    /* Druhý riadok: Meno a Email vedľa seba */
    .modal-card .inquiry-form .form-group:nth-of-type(2) {
        grid-column: span 1;
    }
    
    .modal-card .inquiry-form .form-group:nth-of-type(3) {
        grid-column: span 1;
    }
    
    /* Tretí riadok: Správa na celú šírku */
    .modal-card .inquiry-form .form-group:nth-of-type(4) {
        grid-column: span 2;
    }
    
    /* Štvrtý riadok: Odosielacie tlačidlo na celú šírku */
    .modal-card .inquiry-form .btn-submit {
        grid-column: span 2;
        margin-top: 10px;
    }
}

/* Sidemenu navigation design elements */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.sidebar-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.sidebar-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 25px rgba(0,0,0,0.12);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 30px 24px;
    box-sizing: border-box;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.sidebar-menu.open {
    right: 0;
}
.sidebar-close-btn {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-bg);
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s;
}
.sidebar-close-btn:hover {
    transform: rotate(90deg);
}
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}
.sidebar-nav-link {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-bg);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 12px;
    transition: background 0.2s, color 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sidebar-nav-link:hover, .sidebar-nav-link.active {
    background: var(--light-bg);
}
.sidebar-dropdown-wrapper {
    display: flex;
    flex-direction: column;
}
.sidebar-dropdown-trigger {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}
.sidebar-dropdown-content {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding-left: 20px;
    margin-top: 5px;
    border-left: 2px dashed rgba(75, 83, 58, 0.2);
}
.sidebar-dropdown-content.open {
    display: flex;
}
.sidebar-dropdown-content a {
    font-size: 1.05rem;
    color: var(--primary-bg);
    opacity: 0.85;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: opacity 0.2s, background 0.2s;
}
.sidebar-dropdown-content a:hover {
    opacity: 1;
    background: var(--light-bg);
}
.arrow-indicator {
    font-size: 0.75rem;
}

/* Header updates */
.main-header {
    width: 100% !important;
    border-bottom: 2px solid rgba(75, 83, 58, 0.08) !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 20px 0 !important;
    display: block !important;
}
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}
.left-header-col {
    display: flex;
    align-items: center;
    gap: 15px;
}
.right-header-col {
    display: flex;
    align-items: center;
    gap: 15px;
}
.header-title-link {
    text-decoration: none; 
}
.header-title-link h1 {
    font-size: 1.8rem;
    color: var(--primary-bg);
    margin: 0;
}
.search-trigger-icon-btn, .hamburger-menu-icon {
    background: none;
    border: none;
    color: var(--primary-bg);
    cursor: pointer;
    padding: 6px;
    border-radius: 10px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-trigger-icon-btn:hover, .hamburger-menu-icon:hover {
    background: var(--light-bg);
}
.hamburger-menu-icon {
    flex-direction: column;
    gap: 5px;
}
.hamburger-menu-icon span {
    display: block;
    width: 22px;
    height: 3px;
    background: var(--primary-bg);
    border-radius: 2px;
}
.header-round-logo-img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--primary-bg);
    transition: transform 0.3s ease;
}
.header-round-logo-img:hover {
    transform: scale(1.08);
}
.header-social-group {
    display: flex;
    gap: 8px;
    align-items: center;
}
.header-soc-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #000000;
    color: #000000;
    background: #ffffff;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}
.header-soc-outline svg {
    display: block;
}
.header-soc-outline:hover {
    background: #000000;
    color: #ffffff;
    transform: scale(1.1);
}

/* Dynamic Recommendation search panel above layout */
.dropdown-search-box-panel {
    display: none;
    background: var(--light-bg);
    border: 1px solid rgba(75, 83, 58, 0.15);
    border-radius: 16px;
    padding: 12px 20px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(75, 83, 58, 0.08);
    position: relative;
    z-index: 900;
}
.dropdown-search-box-panel.open {
    display: block;
    animation: fadeInSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}
.close-search-panel-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-bg);
    cursor: pointer;
    line-height: 1;
}
.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid rgba(75, 83, 58, 0.15);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: none;
    overflow: hidden;
    z-index: 950;
}
.autocomplete-item {
    padding: 12px 18px;
    font-size: 0.95rem;
    color: var(--primary-bg);
    font-weight: 500;
    cursor: pointer;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    text-align: left;
    transition: background 0.2s;
}
.autocomplete-item:last-child {
    border-bottom: none;
}
.autocomplete-item:hover {
    background: var(--light-bg);
}

/* Photoslide Carousel on Main Page */
.photoslide-container {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(75, 83, 58, 0.08);
    background: #eae8e1;
}
.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, transform 1s ease, visibility 1s;
    transform: scale(1.02);
}
.slide-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}
.slide-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide-gradient-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
    pointer-events: none;
}
.slide-caption-box {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    color: var(--white);
    z-index: 10;
    text-align: left;
}
.slide-caption-box h3 {
    color: #fff !important;
    font-size: 2rem;
    margin: 0 0 5px 0;
}
.slide-caption-box p {
    font-size: 1.1rem;
    margin: 0 0 15px 0;
    opacity: 0.9;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.slide-caption-action-btn {
    background: var(--white);
    color: var(--primary-bg);
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    transition: background 0.2s;
}
.slide-caption-action-btn:hover {
    background: var(--accent);
}
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: background 0.2s;
}
.carousel-nav-btn:hover {
    background: rgba(0, 0, 0, 0.5);
}
.carousel-nav-btn-prev { left: 15px; }
.carousel-nav-btn-next { right: 15px; }

/* Elegant Footer Layout */
footer {
    background: var(--light-bg);
    color: var(--text-dark);
    border-top: 1px solid rgba(75, 83, 58, 0.08) !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    padding: 40px 0 !important;
    margin-top: 60px;
    box-shadow: none !important;
    width: 100% !important;
    text-align: center;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}
.footer-contact-btn {
    background: var(--primary-bg);
    color: var(--white);
    border: none;
    font-family: 'Titan One', cursive;
    letter-spacing: 1px;
    font-size: 1.15rem;
    padding: 16px 32px;
    border-radius: 30px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    margin-bottom: 35px;
    box-shadow: 0 4px 15px rgba(75, 83, 58, 0.15);
}
.footer-contact-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}
.footer-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
    margin-bottom: 25px;
}
@media (min-width: 768px) {
    .sidebar-menu { width: 350px; right: -350px; }
    .footer-info-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.footer-contact-info-col h4, .footer-links-col h4 {
    font-family: 'Titan One', cursive;
    font-size: 1.1rem;
    color: var(--primary-bg);
    margin-top: 0;
    margin-bottom: 12px;
}
.footer-contact-info-col p {
    margin: 5px 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    opacity: 0.9;
}
.footer-links-col a, .admin-link {
    color: var(--primary-bg);
    text-decoration: none;
    display: inline-block;
    margin: 4px 0;
    font-weight: 500;
    transition: text-decoration 0.2s;
}
.footer-links-col a:hover, .admin-link:hover {
    text-decoration: underline;
}
.footer-contact-info-col a {
    color: var(--primary-bg);
    text-decoration: none;
    font-weight: 500;
    transition: text-decoration 0.2s;
}
.footer-contact-info-col a:hover {
    text-decoration: underline;
}
.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.social-btn {
    background: var(--primary-bg);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    text-decoration: none;
    transition: opacity 0.2s;
}
.social-btn:hover {
    opacity: 0.9;
}

/* About me narrative view classes */
.about-layout {
    margin: 40px 0;
}
.about-hero {
    text-align: center;
    margin-bottom: 45px;
}
.about-main-title {
    font-size: 2.22rem;
    margin-bottom: 10px;
}
.about-subtitle {
    font-size: 1.15rem;
    color: #555;
    max-width: 650px;
    margin: 0 auto;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}
@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}
.about-text-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
}
.about-paragraph {
    font-size: 1.05rem;
    line-height: 1.8;
}
.about-p-normal {
    color: var(--text-dark);
}
.about-p-lead {
    font-size: 1.2rem;
    color: var(--primary-bg);
    font-weight: 500;
}
.about-p-quote {
    font-style: italic;
    color: #5a5f4c;
    border-left: 3px solid var(--accent);
    padding-left: 18px;
    font-size: 1.12rem;
    position: relative;
    background: var(--light-bg);
    padding: 15px 15px 15px 25px;
    border-radius: 12px;
}
.quote-mark-icon {
    font-family: unset;
    font-size: 3rem;
    line-height: 1;
    color: var(--accent);
    position: absolute;
    left: 4px;
    top: -5px;
    opacity: 0.4;
}
.about-p-accent {
    border: 1px solid rgba(75, 83, 58, 0.12);
    background: #fdfdfa;
    padding: 20px;
    border-radius: 16px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.01);
}
.about-outro {
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 500;
    text-align: center;
    margin-top: 20px;
    color: var(--primary-bg);
}
.about-image-col {
    display: flex;
    justify-content: center;
}
.about-image-frame {
    width: 100%;
    max-width: 400px;
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid var(--primary-bg);
    box-shadow: 0 10px 30px rgba(75, 83, 58, 0.08);
    background: var(--light-bg);
}
.about-main-img {
    width: 100%;
    height: auto;
    display: block;
}
.about-img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    color: var(--primary-bg);
}

/* Legal text styling */
.legal-content {
    margin: 40px auto;
    max-width: 800px;
    background: var(--white);
    border: 1px solid rgba(75, 83, 58, 0.08);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(75, 83, 58, 0.08);
}
@media (min-width: 768px) {
    .legal-content { padding: 45px; }
}
.last-updated {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-bottom: 25px;
}
.legal-section {
    margin-bottom: 30px;
}
.legal-section h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 12px;
}
.legal-section p, .legal-section li {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.legal-section ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

/* Modal styling revisions for pristine light modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.open {
    display: flex;
}
.modal-card {
    background: var(--white);
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    padding: 30px;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(75, 83, 58, 0.12);
}
.modal-card h3 {
    margin-top: 0;
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-bg);
    line-height: 1;
}
.modal-card input, .modal-card select, .modal-card textarea {
    background: var(--light-bg);
    color: var(--text-dark);
    border: 2px solid rgba(75, 83, 58, 0.15);
}
.modal-card input:focus, .modal-card select:focus, .modal-card textarea:focus {
    background: var(--white);
    border-color: var(--primary-bg);
    box-shadow: 0 0 10px rgba(75, 83, 58, 0.15);
}

/* Adapt main site buttons and cards for light scheme */
.back-link-container {
    margin-top: 20px;
}
.back-btn {
    display: inline-flex;
    align-items: center;
    color: var(--primary-bg);
    text-decoration: none;
    font-weight: 600;
}
.back-btn:hover {
    text-decoration: underline;
}
.filter-btn {
    background: var(--light-bg) !important;
    color: var(--primary-bg) !important;
    border: 2px solid rgba(75, 83, 58, 0.15) !important;
}
.filter-btn.active, .filter-btn:hover {
    background: var(--primary-bg) !important;
    color: var(--white) !important;
    border-color: var(--primary-bg) !important;
}
.product-card {
    background: var(--white) !important;
    border: 1px solid rgba(75, 83, 58, 0.08) !important;
    box-shadow: 0 10px 30px rgba(75, 83, 58, 0.04) !important;
}
.product-card:hover {
    box-shadow: 0 15px 35px rgba(75, 83, 58, 0.10) !important;
    transform: translateY(-4px);
}
.product-card h3 {
    color: var(--primary-bg) !important;
}
.product-card p {
    color: var(--text-dark) !important;
    opacity: 0.85;
}
.detail-card {
    background: var(--white) !important;
    border: 1px solid rgba(75, 83, 58, 0.08) !important;
    box-shadow: 0 12px 35px rgba(75, 83, 58, 0.08) !important;
    border-radius: 24px !important;
    color: var(--text-dark) !important;
    padding: 35px !important;
    display: flex;
    flex-direction: column;
}
.detail-info-col h2 {
    color: var(--primary-bg) !important;
    margin-top: 0;
}
.detail-desc-text {
    color: var(--text-dark) !important;
    opacity: 0.95;
    font-size: 1.05rem;
    line-height: 1.8;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}
.desc-text {
    color: var(--text-dark) !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}
.detail-order-btn {
    background: var(--primary-bg) !important;
    color: var(--white) !important;
}
.detail-order-btn:hover {
    opacity: 0.9;
}
.image-thumb {
    border: 1.5px solid rgba(75,83,58,0.15) !important;
}
.image-thumb.active {
    border-color: var(--primary-bg) !important;
}
.gallery-grid {
    margin-top: 30px;
}
.cat-badge {
    background: var(--light-bg) !important;
    color: var(--primary-bg) !important;
    border: 1px solid rgba(75, 83, 58, 0.12) !important;
}

