/* =============================================================================
   Intelligent Wellbeing â€” Premium Single Product
   Top section + recommendation areas only.
   ========================================================================== */

body.single-product {
    --iwb-black: #221e1d;
    --iwb-black-soft: #2e2926;
    --iwb-black-deep: #171311;
    --iwb-orange: #e3905d;
    --iwb-dark-orange: #b45309;
    --iwb-light-orange: #f9a673;
    --iwb-gold: #d6b164;
    --iwb-cream: #f9f5ef;
    --iwb-cream-dark: #ede8df;
    --iwb-white: #ffffff;
    --iwb-text-muted: #6b6460;
    --iwb-border: #e8ddd4;
    --iwb-border-soft: #f0e8dc;
    --iwb-font-heading: 'Recoleta', Georgia, serif;
    --iwb-font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --iwb-img-gradient: linear-gradient(180deg, #fefdfb 0%, #f9f5ef 100%);
}

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

body.single-product .iwb-single-product-shell {
    color: var(--iwb-black);
    font-family: var(--iwb-font-body);
}

body.single-product .iwb-single-product-shell,
body.single-product .iwb-single-product-shell *,
body.single-product .iwb-single-product-shell *::before,
body.single-product .iwb-single-product-shell *::after {
    box-sizing: border-box;
}

body.single-product .iwb-single-top {
    padding: 24px 24px 10px;
}

body.single-product .iwb-single-top-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(380px, 0.84fr);
    gap: 38px;
    align-items: start;
}

body.single-product .iwb-single-media-surface,
body.single-product .iwb-single-summary-surface {
    position: relative;
    border: 1px solid var(--iwb-border-soft);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(227, 144, 93, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, #fcfaf7 100%);
    box-shadow: 0 18px 54px rgba(34, 30, 29, 0.07);
    overflow: hidden;
}

body.single-product .iwb-single-media-surface {
    padding: 20px 26px 24px;
}

body.single-product .iwb-single-summary {
    margin: 0 !important;
    float: none !important;
    width: auto !important;
}

body.single-product .iwb-single-summary-surface {
    padding: 28px 28px 30px;
    position: sticky;
    top: 110px;
}

body.single-product .iwb-single-summary-surface > *:first-child {
    margin-top: 0;
}

body.single-product .iwb-single-summary-surface > *:last-child {
    margin-bottom: 0;
}

body.single-product .onsale {
    top: 26px !important;
    left: 26px !important;
    right: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    background: var(--iwb-black) !important;
    color: var(--iwb-cream) !important;
    font-size: 10px !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800 !important;
    box-shadow: 0 12px 30px rgba(34, 30, 29, 0.14);
}

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

body.single-product .iwb-single-media-surface .images,
body.single-product .iwb-single-media-surface div.images,
body.single-product .iwb-single-media-surface .woocommerce-product-gallery {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

body.single-product .woocommerce-product-gallery__trigger {
    top: 18px !important;
    right: 18px !important;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 26px rgba(34, 30, 29, 0.1);
}

body.single-product .flex-viewport,
body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery__image a,
body.single-product .woocommerce-product-gallery__image img {
    border-radius: 22px;
}

body.single-product .flex-viewport {
    background: var(--iwb-img-gradient);
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    width: 100% !important;
}

body.single-product .woocommerce-product-gallery__wrapper {
    height: auto !important;
}

body.single-product .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery__image a {
    height: auto !important;
    display: block !important;
}

body.single-product .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

body.single-product ol.flex-control-thumbs {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    justify-content: flex-start;
    margin-top: 14px !important;
}

body.single-product ol.flex-control-thumbs li {
    float: none !important;
    width: 72px !important;
    flex: 0 0 72px;
    margin: 0 !important;
}

body.single-product ol.flex-control-thumbs img {
    width: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--iwb-border-soft);
    background: var(--iwb-img-gradient);
    transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

body.single-product ol.flex-control-thumbs img.flex-active,
body.single-product ol.flex-control-thumbs img:hover {
    border-color: var(--iwb-dark-orange);
    transform: translateY(-1px);
    opacity: 1;
}

body.single-product .product_title {
    font-family: var(--iwb-font-heading);
    font-size: clamp(34px, 4.1vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin: 0 0 14px;
}

body.single-product .iwb-product-rating,
body.single-product .woocommerce-product-rating {
    display: block !important;
    width: 100%;
    text-align: left !important;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    margin: 0 0 14px;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
}

body.single-product .summary.entry-summary .iwb-product-rating,
body.single-product .summary.entry-summary .woocommerce-product-rating {
    margin-left: -2px !important;
}

body.single-product .woocommerce-product-rating .star-rating {
    float: none !important;
    display: inline-block !important;
    vertical-align: middle;
    margin: 0 8px 0 0 !important;
    color: var(--iwb-border);
    font-size: 13px;
}

body.single-product .woocommerce-product-rating .star-rating::before {
    color: rgba(180, 83, 9, 0.18);
}

body.single-product .woocommerce-product-rating .star-rating span::before {
    color: var(--iwb-dark-orange);
}

body.single-product .woocommerce-review-link {
    display: inline-block !important;
    vertical-align: middle;
    color: var(--iwb-text-muted) !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    margin: 0 !important;
}

body.single-product .summary.entry-summary .woocommerce-product-rating .star-rating,
body.single-product .summary.entry-summary .iwb-product-rating .star-rating,
body.single-product .summary.entry-summary .woocommerce-review-link {
    margin-left: 0 !important;
}

body.single-product p.price:empty {
    display: none !important;
}

body.single-product .iw-old-price {
    display: block;
    margin: 0 0 4px;
    color: var(--iwb-text-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.single-product .iw-old-price del,
body.single-product > .woocommerce-Price-amount.amount del {
    opacity: 0.62;
}

body.single-product .summary.entry-summary > .iw-old-price + .woocommerce-Price-amount.amount,
body.single-product .summary.entry-summary > .woocommerce-Price-amount.amount {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    color: var(--iwb-black);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    line-height: 1;
}

body.single-product .summary.entry-summary > .woocommerce-Price-amount.amount + span[aria-hidden="true"] {
    color: var(--iwb-text-muted);
    font-size: 22px;
    font-weight: 500;
    margin: 0 6px;
}

body.single-product .bos4w-or-subscribe {
    display: inline-flex;
    align-items: baseline;
    margin-top: 0;
    margin-left: 10px;
    font-size: 11px !important;
    color: var(--iwb-dark-orange);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1;
    vertical-align: baseline;
    position: relative;
    top: -1px;
}

body.single-product .bos4w-or-subscribe::before {
    content: none !important;
}

body.single-product .bos4w-or-subscribe::after {
    content: none !important;
}

body.single-product .woocommerce-product-details__short-description {
    margin: 20px 0 0;
    padding: 18px 20px;
    border: 1px solid var(--iwb-border-soft);
    border-radius: 20px;
    background: linear-gradient(180deg, #fffdf9 0%, #f7f1e9 100%);
    color: var(--iwb-text-muted);
    font-size: 15px;
    line-height: 1.75;
}

body.single-product .variations_form {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--iwb-border-soft);
}

body.single-product table.variations {
    margin: 0 0 12px !important;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

body.single-product table.variations tbody,
body.single-product table.variations tr,
body.single-product table.variations th,
body.single-product table.variations td {
    display: block;
    width: 100%;
    padding: 0;
}

body.single-product table.variations tr + tr {
    margin-top: 16px;
}

body.single-product table.variations .label {
    margin-bottom: 8px;
    text-align: left !important;
}

body.single-product table.variations .label label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--iwb-text-muted);
    text-align: left !important;
}

body.single-product .wcboost-variation-swatches__wrapper {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    overflow: visible !important;
}

body.single-product .wcboost-variation-swatches__item {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0;
    width: 72px;
    min-width: 72px;
    height: 72px;
    margin: 0 !important;
    padding: 4px;
    border: 1px solid var(--iwb-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
    overflow: visible !important;
}

body.single-product .wcboost-variation-swatches__item:hover {
    border-color: rgba(180, 83, 9, 0.36);
    transform: translateY(-1px);
}

body.single-product .wcboost-variation-swatches__item.selected {
    border-color: var(--iwb-black);
    background: linear-gradient(180deg, rgba(34, 30, 29, 0.03) 0%, rgba(34, 30, 29, 0.07) 100%);
    box-shadow: inset 3px 0 0 var(--iwb-orange);
}

body.single-product .wcboost-variation-swatches__item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    border-radius: 14px;
}

body.single-product .wcboost-variation-swatches__name {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    display: block !important;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(34, 30, 29, 0.92);
    color: var(--iwb-cream);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(34, 30, 29, 0.16);
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 6;
}

body.single-product .wcboost-variation-swatches__item.selected .wcboost-variation-swatches__name,
body.single-product .wcboost-variation-swatches__item:hover .wcboost-variation-swatches__name,
body.single-product .wcboost-variation-swatches__item:focus-within .wcboost-variation-swatches__name {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

body.single-product .reset_variations {
    display: inline-flex !important;
    align-items: center;
    margin-top: 10px !important;
    padding: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--iwb-dark-orange) !important;
}

body.single-product #iw-low-stock-notice-wrapper {
    margin: 12px 0 !important;
}

body.single-product .iw-low-stock-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(211, 84, 79, 0.08);
    color: #c2413c !important;
    font-size: 12px;
    font-weight: 700 !important;
}

body.single-product .single_variation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 14px;
    margin: 0 0 14px;
    padding: 14px 16px;
    border: 1px solid var(--iwb-border-soft);
    border-radius: 20px;
    background: linear-gradient(180deg, #fffdf9 0%, #f8f2ea 100%);
}

body.single-product .woocommerce-variation-price .price {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    color: var(--iwb-black);
}

body.single-product .woocommerce-variation-price del {
    font-size: 16px;
    color: var(--iwb-text-muted);
    opacity: 0.62;
}

body.single-product .woocommerce-variation-price ins {
    background: transparent;
    text-decoration: none;
}

body.single-product .woocommerce-variation-availability {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

body.single-product .woocommerce-variation-availability .stock {
    margin: 0;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(76, 175, 80, 0.12);
    color: #2f7a32;
    font-size: 12px;
    font-weight: 700;
}

body.single-product .woocommerce-variation-availability .stock.out-of-stock {
    background: rgba(194, 65, 60, 0.12);
    color: #c2413c;
}

body.single-product .cwginstock-subscribe-form {
    width: min(100%, 420px);
    margin: 0;
}

body.single-product .cwginstock-panel-primary {
    border: 1px solid rgba(227, 144, 93, 0.18) !important;
    border-radius: 20px;
    background: linear-gradient(180deg, #fffdfa 0%, #f7f1e9 100%);
    box-shadow: 0 14px 28px rgba(34, 30, 29, 0.05);
    overflow: hidden;
}

body.single-product .cwginstock-panel-heading {
    padding: 16px 18px 8px;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    color: var(--iwb-black) !important;
}

body.single-product .cwginstock-panel-heading h4 {
    margin: 0 !important;
    font-family: var(--iwb-font-heading);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--iwb-black) !important;
    text-align: left !important;
    background: transparent !important;
}

body.single-product .cwginstock-panel-body {
    padding: 8px 18px 18px;
    background: transparent !important;
}

body.single-product .cwginstock-panel-body .row,
body.single-product .cwginstock-panel-body .col-md-12,
body.single-product .cwginstock-panel-body .form-group {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    max-width: 100%;
}

body.single-product .cwginstock-panel-body .form-group + .form-group,
body.single-product .cwgstock_output {
    margin-top: 12px !important;
}

body.single-product .cwginstock-subscribe-form input[type="text"],
body.single-product .cwginstock-subscribe-form input[type="email"] {
    width: 100% !important;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--iwb-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--iwb-black);
    font-size: 14px;
    font-weight: 600;
    text-align: left !important;
    box-shadow: none;
    margin-top: 10px;
}

body.single-product .cwginstock-subscribe-form input[type="text"]:first-child,
body.single-product .cwginstock-subscribe-form input[type="email"]:first-child {
    margin-top: 0;
}

body.single-product .cwginstock-subscribe-form input::placeholder {
    color: var(--iwb-text-muted);
    opacity: 1;
}

body.single-product .cwginstock-subscribe-form input[type="submit"].cwgstock_button {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 14px;
    background: var(--iwb-black);
    color: var(--iwb-cream);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: 0 14px 30px rgba(34, 30, 29, 0.14);
}

body.single-product .cwginstock-subscribe-form input[type="submit"].cwgstock_button:hover {
    background: var(--iwb-black-soft);
}

body.single-product .cwgstock_output {
    font-size: 12px;
    color: var(--iwb-text-muted);
}

body.single-product .woocommerce-variation-add-to-cart.variations_button {
    display: grid !important;
    gap: 14px;
    width: 100%;
}

body.single-product form.cart:not(.variations_form):not(.grouped_form) {
    display: grid;
    gap: 14px;
    width: 100%;
}

body.single-product .woocommerce-variation-add-to-cart .bos4w-display-wrap {
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--iwb-border-soft);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, #fbf6ef 100%);
    box-shadow: 0 10px 28px rgba(34, 30, 29, 0.04);
}

body.single-product .bos4w-display-plan-text {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--iwb-dark-orange);
}

body.single-product .bos4w-display-options ul {
    gap: 10px;
}

body.single-product .bos4w-display-options label {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--iwb-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 700;
    color: var(--iwb-black);
}

body.single-product .bos4w-display-options label:has(input:checked) {
    border-color: var(--iwb-black);
    box-shadow: inset 3px 0 0 var(--iwb-orange), 0 14px 28px rgba(34, 30, 29, 0.08);
}

body.single-product .bos4w-display-options input[type="radio"] {
    accent-color: var(--iwb-black);
}

body.single-product .bos-display-save-up-to {
    background: rgba(180, 83, 9, 0.08);
    color: var(--iwb-dark-orange);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.single-product .bos4w-display-dropdown {
    gap: 8px;
}

body.single-product .bos4w-display-dropdown > label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--iwb-text-muted);
}

body.single-product .bos4w-display-dropdown select {
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--iwb-border);
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--iwb-black);
    background: rgba(255, 255, 255, 0.9);
}

body.single-product .woocommerce-variation-add-to-cart .quantity.buttons-added,
body.single-product form.cart:not(.variations_form):not(.grouped_form) .quantity.buttons-added {
    width: 100%;
    max-width: 184px;
    display: grid !important;
    grid-template-columns: 56px minmax(0, 72px) 56px;
    align-items: stretch !important;
    height: 50px;
    border: 1px solid var(--iwb-border) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #fffdf9 0%, #f7f1e9 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

body.single-product .quantity.buttons-added .minus,
body.single-product .quantity.buttons-added .plus,
body.single-product .quantity.buttons-added input.qty {
    min-height: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.single-product .quantity.buttons-added .minus,
body.single-product .quantity.buttons-added .plus {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(180deg, #fffdf9 0%, #f5eee5 100%);
    color: var(--iwb-black);
    font-size: 18px;
    font-weight: 800;
    line-height: 1 !important;
}

body.single-product .quantity.buttons-added .minus {
    border-right: 1px solid var(--iwb-border) !important;
}

body.single-product .quantity.buttons-added .plus {
    border-left: 1px solid var(--iwb-border) !important;
}

body.single-product .quantity.buttons-added input.qty {
    display: block !important;
    background: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    font-weight: 800;
    color: var(--iwb-black);
    line-height: 50px !important;
    text-align: center !important;
    appearance: textfield;
    -moz-appearance: textfield;
}

body.single-product .single_add_to_cart_button {
    min-height: 48px;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--iwb-black) !important;
    color: var(--iwb-cream) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: 0 14px 30px rgba(34, 30, 29, 0.14);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

body.single-product .single_add_to_cart_button:hover {
    background: var(--iwb-black-soft) !important;
    transform: translateY(-1px);
}

body.single-product .iwb-delivery-estimate {
    margin-top: 2px;
    padding: 16px 18px;
    border: 1px solid rgba(180, 83, 9, 0.14);
    border-radius: 18px;
    background: rgba(180, 83, 9, 0.06);
    color: var(--iwb-black);
}

body.single-product .iwb-de-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--iwb-dark-orange);
    margin-bottom: 6px;
}

body.single-product .iwb-de-line {
    font-size: 15px;
    font-weight: 700;
}

body.single-product .iwb-de-ship small {
    color: var(--iwb-text-muted);
    font-size: 12px;
}

body.single-product .iw-benefits-wrap {
    margin-top: 20px;
}

body.single-product .iw-benefits-wrap .iw-product-profile {
    border: 1px solid var(--iwb-border-soft) !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, #fffdfa 0%, #f7f1e9 100%) !important;
    box-shadow: 0 16px 34px rgba(34, 30, 29, 0.05);
}

body.single-product .iwb-single-suggestions {
    max-width: 1320px;
    margin: 72px auto 0;
    padding: 0 24px;
}

body.single-product .iwb-single-suggestions + .iwb-single-suggestions {
    margin-top: 32px;
}

body.single-product .iwb-single-suggestions .iwb-shop-slider {
    margin: 0 -8px;
}

body.single-product .iwb-single-suggestions .iwb-shop-slider-track {
    padding: 4px 8px;
}

body.single-product .iwb-single-suggestions .iwb-shop-category-sub {
    max-width: 560px;
}

@media (min-width: 680px) {
    body.single-product .woocommerce-variation-add-to-cart.variations_button,
    body.single-product form.cart:not(.variations_form):not(.grouped_form) {
        grid-template-columns: 184px minmax(0, 1fr);
        grid-template-areas:
            "subscribe subscribe"
            "qty button"
            "delivery delivery";
    }

    body.single-product .woocommerce-variation-add-to-cart .bos4w-display-wrap,
    body.single-product form.cart:not(.variations_form):not(.grouped_form) > .bos4w-display-wrap {
        grid-area: subscribe;
    }

    body.single-product .woocommerce-variation-add-to-cart .quantity.buttons-added,
    body.single-product form.cart:not(.variations_form):not(.grouped_form) > .quantity.buttons-added {
        grid-area: qty;
    }

    body.single-product .woocommerce-variation-add-to-cart > .single_add_to_cart_button,
    body.single-product form.cart:not(.variations_form):not(.grouped_form) > .single_add_to_cart_button {
        grid-area: button;
    }

    body.single-product .woocommerce-variation-add-to-cart > .iwb-delivery-estimate,
    body.single-product form.cart:not(.variations_form):not(.grouped_form) > .iwb-delivery-estimate {
        grid-area: delivery;
    }
}

@media (max-width: 1024px) {
    body.single-product .iwb-single-top-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    body.single-product .iwb-single-summary-surface {
        position: static;
    }
}

@media (max-width: 767px) {
    body.single-product .iwb-single-top,
    body.single-product .iwb-single-top-inner,
    body.single-product .iwb-single-media-column,
    body.single-product .iwb-single-summary,
    body.single-product .iwb-single-media-surface,
    body.single-product .iwb-single-summary-surface,
    body.single-product .woocommerce-product-gallery,
    body.single-product .iwb-single-media-surface .images,
    body.single-product .iwb-single-media-surface div.images,
    body.single-product .flex-viewport,
    body.single-product ol.flex-control-thumbs,
    body.single-product table.variations,
    body.single-product .wcboost-variation-swatches__wrapper {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.single-product .iwb-single-top {
        padding: 16px 0 6px;
        overflow-x: clip;
    }

    body.single-product .iwb-single-media-surface,
    body.single-product .iwb-single-summary-surface {
        border-radius: 0;
    }

    body.single-product .iwb-single-media-surface {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    body.single-product .iwb-single-summary-surface {
        padding: 8px 0 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    body.single-product .product_title {
        font-size: clamp(29px, 9vw, 40px);
        margin-bottom: 12px;
    }

    body.single-product .woocommerce-product-rating,
    body.single-product .iwb-product-rating {
        width: 100%;
        margin-bottom: 16px;
        margin-left: 0 !important;
        text-align: left !important;
    }

    body.single-product .woocommerce-product-details__short-description {
        font-size: 14px;
        padding: 0;
        margin-top: 14px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        line-height: 1.8;
    }

    body.single-product .wcboost-variation-swatches__wrapper {
        gap: 10px;
        overflow-x: hidden;
    }

    body.single-product ol.flex-control-thumbs {
        gap: 8px;
        overflow-x: hidden;
    }

    body.single-product ol.flex-control-thumbs li {
        width: 52px !important;
        flex-basis: 52px;
    }

    body.single-product .woocommerce-product-rating .star-rating,
    body.single-product .iwb-product-rating .star-rating,
    body.single-product .woocommerce-review-link {
        margin-left: 0 !important;
    }

    body.single-product .wcboost-variation-swatches__item {
        width: 68px;
        min-width: 68px;
        height: 68px;
        padding: 3px;
        border-radius: 16px;
    }

    body.single-product .wcboost-variation-swatches__item img {
        width: 100% !important;
        height: 100% !important;
    }

    body.single-product .iwb-single-suggestions {
        margin-top: 54px;
        padding: 0 16px;
    }
}

@media (max-width: 479px) {
    body.single-product .iwb-single-summary-surface {
        padding: 20px 16px;
    }

    body.single-product .summary.entry-summary > .iw-old-price + .woocommerce-Price-amount.amount,
    body.single-product .summary.entry-summary > .woocommerce-Price-amount.amount {
        font-size: 32px;
        flex-wrap: wrap;
    }

    body.single-product .iwb-single-suggestions .iwb-shop-slider-track > .iwb-card {
        flex: 0 0 82%;
    }
}