/* ===== navzdy.love – PRO Shopify-like front CSS ===== */

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

:root {
    --bg-body: #ffffff;
    --bg-soft: #fdf2f8;
    --bg-soft-alt: #f9fafb;
    --text-main: #111827;
    --text-muted: #6b7280;
    --accent: #ec4899;
    --accent-dark: #db2777;
    --accent-soft: #fce7f3;
    --border-soft: #e5e7eb;
    --radius-lg: 22px;
    --radius-md: 16px;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Segoe UI", sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background: var(--bg-body);
    color: var(--text-main);
}

/* ===== Global layout ===== */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== Header / navigation ===== */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 15px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 18px;
    font-size: 14px;
}

.nav-links a {
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    border-color: var(--accent-soft);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-mobile-toggle {
    display: none;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: #fff;
    padding: 0;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 4px;
}

.header-mobile-toggle span {
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: #4b5563;
}

/* ===== Buttons ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 13px;
    padding: 8px 18px;
    cursor: pointer;
    background: #fff;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(236, 72, 153, 0.4);
}

.btn-primary:hover {
    filter: brightness(1.03);
}

.btn-outline {
    border-color: var(--border-soft);
    background: #fff;
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--bg-soft-alt);
}

/* ===== Sections ===== */

.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 18px;
}

.section-header {
    margin-bottom: 18px;
}

.section-header h2 {
    margin: 0 0 6px;
    font-size: 20px;
}

.section-header p {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== HERO – tri veľké fotky ako engraving ===== */

.hero-grid {
    max-width: 1100px;
    margin: 12px auto 28px;
    padding: 0 18px;
}

.hero-inner {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: 1.1fr 1.05fr 0.95fr;
    min-height: 320px;
}

.hero-col {
    position: relative;
    overflow: hidden;
}

.hero-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 0.9s ease;
}

.hero-col:hover img {
    transform: scale(1.07);
}

.hero-label {
    position: absolute;
    left: 16px;
    bottom: 18px;
    background: rgba(15, 23, 42, 0.76);
    border-radius: 40px;
    padding: 7px 14px;
    color: #f9fafb;
    font-size: 12px;
}

.hero-label strong {
    display: block;
    font-size: 13px;
}

/* ===== HERO text (nad / pod gridom) ===== */

.hero-text {
    max-width: 1100px;
    margin: 10px auto 0;
    padding: 0 18px 6px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.hero-text-main h1 {
    margin: 0 0 4px;
    font-size: 26px;
}

.hero-text-main p {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

.hero-text-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== category row („Perfect gift…“) ===== */

.category-row {
    max-width: 1100px;
    margin: 0 auto 24px;
    padding: 0 18px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.category-card {
    border-radius: 18px;
    overflow: hidden;
    background: #f9fafb;
    position: relative;
}

.category-card img {
    height: 120px;
    width: 100%;
    object-fit: cover;
}

.category-card-body {
    padding: 8px 10px 10px;
    font-size: 13px;
}

.category-card-body strong {
    display: block;
    margin-bottom: 2px;
}

/* ===== Products grid ===== */

.products-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-card {
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--border-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.16s ease, box-shadow 0.16s ease,
        border-color 0.16s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    border-color: #d4d4ff;
    box-shadow: 0 18px 40px rgba(148, 163, 184, 0.35);
}

.product-image-wrap {
    position: relative;
    background: #f9fafb;
}

.product-image-wrap img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.product-tag {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #f9fafb;
}

.product-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
}

.product-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 2px;
}

.price-main {
    font-weight: 700;
}

.price-old {
    text-decoration: line-through;
    font-size: 12px;
    color: #9ca3af;
}

/* ===== Trust / strip ===== */

.trust-strip {
    background: #fce7f3;
    border-top: 1px solid #fecdd3;
    border-bottom: 1px solid #fecdd3;
    margin-top: 24px;
}

.trust-strip-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    font-size: 12px;
}

.trust-item strong {
    display: block;
    font-size: 13px;
}

/* ===== Footer ===== */

footer {
    margin-top: 30px;
    border-top: 1px solid var(--border-soft);
    background: #f9fafb;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 18px 12px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.9fr));
    gap: 16px;
    font-size: 13px;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-inner p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}

.footer-inner a {
    color: #4b5563;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 18px 16px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #9ca3af;
}

/* ===== Category page / breadcrumbs ===== */

.breadcrumbs {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 4px;
}

.category-header-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 16px;
}

.category-header-main h1 {
    margin: 0 0 4px;
    font-size: 22px;
}

.category-header-main p {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

.category-filters {
    display: flex;
    gap: 8px;
    font-size: 12px;
}

/* ===== Cart / checkout simple layout ===== */

.cart-wrapper,
.checkout-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 18px 30px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
    gap: 20px;
}

.card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--border-soft);
    padding: 14px 16px;
}

.card h2 {
    margin-top: 0;
    font-size: 18px;
}

.table-like-row {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 0.4fr) minmax(0, 0.5fr);
    gap: 8px;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

/* ===== Forms ===== */

.input,
select,
textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    padding: 8px 10px;
    font-size: 14px;
    font-family: inherit;
}

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

.label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 4px;
}

/* ===== Utilities ===== */

.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    background: #ecfdf3;
    color: #15803d;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr 1fr;
        min-height: 260px;
    }
    .hero-col:nth-child(3) {
        display: none;
    }
    .products-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .trust-strip-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cart-wrapper,
    .checkout-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .header-inner {
        padding-inline: 14px;
    }
    .nav-links {
        position: fixed;
        inset: 52px 12px auto 12px;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 18px;
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.32);
        padding: 10px 14px;
        flex-direction: column;
        gap: 10px;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.18s ease, opacity 0.18s ease;
    }
    .nav-links.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .header-mobile-toggle {
        display: inline-flex;
    }

    .hero-grid {
        padding-inline: 14px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        min-height: 260px;
    }

    .hero-text {
        flex-direction: column;
        align-items: flex-start;
        padding-inline: 14px;
    }
    .hero-text-main h1 {
        font-size: 22px;
    }

    .category-row {
        padding-inline: 14px;
    }
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .products-row {
        grid-template-columns: 1fr;
    }

    .section {
        padding-inline: 14px;
    }

    .trust-strip-inner {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 4px;
    }
}
