/* DecoCorn Quick Shop 0.7.0 */

.dcqs-root,
.dcqs-root *,
.dcqs-root *::before,
.dcqs-root *::after { box-sizing: border-box; }

.dcqs-page,
.dcqs-page #page,
.dcqs-page .site,
.dcqs-page .site-content { overflow: hidden !important; }

.dcqs-page .site-footer { display: none !important; }

.dcqs-page .site-content,
.dcqs-page .ast-container,
.dcqs-page .content-area,
.dcqs-page .site-main,
.dcqs-page article,
.dcqs-page .entry-content {
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.dcqs-page .site-content > .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.dcqs-root {
    --dcqs-h: 600px;
    width: 100%;
    margin: 0;
    padding-top: 14px; /* breathing room under the main menu */
    background: #f5f1e9;
    color: #19202b;
    overflow: hidden;
}

.dcqs-shell {
    width: min(100%, 1080px);
    height: calc(var(--dcqs-h) - 14px);
    margin: 0 auto;
    padding: 0;
}

.dcqs-card {
    display: grid;
    grid-template-columns: minmax(0, 1.58fr) minmax(300px, .78fr);
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(25,32,43,.09);
}

.dcqs-status {
    margin: 20px auto;
    padding: 12px 16px;
    text-align: center;
}

.dcqs-media {
    position: relative;
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #eee8df;
    border-radius: 24px 0 0 24px;
    touch-action: pan-y;
}

/* Intrinsic image sizing: entire bitmap remains visible. */
.dcqs-image {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    user-select: none;
    -webkit-user-drag: none;
}

.dcqs-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    width: 34px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 13px;
    background: rgba(255,255,255,.42);
    box-shadow: 0 6px 18px rgba(25,32,43,.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
}

.dcqs-nav::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid #242c37;
    border-bottom: 2px solid #242c37;
}

.dcqs-prev { left: 10px; }
.dcqs-next { right: 10px; }
.dcqs-prev::before { transform: translate(-35%, -50%) rotate(135deg); }
.dcqs-next::before { transform: translate(-65%, -50%) rotate(-45deg); }

.dcqs-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 6;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%;
    background: rgba(255,255,255,.58);
    box-shadow: 0 7px 18px rgba(25,32,43,.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}

.dcqs-wishlist:empty { display: none; }

.dcqs-wishlist .tinv-wraper,
.dcqs-wishlist .tinvwl_add_to_wishlist_button,
.dcqs-wishlist a,
.dcqs-wishlist button {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 0 !important;
}

.dcqs-wishlist .tinvwl_add_to_wishlist_button::before,
.dcqs-wishlist a::before,
.dcqs-wishlist button::before {
    content: "♡" !important;
    position: static !important;
    margin: 0 !important;
    font-family: Arial, sans-serif !important;
    font-size: 26px !important;
    line-height: 1 !important;
    color: #18202a !important;
}

.dcqs-wishlist .tinvwl-product-in-list::before,
.dcqs-wishlist .tinvwl-product-make-remove::before { content: "♥" !important; }

.dcqs-progress {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.70);
    box-shadow: 0 6px 16px rgba(25,32,43,.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 10px;
    color: #515866;
}

.dcqs-progress-dots { display: flex; gap: 4px; }
.dcqs-progress-dots i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(31,39,50,.22);
}
.dcqs-progress-dots i:first-child { background: #202735; }

.dcqs-info {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 22px 24px 18px;
    background: rgba(255,255,255,.98);
    border-radius: 0 24px 24px 0;
    overflow: hidden;
}

.dcqs-heading { text-align: center; }

.dcqs-title {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #151b24;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 2.25vw, 33px);
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: -.02em;
    text-decoration: none !important;
}

.dcqs-title::before,
.dcqs-title::after { content: none !important; display: none !important; }

.dcqs-kicker {
    margin: 6px 0 0;
    color: #8f949c;
    font-size: 9px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.dcqs-price {
    margin-top: 7px;
    color: #151b24;
    font-size: clamp(19px, 1.65vw, 25px);
    line-height: 1;
    font-weight: 650;
    white-space: nowrap;
}

.dcqs-price a,
.dcqs-price span,
.dcqs-price ins,
.dcqs-price del { text-decoration: none !important; }

.dcqs-description {
    display: -webkit-box;
    overflow: hidden;
    margin: 16px 0 12px;
    color: #535b66;
    font-size: 12px;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.dcqs-meta {
    display: grid;
    margin: 0 0 10px;
    border-top: 1px solid rgba(25,32,43,.07);
    border-bottom: 1px solid rgba(25,32,43,.07);
}
.dcqs-meta[hidden] { display: none !important; }

.dcqs-meta-item {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #666d77;
    font-size: 10px;
}

.dcqs-meta-item + .dcqs-meta-item { border-top: 1px solid rgba(25,32,43,.05); }

.dcqs-meta-label {
    color: #999ea5;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.dcqs-actions {
    display: grid;
    gap: 7px;
    margin-top: auto;
}

.dcqs-cart,
.dcqs-buy,
.dcqs-full {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none !important;
}

.dcqs-cart,
.dcqs-buy {
    min-height: 41px;
    border: 1px solid rgba(255,255,255,.36);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.26), 0 6px 17px rgba(22,28,36,.07);
    backdrop-filter: blur(13px) saturate(120%);
    -webkit-backdrop-filter: blur(13px) saturate(120%);
}

.dcqs-glass-dark {
    background: linear-gradient(180deg, rgba(25,29,36,.94), rgba(14,17,22,.91));
    color: #fff !important;
}

.dcqs-glass-warm {
    background: linear-gradient(180deg, rgba(222,205,181,.88), rgba(205,181,149,.84));
    color: #17191c !important;
}

.dcqs-full {
    min-height: 34px;
    gap: 8px;
    border: 1px solid rgba(25,32,43,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.64);
    color: #505863 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
    font-size: 11px;
    font-weight: 550;
}

.dcqs-full b {
    font-size: 16px;
    line-height: 1;
    font-weight: 400;
}

/* Tablet: allow a little more copy than phone. */
@media (min-width: 821px) and (max-width: 1100px) {
    .dcqs-description {
        -webkit-line-clamp: 6;
        font-size: 11.5px;
    }
}

/* Mobile */
@media (max-width: 820px) {
    .dcqs-root {
        padding-top: 10px;
    }

    .dcqs-root,
    .dcqs-shell {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .dcqs-shell {
        height: calc(var(--dcqs-h) - 10px);
        padding: 0 !important;
    }

    .dcqs-card {
        grid-template-columns: 1fr;
        grid-template-rows: 44% 56%;
        border-radius: 0;
        box-shadow: none;
    }

    .dcqs-media { border-radius: 0; }

    .dcqs-image {
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }

    .dcqs-info {
        padding: 11px 16px 9px;
        border-radius: 0;
    }

    .dcqs-title {
        font-size: clamp(23px, 6.5vw, 29px);
    }

    .dcqs-kicker {
        margin-top: 4px;
        font-size: 8px;
    }

    .dcqs-price {
        margin-top: 4px;
        font-size: clamp(18px, 5.2vw, 23px);
    }

    .dcqs-description {
        margin: 7px 0 6px;
        font-size: 10.7px;
        line-height: 1.32;
        -webkit-line-clamp: 2;
    }

    .dcqs-meta { margin-bottom: 6px; }

    .dcqs-meta-item {
        min-height: 25px;
        font-size: 9.5px;
    }

    .dcqs-meta-label { font-size: 7.4px; }

    .dcqs-actions { gap: 5px; }

    .dcqs-cart,
    .dcqs-buy {
        min-height: 37px;
        font-size: 12px;
    }

    .dcqs-full {
        min-height: 33px;
        font-size: 11px;
    }

    .dcqs-nav {
        width: 30px;
        height: 42px;
        border-radius: 11px;
    }

    .dcqs-prev { left: 6px; }
    .dcqs-next { right: 6px; }

    .dcqs-wishlist {
        top: 8px;
        right: 8px;
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 820px) and (max-height: 760px) {
    .dcqs-card { grid-template-rows: 42% 58%; }
    .dcqs-description {
        -webkit-line-clamp: 1;
        margin-top: 5px;
        margin-bottom: 4px;
    }
    .dcqs-meta-item { min-height: 23px; }
    .dcqs-cart, .dcqs-buy { min-height: 35px; }
    .dcqs-full { min-height: 31px; }
}
