/* PTF Handels 2.1 — focused storefront refinement */

:root {
    --ptf-v21-max: 1320px;
    --ptf-v21-radius: 14px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(6, 31, 74, .1), 0 12px 34px rgba(6, 31, 74, .045);
}
.admin-bar .site-header { top: 32px; }
.ptf-header-main {
    min-height: 82px;
    grid-template-columns: 238px minmax(280px, 1fr) auto;
    gap: 30px;
}
.ptf-brand img,
.custom-logo {
    max-width: 220px;
    max-height: 54px;
}
.ptf-header-search input[type="search"] {
    height: 46px;
    border-radius: 6px;
    background: #fbfcfe;
}
.ptf-header-search button { height: 46px; }
.ptf-header-search button::before { top: 12px; }
.ptf-header-search button::after { top: 27px; }
.ptf-header-actions { gap: 20px; }
.main-navigation { border-top-color: #edf1f6; }
.ptf-menu { min-height: 48px; gap: 36px; }
.ptf-menu > li > a { min-height: 48px; }
.ptf-menu > li.menu-item-has-children > .sub-menu {
    width: 560px;
    min-width: 560px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 18px;
    border-radius: 0 0 12px 12px;
}
.ptf-menu > li.menu-item-has-children > .sub-menu a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 11px 14px;
    border: 1px solid transparent;
    background: #f8fafd;
    color: var(--ptf-navy);
    font-weight: 700;
}
.ptf-menu > li.menu-item-has-children > .sub-menu a:hover {
    border-color: #cfe0f5;
    background: #eef6ff;
}

/* Hero */
.ptf-hero-v21 {
    padding: 22px 0 0;
    background:
        linear-gradient(180deg, #f7f9fc 0, #fff 82%);
}
.ptf-hero-v21__frame {
    position: relative;
    min-height: 510px;
    display: grid;
    grid-template-columns: 42% 58%;
    overflow: hidden;
    border: 1px solid #dfe6ef;
    border-radius: 0 0 18px 18px;
    background: #fff;
    box-shadow: 0 26px 65px rgba(5, 29, 69, .11);
}
.ptf-hero-v21__content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 58px 78px 58px 58px;
    background: #fff;
}
.ptf-hero-v21__content::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: -115px;
    width: 230px;
    height: 100%;
    background: #fff;
    clip-path: polygon(0 0, 50% 0, 0 100%);
}
.ptf-hero-v21 h1 {
    max-width: 600px;
    margin: 0 0 19px;
    color: var(--ptf-navy);
    font-size: clamp(47px, 5vw, 68px);
    line-height: 1.01;
    letter-spacing: -.052em;
}
.ptf-hero-v21__content > p {
    max-width: 560px;
    margin: 0;
    color: var(--ptf-copy);
    font-size: 17px;
    line-height: 1.62;
}
.ptf-hero-v21__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.ptf-hero-v21__assurance {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 28px;
    color: #5b6b81;
    font-size: 11px;
    font-weight: 700;
}
.ptf-hero-v21__assurance span {
    position: relative;
    padding-left: 19px;
}
.ptf-hero-v21__assurance span::before {
    content: "";
    position: absolute;
    left: 0;
    top: .35em;
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--ptf-blue);
    border-bottom: 2px solid var(--ptf-blue);
    transform: rotate(-45deg);
}
.ptf-hero-v21__visual {
    position: relative;
    min-height: 510px;
    overflow: hidden;
    background: #dfe7f1;
}
.ptf-hero-v21__visual picture,
.ptf-hero-v21__visual img {
    width: 100%;
    height: 100%;
}
.ptf-hero-v21__visual img {
    object-fit: cover;
    object-position: 52% center;
}
.ptf-hero-v21__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 27, 63, .08), transparent 36%);
}
.ptf-hero-v21__accent {
    position: absolute;
    z-index: 4;
    bottom: 0;
    width: 112px;
    height: 92px;
    clip-path: polygon(55% 0, 100% 0, 44% 100%, 0 100%);
}
.ptf-hero-v21__accent--navy { left: 0; background: var(--ptf-navy); }
.ptf-hero-v21__accent--blue { left: 100px; background: var(--ptf-blue); }

/* Editorial categories */
.ptf-category-editorial {
    padding: 78px 0 66px;
    background: #fff;
}
.ptf-category-editorial__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}
.ptf-category-tile {
    position: relative;
    min-height: 315px;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    color: #fff;
    background: var(--ptf-navy);
    box-shadow: 0 14px 34px rgba(6, 31, 74, .12);
}
.ptf-category-tile--1,
.ptf-category-tile--4 { grid-column: span 7; }
.ptf-category-tile--2,
.ptf-category-tile--3 { grid-column: span 5; }
.ptf-category-tile__media {
    position: absolute;
    z-index: -3;
    inset: 0;
    background-image: var(--ptf-category-image);
    background-size: cover;
    background-position: center;
    transition: transform .55s ease;
}
.ptf-category-tile:hover .ptf-category-tile__media { transform: scale(1.045); }
.ptf-category-tile__overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 20, 48, .96) 0%, rgba(3, 20, 48, .78) 47%, rgba(3, 20, 48, .22) 100%);
}
.ptf-category-tile__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.34);
    background: rgba(4, 30, 70, .35);
    backdrop-filter: blur(8px);
}
.ptf-category-tile__icon img {
    width: 38px;
    height: 38px;
    filter: brightness(0) invert(1);
}
.ptf-category-tile__content {
    max-width: 470px;
    display: grid;
    align-content: end;
}
.ptf-category-tile__content > strong {
    margin-bottom: 8px;
    font-size: clamp(23px, 2vw, 30px);
    line-height: 1.12;
    letter-spacing: -.025em;
}
.ptf-category-tile__content > small {
    max-width: 430px;
    color: rgba(255,255,255,.82);
    font-size: 13px;
    line-height: 1.55;
}
.ptf-category-tile__content > span {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 12px;
    font-weight: 800;
}
.ptf-category-tile__content b { font-size: 18px; transition: transform .2s ease; }
.ptf-category-tile:hover .ptf-category-tile__content b { transform: translateX(5px); }
.ptf-category-tile > i {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 88px;
    height: 88px;
    background: var(--ptf-blue);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.ptf-category-tile > i::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 0;
    width: 31px;
    height: 86px;
    background: var(--ptf-navy);
    transform: skewX(-34deg);
}

/* Benefits */
.ptf-benefits-v21 {
    padding: 68px 0;
    background: #f5f8fc;
    border-top: 1px solid #e5ebf3;
    border-bottom: 1px solid #e5ebf3;
}
.ptf-benefits-v21__header {
    margin-bottom: 26px;
    text-align: center;
}
.ptf-benefits-v21__header h2 {
    margin: 0;
    color: var(--ptf-navy);
    font-size: clamp(30px, 3vw, 42px);
    letter-spacing: -.035em;
}
.ptf-benefits-v21__header .ptf-kicker::before { display: none; }
.ptf-benefits-v21__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #dbe4ef;
    background: #fff;
    box-shadow: 0 13px 32px rgba(6,31,74,.065);
}
.ptf-benefit-v21 {
    min-height: 176px;
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: start;
    gap: 18px;
    margin: 0;
    padding: 30px 25px;
    border-left: 1px solid #e0e7f0;
}
.ptf-benefit-v21:first-child { border-left: 0; }
.ptf-benefit-v21 img { width: 46px; height: 46px; }
.ptf-benefit-v21 h3 {
    margin: 0 0 7px;
    color: var(--ptf-navy);
    font-size: 16px;
    line-height: 1.25;
}
.ptf-benefit-v21 p {
    margin: 0;
    color: var(--ptf-copy);
    font-size: 12px;
    line-height: 1.55;
}

/* Product showcases */
.ptf-product-showcase { padding: 76px 0; }
.ptf-product-showcase--light { background: #fff; }
.ptf-product-showcase--soft { background: #f6f9fd; border-top: 1px solid #e9eef5; }
.ptf-product-showcase__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}
.ptf-product-showcase__heading h2 {
    margin: 0;
    color: var(--ptf-navy);
    font-size: clamp(31px, 3vw, 44px);
    line-height: 1.08;
    letter-spacing: -.04em;
}
.ptf-product-showcase__products .woocommerce ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
}
.ptf-product-showcase__products .woocommerce ul.products li.product {
    padding-bottom: 18px !important;
    border-radius: 10px;
}
.ptf-product-showcase__products .woocommerce ul.products li.product a img {
    aspect-ratio: 1 / .78;
    margin-bottom: 16px !important;
}
.ptf-product-showcase__products .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 48px;
    padding-inline: 18px !important;
    font-size: 15px !important;
    line-height: 1.4;
}
.ptf-product-showcase__products .woocommerce ul.products li.product .ptf-product-category,
.ptf-product-showcase__products .woocommerce ul.products li.product .price,
.ptf-product-showcase__products .woocommerce ul.products li.product .ptf-product-tax-note {
    padding-inline: 18px;
}
.ptf-product-showcase__products .woocommerce ul.products li.product .ptf-product-category {
    font-size: 10px;
}
.ptf-product-showcase__products .woocommerce ul.products li.product .price {
    margin-top: 6px !important;
    font-size: 21px !important;
}
.ptf-product-showcase__products .woocommerce ul.products li.product .ptf-product-tax-note {
    min-height: 18px;
    font-size: 10px;
}
.ptf-product-showcase__products .woocommerce ul.products li.product .button {
    width: calc(100% - 36px);
    min-height: 44px;
    margin: 12px 18px 0 !important;
    padding-inline: 12px !important;
    font-size: 12px !important;
}

/* Story */
.ptf-story-v21 {
    padding: 84px 0;
    background: #fff;
}
.ptf-story-v21__frame {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 440px;
    overflow: hidden;
    border: 1px solid #dfe6ef;
    background: #fff;
    box-shadow: 0 22px 55px rgba(6,31,74,.085);
}
.ptf-story-v21__media { position: relative; min-height: 440px; overflow: hidden; }
.ptf-story-v21__media picture,
.ptf-story-v21__media img { width: 100%; height: 100%; }
.ptf-story-v21__media img { object-fit: cover; }
.ptf-story-v21__media::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 0;
    width: 108px;
    height: 100%;
    background: #fff;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.ptf-story-v21__content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px 60px 52px 46px;
    background: #fff url('../images/premium/story-texture.webp') center / cover no-repeat;
}
.ptf-story-v21__content::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 112px;
    height: 102px;
    background: var(--ptf-blue);
    clip-path: polygon(72% 55%, 100% 55%, 100% 100%, 38% 100%);
}
.ptf-story-v21__content h2 {
    margin: 0 0 14px;
    color: var(--ptf-navy);
    font-size: clamp(35px, 3.7vw, 50px);
    line-height: 1.04;
    letter-spacing: -.045em;
}
.ptf-story-v21__content > p {
    max-width: 700px;
    margin: 0;
    color: var(--ptf-copy);
    font-size: 15px;
}
.ptf-story-v21__values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 28px 0 24px;
}
.ptf-story-v21__values > div {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: start;
    gap: 10px;
}
.ptf-story-v21__values img { width: 36px; height: 36px; }
.ptf-story-v21__values span { display: grid; }
.ptf-story-v21__values strong { color: var(--ptf-navy); font-size: 12px; line-height: 1.3; }
.ptf-story-v21__values small { margin-top: 3px; color: var(--ptf-copy); font-size: 10px; line-height: 1.4; }

/* Contact CTA, replacing the non-functional newsletter */
.ptf-contact-cta {
    background: linear-gradient(110deg, #061f4a 0%, #083a82 62%, #0868f2 100%);
    color: #fff;
}
.ptf-contact-cta__inner {
    min-height: 190px;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    padding-block: 34px;
}
.ptf-contact-cta__icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.06);
}
.ptf-contact-cta__icon svg { width: 46px; height: 46px; }
.ptf-contact-cta .ptf-kicker { margin-bottom: 7px; color: #9cc9ff; }
.ptf-contact-cta__copy h2 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(25px, 2.6vw, 38px);
    line-height: 1.15;
    letter-spacing: -.025em;
}
.ptf-contact-cta__copy p {
    margin: 9px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 13px;
}
.ptf-contact-cta__actions {
    min-width: 210px;
    display: grid;
    justify-items: stretch;
    gap: 10px;
}
.ptf-button--white {
    border-color: #fff !important;
    background: #fff !important;
    color: var(--ptf-navy) !important;
}
.ptf-button--white:hover {
    background: #eef6ff !important;
    color: var(--ptf-blue) !important;
}
.ptf-contact-cta__mail { text-align: center; color: rgba(255,255,255,.85); font-size: 12px; font-weight: 700; }

/* Footer */
.site-footer-v21 .ptf-footer-main { padding-top: 48px; }
.ptf-footer-grid-v21 {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
    gap: 42px;
    padding-bottom: 38px;
}
.ptf-footer-servicebar {
    min-height: 82px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 34px;
    border-top: 1px solid rgba(255,255,255,.13);
}
.ptf-footer-servicebar > div { display: grid; gap: 3px; }
.ptf-footer-servicebar > div:last-child { justify-self: end; text-align: right; }
.ptf-footer-servicebar strong { color: #fff; font-size: 12px; }
.ptf-footer-servicebar span,
.ptf-footer-servicebar a { color: rgba(255,255,255,.65); font-size: 10px; }
.site-footer-v21 .ptf-footer-bottom__inner a { color: rgba(255,255,255,.65); }

/* Remove obsolete v2 homepage blocks if cached markup survives */
.ptf-home-v21 .ptf-hero-premium,
.ptf-home-v21 .ptf-product-duo,
.ptf-home-v21 .ptf-newsletter { display: none !important; }

/* Responsive */
@media (max-width: 1180px) {
    .ptf-header-main { grid-template-columns: 218px 1fr auto; gap: 22px; }
    .ptf-brand img, .custom-logo { max-width: 205px; }
    .ptf-menu { gap: 28px; }
    .ptf-hero-v21__frame { grid-template-columns: 46% 54%; }
    .ptf-hero-v21__content { padding: 48px 62px 48px 42px; }
    .ptf-hero-v21 h1 { font-size: clamp(44px, 5.2vw, 61px); }
    .ptf-benefits-v21__grid { grid-template-columns: repeat(2, 1fr); }
    .ptf-benefit-v21:nth-child(3) { border-left: 0; border-top: 1px solid #e0e7f0; }
    .ptf-benefit-v21:nth-child(4) { border-top: 1px solid #e0e7f0; }
    .ptf-story-v21__content { padding-right: 42px; }
    .ptf-story-v21__values { grid-template-columns: 1fr; gap: 12px; }
    .ptf-footer-grid-v21 { grid-template-columns: 1.45fr repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .admin-bar .site-header { top: 46px; }
    .ptf-header-main { min-height: 74px; grid-template-columns: 1fr auto; }
    .ptf-header-search { grid-column: 1 / -1; padding-bottom: 12px; }
    .ptf-menu > li.menu-item-has-children > .sub-menu {
        width: auto;
        min-width: 0;
        display: block;
        padding: 0 0 6px 16px;
    }
    .ptf-menu > li.menu-item-has-children > .sub-menu a {
        min-height: 42px;
        border: 0;
        background: transparent;
    }
    .ptf-hero-v21 { padding-top: 0; }
    .ptf-hero-v21__frame {
        width: 100%;
        grid-template-columns: 1fr;
        border-inline: 0;
        border-radius: 0;
    }
    .ptf-hero-v21__content { order: 2; padding: 48px 34px 54px; }
    .ptf-hero-v21__content::after { display: none; }
    .ptf-hero-v21__visual { min-height: 390px; }
    .ptf-hero-v21__accent--navy { left: 0; }
    .ptf-hero-v21__accent--blue { left: 100px; }
    .ptf-category-tile--1,
    .ptf-category-tile--2,
    .ptf-category-tile--3,
    .ptf-category-tile--4 { grid-column: span 6; }
    .ptf-category-tile { min-height: 300px; }
    .ptf-product-showcase__products .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .ptf-story-v21__frame { grid-template-columns: 1fr; }
    .ptf-story-v21__media { min-height: 340px; }
    .ptf-story-v21__media::after { display: none; }
    .ptf-story-v21__content { padding: 48px 34px 58px; }
    .ptf-contact-cta__inner { grid-template-columns: 72px 1fr; }
    .ptf-contact-cta__actions { grid-column: 2; width: min(100%, 300px); }
    .ptf-footer-grid-v21 { grid-template-columns: repeat(2, 1fr); }
    .ptf-footer-grid-v21 .ptf-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
    .ptf-topbar__inner { justify-content: flex-start; overflow: hidden; }
    .ptf-topbar__item { flex: 0 0 auto; padding-inline: 12px; font-size: 9px; }
    .ptf-topbar__item:nth-child(2),
    .ptf-topbar__item:nth-child(3) { display: none; }
    .ptf-brand img, .custom-logo { max-width: 168px; }
    .ptf-header-actions .ptf-action:first-child { display: none; }
    .ptf-action > span:last-child { display: none; }
    .ptf-hero-v21__visual { min-height: 280px; }
    .ptf-hero-v21__visual img { object-position: 59% center; }
    .ptf-hero-v21__content { padding: 38px 20px 45px; }
    .ptf-hero-v21 h1 { font-size: 40px; }
    .ptf-hero-v21__content > p { font-size: 15px; }
    .ptf-hero-v21__actions { display: grid; }
    .ptf-hero-v21__actions .ptf-button { width: 100%; }
    .ptf-hero-v21__assurance { display: grid; gap: 8px; }
    .ptf-category-editorial { padding: 56px 0 50px; }
    .ptf-category-editorial .ptf-section-heading,
    .ptf-product-showcase__heading { align-items: flex-start; flex-direction: column; }
    .ptf-category-editorial__grid { grid-template-columns: 1fr; }
    .ptf-category-tile--1,
    .ptf-category-tile--2,
    .ptf-category-tile--3,
    .ptf-category-tile--4 { grid-column: auto; }
    .ptf-category-tile { min-height: 285px; padding: 24px; }
    .ptf-category-tile__content > strong { font-size: 24px; }
    .ptf-benefits-v21 { padding: 52px 0; }
    .ptf-benefits-v21__grid { grid-template-columns: 1fr; }
    .ptf-benefit-v21,
    .ptf-benefit-v21:nth-child(2),
    .ptf-benefit-v21:nth-child(3),
    .ptf-benefit-v21:nth-child(4) {
        min-height: 0;
        border-left: 0;
        border-top: 1px solid #e0e7f0;
    }
    .ptf-benefit-v21:first-child { border-top: 0; }
    .ptf-product-showcase { padding: 58px 0; }
    .ptf-product-showcase__products .woocommerce ul.products { gap: 12px !important; }
    .ptf-product-showcase__products .woocommerce ul.products li.product .woocommerce-loop-product__title {
        min-height: 62px;
        padding-inline: 11px !important;
        font-size: 12px !important;
    }
    .ptf-product-showcase__products .woocommerce ul.products li.product .ptf-product-category,
    .ptf-product-showcase__products .woocommerce ul.products li.product .price,
    .ptf-product-showcase__products .woocommerce ul.products li.product .ptf-product-tax-note { padding-inline: 11px; }
    .ptf-product-showcase__products .woocommerce ul.products li.product .price { font-size: 17px !important; }
    .ptf-product-showcase__products .woocommerce ul.products li.product .button {
        width: calc(100% - 22px);
        margin-inline: 11px !important;
        font-size: 10px !important;
    }
    .ptf-story-v21 { padding: 58px 0; }
    .ptf-story-v21__frame { width: calc(100% - 24px); }
    .ptf-story-v21__media { min-height: 260px; }
    .ptf-story-v21__content { padding: 38px 22px 48px; }
    .ptf-story-v21__values { grid-template-columns: 1fr; }
    .ptf-contact-cta__inner { grid-template-columns: 1fr; gap: 18px; padding-block: 38px; }
    .ptf-contact-cta__icon { width: 58px; height: 58px; }
    .ptf-contact-cta__icon svg { width: 36px; height: 36px; }
    .ptf-contact-cta__actions { grid-column: auto; width: 100%; }
    .ptf-footer-grid-v21 { grid-template-columns: 1fr; }
    .ptf-footer-grid-v21 .ptf-footer-brand { grid-column: auto; }
    .ptf-footer-servicebar { grid-template-columns: 1fr; padding-block: 22px; }
    .ptf-footer-servicebar > div:last-child { justify-self: start; text-align: left; }
}
