/* =======================================================================
   Bushman Music — Single product page (loads only on is_product()).
   Brand: dark #1c1c1e, amber #ffb700, amber-dark #e6a500. Oswald / Heebo.
   All rules scoped under body.single-product to avoid leaking site-wide.
   ======================================================================= */

body.single-product {
    --sp-dark: #1c1c1e;
    --sp-text: #3a3a3e;
    --sp-muted: #8a8a91;
    --sp-line: #e7e7ec;
    --sp-accent: #ffb700;
    --sp-accent-dark: #e6a500;
    --sp-accent-soft: #fff7e3;
    --sp-panel: #fbfbfc;
    --sp-radius: 12px;
    --sp-radius-sm: 8px;
}

/* ---- Two-column layout: gallery | summary ---- */
body.single-product .single-product-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: flex-start;
}
body.single-product .single-product-wrapper > .woocommerce-product-gallery,
body.single-product .single-product-wrapper > .images {
    flex: 1 1 46%;
    min-width: 320px;
    margin: 0 !important;
}
body.single-product .single-product-wrapper > .summary,
body.single-product .summary.entry-summary {
    flex: 1 1 46%;
    min-width: 320px;
    margin: 0 !important;
}

/* ---- Gallery ---- */
body.single-product .woocommerce-product-gallery {
    position: relative;
}
body.single-product .woocommerce-product-gallery .flex-viewport,
body.single-product .woocommerce-product-gallery__wrapper {
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius);
    overflow: hidden;
    background: #fff;
}
body.single-product .woocommerce-product-gallery__image img {
    border-radius: var(--sp-radius);
    display: block;
}
/* zoom trigger — theme hides the icon <img>, so draw a magnifier via CSS */
body.single-product .woocommerce-product-gallery__trigger {
    top: 14px !important;
    right: 14px !important;
    width: 42px;
    height: 42px;
    background: #fff !important;
    border: 1px solid var(--sp-line);
    border-radius: 50% !important;
    box-shadow: 0 4px 14px rgba(20, 20, 30, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    transition: background .15s ease, transform .15s ease;
}
body.single-product .woocommerce-product-gallery__trigger img { display: none !important; }
body.single-product .woocommerce-product-gallery__trigger::before {
    content: "";
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231c1c1e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.5' y2='16.5'/%3E%3C/svg%3E") no-repeat center / contain;
}
body.single-product .woocommerce-product-gallery__trigger:hover {
    background: var(--sp-accent) !important;
    transform: scale(1.05);
}
/* thumbnail strip (theme: single-product-thumbnails-down) */
body.single-product .flex-control-thumbs {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    list-style: none;
}
body.single-product .flex-control-thumbs li {
    width: 76px !important;
    margin: 0 !important;
    list-style: none;
}
body.single-product .flex-control-thumbs img {
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius-sm);
    opacity: .65;
    cursor: pointer;
    transition: opacity .15s ease, border-color .15s ease;
}
body.single-product .flex-control-thumbs img:hover,
body.single-product .flex-control-thumbs img.flex-active {
    opacity: 1;
    border-color: var(--sp-accent);
}

/* ---- Title ---- */
body.single-product .single-title-wrapper { margin: 0 0 10px; }
body.single-product .product_title.entry-title {
    font-family: "Oswald", "Heebo", sans-serif;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: .3px;
    color: var(--sp-dark);
    margin: 0;
}

/* ---- Price ---- */
body.single-product .summary > .price,
body.single-product .summary p.price {
    margin: 0 0 16px !important;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--sp-line);
    font-size: 30px;
    font-weight: 800;
    color: var(--sp-accent-dark);
    line-height: 1;
}
body.single-product .summary .price del {
    color: var(--sp-muted);
    font-weight: 500;
    font-size: 20px;
    margin-right: 8px;
}
body.single-product .summary .price ins {
    text-decoration: none;
}

/* ---- Currency selector ----
   Pinned to the top-right of the summary, level with the title + price. The
   plugin's wSelect widget is hidden in favour of the native <select> styled as
   a clean pill (single USD option) with our own caret. */
body.single-product .summary.entry-summary { position: relative; }
body.single-product #alg_currency_selector {
    position: absolute;
    top: 2px;
    right: 0;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 3;
}
body.single-product #alg_currency_selector .wSelect { display: none !important; }
body.single-product #alg_currency_selector select.alg_currency_select {
    display: inline-block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    clip: auto !important;
    width: auto !important;
    height: auto !important;
    min-width: 96px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0 !important;
    padding: 8px 34px 8px 14px !important;
    border: 1px solid var(--sp-line) !important;
    border-radius: 999px !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%231c1c1e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 13px center !important;
    background-size: 11px 7px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--sp-dark) !important;
    line-height: 1.2 !important;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(20, 20, 30, .05);
}
/* keep the title clear of the pinned currency pill */
body.single-product .single-title-wrapper { padding-right: 120px; }

/* ---- Custom dropdown caret (Keys) ---- */
body.single-product table.variations select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%231c1c1e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    cursor: pointer;
}

/* ---- Stock badge ---- */
body.single-product .stock.in-stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 18px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #1c7a3e;
    background: #e9f7ee;
    border-radius: 999px;
}
body.single-product .stock.in-stock::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a745;
}
body.single-product .stock.out-of-stock {
    display: inline-flex;
    align-items: center;
    margin: 0 0 18px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #b23b3b;
    background: #fdeaea;
    border-radius: 999px;
}

/* ---- Short description ----
   Sits in its native WooCommerce position (below the Add-to-Cart section).
   Styled as a soft summary panel with an amber accent rail. */
body.single-product .woocommerce-product-details__short-description {
    position: relative;
    margin: 0 0 24px;
    padding: 16px 18px 16px 20px;
    background: var(--sp-panel);
    border: 1px solid var(--sp-line);
    border-left: 3px solid var(--sp-accent);
    border-radius: var(--sp-radius-sm);
    color: var(--sp-text);
    font-size: 15px;
    line-height: 1.7;
}
body.single-product .woocommerce-product-details__short-description > p {
    margin: 0 0 10px;
}
body.single-product .woocommerce-product-details__short-description > p:last-child {
    margin-bottom: 0;
}
body.single-product .woocommerce-product-details__short-description a {
    color: var(--sp-accent-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
body.single-product .woocommerce-product-details__short-description a:hover {
    color: var(--sp-dark);
}

/* ---- Variations (Keys etc.) ----
   Stacked row: the attribute label and the "Clear" link share the top line
   (Clear pinned to the right), with the dropdown full-width below. */
body.single-product table.variations,
body.single-product table.variations tbody {
    display: block;
    width: 100%;
    margin: 0;
    border: 0;
}
body.single-product table.variations { margin: 0 0 18px; }
body.single-product table.variations tr {
    display: block;
    position: relative;
    width: 100%;
    margin: 0 0 14px;
}
body.single-product table.variations tr:last-child { margin-bottom: 0; }
body.single-product table.variations th.label,
body.single-product table.variations td.value {
    display: block;
    width: 100%;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
body.single-product table.variations th.label {
    margin: 0 0 8px;
    padding-right: 70px !important;   /* room for the Clear link */
    text-align: left;
}
body.single-product table.variations th.label label {
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    font-size: 13px;
    color: var(--sp-dark);
}
body.single-product table.variations select {
    width: 100%;
    height: 48px;
    padding: 0 40px 0 14px;
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius-sm);
    background-color: #fff;
    color: var(--sp-text);
    font-size: 15px;
}
body.single-product table.variations select:focus {
    outline: none;
    border-color: var(--sp-accent);
    box-shadow: 0 0 0 3px var(--sp-accent-soft);
}
/* "Clear" reset link — pinned top-right of the row, aligned with the label.
   WooCommerce only reveals it once a key is selected. */
body.single-product .reset_variations {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    line-height: 18px;
    background: none !important;
    border: 0 !important;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sp-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}
body.single-product .reset_variations:hover { color: #e23b3b; }

/* Variation result — seamless (no boxed panel). The summary price already shows
   the amount and all keys share it, so hide the duplicate variation price. */
body.single-product .single_variation_wrap,
body.single-product .woocommerce-variation.single_variation {
    margin: 0 0 16px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    min-height: 0 !important;
}
body.single-product .woocommerce-variation.single_variation:empty { display: none !important; margin: 0 !important; }
body.single-product .single_variation .woocommerce-variation-price,
body.single-product .single_variation .price { display: none !important; }
body.single-product .single_variation .woocommerce-variation-availability { margin: 0; }

/* ---- Quantity + Add to cart row ----
   The theme wraps the add-to-cart in a grey padded box (.woocommerce-variation-add-to-cart
   / simple form.cart) with flex-wrap:wrap, which stacks the button under the qty.
   Strip the box and force a single clean inline row. */
body.single-product form.cart { margin: 0 0 24px; }
body.single-product .woocommerce-variation-add-to-cart,
body.single-product .entry-summary form.cart:not(.variations_form):not(.grouped_form) {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 12px !important;
    background: transparent !important;
    padding: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
}
/* quantity field with +/- stepper — fixed width (theme forces 50%, leaving a gap) */
body.single-product .quantity {
    display: inline-flex !important;
    align-items: stretch;
    flex: 0 0 auto !important;
    width: 146px !important;
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius-sm);
    overflow: hidden;
    background: #fff;
    height: 54px;
}
body.single-product .quantity .qty {
    width: 56px;
    height: 100% !important;
    border: 0 !important;
    padding: 0 !important;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--sp-dark);
    background: transparent;
    -moz-appearance: textfield;
    appearance: textfield;
    border-radius: 0 !important;
}
body.single-product .quantity .qty::-webkit-outer-spin-button,
body.single-product .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
body.single-product .quantity .bm-qty-btn {
    flex: 0 0 auto;
    width: 42px;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: var(--sp-panel);
    color: var(--sp-dark);
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, color .15s ease;
}
body.single-product .quantity .bm-qty-btn.bm-minus { border-right: 1px solid var(--sp-line); }
body.single-product .quantity .bm-qty-btn.bm-plus { border-left: 1px solid var(--sp-line); }
body.single-product .quantity .bm-qty-btn:hover {
    background: var(--sp-accent);
    color: #000;
}
body.single-product .single_add_to_cart_button {
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    height: 54px;
    padding: 0 28px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Oswald", "Heebo", sans-serif;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #000 !important;
    background: linear-gradient(180deg, #ffc733, var(--sp-accent)) !important;
    border: 1.5px solid var(--sp-accent) !important;
    border-radius: var(--sp-radius-sm) !important;
    box-shadow: 0 6px 18px rgba(255, 183, 0, .32);
    transition: all .2s ease;
}
body.single-product .single_add_to_cart_button:hover {
    color: #fff !important;
    background: var(--sp-dark) !important;
    border-color: var(--sp-dark) !important;
    box-shadow: 0 8px 22px rgba(20, 20, 30, .25);
}

/* ---- Product meta ---- */
body.single-product .product_meta {
    margin: 4px 0 22px;
    padding: 18px 0 0;
    border-top: 1px solid var(--sp-line);
    font-size: 13.5px;
    color: var(--sp-muted);
}
body.single-product .product_meta > span {
    display: block;
    margin: 0 0 8px;
    color: var(--sp-muted);
}
body.single-product .product_meta > span:last-child { margin-bottom: 0; }
body.single-product .product_meta .sku,
body.single-product .product_meta a {
    color: var(--sp-dark);
    font-weight: 600;
    text-decoration: none;
}
body.single-product .product_meta .posted_in a:hover,
body.single-product .product_meta .tagged_as a:hover { color: var(--sp-accent-dark); }
/* tag chips */
body.single-product .product_meta .tagged_as a {
    display: inline-block;
    margin: 3px 5px 0 0;
    padding: 3px 10px;
    background: var(--sp-panel);
    border: 1px solid var(--sp-line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--sp-text);
}
body.single-product .product_meta .tagged_as a:hover {
    background: var(--sp-accent-soft);
    border-color: var(--sp-accent);
}

/* ---- Social share ---- */
body.single-product .product-social-links {
    display: flex;
    gap: 10px;
    margin: 0 0 8px;
}

/* ---- Tabs / Additional information ---- */
body.single-product .woocommerce-tabs {
    margin-top: 56px;
    clear: both;
}
body.single-product .woocommerce-tabs > h2,
body.single-product .woocommerce-Tabs-panel > h2,
body.single-product .related > h2,
body.single-product .upsells > h2,
body.single-product .related-products h2,
body.single-product .cross-sells > h2,
body.single-product .compare-products > h4,
body.single-product .up-sells.upsells > h4,
body.single-product .related.products > h4,
body.single-product .related-products > h4 {
    font-family: "Oswald", "Heebo", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: var(--sp-dark);
    margin: 0 0 22px;
    padding: 0 0 12px;
    border-bottom: 2px solid var(--sp-dark);
    position: relative;
}
body.single-product .woocommerce-tabs > h2::after,
body.single-product .woocommerce-Tabs-panel > h2::after,
body.single-product .related > h2::after,
body.single-product .upsells > h2::after,
body.single-product .related-products h2::after,
body.single-product .compare-products > h4::after,
body.single-product .up-sells.upsells > h4::after,
body.single-product .related.products > h4::after,
body.single-product .related-products > h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 64px;
    height: 2px;
    background: var(--sp-accent);
}

/* WooCommerce tab title ("Additional information") styled like a section heading */
body.single-product .woocommerce-tabs ul.tabs.wc-tabs {
    margin: 0 0 22px;
    padding: 0 0 12px;
    list-style: none;
    border-bottom: 2px solid var(--sp-dark);
    position: relative;
}
body.single-product .woocommerce-tabs ul.tabs.wc-tabs::before { display: none; }
body.single-product .woocommerce-tabs ul.tabs.wc-tabs::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 64px;
    height: 2px;
    background: var(--sp-accent);
}
body.single-product .woocommerce-tabs ul.tabs.wc-tabs li {
    display: inline-block;
    margin: 0 24px 0 0;
    padding: 0;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    list-style: none;
}
body.single-product .woocommerce-tabs ul.tabs.wc-tabs li::before,
body.single-product .woocommerce-tabs ul.tabs.wc-tabs li::after { display: none !important; }
body.single-product .woocommerce-tabs ul.tabs.wc-tabs li a {
    font-family: "Oswald", "Heebo", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: var(--sp-dark);
    text-decoration: none;
    padding: 0;
    background: none !important;
}
body.single-product .woocommerce-tabs ul.tabs.wc-tabs li.active a,
body.single-product .woocommerce-tabs ul.tabs.wc-tabs li a:hover { color: var(--sp-accent-dark); }

/* additional info table */
body.single-product .shop_attributes,
body.single-product .woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius-sm);
    overflow: hidden;
}
body.single-product .shop_attributes th,
body.single-product .shop_attributes td {
    padding: 13px 18px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--sp-line) !important;
    font-size: 14px;
    text-align: left;
}
body.single-product .shop_attributes tr:last-child th,
body.single-product .shop_attributes tr:last-child td { border-bottom: 0 !important; }
body.single-product .shop_attributes tr:nth-child(odd) { background: var(--sp-panel); }
body.single-product .shop_attributes th {
    width: 28%;
    font-weight: 700;
    color: var(--sp-dark);
    text-transform: uppercase;
    letter-spacing: .3px;
    font-size: 12.5px;
}
body.single-product .shop_attributes td { color: var(--sp-text); }

/* ---- Product card grids (related / upsells / compare) ---- */
body.single-product .products li.product,
body.single-product ul.products li.product {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius);
    padding: 16px 16px 20px;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
body.single-product .products li.product:hover {
    box-shadow: 0 14px 34px rgba(20, 20, 30, .12);
    transform: translateY(-4px);
    border-color: #dadae0;
}
body.single-product .products li.product img {
    border-radius: var(--sp-radius-sm);
    margin-bottom: 12px;
}
body.single-product .products li.product .woocommerce-loop-product__title,
body.single-product .products li.product h2,
body.single-product .products li.product h3 {
    font-size: 15px !important;
    font-weight: 600;
    color: var(--sp-dark);
    line-height: 1.35;
    margin: 0 0 6px;
}
body.single-product .products li.product .price {
    color: var(--sp-accent-dark) !important;
    font-weight: 800;
    font-size: 16px;
}
body.single-product .products li.product .price del {
    color: var(--sp-muted);
    font-weight: 500;
    font-size: 13px;
}
/* card buttons (Add to cart / Select options) */
body.single-product .products li.product .button,
body.single-product .products li.product .add_to_cart_button,
body.single-product .products li.product a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 12px 0 0;
    padding: 11px 14px;
    font-family: "Oswald", "Heebo", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #000 !important;
    background: var(--sp-accent) !important;
    border: 1.5px solid var(--sp-accent) !important;
    border-radius: var(--sp-radius-sm) !important;
    transition: all .2s ease;
}
body.single-product .products li.product .button:hover,
body.single-product .products li.product a.button:hover {
    color: #fff !important;
    background: var(--sp-dark) !important;
    border-color: var(--sp-dark) !important;
}

/* carousel arrows */
body.single-product .et-carousel-navigation a,
body.single-product .slick-arrow,
body.single-product .owl-nav button {
    border: 1px solid var(--sp-line) !important;
    border-radius: 50% !important;
    background: #fff !important;
    transition: all .15s ease;
}
body.single-product .et-carousel-navigation a:hover,
body.single-product .slick-arrow:hover {
    background: var(--sp-accent) !important;
    border-color: var(--sp-accent) !important;
}

/* ---- Product loop grid (upsells / related) ----
   The theme renders these sections as tiny-slider carousels
   (.related/.up-sells/.cross-sells .loop-products { display:block!important }).
   A carousel with a single item ("You may also like") collapses to a sliver.
   Convert them all to clean static CSS grids and neutralize the slider wrappers. */
body.single-product .related .loop-products,
body.single-product .up-sells .loop-products,
body.single-product .cross-sells .loop-products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    transform: none !important;
    left: auto !important;
}
body.single-product .related .loop-products > li,
body.single-product .up-sells .loop-products > li,
body.single-product .cross-sells .loop-products > li {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    transform: none !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    list-style: none !important;
}
/* unwrap tiny-slider's containers and hide its clones + nav */
body.single-product .related .tns-outer,
body.single-product .up-sells .tns-outer,
body.single-product .cross-sells .tns-outer,
body.single-product .related .tns-ovh,
body.single-product .up-sells .tns-ovh,
body.single-product .cross-sells .tns-ovh,
body.single-product .related .tns-inner,
body.single-product .up-sells .tns-inner,
body.single-product .cross-sells .tns-inner {
    overflow: visible !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.single-product .related .tns-slide-cloned,
body.single-product .up-sells .tns-slide-cloned,
body.single-product .cross-sells .tns-slide-cloned { display: none !important; }
body.single-product .related .tns-nav,
body.single-product .related .tns-controls,
body.single-product .up-sells .tns-nav,
body.single-product .up-sells .tns-controls,
body.single-product .cross-sells .tns-nav,
body.single-product .cross-sells .tns-controls { display: none !important; }

/* ---- Compare with similar items ---- */
body.single-product .compare-products { margin-top: 56px; clear: both; }
body.single-product .compare-table-wrapper {
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius);
    overflow: hidden;
    background: #fff;
}
body.single-product .compare-item-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}
body.single-product .compare-item-list > li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    border-right: 1px solid var(--sp-line);
    display: flex;
    flex-direction: column;
}
body.single-product .compare-item-list > li:last-child { border-right: 0; }
body.single-product .compare-item-list > li.labels {
    background: var(--sp-panel);
    font-weight: 700;
    color: var(--sp-dark);
}
body.single-product .compare-item-list .product-data {
    padding: 18px 16px;
    border-bottom: 1px solid var(--sp-line);
    text-align: center;
}
body.single-product .compare-item-list .product-image img {
    max-width: 120px;
    height: auto;
    margin: 0 auto 12px;
    border-radius: var(--sp-radius-sm);
}
body.single-product .compare-item-list li.labels .product-image { display: none; }
body.single-product .compare-item-list .post-title {
    font-family: "Oswald", "Heebo", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--sp-dark);
    margin: 0 0 12px;
    line-height: 1.3;
}
body.single-product .compare-item-list .et-button,
body.single-product .compare-item-list a.woocommerce-button {
    display: inline-block;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #000 !important;
    background: var(--sp-accent) !important;
    border: 1.5px solid var(--sp-accent) !important;
    border-radius: var(--sp-radius-sm);
    transition: all .2s ease;
}
body.single-product .compare-item-list .et-button:hover {
    color: #fff !important;
    background: var(--sp-dark) !important;
    border-color: var(--sp-dark) !important;
}
body.single-product .compare-item-list li.labels .et-button { display: none; }
body.single-product .compare-item-list .product-rating,
body.single-product .compare-item-list .product-price,
body.single-product .compare-item-list .product-attributes {
    padding: 14px 16px;
    border-bottom: 1px solid var(--sp-line);
    text-align: center;
    font-size: 14px;
    color: var(--sp-text);
}
body.single-product .compare-item-list .product-attributes { border-bottom: 0; }
body.single-product .compare-item-list li.labels .product-rating,
body.single-product .compare-item-list li.labels .product-price,
body.single-product .compare-item-list li.labels .product-attributes {
    text-align: left;
    font-weight: 700;
    color: var(--sp-dark);
}
body.single-product .compare-item-list .product-price .sale-price,
body.single-product .compare-item-list .product-price {
    color: var(--sp-accent-dark);
    font-weight: 800;
}
body.single-product .compare-item-list li.labels .product-price { color: var(--sp-dark); }

/* ---- Section spacing ---- */
body.single-product .related.products,
body.single-product .up-sells.upsells,
body.single-product .related-products {
    margin-top: 56px;
    clear: both;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    body.single-product .related .loop-products,
    body.single-product .up-sells .loop-products,
    body.single-product .cross-sells .loop-products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 768px) {
    body.single-product .single-product-wrapper { gap: 28px; }
    body.single-product .product_title.entry-title { font-size: 26px; }
    body.single-product .summary > .price,
    body.single-product .summary p.price { font-size: 26px; }
    body.single-product form.cart,
    body.single-product form.variations_form.cart .woocommerce-variation-add-to-cart { gap: 10px; }
    body.single-product .single_add_to_cart_button { min-width: 0; }
    body.single-product .related .loop-products,
    body.single-product .up-sells .loop-products,
    body.single-product .cross-sells .loop-products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }
    body.single-product .compare-table-wrapper { overflow-x: auto; }
    body.single-product .compare-item-list { min-width: 520px; }
}
