.page-header .panel.wrapper,
.main-panel-top {
    background-color: #171717;
}

.submenu {
    z-index: 1000 !important;
}

.page-header.type9 .header-main {
    background: rgba(200, 200, 200, 0.3);
}

.cms-home {
    max-width: 1200px;
    margin: 0 auto;
}

.footer .block-title {
    border: 0 none;
    font-size: 16px;
    font-weight: bold;
    list-style: outside none none;
    margin-bottom: 0;
    padding: 27px 0 35px;
    text-transform: uppercase;
    color: white;
}

.logo-in-footer {
    width: 114px;
}

/* removed duplicate — was declared twice identically */
.product-info-main .old-price {
    display: block !important;
}

.footer-middle {
    color: white;
}

.wishlist {
    display: none;
}

#search {
    display: inline-block;
    border: 1px solid #e2e2e2;
    background-color: #fff;
    font-size: 100%;
    margin: 0;
    line-height: 39px;
    height: 39px;
    padding: 0 10px;
    width: 100%;
    outline: none;
}

.page-main-inner {
    padding-top: 20px;
}

.color-green {
    color: #4CAF50;
}

/* merged two duplicate .service blocks; effective hover color is #ff8400 */
.service {
    padding: 19px 0;
    font-size: 12px;
    margin-top: 20px;
    float: left;
    width: 100%;
}

.service .service-item {
    padding: 20px 20px 20px 28px;
    border: 1px solid #dfdfdf;
    background-color: #fff;
    overflow: hidden;
}

.service .service-item .icon {
    width: 92px;
    height: 92px;
    float: left;
}

.service .service-item .info {
    padding-left: 110px;
}

.service .service-item .info p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: normal;
}

.service .service-item h3 {
    margin: 0 0 5px;
    padding: 0;
    text-transform: uppercase;
    font-size: 18px;
    color: #333;
}

.service .service-item .info a {
    border-bottom: 1px solid transparent;
    font-size: 14px;
    color: #36c;
    padding-top: 10px;
    display: inline-block;
    line-height: normal;
}

.service .service-item .info a:after {
    content: '\f101';
    font-family: FontAwesome;
    display: inline-block;
    padding-left: 10px;
}

.service .service-item .info a:hover {
    border-color: #ff8400;
    color: #ff8400;
}

.schemecontainerwrapper {
    padding-top: 10px;
    padding-bottom: 10px;
}

.schemecontainer .dot {
    position: absolute;
    padding: 1px 6px;
    background: #e0e0e0;
    border: 1px solid #c4221e;
    border-radius: 3px;
    transition: all 0.5s;
}

.schemecontainer .dot:hover {
    background: #c4221e;
    border: 1px solid #333;
    color: #fff;
}

.schemecontainer .dot input[type='checkbox'] {
    margin: 0;
    padding: 0;
}

.schemecontainer .dot a:hover {
    color: #fff;
}

.schemecontainer .dot span {
    padding: 0 2px 0 3px;
    display: inline-block;
}

.subchildmenu {
    margin-left: 5px;
}

/* header .ul-level-3 {
    display: none;
} */

header .ui-menu-item.parent {
    position: relative;
}

header .ui-menu-item span {
    text-wrap: nowrap;
}

/* show nested submenu on hover */
header .ui-menu-item:hover > ul.ul-level-3.last-level {
    left: 50%;
    top: 20px;
    display: block;
    position: absolute;
    z-index: 1000;
    background: white;
    padding: 10px;
    border: 1px solid #ccc;
}

.sidebar-content .sw-megamenu.navigation.side-megamenu li.level0:hover {
    background-color: transparent !important;
}

.col.item {
    max-width: 80%;
}

.col.item .product-item-name {
    text-wrap: wrap;
    display: inline-block;
}

.paypal-express-in-context-mini-cart-container,
#paypal-smart-button {
    display: none !important;
}

.block-minicart .subtotal .label:after,
.minicart-items .details-qty .label:after,
.minicart-items .price-minicart .label:after,
.order-details-items .order-gift-message .label:after,
.order-details-items .block-order-details-gift-message .label:after,
.block-wishlist-management .wishlist-select .wishlist-name-label:after {
    content: '' !important;
}

.product-info-main .price-final_price .price {
    font-size: 2rem;
    line-height: 3rem;
    font-weight: 700;
}

.product-info-main .product-options-bottom .price-box .price-including-tax+.price-excluding-tax .price,
.product-info-main .product-info-price .price-box .price-including-tax+.price-excluding-tax .price {
    font-size: 1.1rem;
    line-height: 16px;
    font-weight: 600;
}

.product.attribute.overview {
    display: none !important;
}

.products .product-item-info {
    text-align: left;
}

.products-related .price-including-tax+.price-excluding-tax::before {
    font-size: 1rem;
    line-height: 1.4rem;
    display: inline-block;
}

.products-related.small-list.products-grid .product-items .price {
    font-size: 1rem;
    display: inline-block;
    line-height: 1.4rem;
    vertical-align: baseline;
}

.products-related .price-container .price-including-tax+.price-excluding-tax {
    font-size: 1rem;
}

.products-related.small-list .product-items .product-item-details .product-item-actions {
    display: block !important;
}

.search-area .block.block-search {
    border-radius: 0 !important;
    border-color: var(--theme-color) !important;
}

/* removed duplicate flex/-ms-flex declarations and outdated -ms-flex prefix */
.small-list.products-grid .product-items .product-item-info .product-item-photo {
    width: 122px !important;
    flex: 0 0 122px !important;
    padding: 0;
    margin-right: 20px;
    margin-bottom: 0;
    box-shadow: none;
    min-height: auto;
}

@media (min-width: 1200px), print {
    .products-grid.columns3 .product-item {
        width: 33.33333333% !important;
    }
}

.product-item-info:hover .product-item-photo:not(.porto-tb-featured-image):hover,
.product-item-info:hover .product-item-photo:not(.porto-tb-featured-image) {
    box-shadow: none !important;
}

.products-grid .product-item .product-item-info {
    border: 1px solid #e2e2e2;
}

.products-grid .product-item .product-item-info:hover {
    box-shadow: 0 25px 35px -5px rgba(0, 0, 0, 0.1);
}

.product-item-details {
    padding: 0 10px;
}

[data-price-type=oldPrice] {
    display: none !important;
}

[data-price-type=finalPrice] .price {
    font-size: 1.3rem !important;
}

[data-price-type=basePrice] .price,
[data-price-type=basePrice]::before {
    font-size: 0.9rem !important;
}

/* hide price on checkout for shipping method */
.table-checkout-shipping-method .col-price,
#label_method_calcshipment_calcshipment,
#label_method_freeshipping_freeshipping {
    display: none;
}

/* price in checkout netto */
.opc-block-summary .grand.incl+.grand.excl .mark,
.opc-block-summary .grand.incl+.grand.excl .amount {
    font-size: 1.1rem;
}

@media (min-width: 992px), print {
    .shipping-address-items {
        .shipping-address-item {
            width: 49% !important;
        }
    }
}

@media (max-width: 767px) {
    .logo {
        max-width: 120px !important;
        z-index: auto;
    }
}

@media (max-width: 991px) {
    .search-area.show-icon-tablet .block.block-search {
        right: 0 !important;
        left: 0 !important;
        width: 100% !important;
        top: 71px !important;
    }

    .search-area.show-icon-tablet {
        position: unset !important;
    }
}

.mobile-hint-menu {
    display: none;
}

@media (max-width: 575px) {
    .product-item-details {
        padding: 0 5px;
    }

    .mobile-hint-menu {
        display: block;
    }

    .main-panel-top .header-left {
        display: none !important;
    }

    .main-panel-top {
        height: 0 !important;
    }

    .page-header.type9 .panel.wrapper {
        min-height: 0 !important;
    }

    .schemecontainer .dot {
        padding: 0;
        margin: 0;
        border: 0;
        line-height: 7px;
    }

    .schemecontainerwrapper {
        padding-bottom: 30px;
    }

    #schemecontainer {
        margin: -20px;
    }
}

.checkout-cart-index .block-content,
.checkout-cart-index .block.crosssell {
    width: 100% !important;
}

/* shopping cart */

.cart-summary {
    width: 350px !important;
    padding: 24px 10px !important;
}

@media (max-width: 1200px) {
    .cart-summary {
        width: 100% !important;
    }
}

.cart-totals tbody .grand.totals .mark,
.cart-totals tfoot .grand.totals .mark {
    font-size: 16px;
}

.cart-totals tbody .grand.totals .amount,
.cart-totals tfoot .grand.totals .amount {
    font-size: 19px;
}

.cart.table-wrapper .product-item-photo {
    max-width: 65px !important;
}

.cart-summary > .title {
    text-align: center !important;
}

/* removed dead .actions-toolbar { padding-top: 10px } — was overridden 50 lines later */
.actions-toolbar {
    padding-top: 0;
}

.actions-toolbar .action {
    height: 35px;
    padding: 2px 10px;
    border: 1px solid #e7e7e7 !important;
    border-radius: 5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.cart.table-wrapper .actions-toolbar > .action-delete,
.cart.table-wrapper .actions-toolbar > .action-edit {
    width: 35px;
}

.qty.field .input-text.qty,
.col.qty .input-text.qty {
    padding: 5px 2px !important;
}

.details-qty > span:nth-child(1) > span:nth-child(1) {
    margin-right: 5px;
}

#shopping-cart-table .price-including-tax {
    margin-bottom: 0 !important;
}

.cart.table-wrapper .col.subtotal .price {
    display: block;
    margin-bottom: 10px;
}

.block.crosssell .product-item-info {
    display: flex !important;
    align-items: center !important;
}

.block.crosssell .product-item-photo {
    margin-bottom: 0 !important;
}

.block.crosssell .product-item-details {
    padding-top: 0 !important;
}

.products .product-item .qty.field .control,
.col.qty .control {
    align-items: center !important;
}

.products .product-item input[type="checkbox"] {
    margin: 0 !important;
}

.products .product-item sub {
    font-size: initial;
}

.product-item-info .product-item-details .price-box {
    margin-bottom: 0;
}

.product-item-details .info {
    padding: 20px 0;
}

.grid .tocart {
    margin-top: 10px;
}

.filterproducts.products {
    display: flex;
    flex-wrap: wrap;
}

.products-grid.columns4 .product-item {
    display: flex;
    padding: 0.5em;
}

.order-details-items .col.price .price-excluding-tax,
.order-details-items .col.subtotal .price-excluding-tax .price {
    font-size: 1rem;
}

@media (min-width: 992px) {
    .page-header .navigation:not(.side-megamenu) .level0>.level-top {
        color: white !important;
        padding: 0;
    }
}

@media (max-width: 1200px) {
    form.form-cart {
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    form.form-cart td {
        flex-basis: initial !important;
    }

    form.form-cart tr.item-info {
        display: flex;
        flex-direction: column;
    }

    .product.details.product-item-details {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex-shrink: initial;
    }

    .product-item-name a {
        white-space: initial;
    }

    .col.item .product-item-name {
        text-align: center;
    }

    .cart.table-wrapper .item .col.item {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    td.col.aaaa {
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    td.col.aaaa i {
        margin-right: 5px;
    }
}

/* merged two duplicate .cart.table-wrapper .product-item-details declarations */
@media (max-width: 576px) {
    .cart.table-wrapper .product-item-details {
        text-align: left;
        padding-top: 0;
        align-items: flex-start;
        flex-shrink: initial;
        min-width: 166px;
    }

    .cart.table-wrapper .product-item-photo {
        margin: initial;
        margin-bottom: 15px;
    }

    .product-item-photo img {
        max-width: 100px !important;
    }

    .product-item-name a {
        white-space: initial !important;
    }
}

/* Artikelnummer + Verfügbarkeit in product grid */
.products-grid .product-item .product-item-attributes {
    margin: 4px 0 6px;
    font-size: 12px;
    line-height: 1.5;
}
.products-grid .product-item .product-item-attributes .product-item-sku,
.products-grid .product-item .product-item-attributes .product-item-stock {
    display: block;
    color: #777;
    font-size: 0.6rem;
}
.products-grid .product-item .product-item-attributes .value {
    color: #333;
    font-weight: 600;
}
.products-grid .product-item .product-item-attributes .product-item-stock i {
    margin: 0 2px;
}

/* ===== Selected (current) filters — chip styling ===== */
.filter-current .filter-current-subtitle {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #58585a;
    margin-bottom: 10px;
    padding: 0;
}

.filter-current .items {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Beat Plumrocket's `.ppf-pos-toolbar .filter-current .items .item`
   (inline-block + padding-right:20px) with higher specificity. */
.plumrocket-product-filter.ppf-pos-toolbar .filter-current .items .item.item,
.filter-current .items .item {
    display: inline-block;
    position: relative;
    margin: 0 8px 8px 0;
    padding: 5px 34px 5px 12px;
    background: #f7f7f7;
    border: 1px solid #c4221e;
    border-radius: 0px;
    font-size: 12px;
    line-height: 1.4;
    vertical-align: middle;
}

.filter-current .items .item .filter-label {
    color: #777;
}

.filter-current .items .item .filter-label:after {
    content: ":";
    margin-left: 1px;
}

.filter-current .items .item .filter-value {
    margin-left: 4px;
    color: #333;
    font-weight: 600;
}

/* Override base porto rule (position:absolute;right:0;top:3px) so the
   round remove button sits inside the pill, vertically centered. */
.filter-current .items .item .action.remove {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    margin: 0;
    border-radius: 50%;
    background: #c4221e;
    text-decoration: none;
    transition: background-color .15s ease;
}

.filter-current .items .item .action.remove > span {
    display: none;
}

.filter-current .items .item .action.remove:before {
    content: "\00d7";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: inherit;
    font-size: 14px;
    line-height: 1;
    color: #fff;
}

.filter-current .items .item .action.remove:hover {
    background: #58585a;
}

.filter-current .items .item .action.remove:hover:before {
    color: #fff;
}

/* "Alles löschen" link */
.block-actions.filter-actions .filter-clear {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    color: #777;
    text-decoration: underline;
}

.block-actions.filter-actions .filter-clear:hover {
    color: #c4221e;
}
