/* EDVK product showcase - shared by en/fr/de/es/zh home pages */
.product-showcase {
    background: #ffffff;
    padding: 48px 0 40px;
}

.product-showcase-head {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.product-showcase-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #0aa5b8;
}

.product-showcase-title {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: #10303f;
    letter-spacing: -.01em;
}

.product-showcase-sub {
    margin: 0;
    font-size: 15px;
    color: #6b7a87;
}

.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e7eef3;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(11, 47, 68, .07);
    transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(11, 47, 68, .13);
}

.product-card-media {
    position: relative;
    background: radial-gradient(120% 90% at 50% 25%, #ffffff 0%, #f1f7fa 100%);
    padding: 18px 22px 0;
    text-align: center;
}

.product-card-media img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .35s ease;
}

.product-card:hover .product-card-media img {
    transform: scale(1.04);
}

.product-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(10, 165, 184, .10);
    color: #068392;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.product-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 22px 22px;
}

.product-card-name {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: #10303f;
}

.product-card-desc {
    margin: 0 0 18px;
    font-size: 13.5px;
    line-height: 1.65;
    color: #6b7a87;
}

.product-card-foot {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #eef3f6;
}

.product-card-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}

.product-card-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    color: #10303f;
}

.product-card-price .currency {
    font-size: 15px;
    font-weight: 700;
    margin-right: 1px;
}

.product-card-price-unit {
    margin-left: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    color: #90a0ab;
}

.product-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 14px;
    border: none;
    border-radius: 999px;
    background: #10303f;
    color: #fff;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.product-card-btn i {
    font-size: 13px;
    transition: transform .2s ease;
}

.product-card-btn:hover {
    background: #0aa5b8;
    color: #fff;
}

.product-card-btn:hover i {
    transform: translateX(3px);
}

.product-card-btn-ghost {
    background: #fff;
    color: #10303f;
    border: 1px solid #d9e5ec;
}

.product-card-btn-ghost:hover {
    background: #f1f7fa;
    color: #0f8f9e;
    border-color: #bfe2e8;
}

.product-card-btn-taobao {
    background: linear-gradient(135deg, #ff5000 0%, #ff9000 100%);
    color: #fff;
}

.product-card-btn-taobao:hover {
    background: linear-gradient(135deg, #ff4000 0%, #ff8000 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 80, 0, .28);
}

.product-card-btn-taobao:hover i {
    transform: none;
}

.product-card-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
}

@media (max-width: 991.98px) {
    .product-card-media img {
        height: 210px;
    }
}

@media (max-width: 575.98px) {
    .product-showcase {
        padding: 36px 0 28px;
    }

    .product-card-media img {
        height: 190px;
    }

    .product-card-actions {
        width: 100%;
        margin-left: 0;
    }

    .product-card-actions .product-card-btn {
        flex: 1;
    }
}

/* ---- cart (videoWebsite only) ---- */
.product-card-add {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #d9e5ec;
    background: rgba(255, 255, 255, .94);
    color: #10303f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(11, 47, 68, .10);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.product-card-add:hover {
    background: #0aa5b8;
    border-color: #0aa5b8;
    color: #fff;
    transform: translateY(-1px);
}

.product-card-add i {
    font-size: 16px;
}

.cart-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1080;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #10303f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(11, 47, 68, .28);
    transition: background .2s ease, transform .2s ease;
}

.cart-fab:hover {
    background: #0aa5b8;
    transform: translateY(-2px);
}

.cart-fab i {
    font-size: 22px;
}

.cart-fab-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ff5000;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
}

.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 1090;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s ease, visibility .2s ease;
}

.cart-drawer.open {
    visibility: visible;
    opacity: 1;
}

.cart-mask {
    position: absolute;
    inset: 0;
    background: rgba(9, 30, 43, .45);
}

.cart-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(400px, 92vw);
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .25s ease;
    box-shadow: -12px 0 40px rgba(9, 30, 43, .18);
}

.cart-drawer.open .cart-panel {
    transform: translateX(0);
}

.cart-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #eef3f6;
}

.cart-panel-head h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #10303f;
}

.cart-close {
    border: none;
    background: none;
    font-size: 18px;
    color: #6b7a87;
    cursor: pointer;
    line-height: 1;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 8px 20px;
}

.cart-empty {
    padding: 40px 0;
    text-align: center;
    color: #90a0ab;
    font-size: 14px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f2f6f8;
}

.cart-item img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: #f4f9fb;
    border-radius: 10px;
    padding: 4px;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #10303f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    margin-top: 4px;
    font-size: 13px;
    color: #6b7a87;
}

.cart-item-remove {
    border: none;
    background: none;
    color: #b3bfc7;
    font-size: 14px;
    cursor: pointer;
    padding: 6px;
}

.cart-item-remove:hover {
    color: #ff5000;
}

.cart-panel-foot {
    padding: 16px 20px 20px;
    border-top: 1px solid #eef3f6;
}

.cart-total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: #6b7a87;
}

.cart-total-row strong {
    font-size: 22px;
    font-weight: 800;
    color: #10303f;
}

.cart-checkout-btn {
    width: 100%;
    border: none;
    border-radius: 999px;
    background: #10303f;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 16px;
    cursor: pointer;
    transition: background .2s ease;
}

.cart-checkout-btn:hover {
    background: #0aa5b8;
}

.cart-checkout-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* ---- finish / color selector ---- */
.product-card-media {
    padding-bottom: 38px;
}

.product-card-finish {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 10px;
    z-index: 2;
    display: flex;
    gap: 7px;
    justify-content: center;
}

.finish-swatch {
    width: 16px;
    height: 16px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .15);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.finish-swatch:hover {
    transform: scale(1.18);
}

.finish-swatch.active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0aa5b8;
}

/* ---- spec details (collapsed by default) ---- */
.product-spec-details {
    margin: 0 0 14px;
    border: 1px solid #eef3f6;
    border-radius: 10px;
    background: #f9fcfd;
    overflow: hidden;
}

.product-spec-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #10303f;
    cursor: pointer;
    list-style: none;
}

.product-spec-details summary::-webkit-details-marker {
    display: none;
}

.product-spec-details summary::after {
    content: '+';
    font-size: 16px;
    line-height: 1;
    color: #0aa5b8;
    font-weight: 900;
}

.product-spec-details[open] summary::after {
    content: '−';
}

.product-spec-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #eef3f6;
    border-top: 1px solid #eef3f6;
}

.product-spec-item {
    background: #fff;
    padding: 8px 12px;
    min-width: 0;
}

.product-spec-item b {
    display: block;
    color: #10303f;
    font-size: 11.5px;
    font-weight: 700;
}

.product-spec-item span {
    display: block;
    color: #6b7a87;
    font-size: 11.5px;
    line-height: 1.4;
    margin-top: 2px;
}

.phone-check-row {
    padding: 10px 14px;
    background: #f7fbfc;
    border-top: 1px solid #eef3f6;
}

.phone-check-btn {
    width: 100%;
    padding: 9px 14px;
    background: #0aa5b8;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}

.phone-check-btn:hover {
    background: #068392;
}

/* ---- phone compatibility modal ---- */
.phone-check-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(2, 8, 14, .85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.phone-check-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.phone-check-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.phone-check-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.phone-check-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #10303f;
    margin: 0;
}

.phone-check-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(7, 21, 31, .06);
    color: #10303f;
    font-size: 18px;
    cursor: pointer;
    transition: background .2s ease;
}

.phone-check-close:hover {
    background: rgba(7, 21, 31, .12);
}

.phone-check-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.phone-check-form label {
    font-size: 13px;
    font-weight: 600;
    color: #10303f;
    margin-bottom: -10px;
}

.phone-check-form select {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #d9e5ec;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    color: #10303f;
    cursor: pointer;
}

.phone-check-form select:focus {
    outline: none;
    border-color: #0aa5b8;
}

.phone-check-result {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.phone-check-result.show {
    display: block;
}

.phone-check-result.fit {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.phone-check-result.not-fit {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.phone-check-check-btn {
    padding: 12px 20px;
    background: #0aa5b8;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
    margin-top: 8px;
}

.phone-check-check-btn:hover {
    background: #068392;
}

@media (max-width: 575.98px) {
    .product-spec-list {
        grid-template-columns: 1fr;
    }
}

/* ---- anchor offset for sticky header ---- */
#video-section,
#edvk-products {
    scroll-margin-top: 96px;
}
