/* Third-party CMS embed styles scoped under .home-page-content */

.home-page-content,
.home-page-content *,
.home-page-content *::before,
.home-page-content *::after {
    box-sizing: border-box;
}

.home-page-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: #1a1a1a;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow: visible;
    --accent-orange: #ff6a1a;
    --accent-orange-strong: #ff3d2e;
    --accent-gradient: linear-gradient(90deg, #ff8a3d 0%, #ff5a1f 50%, #ff2e62 100%);
    --page-background: #f7f6f3;
    --text-primary: #111111;
    --text-secondary: #6b6b6b;
    --line-color: #e7e5e0;
    --panel-radius: 18px;
    --content-max-width: 1200px;
    --page-gutter: 24px;
    --page-content-inset: max(var(--page-gutter), calc((100vw - var(--content-max-width)) / 2 + var(--page-gutter)));
}

.home-page-content img,
.home-page-content svg {
    max-width: 100%;
    display: block;
}

.home-page-content a {
    text-decoration: none;
    color: inherit;
}

.home-page-content button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.page-header-notice {
    background: #000;
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 16px;
    letter-spacing: .2px;
}

.home-page-content .home-hero-banner {
    background: var(--page-background);
    padding: 56px 24px;
}

.home-page-content .home-hero-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.home-page-content .home-hero-eyebrow {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.home-page-content .home-hero-banner h1 {
    font-size: clamp(34px, 4.4vw, 56px);
    font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: -.02em;
}

.home-page-content .home-hero-banner h1 .accent {
    background: linear-gradient(90deg, #00d4c8, #3aa0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.home-page-content .home-hero-banner p.lead {
    font-size: 16px;
    color: #333;
    margin: 18px 0 28px;
    max-width: 460px;
}

.home-page-content .home-call-to-action-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.home-page-content .home-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    transition: transform .15s ease, box-shadow .2s ease;
}

.home-page-content .home-action-button-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(255, 90, 31, .6);
}

.home-page-content .home-action-button-outline {
    background: #fff;
    color: var(--accent-orange);
    border: 1.5px solid var(--accent-orange);
}

.home-page-content .home-action-button:hover {
    transform: translateY(-2px);
}

.home-page-content .home-hero-visual {
    position: relative;
    aspect-ratio: 16/10;
    background: radial-gradient(circle at 60% 50%, #2a2a2a 0%, #000 70%);
    border-radius: var(--panel-radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .4);
}

.home-page-content .home-hero-visual::after {
    content: "";
    position: absolute;
    inset: -20%;
    background: conic-gradient(from 180deg at 50% 50%, rgba(0, 212, 200, 0), rgba(0, 212, 200, .25), rgba(255, 90, 31, .25), rgba(0, 212, 200, 0));
    filter: blur(40px);
    animation: homeHeroSpin 14s linear infinite;
}

@keyframes homeHeroSpin {
    to {
        transform: rotate(360deg);
    }
}

.home-page-content .home-hero-visual .device {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    padding: 24px;
}

.home-page-content .home-hero-visual .device .badge {
    display: inline-block;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.home-page-content .home-hero-visual .device .name {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: .05em;
}

.home-page-content .home-hero-visual .device .sub {
    opacity: .75;
    margin-top: 8px;
    font-size: 14px;
}

.home-page-content .home-content-section {
    max-width: 1248px;
    margin-left: auto;
    margin-right: auto;
    padding: 72px 24px;
}

.home-page-content .home-section--flush .home-section-head {
    max-width: none;
    margin: 0 0 32px;
    padding-left: 0;
    padding-right: 0;
}

.home-page-content .home-section-head {
    max-width: 1200px;
    margin: 0 auto 32px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.home-page-content .home-section-head h2 {
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 800;
    color: var(--accent-orange);
    margin: 0;
    letter-spacing: -.01em;
}

.home-page-content .home-section-head .link {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.home-page-content .home-section-head .link:hover {
    color: var(--accent-orange);
}

.home-page-content .home-section-head .link .arr {
    display: inline-block;
    transition: transform .2s ease;
}

.home-page-content .home-section-head .link:hover .arr {
    transform: translateX(3px);
}

.home-page-content .product-card-slider-wrap {
    position: relative;
}

.home-page-content .home-feature-list {
    background: #fff;
    padding: 36px 24px;
}

.home-page-content .home-feature-list-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.home-page-content .home-feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.home-page-content .home-feature-item .icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff1e8, #ffe2d6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange-strong);
}

.home-page-content .home-feature-item .icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-page-content .home-feature-item .t {
    font-weight: 700;
    font-size: 14px;
}

.home-page-content .home-feature-item .s {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.home-page-content .home-faq {
    background: var(--page-background);
}

.home-page-content .home-faq h2 {
    text-align: center;
    color: var(--accent-orange);
}

.home-page-content .home-faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-page-content .home-faq-item {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .04);
}

.home-page-content .home-faq-question {
    width: 100%;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    font-size: 15px;
    text-align: left;
    color: var(--text-primary);
    background: #fff;
    transition: background-color .15s ease, color .15s ease;
}

.home-page-content .home-faq-question .chev {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: var(--accent-orange);
    transition: transform .2s ease;
}

.home-page-content .home-faq-item.open .home-faq-question .chev {
    color: var(--accent-orange);
    transform: rotate(180deg);
}

.home-page-content .home-faq-question .chev svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-page-content .home-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .2s ease;
    background: #fff;
}

.home-page-content .home-faq-item.open .home-faq-answer {
    grid-template-rows: 1fr;
    padding: 15px 0 0;
}

.home-page-content .home-faq-answer-inner {
    overflow: hidden;
}

.home-page-content .home-faq-answer-inner p {
    margin: 0;
    padding: 0 22px 18px;
    color: #444;
    font-size: 14px;
    line-height: 1.6;
}

.home-page-content .home-promo-banner {
    background: var(--accent-gradient);
    color: #fff;
    padding: 56px 24px;
}

.home-page-content .home-promo-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.home-page-content .home-promo-banner h3 {
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 800;
    margin: 0;
}

.home-page-content .home-promo-banner p {
    margin: 6px 0 0;
    opacity: .92;
    font-size: 15px;
}

.home-page-content .home-promo-banner .home-action-button {
    background: #fff;
    color: var(--accent-orange-strong);
}

body .page-header.type20 .header.panel > .header.links > li > a {
    padding-right: 0;
}

/* B2B: header 右上角链接菜单 – 加大行高与间距，易于操作 */
.header.panel > .header.links > li {
    font-size: 14px;
    line-height: 38px;
}

.header.panel > .header.links > li > a {
    display: inline-block;
    padding: 0 10px;
    font-size: 14px;
    line-height: 38px;
}

.page-header .customer-welcome .customer-name .action.switch {
    font-size: 14px;
    line-height: 38px;
    padding: 0 10px;
}

.customer-menu .header.links {
    padding: 4px 0;
}

.customer-menu .header.links a {
    display: block;
    padding: 8px 18px;
    font-size: 14px;
    line-height: 22px;
}

body .panel.header.show-icon-tablet .header.links {
    min-width: 200px;
}

body.contact-index-index .page-main .contact-info {
    display: none;
}

@media (max-width: 767px) {
    .header.panel > .header.links > li > a {
        padding: 0 8px;
    }
}

.block.block-order-details-comments {
    display: none;
}

.page-header .panel.wrapper .header-right .header.panel + .header.panel {
    display: none;
}

body .page-header.type20 .header.panel > .header.links > li {
    padding: 0px 0px 0px 25px;
}

body .page-header.type20 .header.panel > .header.links > li:last-child {
    display: inline-block;
}

body .page-header.type20 .header-right .panel.header .custom-block {
    display: none;
}

body.catalog-product-view .page-main {
    padding-top: 20px;
}

.footer-middle a, .footer-middle a:hover, .footer-middle a:focus, .footer-middle a:visited {
    color: #fff;
}

body .page-wrapper .page-header .main-panel-top .main-panel-inner .header-right .header.panel ul.header.links, body .page-wrapper .page-header .main-panel-top .main-panel-inner .header-right .header.panel ul.header.links button, body .page-wrapper .page-header .main-panel-top .main-panel-inner .header-right .header.panel ul.header.links a {
    text-transform: capitalize;
}

.checkout-index-index aside.opc-sidebar.opc-summary-wrapper .opc-block-shipping-information .shipping-information .shipping-information-title {
    font-weight: bold;
}

.block-minicart .block-content .action.primary.checkout {
    text-align: center;
}



@media (max-width: 1024px) {
    .home-page-content .home-hero-banner-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-page-content .home-hero-visual {
        aspect-ratio: 16/8;
    }

    .home-page-content .home-feature-list-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    body .page-header.type20 .navigation:not(.side-megamenu) .level0 .level-top {
        text-transform: none;
    }
}

@media only screen and (max-width: 767px) {
    body .checkout-payment-method .payment-methods {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .home-page-content .home-hero-banner {
        padding: 40px 16px;
    }

    .home-page-content .home-hero-banner h1 {
        font-size: clamp(28px, 8vw, 42px);
    }

    .home-page-content .home-hero-banner p.lead {
        font-size: 15px;
    }

    .home-page-content .home-hero-visual {
        aspect-ratio: 16/9;
    }

    .home-page-content .home-hero-visual .device .name {
        font-size: 32px;
    }

    .home-page-content .home-content-section {
        padding: 48px 16px;
    }

    .home-page-content {
        --page-gutter: 16px;
    }

    .home-page-content .home-section-head {
        margin-bottom: 24px;
    }

    .home-page-content .home-section-head h2 {
        font-size: clamp(20px, 6vw, 26px);
    }

    .home-page-content .home-feature-list-inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-page-content .home-feature-list {
        padding: 28px 16px;
    }

    .home-page-content .home-promo-banner {
        padding: 40px 16px;
    }

    .home-page-content .home-promo-banner-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .home-page-content .home-promo-banner .home-action-button {
        width: 100%;
        max-width: 280px;
    }

    .home-page-content .home-faq-question {
        padding: 16px 18px;
        font-size: 14px;
    }

    .home-page-content .home-faq-answer-inner p {
        padding: 0 18px 16px;
    }
}

@media (max-width: 480px) {
    .home-page-content .home-call-to-action-row {
        flex-direction: column;
    }

    .home-page-content .home-action-button {
        width: 100%;
    }
}

/* B2B: hide hardcoded Porto header wishlist icon */
.page-header a.wishlist {
    display: none !important;
}

/* B2B: product detail qty-stepper — replaces Porto .qty-changer */
.box-tocart .field.qty .qty-box {
    display: inline-flex;
    align-items: stretch;
    vertical-align: middle;
}

.box-tocart .field.qty .qty-box .qtyminus,
.box-tocart .field.qty .qty-box .qtyplus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, .16);
    background: #fff;
    color: #222529;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
    user-select: none;
}

.box-tocart .field.qty .qty-box .qtyminus {
    border-right: 0;
}

.box-tocart .field.qty .qty-box .qtyplus {
    border-left: 0;
}

.box-tocart .field.qty .qty-box .qtyminus:not([disabled]):hover,
.box-tocart .field.qty .qty-box .qtyplus:not([disabled]):hover {
    color: #fff;
    background: #222529;
    border-color: #222529;
}

.box-tocart .field.qty .qty-box .qtyminus[disabled],
.box-tocart .field.qty .qty-box .qtyplus[disabled] {
    opacity: .4;
    cursor: not-allowed;
}

.box-tocart .field.qty .qty-box input.qty {
    width: 44px;
    height: 48px;
    padding: 0 4px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, .16);
    border-radius: 0;
    box-shadow: none;
    -moz-appearance: textfield;
}

.box-tocart .field.qty .qty-box input.qty::-webkit-outer-spin-button,
.box-tocart .field.qty .qty-box input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

body .home-page-content section.home-hero-banner.home-hero-banner--carousel {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

/* Minicart badge: porto fixes width at 16px which truncates 4+ digit counts. */
.minicart-wrapper .action.showcart .counter.qty {
    width: auto;
    min-width: 16px;
    max-width: 34px;
    padding: 0 4px;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
}

.minicart-wrapper .action.showcart .counter.qty .counter-number {
    display: block;
    overflow: visible;
}

/*
 * Account order items: product name wraps first; SKU/header keep intact
 * (avoid overflow-wrap:anywhere on sku — it splits "Art.nr" / article codes).
 */
@media (min-width: 768px) {
    .account .order-details-items .table-order-items {
        width: 100%;
        table-layout: fixed;
    }

    .account .order-details-items .table-order-items .col.name {
        width: 42%;
        vertical-align: top;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .account .order-details-items .table-order-items .col.sku {
        width: 18%;
        vertical-align: top;
        white-space: nowrap;
        overflow-wrap: normal;
        word-break: normal;
    }

    .account .order-details-items .table-order-items .col.price,
    .account .order-details-items .table-order-items .col.qty,
    .account .order-details-items .table-order-items .col.subtotal {
        width: 13.3%;
        vertical-align: top;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .account .order-details-items .table-order-items .product-item-name {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    body .cart-summary {
        padding: 25px 20px;
    }

    body .cart-summary {
        padding: 25px 20px;
    }

    body .cart-totals tbody .mark, body .cart-totals tfoot .mark, body .cart-totals tbody .amount, body .cart-totals tfoot .amount {
        padding: 5px 6px;
    }

    body .cart-totals tbody .grand.totals .mark, body .cart-totals tfoot .grand.totals .mark {
        padding: 18px 6px;
        font-size: 15px;
        line-height: 19px;
    }

    body .cart-totals tbody .grand.totals .amount, body .cart-totals tfoot .grand.totals .amount {
        font-weight: 700;
        font-size: 20px;
        padding: 10px;
        line-height: 32px;
    }

    body .opc-block-summary .grand.incl + .grand.excl .mark, body .opc-block-summary .grand.incl + .grand.excl .amount {
        font-size: 16px;
    }

    body .cart-totals .grand .mark, body .opc-block-summary .table-totals .grand .mark {
        font-size: 16px;
    }
}
