/*
 * Norela Beauty — Luxury WooCommerce product page
 * Scope: single product pages only
 * Theme: Astra + WooCommerce
 * Version: 1.0.0
 */

body.single-product {
    --norela-wine: #6f1834;
    --norela-wine-dark: #4d0f23;
    --norela-rose: #b96f84;
    --norela-rose-light: #ead1d8;
    --norela-blush: #fbf4f5;
    --norela-cream: #fffaf7;
    --norela-ink: #34292d;
    --norela-muted: #786a6f;
    --norela-line: rgba(111, 24, 52, 0.12);
    --norela-shadow: 0 22px 65px rgba(74, 20, 40, 0.09);
    --norela-shadow-soft: 0 10px 35px rgba(74, 20, 40, 0.06);
    --norela-radius-lg: 28px;
    --norela-radius-md: 18px;
    --norela-radius-sm: 12px;
}

/* ---------- Page canvas and breadcrumb ---------- */

body.single-product .site-content {
    background:
        radial-gradient(circle at 86% 8%, rgba(236, 205, 213, 0.28), transparent 24rem),
        linear-gradient(180deg, #fffdfc 0, #fff 46rem);
}

body.single-product .site-main {
    overflow: visible;
}

body.single-product .woocommerce-breadcrumb {
    max-width: 1240px;
    margin: 22px auto 18px !important;
    padding: 0 28px;
    color: #a09398 !important;
    font-size: 12.5px;
    line-height: 1.9;
}

body.single-product .woocommerce-breadcrumb a {
    color: #805263 !important;
    text-decoration: none;
    transition: color 180ms ease;
}

body.single-product .woocommerce-breadcrumb a:hover {
    color: var(--norela-wine) !important;
}

/* ---------- Product hero layout ---------- */

body.single-product .site-main > div.product,
body.single-product .site-main > article.product,
body.single-product main .woocommerce-notices-wrapper + div.product {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
    gap: clamp(30px, 4.5vw, 70px);
    align-items: start;
    width: min(1240px, calc(100% - 48px));
    max-width: 1240px;
    margin: 0 auto !important;
    padding: 18px 0 0 !important;
}

body.single-product div.product > .woocommerce-product-gallery,
body.single-product div.product > .summary {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

/* ---------- Product gallery ---------- */

body.single-product div.product > .woocommerce-product-gallery {
    position: sticky;
    top: 28px;
    padding: clamp(12px, 2vw, 22px);
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, #fff 0 20%, transparent 62%),
        linear-gradient(145deg, #fff8f5, #f9ebe7);
    border: 1px solid rgba(145, 60, 85, 0.12);
    border-radius: var(--norela-radius-lg);
    box-shadow: var(--norela-shadow);
    isolation: isolate;
}

body.single-product div.product > .woocommerce-product-gallery::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 280px;
    height: 280px;
    top: -140px;
    left: -100px;
    border: 1px solid rgba(151, 77, 98, 0.1);
    border-radius: 50%;
    box-shadow:
        0 0 0 34px rgba(151, 77, 98, 0.025),
        0 0 0 68px rgba(151, 77, 98, 0.02);
}

body.single-product .woocommerce-product-gallery__wrapper {
    border-radius: calc(var(--norela-radius-lg) - 8px);
}

body.single-product .woocommerce-product-gallery__image a {
    display: block;
    cursor: zoom-in;
}

body.single-product .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    max-height: 680px;
    object-fit: contain;
    border-radius: calc(var(--norela-radius-lg) - 9px);
    transition: transform 500ms cubic-bezier(.2, .8, .2, 1);
}

@media (hover: hover) {
    body.single-product .woocommerce-product-gallery__image:hover img {
        transform: scale(1.018);
    }
}

body.single-product div.product .woocommerce-product-gallery__trigger {
    top: 20px !important;
    right: 20px !important;
    width: 42px !important;
    height: 42px !important;
    color: var(--norela-wine) !important;
    background: rgba(255, 255, 255, 0.86) !important;
    border: 1px solid rgba(111, 24, 52, 0.14);
    border-radius: 50% !important;
    box-shadow: 0 8px 24px rgba(71, 24, 39, 0.12);
    backdrop-filter: blur(8px);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

body.single-product div.product .woocommerce-product-gallery__trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(71, 24, 39, 0.17);
}

body.single-product .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 0 !important;
    padding: 0 !important;
}

body.single-product .flex-control-thumbs li {
    float: none !important;
    width: 72px !important;
    padding: 4px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--norela-line);
    border-radius: 12px;
}

body.single-product .flex-control-thumbs img {
    border-radius: 8px !important;
    opacity: 0.6;
    transition: opacity 180ms ease;
}

body.single-product .flex-control-thumbs img.flex-active,
body.single-product .flex-control-thumbs img:hover {
    opacity: 1;
}

/* Sale badge */
body.single-product div.product > .onsale {
    z-index: 5;
    top: 38px !important;
    right: 18px !important;
    left: auto !important;
    min-width: auto;
    min-height: auto;
    padding: 8px 14px;
    color: #fff !important;
    background: var(--norela-wine) !important;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(111, 24, 52, 0.22);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

/* ---------- Product summary card ---------- */

body.single-product div.product > .summary {
    position: relative;
    padding: clamp(30px, 4vw, 50px) !important;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--norela-line);
    border-radius: var(--norela-radius-lg);
    box-shadow: var(--norela-shadow);
    backdrop-filter: blur(10px);
}

body.single-product div.product > .summary::before {
    content: "NORELA BEAUTY";
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 18px;
    padding: 5px 13px;
    color: var(--norela-wine);
    background: var(--norela-blush);
    border: 1px solid rgba(111, 24, 52, 0.1);
    border-radius: 999px;
    letter-spacing: 1.6px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 10px;
    font-weight: 700;
}

body.single-product div.product > .summary::after {
    content: "";
    position: absolute;
    top: 0;
    right: 44px;
    left: 44px;
    height: 3px;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(90deg, transparent, #d3a2af, var(--norela-wine), #d3a2af, transparent);
}

body.single-product div.product .product_title {
    margin: 0 0 16px !important;
    color: var(--norela-ink) !important;
    font-size: clamp(25px, 2.55vw, 36px) !important;
    font-weight: 800;
    line-height: 1.65;
    letter-spacing: -0.35px;
}

body.single-product div.product .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px !important;
    color: var(--norela-muted) !important;
    font-size: 12px;
}

body.single-product .star-rating,
body.single-product .star-rating::before {
    color: #c7954c !important;
}

body.single-product div.product .woocommerce-review-link {
    color: #8c747d !important;
    text-decoration: none;
}

body.single-product div.product p.price,
body.single-product div.product span.price,
body.single-product div.product .price,
body.single-product div.product .price * {
    color: var(--norela-wine) !important;
    font-size: clamp(21px, 2vw, 27px) !important;
    font-weight: 800;
    line-height: 1.7;
}

body.single-product div.product .price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px 12px;
    margin: 0 0 21px !important;
}

body.single-product div.product .price del,
body.single-product div.product .price del * {
    color: #aa9ba0 !important;
    font-size: 15px !important;
    font-weight: 500;
    opacity: 1;
}

body.single-product div.product .price ins {
    text-decoration: none;
}

body.single-product .woocommerce-product-details__short-description {
    margin: 22px 0 20px;
    padding: 20px 22px;
    color: #50454a !important;
    background: linear-gradient(135deg, #fdf8f9, #fff);
    border: 1px solid rgba(111, 24, 52, 0.09);
    border-right: 3px solid var(--norela-rose);
    border-radius: 14px;
}

body.single-product .woocommerce-product-details__short-description p,
body.single-product .woocommerce-product-details__short-description li {
    margin: 0 0 8px;
    color: #50454a !important;
    font-size: 14px;
    line-height: 2.05;
}

body.single-product .woocommerce-product-details__short-description p:last-child,
body.single-product .woocommerce-product-details__short-description li:last-child {
    margin-bottom: 0;
}

body.single-product div.product p.stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 14px !important;
    padding: 7px 12px;
    color: #2f7048 !important;
    background: #eef8f1;
    border: 1px solid rgba(47, 112, 72, 0.1);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 650;
}

body.single-product div.product p.stock::before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    color: #fff;
    background: #3f8057;
    border-radius: 50%;
    font-size: 10px;
}

body.single-product div.product p.stock.out-of-stock {
    color: #9b3545 !important;
    background: #fff0f2;
    border-color: rgba(155, 53, 69, 0.1);
}

body.single-product div.product p.stock.out-of-stock::before {
    content: "×";
    background: #a33c4c;
}

/* ---------- Simple and variable product purchasing ---------- */

body.single-product div.product form.cart {
    margin: 24px 0 18px !important;
}

body.single-product div.product form.cart:not(.variations_form),
body.single-product .woocommerce-variation-add-to-cart {
    display: flex !important;
    align-items: stretch;
    gap: 11px;
}

body.single-product div.product form.cart .quantity {
    float: none !important;
    margin: 0 !important;
}

body.single-product div.product form.cart .qty {
    width: 74px !important;
    height: 56px !important;
    padding: 0 8px;
    color: var(--norela-ink) !important;
    background: #fff;
    border: 1px solid rgba(111, 24, 52, 0.2) !important;
    border-radius: 13px !important;
    box-shadow: inset 0 1px 2px rgba(53, 25, 35, 0.03);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

body.single-product div.product form.cart .qty:focus {
    border-color: var(--norela-rose) !important;
    outline: 3px solid rgba(185, 111, 132, 0.13);
}

body.single-product div.product form.cart .button,
body.single-product div.product button.single_add_to_cart_button,
body.single-product div.product .single_add_to_cart_button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 56px !important;
    flex: 1 1 auto;
    margin: 0 !important;
    padding: 13px 25px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #8c3150 0%, var(--norela-wine) 52%, var(--norela-wine-dark) 100%) !important;
    border: 0 !important;
    border-radius: 13px !important;
    box-shadow: 0 12px 28px rgba(111, 24, 52, 0.24);
    font-size: 15px !important;
    font-weight: 750 !important;
    line-height: 1.4 !important;
    text-align: center;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

body.single-product div.product form.cart .button:hover,
body.single-product div.product .single_add_to_cart_button:hover {
    filter: saturate(1.08) brightness(0.96);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(111, 24, 52, 0.31);
}

body.single-product div.product form.cart .button:focus-visible,
body.single-product div.product .single_add_to_cart_button:focus-visible {
    outline: 3px solid rgba(185, 111, 132, 0.28);
    outline-offset: 3px;
}

body.single-product div.product form.cart .button.disabled,
body.single-product div.product form.cart .button:disabled {
    cursor: not-allowed;
    filter: grayscale(0.45);
    opacity: 0.58;
    transform: none;
}

body.single-product table.variations {
    margin: 0 0 18px !important;
    border: 0 !important;
}

body.single-product table.variations tr,
body.single-product table.variations th,
body.single-product table.variations td {
    display: block;
    width: 100%;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.single-product table.variations th.label {
    margin: 0 0 8px;
    color: var(--norela-ink) !important;
    font-size: 13px;
}

body.single-product table.variations select {
    width: 100%;
    min-height: 50px;
    margin: 0 0 15px;
    padding: 8px 14px;
    color: var(--norela-ink);
    background: #fff;
    border: 1px solid var(--norela-line);
    border-radius: 12px;
}

body.single-product .reset_variations {
    color: var(--norela-wine) !important;
    font-size: 12px;
}

/* Wishlist — supports common YITH markup without affecting other buttons */
body.single-product div.product > .summary .yith-wcwl-add-to-wishlist,
body.single-product div.product > .summary .yith-wcwl-add-button {
    margin: 14px 0 0 !important;
}

body.single-product div.product > .summary .yith-wcwl-add-to-wishlist a,
body.single-product div.product > .summary .yith-wcwl-add-button a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 14px;
    color: #704b59 !important;
    background: #fff;
    border: 1px solid var(--norela-line);
    border-radius: 999px;
    text-decoration: none;
    transition: border-color 180ms ease, background 180ms ease;
}

body.single-product div.product > .summary .yith-wcwl-add-to-wishlist a:hover,
body.single-product div.product > .summary .yith-wcwl-add-button a:hover {
    background: var(--norela-blush);
    border-color: rgba(111, 24, 52, 0.22);
}

body.single-product div.product .product_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-top: 24px;
    padding-top: 20px;
    color: var(--norela-muted) !important;
    border-top: 1px solid var(--norela-line);
    font-size: 12px;
    line-height: 1.8;
}

body.single-product div.product .product_meta > span {
    padding: 5px 10px;
    color: #765963 !important;
    background: #fcf7f8;
    border: 1px solid rgba(111, 24, 52, 0.07);
    border-radius: 999px;
}

body.single-product div.product .product_meta a {
    color: var(--norela-wine) !important;
    text-decoration: none;
}

/* ---------- Product tabs ---------- */

body.single-product div.product > .woocommerce-tabs {
    max-width: 1120px;
    margin: clamp(55px, 7vw, 95px) auto 0 !important;
    padding: 0 !important;
}

body.single-product div.product .woocommerce-tabs ul.tabs {
    display: flex;
    justify-content: center;
    gap: clamp(18px, 4vw, 45px);
    margin: 0 0 24px !important;
    padding: 0 18px !important;
    overflow-x: auto;
    border-bottom: 1px solid var(--norela-line);
    scrollbar-width: none;
}

body.single-product div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar {
    display: none;
}

body.single-product div.product .woocommerce-tabs ul.tabs::before,
body.single-product div.product .woocommerce-tabs ul.tabs::after {
    display: none !important;
}

body.single-product div.product .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
}

body.single-product div.product .woocommerce-tabs ul.tabs li::before,
body.single-product div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

body.single-product div.product .woocommerce-tabs ul.tabs li a {
    position: relative;
    display: block;
    padding: 15px 3px 14px !important;
    color: #8d7c82 !important;
    font-size: 13.5px;
    font-weight: 650;
    white-space: nowrap;
    transition: color 180ms ease;
}

body.single-product div.product .woocommerce-tabs ul.tabs li a::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: -1px;
    left: 50%;
    height: 2px;
    background: var(--norela-wine);
    border-radius: 99px 99px 0 0;
    transition: right 220ms ease, left 220ms ease;
}

body.single-product div.product .woocommerce-tabs ul.tabs li.active a,
body.single-product div.product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--norela-wine) !important;
}

body.single-product div.product .woocommerce-tabs ul.tabs li.active a::after {
    right: 0;
    left: 0;
}

body.single-product div.product .woocommerce-tabs .panel {
    position: relative;
    max-width: 1040px;
    margin: 0 auto !important;
    padding: clamp(34px, 5vw, 58px) !important;
    overflow: hidden;
    color: var(--norela-ink) !important;
    background: linear-gradient(180deg, #fffdfd 0, #fff 210px);
    border: 1px solid var(--norela-line);
    border-radius: var(--norela-radius-lg);
    box-shadow: var(--norela-shadow-soft);
}

body.single-product div.product .woocommerce-tabs .panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 7%;
    left: 7%;
    height: 3px;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(90deg, transparent, #d3a2af, var(--norela-wine), #d3a2af, transparent);
}

body.single-product .woocommerce-Tabs-panel p,
body.single-product .woocommerce-Tabs-panel li,
body.single-product .woocommerce-Tabs-panel td,
body.single-product .woocommerce-Tabs-panel td p,
body.single-product .woocommerce-Tabs-panel a {
    color: #494045 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.single-product .woocommerce-Tabs-panel p {
    margin: 0 0 14px !important;
    font-size: 14.5px;
    line-height: 2.15;
    text-align: justify;
}

body.single-product .woocommerce-Tabs-panel p:empty {
    display: none !important;
}

body.single-product .woocommerce-Tabs-panel > p:first-of-type {
    margin-bottom: 24px !important;
    padding: 19px 22px;
    color: #4b3c41 !important;
    background: linear-gradient(135deg, #fcf5f7, #fff);
    border: 1px solid rgba(111, 24, 52, 0.07);
    border-right: 3px solid var(--norela-rose);
    border-radius: 13px;
    font-size: 15px;
    line-height: 2.2;
}

body.single-product .woocommerce-Tabs-panel h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 42px 0 20px !important;
    color: var(--norela-wine) !important;
    font-size: clamp(19px, 2vw, 23px) !important;
    font-weight: 800;
    line-height: 1.8;
}

body.single-product .woocommerce-Tabs-panel h2:first-child {
    margin-top: 0 !important;
}

body.single-product .woocommerce-Tabs-panel h2::before {
    content: "";
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    background: var(--norela-wine);
    border: 3px solid #ead1d8;
    border-radius: 50%;
    box-sizing: content-box;
}

body.single-product .woocommerce-Tabs-panel h2::after {
    content: "";
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, var(--norela-line));
}

body.single-product .woocommerce-Tabs-panel h3,
body.single-product .woocommerce-Tabs-panel h4 {
    margin: 24px 0 10px !important;
    padding: 10px 16px !important;
    color: #822c48 !important;
    background: linear-gradient(90deg, transparent, #fbf2f4);
    border-right: 3px solid #bd788c !important;
    border-radius: 0 10px 10px 0;
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1.8;
}

body.single-product .woocommerce-Tabs-panel > ul,
body.single-product .woocommerce-Tabs-panel > ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    margin: 18px 0 30px !important;
    padding: 0 !important;
    list-style: none !important;
}

body.single-product .woocommerce-Tabs-panel > ul > li,
body.single-product .woocommerce-Tabs-panel > ol > li {
    position: relative;
    margin: 0 !important;
    padding: 12px 38px 12px 14px;
    color: #423a3e !important;
    background: #fdf9fa;
    border: 1px solid rgba(111, 24, 52, 0.08);
    border-radius: 12px;
    line-height: 1.9;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body.single-product .woocommerce-Tabs-panel > ul > li::before,
body.single-product .woocommerce-Tabs-panel > ol > li::before {
    content: "✓";
    position: absolute;
    top: 13px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    color: #fff;
    background: var(--norela-wine);
    border-radius: 50%;
    font-size: 9px;
}

@media (hover: hover) {
    body.single-product .woocommerce-Tabs-panel > ul > li:hover,
    body.single-product .woocommerce-Tabs-panel > ol > li:hover {
        border-color: rgba(111, 24, 52, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(104, 22, 47, 0.06);
    }
}

/* Additional information table */
body.single-product .woocommerce table.shop_attributes {
    width: 100%;
    margin: 18px 0 0 !important;
    overflow: hidden;
    border: 1px solid var(--norela-line) !important;
    border-radius: 15px;
    border-collapse: separate !important;
    border-spacing: 0;
}

body.single-product .woocommerce table.shop_attributes tr:nth-child(even) {
    background: #fdf8f9;
}

body.single-product .woocommerce table.shop_attributes th,
body.single-product .woocommerce table.shop_attributes td {
    padding: 14px 18px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(111, 24, 52, 0.07) !important;
    line-height: 1.9;
}

body.single-product .woocommerce table.shop_attributes tr:last-child th,
body.single-product .woocommerce table.shop_attributes tr:last-child td {
    border-bottom: 0 !important;
}

body.single-product .woocommerce table.shop_attributes th {
    width: 34%;
    color: var(--norela-wine) !important;
    background: #fbf4f6 !important;
    font-weight: 700;
}

body.single-product .woocommerce table.shop_attributes td,
body.single-product .woocommerce table.shop_attributes td p {
    color: #443b3f !important;
    background: #fff !important;
    font-style: normal !important;
}

/* Reviews */
body.single-product #reviews #comments ol.commentlist {
    margin: 0;
    padding: 0;
}

body.single-product #reviews #comments ol.commentlist li {
    margin: 0 0 14px;
    padding: 18px;
    background: #fdf9fa;
    border: 1px solid var(--norela-line);
    border-radius: 14px;
}

body.single-product #review_form_wrapper {
    margin-top: 28px;
    padding: 24px;
    background: #fcf7f8;
    border: 1px solid var(--norela-line);
    border-radius: 16px;
}

body.single-product #review_form input:not([type="submit"]),
body.single-product #review_form textarea {
    color: var(--norela-ink);
    background: #fff;
    border: 1px solid var(--norela-line);
    border-radius: 10px;
}

body.single-product #review_form input[type="submit"] {
    color: #fff !important;
    background: var(--norela-wine) !important;
    border: 0;
    border-radius: 11px;
}

/* ---------- Related / upsell product cards are owned by norela-homepage ---------- */

/* ---------- Tablet ---------- */

@media (max-width: 1100px) {
    body.single-product .site-main > div.product,
    body.single-product .site-main > article.product,
    body.single-product main .woocommerce-notices-wrapper + div.product {
        grid-template-columns: 1fr;
        gap: 24px;
        width: min(760px, calc(100% - 36px));
    }

    body.single-product div.product > .woocommerce-product-gallery {
        position: relative;
        top: auto;
        max-width: 720px !important;
        margin: 0 auto !important;
    }

    body.single-product div.product > .summary {
        max-width: 720px !important;
        margin: 0 auto !important;
    }

    body.single-product div.product > .woocommerce-tabs,

    body.single-product div.product > .woocommerce-tabs {
        margin-top: 55px !important;
    }
}

/* ---------- Mobile ---------- */

@media (max-width: 640px) {
    body.single-product .woocommerce-breadcrumb {
        margin-top: 14px !important;
        padding: 0 15px;
        font-size: 11.5px;
    }

    body.single-product .site-main > div.product,
    body.single-product .site-main > article.product,
    body.single-product main .woocommerce-notices-wrapper + div.product {
        width: calc(100% - 24px);
        padding-top: 6px !important;
    }

    body.single-product div.product > .woocommerce-product-gallery {
        padding: 9px;
        border-radius: 19px;
    }

    body.single-product .woocommerce-product-gallery__image img {
        border-radius: 14px;
    }

    body.single-product div.product .woocommerce-product-gallery__trigger {
        top: 14px !important;
        right: 14px !important;
        width: 38px !important;
        height: 38px !important;
    }

    body.single-product div.product > .summary {
        padding: 30px 20px !important;
        border-radius: 19px;
    }

    body.single-product div.product > .summary::after {
        right: 24px;
        left: 24px;
    }

    body.single-product div.product .product_title {
        font-size: 22px !important;
        line-height: 1.7;
    }

    body.single-product div.product p.price,
    body.single-product div.product span.price,
    body.single-product div.product .price,
    body.single-product div.product .price * {
        font-size: 21px !important;
    }

    body.single-product .woocommerce-product-details__short-description {
        padding: 17px;
    }

    body.single-product div.product form.cart:not(.variations_form),
    body.single-product .woocommerce-variation-add-to-cart {
        gap: 8px;
    }

    body.single-product div.product form.cart .qty {
        width: 62px !important;
    }

    body.single-product div.product form.cart .button,
    body.single-product div.product .single_add_to_cart_button {
        padding-right: 15px !important;
        padding-left: 15px !important;
        font-size: 14px !important;
    }

    body.single-product div.product .woocommerce-tabs ul.tabs {
        justify-content: flex-start;
        gap: 20px;
        padding: 0 4px !important;
    }

    body.single-product div.product .woocommerce-tabs .panel {
        padding: 30px 18px !important;
        border-radius: 19px;
    }

    body.single-product .woocommerce-Tabs-panel p {
        font-size: 14px;
        line-height: 2.05;
        text-align: right;
    }

    body.single-product .woocommerce-Tabs-panel > p:first-of-type {
        padding: 16px;
        font-size: 14px;
    }

    body.single-product .woocommerce-Tabs-panel h2 {
        margin-top: 32px !important;
        font-size: 18px !important;
    }

    body.single-product .woocommerce-Tabs-panel h2::after {
        display: none;
    }

    body.single-product .woocommerce-Tabs-panel h3,
    body.single-product .woocommerce-Tabs-panel h4 {
        font-size: 14.5px !important;
    }

    body.single-product .woocommerce-Tabs-panel > ul,
    body.single-product .woocommerce-Tabs-panel > ol {
        grid-template-columns: 1fr;
    }

    body.single-product .woocommerce table.shop_attributes th,
    body.single-product .woocommerce table.shop_attributes td {
        display: block;
        width: 100%;
        padding: 12px 14px !important;
    }

    body.single-product .woocommerce table.shop_attributes th {
        border-bottom: 0 !important;
    }
}

/* Respect reduced-motion accessibility setting */
@media (prefers-reduced-motion: reduce) {
    body.single-product *,
    body.single-product *::before,
    body.single-product *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/*
 * Mobile hardening layer
 * Kept last on purpose to override Astra/WooCommerce mobile float rules.
 */
@media screen and (max-width: 767px) {
    body.single-product .site-main > div.product,
    body.single-product .site-main > article.product,
    body.single-product main .woocommerce-notices-wrapper + div.product,
    body.single-product .woocommerce div.product {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 18px !important;
        width: calc(100% - 24px) !important;
        max-width: 720px !important;
        min-height: 0 !important;
        margin: 0 auto !important;
        padding: 6px 0 0 !important;
    }

    body.single-product .woocommerce div.product > .onsale {
        order: 0;
    }

    body.single-product .woocommerce div.product > .woocommerce-product-gallery {
        order: 1 !important;
        position: relative !important;
        inset: auto !important;
        float: none !important;
        clear: both !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 9px !important;
    }

    body.single-product .woocommerce div.product > .summary,
    body.single-product .woocommerce div.product div.summary.entry-summary {
        order: 2 !important;
        position: relative !important;
        inset: auto !important;
        float: none !important;
        clear: both !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 30px 20px !important;
        overflow: visible !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    body.single-product .woocommerce div.product > .summary > *,
    body.single-product .woocommerce div.product div.summary.entry-summary > * {
        position: static !important;
        float: none !important;
        max-width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    body.single-product .woocommerce div.product > .summary::before {
        display: inline-flex !important;
    }

    body.single-product .woocommerce div.product > .summary::after {
        position: absolute !important;
    }

    body.single-product .woocommerce div.product .product_title {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 0 14px !important;
        color: var(--norela-ink) !important;
        font-size: 22px !important;
        line-height: 1.7 !important;
        text-align: right !important;
    }

    body.single-product .woocommerce div.product .price,
    body.single-product .woocommerce div.product p.price,
    body.single-product .woocommerce div.product span.price {
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 0 18px !important;
        color: var(--norela-wine) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    body.single-product .woocommerce div.product .woocommerce-product-details__short-description {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 18px 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    body.single-product .woocommerce div.product form.cart,
    body.single-product .woocommerce div.product form.cart:not(.variations_form),
    body.single-product .woocommerce div.product .woocommerce-variation-add-to-cart {
        position: static !important;
        float: none !important;
        display: flex !important;
        align-items: stretch !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 22px 0 12px !important;
        gap: 8px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    body.single-product .woocommerce div.product form.variations_form {
        display: block !important;
    }

    body.single-product .woocommerce div.product form.cart .quantity {
        position: static !important;
        display: block !important;
        flex: 0 0 62px !important;
        width: 62px !important;
        height: 56px !important;
    }

    body.single-product .woocommerce div.product form.cart .button,
    body.single-product .woocommerce div.product form.cart button.button,
    body.single-product .woocommerce div.product .single_add_to_cart_button {
        position: static !important;
        display: flex !important;
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        min-height: 56px !important;
        color: #fff !important;
        background: linear-gradient(135deg, #8c3150, #6f1834 55%, #4d0f23) !important;
        border-radius: 13px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    body.single-product .woocommerce div.product > .woocommerce-tabs {
        order: 3 !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 42px 0 0 !important;
        padding: 0 !important;
    }

    body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs {
        float: none !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 22px !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 0 18px !important;
        padding: 0 4px !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }

    body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li {
        float: none !important;
        display: block !important;
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        display: block !important;
        padding: 13px 2px !important;
        font-size: 13px !important;
        white-space: nowrap !important;
    }

    body.single-product .woocommerce div.product .woocommerce-tabs .panel {
        float: none !important;
        clear: both !important;
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 30px 18px !important;
    }

    body.single-product .woocommerce div.product > .related,
    body.single-product .woocommerce div.product > .upsells {
        order: 4 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}
/* اعلان افزودن محصول به سبد خرید */
body.single-product .woocommerce-message {
    position: fixed !important;
    z-index: 99999;
    top: 25px;
    right: 50%;
    width: min(520px, calc(100% - 30px));
    margin: 0 !important;
    padding: 16px 22px !important;
    overflow: hidden;
    color: #4d2734 !important;
    background: rgba(255, 250, 251, 0.97) !important;
    border: 1px solid #dfbdc7 !important;
    border-right: 4px solid #741b35 !important;
    border-radius: 14px !important;
    box-shadow: 0 15px 40px rgba(74, 20, 40, 0.18);
    backdrop-filter: blur(10px);
    transform: translateX(50%);
    animation: norela-cart-notice 5s ease forwards;
    font-size: 13px;
    line-height: 1.9;
}

@keyframes norela-cart-notice {
    0% {
        opacity: 0;
        transform: translate(50%, -20px);
    }

    10%,
    80% {
        opacity: 1;
        transform: translate(50%, 0);
    }

    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(50%, -20px);
    }
}

@media (max-width: 600px) {
    body.single-product .woocommerce-message {
        top: 15px;
        padding: 13px 16px !important;
        font-size: 12px;
    }
}
/* تنظیم فاصله توضیحات کوتاه محصول */
.single-product .woocommerce-product-details__short-description {
    height: auto !important;
    min-height: 0 !important;
}

.single-product .woocommerce-product-details__short-description p {
    margin: 0 0 12px !important;
    line-height: 2 !important;
}

.single-product .woocommerce-product-details__short-description ul {
    margin: 8px 0 0 !important;
    padding-right: 20px !important;
    padding-left: 0 !important;
}

.single-product .woocommerce-product-details__short-description ul li {
    margin: 0 0 3px !important;
    padding: 0 !important;
    line-height: 1.9 !important;
}

.single-product .woocommerce-product-details__short-description ul li:last-child {
    margin-bottom: 0 !important;
}

/*
 * 6.3.1 — Astra/Elementor layout compatibility
 * The previous layout depended on the product being a direct child of site-main.
 * These selectors deliberately target WooCommerce's real product root instead.
 */
body.single-product #secondary,
body.single-product .widget-area,
body.single-product aside#secondary {
    display: none !important;
}

body.single-product .site-content > .ast-container,
body.single-product .site-content .ast-container,
body.single-product #content > .ast-container {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.single-product #primary,
body.single-product .content-area,
body.single-product .ast-woocommerce-container,
body.single-product article.ast-article-single,
body.single-product .entry-content,
body.single-product .site-main {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body.single-product .woocommerce div.product,
body.single-product div.product.type-product {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr) !important;
    gap: clamp(28px, 4vw, 64px) !important;
    align-items: start !important;
    width: min(1240px, calc(100% - 48px)) !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 18px 0 70px !important;
}

body.single-product .woocommerce div.product::before,
body.single-product .woocommerce div.product::after {
    display: none !important;
}

body.single-product .woocommerce div.product > .woocommerce-product-gallery {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

/*
 * 6.3.2 — Emergency width recovery
 * Some Elementor/Astra product templates wrap WooCommerce in percentage-width
 * columns.  Reset only the content chain that owns the single-product output.
 */
body.single-product #content,
body.single-product #content.site-content,
body.single-product #content > .ast-container,
body.single-product #primary,
body.single-product #primary.content-area,
body.single-product #main,
body.single-product #main.site-main,
body.single-product article.type-product,
body.single-product article.type-product > .entry-content,
body.single-product .ast-woocommerce-container,
body.single-product .woocommerce-notices-wrapper,
body.single-product .woocommerce {
    box-sizing: border-box !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

body.single-product #content > .ast-container,
body.single-product #primary,
body.single-product #main,
body.single-product .ast-woocommerce-container,
body.single-product article.type-product,
body.single-product article.type-product > .entry-content {
    float: none !important;
    clear: both !important;
    flex: 0 0 100% !important;
    grid-column: 1 / -1 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* Elementor single-product templates: widen only a container that actually
   owns the WooCommerce product widget, never every Elementor block. */
body.single-product .elementor-widget-woocommerce-product-content,
body.single-product .elementor-widget-woocommerce-product-content > .elementor-widget-container,
body.single-product .elementor-widget-shortcode:has(.woocommerce div.product),
body.single-product .elementor-widget-shortcode:has(.woocommerce div.product) > .elementor-widget-container,
body.single-product .e-con:has(> .elementor-widget-woocommerce-product-content),
body.single-product .elementor-column:has(.elementor-widget-woocommerce-product-content),
body.single-product .elementor-column:has(.woocommerce div.product) > .elementor-widget-wrap {
    box-sizing: border-box !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 100% !important;
}

body.single-product .woocommerce div.product,
body.single-product div.product.type-product {
    box-sizing: border-box !important;
    direction: rtl !important;
}

@media (max-width: 1100px) {
    body.single-product .woocommerce div.product,
    body.single-product div.product.type-product {
        grid-template-columns: 1fr !important;
        width: min(760px, calc(100% - 36px)) !important;
    }
}

@media (max-width: 767px) {
    body.single-product #content,
    body.single-product #content > .ast-container,
    body.single-product #primary,
    body.single-product #main,
    body.single-product .ast-woocommerce-container,
    body.single-product .woocommerce {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body.single-product .woocommerce div.product,
    body.single-product div.product.type-product {
        display: flex !important;
        flex-direction: column !important;
        width: calc(100% - 24px) !important;
        max-width: 720px !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }
}

/* 6.4.0 — responsive, tactile interaction layer */
body.single-product :is(button, .button, .nra-single-wish, .nra-loop-wish) {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transform: translateZ(0) scale(1);
    transition:
        transform 240ms cubic-bezier(.2,.8,.2,1),
        box-shadow 240ms cubic-bezier(.2,.8,.2,1),
        background-color 200ms ease,
        border-color 200ms ease,
        color 200ms ease,
        opacity 180ms ease !important;
}

body.single-product :is(button, .button, .nra-single-wish, .nra-loop-wish)::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: var(--tap-y, 50%);
    left: var(--tap-x, 50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.34);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%,-50%) scale(0);
}

body.single-product :is(button, .button, .nra-single-wish, .nra-loop-wish).is-tapped::after {
    animation: norelaTapBloom 520ms cubic-bezier(.2,.8,.2,1);
}

@keyframes norelaTapBloom {
    0% { opacity: .65; transform: translate(-50%,-50%) scale(0); }
    100% { opacity: 0; transform: translate(-50%,-50%) scale(18); }
}

@media (hover:hover) {
    body.single-product :is(button, .button, .nra-single-wish, .nra-loop-wish):hover {
        transform: translateY(-2px) scale(1.01);
    }
}

body.single-product :is(button, .button, .nra-single-wish, .nra-loop-wish):active {
    transform: translateY(1px) scale(.975) !important;
    transition-duration: 80ms !important;
}

body.single-product :is(button, .button, .nra-single-wish, .nra-loop-wish):focus-visible {
    outline: 3px solid rgba(111,24,52,.18) !important;
    outline-offset: 3px;
}

body.single-product .nra-single-wish {
    min-height: 44px;
    padding: 10px 15px;
    justify-content: center;
    border: 1px solid rgba(111,24,52,.16);
    border-radius: 14px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 7px 20px rgba(74,20,40,.055);
}

body.single-product .nra-single-wish.is-saved,
body.single-product .nra-loop-wish.is-saved {
    color: #fff !important;
    border-color: var(--norela-wine) !important;
    background: var(--norela-wine) !important;
    box-shadow: 0 10px 24px rgba(111,24,52,.2);
}

body.single-product :is(.nra-single-wish,.nra-loop-wish).is-loading {
    cursor: wait;
    opacity: .72;
}

body.single-product div.product > .woocommerce-tabs {
    margin-top: clamp(42px,5vw,64px) !important;
}

body.single-product div.product .woocommerce-tabs ul.tabs li a {
    transition: color 220ms ease, transform 220ms cubic-bezier(.2,.8,.2,1) !important;
}

body.single-product div.product .woocommerce-tabs ul.tabs li a:active {
    transform: scale(.96);
}

.norela-ux-toast {
    position: fixed;
    z-index: 100000;
    right: 50%;
    bottom: max(26px, env(safe-area-inset-bottom));
    max-width: calc(100% - 32px);
    padding: 12px 18px;
    color: #fff;
    background: rgba(45,28,34,.91);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 15px;
    box-shadow: 0 16px 44px rgba(31,9,16,.22);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    font-size: 12px;
    font-weight: 700;
    direction: rtl;
    opacity: 0;
    pointer-events: none;
    transform: translate(50%,18px) scale(.96);
    transition: opacity 220ms ease, transform 320ms cubic-bezier(.2,.9,.2,1.15);
}

.norela-ux-toast.is-visible {
    opacity: 1;
    transform: translate(50%,0) scale(1);
}

.norela-ux-toast[data-tone="error"] { background: rgba(111,24,52,.94); }

@media (prefers-reduced-motion: reduce) {
    body.single-product :is(button,.button,.nra-single-wish,.nra-loop-wish),
    .norela-ux-toast { transition-duration: .01ms !important; animation: none !important; }
}

body.single-product .woocommerce div.product > .woocommerce-tabs,
body.single-product .woocommerce div.product > .related,
body.single-product .woocommerce div.product > .upsells,
body.single-product .woocommerce div.product > section.products {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
}

@media (max-width: 1100px) {
    body.single-product .woocommerce div.product,
    body.single-product div.product.type-product {
        grid-template-columns: 1fr !important;
        width: min(760px, calc(100% - 32px)) !important;
    }
    body.single-product .woocommerce div.product > .woocommerce-product-gallery,
    body.single-product .woocommerce div.product > .summary,
    body.single-product .woocommerce div.product > .entry-summary,
    body.single-product .woocommerce div.product > .woocommerce-tabs,
    body.single-product .woocommerce div.product > .upsells,
    body.single-product .woocommerce div.product > .related {
        grid-column: 1 !important;
    }
}

@media (max-width: 767px) {
    body.single-product .woocommerce div.product,
    body.single-product div.product.type-product {
        display: flex !important;
        width: calc(100% - 24px) !important;
        padding-bottom: 42px !important;
    }
}

/* ========================================================================== */
/* Norela Account 6.5.0 — single product ownership / Homepage isolation fixes */
/* ========================================================================== */

/* Product meta: keep useful information compact and remove the SEO tag cloud. */
body.single-product div.product .product_meta {
    align-items: center !important;
    gap: 8px !important;
    margin-top: 20px !important;
    padding-top: 16px !important;
}
body.single-product div.product .product_meta .tagged_as { display: none !important; }
body.single-product div.product .product_meta > span {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

/* Wishlist is part of the purchase area, not a third oversized column. */
body.single-product .nra-single-wish {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    padding: 10px 16px !important;
    color: var(--norela-wine) !important;
    background: #fff !important;
    border: 1px solid rgba(111,24,52,.16) !important;
    border-radius: 13px !important;
    box-shadow: none !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
    text-align: center !important;
}
body.single-product .nra-single-wish:hover,
body.single-product .nra-single-wish.is-saved {
    background: #fff7f9 !important;
    border-color: rgba(111,24,52,.30) !important;
}
body.single-product .nra-single-wish.is-login-required { font-weight: 650 !important; }

/* Product loop cards intentionally not styled here; norela-homepage is the shared owner. */

/* Tabs: less dead space on phones and a stable horizontal tab bar. */
@media (max-width: 767px) {
    body.single-product div.product > .woocommerce-tabs {
        margin-top: 34px !important;
    }
    body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs {
        justify-content: flex-start !important;
        gap: 20px !important;
        margin-bottom: 14px !important;
        padding: 0 6px !important;
    }
    body.single-product .woocommerce div.product .woocommerce-tabs .panel {
        padding: 24px 16px !important;
        border-radius: 18px !important;
    }

    /* Purchase row: quantity + cart button, wishlist below; no cramped 3-column row. */
    body.single-product .woocommerce-variation-add-to-cart,
    body.single-product div.product form.cart:not(.variations_form) {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        align-items: stretch !important;
    }
    body.single-product div.product form.cart .quantity { flex: 0 0 72px !important; }
    body.single-product div.product form.cart .qty {
        width: 72px !important;
        height: 52px !important;
    }
    body.single-product div.product form.cart .single_add_to_cart_button {
        min-height: 52px !important;
        flex: 1 1 calc(100% - 82px) !important;
        padding-inline: 14px !important;
        font-size: 13px !important;
    }
    body.single-product div.product form.cart .nra-single-wish {
        flex: 1 0 100% !important;
        width: 100% !important;
        min-height: 46px !important;
        margin-top: 1px !important;
    }

    body.single-product div.product .product_meta {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    body.single-product div.product .product_meta > span {
        display: block !important;
        width: 100% !important;
        padding: 7px 10px !important;
        text-align: center !important;
    }
    body.single-product div.product .product_meta > span:only-child { grid-column: 1 / -1 !important; }
}

/* v6.7 — explicit +/- quantity controller and clear add-to-bag success state. */
body.single-product form.cart .quantity.nra-single-qty{
  display:grid!important;
  grid-template-columns:46px minmax(48px,1fr) 46px!important;
  width:150px!important;
  min-width:150px!important;
  height:56px!important;
  overflow:hidden!important;
  border:1px solid rgba(111,24,52,.18)!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:inset 0 1px 2px rgba(53,25,35,.03)!important;
}
body.single-product form.cart .quantity.nra-single-qty .nra-qty-btn{
  display:grid!important;
  width:46px!important;
  min-width:46px!important;
  height:54px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  place-items:center!important;
  background:#fff!important;
  color:#271719!important;
  box-shadow:none!important;
  font-size:25px!important;
  font-weight:500!important;
  line-height:1!important;
  cursor:pointer!important;
}
body.single-product form.cart .quantity.nra-single-qty .nra-qty-btn:first-child{border-left:1px solid #eee3df!important}
body.single-product form.cart .quantity.nra-single-qty .nra-qty-btn:last-child{border-right:1px solid #eee3df!important}
body.single-product form.cart .quantity.nra-single-qty input.qty{
  appearance:textfield!important;
  -moz-appearance:textfield!important;
  width:100%!important;
  min-width:0!important;
  height:54px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:#fff!important;
  color:#271719!important;
  font-size:17px!important;
  font-weight:700!important;
  text-align:center!important;
}
body.single-product form.cart .quantity.nra-single-qty input.qty::-webkit-inner-spin-button,
body.single-product form.cart .quantity.nra-single-qty input.qty::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important}
body.single-product form.cart .single_add_to_cart_button.nra-is-adding{opacity:.72!important;pointer-events:none!important}
body.single-product form.cart .single_add_to_cart_button.nra-is-added{
  background:linear-gradient(135deg,#7b2743,#681c2b)!important;
  box-shadow:0 10px 25px rgba(104,28,43,.19)!important;
}
@media(max-width:767px){
  body.single-product div.product form.cart:not(.variations_form),
  body.single-product .woocommerce-variation-add-to-cart{
    display:grid!important;
    grid-template-columns:124px minmax(0,1fr)!important;
    gap:10px!important;
    align-items:stretch!important;
  }
  body.single-product form.cart .quantity.nra-single-qty{
    grid-template-columns:38px minmax(42px,1fr) 38px!important;
    width:124px!important;
    min-width:124px!important;
    height:54px!important;
  }
  body.single-product form.cart .quantity.nra-single-qty .nra-qty-btn{width:38px!important;min-width:38px!important;height:52px!important;font-size:23px!important}
  body.single-product form.cart .quantity.nra-single-qty input.qty{height:52px!important;font-size:16px!important}
  body.single-product form.cart .single_add_to_cart_button{min-width:0!important;width:100%!important;min-height:54px!important;padding:10px 9px!important;font-size:13px!important;line-height:1.7!important}
}

/* v6.8.0: product-loop cards (shop/category/related/upsell) are intentionally owned by Norela Homepage v5.1+. */
