/* ===================== SHOP LAYOUT ===================== */
.nps-shop {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    padding-top: 28px;
    padding-bottom: 48px;
    align-items: start;
}
.nps-shop--full { grid-template-columns: 1fr; }
.nps-shop__main { min-width: 0; }

.nps-shop__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}
.nps-shop__title { font-size: var(--nps-fs-3xl); margin: 0; }
.nps-shop__title span { color: var(--nps-red); }

/* ===================== FILTER SIDEBAR ===================== */
.nps-filters {
    position: sticky;
    top: 90px;
    background: var(--nps-white);
    border: 1px solid var(--nps-border);
    border-radius: var(--nps-radius-lg);
    padding: 18px;
    box-shadow: var(--nps-shadow-sm);
}
.nps-filters__group { padding: 14px 0; border-bottom: 1px solid var(--nps-border); }
.nps-filters__group:last-of-type { border-bottom: 0; }
.nps-filters__title {
    font-size: var(--nps-fs-md);
    color: var(--nps-heading);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.nps-filters__title::before {
    content: "";
    width: 4px; height: 16px;
    background: var(--nps-orange);
    border-radius: 2px;
}
.nps-filter-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--nps-fs-sm);
    color: var(--nps-text-soft);
    padding: 5px 0;
    cursor: pointer;
}
.nps-filter-opt input { accent-color: var(--nps-red); width:16px; height:16px; }
.nps-lifestage { display: flex; gap: 8px; flex-wrap: wrap; }
.nps-lifestage a {
    padding: 6px 14px;
    border-radius: var(--nps-radius-pill);
    border: 1px solid var(--nps-border-strong);
    font-size: var(--nps-fs-xs);
    color: var(--nps-text-soft);
}
.nps-lifestage a.is-active,
.nps-lifestage a:hover { background: var(--nps-red); color:#fff; border-color: var(--nps-red); }
.nps-filters__apply { width: 100%; margin-top: 14px; }
.nps-filters__clear {
    display: inline-block;
    margin-top: 8px;
    font-size: var(--nps-fs-xs);
    color: var(--nps-text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.nps-filters__clear:hover { color: var(--nps-red); }
.nps-filters__brands {
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 4px;
}

/* ===================== PRODUCT GRID ===================== */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
    display: none;
    content: none;
}
ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    row-gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    clear: none !important;
}
@media (max-width: 1100px) { ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px)  { ul.products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { ul.products { grid-template-columns: 1fr; } }

/* ===================== PRODUCT CARD ===================== */
li.product, .nps-card {
    position: relative;
    background: var(--nps-white);
    border: 1px solid var(--nps-border);
    border-radius: var(--nps-radius-lg);
    padding: 4px!important; /*12px iwc*/
    transition: transform var(--nps-transition), box-shadow var(--nps-transition), border-color var(--nps-transition);
    display: flex;
    flex-direction: column;
}
li.product:hover {
    transform: translateY(-5px);
    box-shadow: var(--nps-shadow);
    border-color: transparent;
}
li.product .woocommerce-loop-product__link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}
li.product a img {
    display: block;
    width: 68%;
    max-width: 148px;
    height: auto;
    max-height: 148px;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: var(--nps-radius);
    margin: 10px auto 8px;
}

/* Discount and Rx sit in one row, clear of the wishlist button */
.nps-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 54px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    z-index: 3;
}
.nps-card__badges .nps-badge {
    position: static;
    margin: 0;
    max-width: 100%;
    box-shadow: var(--nps-shadow-sm);
}
.nps-card__badge-discount {
    font-size: var(--nps-fs-xs);
}
.nps-wishlist-btn {
    position: absolute;
    top: 14px; right: 12px;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--nps-border);
    background: var(--nps-white);
    color: var(--nps-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: transform var(--nps-transition);
}
.nps-wishlist-btn:hover { color: var(--nps-red); transform: scale(1.1); }
.nps-wishlist-btn.is-active { color: #fff; background: var(--nps-red); border-color: var(--nps-red); }
.nps-wishlist-btn.is-active .nps-icon { fill: #fff; }

/* Hide default WooCommerce archive chrome (breadcrumb, title block, etc.) */
.woocommerce-breadcrumb,
.woocommerce-products-header,
.woocommerce-result-count {
    display: none !important;
}

li.product .woocommerce-loop-product__title,
li.product h2 {
    font-size: var(--nps-fs-base) !important;
    color: var(--nps-heading);
    padding: 4px 2px !important;
    line-height: 1.35;
}
.nps-card__brand {
    display: block;
    font-size: var(--nps-fs-xxs);
    text-transform: uppercase;
    letter-spacing: .4px;
    color: var(--nps-orange);
    font-weight: var(--nps-font-weight-bold);
    margin-bottom: 2px;
}
li.product .price {
    color: var(--nps-heading) !important;
    font-weight: var(--nps-font-weight-bold);
    font-size: var(--nps-fs-md) !important;
}
li.product .price del { color: var(--nps-text-muted); font-weight: 400; font-size: var(--nps-fs-sm); margin-right: 6px; }
li.product .price ins { text-decoration: none; color: var(--nps-red); }

.nps-swatches { display: flex; gap: 5px; margin: 6px 0; }
.nps-swatch {
    width: 15px; height: 15px;
    border-radius: 50%;
    border: 2px solid var(--nps-white);
    box-shadow: 0 0 0 1px var(--nps-border-strong);
}

li.product .button {
    margin-top: auto;
    background: var(--nps-red) !important;
    color: #fff !important;
    border-radius: var(--nps-radius-pill) !important;
    font-size: var(--nps-fs-sm) !important;
    padding: 9px 16px !important;
    text-align: center;
    transition: background var(--nps-transition);
}
li.product .button:hover { background: var(--nps-red-dark) !important; }

/* Quiet confirmation — no View cart button */
li.product a.added_to_cart,
.product a.added_to_cart.wc-forward {
    display: none !important;
}
.nps-added-msg {
    display: block;
    margin-top: 6px;
    font-size: var(--nps-fs-xs);
    line-height: 1.3;
    color: var(--nps-green, #1a7f3c);
    font-weight: var(--nps-font-weight-medium);
}

/* ===================== SORTING ===================== */
.nps-shop__toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 16px;
}
.woocommerce-ordering {
    margin: 0;
}
.woocommerce-ordering select,
.nps-shop select {
    padding: 8px 36px 8px 14px;
    border: 1px solid var(--nps-border-strong);
    border-radius: var(--nps-radius-pill);
    font-family: var(--nps-font);
    font-size: var(--nps-fs-sm);
    background: #fff;
    color: var(--nps-text);
    min-width: 200px;
}

/* ===================== SINGLE PRODUCT ===================== */
.nps-shop--single {
    padding-top: 24px;
    padding-bottom: 64px;
}

.nps-single-product {
    display: block;
    margin: 0;
}

/* Hero: image + buy box — buy box gets more room for long titles */
.nps-single__hero {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(340px, 1.35fr);
    gap: 32px;
    align-items: start;
    background: var(--nps-white);
    border: 1px solid var(--nps-border);
    border-radius: var(--nps-radius-lg);
    padding: 28px;
    box-shadow: var(--nps-shadow-sm);
}

/* Kill WooCommerce float/48% layout inside our grid */
.nps-single-product.product::before,
.nps-single-product.product::after {
    content: none !important;
    display: none !important;
}
.nps-single-product .nps-single__gallery,
.nps-single-product .nps-single__gallery .woocommerce-product-gallery,
.nps-single-product .nps-single__gallery .images,
.nps-single-product .summary,
.nps-single-product .entry-summary,
.nps-single-product .nps-single__buybox {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    clear: none !important;
}

/* Gallery panel */
.nps-single__gallery {
    background: linear-gradient(180deg, var(--nps-bg-soft) 0%, #fff 100%);
    border-radius: var(--nps-radius-lg);
    padding: 24px 20px 18px;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}
.nps-single__gallery .woocommerce-product-gallery {
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    float: none !important;
}
.nps-single__gallery .woocommerce-product-gallery__wrapper,
.nps-single__gallery .flex-viewport {
    width: 100% !important;
    order: 1;
}
.nps-single__gallery .woocommerce-product-gallery__image {
    width: 100%;
    text-align: center;
}
.nps-single__gallery .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: min(520px, 52vh);
    margin: 0 auto;
    object-fit: contain;
}
.nps-single__gallery ol.flex-control-thumbs,
.nps-single__gallery .flex-control-nav.flex-control-thumbs {
    order: 2;
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    float: none !important;
    position: static !important;
}
.nps-single__gallery .flex-control-thumbs li {
    float: none !important;
    width: 68px !important;
    margin: 0 !important;
}
.nps-single__gallery .flex-control-thumbs li img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--nps-radius-sm);
    border: 2px solid var(--nps-border);
    opacity: .8;
    cursor: pointer;
    transition: border-color var(--nps-transition), opacity var(--nps-transition);
}
.nps-single__gallery .flex-control-thumbs li img.flex-active,
.nps-single__gallery .flex-control-thumbs li img:hover {
    border-color: var(--nps-orange);
    opacity: 1;
}

/* Buy box */
.nps-single__buybox {
    margin: 0;
    padding: 14px 0 24px 24px;
    min-width: 0;
    width: 80%;
    box-sizing: border-box;
}
.nps-single__brand {
    margin: 0 0 8px;
    font-size: var(--nps-fs-xs);
    font-weight: var(--nps-font-weight-bold);
    letter-spacing: .45px;
    text-transform: uppercase;
    color: var(--nps-orange);
}
.nps-single__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
}
.nps-single-product .product_title,
.nps-single-product .summary .product_title,
.nps-single__buybox .product_title {
    display: block;
    width: 80%;
    max-width: none;
    font-size: clamp(1.4rem, 2.1vw, 1.85rem);
    line-height: 1.3;
    margin: 0 0 12px;
    color: var(--nps-heading);
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    border: 0;
}
.nps-single-product .woocommerce-product-rating {
    margin-bottom: 12px;
}
.nps-single-product .price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    color: var(--nps-red);
    font-weight: var(--nps-font-weight-bold);
    font-size: var(--nps-fs-2xl);
    margin: 0 0 16px;
    padding: 14px 16px;
    background: var(--nps-bg-soft);
    border-radius: var(--nps-radius);
    border: 1px solid var(--nps-border);
    max-width: 100%;
}
.nps-single-product .price del {
    color: var(--nps-text-muted);
    font-size: var(--nps-fs-md);
    font-weight: 400;
}
.nps-single-product .price ins {
    text-decoration: none;
    color: var(--nps-red);
}
.nps-single-product .woocommerce-product-details__short-description {
    margin: 0 0 18px;
    color: var(--nps-text-soft);
    font-size: var(--nps-fs-sm);
    line-height: 1.65;
}
.nps-single-product form.cart {
    margin: 0 0 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.nps-single-product form.cart .nps-size-select {
    flex: 1 1 100%;
    width: 100%;
    margin: 0 0 4px;
}
.nps-single-product form.cart .quantity {
    margin: 0;
}
.nps-single-product form.cart .quantity .qty {
    width: 72px;
    padding: 10px 8px;
    border: 1px solid var(--nps-border-strong);
    border-radius: var(--nps-radius-sm);
    font-family: var(--nps-font);
}
.nps-single-product .single_add_to_cart_button {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 132px;
    max-width: 200px;
    background: var(--nps-red) !important;
    color: #fff !important;
    border-radius: var(--nps-radius-pill) !important;
    padding: 12px 22px !important;
    font-size: var(--nps-fs-sm) !important;
    min-height: 44px;
}
.nps-single-product .single_add_to_cart_button:hover { background: var(--nps-red-dark) !important; }
.nps-single__wishlist {
    margin-top: 8px;
}
.nps-single__wishlist .nps-wishlist-btn {
    position: static;
    display: inline-flex;
    align-items: center;
    width: auto;
    height: auto;
    border-radius: var(--nps-radius-pill);
    padding: 10px 18px;
    gap: 8px;
    font-size: var(--nps-fs-sm);
    font-family: var(--nps-font);
    font-weight: var(--nps-font-weight-medium);
}
.nps-single__wishlist .nps-wishlist-btn::after {
    content: "Add to wishlist";
}
.nps-single__wishlist .nps-wishlist-btn.is-active::after {
    content: "In wishlist";
}
.nps-single-product .product_meta {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--nps-border);
    font-size: var(--nps-fs-sm);
    color: var(--nps-text-muted);
}

/* Product story — tab-free description */
.nps-single__details {
    margin-top: 24px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.nps-product-story {
    position: relative;
    overflow: hidden;
    border-radius: var(--nps-radius-lg);
    border: 1px solid var(--nps-border);
    background:
        radial-gradient(420px 180px at 0% 0%, rgba(255, 140, 66, 0.10), transparent 60%),
        radial-gradient(360px 160px at 100% 100%, rgba(225, 39, 41, 0.06), transparent 55%),
        linear-gradient(165deg, #fffdfb 0%, #ffffff 45%, #fafafa 100%);
    box-shadow: var(--nps-shadow-sm);
}
.nps-product-story__accent {
    position: absolute;
    top: -28px;
    right: -18px;
    width: 120px;
    height: 120px;
    border-radius: 40% 60% 55% 45%;
    background: color-mix(in srgb, var(--nps-lime) 35%, transparent);
    transform: rotate(18deg);
    pointer-events: none;
}
.nps-product-story__inner {
    position: relative;
    padding: 28px 30px 30px;
}
.nps-product-story__head {
    margin-bottom: 18px;
    max-width: 36rem;
}
.nps-product-story__eyebrow {
    margin: 0 0 6px;
    font-size: var(--nps-fs-xs);
    font-weight: var(--nps-font-weight-medium);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nps-orange);
}
.nps-product-story__title {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    line-height: 1.2;
    color: var(--nps-heading);
}
.nps-product-story__title span {
    color: var(--nps-red);
}
.nps-product-story__cats {
    margin: 0;
    font-size: var(--nps-fs-sm);
    color: var(--nps-text-muted);
}
.nps-product-story__grid {
    display: block;
}
.nps-product-story__grid.has-facts {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(200px, 0.75fr);
    gap: 28px;
    align-items: start;
}
.nps-product-story__copy {
    color: var(--nps-text-soft);
    font-size: 0.95rem;
    line-height: 1.75;
}
.nps-product-story__copy > *:first-child {
    margin-top: 0;
}
.nps-product-story__copy > *:last-child {
    margin-bottom: 0;
}
.nps-product-story__copy p {
    margin: 0 0 0.9em;
}
.nps-product-story__copy ul,
.nps-product-story__copy ol {
    margin: 0 0 1em;
    padding-left: 1.2em;
}
.nps-product-story__copy li {
    margin-bottom: 0.35em;
}
.nps-product-story__facts {
    padding: 16px 16px 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--nps-border);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}
.nps-product-story__facts-title {
    margin: 0 0 12px;
    font-size: var(--nps-fs-xs);
    font-weight: var(--nps-font-weight-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--nps-heading);
}
.nps-product-story__fact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nps-product-story__fact-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--nps-border);
}
.nps-product-story__fact-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
.nps-product-story__fact-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--nps-text-muted);
}
.nps-product-story__fact-value {
    font-size: 0.9rem;
    font-weight: var(--nps-font-weight-medium);
    color: var(--nps-heading);
}

/* ===================== RECOMMENDED (compact creative strip) ===================== */
.nps-single-reco {
    margin-top: 36px;
    padding: 22px 0 8px;
    position: relative;
}
.nps-single-reco::before {
    content: "";
    position: absolute;
    inset: 0 -12px auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--nps-border-strong), transparent);
}
.nps-single-reco__head {
    margin-bottom: 16px;
}
.nps-single-reco__eyebrow {
    margin: 0 0 4px;
    font-size: var(--nps-fs-xs);
    font-weight: var(--nps-font-weight-medium);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nps-orange);
}
.nps-single-reco__title {
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    color: var(--nps-heading);
    line-height: 1.25;
}
.nps-single-reco__title span {
    color: var(--nps-red);
}
.nps-single-reco__track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.nps-reco-tile {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: inherit;
    border-radius: 16px;
    border: 1px solid transparent;
    background:
        radial-gradient(120px 80px at 0% 0%, rgba(255, 255, 255, 0.7), transparent 70%),
        linear-gradient(145deg, #fff8f3 0%, #ffffff 55%);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    min-width: 0;
}
.nps-reco-tile--2 {
    background:
        radial-gradient(120px 80px at 100% 0%, rgba(255, 255, 255, 0.75), transparent 70%),
        linear-gradient(145deg, #f4faf4 0%, #ffffff 55%);
}
.nps-reco-tile--3 {
    background:
        radial-gradient(120px 80px at 0% 100%, rgba(255, 255, 255, 0.75), transparent 70%),
        linear-gradient(145deg, #fff6f0 0%, #ffffff 55%);
}
.nps-reco-tile:hover {
    transform: translateY(-3px) rotate(-0.4deg);
    border-color: color-mix(in srgb, var(--nps-orange) 35%, transparent);
    box-shadow: var(--nps-shadow-sm);
}
.nps-reco-tile:nth-child(even):hover {
    transform: translateY(-3px) rotate(0.4deg);
}
.nps-reco-tile__media {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--nps-border);
    overflow: hidden;
    flex-shrink: 0;
}
.nps-reco-tile__img,
.nps-reco-tile__media img {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    object-fit: contain;
    margin: 0 !important;
    display: block;
}
.nps-reco-tile__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.nps-reco-tile__name {
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--nps-heading);
    font-weight: var(--nps-font-weight-medium);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nps-reco-tile__price {
    font-size: 0.85rem;
    font-weight: var(--nps-font-weight-bold);
    color: var(--nps-red);
}
.nps-reco-tile__price del {
    color: var(--nps-text-muted);
    font-weight: 400;
    font-size: 0.75rem;
    margin-right: 4px;
}
.nps-reco-tile__price ins {
    text-decoration: none;
    color: var(--nps-red);
}

/* size selector chips — single + loop cards */
.nps-single-product .nps-size-select,
.nps-size-select {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 12px;
    width: 100%;
}
.nps-size-chip {
    border: 1px solid var(--nps-border-strong);
    border-radius: var(--nps-radius-sm);
    padding: 8px 14px;
    font-size: var(--nps-fs-sm);
    cursor: pointer;
    background: #fff;
    transition: all var(--nps-transition);
    font-family: var(--nps-font);
    color: var(--nps-text);
}
.nps-size-chip.is-active {
    border-color: var(--nps-red);
    background: var(--nps-bg-soft);
    color: var(--nps-red);
    font-weight: var(--nps-font-weight-medium);
}
.nps-size-select--loop {
    margin: 6px 0 10px;
    gap: 6px;
    position: relative;
    z-index: 2;
}
.nps-size-select--loop .nps-size-chip {
    padding: 5px 10px;
    font-size: var(--nps-fs-xs);
    border-radius: 999px;
}
li.product .nps-dynamic-price,
li.product .price {
    min-height: 1.4em;
}

.nps-rx-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--nps-alert-bg);
    color: var(--nps-alert-text);
    border-radius: var(--nps-radius);
    padding: 12px 14px;
    font-size: var(--nps-fs-sm);
    margin: 14px 0;
}

/* ===================== CHECKOUT ===================== */
.woocommerce-checkout .woocommerce {
    max-width: var(--nps-container);
    margin: 0 auto 48px;
    padding: 0 var(--nps-gutter);
}

/* Two columns: customer details | order (products → Rx → totals → pay) */
.nps-checkout__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px 32px;
    align-items: start;
    width: 100%;
}

.nps-checkout__left,
.nps-checkout__right {
    min-width: 0;
    width: 100%;
    float: none !important;
}

.nps-checkout__right {
    position: sticky;
    top: 88px;
    padding: 18px 18px 16px;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(225, 39, 41, 0.05), transparent 55%),
        var(--nps-white);
    border: 1px solid var(--nps-border);
    border-radius: calc(var(--nps-radius-lg) + 4px);
    box-shadow: var(--nps-shadow-sm);
}

.nps-checkout__right #order_review_heading {
    margin: 0 0 14px;
    font-size: var(--nps-fs-md);
    font-weight: var(--nps-font-weight-bold);
    color: var(--nps-heading);
}

/* Stack billing + shipping inside the left column (not side-by-side). */
.nps-checkout__left .col2-set,
.nps-checkout__left .col2-set::before,
.nps-checkout__left .col2-set::after {
    content: none !important;
    display: block !important;
    clear: none !important;
}

.nps-checkout__left .col2-set .col-1,
.nps-checkout__left .col2-set .col-2 {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
}

.woocommerce-checkout .form-row label,
.woocommerce-checkout .woocommerce-form__label,
.woocommerce-checkout .woocommerce-invalid-required-field .required,
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-shipping-fields > h3,
.woocommerce-checkout .woocommerce-additional-fields > h3 {
    font-size: var(--nps-fs-xs);
}

.woocommerce-checkout .form-row label {
    font-weight: var(--nps-font-weight-medium);
    color: var(--nps-text-soft);
    margin-bottom: 4px;
    line-height: 1.3;
}

.woocommerce-checkout .form-row label .required {
    font-size: inherit;
}

.woocommerce-checkout .input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout .select2-selection__rendered,
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__placeholder {
    font-size: var(--nps-fs-xs) !important;
}

.woocommerce-checkout .input-text::placeholder,
.woocommerce-checkout textarea::placeholder {
    font-size: var(--nps-fs-xxs);
    color: var(--nps-text-muted);
    opacity: 1;
}

.woocommerce-checkout .input-text::-webkit-input-placeholder,
.woocommerce-checkout textarea::-webkit-input-placeholder {
    font-size: var(--nps-fs-xxs);
    color: var(--nps-text-muted);
}

.woocommerce-checkout .input-text::-moz-placeholder,
.woocommerce-checkout textarea::-moz-placeholder {
    font-size: var(--nps-fs-xxs);
    color: var(--nps-text-muted);
    opacity: 1;
}

.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
    padding: 9px 12px;
}

.nps-badge--rx {
    display: inline-block;
    margin-left: 6px;
    background: var(--nps-badge-rx);
    color: #fff;
    font-size: 10px;
    line-height: 1;
    padding: 3px 7px;
    border-radius: 999px;
    vertical-align: middle;
    font-weight: var(--nps-font-weight-medium);
}

.nps-rx-upload {
    margin: 12px 0;
    padding: 14px 14px 12px;
    border: 1px solid rgba(46, 125, 50, 0.28);
    border-radius: calc(var(--nps-radius-lg) + 2px);
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(76, 175, 80, 0.12), transparent 55%),
        #fff;
}

.nps-checkout-review {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.nps-checkout-review.woocommerce-checkout-review-order-table,
.woocommerce-checkout-review-order-table.nps-checkout-review {
    display: flex;
    flex-direction: column;
    border: 0;
    background: transparent;
    margin: 0;
}

.nps-checkout-review__items,
.nps-checkout-review__totals {
    width: 100%;
    border: 1px solid var(--nps-border);
    border-radius: var(--nps-radius-lg);
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    overflow: hidden;
    margin: 0;
}

.nps-checkout-review__items th,
.nps-checkout-review__items td,
.nps-checkout-review__totals th,
.nps-checkout-review__totals td {
    padding: 10px 12px;
    font-size: var(--nps-fs-xs);
    border-top: 1px solid var(--nps-border);
}

.nps-checkout-review__items thead th {
    border-top: 0;
    background: var(--nps-bg-soft);
    font-weight: var(--nps-font-weight-medium);
}

.nps-checkout-review__items .product-name {
    vertical-align: middle;
}

.nps-checkout-review__items .product-total {
    vertical-align: middle;
    text-align: right;
    white-space: nowrap;
}

.nps-review-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.nps-review-item__thumb {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--nps-bg-soft);
    border: 1px solid var(--nps-border);
}

.nps-review-item__thumb img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px;
    object-fit: contain;
    display: block;
}

.nps-review-item__info {
    flex: 1;
    min-width: 0;
}

.nps-review-item__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.nps-review-item__name {
    color: var(--nps-heading);
    font-weight: var(--nps-font-weight-medium);
    line-height: 1.3;
}

.nps-review-item .product-quantity {
    flex: 0 0 auto;
    white-space: nowrap;
    color: var(--nps-text);
}

.nps-review-item__metas {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 14px;
    margin-top: 4px;
    font-size: var(--nps-fs-xxs);
    color: var(--nps-text-muted);
}

.nps-review-item__meta span {
    font-weight: var(--nps-font-weight-medium);
}

.nps-review-item__meta--code {
    white-space: nowrap;
}

.nps-checkout-review__totals {
    margin-top: 0;
}

.nps-checkout-review__totals tr:first-child th,
.nps-checkout-review__totals tr:first-child td {
    border-top: 0;
}

.nps-checkout-review__totals .order-total th,
.nps-checkout-review__totals .order-total td {
    font-size: var(--nps-fs-sm);
    font-weight: var(--nps-font-weight-bold);
}

.nps-checkout-review__totals .nps-checkout-loyalty td {
    color: var(--nps-green-dark, #2e7d32);
    font-weight: var(--nps-font-weight-medium);
}

.nps-checkout-delivery {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: var(--nps-radius);
    background: var(--nps-bg-soft);
    border: 1px solid var(--nps-border);
    font-size: var(--nps-fs-xs);
    color: var(--nps-text-soft);
    text-align: center;
}

.nps-checkout-review .nps-rx-upload {
    margin: 12px 0;
}

.nps-checkout__right #payment {
    margin-top: 14px;
}

.nps-checkout__right #payment .place-order {
    margin-bottom: 0;
}

.nps-checkout__right #place_order {
    width: 100%;
    background: var(--nps-red) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: var(--nps-radius-pill) !important;
    padding: 12px 18px !important;
    font-size: var(--nps-fs-sm) !important;
}

@media (max-width: 992px) {
    .nps-checkout__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .nps-checkout__right {
        position: static;
        order: 2;
    }

    .nps-checkout__left {
        order: 1;
    }
}

.nps-rx-upload__badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--nps-badge-rx);
    color: #fff;
    font-size: var(--nps-fs-xxs);
    font-weight: var(--nps-font-weight-medium);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nps-rx-upload h3 {
    margin: 0 0 6px;
    font-size: var(--nps-fs-md);
    font-weight: var(--nps-font-weight-bold);
}

.nps-rx-upload__head > p {
    margin: 0 0 10px;
    font-size: var(--nps-fs-xs);
    color: var(--nps-text-soft);
    line-height: 1.45;
}

.nps-rx-upload__items {
    margin: 0 0 14px;
    padding-left: 18px;
    font-size: var(--nps-fs-xs);
    color: var(--nps-text);
}

.nps-rx-upload__drop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 110px;
    padding: 18px 14px;
    border: 1.5px dashed rgba(46, 125, 50, 0.45);
    border-radius: var(--nps-radius-lg);
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.nps-rx-upload__drop:hover,
.nps-rx-upload__drop.is-drag {
    border-color: var(--nps-green-dark);
    background: rgba(76, 175, 80, 0.06);
}

.nps-rx-upload__drop.is-busy {
    opacity: 0.7;
    pointer-events: none;
}

.nps-rx-upload__drop-title {
    font-size: var(--nps-fs-sm);
    font-weight: var(--nps-font-weight-medium);
    color: var(--nps-heading);
}

.nps-rx-upload__drop-hint {
    font-size: var(--nps-fs-xxs);
    color: var(--nps-text-muted);
}

.nps-rx-upload__drop input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.nps-rx-status {
    min-height: 1.2em;
    margin: 10px 0 0;
    font-size: var(--nps-fs-xs);
    color: var(--nps-text-soft);
}

.nps-rx-status.is-ok {
    color: var(--nps-green-dark);
    font-weight: var(--nps-font-weight-medium);
}

.nps-rx-status.is-error {
    color: var(--nps-red);
}

.nps-rx-order-file {
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid var(--nps-border);
    border-radius: var(--nps-radius);
    background: var(--nps-bg-soft);
}

.nps-rx-order-file h2 {
    margin: 0 0 6px;
    font-size: var(--nps-fs-md);
}

@media (max-width: 1100px) {
    .nps-single-reco__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .nps-single__hero {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }
    .nps-single__gallery {
        min-height: 320px;
        padding: 18px 16px 14px;
    }
    .nps-single__buybox {
        padding: 0;
    }
    .nps-single__details {
        margin-top: 18px;
    }
    .nps-product-story__inner {
        padding: 22px 18px 22px;
    }
    .nps-product-story__grid.has-facts {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 560px) {
    .nps-single-reco__track {
        grid-template-columns: 1fr;
    }
    .nps-reco-tile {
        grid-template-columns: 64px 1fr;
    }
    .nps-reco-tile__media {
        width: 64px;
        height: 64px;
        border-radius: 14px;
    }
    .nps-reco-tile__img,
    .nps-reco-tile__media img {
        width: 56px !important;
        height: 56px !important;
        max-width: 56px !important;
    }
}

@media (max-width: 860px) {
    .nps-shop { grid-template-columns: 1fr; }
    .nps-filters { position: static; }
}

/* ===================== CART ===================== */
.woocommerce-cart .nps-container.nps-shop,
.woocommerce-cart .nps-shop__main {
    max-width: none;
    width: 100%;
    padding: 0;
    margin: 0;
    display: block;
}

.woocommerce-cart .woocommerce {
    max-width: var(--nps-container);
    margin: 0 auto 48px;
    padding: 0 var(--nps-gutter);
}

.nps-cart {
    padding: 8px 0 24px;
}

.nps-cart__hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: end;
    margin: 8px 0 22px;
    padding: 26px 28px;
    border-radius: calc(var(--nps-radius-lg) + 6px);
    background:
        radial-gradient(90% 120% at 100% 0%, rgba(248, 104, 26, 0.16), transparent 55%),
        radial-gradient(70% 100% at 0% 100%, rgba(225, 39, 41, 0.1), transparent 50%),
        linear-gradient(135deg, #fff8f4 0%, #ffffff 55%, #f6f7f4 100%);
    border: 1px solid var(--nps-border);
    overflow: hidden;
    position: relative;
}

.nps-cart__hero::after {
    content: "";
    position: absolute;
    inset: auto -20px -40px auto;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 197, 49, 0.18);
    pointer-events: none;
}

.nps-cart__eyebrow {
    margin: 0 0 6px;
    font-size: var(--nps-fs-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nps-red);
    font-weight: var(--nps-font-weight-medium);
}

.nps-cart__title {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.15;
    font-weight: var(--nps-font-weight-bold);
    color: var(--nps-heading);
}

.nps-cart__sub {
    margin: 0;
    color: var(--nps-text-soft);
    font-size: var(--nps-fs-sm);
    max-width: 40ch;
}

.nps-cart__hero-art {
    position: relative;
    z-index: 1;
    width: 88px;
    height: 88px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--nps-red);
    box-shadow: var(--nps-shadow-sm);
    border: 1px solid var(--nps-border);
}

.nps-cart__hero-paw {
    position: absolute;
    right: -10px;
    bottom: -8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nps-orange);
    color: #fff;
    box-shadow: var(--nps-shadow-sm);
}

.nps-cart__steps {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.nps-cart__steps li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--nps-fs-sm);
    color: var(--nps-text-muted);
}

.nps-cart__steps li span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--nps-fs-xs);
    font-weight: var(--nps-font-weight-medium);
    background: var(--nps-bg-soft);
    border: 1px solid var(--nps-border);
}

.nps-cart__steps li.is-active {
    color: var(--nps-text);
    font-weight: var(--nps-font-weight-medium);
}

.nps-cart__steps li.is-active span {
    background: var(--nps-red);
    border-color: var(--nps-red);
    color: #fff;
}

.nps-cart__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 400px);
    gap: 28px;
    align-items: start;
    width: 100%;
}

.nps-cart__main {
    min-width: 0;
    width: 100%;
}

.nps-cart__aside {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nps-cart__aside .cart_totals,
.nps-cart__aside .nps-cart-totals {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
}

.nps-cart__table {
    border: 0 !important;
    background: transparent;
}

.nps-cart__table thead {
    display: none;
}

.nps-cart__table tbody tr.cart_item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    grid-template-areas:
        "thumb name remove"
        "thumb meta meta"
        "thumb qty sub";
    gap: 8px 14px;
    align-items: center;
    margin-bottom: 12px;
    padding: 14px;
    background: var(--nps-white);
    border: 1px solid var(--nps-border);
    border-radius: var(--nps-radius-lg);
    box-shadow: var(--nps-shadow-sm);
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.nps-cart__table tbody tr.cart_item:hover {
    border-color: rgba(225, 39, 41, 0.28);
}

.nps-cart__table td {
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.nps-cart__table .product-thumbnail {
    grid-area: thumb;
    width: 88px;
    height: 88px;
    border-radius: 14px;
    background: var(--nps-bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.nps-cart__table .product-thumbnail img {
    width: auto !important;
    max-width: 76px;
    max-height: 76px;
    height: auto !important;
    object-fit: contain;
}

.nps-cart__table .product-name {
    grid-area: name;
    font-size: var(--nps-fs-sm);
    font-weight: var(--nps-font-weight-medium);
    line-height: 1.35;
}

.nps-cart__table .product-name a {
    color: var(--nps-heading);
    text-decoration: none;
}

.nps-cart__table .product-name a:hover {
    color: var(--nps-red);
}

.nps-cart__table .product-name .variation,
.nps-cart__table .product-name dl.variation {
    margin: 4px 0 0;
    font-size: var(--nps-fs-xs);
    color: var(--nps-text-muted);
    font-weight: 400;
}

.nps-cart__table .product-remove {
    grid-area: remove;
    justify-self: end;
    align-self: start;
}

.nps-cart__table .product-remove .remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--nps-bg-soft);
    color: var(--nps-text-muted) !important;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    border: 1px solid var(--nps-border);
}

.nps-cart__table .product-remove .remove:hover {
    background: var(--nps-red);
    border-color: var(--nps-red);
    color: #fff !important;
}

.nps-cart__table .product-price {
    grid-area: meta;
    font-size: var(--nps-fs-sm);
    color: var(--nps-text-soft);
}

.nps-cart__table .product-quantity {
    grid-area: qty;
    justify-self: start;
}

.nps-cart__table .product-quantity .qty {
    width: 64px;
    padding: 8px 10px;
    border: 1px solid var(--nps-border-strong);
    border-radius: var(--nps-radius-pill);
    font-family: var(--nps-font);
    font-size: var(--nps-fs-sm);
    text-align: center;
}

.nps-cart__table .product-subtotal {
    grid-area: sub;
    justify-self: end;
    font-weight: var(--nps-font-weight-bold);
    color: var(--nps-heading);
    font-size: var(--nps-fs-md);
}

.nps-cart__actions-row td.actions {
    display: block !important;
    padding: 16px 0 0 !important;
    background: transparent !important;
}

.nps-cart__coupon {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 16px 18px;
    background: linear-gradient(160deg, #fffaf6, #fff);
    border: 1px dashed var(--nps-border-strong);
    border-radius: var(--nps-radius-lg);
}

.nps-cart__coupon label {
    font-size: var(--nps-fs-sm);
    font-weight: var(--nps-font-weight-medium);
    color: var(--nps-text);
}

.nps-cart__coupon-row {
    display: flex;
    gap: 8px;
    width: 100%;
}

.nps-cart__coupon-row .input-text {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    padding: 10px 14px;
    border: 1px solid var(--nps-border-strong);
    border-radius: var(--nps-radius-pill);
    font-family: var(--nps-font);
}

.nps-cart__coupon-row .button,
.nps-cart__update {
    flex: 0 0 auto;
    background: #fff !important;
    color: var(--nps-text) !important;
    border: 1px solid var(--nps-red) !important;
    border-radius: var(--nps-radius-pill) !important;
    padding: 10px 16px !important;
    font-size: var(--nps-fs-sm) !important;
    font-weight: var(--nps-font-weight-medium) !important;
    cursor: pointer;
}

.nps-cart__coupon-row .button:hover,
.nps-cart__update:hover {
    border-color: var(--nps-red) !important;
    color: var(--nps-red) !important;
}

.nps-cart-totals {
    position: sticky;
    top: 96px;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 18px 18px;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(225, 39, 41, 0.07), transparent 55%),
        var(--nps-white);
    border: 1px solid var(--nps-border);
    border-radius: calc(var(--nps-radius-lg) + 4px);
    box-shadow: var(--nps-shadow);
}

.nps-cart-totals__eyebrow {
    margin: 0 0 4px;
    font-size: var(--nps-fs-xs);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--nps-orange);
    font-weight: var(--nps-font-weight-medium);
}

.nps-cart-totals h2 {
    margin: 0 0 14px;
    font-size: var(--nps-fs-lg);
    font-weight: var(--nps-font-weight-bold);
}

.nps-cart-totals .shop_table {
    border: 0 !important;
    margin: 0 0 16px;
}

.nps-cart-totals .shop_table th,
.nps-cart-totals .shop_table td {
    border: 0 !important;
    padding: 8px 0 !important;
    font-size: var(--nps-fs-sm);
    background: transparent !important;
}

.nps-cart-totals .shop_table th {
    font-weight: 400;
    color: var(--nps-text-soft);
}

.nps-cart-totals .shop_table td {
    text-align: right;
    color: var(--nps-text);
}

.nps-cart-totals .order-total th,
.nps-cart-totals .order-total td {
    padding-top: 14px !important;
    border-top: 1px solid var(--nps-border) !important;
    font-size: var(--nps-fs-md) !important;
    font-weight: var(--nps-font-weight-bold) !important;
    color: var(--nps-heading) !important;
}

.nps-cart-totals .wc-proceed-to-checkout {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.nps-cart-totals .wc-proceed-to-checkout::before,
.nps-cart-totals .wc-proceed-to-checkout::after {
    content: none;
    display: none;
}

.nps-cart__checkout {
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    float: none !important;
    background: var(--nps-red) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: var(--nps-radius-pill) !important;
    padding: 13px 18px !important;
    font-size: var(--nps-fs-sm) !important;
    font-weight: var(--nps-font-weight-medium) !important;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(225, 39, 41, 0.28);
    transition: background 0.15s ease, transform 0.15s ease;
}

.nps-cart__checkout:hover {
    background: var(--nps-red-dark) !important;
    transform: translateY(-1px);
}

.nps-cart-totals__perks {
    list-style: none;
    margin: 16px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--nps-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nps-cart-totals__perks li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: var(--nps-fs-xs);
    color: var(--nps-text-soft);
    line-height: 1.35;
}

.nps-cart-totals__perks .nps-icon {
    color: var(--nps-orange);
    flex-shrink: 0;
    margin-top: 1px;
}

.nps-cart-empty {
    display: flex;
    justify-content: center;
    padding: 8px 0 40px;
}

.nps-cart-empty__card {
    max-width: 420px;
    width: 100%;
    text-align: center;
    padding: 36px 28px;
    background:
        radial-gradient(90% 70% at 50% 0%, rgba(225, 39, 41, 0.08), transparent 60%),
        var(--nps-white);
    border: 1px solid var(--nps-border);
    border-radius: calc(var(--nps-radius-lg) + 4px);
    box-shadow: var(--nps-shadow-sm);
}

.nps-cart-empty__icon {
    display: inline-flex;
    color: var(--nps-orange);
    margin-bottom: 12px;
}

.nps-cart-empty__card h2 {
    margin: 0 0 8px;
    font-size: 1.35rem;
}

.nps-cart-empty__card p {
    margin: 0 0 18px;
    font-size: var(--nps-fs-sm);
    color: var(--nps-text-soft);
}

.nps-cart-empty__card .nps-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nps-cart-cross {
    margin-top: 36px;
    padding-top: 8px;
}

.nps-cart-cross > h2 {
    margin: 0 0 16px;
    font-size: var(--nps-fs-xl);
}

@media (max-width: 900px) {
    .nps-cart__layout {
        grid-template-columns: 1fr;
    }

    .nps-cart-totals {
        position: static;
    }
}

@media (max-width: 560px) {
    .nps-cart__hero {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .nps-cart__hero-art {
        width: 72px;
        height: 72px;
    }

    .nps-cart__table tbody tr.cart_item {
        grid-template-columns: 72px minmax(0, 1fr);
        grid-template-areas:
            "thumb name"
            "thumb remove"
            "qty qty"
            "price sub";
    }

    .nps-cart__table .product-thumbnail {
        width: 72px;
        height: 72px;
    }

    .nps-cart__table .product-price {
        grid-area: price;
        justify-self: start;
    }

    .nps-cart__table .product-remove {
        justify-self: start;
    }
}


/*iwc*/
.nps-legal {
	max-width: 820px;
	padding: 36px 0 64px;
}
.nps-legal .nps-page__title {
	margin: 0 0 8px;
	font-size: 2rem;
}
.nps-legal .nps-entry__content {
	color: var(--nps-text, #3f3a36);
	font-size: 1rem;
	line-height: 1.65;
}
.nps-legal .nps-entry__content h2 {
	margin: 1.6em 0 0.4em;
	font-size: 1.25rem;
}
.nps-legal .nps-entry__content p,
.nps-legal .nps-entry__content li {
	margin: 0 0 0.7em;
}
.nps-legal .nps-entry__content ul {
	padding-left: 1.2em;
}
.nps-entry__title{
    padding:15px!important;
}
