@media (max-width: 991px) {
    .container, .page-container {
        box-shadow: none !important;
    }
}

.page-container {
    max-width: 1340px;
    width: 100%;
}

body {
    background-image: none;
}

h1, .h1 { font-size: 2.4rem; }
h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 1.8rem; }
h4, .h4 { font-size: 1.6rem; }
h5, .h5 { font-size: 1.8rem; }
h6, .h6 { font-size: 1.6rem; }

@media (min-width: 1200px) {
    h1, .h1 { font-size: 3.2rem; }
    h2, .h2 { font-size: 2.4rem; }
    h3, .h3 { font-size: 2rem; }
}


.btn {
    --bs-btn-font-size: 14px;
    font-size: 14px;
}

.btn.btn-smallest {
    --bs-btn-font-size: 13px;
    font-size: 13px !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    margin-bottom: 1rem;
}

.page-container {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.header {
    padding: 2.8rem 0 0 0;
    margin-bottom: 0;
}

.header-top {
    padding: 0 2rem 0 2rem;
    margin-bottom: 2.4rem;
}

.header-logo {
    margin-right: 2.4rem;
}

.header-text {
    margin-right: 4rem;
}

.header-text p {
    margin-bottom: 0;
}

.header-search {
    width: auto;
    flex-grow: 1;
    padding: 0 2rem;
    margin-right: 4rem;
}

.header-contact {
    padding: 0;
    margin-right: 4rem;
}

.header-icon-item i {
    font-size: 2.8rem;
}

.header-menu {
    box-shadow: none;
}

.header-menu-main-link {
    padding: 0 2rem;
}

.main-menu > li > a {
    padding: 0 2rem;
}

.main-menu > li.active > a {
    background: #d3292e;
    color: #ffffff;
}

section {
    padding: 0 2rem;
}

.swiper-slide-img img {
    width: 100%;
}

.swiper-slide-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 4%;
    background: rgba(0, 0, 0, 0.8);
}

.primary-box-col {
    margin-bottom: 1.6rem!important;
}

.btn-primary {
    box-shadow: none;
}

.btn-primary:hover {
    background-color: #c61419;
    box-shadow: none;
    transform: none;
}

.btn-white {
    box-shadow: none;
}

.btn-white:hover {
    background-color: #e8e8e8;
    box-shadow: none;
    transform: none;
}

.btn-light {
    box-shadow: none;
}

.btn-light:hover {
    background-color: #959595;
    box-shadow: none;
    transform: none;
}

.swiper-brand {
    box-shadow: none;
    padding: 0;
}

.swiper-brand-item {
    padding: 0.8rem 2.4rem;
    margin-right: 0.8rem;
    border: 1px solid #eeeeee;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-item {
    border: 1px solid #eeeeee;
    box-shadow: none;
    transition: all 200ms;
}

.product-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
}

.product-item-price {
    border-top: 1px solid #eeeeee;
}

.product-sidebar {
    width: 32rem;
    background: #fafafa;
}

.product-sidebar .sidebar-menu > li {
    padding-right: 0;
    border-bottom: 1px solid #eeeeee;
}

.product-sidebar .sidebar-menu > li > ul {
    display: none;
}

.product-sidebar .sidebar-menu > li > ul a {
    color: #666666;
}

.product-sidebar .sidebar-menu > li.active > ul {
    display: block;
}

.product-sidebar .sidebar-menu > li > ul > li > ul {
    display: none;
}

.product-sidebar .sidebar-menu > li > ul > li.active > ul {
    display: block;
}

.product-sidebar .sidebar-menu > li > ul li.active > a {
    color: #e32126;
}

.product-sidebar .sidebar-menu > li.active .sidebar-item:after {
    content: none;
}

.product-list-top p {
    text-align: left!important;
    color: #666666;
}

.sidebar-item-inner {
    border: none;
}

.product-sidebar .sidebar-menu > li > ul > li {
    padding-left: 2.4rem;
}

.product-sidebar .sidebar-menu > li > ul > li:last-child {
    border: none;
}

.product-item-img img {
    max-width: 100%;
    height: auto;
    max-height: none;
}

.breadcrumb-section {
    padding: 1rem 0;
    border-bottom: 1px solid #eeeeee;
}

.breadcrumb {
    margin-bottom: 0;
    padding: 0 2rem;
    font-size: 15px;
    background: none;
}

.breadcrumb-item a {
    color: #666666;
}

.category-description-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.category-description-content {
    max-height: 8em;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.category-description-fade {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    right: 0;
    height: 4em;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.category-description-wrapper.expanded .category-description-content {
    max-height: none;
}

.category-description-wrapper.expanded .category-description-fade {
    opacity: 0;
}

.category-description-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: #999;
    text-decoration: none;
    cursor: pointer;
    font-size: 1.4rem;
}

.category-description-toggle:hover {
    color: #666;
}

.product-list-filter {
    box-shadow: none;
    border: 1px solid #eeeeee;
    margin-bottom: 1rem;
    padding: 1rem 1.5rem 0 1.5rem;
    background: #fafafa;
}

.product-list-filter-line-item {
    margin-right: 2rem;
}

.product-list-filter-line-item.end {
    margin-right: 0;
}

.product-list {
    padding: 0;
}

@media (max-width: 991px) {
    .breadcrumb-item:first-of-type, .breadcrumb-item:not(:nth-last-of-type(2)) {
        display: none;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        transform: rotate(-180deg);
        margin-left: 0;
    }

    .breadcrumb-section:has(.breadcrumb-item:nth-last-of-type(2):first-of-type) {
        display: none;
    }
}

.mb-05 {
    margin-bottom: 4px;
}

.price-slider-filter .price-slider-input {
    width: 80px;
}

.price-slider-filter .price-slider-input input {
    width: 80px;
}

.price-slider-wrapper {
    padding-left: 100px;
    padding-right: 100px;
    min-height: 8px;
}

.product-list-section {
    padding: 0 2rem 0 2rem;
}

.product-list-filter-line {
    border-top: 1px solid #f1f1f1;
    padding-top: 1rem;
}

.product-list-filter-line-first {
    border-top: none!important;
    padding-top: 0!important;
}

.side-tabs .tab-content .check-styled input[type=checkbox] + label {
    margin-bottom: 4px;
}

.side-tabs .nav-tabs {
    border-bottom: 0;
    margin-bottom: 0;
}

.side-tabs .tab-content {
    min-height: 100px;
    border: 1px solid #e8e8e8;
}

.color-box {
    float: left;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.product-item-img {
    padding-bottom: 30px;
}

.product-item-color-list {
    flex-wrap: wrap;
    justify-content: center;
    max-width: calc(100% - 140px);
    margin: 8px auto 5px;
    display: flex;
    opacity: 1;
    transition: opacity 200ms;
}

.product-color-box {
    float: none;
    display: inline-block;
    width: 10px;
    height: 10px;
    overflow: hidden;
    margin: 0 2px 2px 0;
    position: relative;
    text-align: center;
    box-shadow: 0 1px 1px rgba(1, 1, 1, 0.2);
}

.product-color-box .product-color {
    display: block;
    width: 100%;
    height: 100%;
}

.product-color-box .product-color-second {
    position: absolute;
    top: 0;
    left: 5px;
    height: 16px;
    transform: rotate(45deg);
}

.product-list-content {
    width: calc(100% - 32rem);
    padding: 2rem 0 2rem 2rem;
}

.product-detail-content {
    width: calc(100% - 32rem);
    padding: 2rem 0 2rem 2rem;
}

.product-detail-top .h1 small {
    color: #939393;
    font-size: 2rem;
    font-weight: 500;
}

.badge {
    padding: 0.4rem 0.8rem;
}

.product-detail-tag-list .badge {
    font-size: 1.4rem;
    margin: 0 0.2rem 0.2rem 0;
}

.product-detail-tag-list .badge-default {
    background-color: #222222;
    color: #ffffff;
}

.product-detail-top p {
    font-size: 1.6rem;
    margin-bottom: 2.4rem;
}

.product-detail-main-left {
    width: 60%;
}

.product-detail-main-right {
    width: 40%;
}

.product-detail-main-left .swiper-wrapper {
    padding-bottom: 4rem;
}

.product-detail-main-left .swiper-pagination-bullet {
    width: 2.4rem;
    height: 0.8rem;
    border: none;
    background-color: #eeeeee;
}

.product-detail-main-left .swiper-pagination-bullet-active {
    background-color: #e32126;
}

.product-detail-variant h3 {
    text-transform: none;
}

.product-detail-variant-unavailable {
    opacity: 0.5;
}

.product-detail-variant-list {
    margin-left: -0.2rem;
    margin-right: -0.2rem;
}

.product-detail-variant-item {
    border: 1px solid #eeeeee;
    box-shadow: none;
    width: calc(25% - 0.4rem);
    height: auto;
    aspect-ratio: 1;
    margin: 0.2rem;
    transition: all 200ms;
}

.product-detail-variant-item:hover {
    border: 1px solid #aaaaaa;
}

@media (min-width: 1340px) {
    .product-detail-variant-item {
        width: calc(20% - 0.4rem);
    }
}

.product-detail-line {
    padding: 0.2rem 0;
}

.product-detail-main-right table th,
.product-detail-main-right table td {
    font-size: 15px;
    padding: 0.4rem 0.8rem;
    border-bottom: 1px solid #eeeeee;
    border-top: 1px solid #eeeeee;
    vertical-align: top;
}

.product-detail-main-right table th {
    width: 45%;
}

.product-detail-main-right table td {
    width: 55%;
}

table tr:nth-child(odd) {
    background: none;
}

.product-detail-top-headline {
    display: flex;
    justify-content: space-between;
}

.product-detail-brand {
    padding-top: 4px;
    height: 40px;
}

.product-detail-brand img {
    max-height: 100%;
}

.badge-stock {
    background-color: #1a1a1a;
    color: #fff;
    font-weight: 400;
}

.product-item-brand {
    position: absolute;
    right: 20px;
    bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 24px;
    width: 50px;
    pointer-events: none;
    z-index: 1;
}

.product-item-brand img {
    max-height: 100%;
    max-width: 100%;
    mix-blend-mode: multiply;
}

.product-detail-note-text p {
    font-size: 14px;
}

.product-detail-price-list {
    margin-left: -0.4rem;
    margin-right: -0.4rem;
}

.product-detail-price-item {
    margin: 0.4rem;
    width: calc(33.33% - 0.8rem);
}

.product-detail-order {
    margin: 0.4rem 0 2rem 0;
}

.product-detail-price-item span:nth-child(2) {
    transition: 0.2s;
    font-weight: 500;
}

.product-detail-price-item {
    background: #eeeeee;
}

.product-detail-price-item span {
    text-shadow: none;
    font-size: 14px;
}

.product-detail-price-item span:nth-child(2) {
    text-shadow: none;
    font-size: 16px;
    background: #666666;
}

.product-detail-price-list-sale .product-detail-price-item:not(:last-of-type) span:nth-child(2) {
    text-decoration: line-through;
}

.product-detail-price-list-sale .product-detail-price-item:last-of-type span:nth-child(2) {
    background: #e32126;
}

.table th.text-right,
.table td.text-right {
    text-align: right;
}

.table th {
    width: 100%;
}

.table th.w-60 {
    width: 60px;
    min-width: 60px;
    max-width: 60px;
}

.table th.w-80 {
    width: 80px;
    min-width: 80px;
    max-width: 80px;
}

.table th.w-100 {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}

.table th.w-120 {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}

.table th.w-140 {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
}

.table th.w-160 {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
}

.table th.wm-150 {
    min-width: 150px;
}

@media (min-width: 768px) {
    .modal-md {
        --bs-modal-width: 700px;
        --bs-modal-padding: 20px;
    }
}

@media (min-width: 1200px) {
    .modal-xl {
        --bs-modal-width: 1100px;
        --bs-modal-padding: 20px;
    }
}

@media (max-width: 1399px) {
    .modal-dialog.modal-xxl {
        max-width: 100%;
        width: 100%;
        height: 100%;
        margin: 0;
    }

    .modal-dialog.modal-xxl .modal-content {
        min-height: 100vh;
        border: none;
        border-radius: 0;
    }
}

@media (min-width: 1400px) {
    .modal-xxl {
        --bs-modal-width: 1300px;
        --bs-modal-padding: 20px;
    }
}

.table-compact th,
.table-compact td {
    font-size: 14px;
}

.table-colored th {
    background-color: #e32126;
    color: #ffffff;
    border-color: #e32126;
    font-weight: 500;
}

.table-colored td {
    border-color: #eeeeee;
}

.table-hovered td:hover {
    background: #eeeeee;
}

.table-colored .tr-active td {
    background-color: #eeeeee;
    color: #000000;
}

.table-colored .td-disabled {
    color: #dddddd;
}

.table-colored .td-gray {
    color: #aaaaaa;
}

.table-responsive-card {
    margin-bottom: 0;
}

.table-responsive-card thead th {
    text-align: right;
    font-size: 15px;
}

.table-responsive-card tbody td {
    border-color: #eeeeee;
}

.table-responsive-card-label {
    background-color: #f5f5f5;
    font-weight: 500;
    width: 50%;
}

.table-responsive-card-active thead th {
    background-color: #b81a1e;
}

@media (max-width: 991px) {
    #modal-orderItemForm .modal-dialog {
        max-width: 100%;
        margin: 0;
    }

    #modal-orderItemForm .modal-body {
        padding: 1rem;
    }

    .order-item-form-add-variants-list-inner .order-item-form-add-variants-item {
        flex-basis: calc(16.666% - 4px);
    }

    .table-order-item-form thead {
        display: none;
    }

    .table-order-item-form tbody tr {
        display: block;
        margin-bottom: 0;
    }

    .table-order-item-form tbody tr.tr-hidden {
        display: none;
    }

    .table-order-item-form tbody tr.order-item-form-print:not(.active) {
        display: none;
    }

    .table-order-item-form tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.4rem 0.8rem;
        border-bottom: 1px solid #eeeeee;
        min-width: 0;
        max-width: none;
        width: auto;
    }

    .table-order-item-form tbody td::before {
        content: attr(data-label);
        font-weight: 500;
        flex-shrink: 0;
        background: #f5f5f5;
        padding: 0.3rem 0.6rem;
        border-radius: 3px;
        font-size: 13px;
        min-width: 50px;
        text-align: center;
    }

    .table-order-item-form tbody td.td-color-header {
        background: #e32126;
        color: #ffffff;
        font-weight: 500;
        justify-content: flex-start;
        gap: 0.8rem;
        padding: 0.5rem 0.8rem;
    }

    .table-order-item-form tbody td.td-color-header::before {
        display: none;
    }

    .table-order-item-form tbody td.td-color-header img {
        width: 40px;
        height: auto;
        border-radius: 3px;
    }

    .table-order-item-form tbody td.td-size-empty {
        display: none;
    }

    .table-order-item-form tbody td.td-size {
        flex-wrap: nowrap;
    }

    .table-order-item-form tbody td.td-size::before {
        flex: 1 1 auto;
        text-align: left;
        background: none;
        padding-left: 0;
    }

    .table-order-item-form tbody td.td-size .form-control {
        flex: 0 0 70px;
        width: 70px;
        padding: 0.25rem 0.4rem;
        font-size: 13px;
        margin: 0 0.6rem;
    }

    .table-order-item-form tbody td.td-size > div[id] {
        flex: 0 0 100px;
        text-align: right;
    }

    .table-order-item-form tbody td.td-size small {
        font-size: 12px;
    }

    .table-order-item-form tbody td.td-total {
        background: #f9f9f9;
    }

    .table-order-item-form tbody td.td-total::before {
        text-align: left;
        background: none;
        padding-left: 0;
    }

    .table-order-item-form-services tbody {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .table-order-item-form-services tbody tr {
        border: 1px solid #eeeeee;
        border-radius: 4px;
    }

    .table-order-item-form-services tbody td {
        flex-wrap: nowrap;
    }

    .table-order-item-form-services tbody td::before {
        background: none;
        text-align: left;
        padding-left: 0;
        flex: 0 0 auto;
        min-width: 80px;
    }

    .table-order-item-form-services tbody td .form-select {
        flex: 1;
        min-width: 0;
        font-size: 13px;
        margin-left: 1rem;
    }
}

@media (max-width: 767px) {
    .order-item-form-add-variants-list-inner .order-item-form-add-variants-item {
        flex-basis: calc(20% - 4px);
    }
}

@media (max-width: 575px) {
    .order-item-form-add-variants-list-inner .order-item-form-add-variants-item {
        flex-basis: calc(25% - 4px);
    }
}

@media (max-width: 420px) {
    .order-item-form-add-variants-list-inner .order-item-form-add-variants-item {
        flex-basis: calc(33.333% - 4px);
    }
}

.modal .btn-close {
    color: #666666;
    font-size: 2.4rem;
}

.tooltip-inner {
    max-width: 300px;
}

*:active,
*:focus {
    outline: none;
}

.hidden {
    display: none;
}

.btn-submit {
    display: none;
}

.form-control {
    background-color: #ffffff;
    box-shadow: none!important;
    border: 1px solid #dddddd;
    transition: border 200ms;
    padding: 12px;
    line-height: 1.4;
    font-size: 16px;
}

.form-control:focus {
    border-color: #aaaaaa;
}

.form-group.has-error .form-control {
    border-color: #e32126;
}

.form-group {
    position: relative;
    margin-bottom: 1.6rem;
}

.help-block {
    font-size: 12px;
    line-height: 1;
    position: absolute;
    bottom: 42px;
    right: 0;
    padding: 4px 8px 3px;
    background-color: #e32126;
    color: #ffffff!important;
}

.btn {
    font-weight: 500;
    font-size: 16px;
}

.modal h2 small {
    color: #939393;
    font-size: 1.6rem;
    font-weight: 500;
}

.alertify {
    font-family: "Carlito", "Calibri", Arial, helvetica, sans-serif;
}

.alertify .btn-success {
    color: #ffffff;
}

.alertify-logs {
    padding: 0;
}

.alertify-logs a {
    color: #ffffff;
}

.alert-default {
    background-color: #fafafa;
    border: 1px solid #eeeeee;
}

.alert p:last-of-type {
    margin-bottom: 0;
}

.product-list-demand-form {
    margin-top: 24px;
    max-width: 500px;
}

.form-control.text-right {
    text-align: right;
}

.table-order-item-form {
    margin-bottom: 0;
}

.table-order-item-form th,
.table-order-item-form td {
    padding: 4px 8px;
}

.table-order-item-form td {
    vertical-align: middle;
    border: 1px solid #eeeeee;
}

.table-order-item-form td.td-gray {
    background-color: #fafafa;
    color: #1c1c1f;
}

.table-order-item-form td.td-gray small {
    color: #999999;
}

.table-order-item-form img {
    width: 60px;
    margin-right: 8px;
}

.table-order-item-form .form-control {
    padding: 4px;
    height: 32px;
    margin-bottom: 4px;
}

.table-order-item-form .form-select {
    height: 32px;
    background-color: #ffffff;
    border: 1px solid #dddddd;
}

.table-order-item-form .form-control::placeholder {
    color: #aaaaaa;
}

.order-item-form-add-variants {
    margin-bottom: 24px;
}

.order-item-form-add-variants-top {
    background-color: #999999;
    padding: 4px 8px;
    font-size: 14px;
    border: 1px solid #999999;
    color: #ffffff;
    margin-bottom: 2px;
}

.order-item-form-add-variants-top a {
    color: #ffffff;
    text-decoration: none;
}

.order-item-form-add-variants-list {
    display: none;
}

.order-item-form-add-variants-list-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    margin-left: -2px;
    margin-right: -2px;
}

.order-item-form-add-variants-item {
    flex-basis: calc(10% - 4px);
    margin: 2px;
    padding: 4px;
    border: 1px solid #eeeeee;
    text-align: center;
    text-decoration: none;
    transition: all 200ms;
}

.order-item-form-add-variants-item:hover,
.order-item-form-add-variants-item.active {
    border: 1px solid #aaaaaa;
}

.order-item-form-add-variants-item img {
    width: 100%;
}

.order-item-form-add-variants-item p {
    color: #1c1c1f;
    font-size: 12px;
    margin-bottom: 0;
}

.order-item-form-total {
    text-align: right;
    font-size: 20px;
    margin-bottom: 24px;
}

.order-item-form-buttons {
    text-align: right;
}

.text-gray {
    color: #aaaaaa;
}

.tr-hidden {
    display: none;
}

.order-item-form-print {
    display: none;
}

.order-item-form-print.active {
    display: table-row;
}

.header-icon-item .cart-num {
    text-transform: none;
    top: -2rem;
}

.cart-table-count input {
    width: 80px;
}

.cart-table tbody .cart-table-product-variant-code {
    width: 12rem;
}

.cart-box {
    box-shadow: none;
    padding: 20px 0;
}

.cart-table-product-toggle-variant.open:after {
    content: none;
}

.cart-table th {
    font-weight: normal;
    color: #666666;
    font-size: 14px;
}

.cart-table tbody td:nth-child(1) {
    padding-left: 2rem;
}

.cart-table thead th:nth-child(1) {
    padding-left: 2rem;
}

.cart-table-product-tr td {
    background-color: #fafafa;
    color: #1c1c1f;
}

.cart-table tbody td .cart-table-product {
    padding-top: 8px;
    padding-bottom: 8px;
}

.cart-table tbody td .cart-table-product-name {
    color: #1c1c1f;
    text-decoration: none;
    margin-bottom: 4px;
    display: inline-block;
}

.cart-table tbody td .cart-table-product p {
    color: #1c1c1f;
    line-height: 1.5;
}

.cart-table tbody td {
    border-color: #eeeeee;
    min-height: 44px;
}

.cart-table .td-gray {
    background-color: #fafafa;
    color: #1c1c1f;
}

.cart-table tbody .cart-table-product-variant-tr td {
    font-size: 14px;
    line-height: 1.5;
}

.cart-table tbody .cart-table-product-variant {
    align-items: center;
}

.cart-table tbody .cart-table-product-variant-img {
    width: 40px;
    height: 40px;
    margin-top: -10px;
    margin-bottom: -10px;
}

.cart-table strong {
    color: #1c1c1f;
}

.check-styled input[type=checkbox] + label {
    padding-left: 28px;
}

.cart-table-price-select label {
    min-width: 17rem;
}

.cart-table-price-select .form-select {
    width: 40rem;
}

.form-select {
    background-color: #ffffff;
    border: 1px solid #dddddd;
}

.form-select:focus {
    border-color: #aaaaaa;
}

.check-styled input[type=checkbox] + label:before {
    background-color: #ffffff;
}

.cart-table-print-note {
    width: 50%;
}

.cart-table-print .cart-table-count input {
    width: 100%;
}

.cart-checkout-part {
    max-width: 900px;
    width: 900px;
    background-color: #fafafa;
    padding: 32px 24px 16px;
    margin: 0 auto 16px;
}

.order-company-warning {
    margin-top: 12px;
    padding: 12px 16px;
    background-color: #fff5e5;
    border-left: 3px solid #f0a050;
    color: #6a4a1a;
    font-size: 1.4rem;
    line-height: 1.4;
}

.form-group label {
    color: #6c6c6c;
    font-size: 14px;
}

.form-group-info {
    margin-top: 24px;
    color: #6c6c6c;
    font-size: 14px;
    min-height: 42px;
    display: flex;
    align-items: center;
}

.form-group-info p {
    margin-bottom: 0;
}

.h2-with-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.h2-with-checkbox h2 {
    margin-bottom: 0;
    margin-right: 20px;
}

.btn-lg {
    font-size: 18px;
    padding: 1.2rem 3rem;
}

.info-note {
    color: #6c6c6c;
    font-size: 14px;
}

.info-note a {
    color: #6c6c6c;
}

.cart-thanks {
    background-color: transparent;
    margin-bottom: 0;
}

.cart-thanks h1 {
    margin-bottom: 40px;
}

.cart-thanks p {
    margin-bottom: 32px;
    color: #666666;
}

.cart-thanks p strong {
    color: #1c1c1f;
}

.cart-thanks .perex p {
    font-size: 20px;
    font-weight: normal;
    color: #1c1c1f;
}

.footer-text {
    color: #cccccc;
    line-height: 1.5;
}

.footer-text h3 {
    margin-bottom: 2.2rem;
    font-size: 1.8rem;
    color: #ffffff;
}

.footer-text strong {
    color: #ffffff;
}

.footer-top a {
    color: #ffffff;
}

.footer-right-col {
    border-color: #505050;
}

.footer-right-col h3 {
    text-transform: none;
}

.footer-right-col p strong {
    color: #ffffff;
}

.footer-right-col p a {
    color: #ffffff;
}

.footer-right-col ul {
    padding-top: 1px;
}

.footer-right-col ul li {
    line-height: 1;
    margin-bottom: 8px;
}

.footer-right-col ul li a {
    color: #cccccc;
    line-height: 1.4;
}

.footer-bottom p {
    color: #cccccc;
}

.footer-bottom-col-center a {
    color: #cccccc;
}

.footer-bottom-col-right a {
    color: #ffffff;
}

.footer-bottom-col-center ul {
    list-style: none;
    margin-bottom: 0;
}

.footer-bottom-col-center ul li {
    display: inline-block;
    margin: 0 8px;
}

.primary-box p {
    font-size: 1.4rem;
    max-width: 20rem;
}

.primary-box .btn {
    font-size: 1.5rem;
}

.simple-news-item-img {
    box-shadow: none;
}

.newsletter-box {
    box-shadow: none;
    border: 1px solid #eeeeee;
}

.newsletter-box p {
    font-size: 1.4rem;
}

.newsletter-box .btn {
    font-size: 1.5rem;
}

.advantage-swiper-section .swiper-button-prev,
.advantage-swiper-section .swiper-button-next {
    margin-top: 0;
}

.news-item-img img {
    height: auto;
}

.news-section {
    padding: 2rem;
}

.news-section.simple-news-section .simple-news-list,
.news-detail-sidebar .simple-news-list {
    width: 100%;
}

.news-section.simple-news-section .simple-news-item {
    margin-bottom: 2.4rem;
}

.news-detail-sidebar .simple-news-item {
    width: 100%;
    margin-bottom: 2rem;
}

.news-item-date {
    font-size: 1.5rem;
}

.news-item h3 {
    font-size: 1.8rem;
}

.news-item p {
    font-size: 1.5rem;
}

.callout p {
    margin-bottom: 0.5rem;
    font-size: 2.4rem;
    font-weight: bold;
}

.news-detail-section {
    padding: 2rem;
}

@media (min-width: 992px) {
    .news-detail-content {
        width: calc(100% - 30rem);
    }

    .news-detail-sidebar {
        width: 30rem;
    }

    .swiper-section {
        padding: 0 2rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}

.text-section {
    padding: 2rem;
}

.text-section p {
    color: #1c1c1f;
}

.technologies-item {
    border: 1px solid #eeeeee;
    background-color: #fcfcfc;
    margin-bottom: 20px;
    padding: 30px 20px 10px;
}

.technologies-item:first-of-type {
    margin-top: 20px;
}

.technologies-item table tr:last-of-type td {
    border: none;
}

.benefits-detail {
    display: flex;
}

.benefits-text {
    flex-basis: 70%
}

.benefits-icon {
    flex-basis: 30%;
    padding: 20px 0 40px 40px;
}

.faq-menu {
    margin-top: 24px;
    margin-bottom: 24px;
}

.faq-menu-item {
    margin-bottom: 16px;
}

.faq-menu-item p {
    margin-bottom: 8px;
}

.faq-menu-item li {
    font-size: 1.5rem;
}

.faq-category {
    padding: 24px 0;
}

.faq-category h2 {
    margin-bottom: 40px;
}

.faq-item {
    margin-bottom: 40px;
}

.words-list {
    border-right: 1px solid #eeeeee;
    min-height: 100%;
    padding: 0 20px 0 0;
}

.words-list a {
    display: block;
    color: #1c1c1f;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 12px;
    transition: all 200ms;
    margin-bottom: 4px;
}

.words-list a.active,
.words-list a:hover {
    background-color: #e32126;
    color: #ffffff;
}

.contact-section {
    padding: 2rem;
}

.contact-info p {
    margin-bottom: 1.6rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-map {
    margin-top: 2rem;
}

.contact-map iframe {
    display: block;
    width: 100%;
}

@media (max-width: 991px) {
    .contact-section {
        padding: 1.2rem;
    }

    .contact-map iframe {
        height: 320px;
    }
}

.mascot-dictionary {
    max-width: 480px;
    float: right;
    margin: 20px;
}

.order-detail-section {
    padding: 2rem;
}

.order-detail-group {
    border: 1px solid #eeeeee;
    padding: 2rem;
    margin-bottom: 2rem;
}

.order-detail-info {
    margin-bottom: 3.2rem;
}

.order-detail-info span {
    display: inline-block;
    width: 200px;
    color: #aaaaaa;
}

.order-detail-info .badge {
    padding: 4px 8px;
    font-size: 15px;
}

.modal-login-content h2 {
    margin-bottom: 2.4rem;
}

#frm-loginForm-_submit_message {
    display: none;
}

.modal-login-col {
    padding: 2.4rem;
}

.modal-reg-col {
    background: #fafafa;
    border-left: 1px solid #eeeeee;
    padding: 2.4rem;
}

.modal-reg-col .reg-img {
    margin-top: 115px;
}

.modal-body {
    padding: 2.4rem;
}

#modal-login .modal-body {
    padding: 0;
}

.user-section {
    padding: 2rem;
}

.left-submenu {
    border-right: 1px solid #eeeeee;
    min-height: 100%;
    padding: 0 20px 0 0;
}

.left-submenu a {
    display: block;
    color: #1c1c1f;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 12px;
    transition: all 200ms;
    margin-bottom: 4px;
}

.left-submenu a.active,
.left-submenu a:hover {
    background-color: #e32126;
    color: #ffffff;
}

.order-list {
    margin-top: 2.4rem;
    margin-bottom: 2.4rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.6rem;
    margin-bottom: 0.8rem;
    border: 1px solid #eeeeee;
}

.order-item-name {
    font-weight: bold;
    color: #1c1c1f;
    text-decoration: none;
    flex-basis: 240px;
    margin-right: 2.4rem;
}

.order-item-date {
    flex-basis: 160px;
    color: #aaaaaa;
    font-size: 14px;
    margin-right: 2.4rem;
}

.order-item-status {
    margin-right: 2.4rem;
}

.order-item-price {
    font-weight: bold;
    flex-grow: 1;
    text-align: right;
}

.user-section .order-detail-container .order-detail-group {
    padding: 2rem 0;
    border: none;
}

.user-settings-box {
    display: flex;
    align-items: center;
}

.user-settings-box .btn {
    margin-right: 3.2rem;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .product-list-top h1 {
        font-size: 2.4rem;
    }

    .product-list .col {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .product-list-section .row-cols-lg-3 > * {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    /* Product detail: single column layout */
    .product-detail-main {
        flex-direction: column !important;
    }

    .product-detail-main-left,
    .product-detail-main-right {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 0 !important;
    }

    .product-detail-swiper {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .product-detail-variant-item {
        width: calc(16.666% - 0.4rem) !important;
        height: auto !important;
        aspect-ratio: 1;
    }

    /* Order form: smaller column widths */
    .table-order-item-form th.w-100,
    .table-order-item-form td.w-100 {
        width: 75px !important;
        min-width: 75px !important;
        max-width: 75px !important;
    }

    .table-order-item-form th.w-120,
    .table-order-item-form td.w-120 {
        width: 85px !important;
        min-width: 85px !important;
        max-width: 85px !important;
    }

    .table-order-item-form th.wm-150,
    .table-order-item-form td.wm-150 {
        min-width: 110px !important;
    }

    .table-order-item-form th.wm-200,
    .table-order-item-form td.wm-200 {
        min-width: 140px !important;
    }

    .table-order-item-form th.wm-100,
    .table-order-item-form td.wm-100 {
        min-width: 70px !important;
    }

    .table-order-item-form .form-control,
    .table-order-item-form .form-select {
        font-size: 12px !important;
        padding: 0.2rem 0.3rem !important;
    }

    .table-order-item-form td {
        font-size: 12px !important;
    }
}


@media (max-width: 991px) {
    html {
        font-size: 62.5% !important;
    }

    .swiper-slide-text p {
        display: none;
    }

    .swiper-section {
        padding: 0 1.2rem !important;
        margin-top: 1.2rem !important;
    }

    .primary-box-section {
        margin-top: 1.2rem !important;
        margin-bottom: 2rem !important;
        padding-left: 1.2rem !important;
        padding-right: 1.2rem !important;
    }

    .primary-box-section .row {
        --bs-gutter-x: 0.8rem;
    }

    section {
        padding: 0 1.2rem;
    }

    .product-list-section {
        padding: 0 1.2rem !important;
    }

    /* Product listing: full width without sidebar */
    .product-list-content {
        width: 100% !important;
        padding: 1.2rem 0 !important;
    }

    .product-detail-content {
        width: 100% !important;
        padding: 1.2rem 0 !important;
    }

    /* Product detail: mobile layout */
    .product-detail-main-left,
    .product-detail-main-right {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-right: 0 !important;
    }

    .product-detail-swiper {
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }

    .product-detail-variant-item {
        width: calc(16.666% - 0.4rem) !important;
        height: auto !important;
        aspect-ratio: 1;
        margin: 0.2rem !important;
    }

    .product-detail-variant-list {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .product-detail-variant h3 {
        font-size: 1.6rem;
    }

    /* ========================================
       Cart: mobile layout
       Base unit: 12px padding, 14px body text
       ======================================== */

    .cart-section {
        padding: 0 !important;
        margin-top: 1.5rem;
    }

    .cart-section h1 {
        font-size: 2rem;
        margin-bottom: 12px;
        padding: 0 1.2rem;
    }

    .cart-box {
        padding: 0 !important;
        margin-bottom: 1.2rem !important;
    }

    /* --- Base table → flex transformation (extends style.css 767px rule to 991px) --- */
    .cart-table table {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .cart-table table thead {
        display: none !important;
    }

    .cart-table table tbody {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .cart-table table tr {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        padding: 12px !important;
        margin-bottom: 0 !important;
        border: none !important;
        border-radius: 0 !important;
    }

    .cart-table table tr td {
        width: 100%;
        display: block;
        border: none !important;
        padding-left: 0;
        padding-right: 0;
    }

    .cart-table tbody td {
        padding: 2px 0 !important;
        min-height: 32px !important;
    }

    .cart-table tbody td:nth-child(1) {
        padding-left: 0 !important;
    }

    .cart-table-strong {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    /* --- Product summary card --- */
    .cart-table table .cart-table-product-tr {
        background: #f7f7f7 !important;
        border-top: 1px solid #eee !important;
        border-bottom: 1px solid #eee !important;
        padding: 0 !important;
    }

    .cart-table tbody .cart-table-product-tr td {
        padding: 2px 12px !important;
        min-height: 0 !important;
    }

    .cart-table tbody .cart-table-product-tr td:first-child {
        padding-top: 12px !important;
    }

    .cart-table tbody .cart-table-product-tr td:last-child {
        padding-bottom: 12px !important;
    }

    .cart-table tbody td .cart-table-product {
        padding: 0 !important;
        margin-bottom: 4px;
    }

    .cart-table tbody td .cart-table-product-name {
        font-size: 15px;
        font-weight: 700;
        color: #1c1c1f;
        margin-bottom: 2px;
    }

    .cart-table tbody td .cart-table-product p {
        font-size: 12px;
        color: #888;
        margin-bottom: 6px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .cart-table-product-tr .cart-table-td-qty,
    .cart-table-product-tr .cart-table-td-price-mj,
    .cart-table-product-tr .cart-table-td-price-total {
        display: none !important;
    }

    .cart-table tbody .cart-table-product-tr .cart-table-td-summary {
        display: block !important;
        padding-bottom: 12px !important;
    }

    .cart-table-summary-row {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        font-size: 14px;
        color: #888;
    }

    .cart-table-summary-row span:first-child {
        margin-right: auto;
    }

    .cart-table-summary-row span:nth-child(2) {
        font-size: 12px;
        min-width: 100px;
        text-align: right;
    }

    .cart-table-summary-row span:first-child {
        font-weight: 700;
        color: #1c1c1f;
    }

    .cart-table-summary-total {
        font-weight: 700;
        color: #1c1c1f;
        min-width: 100px;
        text-align: right;
    }

    .cart-table-product-tr > td:last-child {
        display: none !important;
    }

    .cart-table-action-inline {
        display: flex !important;
        gap: 12px;
        font-size: 15px;
    }

    .cart-table-action-inline a {
        color: #888;
        text-decoration: none;
        margin: 0 !important;
    }

    .cart-table-product-name-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 4px;
    }

    .cart-table-action:not(.cart-table-action-inline) {
        display: flex !important;
        gap: 16px;
        justify-content: flex-end;
        font-size: 15px;
        padding-top: 4px !important;
    }

    .cart-table-action a {
        color: #bbb;
        text-decoration: none;
    }

    /* --- Variant & service rows --- */
    .cart-table tbody .cart-table-product-variant-tr {
        padding: 10px 12px 0 12px !important;
        flex-direction: column !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }

    .cart-table tbody .cart-table-product-variant-tr td {
        font-size: 13px;
        padding: 1px 0 !important;
        width: 100% !important;
    }

    .cart-table tbody .cart-table-product-variant-tr td:first-child {
        padding-top: 4px !important;
    }

    .cart-table tbody .cart-table-product-variant {
        gap: 8px;
        flex-wrap: nowrap;
        align-items: flex-start;
        margin-bottom: 4px;
    }

    .cart-table tbody .cart-table-product-variant-img {
        width: 36px !important;
        height: 36px !important;
        flex-shrink: 0;
        overflow: hidden;
    }

    .cart-table tbody .cart-table-product-variant-img:empty {
        display: none;
    }

    .cart-table tbody .cart-table-product-variant-code {
        display: none !important;
    }

    .cart-table tbody .cart-table-product-variant-name {
        font-size: 13px;
        font-weight: 600;
        color: #1c1c1f;
    }

    .cart-table tbody .cart-table-product-variant-img:empty + .cart-table-product-variant-code + .cart-table-product-variant-name {
        padding-left: 0 !important;
    }

    /* Hide original variant qty/price/action TDs on mobile */
    .cart-table-product-variant-tr .cart-variant-td-qty,
    .cart-table-product-variant-tr .cart-variant-td-price-mj,
    .cart-table-product-variant-tr .cart-variant-td-price-total,
    .cart-table-product-variant-tr .cart-variant-td-action {
        display: none !important;
    }

    .cart-variant-action-inline {
        display: block !important;
        margin-left: auto;
    }

    .cart-variant-action-inline a {
        color: #888;
        text-decoration: none;
        font-size: 14px;
        margin: 0 !important;
    }

    .cart-service-detail {
        display: none;
    }

    .cart-table tbody .cart-table-product-variant-tr .cart-variant-td-summary {
        display: block !important;
        padding-bottom: 8px !important;
    }

    .cart-variant-summary-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 13px;
        color: #888;
    }

    .cart-variant-summary-row .cart-table-count,
    .cart-variant-summary-row > span:first-child {
        margin-right: auto;
    }

    .cart-variant-summary-mj {
        font-size: 12px;
        min-width: 100px;
        text-align: right;
    }

    .cart-variant-summary-total {
        font-weight: 700;
        color: #1c1c1f;
        min-width: 100px;
        text-align: right;
    }

    .cart-table-count {
        margin-bottom: 2px;
    }

    .cart-table-count input {
        width: 52px;
        font-size: 14px;
        padding: 4px 6px;
        border: 1px solid #ddd;
    }

    /* --- Price/summary rows --- */
    .cart-table .cart-table-price-tr {
        padding: 10px 12px !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: flex-start;
        justify-content: space-between;
        border-bottom: 1px solid #f0f0f0 !important;
    }

    .cart-table .cart-table-price-tr td {
        padding: 2px 0 !important;
        min-height: 0 !important;
    }

    .cart-table .cart-table-price-tr td:first-child {
        flex: 1 1 auto !important;
        width: auto !important;
        text-align: left !important;
    }

    .cart-table .cart-table-price-tr td:first-child .cart-table-strong {
        justify-content: flex-start !important;
    }

    .cart-table .cart-table-price-tr td.text-end,
    .cart-table .cart-table-price-tr td[colspan].text-end {
        flex: 0 0 120px !important;
        width: 120px !important;
        text-align: right;
    }

    .cart-table .cart-table-price-tr td:last-child {
        display: none !important;
    }

    .cart-table .cart-table-price-tr td.td-gray {
        flex: 1 1 0% !important;
        min-width: 0 !important;
        background: transparent !important;
        text-align: left !important;
    }

    /* Select rows (country, shipping, payment) */
    .cart-table-price-select {
        display: flex !important;
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .cart-table-price-select label {
        min-width: auto !important;
        font-size: 13px;
        font-weight: 600;
        color: #1c1c1f;
        text-align: left;
    }

    .cart-table-price-select .form-select {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 12px;
        padding: 4px 10px;
        height: auto !important;
        border: 1px solid #ddd;
        box-sizing: border-box;
    }

    /* Subtotal row */
    .cart-table .cart-table-price-tr:first-of-type {
        border-top: 2px solid #eee !important;
        margin-top: 0 !important;
    }

    /* Big total (Celková cena bez DPH) */
    .cart-table .cart-table-price-big {
        background: #1c1c1f !important;
        margin: 0 !important;
        padding: 12px !important;
        border: none !important;
    }

    .cart-table .cart-table-price-big td {
        background: transparent !important;
    }

    .cart-table .cart-table-price-big .cart-table-strong {
        font-size: 15px !important;
        color: #fff !important;
        font-weight: 700;
    }

    /* Small total rows (DPH, vč. DPH) */
    .cart-table .cart-table-price-small {
        padding: 8px 12px !important;
        border-bottom: 1px solid #f5f5f5 !important;
    }

    .cart-table .cart-table-price-small .cart-table-strong {
        font-size: 13px !important;
        color: #888 !important;
        font-weight: 400;
    }

    .cart-table .cart-table-price-big td[colspan],
    .cart-table .cart-table-price-small td[colspan] {
        text-align: left !important;
        flex: 1 1 auto !important;
        width: auto !important;
    }

    .cart-table .cart-table-price-big td.text-end,
    .cart-table .cart-table-price-small td.text-end {
        flex: 0 0 120px !important;
        width: 120px !important;
        text-align: right !important;
    }

    .cart-table .cart-table-price-big td[colspan] .cart-table-strong,
    .cart-table .cart-table-price-small td[colspan] .cart-table-strong {
        justify-content: flex-start !important;
    }

    .cart-table-print table thead {
        display: block !important;
    }

    .cart-table-print table thead tr {
        padding: 8px 12px !important;
        border: none !important;
    }

    .cart-table-print table thead th {
        font-size: 13px;
        font-weight: 400;
        color: #888;
        padding: 0 !important;
        border: none !important;
    }

    .btn-file {
        display: block;
        text-align: left;
    }

    .cart-table-print .cart-table-price-tr:first-of-type {
        border-top: 1px solid #f0f0f0 !important;
        margin-top: 0 !important;
    }

    .cart-table-print-row {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .cart-table-print-row td {
        width: 100% !important;
        flex: none !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .cart-table-print-row .cart-print-td-action {
        display: none !important;
    }

    .cart-table-print-name-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .cart-print-action-inline {
        display: flex !important;
        gap: 12px;
        font-size: 14px;
    }

    .cart-print-action-inline a {
        color: #888;
        text-decoration: none;
        margin: 0 !important;
    }

    .cart-table .cart-table-print-row td.cart-table-print-note {
        background: transparent !important;
        flex: none !important;
        width: 100% !important;
        padding-top: 6px !important;
    }

    .cart-table-print-row .cart-table-print-note input {
        width: 100% !important;
        box-sizing: border-box;
        margin-right: 0 !important;
    }

    /* Discount checkbox */
    .check-styled input[type=checkbox] + label {
        font-size: 13px;
        line-height: 1.4;
    }

    /* Print notes & data upload */
    .cart-table-print-note {
        width: 100%;
    }

    /* Checkout form */
    .cart-checkout-part {
        width: 100%;
        max-width: 100%;
        padding: 16px 12px 12px;
    }

    .cart-checkout-part h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .cart-checkout-part .form-group {
        margin-bottom: 16px;
    }

    .cart-checkout-part .row {
        --bs-gutter-y: 0;
    }

    .cart-checkout-part .form-group-info {
        min-height: 0;
        margin-top: -8px;
        margin-bottom: 16px;
        font-size: 12px;
        line-height: 1.35;
    }

    .cart-checkout-part .form-group-info:not(:has(*)) {
        display: none;
    }

    .cart-checkout-part .form-group-info p {
        margin-top: -2px;
    }

    .cart-checkout-section .info-note {
        font-size: 12px;
    }

    .cart-checkout-section form .text-center:has(button[type=submit]) {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* CTA button */
    .btn-lg {
        font-size: 16px;
        font-weight: 600;
        padding: 12px 24px;
        width: 100%;
    }

    /* Text pages with tables: reduce side padding, scrollable tables */
    .text-section {
        padding: 1.5rem 1.2rem;
    }

    .technologies-item {
        padding: 16px 12px 8px;
        margin-left: -1.2rem;
        margin-right: -1.2rem;
    }

    .technologies-item h2 {
        font-size: 18px;
    }

    .technologies-item .table-responsive .table {
        margin-bottom: 0;
    }

    /* News detail: stack content/sidebar up to 991px */
    .news-detail-box {
        flex-direction: column;
    }

    .news-detail-content {
        width: 100%;
        padding-right: 0;
    }

    .news-detail-sidebar {
        width: 100%;
        margin-top: 3rem;
    }

    /* ========================================
       Order detail: mobile layout
       ======================================== */

    .order-detail-section {
        padding: 1.5rem 0 !important;
    }

    .order-detail-container > h1 {
        font-size: 20px;
        padding: 0 1.2rem;
        margin-bottom: 12px;
    }

    .order-detail-container .order-detail-group {
        padding: 12px;
        margin-bottom: 12px;
        border-left: none;
        border-right: none;
    }

    .order-detail-container .order-detail-group h2 {
        font-size: 18px;
        margin-bottom: 10px;
        padding: 0 !important;
    }

    .order-detail-info span {
        width: auto !important;
        margin-right: 6px;
    }

    .order-detail-info {
        margin-bottom: 1.2rem !important;
        font-size: 14px;
    }

    .order-detail-container .order-detail-group .row .col-sm-6 {
        margin-bottom: 12px;
    }

    .order-detail-container .order-detail-group .row .col-sm-6:last-child {
        margin-bottom: 0;
    }

    .order-detail-container .order-detail-group p {
        font-size: 14px;
        line-height: 1.45;
        margin-bottom: 8px;
    }

    /* Price total rows: override cart's last-child hide (which targets empty 3rd td — order detail has only 2) */
    .order-detail-container .cart-table .cart-table-price-tr > td:last-child {
        display: block !important;
        flex: 0 0 auto !important;
        width: auto !important;
    }

    /* Main product row uses a single colspan td — override cart's last-child hide */
    .order-detail-container .cart-table .cart-table-product-tr > td[colspan] {
        display: block !important;
        flex: 1 1 100% !important;
        width: 100% !important;
    }

    /* Footer: mobile accordion layout */
    .footer-col-services, .footer-col-catalog {
        display: block !important;
    }

    .footer-right-list {
        flex-wrap: wrap;
    }

    .footer-right-col {
        width: 100% !important;
        border-left: none !important;
        border-top: 1px solid #505050;
        margin-top: 0.4rem;
        padding-top: 0.4rem;
        padding-left: 0;
        padding-right: 0;
    }

    .footer-right-col h3 {
        margin-bottom: 0;
        font-size: 14px;
    }

    .footer-right-col:last-child {
        width: 100% !important;
    }

    .footer-top {
        padding: 1rem 1.2rem !important;
    }

    .footer-col-text,
    .footer-col-right {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .footer-text {
        margin-bottom: 0 !important;
    }

    .footer-text.footer-accordion {
        padding-right: 0;
    }

    .footer-col-text {
        margin-bottom: 0 !important;
    }

    .footer-bottom {
        padding: 1.4rem 1.2rem !important;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        gap: 0;
    }

    .footer-bottom-copyright {
        margin-bottom: 0.6rem;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.2rem;
        margin-bottom: 0.6rem;
    }

    .footer-bottom-copyright,
    .footer-bottom-links li a,
    .footer-bottom-author {
        text-align: left;
    }

    .footer-bottom-copyright p,
    .footer-bottom-author p {
        margin-bottom: 0;
    }

    .footer-bottom p {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .footer-bottom-links li {
        margin-bottom: 4px;
    }

    /* Header: mobile style up to 991px */
    .header {
        padding: 0 !important;
    }

    .header-logo {
        width: 12rem;
        margin-right: 0;
    }

    .header-top {
        margin-bottom: 0 !important;
        flex-wrap: wrap;
        align-items: center;
        padding: 1.5rem 1.2rem 0 1.2rem;
    }

    .header-contact {
        display: none !important;
    }

    .header-menu {
        display: none !important;
    }

    .header-icon-list {
        align-items: center;
        margin-left: auto;
    }

    .header-icon-item i {
        font-size: 2.2rem !important;
        margin-bottom: 0 !important;
    }

    .header-icon-item span {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .header-search-toggle {
        display: none !important;
    }

    .header-search {
        display: flex !important;
        position: relative !important;
        order: 10;
        flex: 0 0 calc(100% + 2.4rem) !important;
        width: calc(100% + 2.4rem) !important;
        margin-left: -1.2rem;
        margin-right: -1.2rem !important;
        margin-top: 1.4rem;
        padding: 0 !important;
        z-index: auto !important;
    }

    .header-search form {
        width: 100%;
    }

    .header-search .input-group {
        position: relative;
        width: 100% !important;
    }

    .header-search .form-control {
        border: none !important;
        border-radius: 0 !important;
        background: #f2f2f2;
        font-size: 14px;
        padding: 1.2rem 4rem 1.2rem 1.2rem;
        flex: 1 1 100% !important;
        height: 4.4rem;
    }

    .header-search .form-control:focus {
        background: #eaeaea;
    }

    .header-search .btn-input-group {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        background: transparent !important;
        border: none !important;
        color: #999 !important;
        z-index: 5;
        width: 4rem;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .product-detail-variant-item {
        width: calc(20% - 0.4rem) !important;
    }
}

@media (max-width: 575px) {
    .product-detail-variant-item {
        width: calc(25% - 0.4rem) !important;
    }
}

@media (max-width: 420px) {
    .product-detail-variant-item {
        width: calc(33.333% - 0.4rem) !important;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .header-contact {
        display: flex !important;
        padding: 0;
        margin-left: auto;
        font-size: 1.2rem;
        align-items: flex-end;
        text-align: right;
    }

    .header-contact strong {
        font-size: 1.2rem;
    }

    .header-icon-list {
        margin-left: 1rem !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .header-text {
        display: block !important;
        font-size: 1.6rem;
        margin-left: 2rem;
    }

    .product-list .col {
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
    }

    .product-list-section .row-cols-1 > * {
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
    }
}

@media (max-width: 767px) {
    /* Global minimum font size 14px on mobile (1rem = 10px, 1.4rem = 14px) */
    html {
        font-size: 62.5% !important;
    }

    body {
        font-size: 1.4rem;
    }

    .btn {
        font-size: 14px;
    }

    .btn-small {
        font-size: 14px !important;
    }

    /* Section spacing */
    section {
        padding: 0 1.2rem;
    }

    .product-list-section {
        padding: 0 1.2rem;
    }

    h2, .h2 {
        font-size: 2.0rem;
    }

    /* Slider: same spacing as boxes, show text on mobile */
    .swiper-section {
        padding: 0 1.2rem !important;
        margin-top: 1.2rem !important;
        margin-bottom: 0 !important;
    }

    .swiper-slide-text {
        width: 55%;
        padding: 1.2rem !important;
    }

    .swiper-slide-text .h1 {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }

    .swiper-slide-text p {
        display: block !important;
        font-size: 1.4rem;
        margin-bottom: 1.6rem;
    }

    .swiper-slide-text .btn {
        font-size: 1.4rem;
        padding: 0.6rem 1.2rem;
    }

    /* Primary boxes: 2 columns, no icon, bigger text */
    .primary-box-section {
        margin-top: 1.2rem !important;
        margin-bottom: 2rem !important;
        padding-left: 1.2rem !important;
        padding-right: 1.2rem !important;
    }

    .primary-box-col {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        margin-bottom: 1.2rem !important;
    }

    .primary-box {
        min-height: 14rem;
    }

    .primary-box-icon {
        display: none;
    }

    .primary-box h4 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .primary-box p {
        font-size: 12px;
        max-width: none;
    }

    .primary-box .btn {
        font-size: 1.4rem;
    }

    /* Minimum 14px for small text elements */
    .badge {
        font-size: 11px !important;
    }

    .simple-news-item-date {
        font-size: 12px;
    }

    .simple-news-item-name {
        font-size: 14px;
        margin-bottom: 0;
    }

    .simple-news-item p {
        font-size: 12px;
    }

    .newsletter-box p {
        font-size: 1.4rem;
    }

    .newsletter-box .btn {
        font-size: 1.4rem;
    }

    .product-item-name {
        font-size: 1.4rem;
    }

    .advantage-item-text {
        font-size: 1.4rem;
    }

    /* Product listing page */
    .product-layout {
        padding: 0;
    }

    .product-list-filter-toggle {
        margin-bottom: 1rem;
    }

    .product-list-filter-toggle .btn {
        font-size: 1.4rem;
        padding: 0.8rem 1rem;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        background-color: #212529;
        color: #fff;
        border-color: #212529;
    }

    .product-list-filter-toggle .btn[aria-expanded="false"] .filter-toggle-arrow {
        transform: rotate(0deg);
        transition: transform 0.2s;
    }

    .product-list-filter-toggle .btn[aria-expanded="true"] .filter-toggle-arrow {
        transform: rotate(180deg);
        transition: transform 0.2s;
    }

    .product-list-filter {
        padding: 1rem !important;
        font-size: 1.4rem;
    }

    .product-list-filter-line-first {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .product-list-filter-line-first form:first-child {
        width: 100%;
    }

    .product-list-filter-line-first form:nth-child(2) {
        flex: 0 0 auto;
    }

    .product-list-filter-line-first .product-list-filter-line-item {
        margin-right: 0;
        margin-bottom: 0.8rem;
    }

    .product-list-filter-line-first .product-list-filter-line-item span {
        min-width: 7.5rem;
        display: inline-block;
    }

    .product-list-filter-line-first .product-list-filter-line-item .form-select {
        flex: 1;
    }

    .product-list-filter-line-first .product-list-filter-line-item.end {
        margin-left: auto;
        margin-bottom: 0.8rem;
    }

    .product-list .row {
        --bs-gutter-x: 0.8rem;
    }

    .product-list .col {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    /* Products: 2 per row on mobile (homepage) */
    .product-list-section .row {
        --bs-gutter-x: 0.8rem;
    }

    .product-list-section .row-cols-1 > * {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .product-item-img {
        padding-bottom: 1.5rem;
    }

    .product-item-name {
        font-size: 1.4rem;
    }

    .product-item-price {
        font-size: 1.4rem;
        padding: 0.8rem;
    }

    .product-item-color-list {
        position: static;
        max-width: none;
        padding: 0 0.5rem;
        margin-top: 0;
    }

    /* Noprofit: keep mascot visible */
    .noprofit {
        padding: 1.6rem;
    }

    .noprofit p {
        padding-right: 8rem;
        font-size: 1.4rem;
    }

    .noprofit-img {
        width: 9rem;
        right: 0.5rem;
    }

    .noprofit .count-item {
        width: 2.4rem;
        height: 3.6rem;
        font-size: 1.8rem;
    }

    /* Brands */
    .swiper-brand-item {
        padding: 0.4rem 1.2rem;
        margin-right: 0.4rem;
    }

    /* News section */
    .simple-news-item-img {
        width: 8rem;
        height: 8rem;
    }

    .simple-news-item-text {
        width: calc(100% - 8rem);
        padding-left: 1.2rem;
    }

    /* Benefits/advantages */
    .advantage-swiper-section .swiper-button-prev,
    .advantage-swiper-section .swiper-button-next {
        display: none;
    }

    .swiper-advantage {
        margin: 0 !important;
    }


    /* Footer columns */
    .footer-right-col {
        width: 100% !important;
    }

    .footer-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .noprofit-section {
        padding-top: 0!important;
        margin-top: 4px!important;
    }

    .brand-slider-section {
        padding-top: 12px!important;
    }

    .simple-news-section {
        padding-top: 12px!important;
        margin-bottom: 0!important;
    }

    .advantage-swiper-section {
        padding-top: 0!important;
        margin-bottom: 0!important;
    }

    .footer-text h3 {
        font-size: 14px;
    }

    .breadcrumb {
        padding: 0 1.2rem;
    }

    .breadcrumb-item + .breadcrumb-item {
        padding-left: 0;
    }
}

@media (max-width: 575px) {
    /* Header: contact already hidden at 767px */

    /* Primary boxes: tighter */
    .primary-box-col {
        padding-left: 0.4rem !important;
        padding-right: 0.4rem !important;
    }

    /* Noprofit: smaller mascot */
    .noprofit-img {
        width: 7rem;
        right: 0;
    }

    .noprofit p {
        padding-right: 6rem;
    }
}

/* Mobile hamburger button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 3.2rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 0.8rem;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 2.4rem;
    height: 2px;
    background: #1c1c1f;
    border-radius: 1px;
}

/* Mobile overlay menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 10000;
    flex-direction: column;
    padding: 2rem;
    overflow-y: auto;
}

.mobile-menu-overlay.open {
    display: flex;
}

.mobile-menu-close {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    background: none;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    width: 4.8rem;
    height: 4.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1c1c1f;
    font-size: 2rem;
    transition: border-color 200ms;
}

.mobile-menu-close:hover {
    border-color: #1c1c1f;
}

.mobile-menu-nav {
    margin-top: 6rem;
    flex-grow: 1;
}

.mobile-menu-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-nav ul li {
    margin-bottom: 0.4rem;
}

.mobile-menu-nav ul li a {
    color: #1c1c1f;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    display: block;
    padding: 0.6rem 0;
    transition: color 200ms;
}

.mobile-menu-nav ul li a:hover {
    color: #e32126;
}

.mobile-menu-contact {
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.mobile-menu-contact a {
    display: block;
    color: #1c1c1f;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
}

.mobile-menu-contact .mobile-menu-email {
    color: #e32126;
}

/* Primary menu item (Reklamní předměty) */
.mobile-menu-primary {
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu-primary a {
    color: #e32126 !important;
}

/* Menu link row with expand button */
.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-link a {
    flex-grow: 1;
}

.mobile-menu-expand {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 1.6rem;
    padding: 0.8rem 0 0.8rem 2rem;
}

.has-submenu.open .mobile-menu-expand i {
    transform: rotate(180deg);
    display: inline-block;
    transition: transform 300ms ease;
}

.mobile-menu-expand i {
    display: inline-block;
    transition: transform 300ms ease;
}

/* Submenu */
.mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1.6rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease, padding-bottom 300ms ease;
}

.has-submenu.open .mobile-submenu {
    max-height: 30rem;
    padding-bottom: 0.8rem;
}

.mobile-submenu li a {
    color: #666 !important;
    font-size: 14px !important;
    line-height: 1;
    font-weight: 500 !important;
    padding: 0.4rem 0 0.4rem 0.8rem !important;
}

.mobile-submenu li a:hover {
    color: #e32126 !important;
}

/* Footer accordion (mobile) */
@media (max-width: 991px) {
    .footer-text h3 {
        font-size: 14px;
    }

    .footer-accordion .footer-accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 300ms ease;
        padding: 0 4px;
    }

    .footer-accordion.open .footer-accordion-content {
        max-height: 80rem;
    }

    .footer-accordion-toggle {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0 !important;
        padding: 8px 4px;
    }

    .footer-accordion-icon {
        font-size: 1.2rem;
        color: #999;
        transition: transform 300ms ease;
    }

    .footer-accordion.open .footer-accordion-icon {
        transform: rotate(180deg);
    }

    .footer-text.footer-accordion {
        padding-right: 0;
    }

    /* Compact footer sections on mobile */
    .footer-top {
        padding: 1rem 1.2rem !important;
    }

    .footer-col-text {
        margin-bottom: 0 !important;
    }

    .footer-text {
        margin-bottom: 0 !important;
    }

    .footer-text p {
        font-size: 14px;
    }

    .footer-right-col {
        padding-top: 0.4rem !important;
        margin-top: 0.4rem !important;
        border-top: 1px solid #505050 !important;
    }

    .footer-right-col h3 {
        margin-bottom: 0;
        font-size: 14px;
    }

    .footer-bottom {
        padding: 1.4rem 1.2rem !important;
    }

    /* Footer bottom: stacked layout on mobile */
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        gap: 0;
    }

    .footer-bottom-copyright {
        margin-bottom: 0.6rem;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.2rem;
        margin-bottom: 0.6rem;
    }

    .footer-bottom-copyright,
    .footer-bottom-links li a,
    .footer-bottom-author {
        text-align: left;
    }

    .footer-bottom-copyright p,
    .footer-bottom-author p {
        margin-bottom: 0;
    }

    .footer-right-col ul li a {
        font-size: 14px;
    }

    .footer-right-col p {
        font-size: 14px;
    }

    .footer-bottom p {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .footer-bottom-links li {
        margin-bottom: 4px;
        text-align: center;
    }

    .footer-bottom p a {
        color: #cccccc;
    }
}

/* Footer accordion icons: hidden on desktop, shown on mobile via media query above */
.footer-accordion-icon {
    display: none !important;
}

@media (max-width: 991px) {
    .footer-accordion-icon {
        display: inline-block !important;
    }
}

/* Footer bottom: desktop & shared */
.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.footer-bottom-copyright,
.footer-bottom-author {
    margin-bottom: 0;
    color: #cccccc;
    font-size: 1.4rem;
}

.footer-bottom-copyright p,
.footer-bottom-author p {
    margin-bottom: 0;
    color: inherit;
}

.footer-bottom-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    /* vodorovný řad odkazů – bez mezery se na desktopu slily v jeden text
       (mobilní varianta pod 991px si gap řešila vlastní, sloupcovou hodnotou) */
    gap: 0.6rem 2rem;
}

.footer-bottom-links li a {
    color: #a1a1a1;
    text-decoration: none;
    font-size: 12px;
}

.footer-bottom-links li a:hover {
    color: #d6d6d6;
    text-decoration: underline;
}

.footer-bottom-author a {
    color: #d6d6d6;
}

.footer-bottom-author a:hover {
    text-decoration: underline;
}

/* Hide mobile-only cart elements on desktop */
@media (min-width: 992px) {
    .cart-table-action-inline,
    .cart-variant-action-inline,
    .cart-print-action-inline,
    .cart-table-td-summary,
    .cart-variant-td-summary {
        display: none !important;
    }
}

.cart-table-product-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}



/* ---------- Print products ---------- */

.print-products-empty {
    padding: 2rem 0;
}

.print-product-image {
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.print-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.print-product-image-placeholder {
    font-size: 5rem;
    color: #ccc;
}

.print-product-form {
    background: #fafafa;
    border: 1px solid #eee;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.print-product-form-row {
    margin-bottom: 1rem;
}

.print-product-form-row:last-child {
    margin-bottom: 0;
}

.print-product-form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.print-product-form-sides {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.print-product-form-side {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: normal !important;
    cursor: pointer;
    margin: 0 !important;
}

.print-product-form-side input {
    margin: 0;
}

.print-product-price {
    background: #f2f9f2;
    border: 1px solid #cde6cd;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.print-product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.35rem 0;
}

.print-product-price-row.total {
    border-top: 1px solid #cde6cd;
    margin-top: 0.5rem;
    padding-top: 0.7rem;
    font-size: 1.1rem;
}

.print-product-price-row.total .print-product-price-value {
    color: #2b7a2b;
    font-size: 1.4rem;
}

.print-product-price-label {
    color: #555;
}

.print-product-price-value {
    font-size: 1.2rem;
}

.print-product-price-empty {
    text-align: center;
    padding: 1rem 0;
}

/* ==========================================================================
   Fullscreen galerie obrázků produktu (gallery.js)
   ========================================================================== */

body.pgallery-noscroll {
    overflow: hidden;
}

#pgallery-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999990;
    background-color: #000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .15s ease, visibility .15s ease;
}

#pgallery-overlay.is-open {
    opacity: .93;
    visibility: visible;
}

#pgallery-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999991;
    opacity: 0;
    visibility: hidden;
    transition: opacity .15s ease, visibility .15s ease;
}

#pgallery-container.is-open {
    opacity: 1;
    visibility: visible;
}

#pgallery-container .pgallery-ths {
    float: left;
    width: 10%;
    height: 100%;
    box-sizing: border-box;
    background-color: #fff;
    overflow-y: auto;
    overflow-x: hidden;
}

#pgallery-container .pgallery-ths::-webkit-scrollbar {
    width: 8px;
}

#pgallery-container .pgallery-ths::-webkit-scrollbar-track {
    background-color: #eee;
}

#pgallery-container .pgallery-ths::-webkit-scrollbar-thumb {
    background-color: #bbb;
}

#pgallery-container .pgallery-ths-in {
    width: 100%;
    text-align: center;
    position: relative;
}

#pgallery-container .pgallery-th {
    max-width: 100px;
    max-height: 100px;
    display: inline-block;
    margin: 10px;
    opacity: .5;
    transition: opacity .15s ease;
}

#pgallery-container .pgallery-th.is-active,
#pgallery-container .pgallery-th:hover {
    opacity: 1;
}

#pgallery-container .pgallery-th img {
    width: 100%;
    height: 100%;
    display: block;
}

#pgallery-container .pgallery-img {
    float: left;
    width: 50%;
    height: 100%;
    box-sizing: border-box;
    background-color: #fff;
    display: table;
    position: relative;
}

#pgallery-container .pgallery-img-box {
    display: table-cell;
    width: 100%;
    height: 100%;
    padding: 8%;
    text-align: center;
    vertical-align: middle;
    transition: opacity .15s ease;
}

#pgallery-container .pgallery-img-box.is-fading {
    opacity: 0;
}

#pgallery-container .pgallery-img-bg {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0;
    transition: opacity .25s ease;
}

#pgallery-container .pgallery-img-bg.is-visible {
    opacity: 1;
}

#pgallery-container .pgallery-prev,
#pgallery-container .pgallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #bbb;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    transition: color .15s ease;
}

#pgallery-container .pgallery-prev:hover,
#pgallery-container .pgallery-next:hover {
    color: #000;
}

#pgallery-container .pgallery-prev {
    left: 0;
}

#pgallery-container .pgallery-next {
    right: 0;
}

#pgallery-container .pgallery-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #bbb;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: color .15s ease;
}

#pgallery-container .pgallery-close:hover {
    color: #fff;
}

#pgallery-container .pgallery-info {
    float: left;
    width: 40%;
    height: 100%;
    box-sizing: border-box;
    padding: 5% 10% 5% 5%;
    display: table;
    position: relative;
}

#pgallery-container .pgallery-info-in {
    display: table-cell;
    vertical-align: middle;
    transition: opacity .15s ease;
}

#pgallery-container .pgallery-info.is-fading .pgallery-info-in {
    opacity: 0;
}

#pgallery-container .pgallery-name {
    font: bold 30px/36px Calibri, Arial, sans-serif;
    color: #fff;
    margin: 0 0 8px;
    text-transform: none;
}

#pgallery-container .pgallery-code {
    font: bold 20px/24px Calibri, Arial, sans-serif;
    color: #fff;
    margin: 0 0 10px;
    text-transform: none;
}

#pgallery-container .pgallery-labels {
    margin: 0 0 10px;
}

#pgallery-container .pgallery-labels span {
    color: #fff;
    padding: 0 10px;
    font-size: 14px;
    line-height: 20px;
    display: inline-block;
    margin-right: 10px;
}

#pgallery-container .pgallery-desc {
    font: 16px/22px Calibri, Arial, sans-serif;
    color: #ccc;
    margin: 30px 0;
}

#pgallery-container .pgallery-desc p {
    margin: 0 0 10px;
}

#pgallery-container .pgallery-stock p,
#pgallery-container .pgallery-shipping p {
    font: 14px/22px Calibri, Arial, sans-serif;
    color: #ccc;
    margin: 0;
}

#pgallery-container .pgallery-stock p i,
#pgallery-container .pgallery-shipping p i {
    color: #e32126;
    font-size: 18px;
    margin-right: 8px;
}

#pgallery-container .pgallery-buttons {
    margin-top: 30px;
    display: flex;
    align-items: stretch;
    gap: 20px;
}

#pgallery-container .pgallery-price {
    padding: 10px 20px;
    font: bold 18px/24px Calibri, Arial, sans-serif;
    color: #fff;
    background-color: #e32126;
    white-space: nowrap;
}

#pgallery-container .pgallery-detail {
    padding: 10px 20px;
    font: 16px/22px Calibri, Arial, sans-serif;
    color: #fff;
    background-color: transparent;
    border: 1px solid #fff;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

#pgallery-container .pgallery-detail:hover {
    background-color: #fff;
    color: #000;
}

#pgallery-container .pgallery-note {
    position: absolute;
    bottom: 30px;
    font: 14px/22px Calibri, Arial, sans-serif;
    color: #777;
    margin: 0;
}

/* Otevření galerie kliknutím na hlavní obrázek */
.product-detail-swiper .swiper-slide-detail-img.is-zoomable {
    cursor: zoom-in;
}

@media only screen and (max-width: 1200px) {
    #pgallery-container .pgallery-info {
        padding: 3%;
    }
}

@media only screen and (orientation: portrait) {
    #pgallery-container .pgallery-ths {
        width: 100%;
        height: 20%;
        white-space: nowrap;
    }

    #pgallery-container .pgallery-th {
        max-width: 70px;
        max-height: 70px;
    }

    #pgallery-container .pgallery-img {
        width: 100%;
        height: 45%;
    }

    #pgallery-container .pgallery-info {
        width: 100%;
        height: 35%;
        text-align: center;
        padding: 4%;
    }

    #pgallery-container .pgallery-buttons {
        justify-content: center;
    }

    #pgallery-container .pgallery-note {
        position: static;
        margin-top: 15px;
    }
}

/* ==========================================================================
   Kalkulačka tiskovin – rozšířené prvky (print-calculator.js)
   ========================================================================== */

.print-product-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.print-product-form-grid label {
    font-weight: 600;
    margin-bottom: 0.3rem;
    display: block;
}

/* Dokončovací práce */
.print-product-finishings {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.print-finishing {
    border: 1px solid #e6e6e6;
    padding: 0.9rem 1.1rem;
    background: #fff;
}

.print-finishing.is-disabled {
    opacity: 0.55;
}

.print-finishing.is-checked {
    background: #f7f7f7;
}

.print-finishing-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    cursor: pointer;
    font-weight: 400;
}

.print-finishing-head input[type="checkbox"] {
    margin: 0 0.4rem 0 0;
}

.print-finishing-note {
    margin-left: auto;
    font-weight: 400;
}

.print-finishing-body {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px dashed #eee;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.print-finishing-row label {
    display: block;
    font-weight: 400;
    margin-bottom: 0.25rem;
    font-size: 13px;
    color: #666;
}

.print-finishing-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.print-finishing-check {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    font-weight: 400;
    margin: 0;
}

.print-finishing-hint {
    display: block;
    margin-top: 0.2rem;
}

/* Cena – dílčí řádky, chyby */
.print-product-price-row.sub {
    font-size: 0.92rem;
    padding: 0.2rem 0;
    color: #555;
}

.print-product-price-row.sub.is-error .print-product-price-value {
    color: #c0392b;
}

.print-product-price-finishings {
    border-top: 1px dashed #cde6cd;
    margin-top: 0.4rem;
    padding-top: 0.4rem;
}

.print-product-price-error {
    padding: 0.5rem 0;
    font-weight: 600;
}

.print-product-price-note {
    margin: 0.6rem 0 0;
    font-size: 0.8rem;
}

/* Rozložení detailu tiskoviny: obrázek + název/perex nahoře, formulář na celou šířku pod tím */
.print-product-header {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.print-product-header-image {
    flex: 0 0 38%;
    max-width: 38%;
}

.print-product-header-info {
    flex: 1 1 auto;
    min-width: 0;
}

.print-product-config {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.print-product-config-form {
    flex: 1 1 auto;
    min-width: 0;
}

.print-product-config-price {
    flex: 0 0 320px;
    max-width: 320px;
    position: sticky;
    top: 1rem;
}

/* Formulář ve dvou sloupcích – díky šířce má víc místa */
@media (min-width: 768px) {
    .print-product-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 1.5rem;
        row-gap: 0;
        align-content: start;
    }

    .print-product-form-row {
        margin-bottom: 1rem;
    }

    .print-product-form-row-wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991px) {
    .print-product-header {
        flex-direction: column;
        gap: 1.25rem;
    }

    .print-product-header-image {
        flex-basis: auto;
        max-width: 100%;
        align-self: center;
    }

    .print-product-config {
        flex-direction: column;
        gap: 1.5rem;
    }

    .print-product-config-price {
        flex-basis: auto;
        max-width: 100%;
        position: static;
    }
}

/* Výpis tiskovin – grid dlaždic (3 vedle sebe) */
.print-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.print-product-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 200ms ease;
}

.print-product-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
}

.print-product-card-image {
    aspect-ratio: 1 / 1;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.print-product-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.print-product-card-image .print-product-image-placeholder {
    font-size: 3rem;
    color: #ccc;
}

.print-product-card-name {
    margin-top: auto;
    text-align: center;
    font-weight: 700;
    color: #1c1c1f;
    border-top: 1px solid #eee;
    padding: 0.8rem 1rem;
}

@media (max-width: 991px) {
    .print-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .print-product-grid {
        grid-template-columns: 1fr;
    }
}

/* Text pod výpisem tiskovin – stejná barva jako intro nad výpisem (#666) */
.print-product-text {
    color: #666666;
}

/* odsazení seznamů stejné jako u odstavců (p = 1.6rem) + levé odsazení */
.print-product-text ul,
.print-product-text ol {
    margin-bottom: 1.6rem;
    margin-left: 1.6rem;
}

/* ==========================================================================
   Detail tiskoviny – konfigurátor laděný dle detailu produktu
   ========================================================================== */

.print-intro {
    margin-bottom: 1.6rem;
}

.print-detail-main.product-detail-main {
    align-items: flex-start;
}

.print-detail-image.product-detail-main-left {
    width: 50%;
}

.print-detail-config.product-detail-main-right {
    width: 50%;
    padding-left: 2rem;
}

.print-detail-image .print-product-image img {
    width: 100%;
    height: auto;
}

.print-detail-image .print-product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    background: #f7f7f7;
    color: #ccc;
    font-size: 4rem;
}

/* konfigurační řádky – malý popisek nahoře, input přes celou šířku */
.print-cfg-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.print-cfg-row > label {
    margin: 0;
    font-weight: 400;
    font-size: 13px;
    color: #666;
}

.print-cfg-row > .form-select,
.print-cfg-row > .form-control {
    width: 100%;
}

.print-cfg-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.print-cfg-inline .form-select,
.print-cfg-inline .form-control {
    flex: 1 1 auto;
    min-width: 0;
}

.print-cfg-times {
    color: #999;
}

.print-detail-subtitle {
    margin: 2rem 0 1rem;
    text-transform: none;
}

/* počty kusů – dlaždice jako ceník v detailu produktu */
.print-qty-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.print-qty-tile {
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    margin: 0;
    transition: border-color 150ms ease;
}

.print-qty-tile:hover {
    border-color: #ccc;
}

.print-qty-tile input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.print-qty-tile-head {
    background: #f3f3f3;
    padding: 0.5rem;
    font-weight: 600;
}

.print-qty-tile-price {
    padding: 0.6rem 0.5rem 0.2rem;
    font-weight: 700;
    font-size: 1.6rem;
    color: #1c1c1f;
}

.print-qty-tile-unit {
    padding-bottom: 0.6rem;
    font-size: 1.2rem;
    color: #999;
}

.print-qty-tile.is-active {
    border-color: #e32126;
}

.print-qty-tile.is-active .print-qty-tile-head {
    background: #e32126;
    color: #fff;
}

.print-qty-tile.is-active .print-qty-tile-price {
    color: #e32126;
}

.print-qty-tile.is-disabled {
    opacity: 0.5;
}

.print-qty-custom.print-cfg-row {
    border: none;
    padding: 0 0 0.5rem;
    margin-bottom: 1.5rem;
}

.print-qty-custom .form-control {
    width: 50%;
    max-width: 50%;
}

/* souhrn */
.print-summary {
    background: #f7f7f7;
    border-radius: 6px;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1rem;
}

.print-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.3rem 0;
    font-size: 15px;
    color: #666;
}

.print-summary-row.is-error {
    color: #c0392b;
}

.print-summary-row.total {
    border-top: 1px solid #e2e2e2;
    margin-top: 0.5rem;
    padding-top: 0.7rem;
    color: #1c1c1f;
}

.print-summary-row.total strong {
    color: #e32126;
    font-size: 1.9rem;
    white-space: nowrap;
}

.print-summary-row small {
    color: #999;
}

.print-detail-cart {
    width: 100%;
    padding: 1rem;
    font-weight: 600;
}

.print-detail-note {
    margin: 0.6rem 0 0;
    font-size: 1.2rem;
    color: #999;
}

.print-calc-error {
    padding: 0.75rem 0;
    font-weight: 600;
}

/* Rozpis konfigurace tiskoviny v košíku / potvrzení objednávky */
.cart-print-config {
    list-style: none;
    margin: 0.4rem 0 0;
    padding: 0;
    font-size: 1.3rem;
    line-height: 1.5;
    color: #666;
}

.cart-print-config-label {
    color: #999;
}

@media (max-width: 991px) {
    .print-detail-image.product-detail-main-left,
    .print-detail-config.product-detail-main-right {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .print-detail-config.product-detail-main-right {
        margin-top: 2rem;
    }
}

/* ==========================================================================
   Content block: HERO (BLOCK_TYPE_HERO) — značkové landing stránky
   ========================================================================== */
.cb-hero {
    position: relative;
    background-color: #232323;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.cb-hero--full {
    min-height: 540px;
}

.cb-hero--compact {
    min-height: 320px;
}

.cb-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Přechody nad fotkou – společné pro hero i banner, aby byl text čitelný. */
.cb-overlay-dark::before,
.cb-hero--overlay-dark::before {
    background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .45) 55%, rgba(0, 0, 0, .15) 100%);
}

.cb-overlay-light::before,
.cb-hero--overlay-light::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, .5) 55%, rgba(255, 255, 255, .1) 100%);
}

.cb-overlay-dark-bottom::before,
.cb-hero--overlay-dark-bottom::before {
    background: linear-gradient(0deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, 0) 100%);
}

.cb-overlay-light-bottom::before,
.cb-hero--overlay-light-bottom::before {
    background: linear-gradient(0deg, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .5) 45%, rgba(255, 255, 255, 0) 100%);
}

.cb-overlay-dark-full::before,
.cb-hero--overlay-dark-full::before {
    background: rgba(0, 0, 0, .55);
}

.cb-overlay-light-full::before,
.cb-hero--overlay-light-full::before {
    background: rgba(255, 255, 255, .7);
}

.cb-overlay-none::before,
.cb-hero--overlay-none::before {
    background: none;
}

/* světlý přechod potřebuje tmavý text */
.cb-hero--overlay-light,
.cb-hero--overlay-light-bottom,
.cb-hero--overlay-light-full,
.cb-banner.cb-overlay-light,
.cb-banner.cb-overlay-light-bottom,
.cb-banner.cb-overlay-light-full {
    color: #1a1a1a;
}

.cb-hero .container {
    position: relative;
    z-index: 1;
}

/* Pozor: root font-size webu je 10px → landing typografie je v px, ne rem. */
.cb-hero__inner {
    max-width: 720px;
    padding: 40px 0;
}

/* užší container v hero → obsah víc odsazený od krajů
   (vyšší specificita, aby přebil .landing-page .container) */
.landing-page .cb-hero .container {
    max-width: 1200px;
}

.cb-hero--full .cb-hero__inner {
    padding: 70px 0;
}

.cb-hero__logo {
    max-height: 62px;
    max-width: 300px;
    width: auto;
    margin-bottom: 30px;
}

.cb-hero__title {
    font-size: 46px;
    line-height: 1.16;
    font-weight: 700;
    margin: 0 0 24px;
    color: inherit;
}

.cb-hero__perex {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 34px;
    opacity: .95;
}

.cb-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cb-hero__btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 3px;
    text-decoration: none;
    transition: background-color .2s, color .2s, border-color .2s;
}

.cb-hero__btn--primary {
    background-color: #e32126;
    color: #ffffff;
    border: 2px solid #e32126;
}

.cb-hero__btn--primary:hover {
    background-color: #c61419;
    border-color: #c61419;
    color: #ffffff;
}

.cb-hero__btn--secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, .8);
}

.cb-hero__btn--secondary:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}

.cb-hero--overlay-light .cb-hero__btn--secondary {
    color: #1a1a1a;
    border-color: rgba(0, 0, 0, .6);
}

.cb-hero--overlay-light .cb-hero__btn--secondary:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

@media (max-width: 767px) {
    .cb-hero {
        min-height: 0;
    }

    .cb-hero__inner {
        max-width: 100%;
        padding: 40px 0;
    }

    .cb-hero__title {
        font-size: 32px;
    }

    .cb-hero__buttons {
        flex-direction: column;
    }

    .cb-hero__btn {
        text-align: center;
    }
}

/* ==========================================================================
   Content block: PRODUCTS (BLOCK_TYPE_PRODUCTS) — produktový slider / výpis
   ========================================================================== */
.cb-products {
    position: relative;
}

.cb-products-slider-wrap {
    position: relative;
}

.cb-products-slider {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scrollbar-width: thin;
}

.cb-products-slide {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: calc(25% - 0.94rem);
}

.cb-products-slide .product-item {
    height: 100%;
}

/* klasický výpis – mezera mezi řádky karet */
.cb-products .product-item-col {
    margin-bottom: 1.75rem;
}

.cb-products .product-item-col .product-item {
    height: 100%;
}

.cb-products-arrow {
    position: absolute;
    top: 50%;
    z-index: 200;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    color: #1a1a1a;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s, color .2s;
}

.cb-products-arrow:hover {
    background: #e32126;
    color: #ffffff;
}

.cb-products-arrow--prev {
    left: -8px;
}

.cb-products-arrow--next {
    right: -8px;
}

@media (max-width: 1199px) {
    .cb-products-slide {
        width: calc(33.333% - 0.84rem);
    }
}

@media (max-width: 767px) {
    .cb-products-slide {
        width: calc(70%);
    }

    .cb-products-arrow {
        display: none;
    }
}

/* ==========================================================================
   Landing page — vertikální rytmus a dekorace obsahových bloků
   (třídy about-us-area / service-area apod. dosud neměly frontendové styly)
   ========================================================================== */
.landing-page .about-us-area,
.landing-page .service-area,
.landing-page .cb-products,
.landing-page .cta-area {
    padding-top: 55px;
    padding-bottom: 55px;
}

/* šedý panel (background_color = grey u textového bloku) */
.landing-page .bg-grey,
.bg-grey {
    background-color: #f4f4f4;
}

/* text + obrázek blok */
.landing-page .about-us-content h3,
.landing-page .section-title h2 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.landing-page .about-us-logo img {
    border-radius: 4px;
}

/* info boxy — čitelnější ikony a nadpisy */
.landing-page .service-icon {
    margin-bottom: .9rem;
}

.landing-page .service-icon i,
.landing-page .service-icon-2 i {
    font-size: 2rem;
    color: #1a1a1a;
}

.landing-page .service-icon-2.icon-red i {
    color: #e32126;
}

.landing-page .single-service-wrap h3,
.landing-page .single-service-wrap-2 h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.landing-page .single-service-wrap span {
    color: #555555;
    line-height: 1.55;
}

/* ==========================================================================
   Landing page — kompletní vzhled dle značkového návrhu
   ========================================================================== */

/* širší obsahový container jen pro landing (méně bočních mezer na velkých monitorech) */
.landing-page .container {
    max-width: 1260px;
}

/* HERO zarovnání na střed (banner / CTA pruhy) */
.cb-hero--align-center {
    text-align: center;
}

.cb-hero--align-center .cb-hero__inner {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.cb-hero--align-center .cb-hero__buttons {
    justify-content: center;
}

.cb-hero--align-center .cb-hero__logo {
    margin-left: auto;
    margin-right: auto;
}

/* HERO compact (banner / CTA) */
.cb-hero--compact {
    min-height: 200px;
}

.cb-hero--compact .cb-hero__inner {
    padding: 42px 0;
}

.cb-hero--compact .cb-hero__title {
    font-size: 34px;
    margin-bottom: 12px;
}

.cb-hero--compact .cb-hero__perex {
    font-size: 17px;
    margin-bottom: 24px;
}

.cb-hero--compact .cb-hero__perex:last-child {
    margin-bottom: 0;
}

/* feature ikony — ikona vlevo, obsah vpravo (dle návrhu) */
.landing-page .service-area .service-wrap {
    padding-top: 0;
}

.landing-page .single-service-wrap {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    padding: 0 1.1rem;
}

.landing-page .service-icon {
    margin-bottom: 0;
    flex: 0 0 auto;
    line-height: 1;
    margin-right: 8px;
}

.landing-page .service-icon i {
    font-size: 42px;
    color: #1a1a1a;
}

.landing-page .single-service-wrap h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
}

.landing-page .single-service-wrap span {
    font-size: 14px;
    color: #666666;
    line-height: 1.55;
}

/* Styl „Ohraničený" – karty s rámečkem a svislými oddělovači.
   Třídy service-wrap-border / service-content-2 / service-border-1 dřív žádné CSS
   neměly, takže varianta vypadala jako neostylovaný text. */
.landing-page .service-wrap-border {
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    background-color: #ffffff;
}

.landing-page .service-wrap-padding-3 {
    padding: 30px 10px;
}

.landing-page .single-service-wrap-2 {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 8px 22px;
    text-align: left;
}

.landing-page .service-icon-2 {
    flex: 0 0 auto;
    line-height: 1;
}

.landing-page .service-icon-2 i {
    font-size: 34px;
}

.landing-page .single-service-wrap-2 h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
}

.landing-page .service-content-2 span {
    display: block;
    font-size: 14px;
    color: #666666;
    line-height: 1.55;
}

/* svislý oddělovač mezi sloupci – poslední v řádku ho nemá (řeší šablona) */
.landing-page .service-border-1 {
    position: relative;
}

.landing-page .service-border-1::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 0;
    height: 80%;
    border-right: 1px solid #e6e6e6;
}

@media (max-width: 767px) {
    .landing-page .service-border-1::after {
        display: none;
    }

    .landing-page .single-service-wrap-2 {
        padding: 14px 16px;
    }
}

/* sekce nadpisy */
.landing-page .section-title {
    margin-bottom: 45px;
}

.landing-page .section-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

/* text + foto blok */
.landing-page .about-us-content {
    margin-bottom: 24px;
}

.landing-page .about-us-content h3 {
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -.2px;
    margin: 0 0 20px;
    color: #1a1a1a;
}

.landing-page .about-us-content p:last-child {
    margin-bottom: 0;
}

.landing-page .about-us-content p,
.landing-page .about-us-content-text {
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
}

/* obrázek se zobrazuje celý – jen se zmenší, aby se vešel do sloupce */
.landing-page .about-us-logo img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: 6px;
}

/* šedý panel (Možnosti značení) */
.landing-page .about-us-area.bg-grey {
    padding: 55px 0;
}

/* tlačítka uvnitř textového bloku */
.landing-page .btn-style-1 a {
    display: inline-block;
    background-color: #e32126;
    color: #ffffff;
    padding: 13px 26px;
    font-size: 15px;
    border-radius: 3px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 18px;
    transition: background-color .2s;
}

.landing-page .btn-style-1 a:hover {
    background-color: #c61419;
    color: #ffffff;
}

@media (max-width: 767px) {
    .landing-page .service-area .row > [class*="col-"] + [class*="col-"] .single-service-wrap {
        border-left: none;
    }

    .landing-page .single-service-wrap {
        margin-bottom: 1.5rem;
    }
}

/* ---------------------------------------------------------------
   Bannerový blok – pruh s fotkou uprostřed nebo na konci stránky.
   Proti hero je nižší, bez loga a smí se opakovat.
   Pozor: root font-size webu je 10px → velikosti v px, ne rem.
   --------------------------------------------------------------- */
.cb-banner {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #232323;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.cb-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cb-banner--slim {
    min-height: 180px;
}

.cb-banner--standard {
    min-height: 260px;
}

.cb-banner--tall {
    min-height: 380px;
}

.cb-banner .container {
    position: relative;
    z-index: 1;
}

.cb-banner__inner {
    max-width: 720px;
    padding: 36px 0;
}

.cb-banner--align-center .cb-banner__inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.cb-banner__title {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.25;
    font-weight: 700;
    color: inherit;
}

.cb-banner__perex {
    margin-bottom: 22px;
    font-size: 17px;
    line-height: 1.6;
    opacity: .92;
}

.cb-banner__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cb-banner--align-center .cb-banner__buttons {
    justify-content: center;
}

.cb-banner__btn {
    display: inline-block;
    padding: 12px 26px;
    border: 2px solid transparent;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 200ms;
}

.cb-banner__btn--primary {
    background-color: #e30613;
    border-color: #e30613;
    color: #ffffff;
}

.cb-banner__btn--primary:hover {
    background-color: #c00510;
    border-color: #c00510;
    color: #ffffff;
}

.cb-banner__btn--secondary {
    border-color: rgba(255, 255, 255, .7);
    color: #ffffff;
}

.cb-banner__btn--secondary:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}

.cb-banner.cb-overlay-light .cb-banner__btn--secondary,
.cb-banner.cb-overlay-light-bottom .cb-banner__btn--secondary,
.cb-banner.cb-overlay-light-full .cb-banner__btn--secondary {
    border-color: rgba(0, 0, 0, .6);
    color: #1a1a1a;
}

.cb-banner.cb-overlay-light .cb-banner__btn--secondary:hover,
.cb-banner.cb-overlay-light-bottom .cb-banner__btn--secondary:hover,
.cb-banner.cb-overlay-light-full .cb-banner__btn--secondary:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

@media (max-width: 767px) {
    .cb-banner--slim,
    .cb-banner--standard,
    .cb-banner--tall {
        min-height: 0;
    }

    .cb-banner__inner {
        padding: 30px 0;
    }

    .cb-banner__title {
        font-size: 24px;
    }

    .cb-banner__perex {
        font-size: 15px;
    }
}

/* ---------------------------------------------------------------
   Ruční volba barvy textu v hero i banneru. Přebíjí automatiku
   podle přechodu, proto vyšší specificita a pozice na konci souboru.
   --------------------------------------------------------------- */
.cb-hero.cb-hero--text-light,
.cb-banner.cb-banner--text-light {
    color: #ffffff;
}

.cb-hero.cb-hero--text-dark,
.cb-banner.cb-banner--text-dark {
    color: #1a1a1a;
}

.cb-hero.cb-hero--text-light .cb-hero__btn--secondary,
.cb-banner.cb-banner--text-light .cb-banner__btn--secondary {
    background-color: transparent;
    border-color: rgba(255, 255, 255, .8);
    color: #ffffff;
}

.cb-hero.cb-hero--text-light .cb-hero__btn--secondary:hover,
.cb-banner.cb-banner--text-light .cb-banner__btn--secondary:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}

.cb-hero.cb-hero--text-dark .cb-hero__btn--secondary,
.cb-banner.cb-banner--text-dark .cb-banner__btn--secondary {
    background-color: transparent;
    border-color: rgba(0, 0, 0, .6);
    color: #1a1a1a;
}

.cb-hero.cb-hero--text-dark .cb-hero__btn--secondary:hover,
.cb-banner.cb-banner--text-dark .cb-banner__btn--secondary:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* Do 1366 px se obsah bloků dotýká krajů (container ještě nemá kolem sebe místo),
   proto mu přidáme 15 px odsazení; na mobilu stačí 5 px. */
@media (min-width: 768px) and (max-width: 1366px) {
    .landing-page .container,
    .landing-page .container-fluid {
        padding-left: 30px;
        padding-right: 30px;
    }

    /* hero a banner mají odsazení navíc už z paddingu sekce */
    .cb-hero .container,
    .cb-banner .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 767px) {
    .landing-page .container,
    .landing-page .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ---------------------------------------------------------------
   HERO – logo na jednobarevném pruhu vpravo. Značky jako Victorinox
   mají v manuálu zakázané logo přes fotku, tohle je pro ně.
   --------------------------------------------------------------- */
/* globální padding sekce by pruh odsadil od rohů – hero si odsazení řeší containerem */
.cb-hero--logo-panel {
    padding: 0;
}

.cb-hero--logo-panel .container {
    padding-left: 35px;
    padding-right: 35px;
}

.cb-hero__logo-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 26px;
    background-color: #1a1a1a;
}

.cb-hero__logo-panel-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 170px;
}

@media (min-width: 992px) {
    .cb-hero--logo-panel .cb-hero__logo-panel {
        width: 19%;
        min-width: 240px;
        max-width: 340px;
    }

    /* text nesmí zaběhnout pod pruh s logem */
    .cb-hero--logo-panel .container {
        padding-right: 360px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .cb-hero--logo-panel .cb-hero__logo-panel {
        width: 190px;
        padding: 24px 18px;
    }

    /* na tabletu je k okrajům blíž než na desktopu, tak obsah ještě odsadíme */
    .cb-hero--logo-panel .container {
        padding-left: 50px;
        padding-right: 225px;
    }

    .cb-hero__logo-panel-img {
        max-height: 120px;
    }
}

/* na mobilu z pruhu bude proužek pod obsahem přes celou šířku */
@media (max-width: 767px) {
    .cb-hero--logo-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .cb-hero--logo-panel .container {
        width: 100%;
        padding-left: 32px;
        padding-right: 32px;
    }

    .cb-hero--logo-panel .cb-hero__logo-panel {
        position: static;
        width: 100%;
        padding: 22px 20px;
    }

    .cb-hero__logo-panel-img {
        max-height: 70px;
        margin: 0 auto;
    }
}
