/**
 * Jedi-Robe permanent site refinements.
 *
 * Theme-owned equivalent of the former Customizer Additional CSS.
 * Intentionally enqueued after the existing dark-commerce and page modules,
 * preserving the specificity and cascade of the original Customizer rules.
 * Seasonal Halloween cobweb styling is intentionally excluded.
 *
 * @package Jedi_Theme_Dark
 * @subpackage Dark_Commerce
 */

body.jr-dark-commerce .woocommerce-ordering select option,
body.jr-dark-commerce .woocommerce-ordering select optgroup {
  color: #f5f7fa;
  background-color: #0b1218;
}

body.jr-dark-commerce .woocommerce-ordering select option:disabled {
  color: #aab4c0;
}

/** new */
@media (max-width: 992px) {
    .min-ck.woocommerce-checkout .site-header .site-branding button.menu-toggle,
.min-ck.woocommerce-checkout .site-header .jedi-mobile-search-toggle {
        display: none;
    }

    .jr-dark-commerce .col-full {
        padding-right: 1rem;
    }

.jr-dark-commerce.single-product .col-full {
        padding-right: 0;
    }

    .jr-dark-commerce .product-details-wrapper {
      padding-right: 0;
    }

}

@media (max-width: 768px) {
    body.jr-dark-commerce.woocommerce-cart table.shop_table.cart tr.cart_item td {
  padding: 5px;
}
}


/* ==========================================================================
   CosVox, product controls, checkout spacing, shopping cart and home refinements
   ========================================================================== */

.sts-cosvox-controller__brand {
    display: block;
    width: 100%;
    margin-top: 2px;
    color: rgba(3, 5, 7, 0.86);
    font-family: "Michroma", "Eurostile Extended", "Arial Black", Arial, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.14em;
    line-height: 1.08;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.085), 0 -1px 1px rgba(0, 0, 0, 0.98), 0 0 1px rgba(0, 0, 0, 0.88);
    text-transform: uppercase;
    transform: scale(1.3, 1);
    transform-origin: center;
    -webkit-text-stroke: 0.3px rgba(0, 0, 0, 0.7);
}

.sts-cosvox-speaker__brand {
    display: flex;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    color: rgba(4, 6, 8, 0.84);
    font-family: "Michroma", "Eurostile Extended", "Arial Black", Arial, sans-serif;
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 400;
    line-height: 1;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.11), 0 -1px 1px rgba(0, 0, 0, 0.98);
    text-transform: uppercase;
    white-space: nowrap;
    gap: clamp(3px, 1vw, 12px);
    align-items: center;
    justify-content: flex-start;
    transform: none;
    padding: 4px;
}


.jr-dark-commerce .cgkit-as-wrap .cgkit-attribute-swatches .cgkit-attribute-swatch.cgkit-button button.cgkit-swatch-selected {
    border-color: var(--jr-green);
    color: #fff;
}


    body.jr-dark-commerce > form.cart.commercekit_sticky-atc .commercekit-pdp-sticky-inner {
        padding: 0 12px;
    }


    body.jr-dark-commerce .variations_form.cart.commercekit_sticky-atc .commercekit-pdp-variation-table .variations {
      margin: 1rem 0;
    }

    body.jr-dark-commerce .variations_form.cart.commercekit_sticky-atc .commercekit-pdp-variation-table .variations tr {
      display: grid;
      gap: 0.8rem;
    }

    body.jr-dark-commerce .variations_form.cart.commercekit_sticky-atc .commercekit-pdp-variation-table .variations label,
    body.jr-dark-commerce .variations_form.cart.commercekit_sticky-atc .single_variation_wrap .stock.in-stock {
      color: #fff;
    }

@media (max-width: 992px) {
    #cgkit-mobile-commercekit-sticky-atc button {
        color: #07090d;
    }
}

body.jr-dark-commerce .site-search .commercekit-ajs-product-desc {
    position: static;
    overflow: hidden;
    display: grid;
    gap: 0.18rem;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    justify-content: start;
}

body.jr-dark-commerce ul#shipping_method li label::before {
	background: #fff;
}

body.jr-dark-commerce .woocommerce-account-fields {
	margin-top: 15px;
}

body.jr-dark-commerce.woocommerce-checkout:not(.woocommerce-order-received) #customer_details .woocommerce-account-fields .create-account.form-row > label.woocommerce-form__label-for-checkbox {
	  display: flex;
    align-items: center;
    gap: 10px;
}

body.jr-dark-commerce.woocommerce-checkout:not(.woocommerce-order-received) #payment .wc_payment_method.payment_method_ppcp-trustly label img {
	filter: brightness(0) invert(1) drop-shadow(0 0 1rem rgba(255, 255, 255, 0.07));
    opacity: 0.9;
}


body.jr-dark-commerce .jr-order-item .jr-order-item__content h4 {
	color: var(--jr-text, #fff);
}

body.jr-dark-commerce .jr-order-item .jr-order-item__content p {
    color: var(--jr-text, #fff);
}

@media (max-width: 720px) {

	body.jr-dark-commerce
		:is(
			.jr-returns-intro,
			.jr-returns-section
		) {
		padding-inline: 0;
	}
}

body.jr-dark-commerce.woocommerce-cart .cart_totals table.shop_table tr.cart-discount a {
	color: rgba(255, 255, 255, 0.46);
}

body.jr-dark-commerce .jr-home-hero__title-line--lead::after {
	display: none;
	content: none;
}


/* ==========================================================================
   WooCommerce store-notice refinements
   ========================================================================== */

body.jr-dark-commerce .woocommerce-store-notice {
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgb(51, 51, 51);
}

body.jr-dark-commerce .woocommerce-store-notice a:first-of-type {
    text-decoration-color: rgb(226 171 65 / 50%);
    color: #dc9814;
    opacity: 1;
    text-decoration-line: underline;
    text-underline-offset: 4px;
}

body.jr-dark-commerce .woocommerce-store-notice a.woocommerce-store-notice__dismiss-link {
    box-sizing: border-box;
    --tw-text-opacity: 1;
    color: rgb(156 163 175 / var(--tw-text-opacity, 1));
    -webkit-appearance: button;
    background-color: transparent;
}
