/* Gift Solutions — TGWV Builder element (from Reference/static-html) */

.gift-solutions {
    --tt-primary-red: #8b0000;
    width: 100%;
    padding: 40px 0;
}

.gift-solutions--empty {
    text-align: center;
}

.gift-solutions__empty {
    margin: 0;
    padding: 24px 16px;
    color: #917359;
    font-size: 16px;
}

.gift-solutions__heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.gift-solutions__line {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 1px;
    background-color: var(--tt-primary-red);
    pointer-events: none;
}

.gift-solutions__corner {
    position: absolute;
    top: calc(50% - 2px);
    z-index: 1;
    width: 5px;
    height: 5px;
    border: 1px solid var(--tt-primary-red);
    background-color: #fff;
    pointer-events: none;
}

.gift-solutions__corner--left {
    left: -4px;
}

.gift-solutions__corner--right {
    right: -4px;
}

.gift-solutions__title {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 1px;
    border-top: 1px solid var(--tt-primary-red);
    border-bottom: 1px solid var(--tt-primary-red);
    background-color: #fff;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.gift-solutions__title-text {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 3px 24px;
    background-color: var(--tt-primary-red);
    color: #fff;
    font-size: 24px;
    line-height: 1.6;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    margin: 0;
}

.gift-solutions__title-decoration {
    position: absolute;
    top: -1px;
    z-index: 3;
    width: 14px;
    height: calc(100% + 2px);
    display: block;
    pointer-events: none;
}

.gift-solutions__title-decoration img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gift-solutions__title-decoration--left {
    left: -12px;
}

.gift-solutions__title-decoration--right {
    right: -12px;
}

.gift-solutions__description {
    margin: 20px auto;
    padding-right: 12%;
    padding-left: 12%;
    color: #5e4027;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.gift-solutions__carousel {
    position: relative;
    width: 100%;
    margin-top: 16px;
}

.gift-solutions__swiper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.gift-solutions__swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.gift-solutions__swiper .swiper-slide {
    position: relative;
    display: flex;
    align-items: stretch;
    height: auto;
    box-sizing: border-box;
}

.gift-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    margin: 24px 4px 0;
    padding: 2px;
    border: 1px solid #faa519;
    background: linear-gradient(to left, #fdd89b, #fbf2e2);
    box-sizing: border-box;
}

.gift-card__title {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 5;
    display: block;
    padding: 1px 0;
    border-top: 1px solid #faa519;
    border-bottom: 1px solid #faa519;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    box-sizing: border-box;
}

.gift-card__title::before {
    content: "";
    background: var(--gs-card-title-left) no-repeat;
    width: 13px;
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -10px;
}

.gift-card__title::after {
    content: "";
    background: var(--gs-card-title-right) no-repeat;
    width: 13px;
    position: absolute;
    top: -1px;
    bottom: -10px;
    right: -12px;
}

.gift-card__title span {
    display: block;
    padding: 0 12px;
    color: var(--tt-primary-red);
    font-size: 16px;
    line-height: 40px;
    font-weight: 700;
    background-color: #faa519;
    text-align: center;
    white-space: nowrap;
}

.gift-card__image-link {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    text-decoration: none;
}

.gift-card__image {
    display: block;
    width: 100%;
    height: 370px;
    margin: 0;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.gift-card__image-link:hover .gift-card__image {
    transform: scale(1.02);
}

.gift-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 74px;
    padding: 20px 16px;
}

.gift-card__content-bg {
    position: absolute;
    left: 0;
    bottom: 100%;
    z-index: 3;
    display: block;
    width: 100%;
    height: 32px;
    margin: 0;
    object-fit: cover;
    pointer-events: none;
}

.gift-card__price {
    margin: 0;
    color: #5e4027;
    font-size: 16px;
    line-height: 1.5;
}

.gift-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 16px;
    border: 0;
    border-radius: 20px;
    background-color: #fff;
    color: var(--tt-primary-red);
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-radius 0.25s ease, box-shadow 0.25s ease;
}

.gift-card__button:hover {
    border-radius: 4px;
    background-color: var(--tt-primary-red);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.gift-card__button span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.gift-card__button:hover span {
    transform: translateX(2px);
}

.gift-solutions__nav {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
    appearance: none;
}

.gift-solutions__nav img {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.gift-solutions__nav--prev {
    left: -12px;
}

.gift-solutions__nav--prev:hover img {
    transform: translateX(-2px);
}

.gift-solutions__nav--next {
    right: -12px;
}

.gift-solutions__nav--next:hover img {
    transform: translateX(2px);
}

.gift-solutions__nav.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.gift-solutions__more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
}

.gift-solutions__more-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #917359;
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.25s ease;
}

.gift-solutions__more-link:hover {
    color: var(--tt-primary-red);
    text-decoration: none;
}

.gift-solutions__more-link img {
    display: block;
    width: 15px;
    height: 15px;
    margin: 0;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gift-solutions__more-link:hover img {
    transform: translateX(12px);
}

@media (max-width: 991px) {
    .gift-solutions {
        padding: 32px 0;
    }

    .gift-solutions__description {
        display: none;
    }

    .gift-card__image {
        height: 320px;
    }

    .gift-solutions__nav--prev {
        left: -8px;
    }

    .gift-solutions__nav--next {
        right: -8px;
    }

    .gift-solutions__title-text {
        font-size: 18px;
        line-height: 1.6;
    }
}

@media (max-width: 767px) {
    .gift-solutions {
        padding: 30px 0;
    }

    .gift-solutions__title-text {
        min-height: 40px;
        padding: 3px 18px;
        font-size: 18px;
        line-height: 1.6;
    }

    .gift-card {
        margin-top: 22px;
    }

    .gift-card__title span {
        padding: 0 10px;
        font-size: 14px;
        line-height: 36px;
    }

    .gift-card__image {
        height: 320px;
    }

    .gift-card__content {
        min-height: 70px;
        padding: 18px 14px;
    }

    .gift-solutions__nav {
        width: 34px;
        height: 34px;
    }

    .gift-solutions__nav img {
        width: 29px;
        height: 29px;
    }

    .gift-solutions__nav--prev {
        left: -5px;
    }

    .gift-solutions__nav--next {
        right: -5px;
    }
}

@media (max-width: 576px) {
    .gift-solutions {
        padding: 24px 0;
    }

    .gift-solutions__heading {
        min-height: 42px;
        margin-bottom: 16px;
    }

    .gift-solutions__title-text {
        max-width: 280px;
        min-height: 38px;
        padding: 3px 12px;
        font-size: 18px;
        line-height: 1.2;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .gift-card__title span {
        max-width: 280px;
        padding: 0 8px;
        font-size: 13px;
        line-height: 34px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .gift-card__image {
        height: 300px;
    }

    .gift-card__content {
        min-height: 66px;
        padding: 16px 12px;
    }

    .gift-card__price {
        font-size: 14px;
    }

    .gift-card__button {
        min-width: 76px;
        height: 30px;
        padding: 4px 12px;
        font-size: 13px;
    }

    .gift-solutions__nav {
        width: 32px;
        height: 32px;
    }

    .gift-solutions__nav img {
        width: 27px;
        height: 27px;
    }

    .gift-solutions__nav--prev {
        left: -4px;
    }

    .gift-solutions__nav--next {
        right: -4px;
    }

    .gift-solutions__more {
        margin-top: 12px;
    }

    .gift-solutions__more-link {
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    .gift-solutions__title-text {
        max-width: 240px;
        font-size: 18px;
    }

    .gift-card__image {
        height: 280px;
    }

    .gift-card__content {
        padding: 14px 10px;
    }

    .gift-card__button {
        padding-right: 10px;
        padding-left: 10px;
    }
}
