
    /* Breadcrumbs */
    .single-product .wp-block-woocommerce-breadcrumbs {
        font-size: 12px;
        color: #94a3b8;
        margin: 20px 0 16px 0 !important;
    }
    .single-product .wp-block-woocommerce-breadcrumbs a {
        color: #64748b;
        text-decoration: none;
    }
    .single-product .wp-block-woocommerce-breadcrumbs a:hover { color: #f2790a; }

    /* Overall spacing */
    .single-product .wp-block-columns.alignwide {
        margin-top: 8px !important;
        margin-bottom: 40px !important;
        align-items: flex-start;
    }

    /* Summary column: row-wrap so badges can share a line; content blocks force new rows */
    .single-product .wp-block-columns.alignwide > .wp-block-column:last-child {
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        gap: 8px 10px;
    }
    .single-product .wp-block-columns.alignwide > .wp-block-column:last-child > * {
        flex: 0 0 auto;
    }
    .single-product .wp-block-columns.alignwide > .wp-block-column:last-child > .wp-block-post-title,
    .single-product .wp-block-columns.alignwide > .wp-block-column:last-child > .wp-block-post-excerpt,
    .single-product .wp-block-columns.alignwide > .wp-block-column:last-child > .wp-block-woocommerce-add-to-cart-form {
        flex-basis: 100%;
        width: 100%;
    }
    /* Brand and stock badge are nested inside the (display:contents) meta/shortcode wrappers,
       so a direct-child combinator can't reach them - use descendant selectors instead */
    .single-product .wp-block-column:last-child .taxonomy-product_brand {
        flex-basis: 100%;
        width: 100%;
    }
    .single-product .wp-block-column:last-child > p:has(.aabex-stock-badge) {
        order: -2;
        flex: 0 0 auto;
        margin: 0 !important;
    }

    /* Unwrap meta block so category badge sits independently as a flex item */
    .single-product .wp-block-woocommerce-product-meta,
    .single-product .wp-block-woocommerce-product-meta > .wp-block-group {
        display: contents;
    }

    /* Category badge */
    .single-product .taxonomy-product_cat {
        order: -3;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        width: fit-content;
        background: #fef2e6;
        border: 1px solid rgba(242,121,10,0.25);
        padding: 6px 16px 6px 12px;
        border-radius: 999px;
        margin: 0 !important;
    }
    .single-product .taxonomy-product_cat::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #f2790a;
        flex-shrink: 0;
    }
    .single-product .taxonomy-product_cat .wp-block-post-terms__prefix { display: none; }
    .single-product .taxonomy-product_cat a {
        color: #f2790a !important;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        text-decoration: none;
    }

    /* Stock badge (shortcode output) */
    .aabex-stock-badge {
        order: -2;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        padding: 6px 14px;
        border-radius: 999px;
    }
    .aabex-stock-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
    .aabex-stock-badge.in-stock { background: #ecfdf5; border: 1px solid rgba(5,150,105,0.25); color: #059669; }
    .aabex-stock-badge.in-stock .aabex-stock-dot { background: #059669; }
    .aabex-stock-badge.out-of-stock { background: #fef2f2; border: 1px solid rgba(220,38,38,0.25); color: #dc2626; }
    .aabex-stock-badge.out-of-stock .aabex-stock-dot { background: #dc2626; }
    .aabex-stock-badge.backorder { background: #fffbeb; border: 1px solid rgba(217,119,6,0.25); color: #d97706; }
    .aabex-stock-badge.backorder .aabex-stock-dot { background: #d97706; }

    /* Title */
    .single-product .wp-block-post-title {
        order: -1;
        margin: 4px 0 0 0 !important;
        font-weight: 800 !important;
        letter-spacing: -0.01em;
        line-height: 1.15 !important;
        color: #08192f;
    }

    /* Brand shown as a quiet subtitle under the title */
    .single-product .taxonomy-product_brand {
        order: 0;
        margin: 0 !important;
        font-size: 13px;
        font-weight: 600;
        color: #64748b;
    }
    .single-product .taxonomy-product_brand .wp-block-post-terms__prefix { color: #94a3b8; font-weight: 500; margin-right: 4px; }
    .single-product .taxonomy-product_brand a { color: #f2790a !important; text-decoration: none; }

    /* Description */
    .single-product .wp-block-post-excerpt { order: 1; margin: 4px 0 0 0 !important; }
    .single-product .wp-block-post-excerpt__excerpt { font-size: 15px; line-height: 1.7; color: #475569; margin: 0 !important; }

    /* Add-to-cart / variations area */
    .single-product .wp-block-woocommerce-add-to-cart-form {
        order: 2;
        margin: 10px 0 0 0 !important;
        padding-top: 20px;
        border-top: 1px solid #e2e8f0;
    }
    .single-product form.variations_form th.label label {
        font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b;
    }
    .single-product .single_add_to_cart_button {
        background: #f2790a !important;
        border-radius: 8px !important;
        font-weight: 700 !important;
        letter-spacing: 0.02em;
        transition: background 0.2s ease;
    }
    .single-product .single_add_to_cart_button:hover { background: #d96600 !important; }

    /* Product image column */
    .single-product .wp-block-woocommerce-product-image-gallery {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 24px;
    }

    /* Specifications table (Product Details block / attributes) */
    .single-product .wp-block-woocommerce-product-details { margin-top: 48px !important; }
    .single-product .woocommerce-product-attributes tr,
    .single-product .wc-block-product-details__row {
        border-bottom: 1px solid #e2e8f0;
    }
    .single-product .woocommerce-product-attributes th,
    .single-product .woocommerce-product-attributes td,
    .single-product .wc-block-product-details__row th,
    .single-product .wc-block-product-details__row td {
        padding: 12px 16px;
        font-size: 14px;
    }
    .single-product .woocommerce-product-attributes th,
    .single-product .wc-block-product-details__row th {
        color: #64748b;
        font-weight: 700;
        width: 220px;
        background: #f8fafc;
        text-align: left;
    }
    .single-product .woocommerce-product-attributes td,
    .single-product .wc-block-product-details__row td { color: #0f172a; }
    .single-product .woocommerce-product-attributes {
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        overflow: hidden;
        border-collapse: separate !important;
        width: 100%;
    }

    /* Related products */
    .related-products ul li {
        box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
        border: 1px solid #e2e8f0;
        border-radius: 10px !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .related-products ul li:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(8,25,47,0.12) !important;
    }
    .related-products a.wp-block-read-more {
        background: #f2790a !important;
        border-color: #f2790a !important;
        color: #fff !important;
        transition: background 0.2s ease;
    }
    .related-products a.wp-block-read-more:hover {
        background: #d96600 !important;
        border-color: #d96600 !important;
    }

    /* Features strip: recolor to brand navy/orange */
    .single-product .strip { --ink: #08192f; --ink-dark: #08192f; --bg: #fef2e6; --divider: #e2e8f0; }
    .single-product .strip .icon { stroke: #f2790a; }

    /* Quote CTA: sits after the size/colour selector + Add to Cart button (natural order) */
    .single-product .wp-block-column:last-child .wp-block-woocommerce-add-to-cart-form {
        display: flex;
        flex-direction: column;
    }
    .single-product .wp-block-column:last-child .custom-request-quote-box {
        margin-top: 20px;
    }

    /* Size / attribute swatches: always-visible pill buttons, matching reference (supertechint.com.kw) */
    .single-product table.variations td.value.wc-swatch-dropdown .wc-swatch-dropdown-header {
        display: none !important;
    }
    .single-product table.variations td.value.wc-swatch-dropdown {
        overflow: visible;
    }
    .single-product table.variations td.value.wc-swatch-dropdown .wc-swatch-dropdown-list {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        flex-wrap: wrap;
        gap: 10px;
        padding: 0 !important;
        margin: 6px 0 0 !important;
        list-style: none;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
        z-index: auto !important;
    }
    .single-product table.variations .variable-item.button-variable-item {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 4px;
        border: 1.5px solid #e3e5e8 !important;
        border-radius: 8px !important;
        background: #fff !important;
        padding: 8px 14px !important;
        margin: 0 !important;
        font-size: 12px;
        font-weight: 700;
        color: #1e293b;
        cursor: pointer;
        transition: border-color .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
        min-width: 42px;
        width: auto !important;
        max-width: 100%;
        flex: 0 1 auto !important;
        white-space: nowrap;
        text-align: center;
        line-height: 1.2;
    }
    .single-product table.variations .variable-item.button-variable-item:hover {
        background: #f8fafc !important;
    }
    .single-product table.variations .variable-item.button-variable-item.selected,
    .single-product table.variations .variable-item.button-variable-item[aria-checked="true"] {
        border-color: #F96300 !important;
        background: rgba(249,99,0,0.1) !important;
        color: #F96300 !important;
        box-shadow: 0 1px 2px rgba(0,0,0,0.06);
        transform: scale(1.02);
    }
    .single-product table.variations .variable-item.button-variable-item.selected::before,
    .single-product table.variations .variable-item.button-variable-item[aria-checked="true"]::before {
        content: "\2713" !important;
        display: inline-block !important;
        margin-right: 5px !important;
        font-weight: 700;
        color: #F96300;
    }
    .single-product table.variations .variable-item.button-variable-item.disabled,
    .single-product table.variations .variable-item.button-variable-item.wc-variation-is-unavailable {
        opacity: .4;
        cursor: not-allowed;
    }

    /* Mobile */
    @media (max-width: 782px) {
        .single-product .wp-block-columns.alignwide { flex-direction: column; }
    }
    