:root {
    --apm-graphite:#252b33;
    --apm-graphite-soft:#39424e;
    --apm-ink:#252b33;
    --apm-muted:#687483;
    --apm-line:#d7e0e9;
    --apm-surface:#ffffff;
    --apm-soft:#eef3f8;
    --apm-blue:#0878ff;
    --apm-blue-dark:#0059d6;
    --apm-blue-soft:#dcecff;
}

body {
    background:#f4f7fa;
    color:var(--apm-ink);
    font-family:Manrope,"Segoe UI Variable Text","Segoe UI",sans-serif;
    -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4,h5,h6,.wp-block-site-title {
    font-family:Manrope,"Segoe UI Variable Display","Segoe UI",sans-serif;
    letter-spacing:-.035em;
}

.wp-block-site-title a:has(.apm-brand-logo) {
    display:inline-flex;
    align-items:center;
    text-decoration:none;
}

.apm-brand-logo {
    display:block;
    line-height:0;
}

header .apm-brand-logo {
    position:relative;
    z-index:1;
    transform:scale(1.22);
    transform-origin:left center;
}

.apm-brand-logo svg {
    display:block;
    width:auto;
    max-width:100%;
    height:auto;
}

header .apm-brand-logo svg {
    width:clamp(108px,12vw,132px);
}

footer .apm-brand-logo svg {
    width:124px;
}

header.wp-block-template-part {
    position:relative;
    z-index:20;
    background:rgba(255,255,255,.94);
    border-bottom:1px solid rgba(37,43,51,.09);
    box-shadow:0 1px 14px rgba(37,43,51,.045);
    backdrop-filter:blur(14px);
}

header .wp-block-navigation-item:has(a[href*="/cart/"]),
header .wp-block-navigation-item:has(a[href*="/checkout/"]),
header .wp-block-navigation-item:has(a[href*="/my-account/"]),
header .wp-block-navigation-item:has(a[href*="/sample-page/"]),
header .wp-block-navigation-item:has(a[href*="/shop/"]),
header .wp-block-navigation-item:has(a[href*="/prekiu-paieska"]),
header .wp-block-woocommerce-mini-cart,
header .wc-block-mini-cart,
header .wp-block-woocommerce-customer-account,
header button[aria-label*="Number of items in the cart"],
header a[href*="/my-account/"]:not(.wp-block-navigation-item__content) {
    display:none !important;
}

.wc-block-mini-cart__drawer,
.wp-block-woocommerce-mini-cart-contents {
    display:none !important;
}

header .wp-block-navigation a {
    font-weight:600;
    text-decoration:none;
}

footer.wp-block-template-part {
    border-top:1px solid rgba(37,43,51,.09);
    background:#fff;
}

footer.wp-block-template-part > .wp-block-group {
    padding-top:28px !important;
    padding-bottom:28px !important;
}

footer .wp-block-navigation,
footer .wp-block-spacer,
footer p.has-small-font-size,
footer .wp-block-column:has(.wp-block-spacer) {
    display:none !important;
}

footer .wp-block-columns,
footer .wp-block-site-title {
    margin:0;
}

.apm-product-search {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px;
    width:100%;
    max-width:760px;
}

.apm-product-search input {
    flex:1;
    width:100%;
    box-sizing:border-box;
    min-height:54px;
    padding:13px 15px;
    border:1px solid var(--apm-line);
    border-radius:12px;
    background:var(--apm-surface);
    color:var(--apm-ink);
    font:inherit;
}

.apm-product-search input:focus {
    border-color:var(--apm-blue);
    box-shadow:0 0 0 4px rgba(8,120,255,.11);
    outline:0;
}

.apm-product-search button {
    min-height:54px;
    padding:13px 22px;
    border:0;
    border-radius:12px;
    background:linear-gradient(135deg,var(--apm-blue),var(--apm-blue-dark));
    box-shadow:0 9px 20px rgba(8,120,255,.22);
    color:#fff;
    font:inherit;
    font-weight:800;
    cursor:pointer;
}

.page-id-29 .wp-block-post-content {
    width:min(760px,100%);
}

.apm-card-meta {
    margin:.4em 0 .6em;
    font-size:.88em;
    line-height:1.45;
}

.apm-card-meta .apm-stock,
.apm-single-stock {
    font-weight:700;
}

.apm-single-meta {
    margin:1em 0;
}

.apm-single-meta table {
    width:100%;
    max-width:620px;
    border-collapse:collapse;
}

.apm-single-meta th,
.apm-single-meta td {
    padding:8px 10px;
    border-bottom:1px solid var(--apm-line);
    text-align:left;
    vertical-align:top;
}

.apm-single-meta th {
    width:180px;
}

.apm-single-price {
    margin-top:14px;
    font-size:1.25em;
    font-weight:700;
}

.apm-no-price {
    font-size:1em;
    font-weight:500;
}

.apm-single-stock {
    margin-top:8px;
}

.page-id-33 main {
    margin-top:0 !important;
}

.page-id-33 main > .wp-block-group.alignfull {
    padding-top:clamp(28px,5vw,64px) !important;
    padding-bottom:clamp(56px,8vw,96px) !important;
}

.page-id-33 .wp-block-post-title {
    display:none;
}

.page-id-33 .wp-block-post-content {
    width:min(1080px,calc(100% - 40px));
    max-width:none;
    margin-inline:auto;
}

.apm-home-shell {
    display:grid;
    gap:32px;
    width:100%;
    max-width:1080px !important;
    margin-inline:auto;
}

.apm-home-hero {
    position:relative;
    overflow:hidden;
    padding:clamp(28px,6vw,68px);
    border:1px solid rgba(8,120,255,.18);
    border-radius:32px;
    background:
        radial-gradient(circle at 92% 4%,rgba(8,120,255,.20),transparent 32%),
        radial-gradient(circle at 10% 100%,rgba(57,66,78,.09),transparent 34%),
        linear-gradient(135deg,#fbfdff 0%,#eef5ff 56%,#f1f4f8 100%);
    box-shadow:0 24px 70px rgba(29,51,82,.12);
}

.apm-home-hero::after {
    content:"";
    position:absolute;
    right:-36px;
    bottom:-58px;
    width:285px;
    height:210px;
    background:repeating-linear-gradient(90deg,rgba(8,120,255,.10) 0 5px,transparent 5px 14px);
    transform:skewX(-8deg);
    mask-image:linear-gradient(135deg,transparent 3%,#000 28%,#000 100%);
    pointer-events:none;
}

.apm-home-hero > * {
    position:relative;
    z-index:1;
}

.apm-home-eyebrow {
    width:max-content;
    margin:0 0 18px;
    padding:7px 11px;
    border:1px solid rgba(8,120,255,.20);
    border-radius:999px;
    background:rgba(255,255,255,.74);
    color:var(--apm-blue-dark);
    font-size:12px;
    font-weight:800;
    letter-spacing:.09em;
    text-transform:uppercase;
}

.apm-home-hero h1 {
    max-width:760px;
    margin:0;
    color:var(--apm-graphite);
    font-size:clamp(38px,6.3vw,68px);
    line-height:1.02;
}

.apm-home-intro {
    max-width:720px;
    margin:22px 0 8px;
    color:var(--apm-muted);
    font-size:clamp(18px,2.2vw,22px);
    line-height:1.55;
}

.apm-contact-buttons {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    width:100%;
    max-width:940px;
    margin:30px 0 0;
}

.apm-contact-button {
    display:flex;
    align-items:center;
    justify-content:flex-start;
    overflow:hidden;
    gap:12px;
    min-width:0;
    min-height:78px;
    padding:13px 15px;
    border:1px solid rgba(37,43,51,.10);
    border-radius:20px;
    background:rgba(255,255,255,.94);
    box-shadow:0 9px 24px rgba(37,43,51,.09);
    color:var(--apm-ink) !important;
    font-size:16px;
    font-weight:750;
    line-height:1.15;
    text-decoration:none !important;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.apm-contact-button span {
    min-width:0;
}

.apm-contact-button:hover,
.apm-contact-button:focus-visible {
    transform:translateY(-2px);
    border-color:rgba(8,120,255,.34);
    box-shadow:0 14px 30px rgba(29,73,132,.14);
}

.apm-contact-button:focus-visible,
.apm-vin-form :is(input,textarea,select,button):focus-visible {
    outline:3px solid rgba(8,120,255,.24);
    outline-offset:3px;
}

.apm-contact-button img.apm-contact-button__icon {
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    width:48px !important;
    height:48px !important;
    min-width:48px !important;
    max-width:48px !important;
    padding:12px !important;
    box-sizing:border-box !important;
    object-fit:contain !important;
    filter:none !important;
    margin:0 !important;
    box-shadow:0 7px 16px rgba(37,43,51,.16);
}

.apm-contact-button--whatsapp img.apm-contact-button__icon {
    border-radius:50% !important;
    background:#25d366 !important;
}

.apm-contact-button--viber img.apm-contact-button__icon {
    border-radius:15px !important;
    background:linear-gradient(145deg,#8f6bff,#6651dc) !important;
}

.apm-contact-button--messenger img.apm-contact-button__icon {
    border-radius:50% !important;
    background:linear-gradient(145deg,#318cff,#0866ff) !important;
}

.apm-contact-button--phone img.apm-contact-button__icon {
    border-radius:50% !important;
    background:linear-gradient(145deg,var(--apm-graphite-soft),#171c22) !important;
}

.apm-request-section {
    padding:0;
    border:0;
    background:transparent;
}

.apm-vin-form {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
    width:100%;
    max-width:none;
    box-sizing:border-box;
    padding:clamp(24px,5vw,52px);
    border:1px solid rgba(37,43,51,.10);
    border-radius:24px;
    background:var(--apm-surface);
    box-shadow:0 18px 55px rgba(29,51,82,.10);
}

.apm-vin-form h3,
.apm-vin-form > p,
.apm-vin-form .apm-field--wide,
.apm-vin-form button {
    grid-column:1 / -1;
}

.apm-vin-form h3 {
    margin:0;
    font-size:clamp(30px,4vw,43px);
    line-height:1.1;
}

.apm-vin-form > p {
    max-width:660px;
    margin:-8px 0 4px;
    color:var(--apm-muted);
    font-size:18px;
    line-height:1.55;
}

.apm-vin-form .apm-field {
    display:grid;
    gap:8px;
    color:var(--apm-graphite-soft);
    font-size:15px;
    font-weight:700;
}

.apm-vin-form input,
.apm-vin-form textarea,
.apm-vin-form select {
    width:100%;
    box-sizing:border-box;
    padding:14px 15px;
    border:1px solid #c9d3de;
    border-radius:12px;
    background:#fbfdff;
    color:var(--apm-ink);
    font:inherit;
    font-weight:500;
    transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}

.apm-vin-form input,
.apm-vin-form select {
    min-height:52px;
}

.apm-vin-form textarea {
    min-height:130px;
    resize:vertical;
}

.apm-vin-form input::placeholder,
.apm-vin-form textarea::placeholder {
    color:#8b97a6;
}

.apm-vin-form input:focus,
.apm-vin-form textarea:focus,
.apm-vin-form select:focus {
    border-color:var(--apm-blue);
    background:#fff;
    box-shadow:0 0 0 4px rgba(8,120,255,.11);
    outline:0;
}

.apm-field__label {
    display:block;
}

.apm-file-picker {
    display:flex;
    align-items:center;
    gap:12px;
    min-height:52px;
    padding:10px 12px;
    box-sizing:border-box;
    border:1px solid #c9d3de;
    border-radius:12px;
    background:#f4f8fc;
}

.apm-file-picker__input {
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    padding:0 !important;
    margin:-1px !important;
    overflow:hidden !important;
    clip:rect(0,0,0,0) !important;
    white-space:nowrap !important;
    border:0 !important;
}

.apm-file-picker__button {
    flex:0 0 auto;
    padding:9px 12px;
    border-radius:9px;
    background:var(--apm-graphite-soft);
    color:#fff;
    font-weight:700;
    cursor:pointer;
}

.apm-file-picker__status {
    min-width:0;
    overflow:hidden;
    color:var(--apm-muted);
    font-size:14px;
    font-weight:500;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.apm-file-picker:focus-within {
    border-color:var(--apm-blue);
    background:#fff;
    box-shadow:0 0 0 4px rgba(8,120,255,.11);
}

.apm-file-picker__input:focus-visible + .apm-file-picker__button {
    outline:3px solid rgba(8,120,255,.24);
    outline-offset:3px;
}

.apm-form-help {
    color:var(--apm-muted);
    font-size:13px;
    font-weight:500;
    line-height:1.45;
}

.apm-honeypot {
    position:absolute !important;
    left:-10000px !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
}

.apm-vin-form button {
    min-height:56px;
    padding:14px 22px;
    border:0;
    border-radius:14px;
    background:linear-gradient(135deg,var(--apm-blue),var(--apm-blue-dark));
    box-shadow:0 10px 24px rgba(8,120,255,.24);
    color:#fff;
    font:inherit;
    font-weight:800;
    cursor:pointer;
    transition:transform .18s ease,box-shadow .18s ease;
}

.apm-vin-form button:hover {
    transform:translateY(-1px);
    box-shadow:0 14px 28px rgba(8,120,255,.30);
}

.apm-message {
    max-width:760px;
    margin:0 0 18px;
    padding:14px 16px;
    border-radius:12px;
}

.apm-global-message {
    position:relative;
    z-index:100;
    width:min(1080px,calc(100% - 40px));
    margin:32px auto 20px;
}

.apm-global-message .apm-message {
    max-width:none;
    margin:0;
    box-shadow:0 10px 26px rgba(17,101,52,.10);
}

.apm-message--success {
    border:1px solid rgba(31,157,85,.35);
    background:#ecf9f1;
    color:#116534;
}

.apm-message--error {
    border:1px solid rgba(190,48,48,.30);
    background:#fff1f1;
    color:#8f2020;
}

@media (max-width:800px) {
    .apm-contact-buttons {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:700px) {
    .apm-global-message {
        width:calc(100% - 28px);
        margin:24px auto 16px;
    }

    .page-id-33 .wp-block-post-content {
        width:auto;
        padding-inline:0 !important;
    }

    .apm-home-shell {
        gap:20px;
    }

    .apm-home-hero,
    .apm-request-section {
        border-radius:22px;
    }

    .apm-home-hero {
        padding:26px 18px;
    }

    .apm-home-hero::after {
        right:-150px;
        bottom:-150px;
    }

    .apm-home-intro {
        margin-top:18px;
        font-size:18px;
    }

    .apm-home-eyebrow {
        width:auto;
        max-width:100%;
        box-sizing:border-box;
        font-size:10px;
        line-height:1.35;
        white-space:normal;
    }

    .apm-contact-buttons {
        gap:10px;
        margin-top:24px;
    }

    .apm-contact-button {
        min-height:72px;
        gap:8px;
        padding:10px;
        border-radius:17px;
        font-size:14px;
    }

    .apm-contact-button img.apm-contact-button__icon {
        width:40px !important;
        height:40px !important;
        min-width:40px !important;
        max-width:40px !important;
        padding:10px !important;
    }

    .apm-request-section {
        padding:0;
        border:0;
        background:transparent;
    }

    .apm-vin-form {
        grid-template-columns:1fr;
        gap:17px;
        padding:26px 20px;
        border-radius:22px;
    }

    .apm-file-picker {
        align-items:flex-start;
        flex-direction:column;
    }

    .apm-file-picker__status {
        max-width:100%;
    }

    .apm-vin-form h3,
    .apm-vin-form > p,
    .apm-vin-form .apm-field,
    .apm-vin-form button {
        grid-column:1;
    }
}

@media (max-width:520px) {
    .apm-product-search {
        grid-template-columns:1fr;
    }
}

@media (max-width:390px) {
    .apm-contact-buttons {
        grid-template-columns:1fr;
    }
}

@media (prefers-reduced-motion:reduce) {
    .apm-contact-button,
    .apm-vin-form input,
    .apm-vin-form textarea,
    .apm-vin-form select,
    .apm-vin-form button {
        transition:none;
    }
}
