body.single-product {
    background:
        radial-gradient(1100px 600px at 12% 0%, color-mix(in srgb, var(--primary-color) 17%, transparent), transparent 72%),
        radial-gradient(900px 500px at 88% 4%, color-mix(in srgb, var(--accent-purple) 15%, transparent), transparent 74%),
        var(--bg-dark);
    background-attachment: fixed;
}

/* Breadcrumb alignment under fixed header */
body.single-product .nm-single-breadcrumb-wrap .woocommerce-breadcrumb {
    max-width: 1160px;
    margin: 20px auto 12px;
    color: var(--text-dim);
    font-size: 0.82rem;
}

body.single-product .nm-single-breadcrumb-wrap .woocommerce-breadcrumb a {
    color: var(--text-dim);
}

body.single-product .nm-single-breadcrumb-wrap .woocommerce-breadcrumb a:hover {
    color: var(--text-main);
}

/* Remove home icon from breadcrumb */
body.single-product .nm-single-breadcrumb-wrap .woocommerce-breadcrumb .breadcrumb-home-icon,
body.single-product .nm-single-breadcrumb-wrap .woocommerce-breadcrumb i[data-lucide="house"],
body.single-product .nm-single-breadcrumb-wrap .woocommerce-breadcrumb svg[data-lucide="house"] {
    display: none !important;
}

body.single-product .nm-single-breadcrumb-wrap .woocommerce-breadcrumb a:first-child::before,
body.single-product .nm-single-breadcrumb-wrap .woocommerce-breadcrumb > span:first-child > a::before {
    content: none !important;
    display: none !important;
}

/* Fallback if another hook/plugin still prints Storefront wrapper */
body.single-product .storefront-breadcrumb {
    margin: 0 0 12px !important;
    padding: 0 !important;
}

/* Safety fallback if Storefront elements are still injected by another plugin/custom code */
body.single-product .storefront-sticky-add-to-cart,
body.single-product .storefront-product-pagination {
    display: none !important;
}

body.single-product .site-main > div.product.type-product {
    border-radius: 14px;
    padding: 18px;
}

/* Main single-product layout */
body.single-product .site-main > div.product.type-product {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 22px;
    align-items: start;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

body.single-product .site-main > div.product.type-product .woocommerce-product-gallery,
body.single-product .site-main > div.product.type-product .images,
body.single-product .site-main > div.product.type-product .summary {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    clear: none !important;
}

/* Safety fallback: hide sale badge if a plugin/theme still injects it */
body.single-product .site-main > div.product.type-product > .onsale {
    display: none !important;
}

body.single-product .site-main > div.product.type-product .woocommerce-product-gallery,
body.single-product .site-main > div.product.type-product .images {
    max-width: 500px;
}

body.single-product .site-main > div.product.type-product > .woocommerce-product-gallery,
body.single-product .site-main > div.product.type-product > .images {
    grid-column: 1;
    grid-row: 1;
}

body.single-product .site-main > div.product.type-product .summary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--secondary-border-color);
    border-radius: 12px;
    padding: 14px;
    grid-column: 2;
    grid-row: 1;
}

body.single-product div.product div.images .woocommerce-product-gallery__wrapper {
    border: 1px solid var(--secondary-border-color);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-dark-card);
}

body.single-product .site-main > div.product.type-product .woocommerce-product-gallery__image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

body.single-product .site-main > div.product.type-product .flex-control-thumbs li img {
    border-radius: 8px;
}

body.single-product .nm-single-gallery-note {
    margin: 10px 0 0;
    text-align: center;
    font-weight: 100;
    color: var(--text-muted);
    font-size: 0.95rem;
    width: 100%;
}

body.single-product div.product .summary {
    color: var(--text-main);
}

body.single-product div.product .product_title {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 10px;
}

.nm-single-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.nm-single-category {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 45%, var(--secondary-border-color));
    color: var(--accent-purple);
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.nm-single-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border: 0;
    padding: 4px 0;
    font-size: 0.82rem;
    font-weight: 600;
}

.nm-single-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    display: inline-block;
}

.nm-status-undetected {
    color: var(--text-main);
    border-color: transparent;
    background: transparent;
}

.nm-status-undetected .nm-single-status-dot {
    background: var(--accent-purple);
    animation: nm-status-pulse 1.8s ease-out infinite;
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-purple) 55%, transparent);
}

.nm-status-testing {
    color: var(--text-main);
    border-color: transparent;
    background: transparent;
}

.nm-status-testing .nm-single-status-dot {
    background: var(--accent-yellow);
}

.nm-status-detected,
.nm-status-offline {
    color: var(--text-main);
    border-color: transparent;
    background: transparent;
}

.nm-status-detected .nm-single-status-dot,
.nm-status-offline .nm-single-status-dot {
    background: var(--primary-red);
}

@keyframes nm-status-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-purple) 55%, transparent);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent-purple) 0%, transparent);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-purple) 0%, transparent);
    }
}

.nm-single-stock {
    border-radius: 999px;
    border: 1px solid var(--secondary-border-color);
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 600;
}

.nm-single-stock.is-in {
    color: var(--accent-green);
}

.nm-single-stock.is-out {
    color: var(--primary-red);
}

body.single-product div.product p.price,
body.single-product div.product span.price {
    color: var(--text-main);
    margin: 10px 0;
}

/* Hide default WooCommerce summary price block on single product */
body.single-product div.product .summary > p.price {
    display: none !important;
}

body.single-product .quantity .qty,
body.single-product .variations select,
body.single-product form.cart .button {
    border-radius: 10px;
}

body.single-product .variations select,
body.single-product .quantity .qty {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--secondary-border-color);
    color: var(--text-main);
}

/* Hide native select immediately (no flash on refresh) */
body.single-product form.variations_form table.variations select,
body.single-product .variations select.nm-single-native-select {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.single-product .variations td.value {
    position: relative;
}

body.single-product form.variations_form table.variations th.label label {
    color: var(--text-opacity-low);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
}

body.single-product form.variations_form table.variations th.nm-single-var-label-hidden {
    display: none;
}

body.single-product .nm-single-var-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

body.single-product .nm-single-var-title {
    color: var(--text-opacity-low);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
}

body.single-product .nm-single-qty-inline {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--secondary-border-color);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    min-height: 40px;
}

body.single-product .nm-single-qty-label,
body.single-product .nm-single-qty-value,
body.single-product .nm-single-qty-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
}

body.single-product .nm-single-qty-label {
    color: var(--text-main);
    font-weight: 400;
    font-size: 0.95rem;
}

body.single-product .nm-single-qty-value {
    color: var(--text-main);
    min-width: 32px;
    font-weight: 700;
}

body.single-product .nm-single-qty-btn {
    border: 0;
    border-left: 1px solid var(--secondary-border-color);
    border-right: 1px solid var(--secondary-border-color);
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1rem;
}

body.single-product .nm-single-qty-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.woocommerce-product-details__short-description p{
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-dim);
}

/* Hide WooCommerce reset link ("Clear") */
body.single-product form.variations_form .reset_variations {
    display: none !important;
}

body.single-product .nm-single-var-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
    width: 100%;
}

body.single-product .nm-single-var-btn {
    border: 1px solid var(--secondary-border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border-radius: 12px;
    padding: 12px 16px;
    min-height: 64px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.2s ease;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.single-product .nm-single-var-btn:hover {
    border-color: color-mix(in srgb, var(--primary-color) 45%, var(--secondary-border-color));
}

body.single-product .nm-single-var-btn.is-active {
    border-color: color-mix(in srgb, var(--primary-color) 65%, var(--secondary-border-color));
    background: color-mix(in srgb, var(--primary-color) 10%, rgba(255, 255, 255, 0.03));
}

body.single-product .nm-single-var-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body.single-product .nm-single-var-name {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.15;
}

body.single-product .nm-single-var-stock {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
}

body.single-product .nm-single-var-stock:empty {
    display: none;
}

body.single-product .nm-single-var-stock.is-in {
    color: var(--accent-green);
}

body.single-product .nm-single-var-stock.is-in.is-medium {
    color: var(--accent-yellow);
}

body.single-product .nm-single-var-stock.is-in.is-low {
    color: var(--primary-red);
}

body.single-product .nm-single-var-stock.is-out {
    color: var(--primary-red);
}

body.single-product .nm-single-var-price {
    color: var(--text-main);
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.05;
    white-space: nowrap;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

body.single-product .nm-single-var-price-old {
    color: var(--text-opacity-low);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: line-through;
}

body.single-product .nm-single-var-price-new {
    color: var(--text-main);
    font-size: 1.35rem;
    font-weight: 700;
}

body.single-product .nm-single-var-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Single product action row: Checkout + Add to cart */
body.single-product .single_variation_wrap .woocommerce-variation-add-to-cart {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: center;
}

body.single-product .single_variation_wrap .woocommerce-variation-add-to-cart::before,
body.single-product .single_variation_wrap .woocommerce-variation-add-to-cart::after {
    content: none !important;
    display: none !important;
}

body.single-product .single_variation_wrap .woocommerce-variation-add-to-cart .quantity {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.single-product .single_variation_wrap .woocommerce-variation-add-to-cart .single_add_to_cart_button,
body.single-product .single_variation_wrap .woocommerce-variation-add-to-cart .nm-single-buy-now {
    width: 100%;
    margin: 0 !important;
    min-height: 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s ease-in-out;
}

body.single-product .single_variation_wrap .woocommerce-variation-add-to-cart .button {
    float: none !important;
    clear: none !important;
    align-self: stretch;
}

body.single-product .single_variation_wrap .woocommerce-variation-add-to-cart .nm-single-buy-now {
    background: var(--primary-color);
    color: var(--text-main);
    border: 1px solid transparent;
}

body.single-product .single_variation_wrap .woocommerce-variation-add-to-cart .nm-single-buy-now:hover {
    background: color-mix(in srgb, var(--primary-color) 86%, #ffffff 14%);
    border-color: transparent;
}

/* Hide WooCommerce "In stock" availability line (with icon/smile) */
body.single-product .single_variation .woocommerce-variation-availability,
body.single-product .single_variation .stock {
    display: none !important;
}


body.single-product form.cart .button {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-dim);
    border: 1px solid var(--secondary-border-color);
}

body.single-product form.cart .button:hover {
    background: var(--bg-dark-light);
    border-color: var(--secondary-border-color);
    color: var(--text-main);
}

body.single-product .single_variation_wrap .woocommerce-variation-add-to-cart .button svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

body.single-product .nm-single-actions-extra {
    margin-top: 12px;
    border-top: 1px solid var(--secondary-border-color);
    padding-top: 12px;
}

body.single-product .nm-single-back-link {
    min-height: 42px;
    border: 1px solid var(--secondary-border-color);
    border-radius: 12px;
    color: var(--text-opacity-low);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    font-weight: 600;
    transition: 0.3s ease-in-out;
}

body.single-product .nm-single-back-link:hover {
    color: var(--text-main);
    border-color: color-mix(in srgb, var(--primary-color) 42%, var(--secondary-border-color));
}

body.single-product .nm-single-back-link svg {
    width: 14px;
    height: 14px;
    stroke-width: 2;
}

body.single-product .nm-single-trust-row {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--secondary-border-color);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.single-product .nm-single-trust-item {
    color: var(--text-opacity-low);
    font-size: 0.75rem;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 30px;
}

body.single-product .nm-single-trust-item + .nm-single-trust-item {
    border-left: 1px solid var(--secondary-border-color);
}

body.single-product .nm-single-trust-item svg {
    width: 13px;
    height: 13px;
    stroke-width: 2;
}

.nm-product-details-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    clear: both;
    width: 100%;
    grid-column: 1 / -1;
    order: 20;
}

.nm-product-details-grid.nm-product-details-grid--single {
    grid-template-columns: 1fr;
}

.nm-requirements-wrap {
    margin-top: 22px;
    grid-column: 1 / -1;
}

.nm-softshots-wrap {
    margin-top: 16px;
    grid-column: 1 / -1;
    border: 1px solid var(--secondary-border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px;
}

.nm-softshots-section {
    margin-top: 22px;
    grid-column: 1 / -1;
}

.nm-softshots-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.nm-softshots-tab {
    border: 1px solid var(--secondary-border-color);
    background: rgba(255, 255, 255, 0.01);
    color: var(--text-dim);
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.nm-softshots-tab:hover {
    color: var(--text-main);
    border-color: color-mix(in srgb, var(--primary-color) 45%, var(--secondary-border-color));
}

.nm-softshots-tab.is-active {
    color: var(--text-main);
    border-color: color-mix(in srgb, var(--primary-color) 65%, var(--secondary-border-color));
    background: color-mix(in srgb, var(--primary-color) 10%, rgba(255, 255, 255, 0.02));
}

.nm-softshots-panel {
    display: none;
}

.nm-softshots-panel.is-active {
    display: block;
}

.nm-softshots-panel img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid var(--secondary-border-color);
    background: var(--bg-dark-card);
    display: block;
}

.nm-section-heading {
    margin: 0 0 12px;
    color: var(--text-main);
    font-size: 1.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.nm-section-heading::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 20px;
    border-radius: 999px;
    background: var(--primary-color);
    margin-right: 10px;
    vertical-align: -3px;
}

.nm-requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.nm-requirement-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 12px;
    border: 1px solid var(--secondary-border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.nm-requirement-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 32%, var(--secondary-border-color));
    background: color-mix(in srgb, var(--primary-color) 12%, rgba(255, 255, 255, 0.02));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.nm-requirement-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent-purple);
}

.nm-requirement-label {
    margin: 0 0 4px;
    color: var(--text-opacity-low);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nm-requirement-value {
    margin: 0;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.nm-product-details-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--secondary-border-color);
    border-radius: 12px;
    padding: 14px;
}

.nm-product-details-card h3 {
    margin: 0 0 8px;
    color: var(--text-main);
    font-size: 1rem;
}

.nm-product-details-card ul {
    margin: 0;
    padding-left: 18px;
}

.nm-product-details-card li {
    color: var(--text-dim);
    margin-bottom: 6px;
}

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

    .nm-product-details-grid {
        grid-template-columns: 1fr;
    }
}

/* Related/Upsell cards: same visual style as /shop/ cards */
body.single-product .related.products,
body.single-product .upsells.products,
body.single-product .up-sells {
    margin-top: 28px;
    grid-column: 1 / -1;
    clear: both;
    order: 30;
}

body.single-product .related.products > h2,
body.single-product .upsells.products > h2,
body.single-product .up-sells > h2 {
    color: var(--text-main);
    font-size: 1.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
    text-align: left !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

body.single-product .related.products > h2::before,
body.single-product .upsells.products > h2::before,
body.single-product .up-sells > h2::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 20px;
    border-radius: 999px;
    background: var(--primary-color);
    margin-right: 10px;
    vertical-align: -3px;
}

body.single-product .related ul.products,
body.single-product .up-sells ul.products,
body.single-product .upsells ul.products {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

body.single-product .related ul.products::before,
body.single-product .related ul.products::after,
body.single-product .up-sells ul.products::before,
body.single-product .up-sells ul.products::after,
body.single-product .upsells ul.products::before,
body.single-product .upsells ul.products::after {
    content: none !important;
    display: none !important;
}

body.single-product ul.products li.product.nm-product-card {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--secondary-border-color);
    border-radius: 14px;
    padding: 8px;
    list-style: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    transition: 0.3s ease-in-out;
}

body.single-product ul.products li.product.nm-product-card:hover {
    border: 1px solid var(--primary-color);
}

body.single-product ul.products li.product.nm-product-card .nm-product-thumb {
    display: block;
    border-radius: 12px;
}

body.single-product ul.products li.product.nm-product-card .nm-product-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    margin: 0 !important;
    padding-bottom: 5px;
}

body.single-product ul.products li.product.nm-product-card .nm-product-body {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding: 2px !important;
}

body.single-product ul.products li.product.nm-product-card .nm-product-title {
    text-align: start;
    margin: 0;
    padding-bottom: 5px;
    line-height: 1.2;
}

body.single-product ul.products li.product.nm-product-card .nm-product-title a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.single-product ul.products li.product.nm-product-card .nm-variation-list {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 6px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 5px 0 !important;
}

body.single-product ul.products li.product.nm-product-card .nm-var-btn {
    border: 1px solid var(--secondary-border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-dim);
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: 400;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

body.single-product ul.products li.product.nm-product-card .nm-var-btn.is-active {
    color: var(--text-main);
    border-color: color-mix(in srgb, var(--primary-color) 60%, var(--secondary-border-color));
    background: color-mix(in srgb, var(--primary-color) 22%, transparent);
}

body.single-product ul.products li.product.nm-product-card .nm-product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    min-height: 44px;
}

body.single-product ul.products li.product.nm-product-card .nm-product-price {
    display: flex;
    flex-direction: row;
    gap: 7%;
    font-size: 0.95rem;
    font-weight: 400;
}

body.single-product ul.products li.product.nm-product-card .nm-product-stock {
    font-size: 0.82rem;
    font-weight: 400;
}

body.single-product ul.products li.product.nm-product-card .nm-product-stock.is-in { color: var(--accent-green); }
body.single-product ul.products li.product.nm-product-card .nm-product-stock.is-out { color: var(--primary-red); }

body.single-product ul.products li.product.nm-product-card .nm-product-actions {
    margin-bottom: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

body.single-product ul.products li.product.nm-product-card .nm-card-btn {
    border: 1px solid var(--secondary-border-color);
    border-radius: 10px;
    padding: 4px 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease-in;
}

body.single-product ul.products li.product.nm-product-card .nm-card-btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

body.single-product ul.products li.product.nm-product-card .nm-card-buy {
    background: var(--primary-color);
    color: var(--text-main);
    border-color: transparent;
}

body.single-product ul.products li.product.nm-product-card .nm-card-cart {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
}

body.single-product ul.products li.product.nm-product-card .nm-card-cart-viewlike {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-opacity-low);
    border-color: var(--secondary-border-color);
}

body.single-product ul.products li.product.nm-product-card .nm-card-view {
    display: block;
    text-align: center;
    border: 1px solid var(--secondary-border-color);
    border-radius: 10px;
    padding: 4px 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.02);
    transition: 0.3s ease-in-out;
}

body.single-product ul.products li.product.nm-product-card .nm-card-view:hover,
body.single-product ul.products li.product.nm-product-card .nm-card-cart-viewlike:hover {
    background-color: var(--bg-dark-light);
    color: var(--text-main);
    border-color: var(--secondary-border-color);
}

@media (max-width: 980px) {
    body.single-product .site-main > div.product.type-product {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    body.single-product .site-main > div.product.type-product > .woocommerce-product-gallery,
    body.single-product .site-main > div.product.type-product > .images,
    body.single-product .site-main > div.product.type-product > .summary {
        grid-column: 1;
        grid-row: auto;
    }

    body.single-product .related ul.products,
    body.single-product .up-sells ul.products,
    body.single-product .upsells ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.single-product .nm-single-trust-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    body.single-product .nm-single-trust-item + .nm-single-trust-item {
        border-left: 0;
    }

    body.single-product .related ul.products,
    body.single-product .up-sells ul.products,
    body.single-product .upsells ul.products {
        grid-template-columns: 1fr;
    }
}

/* Gallery fullscreen trigger redesign */
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    border: 1px solid var(--secondary-border-color) !important;
    background: rgba(10, 10, 10, 0.78) !important;
    backdrop-filter: blur(6px);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    transition: 0.2s ease;
    text-indent: 0 !important;
    overflow: visible !important;
    color: var(--text-main) !important;
}

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover {
    border-color: color-mix(in srgb, var(--primary-color) 50%, var(--secondary-border-color)) !important;
    background: color-mix(in srgb, var(--primary-color) 15%, rgba(10, 10, 10, 0.78)) !important;
}

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger::before,
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger::after,
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger span[aria-hidden="true"]::before,
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger span[aria-hidden="true"]::after {
    content: none !important;
    display: none !important;
}

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger img.emoji {
    display: none !important;
}

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger > span[aria-hidden="true"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger .nm-trigger-icon {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--text-main);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
