/* =========================================================
   Samart Product Compare - Modern UI v1.4
========================================================= */
.spc-shell{
    width:100%;
    font-family:inherit;
    color:#0f172a;
    --spc-navy:#0b3158;
    --spc-blue:#0d7fd3;
    --spc-line:#e6ebf1;
    --spc-soft:#f7f9fc;
    --spc-muted:#6b7280;
    --spc-radius:16px;
}
.spc-compare-root{width:100%}
.spc-loading,.spc-error{
    padding:56px 24px;
    text-align:center;
    color:var(--spc-muted);
    background:#fff;
    border:1px solid var(--spc-line);
    border-radius:var(--spc-radius);
}
.spc-compare{
    --spc-label:190px;
    --spc-gap:14px;
    --spc-max:4;
    width:100%;
}
.spc-compare *{box-sizing:border-box}

/* =========================
   Header
========================= */
.spc-compare-head{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:16px;
    margin-bottom:28px;
    padding:10px 0 18px;
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
}
.spc-title{
    margin:0!important;
    font-size:30px!important;
    line-height:1.2;
    text-align:center;
    font-weight:700;
    color:#0f172a;
    letter-spacing:-.02em;
}
.spc-back{
    justify-self:start;
    display:inline-flex!important;
    align-items:center;
    gap:7px;
    min-height:38px;
    padding:0 12px!important;
    background:var(--spc-soft)!important;
    border:1px solid var(--spc-line)!important;
    border-radius:9px!important;
    color:var(--spc-navy)!important;
    text-decoration:none!important;
    cursor:pointer;
    font:inherit;
    font-weight:600;
    transition:.2s ease;
}
.spc-back:before{content:"←";font-size:17px;line-height:1}
.spc-back:hover{background:#eef4fa!important;border-color:#d8e2ec!important}

/* =========================
   Horizontal scroll/grid
========================= */
.spc-scroll{
    overflow-x:auto;
    overflow-y:hidden;
    padding:2px 2px 12px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    scrollbar-color:#cbd5e1 transparent;
}
.spc-scroll::-webkit-scrollbar{height:8px}
.spc-scroll::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:20px}
.spc-grid{
    display:grid;
    grid-template-columns:var(--spc-label) repeat(var(--spc-max),minmax(220px,1fr));
    gap:var(--spc-gap);
    min-width:1090px;
}
.spc-product-grid{align-items:stretch;margin-bottom:18px}
.spc-label-spacer{min-height:1px}

/* =========================
   Product cards
========================= */
.spc-product-card{
    position:relative;
    min-height:330px;
    background:#fff;
    border:1px solid var(--spc-line);
    border-radius:var(--spc-radius);
    display:flex;
    flex-direction:column;
    padding:18px;
    box-shadow:0 8px 24px rgba(15,50,86,.06);
    overflow:hidden;
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.spc-product-card:hover{
    transform:translateY(-2px);
    border-color:#d8e3ed;
    box-shadow:0 14px 34px rgba(15,50,86,.10);
}
.spc-remove-product{
    position:absolute;
    right:12px;
    top:12px;
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--spc-line)!important;
    background:#fff!important;
    border-radius:50%!important;
    font-size:21px;
    line-height:1;
    color:#64748b!important;
    cursor:pointer;
    opacity:0;
    transition:.2s;
    z-index:2;
}
.spc-product-card:hover .spc-remove-product{opacity:1}
.spc-remove-product:hover{color:#dc2626!important;border-color:#fecaca!important;background:#fff7f7!important}
.spc-product-brand{
    display:inline-flex;
    align-self:flex-start;
    min-height:24px;
    align-items:center;
    margin-bottom:8px;
    padding:4px 9px;
    border-radius:999px;
    background:#eff7ff;
    color:var(--spc-blue);
    font-size:12px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.02em;
}
.spc-product-image{
    display:flex;
    align-items:center;
    justify-content:center;
    height:165px;
    padding:8px;
    text-decoration:none;
}
.spc-product-image img{
    max-width:100%;
    max-height:150px;
    width:auto;
    height:auto;
    object-fit:contain;
    transition:transform .2s ease;
}
.spc-product-card:hover .spc-product-image img{transform:scale(1.025)}
.spc-product-bottom{margin-top:auto;padding-top:10px}
.spc-product-name{
    display:block;
    color:#111827;
    text-decoration:none;
    font-size:16px;
    font-weight:650;
    line-height:1.35;
    margin-bottom:10px;
}
.spc-product-name:hover{color:var(--spc-blue)}
.spc-product-price{
    font-size:20px;
    font-weight:750;
    color:var(--spc-navy);
    white-space:nowrap;
}
.spc-product-price .woocommerce-Price-amount,
.spc-product-price .woocommerce-Price-currencySymbol,
.spc-product-price bdi{display:inline!important;white-space:nowrap!important}
.spc-product-price del{font-size:.78em;opacity:.5;margin-right:5px}

.spc-add-slot,.spc-empty-slot{min-height:330px;border-radius:var(--spc-radius)}
.spc-add-slot{
    border:1.5px dashed #cbd5e1!important;
    background:linear-gradient(180deg,#fff 0%,#f9fbfd 100%)!important;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    color:var(--spc-navy)!important;
    transition:.2s ease;
}
.spc-add-slot span{
    display:flex;
    align-items:center;
    justify-content:center;
    width:64px;
    height:64px;
    border-radius:50%;
    background:#fff;
    border:1px solid #dbe4ee;
    box-shadow:0 8px 20px rgba(15,50,86,.08);
    font-size:40px;
    line-height:1;
    font-weight:500;
    transition:transform .2s ease,box-shadow .2s ease;
}
.spc-add-slot:hover{border-color:#9fb8cf!important;background:#f7fbff!important}
.spc-add-slot:hover span{transform:scale(1.05);box-shadow:0 10px 24px rgba(15,50,86,.12)}
.spc-empty-slot{background:#f5f7fa;border:1px solid #edf0f4}

/* =========================
   Compare table rows
   Continuous table style with zebra stripes
========================= */
.spc-compare-row{
    gap:0!important;
    margin:0!important;
    border:0;
}

/* alternating full-row background like the reference.
   The product grid is the first DIV sibling, so the first compare row is even. */
.spc-compare-row:nth-of-type(even) .spc-row-label,
.spc-compare-row:nth-of-type(even) .spc-row-cell{
    background:#ffffff;
}
.spc-compare-row:nth-of-type(odd) .spc-row-label,
.spc-compare-row:nth-of-type(odd) .spc-row-cell{
    background:#f5f5f5;
}

.spc-row-label,.spc-row-cell{
    padding:16px 18px;
    min-height:64px;
    line-height:1.45;
    color:#222;
    border:0;
    border-right:1px solid #dedede;
    border-bottom:1px solid #ececec;
    border-radius:0;
    display:flex;
    align-items:center;
}
.spc-row-label{
    font-size:15px;
    font-weight:400;
    color:#8a8a8a;
}
.spc-row-cell{
    font-size:15px;
    color:#202020;
}
.spc-compare-row > :last-child{
    border-right:0;
}
.spc-compare-row:first-of-type .spc-row-label,
.spc-compare-row:first-of-type .spc-row-cell{
    border-top:1px solid #ececec;
}
.spc-compare-row.is-long-row .spc-row-label,
.spc-compare-row.is-long-row .spc-row-cell{
    padding-top:20px;
    padding-bottom:20px;
    min-height:150px;
    align-items:flex-start;
}
.spc-row-cell p{margin:0 0 10px}
.spc-row-cell p:last-child{margin-bottom:0}
.spc-empty-value{color:#a3a3a3}

/* =========================
   Product picker
========================= */
.spc-picker{position:fixed;inset:0;z-index:999999;display:none}
.spc-picker.is-open{display:block}
.spc-picker-backdrop{position:absolute;inset:0;background:rgba(2,15,29,.52);backdrop-filter:blur(2px)}
.spc-picker-panel{
    position:absolute;
    right:0;
    top:0;
    width:clamp(540px,58vw,820px);
    max-width:100%;
    height:100%;
    background:#fff;
    box-shadow:-18px 0 48px rgba(2,15,29,.18);
    display:flex;
    flex-direction:column;
}
.spc-picker-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    padding:28px 32px 20px;
    border-bottom:1px solid var(--spc-line);
}
.spc-picker-head strong{display:block;font-size:26px;line-height:1.25;color:#111827}
.spc-picker-head span{display:block;color:#7c8796;font-size:15px;margin-top:7px}
.spc-picker-close{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f7f9fc!important;
    border:1px solid var(--spc-line)!important;
    border-radius:50%!important;
    font-size:25px;
    line-height:1;
    cursor:pointer;
    color:#334155!important;
    padding:0!important;
}
.spc-picker-search-wrap{padding:22px 30px 14px}
.spc-picker-search{
    width:100%;
    height:56px;
    border:1px solid #d7e0e9!important;
    border-radius:12px!important;
    padding:0 18px!important;
    box-shadow:0 3px 12px rgba(15,50,86,.04)!important;
    font-size:16px!important;
    color:#0f172a!important;
}
.spc-picker-search:focus{border-color:#90b5d5!important;box-shadow:0 0 0 3px rgba(13,127,211,.09)!important;outline:none!important}
.spc-picker-results{padding:0 22px 26px;overflow-y:auto;flex:1}
.spc-picker-hint{padding:34px 12px;text-align:center;color:#7c8796}
.spc-search-product{
    width:100%;
    display:grid;
    grid-template-columns:88px minmax(0,1fr) 44px;
    align-items:center;
    gap:16px;
    background:#fff;
    border:1px solid transparent!important;
    border-bottom:1px solid var(--spc-line)!important;
    border-radius:10px;
    padding:14px 10px;
    text-align:left;
    cursor:pointer;
    transition:.18s ease;
}
.spc-search-product:hover{background:#f8fbfe;border-color:#e7eef5!important}
.spc-search-product img{width:82px;height:82px;object-fit:contain;background:#fff;border-radius:8px}
.spc-search-info{display:block;min-width:0}
.spc-search-brand{display:block;color:var(--spc-blue);margin-bottom:4px;font-size:12px;font-weight:600;text-transform:uppercase}
.spc-search-name{display:block;color:#111827;font-size:16px;line-height:1.3;font-weight:700}
.spc-search-price{
    display:block;
    font-weight:750;
    color:var(--spc-navy);
    margin-top:6px;
    font-size:17px;
    white-space:nowrap!important;
    line-height:1.2;
}
.spc-search-price .woocommerce-Price-amount,
.spc-search-price .woocommerce-Price-currencySymbol,
.spc-search-price bdi,
.spc-search-price ins,
.spc-search-price del{display:inline!important;white-space:nowrap!important}
.spc-search-add{
    display:flex;
    width:40px;
    height:40px;
    border-radius:50%;
    border:1px solid #d5e1ec;
    align-items:center;
    justify-content:center;
    font-size:27px;
    line-height:1;
    color:var(--spc-navy);
    background:#fff;
}
.spc-picker-open{overflow:hidden}

/* =========================
   Single Product Compare button
   Shortcode only
========================= */
.spc-single-compare-button{
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-height:44px;
    padding:9px 18px;
    border:1.5px solid #0f3256!important;
    border-radius:9px;
    background:#fff!important;
    color:#0f3256!important;
    text-decoration:none!important;
    font-size:15px;
    font-weight:600;
    line-height:1;
    transition:background .2s ease,color .2s ease,transform .15s ease,border-color .2s ease;
}
.spc-single-compare-button svg{width:20px;height:20px;display:block;flex:0 0 20px}
.spc-single-compare-button:hover{background:#f4f7fa!important;color:#0f3256!important;border-color:#0f3256!important}
.spc-single-compare-button:active{transform:scale(.97)}

/* =========================
   Tablet
========================= */
@media (min-width:768px) and (max-width:1024px){
    .spc-compare{--spc-label:155px;--spc-gap:10px}
    .spc-compare-head{margin-bottom:22px;padding:16px 18px}
    .spc-title{font-size:24px!important}
    .spc-grid{grid-template-columns:var(--spc-label) repeat(var(--spc-max),minmax(190px,1fr));min-width:950px}
    .spc-product-card,.spc-add-slot,.spc-empty-slot{min-height:300px}
    .spc-product-card{padding:15px}
    .spc-product-image{height:145px}
    .spc-product-image img{max-height:132px}
    .spc-product-name{font-size:15px}
    .spc-product-price{font-size:18px}
    .spc-row-label,.spc-row-cell{font-size:13px;padding:14px 12px}
    .spc-picker-panel{width:min(74vw,720px)}
    .spc-picker-head{padding:24px 26px 17px}
    .spc-picker-search-wrap{padding:18px 26px 12px}
    .spc-picker-results{padding-left:18px;padding-right:18px}
}

/* =========================
   Mobile
========================= */
@media (max-width:767px){
    .spc-compare-head{
        grid-template-columns:auto 1fr;
        column-gap:10px;
        margin-bottom:16px;
        padding:12px;
        border-radius:11px;
    }
    .spc-compare-head > span{display:none}
    .spc-title{font-size:19px!important;text-align:left}
    .spc-back{font-size:0;min-width:38px;width:38px;padding:0!important;justify-content:center}
    .spc-back:before{font-size:19px}
    .spc-compare{--spc-label:110px;--spc-gap:8px}
    .spc-scroll{margin-left:-10px;margin-right:-10px;padding-left:10px;padding-right:10px}
    .spc-grid{grid-template-columns:var(--spc-label) repeat(var(--spc-max),minmax(160px,160px));min-width:max-content}
    .spc-product-card,.spc-add-slot,.spc-empty-slot{min-height:258px;border-radius:12px}
    .spc-product-card{padding:12px;box-shadow:0 5px 18px rgba(15,50,86,.06)}
    .spc-product-image{height:116px}
    .spc-product-image img{max-height:106px}
    .spc-product-brand{font-size:10px;min-height:20px;padding:3px 7px}
    .spc-product-name{font-size:13px;line-height:1.3;margin-bottom:8px}
    .spc-product-price{font-size:15px}
    .spc-add-slot span{width:50px;height:50px;font-size:33px}
    .spc-row-label,.spc-row-cell{font-size:11.5px;padding:11px 9px;min-height:54px;border-radius:9px}
    .spc-row-label{position:sticky;left:0;z-index:3;box-shadow:5px 0 12px rgba(15,50,86,.04)}
    .spc-compare-row.is-long-row .spc-row-label,.spc-compare-row.is-long-row .spc-row-cell{min-height:130px;padding-top:13px;padding-bottom:13px}
    .spc-remove-product{opacity:1;width:27px;height:27px;font-size:19px;right:8px;top:8px}
    .spc-picker-panel{width:100%;max-width:100%}
    .spc-picker-head{padding:18px 16px 14px}
    .spc-picker-head strong{font-size:20px}
    .spc-picker-head span{font-size:12px}
    .spc-picker-search-wrap{padding:14px 14px 9px}
    .spc-picker-search{height:48px;font-size:15px!important;border-radius:10px!important}
    .spc-picker-results{padding:0 8px 18px}
    .spc-search-product{grid-template-columns:66px minmax(0,1fr) 36px;gap:9px;padding:11px 5px}
    .spc-search-product img{width:62px;height:62px}
    .spc-search-brand{font-size:10px}
    .spc-search-name{font-size:12.5px}
    .spc-search-price{font-size:14px;margin-top:4px}
    .spc-search-add{width:32px;height:32px;font-size:22px}
    .spc-single-compare-button{min-height:40px;padding:8px 14px;font-size:14px;border-radius:8px}
    .spc-single-compare-button svg{width:18px;height:18px;flex-basis:18px}
}
/* =========================
   v1.3 responsive table polish
========================= */
@media (max-width:1024px){
    .spc-title{font-size:26px!important}
    .spc-compare-head{padding-top:6px;margin-bottom:22px}
    .spc-row-label,.spc-row-cell{padding:14px 16px}
}
@media (max-width:767px){
    .spc-compare-head{grid-template-columns:auto 1fr;gap:12px;padding:4px 0 14px}
    .spc-compare-head > span{display:none}
    .spc-title{font-size:22px!important;text-align:left}
    .spc-back{min-height:36px;padding:0 10px!important}
    .spc-row-label{font-size:13px}
    .spc-row-cell{font-size:14px}
}


/* =========================================================
   v1.4 - Mobile compare table matches Desktop table styling
   Keep horizontal scrolling, but preserve the same continuous
   zebra table, square cells and divider lines as Desktop.
========================================================= */
@media (max-width:767px){
    .spc-compare{
        --spc-label:140px;
        --spc-gap:0px;
    }

    .spc-scroll{
        margin-left:0;
        margin-right:0;
        padding-left:0;
        padding-right:0;
        overflow-x:auto;
        overflow-y:hidden;
    }

    /* Product area may still scroll horizontally on mobile. */
    .spc-product-grid{
        gap:12px!important;
        grid-template-columns:var(--spc-label) repeat(var(--spc-max),minmax(180px,180px));
        min-width:max-content;
        margin-bottom:18px;
    }

    /* Compare rows use the exact continuous-table layout from Desktop. */
    .spc-compare-row{
        gap:0!important;
        grid-template-columns:var(--spc-label) repeat(var(--spc-max),minmax(180px,180px));
        min-width:max-content;
        margin:0!important;
    }

    .spc-row-label,
    .spc-row-cell{
        position:static;
        z-index:auto;
        box-shadow:none;
        border-radius:0!important;
        border:0;
        border-right:1px solid #dedede;
        border-bottom:1px solid #ececec;
        padding:14px 16px;
        min-height:64px;
        font-size:14px;
        line-height:1.45;
        align-items:center;
    }

    .spc-row-label{
        font-size:14px;
        font-weight:400;
        color:#8a8a8a;
    }

    .spc-row-cell{
        font-size:14px;
        color:#202020;
    }

    .spc-compare-row > :last-child{
        border-right:0;
    }

    .spc-compare-row:first-of-type .spc-row-label,
    .spc-compare-row:first-of-type .spc-row-cell{
        border-top:1px solid #ececec;
    }

    .spc-compare-row.is-long-row .spc-row-label,
    .spc-compare-row.is-long-row .spc-row-cell{
        min-height:150px;
        padding-top:20px;
        padding-bottom:20px;
        align-items:flex-start;
    }

    /* Re-assert the same zebra striping used on Desktop. */
    .spc-compare-row:nth-of-type(even) .spc-row-label,
    .spc-compare-row:nth-of-type(even) .spc-row-cell{
        background:#ffffff;
    }

    .spc-compare-row:nth-of-type(odd) .spc-row-label,
    .spc-compare-row:nth-of-type(odd) .spc-row-cell{
        background:#f5f5f5;
    }
}


/* =========================================================
   v1.4.1 - Mobile row labels above each compare row
========================================================= */
@media (max-width:767px){
    .spc-compare{
        --spc-mobile-col:180px;
    }

    /* product cards start from the first product column */
    .spc-product-grid{
        grid-template-columns:repeat(var(--spc-max),minmax(var(--spc-mobile-col),var(--spc-mobile-col)));
        min-width:max-content;
    }

    .spc-label-spacer{
        display:none;
    }

    /* each compare row becomes:
       [label spanning full width]
       [product 1][product 2][product 3]... */
    .spc-compare-row{
        grid-template-columns:repeat(var(--spc-max),minmax(var(--spc-mobile-col),var(--spc-mobile-col)));
        min-width:max-content;
    }

    .spc-row-label{
        grid-column:1 / -1;
        position:static;
        z-index:auto;
        box-shadow:none;
        min-height:auto;
        padding:14px 16px;
        border-right:0;
        border-top:1px solid #ececec;
        border-bottom:1px solid #ececec;
        font-size:14px;
        line-height:1.4;
        align-items:center;
    }

    .spc-row-cell{
        min-height:64px;
        font-size:14px;
        padding:14px 16px;
    }

    .spc-compare-row > .spc-row-cell:last-child{
        border-right:0;
    }

    .spc-compare-row.is-long-row .spc-row-label{
        min-height:auto;
        padding-top:14px;
        padding-bottom:14px;
        align-items:center;
    }

    .spc-compare-row.is-long-row .spc-row-cell{
        min-height:150px;
        padding-top:20px;
        padding-bottom:20px;
        align-items:flex-start;
    }
}


/* =========================================================
   v1.4.2 - Product picker search fits panel at all breakpoints
========================================================= */
.spc-picker-panel{
    overflow-x:hidden;
}

.spc-picker-head,
.spc-picker-search-wrap,
.spc-picker-results{
    width:100%;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
}

.spc-picker-search-wrap{
    margin:0;
}

.spc-picker-search{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    box-sizing:border-box!important;
}

/* Tablet */
@media (min-width:768px) and (max-width:1024px){
    .spc-picker-search-wrap{
        padding-left:24px;
        padding-right:24px;
    }
}

/* Mobile */
@media (max-width:767px){
    .spc-picker-search-wrap{
        padding-left:16px;
        padding-right:16px;
    }

    .spc-picker-search{
        width:100%!important;
        max-width:100%!important;
    }
}


/* =========================================================
   v1.5.2 - Details descriptions stacked line-by-line
   "รายละเอียด" stays as the section heading; each product's
   description is rendered on its own full-width row below it.
========================================================= */
.spc-description-stack{
    width:100%;
    min-width:0;
    margin:0;
    border-top:1px solid #ececec;
    border-bottom:1px solid #ececec;
    background:#fff;
}

.spc-description-heading{
    display:block;
    width:100%;
    padding:16px 18px;
    background:#f5f5f5;
    border-bottom:1px solid #ececec;
    color:#8a8a8a;
    font-size:15px;
    font-weight:500;
    line-height:1.4;
}

.spc-description-line{
    display:block;
    width:100%;
    padding:18px 20px;
    border-bottom:1px solid #ececec;
    background:#fff;
    color:#202020;
    font-size:15px;
    line-height:1.65;
    overflow-wrap:anywhere;
    word-break:normal;
}

.spc-description-line:last-child{
    border-bottom:0;
}

.spc-description-line > *{
    display:block;
    width:100%;
    max-width:100%;
}

.spc-description-line p{
    display:block;
    width:100%;
    margin:0 0 10px;
}

.spc-description-line p:last-child{
    margin-bottom:0;
}

.spc-description-line ul,
.spc-description-line ol{
    display:block;
    width:100%;
    margin:0;
    padding-left:20px;
}

.spc-description-line li{
    display:list-item;
    width:auto;
    margin:0 0 6px;
}

@media (max-width:1024px){
    .spc-description-heading,
    .spc-description-line{
        font-size:14px;
    }
}

@media (max-width:767px){
    .spc-description-stack{
        width:100%;
        min-width:0;
    }

    .spc-description-heading{
        padding:14px 16px;
        font-size:14px;
    }

    .spc-description-line{
        padding:14px 16px;
        font-size:14px;
        line-height:1.6;
    }
}


/* =========================================================
   v1.5.3 - Details stay in compare columns, but all content
   inside each product description flows vertically.
========================================================= */
.spc-compare-row.is-description-row .spc-row-cell{
    display:block!important;
    align-items:initial!important;
    min-width:0;
    overflow-wrap:anywhere;
    word-break:normal;
    line-height:1.65;
}

.spc-compare-row.is-description-row .spc-row-label{
    align-items:flex-start;
}

/* Force the product-description HTML to stack top-to-bottom.
   This prevents H2/P/UL etc. becoming horizontal flex items. */
.spc-compare-row.is-description-row .spc-row-cell > *{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    float:none!important;
    clear:both!important;
}

.spc-compare-row.is-description-row .spc-row-cell h1,
.spc-compare-row.is-description-row .spc-row-cell h2,
.spc-compare-row.is-description-row .spc-row-cell h3,
.spc-compare-row.is-description-row .spc-row-cell h4,
.spc-compare-row.is-description-row .spc-row-cell h5,
.spc-compare-row.is-description-row .spc-row-cell h6{
    display:block!important;
    width:100%!important;
    margin:0 0 12px!important;
    line-height:1.35!important;
    font-weight:700!important;
    color:#111827;
}

.spc-compare-row.is-description-row .spc-row-cell h2{
    font-size:20px!important;
}

.spc-compare-row.is-description-row .spc-row-cell h3{
    font-size:17px!important;
}

.spc-compare-row.is-description-row .spc-row-cell p{
    display:block!important;
    width:100%!important;
    margin:0 0 18px!important;
    line-height:1.65!important;
}

.spc-compare-row.is-description-row .spc-row-cell ul,
.spc-compare-row.is-description-row .spc-row-cell ol{
    display:block!important;
    width:100%!important;
    margin:0 0 18px!important;
    padding-left:22px!important;
}

.spc-compare-row.is-description-row .spc-row-cell li{
    display:list-item!important;
    width:auto!important;
    margin:0 0 9px!important;
    line-height:1.6!important;
}

/* If product content contains Elementor/container markup,
   neutralize row/flex direction only inside Details. */
.spc-compare-row.is-description-row .spc-row-cell .e-con,
.spc-compare-row.is-description-row .spc-row-cell .elementor-container,
.spc-compare-row.is-description-row .spc-row-cell .elementor-row,
.spc-compare-row.is-description-row .spc-row-cell [class*="elementor-element"]{
    flex-direction:column!important;
    width:100%!important;
    max-width:100%!important;
}

@media (max-width:767px){
    .spc-compare-row.is-description-row .spc-row-cell{
        font-size:14px;
        line-height:1.6;
    }

    .spc-compare-row.is-description-row .spc-row-cell h2{
        font-size:17px!important;
    }

    .spc-compare-row.is-description-row .spc-row-cell h3{
        font-size:16px!important;
    }
}
