html {
    scroll-behavior: smooth;
}

.id-1941 .sidebar, .id-1941 h1 {
    display: none;
}

h2.special {
    text-align: center;
}

.wt-triplepack-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px 40px;

    background-color: #F2F2F2;
    text-align: left;
}

.wt-triplepack-info:has(.wt-triplepack-product-url:empty) {
    display: none;
}

.wt-triplepack-info__top {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;

    margin-bottom: 10px;
}

.wt-triplepack-product-rating {
    display: flex;
    flex-direction: column;

    flex-grow: 1;
}

.wt-triplepack-product-rating .rating-stars {
    display: flex;
    align-items: center;
    gap: 5px;

    min-height: 20px;
    margin-top: 5px;
}

.rating-star {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.rating-star.full {
    order: 1;

    background-image: url("https://537822.myshoptet.com/user/documents/upload/chladnezbrane/star-full.svg");
}

.rating-star.half {
    order: 2;

    background-image: url("https://537822.myshoptet.com/user/documents/upload/chladnezbrane/star-half.svg");
}

.rating-star.empty {
    order: 3;
    background-image: url("https://537822.myshoptet.com/user/documents/upload/chladnezbrane/star-empty.svg");
}

.wt-triplepack-product-availability {
    font-size: 13px;
    color: #10bb5f;
}

.wt-triplepack-info__bottom {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px 20px;

    margin-top: auto;
}

.wt-triplepack-product-url {
    flex-grow: 1;
}

.wt-triplepack-product-url a {
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    color: var(--color-primary);
}

.wt-triplepack-product-url a:hover {
    color: var(--color-primary-hover);
    text-decoration: none;
}

.wt-triplepack-product-price {
    font-size: 33px;
    color: #51282b;
    font-weight: 700;
}

.wt-triplepack-cart {
    display: flex;
    align-items: center;
    gap: 40px 100px;

    max-width: 850px;
    padding: 40px;
    margin: 60px auto 0;

    filter: drop-shadow(4.589px 6.553px 6.5px rgba(0, 0, 0, 0.14));
    background-color: #ffffff;
}

.wt-triplepack-cart-info {
    flex-grow: 1;
}

.wt-triplepack-price:first-child {
    margin-bottom: 5px;
}

.wt-triplepack-price {
    display: flex;
    gap: 20px;

    font-size: 22px;
    text-transform: uppercase;
    color: #51282b;
    font-weight: 600;
}

.wt-triplepack-price span:first-child {
    flex-grow: 1;
}

.wt-triplepack-original-price, .wt-triplepack-discount-price {
    font-weight: 700;
}

.wt-triplepack-original-price {
    position: relative;
}

.wt-triplepack-original-price::before {
    display: inline-block;

    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(14deg);

    background-color: var(--color-primary);
}

.wt-triplepack-configurator {
    max-width: 1200px;
    margin: 0 auto;
}

.wt-triplepack-quantity {
    display: flex;
    align-items: center;

    margin-top: 10px;
}

.wt-triplepack-quantity span {
    flex-grow: 1;

    font-size: 18px;
    font-weight: 600;
}

.wt-triplepack-quantity-input {
    width: 35px;
    height: 35px;
    padding: 0;

    border: none;
    text-align: center;
    font-weight: 700;
    line-height: 1;
    font-size: 24px;
    color: #51282b;
}

.wt-triplepack-add-to-cart[disabled] {
    cursor: not-allowed;
}

.wt-triplepack-quantity-btn {
    width: 35px;
    height: 35px;

    font-weight: 700;
    line-height: 1;
    font-size: 24px;
    color: #51282b;
    background-color: transparent;
    border: 2px solid #cfcfcf;
}

.wt-triplepack-add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;

    padding: 10px 20px;
    min-height: 54px;
    min-width: 200px;

    background-color: var(--color-primary);
    font-family: var(--template-font);
    text-transform: uppercase;
    font-size: 22px;
    color: #fff;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background-color ease 300ms;
}

.wt-triplepack-add-to-cart:hover {
    background-color: var(--color-primary-hover);
}

.wt-triplepack-add-to-cart::after {
    display: inline-block;
    content: "";
    width: 25px;
    height: 25px;
    background-image: url("https://537822.myshoptet.com/user/documents/upload/chladnezbrane/shopping-cart.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}












/* Selectory produktů */
.wt-triplepack-selectors {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 0px;
}

.wt-triplepack-selector {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.wt-triplepack-selector label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

.wt-triplepack-selector select {
    width: 100%;
    max-width: 100%;
    min-height: 60px;
    padding: 10px 50px 10px 30px;

    font-size: 18px;
    font-weight: 700;
    border: none;
    background-image: url("https://537822.myshoptet.com/user/documents/upload/chladnezbrane/chevron-down.svg");
    background-size: 20px;
    background-position: calc(100% - 20px) center;
    background-repeat: no-repeat;
    background-color: #f2f2f2;
    color: #000;
    cursor: pointer;
}

.wt-triplepack-product-info {
    display: flex;
    flex-direction: column;
    flex: 1;

    margin-top: 10px;
    width: 100%;
    text-align: center;
}

.wt-triplepack-product-image {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 15px;
    aspect-ratio: 1/1;

    overflow: hidden;
    background-color: var(--color-tertiary);
    transition: background-color ease 300ms;
}

.wt-triplepack-product-image:has(img[alt="Vyberte produkt"]) {
    background-color: var(--color-tertiary);
}

.wt-triplepack-product-image img {
    width: 100%;
    height: 100%;
    transition: max-height ease 300ms;
}

.wt-triplepack-product-image img[alt="Vyberte produkt"] {
    max-height: 180px;
    width: auto;
}

.wt-triplepack-product-name {
    margin-bottom: 5px;

    font-weight: 700;
    font-size: 26px;
    letter-spacing: -1px;
    color: #51282b;
    line-height: 1.3;
}

/*Košík widget*/

.cart-widget-inner .cart-widget-product-name a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Loading spinner */
.wt-triplepack-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: wt-triplepack-spin 1s linear infinite;
}

@keyframes wt-triplepack-spin {
    to {
        transform: rotate(360deg);
    }
}

.content-inner {
    max-width: 100%;
}

/* Responzivní design */

@media (max-width: 1199px) {

    .wt-triplepack-info {
        padding: 20px;
    }

    .wt-triplepack-product-name {
        font-size: 20px;
    }

    .wt-triplepack-product-price {
        font-size: 24px;
    }

    .wt-triplepack-product-rating .rating-stars {
        min-height: 15px;
    }

    .rating-star {
        width: 15px;
        height: 15px;
    }

    .wt-triplepack-selector select {
        min-height: 50px;
        padding-left: 20px;

        font-size: 16px;
    }

    section.triple-3 {
        padding-top: 30px;
    }
}

@media (max-width: 991px) {
    .wt-triplepack-selectors {
        justify-content: center;
    }

    .wt-triplepack-cart {
        flex-direction: column;
        gap: 0;
    }

    .wt-triplepack-cart-info, .wt-triplepack-cart-action {
        width: 100%;
    }

    .wt-triplepack-add-to-cart {
        width: 100%;
    }

    .wt-triplepack-cart-action {
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .wt-triplepack-product-info {
        max-width: 100%;
    }

    .wt-triplepack-price {
        font-size: 18px;
    }

    .wt-triplepack-cart {
        margin-top: 30px;
    }

    .wt-triplepack-add-to-cart {
        min-height: 48px;

        font-size: 18px;
    }

    .wt-triplepack-quantity-input {
        font-size: 20px;
    }
}

@media (max-width: 499px) {
    .wt-triplepack-product-image {
        margin-bottom: 10px;
    }

    .wt-triplepack-selector select {
        min-height: 44px;

        font-size: 14px;
    }

    section.triple-3 {
        padding-top: 20px;
    }

    .wt-triplepack-cart {
        padding: 20px;
    }

    .wt-triplepack-price, .wt-triplepack-quantity span {
        font-size: 16px;
    }

    .wt-triplepack-selector {
        max-width: 100%;
    }
}

/* Košík - zobrazení triplepack produktů */
.cart-table .p-name .wt-triplepack-cart-items,
table.cart-table td.p-name .wt-triplepack-cart-items,
.cart-table tbody tr td.p-name .wt-triplepack-cart-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.cart-table .p-name .wt-triplepack-cart-title,
table.cart-table td.p-name .wt-triplepack-cart-title,
.cart-table tbody tr td.p-name .wt-triplepack-cart-title {
    font-weight: bold;



    padding: 4px 0;

}

.cart-table .p-name .wt-triplepack-cart-item,
table.cart-table td.p-name .wt-triplepack-cart-item,
.cart-table tbody tr td.p-name .wt-triplepack-cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
}
.cart-table tbody tr td.p-name .wt-triplepack-cart-item:last-child{
    border: 0 ;
}
.cart-table .p-name .wt-triplepack-cart-item img,
table.cart-table td.p-name .wt-triplepack-cart-item img,
.cart-table tbody tr td.p-name .wt-triplepack-cart-item img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-table .p-name .wt-triplepack-cart-item div:first-of-type,
table.cart-table td.p-name .wt-triplepack-cart-item div:first-of-type,
.cart-table tbody tr td.p-name .wt-triplepack-cart-item div:first-of-type {
    flex: 1;
}

.cart-table .p-name .wt-triplepack-cart-item div div:first-child,
table.cart-table td.p-name .wt-triplepack-cart-item div div:first-child,
.cart-table tbody tr td.p-name .wt-triplepack-cart-item div div:first-child {
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.cart-table .p-name .wt-triplepack-cart-item div div:last-child,
table.cart-table td.p-name .wt-triplepack-cart-item div div:last-child,
.cart-table tbody tr td.p-name .wt-triplepack-cart-item div div:last-child {
    font-size: 12px;
    color: #666;
}

/* Responzivní design pro košík */
@media (max-width: 768px) {

    .cart-table .p-name .wt-triplepack-cart-items,
    table.cart-table td.p-name .wt-triplepack-cart-items,
    .cart-table tbody tr td.p-name .wt-triplepack-cart-items {
        gap: 8px;
    }

    .cart-table .p-name .wt-triplepack-cart-item,
    table.cart-table td.p-name .wt-triplepack-cart-item,
    .cart-table tbody tr td.p-name .wt-triplepack-cart-item {
        padding: 6px;
        gap: 8px;
    }

    .cart-table .p-name .wt-triplepack-cart-item img,
    table.cart-table td.p-name .wt-triplepack-cart-item img,
    .cart-table tbody tr td.p-name .wt-triplepack-cart-item img {
        width: 35px;
        height: 35px;
    }
}