:root {
    --gifts-main-color: #e6007e;
    --gifts-text-color: #212321;
    --gifts-small-text-color: #374957;
    --gifts-grey: #e6e6e6;
    --gifts-light-grey: #fcfcfc;
    --gifts-white: #ffffff;
    --gifts-heading-color: #34224f;
    --gifts-border: #dedede;
    --gifts-font: "Instrument Sans", sans-serif;
}

.gifts-page .category-wrapper__right {
    font-family: var(--gifts-font);
    padding-bottom: 40px;
}

.gifts-empty {
    font-size: 16px;
    color: var(--gifts-small-text-color);
    padding: 40px 0;
}

.gifts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gifts-page .pagination {
    margin-top: 22px;
    margin-bottom: 0;
    padding-bottom: 0;
}

.gifts-page .category-top-pagination {
    margin-bottom: 0;
}

.gifts-page .category-top-pagination .pagination {
    margin-top: 0;
}

.gifts-page .pagination_container .element:last-child {
    margin-right: 0;
}

.gifts-page .category-left-filters__slot.buttons .gifts-filter-clear {
    width: 74px;
    height: 35px;
    background-color: var(--gifts-white);
    border: 1px solid #34224f;
    font-size: 14px;
    font-weight: 400;
    color: #34224f;
    cursor: pointer;
    margin: 0;
}

.gifts-page .category-left-filters__slot.buttons .gifts-filter-clear:hover {
    background-color: #34224f;
    color: var(--gifts-white);
}

.gifts-page .category-menu .accordion-button.active,
.gifts-page .category-menu .main-cat-navi.active {
    background-color: var(--gifts-main-color) !important;
    color: var(--gifts-white) !important;
}

.gift-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--gifts-white);
    border: 1px solid var(--gifts-grey);
    overflow: hidden;
    text-decoration: none;
}

/* .product-label-box/.product-label nie maja wersji ogolnej w tym projekcie - istnieja tylko
   zagniezdzone pod .category-filters-main__slot / .swiper_products_block_box (main.css + extras.css).
   Ponizej kopia 1:1 finalnego (po uwzglednieniu nadpisan w extras.css) wygladu tych badge'y,
   podpieta pod .gift-card - jedyna swiadoma zmiana to top-right zamiast top-left. */
.gift-card .product-label-box {
    position: absolute;
    top: 0;
    left: auto;
    right: 0;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    z-index: 1;
}

.gift-card .product-label-box .product-label {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    border-radius: 2px;
    padding: 1px 4px;
    margin-right: 0;
    margin-left: 5px;
    margin-bottom: 5px;
}

.gift-card .product-label-box .product-label p {
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    text-transform: uppercase;
    color: #212321;
    margin: 0;
    padding: 5px 10px;
    text-align: center;
}

/* Karta zestawu na liscie zawsze pokazuje 2 rzedy: duze zdjecie glowne calego zestawu na gorze
   (gift-card__media-main - wlasne zdjecie zestawu, a w razie jego braku pusty placeholder) oraz
   pod nim 3 male zdjecia komponentow (gift-card__thumbs) - oba rzedy jednoczesnie, nie na zmiane. */
.gift-card__media {
    position: relative;
    width: 100%;
    background: var(--gifts-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding: 16px;
    gap: 12px;
}

.gift-card__media-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gift-card__media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gift-card__media-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gifts-light-grey);
    border: 1px dashed var(--gifts-grey);
}

.gift-card__thumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.gift-card__thumb {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    max-width: 110px;
    background: var(--gifts-white);
    border: 1px solid var(--gifts-light-grey);
}

.gift-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.gift-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px 20px 8px;
}

.gift-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 130%;
    text-transform: uppercase;
    color: var(--gifts-text-color);
    margin: 0 0 14px;
}

.gift-card__items {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gift-card__items li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
    line-height: 140%;
    color: var(--gifts-small-text-color);
    white-space: nowrap;
    overflow: hidden;
}

.gift-card__items-code {
    flex: 0 0 auto;
    font-weight: 700;
    color: var(--gifts-text-color);
}

.gift-card__items-name {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gift-card__box {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 4px 0 14px;
    padding-top: 12px;
    padding-bottom: 14px;
    border-top: 1px dashed var(--gifts-grey);
    border-bottom: 1px solid var(--gifts-grey);
    font-size: 13px;
    line-height: 140%;
    color: var(--gifts-small-text-color);
}

.gift-card__box-label {
    font-weight: 700;
    color: var(--gifts-text-color);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.02em;
}

.gift-card__price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 4px;
}

.gift-card__price-catalog {
    font-size: 12px;
    font-weight: 600;
    color: var(--gifts-text-color);
}

.gift-card__price-catalog--crossed {
    font-weight: 400;
    font-size: 13px;
    color: var(--gifts-small-text-color);
    text-decoration: line-through;
}

.gift-card__price-netto,
.gift-card__price-promotion {
    font-size: 14px;
    font-weight: 700;
    color: var(--gifts-main-color);
}

.gift-card .table-delivery {
    margin-bottom: 14px;
}

.gift-card .table-delivery table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.gift-card .table-delivery th,
.gift-card .table-delivery td {
    border: 1px solid var(--gifts-grey);
    text-align: center;
    font-size: 11px;
    line-height: 130%;
    color: var(--gifts-small-text-color);
    padding: 4px 2px;
}

.gift-card .table-delivery th {
    background: var(--gifts-light-grey);
    color: var(--gifts-text-color);
    font-weight: 600;
}

.gift-card__footer {
    margin-top: auto;
    padding: 0 20px 20px;
}

.gift-card__cta.white-btn {
    width: 100%;
    margin-top: 0;
    height: 46px;
    font-family: var(--gifts-font);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    pointer-events: none;
}

.gift-card:hover .gift-card__cta.white-btn {
    background-color: var(--gifts-main-color);
    color: var(--gifts-white);
}

.gifts-configurator_container {
    font-family: var(--gifts-font);
    background: var(--gifts-light-grey);
    padding: 0 0 80px;
}

.gifts-configurator_container h1 {
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gifts-text-color);
    margin: 0 0 24px;
}

.gifts-configurator_container .container:has(.gifts-header-title) {
    margin-bottom: 24px;
}

.gifts-header-title {
    padding: 35px 0;
    background-color: var(--gifts-white);
}

.gifts-header-title .title {
    font-weight: 900;
    font-size: 32px;
    line-height: 120%;
    vertical-align: middle;
    text-transform: uppercase;
    color: var(--gifts-heading-color);
    text-align: center;
    margin-bottom: 0;
}

.gifts-header-title .title .gift-tier-badge {
    vertical-align: middle;
    margin-left: 14px;
    font-size: 13px;
    padding: 6px 16px;
}

@media (max-width: 991px) {
    .gifts-header-title {
        padding: 24px 0;
    }
    .gifts-header-title .title {
        font-size: 24px;
    }

    /* .common-steps-container/-slot sa dzielone z eshop/shopcart/moffer/usb-configuratora (nie
       wolno ich zmieniac globalnie) - domyslnie na tej szerokosci ukladaja sie w kolumnie (main.css).
       Dla kreatora zestawow chcemy oba kroki w 1 linii, po 50% szerokosci kazdy, z mniejsza czcionka. */
    .gifts-configurator_container .common-steps-container .container {
        flex-direction: row;
    }
    .gifts-configurator_container .common-steps-container .container .common-steps-container-slot {
        flex: 1 1 50%;
        width: 50%;
        justify-content: center;
    }
    .gifts-configurator_container .common-steps-container .container .common-steps-container-slot p {
        font-size: 12px;
        text-align: center;
    }
}

.gifts-row-grid .white-btn {
    margin-bottom: 24px;
}

.gifts-configurator_container .accordion-container {
    width: calc(80% - 27px);
    margin-right: 27px;
}

.gifts-configurator_container .accordion-container .accordion-item {
    border: 0;
    margin-bottom: 15px;
}

.gifts-configurator_container .accordion-container .accordion-button,
.gifts-configurator_container .accordion-container .accordion .accordion-button:not(.collapsed) {
    background-color: var(--gifts-white);
    border-bottom: 1px solid var(--gifts-light-grey);
}

.gifts-configurator_container .accordion-container .accordion-button {
    pointer-events: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 18px;
    font-weight: 600;
    line-height: 120%;
    text-transform: uppercase;
    color: var(--gifts-text-color);
}

.gifts-configurator_container .accordion-container .accordion-button::after {
    position: absolute;
    top: 22px;
    right: 22px;
    background-image: url(/assets/icons/common/grey-arrow-down.svg);
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 16px;
}

.gifts-configurator_container .accordion-container .accordion-button .number {
    font-size: 25px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    color: var(--gifts-main-color);
    margin: 0 24px 0 8px;
}

.gifts-configurator_container .accordion-container .accordion-button .code-quantity {
    font-size: 18px;
    font-weight: 400;
    line-height: 177.023%;
    color: #8a8a8a;
    margin: 0 0 0 16px;
    text-transform: none;
}

@media (max-width: 991px) {
    .gifts-configurator_container .accordion-container .accordion-button {
        padding: 8px;
        font-size: 14px;
        height: 60px;
        line-height: 16px;
        padding-right: 32px;
    }
    .gifts-configurator_container .accordion-container .accordion-button .number {
        font-size: 20px;
        margin: 0 8px 0 2px;
    }
    .gifts-configurator_container .accordion-container .accordion-button .code-quantity {
        font-size: 12px;
    }
    .gifts-configurator_container .accordion-container .accordion-button::after {
        top: 18px;
        right: 6px;
        background-size: 10px;
    }
    .gifts-configurator_container .accordion-container .accordion-button .gifts-step-title-text {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    /* .product-label-box jest pozycjonowany position:absolute wzgledem najblizszego
       position:relative przodka - w Kroku 1 jest to sam .accordion-button (position:relative),
       wiec na waskim ekranie odznaka "przykleja" sie do prawego gornego rogu i zaslania tytul.
       Na mobile wylaczamy absolute, zeby odznaka byla normalnym elementem flex obok tytulu. */
    .gifts-configurator_container .accordion-container .accordion-button .product-label-box {
        position: static;
        flex: 0 0 auto;
        margin-left: 4px;
    }
}

.gifts-configurator_container .accordion-container .accordion-body {
    justify-content: flex-start !important;
    background-color: var(--gifts-white);
    padding: 40px;
}

@media (max-width: 760px) {
    .gifts-configurator_container .accordion-container .accordion-body {
        padding: 16px;
    }
}

.gifts-intro-box {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 32px;
}

/* Badge rodzaju zestawu w Kroku 1 - 1:1 styl .product-label-box/.product-label (patrz komentarz
   przy .gift-card .product-label-box w tym samym pliku), w prawym gornym rogu sekcji zdjecie+tresc. */
.product-label-box {
    position: absolute;
    top: 16px;
    left: auto;
    right: 50px;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    z-index: 1;
}

.product-label-box .product-label {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    border-radius: 2px;
    padding: 1px 4px;
    margin-right: 0;
    margin-left: 5px;
    margin-bottom: 5px;
}

.product-label-box .product-label p {
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    text-transform: uppercase;
    color: #212321;
    margin: 0;
    padding: 5px 15px;
    text-align: center;
}

.gifts-intro-box__media {
    flex: 0 0 340px;
    max-width: 100%;
}

.gifts-intro-box__media img {
    width: 100%;
    max-height: 340px;
    object-fit: contain;
    background: var(--gifts-white);
}

.gifts-intro-box__text {
    flex: 1 1 0;
    min-width: 260px;
    font-size: 16px;
    line-height: 160%;
    color: var(--gifts-small-text-color);
}

.gifts-intro-box__text p {
    margin: 0 0 12px;
}

.gifts-component-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
    margin-bottom: 32px;
}

.gifts-component-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 220px;
    min-width: 220px;
    padding: 20px;
    border: 1px solid #f0f0f0;
    text-align: center;
}

.gifts-component-card .gift-card__price {
    margin-top: auto;
}

.gifts-component-card__media {
    height: 162px;
}

.gifts-component-card__media a {
    display: inline-block;
}

.gifts-component-card img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 12px;
}

.gifts-component-card__name {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #212321;
    margin: 0 0 6px;
}

.gifts-component-card__code {
    font-size: 13px;
    color: #8a8a8a;
    margin: 0 0 10px;
}

.gifts-component-card__marking {
    font-size: 12px;
    font-weight: 700;
    color: var(--gifts-text-color);
    margin: 2px 0 0;
}

.gifts-component-card__total {
    margin: 6px 0 0;
    padding-top: 6px;
    border-top: 1px dashed var(--gifts-grey);
    text-align: center;
}

.gifts-component-card__total-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gifts-heading-color);
    text-transform: uppercase;
    margin: 0;
    text-align: center;
}

.gifts-component-card__total-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--gifts-heading-color);
    margin: 2px 0 0;
    text-align: center;
}

.gifts-component-card__total-unit {
    font-size: 13px;
    font-weight: 400;
    color: var(--gifts-small-text-color);
    margin: 2px 0 0;
    text-align: center;
}

.gifts-component-card__code span {
    color: #212321;
    font-weight: 600;
}

/* Kopia mobilna .gifts-colors-squares wewnatrz karty komponentu - patrz komentarz przy
   giftsRenderColorSquares() w configurator.php. Domyslnie (desktop) ukryta, bo tam kwadraciki
   koloru sa renderowane w osobnej sekcji .gifts-colors-box wyrownanej do kart. */
.gifts-component-card__mobile-colors {
    display: none;
}

.gifts-configurator_container .input-slot {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 16px;
}

.gifts-configurator_container .input-slot .white-btn {
    margin-top: 0;
    margin-bottom: 0;
}

.gifts-configurator_container .input-column {
    display: flex;
    flex-direction: column;
}

.gifts-configurator_container .input-column label {
    font-size: 14px;
    color: var(--gifts-small-text-color);
}

@media (max-width: 760px) {
    /* Ilosc + "Zatwierdz" w 1 rzedzie bez zawijania powodowaly, ze przycisk wychodzil poza
       karte na waskich ekranach (brak flex-wrap i brak jawnej szerokosci inputa/przycisku). */
    .gifts-configurator_container .input-slot {
        flex-wrap: wrap;
    }
    .gifts-configurator_container .input-column {
        flex: 1 1 100%;
    }
    .gifts-configurator_container .input-column input {
        width: 100%;
        box-sizing: border-box;
    }
    .gifts-configurator_container .input-slot .white-btn {
        flex: 1 1 100%;
        width: 100%;
    }
}

.gifts-colors-box {
    display: grid;
    grid-template-rows: auto;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    row-gap: 24px;
    column-gap: 24px;
}

.gifts-colors-row {
    display: contents;
}

.gifts-row-title {
    margin-bottom: 0;
}

.gifts-row-title span {
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
    text-transform: uppercase;
    color: var(--gifts-small-text-color);
}

.gifts-colors-squares {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gifts-color-circle {
    width: 32px;
    height: 32px;
    cursor: pointer;
    border-radius: 100%;
    border: 1px solid #ccc;
}

.gifts-color-circle.checked {
    outline: 1px solid #000000;
    background-image: url(/assets/icons/product_page/checked.svg);
    background-size: 15px 10px;
    background-repeat: no-repeat;
    background-position: center;
}

.gifts-color-circle.checked.light {
    background-image: url(/assets/icons/product_page/checked-black.svg);
}

.gifts-color-circle.light {
    border-color: #999999;
}

.gifts-color-circle:hover {
    outline: 1px solid #000000;
}

.gifts-color-circle.single {
    cursor: default;
}

@media (max-width: 760px) {
    /* Na desktop kwadraciki koloru siedza w osobnej sekcji .gifts-colors-box POD wszystkimi
       kartami komponentow (dziala tylko dzieki temu, ze .gifts-component-cards i .gifts-colors-box
       ukladaja sie w tej samej liczbie kolumn). Na mobile (1 kolumna) to juz nie dziala - wybor
       koloru ladowal sie zbiorczo na samym dole, pod wszystkimi kartami. Dlatego na mobile chowamy
       cala sekcje .gifts-colors-box i pokazujemy zamiast niej kopie wewnatrz kazdej karty
       (.gifts-component-card__mobile-colors, patrz giftsRenderColorSquares() w configurator.php). */
    .gifts-colors-box {
        display: none;
    }
    .gifts-component-card__mobile-colors {
        display: block;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px dashed var(--gifts-grey);
    }
    .gifts-component-card__mobile-colors .gifts-colors-squares {
        justify-content: center;
    }
}

.gifts-marking-groups {
    display: grid;
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    row-gap: 36px;
    column-gap: 24px;
}

.gifts-marking-row {
    display: contents;
}

.gifts-marking-row .gifts-row-title {
    margin-bottom: 0;
}

@media (max-width: 760px) {
    .gifts-marking-groups {
        grid-template-rows: none;
        grid-auto-flow: row;
        grid-template-columns: 1fr;
        row-gap: 24px;
    }
    .gifts-marking-row .gifts-row-title {
        margin-bottom: 12px;
    }
}

/* Krok 4 - wybor znakowania w stylu kalkulatora (/elements/calculate): selecty technika/miejsca/kolory
   w ukladzie 2 kolumn 50/50 (1 logo | 2 rozne loga), oraz ramki z dynamicznymi cenami (markings-b.php,
   ten sam mechanizm co w kalkulatorze) zalezne od ilosci z kroku 3. Wszystkie klasy ponizej sa
   dedykowane dla konfiguratora zestawow (gifts-calc-*), nie sa wspoldzielone z /elements/calculate. */
.gifts-marking-groups.gifts-calc {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gifts-marking-groups.gifts-calc .gifts-marking-row {
    display: block;
    padding: 28px 0;
    border-bottom: 1px dashed var(--gifts-grey);
}

.gifts-marking-groups.gifts-calc .gifts-marking-row:first-child {
    padding-top: 0;
}

.gifts-marking-groups.gifts-calc .gifts-marking-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.gifts-marking-groups.gifts-calc .gifts-row-title {
    margin-bottom: 16px;
}

.gifts-calc-two-col {
    display: flex;
    flex-wrap: wrap;
}

.gifts-calc-mode-col {
    flex: 1 1 33.3333%;
    max-width: 33.3333%;
    box-sizing: border-box;
    padding-right: 20px;
}

.gifts-calc-mode-col + .gifts-calc-mode-col {
    flex: 1 1 66.6666%;
    max-width: 66.6666%;
    padding-right: 0;
    padding-left: 20px;
    border-left: 1px solid var(--gifts-grey);
}

.gifts-calc-mode-col .custom-radio-container {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gifts-small-text-color);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.gifts-calc-select-types {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gifts-calc-select-types--two {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
}

.gifts-calc-select-types--two .gifts-calc-select-types__group {
    flex: 1 1 220px;
    min-width: 200px;
}

.gifts-calc-select-types__row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.gifts-calc-select-types__row:last-of-type {
    margin-bottom: 0;
}

.gifts-calc-select-types__row .types-col p {
    font-size: 13px;
    color: var(--gifts-small-text-color);
    margin: 0;
    white-space: nowrap;
}

.gifts-calc-select-types__row .types-col:not(.select) {
    flex: 1 1 auto;
    min-width: 0;
}

.gifts-calc-select-types__row .types-col.select {
    flex: 0 0 170px;
    width: 170px;
    max-width: 100%;
}

.gifts-calc-select-types__row .types-col.select select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--gifts-grey);
    border-radius: 2px;
    font-size: 13px;
    color: var(--gifts-text-color);
    background: var(--gifts-white);
}

.gifts-calc-frames {
    margin-top: 24px;
}

/* markings-b.php (ramki znakowania) w kalkulatorze dziedziczy szerokosc/zawijanie z regul
   scoped pod .product_card_tabs .tab-content .tab-pane (mframes.css/extras.css), ktorych nie
   ma w markupie konfiguratora zestawow. Bez tego karty nie zawijaly sie do nowego wiersza i
   details-slots wychodzily poza ramke. Odtwarzamy ten layout tutaj (lekko szerszy, 3 w rzedzie
   zamiast 4), niezaleznie od plikow kalkulatora. */
.gifts-calc-frames .branding-row-elements {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 20px;
}

.gifts-calc-frames .branding-row-elements .branding-col-card {
    flex: 0 1 calc(33.3333% - 14px) !important;
    max-width: calc(33.3333% - 14px) !important;
    min-width: 240px;
    box-sizing: border-box !important;
    background: var(--gifts-white);
    overflow: hidden;
}

.gifts-calc-frames .branding-row-elements .branding-col-card .checkbox-frame {
    width: 100%;
    box-sizing: border-box !important;
    overflow: hidden;
}

.gifts-calc-frames .branding-row-elements .branding-col-card .image {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
}

.gifts-calc-frames .branding-row-elements .branding-col-card .title {
    height: auto !important;
    min-height: 60px;
    padding: 10px 0 !important;
}

.gifts-calc-frames .branding-row-elements .branding-col-card .title p {
    line-height: 140% !important;
    white-space: normal !important;
}

.gifts-calc-frames .branding-row-elements .branding-col-card .image img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    max-height: 220px;
}

.gifts-calc-frames .branding-row-elements .branding-col-card .details-slots {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.gifts-calc-frames .branding-row-elements .branding-col-card .details-slots .detail-slot {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 0;
}

.gifts-calc-frames .branding-row-elements .branding-col-card .details-slots .detail-slot img {
    object-fit: contain;
    margin-right: 8px;
}

.gifts-calc-frames .branding-row-elements .branding-col-card .details-slots .detail-slot p {
    font-size: 13px;
    margin: 0;
    color: var(--gifts-text-color);
}

@media (max-width: 760px) {
    .gifts-calc-frames .branding-row-elements .branding-col-card {
        flex: 1 1 100%;
        min-width: 0;
    }

    .gifts-calc-mode-col {
        flex: 1 1 100%;
        max-width: 100%;
        padding-right: 0;
    }
    .gifts-calc-mode-col + .gifts-calc-mode-col {
        flex: 1 1 100%;
        max-width: 100%;
        padding-left: 0;
        border-left: 0;
        border-top: 1px dashed var(--gifts-grey);
        margin-top: 20px;
        padding-top: 20px;
    }
    .gifts-calc-select-types--two {
        flex-direction: column;
    }
    .gifts-calc-select-types__row {
        flex-wrap: wrap;
    }
    .gifts-calc-select-types__row .types-col.select {
        flex: 1 1 100%;
        width: 100%;
    }
}

.gifts-summary-box {
    width: 460px;
    max-width: 460px;
    min-width: 457px;
}

.gifts-summary-box__wrapper {
    position: sticky;
    top: 16px;
    background-color: var(--gifts-white);
    border: 1px solid var(--gifts-border);
}

.gifts-summary-box__title {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid var(--gifts-border);
}

.gifts-summary-box__title p {
    font-weight: 700;
    font-size: 22px;
    line-height: 140%;
    text-transform: uppercase;
    color: var(--gifts-small-text-color);
    margin: 0;
}

.gifts-summary-box__quantity,
.gifts-summary-box__price,
.gifts-summary-box__availability,
.gifts-summary-box__branding,
.gifts-summary-box__comments {
    padding: 12px 24px;
    border-bottom: 1px solid #8a8a8a;
    margin: 0 24px;
}

.gifts-summary-box__quantity .subtitle,
.gifts-summary-box__price .subtitle,
.gifts-summary-box__availability .subtitle,
.gifts-summary-box__branding .subtitle {
    font-weight: 700;
    font-size: 18px;
    line-height: 160%;
    color: var(--gifts-small-text-color);
    margin-bottom: 8px;
}

.gifts-summary-box small {
    display: flex;
    font-size: 14px;
    color: #4a6375;
}

.gifts-summary-box small span.green {
    display: inline-flex;
    margin: 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: #00ba28;
}

.gifts-summary-box small span.green a {
    color: #00ba28;
    text-decoration: none;
}

.gifts-summary-box .quantity {
    font-weight: 700;
    font-size: 22px;
    line-height: 160%;
    color: var(--gifts-heading-color);
    margin-bottom: 0;
}

.gifts-summary-box__availability .part,
.gifts-summary-box__branding .part {
    display: flex;
    font-size: 14px;
    color: #4a6375;
    margin: 0;
    border-bottom: 1px solid #ebebeb;
    padding: 2px 0;
}

.gifts-summary-box__availability .part span,
.gifts-summary-box__branding .part span {
    width: 30%;
}

.gifts-summary-box__availability .part:last-of-type,
.gifts-summary-box__branding .part:last-of-type {
    border-bottom: 0;
}

.gifts-summary-box__availability .part.gifts-summary-box__availability-date {
    color: var(--gifts-main-color);
    font-weight: 700;
}

.gifts-summary-box__comments {
    border-bottom: 0;
    background-color: #ffc8c8;
    padding: 12px 24px 12px 12px;
    margin: 24px;
}

.gifts-comments-box {
    display: flex;
    gap: 18px;
}

.gifts-comments-box__img {
    flex-shrink: 0;
}

.gifts-comments-box__text p {
    margin: 0;
    font-size: 14px;
}

.gifts-comments-box__text p.title strong {
    display: block;
    margin: 15px 0 5px 0;
}

.gifts-comments-box__text p.title:first-of-type strong {
    margin: 0 0 5px 0;
}

.gifts-comments-box__text p.note {
    margin-top: 15px;
}

.gifts-summary-box__button {
    margin: 0 24px 24px 24px;
    width: 100%;
}

.gifts-summary-box__button a {
    width: calc(100% - 48px);
}

.gifts-summary-box__button a:hover img {
    content: url(/assets/icons/common/buttons/button_pink_arrow.svg);
}

@media (max-width: 760px) {
    .gifts-summary-box__title p {
        font-size: 18px;
    }
    .gifts-summary-box__quantity,
    .gifts-summary-box__price,
    .gifts-summary-box__availability,
    .gifts-summary-box__branding {
        padding: 16px 12px;
        margin: 0 8px;
    }
    .gifts-summary-box__quantity .subtitle,
    .gifts-summary-box__price .subtitle,
    .gifts-summary-box__availability .subtitle,
    .gifts-summary-box__branding .subtitle {
        font-size: 16px;
    }
    .gifts-summary-box .quantity {
        font-size: 16px;
    }
    .gifts-summary-box__comments {
        margin: 8px;
    }
    .gifts-summary-box__button {
        margin: 8px;
    }
    .gifts-summary-box__button a {
        width: calc(100% - 16px);
    }
}

@media (max-width: 1180px) {
    .gifts-row-grid {
        flex-direction: column !important;
    }
    .gifts-configurator_container .accordion-container {
        width: 100%;
        margin-right: 0;
    }
    .gifts-summary-box {
        min-width: unset;
        max-width: unset;
        width: 100%;
    }
}

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

@media (max-width: 700px) {
    .gifts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .gift-card__title {
        font-size: 16px;
    }
}
