/*
 * Custom CSS – Final Merged Version
 */



/* ============================= */
/* Header */
/* ============================= */

/* Reduce logo height */
@media (min-width: 992px) {
    header .navbar-brand img {
        height: 30px;
        margin-top: 10px;
    }
     #content-wrapper:not(.has-fluid) {
        padding-top: 1rem;
    }
}
   
.search-wrapper {
    /* display: none; */
}
.search-wrapper .twitter-typeahead {
    /* width: 60% !important; */
}
@media (min-width: 992px) {
    header .navbar-brand {
        margin-right: 0px;
    }
}

.slider-pause-controls {
    display: none;
}

header .navbar-nav>.nav-item>.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

#mainNavigation .nav-scrollbar-inner {
    justify-content: center;
}

.dropdown-body .col.nav-item-lg-m.nav-item {
    margin-bottom: 0;
}

.dropdown-body .col.nav-item-lg-m.nav-item .submenu-headline-toplevel {
    font-size: 14px;
    color: #000;
}

/* Icon weight fix */
.fas.fa-heart::before,
.fas.fa-user::before {
    font-weight: 400 !important;
}

/* ============================= */
/* Footer */
/* ============================= */

footer#footer {
    background-image: linear-gradient(90deg, #191433 0%, #680808 100%);
    position: relative;
    z-index: 99;
    overflow: hidden;
}

/* Background image overlay */
#footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: url(https://kompass-workshop.de/media/image/storage/opc/NewFolder%20copy%201/dsfadsfdsa.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.03;
    z-index: -1;
}

/* Footer content */
#footer p,
#footer li,
#footer .box-content-wrapper li a, #footer .box-linkgroup a {
    color: #fff;
    text-decoration: none;
}

#footer .box-content-wrapper ul {
    padding-left: 14px;
}

#footer .productlist-filter-headline {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

/* Social icons */
#footer .box-content-wrapper ul.social-icon-list {
    list-style: none;
    display: flex;
    gap: 12px;
    padding: 0;
}

#footer .box-content-wrapper ul.social-icon-list a {
    background-color: #ffffff !important;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #000;
}

/* Copyright */
#copyright {
    background-image: linear-gradient(90deg, #191433 0%, #680808 100%);
}

/* ============================= */
/* Product Variations */
/* ============================= */

#buy_form .variation-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    margin: 4px 6px 4px 0;
}

#buy_form .variation-btn {
    padding: 8px 14px;
    background: #000000;
    border: 1px solid #000000;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    color: #fff;
}

#buy_form .variation-btn:hover {
    background: #e30613;
}

/* FIXED selector */
#buy_form .variation-radio:checked + .variation-btn {
    background: #e30613;
    color: #fff;
    border-color: #e30613;
}

#buy_form .variation-btn.out-of-stock,
#buy_form .variation-btn.not-available {
    background: #f5f5f5;
    color: #aaa;
    cursor: not-allowed;
}

/* ============================= */
/* Category Boxes */
/* ============================= */

.content-cats-small .sub-categories {
    border: solid 1px #d0d0d0;
    border-radius: 5px;
    padding: 25px 0px;
    transition: 0.3s ease;
}

.content-cats-small .sub-categories:hover {
    box-shadow: 0px 0px 11px 2px #d7d7d7;
}

/* ============================= */
/* Product Slider Cards */
/* ============================= */

.product-slider .product-wrapper.product-wrapper-product a {
    height: 100%;
    width: 100%;
    display: block;
    border: solid 1px #d0d0d0;
    padding: 25px 0px;
    border-radius: 12px;
    transition: 0.3s ease;
}

.product-slider .product-wrapper.product-wrapper-product a:hover {
    box-shadow: 0px 0px 11px 2px #d7d7d7;
}

/* ============================= */
/* Logo Slider */
/* ============================= */

.logo-slider .product-wrapper .item-slider {
    height: 110px;
}

.logo-slider .product-wrapper .item-slider-desc {
    font-size: 18px;
    font-weight: 700;
}

/* ============================= */
/* Announcement Bar */
/* ============================= */

.announcement-bar {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, #2d1b4e, #e30613);
    color: #fff;
    padding: 10px 0;
    font-weight: 600;
    position: relative;
}

.announcement-track {
    display: flex;
    width: max-content;
    animation: scroll-marquee 25s linear infinite;
}

.announcement-track span {
    white-space: nowrap;
    padding-right: 80px;
    font-size: 16px;
}

@keyframes scroll-marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* ============================= */
/* Google Map */
/* ============================= */

.mapouter {
    display: table;
    width: 100%;
}

.gmap_canvas {
    overflow: hidden;
    position: relative;
    background: #fff;
}

.gmap_canvas iframe {
    position: relative !important;
    z-index: 2 !important;
    width: 100%;
    height: 400px;
}

.gmap_canvas a {
    color: #fff !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 0 !important;
}

/* ============================= */
/* Cart Slide Animation */
/* ============================= */

.custom-dropdown-menu-right.show {
    animation: rightToStop 0.25s forwards;
}

@keyframes rightToStop {
    from { right: -100%; }
    to { right: 0; }
}

/*cb*/
.top-page-banner {
    background: url(https://kompass-workshop.de/media/image/storage/opc/NewFolder%20copy%201/banner-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 200px;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
}

.top-page-banner:before {
    content: '';
    width: 100%;
    height: 100%;
    background: #80262c;
    position: absolute;
    opacity: 0.6;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.top-page-heading {
    position: absolute;
    text-align: center;
    width: 100%;
}
.top-page-heading h1 {
    font-size: 48px;
    font-weight: 600;
    line-height: 58px;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    text-shadow: 0px 1px black;
    margin: 5px 0;
}

.cb-image-with-mask img {
    -webkit-mask-image: url(https://kompass-workshop.de/media/image/storage/opc/NewFolder%20copy%201/untitled-3.png);
    -webkit-mask-size: contain;
    -webkit-mask-position: center center;
    -webkit-mask-repeat: no-repeat;
}
#textile-printing .container.breadcrumb-container, #textile-printing .index-heading-wrapper {
    display: none;
} 
.textil-first-section-row {
    justify-content: center;
}
.textil-first-section-row > div {
    display: flex;
}
.cb-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cb-text-box-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
}
.cb-text-box p, .cb-text-box-left p {
    font-family: "DM Sans", Sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
    letter-spacing: 0.5px;
    color: #919191;
}
.cb-text-box h2, .cb-text-box-left h2 {
    font-family: "DM Sans", Sans-serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 50px;
    letter-spacing: 0.5px;
    color: #000000;
}



.product-grid-view {
    margin: 0;
    justify-content: center;
}
.textildruck-product-box {
    background: #1C183A;
    padding: 100px 0;
}
.textildruck-product-box > div > h1 {
    color: #fff;
    font-size: 40px;
    margin-bottom: 80px;
}
.product-grid-view .product-box-text {
    text-align: center;
    color: #e0e0e0;
}
.product-grid-view .product-box-text h3 {
    color: #fff;
    font-size: 24px;
    margin-top: 18px;
    margin-bottom: 5px;
}

.product-grid-image:hover img {
    scale: 1.05;
    transform: rotateZ(10deg);
}
.product-grid-image img{
 transition: 1000ms ease-in-out;
}

img.small-flip {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    position: absolute;
    top: -22px;
    left: -10px;
    transition: transform 0.5s;
}

img.small-flip:hover {
  transform: scaleX(-1); 
}
.logoslider-container{
    width:100%;
    overflow:hidden;
    background:#fff;
}

/* track */

.carousel-track{
    display:flex;
    width:max-content;
    will-change:transform;
}

/* directions */

.carousel-track.scroll-right{
    animation:scrollRight 120s linear infinite;
}

.carousel-track.scroll-left{
    animation:scrollLeft 120s linear infinite;
}

/* pause on hover */

.logoslider-container:hover .carousel-track{
    animation-play-state:paused;
}

/* logo box */

.logo-item{
    flex:0 0 auto;
    flex-direction:column;
    padding:0 30px;
    height:80px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    box-shadow:0 0 6px rgb(0 0 0 / 13%);
    margin:5px;
    text-align:center;
}

/* logo image */

.logo-item img{
    height:50px;
    width:auto;
    object-fit:contain;
}

.logo-name{
    font-size:12px;
    margin-top:6px;
    color:#333;
    font-weight:500;
}

/* animations */

@keyframes scrollRight{
    from{transform:translateX(0);}
    to{transform:translateX(-50%);}
}

@keyframes scrollLeft{
    from{transform:translateX(-50%);}
    to{transform:translateX(0);}
}

.our-best-section {
    background: url(https://kompass-workshop.de/media/image/opc/xl/NewFolder%20copy%201/29679-1024x585.webp);
    background-repeat: no-repeat;
    background-size: cover;
}

.our-best-section:before {
    content: '';
    width: 100%;
    height: 100%;
    background: #000000;
    position: absolute;
    opacity: 0.8;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.our-best-section-row {
    justify-content: center;
}

.top-section-box {
    color: #fff;
    text-align: center;
    padding-top: 80px;
}

.top-section-box h2 {
    color: #fff;
    font-size: 40px;
    margin-bottom: 30px;
}

.top-section-box .inner-box {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.top-section-box .inner-box div {
    background-color: #ECECEC;
    padding: 45px 30px 45px 30px;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #E8E8E8;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0px 0px 32px 0px rgba(0, 0, 0, 0.45);
    width: 100%;
}

.top-section-box .inner-box div h3 {
    color: #000000;
    font-family: "Lato", Sans-serif;
    font-size: 60px;
    font-weight: 600;
    line-height: 80px;
    letter-spacing: 0.5px;
}

.top-section-box .inner-box div p {
    justify-content: center;
    color: #000000;
    font-family: "DM Sans", Sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0.5px;
}

.printing-section-row > div > div {
    max-width: 100% !important;
}

.printing-section-text h2 {
    font-family: "DM Sans", Sans-serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 50px;
    letter-spacing: 0.5px;
    color: #000000;
}
.printing-section-text ul{
    padding-left:5px ;
}
.printing-section-text ul li i{
    color:red;
}
.printing-section-text ul li {
    font-family: "DM Sans", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    margin-top: 10px;
    list-style: none;
    display:flex;
    gap: 10px;
    align-items: center;
}
.printing-section-text .inner-box {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.printing-section-text .inner-box div {
    flex: 1 1 calc(50% - 20px);
    background-color: transparent;
    padding: 20px 30px;
    background-image: linear-gradient(346deg, #EE3238 0%, #740004 79%);
    border: 1px solid #E8E8E8;
    border-radius: 20px 0px 20px 0px;
    text-align: center;
}

.printing-section-text .inner-box h3 {
    color: #FFFFFF;
    font-family: "Lato", Sans-serif;
    font-size: 60px;
    font-weight: 600;
    line-height: 70px;
    letter-spacing: 0.5px;
}

.printing-section-text .inner-box p {
    color: #FFFFFF;
    font-family: "DM Sans", Sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0.5px;
}

/* Mobile */
@media (max-width: 768px) {
    .printing-section-text .inner-box div {
        flex: 1 1 100%;
    }

    .printing-section-text .inner-box h3 {
        font-size: 40px;
        line-height: 50px;
    }
}
.color-image img {
    height: 600px;
    object-fit: cover;
}

#textile-request-form-container .card-header,
#textile-request-form-container .btn-primary
{
    background-image: linear-gradient(346deg, #EE3238 0%, #740004 79%);
}

@media (max-width: 768px) {
    .cb-text-box h2,
    .cb-text-box-left h2 {
        font-size: 26px;
        line-height: 34px;
    }

    .cb-text-box p,
    .cb-text-box-left p {
        font-size: 15px;
        line-height: 24px;
    }
}

.katalog_blank_logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}


/* matrix */

/* ============================================================
   Custom Variation Matrix – clean table design
   Place in: your plugin's /frontend/css/ folder
   Include via plugin.json or Bootstrap SCSS override
   ============================================================ */

/* ---- Wrapper ---- */
.vari-matrix-wrapper {
    margin-top: 1rem;
}

/* ---- Table base ---- */
.vari-matrix-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    font-size: 0.95rem;
}

/* ---- Header row ---- */
.vari-matrix-table thead tr {
    background: #f5f5f5;
}

.vari-matrix-th {
    padding: 14px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #222;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
    white-space: nowrap;
}

/* ---- Body rows ---- */
.vari-matrix-row {
    background: #fff;
    transition: background 0.15s ease;
}

.vari-matrix-row:nth-child(odd) {
    background: #fafafa;
}

.vari-matrix-row:hover {
    background: #f0f4ff;
}

.vari-matrix-row td {
    padding: 12px 20px;
    border-bottom: 1px solid #ebebeb;
    vertical-align: middle;
}

.vari-matrix-row:last-child td {
    border-bottom: none;
}

/* ---- Column widths ---- */
.vari-matrix-table .col-size  { width: 35%; }
.vari-matrix-table .col-price { width: 35%; }
.vari-matrix-table .col-qty   { width: 30%; }

/* ---- Size label ---- */
.vari-matrix-size-cell {
    font-weight: 500;
    color: #333;
}

.vari-matrix-label {
    display: inline-block;
    vertical-align: middle;
}

/* ---- Price cell ---- */
.vari-matrix-price-cell {
    color: #333;
    white-space: nowrap;
}

.vari-matrix-price {
    font-weight: 500;
}

.vari-matrix-vpe {
    color: #777;
    font-size: 0.8rem;
    display: block;
    margin-top: 2px;
}

/* ---- Quantity input ---- */
.vari-matrix-qty-cell {
    text-align: left;
}

.vari-matrix-input-wrap {
    display: inline-block;
}

.vari-matrix-input {
    width: 70px;
    height: 38px;
    padding: 6px 10px;
    font-size: 0.95rem;
    text-align: center;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    background: #fff;
    color: #222;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -moz-appearance: textfield;
}
/* 
.vari-matrix-input::-webkit-inner-spin-button,
.vari-matrix-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
} */

.vari-matrix-input:focus {
    outline: none;
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.12);
}

.vari-matrix-input.input-error,
.vari-matrix-input-wrap.has-error .vari-matrix-input {
    border-color: #dc3545;
    background: #fff5f5;
}

/* ---- Stock status ---- */
.vari-matrix-stock {
    font-size: 0.8rem;
    margin-top: 4px;
    color: #666;
}

.vari-matrix-stock .status-1 { color: #28a745; }
.vari-matrix-stock .status-2 { color: #ffc107; }
.vari-matrix-stock .status-0 { color: #dc3545; }

/* ---- Not-available cell (2D matrix) ---- */
.vari-matrix-table td.not-available {
    background: #f9f9f9;
    color: #bbb;
}

/* ---- 2D matrix header alignment ---- */
.vari-matrix-2d thead th {
    text-align: center;
}
.vari-matrix-2d .vari-matrix-qty-cell {
    text-align: center;
}
.vari-matrix-2d .vari-matrix-input-wrap {
    display: flex;
    justify-content: center;
}

/* ---- Submit row ---- */
.product-matrix-submit {
    margin-top: 1.25rem;
}

/* ---- Responsive ---- */
@media (max-width: 575px) {
    .vari-matrix-th,
    .vari-matrix-row td {
        padding: 10px 12px;
        font-size: 0.875rem;
    }

    .vari-matrix-input {
        width: 58px;
        height: 34px;
        font-size: 0.875rem;
    }

    .vari-matrix-table .col-size  { width: 30%; }
    .vari-matrix-table .col-price { width: 35%; }
    .vari-matrix-table .col-qty   { width: 35%; }
}
