/* ----------------------------------------------------------- */


/* OFFER DETAILS */


/* ----------------------------------------------------------- */

.tas_details {
    --line: #e9ecef;
    --muted: #6c757d;
    --soft: #f4f5f7;
}

.tas_details .crumbs {
    margin: 0 0 20px;
}

/* The slash between the steps takes less room than the 20px of UIkit */
.tas_details .crumbs>:nth-child(n+2):not(.uk-first-column)::before {
    margin: 0 10px;
}

.tas_details .box {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgb(0 0 0 / 6%);
    padding: 24px;
    margin-bottom: 30px;
}

/* The columns under the offer keep their own gap when they stack, the last box of each adds none */
.tas_details .uk-grid>*>:last-child {
    margin-bottom: 0;
}

.tas_details .heading {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    margin: 0 0 16px;
}

/* The image over the share row, with the summary beside the two */
.tas_details .hero {
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: auto 1fr;
    grid-template-areas: "media summary" "share summary";
    padding: 0;
    overflow: hidden;
}

/* The images are stored at 700x450, the box keeps that ratio so nothing of them is cut off */
.tas_details .media {
    grid-area: media;
    position: relative;
    padding-top: 64.2857%;
    background: var(--soft);
}

.tas_details .media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tas_details .summary {
    grid-area: summary;
    min-width: 0;
    padding: 28px;
    border-left: 1px solid var(--line);
}

.tas_details .badges {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.tas_details .badge {
    display: inline-flex;
    align-items: center;
    margin: 0 8px 6px 0;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    color: #555;
    background: var(--soft);
    border-radius: 100px;
}

.tas_details .badge i {
    margin-right: 5px;
    font-size: 14px;
}

.tas_details .badge.exclusive {
    color: #000;
    background: #f1c40f;
}

.tas_details .badge.verified {
    color: var(--primary-color-hover);
    background: rgba(var(--primary-color-rgb), 0.12);
}

.tas_details .title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.35;
    color: #2b2b2b;
    margin: 0 0 14px;
    overflow-wrap: anywhere;
}

.tas_details .seller {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin-bottom: 18px;
    font-size: 14px;
    color: var(--muted);
}

.tas_details .seller img {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.tas_details .seller strong {
    font-weight: 600;
    color: #333;
}

.tas_details .seller:hover strong {
    color: var(--primary-color);
}

/* What the deal is */
.tas_details .deal {
    margin-bottom: 18px;
    padding: 16px 18px;
    background: rgba(var(--primary-color-rgb), 0.06);
    border-radius: 10px;
}

.tas_details .label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.tas_details .prices {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.tas_details .prices>* {
    margin: 2px 12px 2px 0;
}

.tas_details .price {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    color: #2b2b2b;
}

.tas_details .oldprice {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.tas_details .discount {
    padding: 2px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #27ae60;
    background-color: #d0fcb4;
    border-radius: 50px;
}

.tas_details .offer {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-color-hover);
    overflow-wrap: anywhere;
}

.tas_details .note {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
}

.tas_details .code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 6px 6px 18px;
    background: #ffffff;
    border: 2px dashed rgba(var(--primary-color-rgb), 0.55);
    border-radius: 100px;
}

.tas_details .code .value {
    min-width: 0;
    margin-right: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #2b2b2b;
    overflow-wrap: anywhere;
}

.tas_details .code .copy {
    flex-shrink: 0;
}

.tas_details .btn {
    font-size: 1rem;
    line-height: 46px;
    background: var(--primary-color);
    transition: background-color 0.2s ease-in-out;
}

.tas_details .btn:hover,
.tas_details .btn:focus,
.tas_details .copy:hover,
.tas_details .copy:focus {
    background: var(--primary-color-hover);
}

.tas_details .btn i {
    margin-left: 6px;
    font-size: 18px;
    vertical-align: -3px;
}

.tas_details .facts {
    display: flex;
    flex-wrap: wrap;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: var(--muted);
}

.tas_details .facts li {
    margin: 0 18px 6px 0;
    white-space: nowrap;
}

.tas_details .facts i {
    margin-right: 4px;
    font-size: 16px;
    vertical-align: -3px;
}

.tas_details .facts .soon {
    font-weight: 600;
    color: #e74c3c;
}

.tas_details .vote {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
}

/* The theme gives these a top margin and 2rem icons for the coupon modal */
.tas_details .likes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 0 !important;
}

.tas_details .likes span {
    margin-right: 12px;
}

.tas_details .coupon_like,
.tas_details .coupon_deslike {
    margin-right: 8px;
    padding: 5px 14px 5px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    background: var(--soft);
    border-radius: 100px;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.tas_details .coupon_like i,
.tas_details .coupon_deslike i {
    margin: 0 6px 0 0;
    font-size: 1.25rem !important;
}

.tas_details .coupon_like:hover {
    color: var(--primary-color-hover);
    background: rgba(var(--primary-color-rgb), 0.14);
}

.tas_details .coupon_deslike:hover {
    color: #c0392b;
    background: rgb(231 76 60 / 12%);
}

.tas_details .thanks {
    margin: 0;
    font-weight: 600;
    color: var(--primary-color-hover);
}

.tas_details .thanks i {
    font-size: 18px;
    vertical-align: -3px;
}

.tas_details .share {
    grid-area: share;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    padding: 16px 24px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.tas_details .share>span {
    margin: 4px 16px 4px 0;
}

.tas_details .networks {
    display: flex;
    flex-wrap: wrap;
}

.tas_details .networks a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 4px 8px 4px 0;
    font-size: 18px;
    color: #ffffff;
    border-radius: 50%;
    transition: transform 0.2s ease-out;
}

.tas_details .networks a:hover {
    transform: translateY(-2px);
}

/* The description is written in an editor, whatever comes out of it has to stay inside the box */
.tas_details .content {
    font-size: 15px;
    line-height: 1.75;
    color: #555;
    overflow-wrap: anywhere;
}

.tas_details .content * {
    font-family: inherit !important;
}

.tas_details .content>:last-child {
    margin-bottom: 0;
}

.tas_details .content img,
.tas_details .content iframe,
.tas_details .content video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.tas_details .content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.tas_details .ads-contentss {
    margin-bottom: 30px;
}

/* About the store */
.tas_details .who {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.tas_details .who img {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    margin-right: 14px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.tas_details .who>div {
    min-width: 0;
}

.tas_details .name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    overflow-wrap: anywhere;
}

.tas_details .store .verified {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    color: var(--primary-color-hover);
}

.tas_details .store .verified i {
    margin-right: 4px;
    font-size: 14px;
}

.tas_details .about {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.tas_details .more {
    font-weight: 600;
    text-transform: none;
    color: #333;
}

.tas_details .more:hover {
    color: var(--primary-color-hover);
    border-color: var(--primary-color);
}

.tas_details .more i {
    font-weight: 600;
    color: var(--primary-color);
    vertical-align: -1px;
}

/* More from the store */
.tas_details .item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.tas_details .item:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.tas_details .item:last-child {
    padding-bottom: 0;
}

.tas_details .item img {
    flex-shrink: 0;
    width: 84px;
    height: 54px;
    margin-right: 12px;
    object-fit: cover;
    background: var(--soft);
    border-radius: 8px;
}

.tas_details .item span {
    min-width: 0;
}

.tas_details .item strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
}

.tas_details .item:hover strong {
    color: var(--primary-color);
}

.tas_details .item small {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: var(--muted);
}

.tas_details .item small i {
    font-size: 13px;
    vertical-align: -1px;
}

@media (max-width: 959px) {
    /* One column: the image, the summary, then the share row */
    .tas_details .hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas: "media" "summary" "share";
    }
    .tas_details .summary {
        border-left: 0;
    }
}

@media (max-width: 640px) {
    .tas_details .box {
        padding: 18px;
    }
    .tas_details .hero {
        padding: 0;
    }
    .tas_details .summary {
        padding: 20px 18px;
    }
    .tas_details .share {
        padding: 12px 18px;
    }
    .tas_details .title {
        font-size: 1.25rem;
    }
    .tas_details .price {
        font-size: 1.5rem;
    }
    .tas_details .crumbs>:last-child {
        display: none;
    }
}
