/* Fix WooCommerce dropdown text visibility */
.variations select {
	background-color: #ffffff !important; color: #000000 !important;
}
.variation select option {
	background-color: #ffffff !important; color:# 000000 !important;
}

/*Hide Product SKU, Categories, and Tags */
.product_meta {
	display: none !important;
}

/* Force hide anything containing the words SKU, Category, or Tags by targeting the text layout */
.product .summary div:last-child,
.product .summary p:last-child,
.product_meta,
[class*="meta"],
[class*="taxonomy"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* 1. Force the layout rows to behave as a single horizontal line */
#product-addons-total ul li,
#product-addons-total dl,
.product-addon-totals ul li,
.wc-pao-addons-totals ul li,
.product-addon-totals dl {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
}

/* 2. Prevent the price numbers from wrapping under any circumstances */
#product-addons-total .amount,
#product-addons-total bdi,
.product-addon-totals .amount,
.wc-pao-addons-totals .amount,
.product-addon-totals dd,
#product-addons-total dd {
    white-space: nowrap !important;
    display: inline-block !important;
    word-break: keep-all !important;
    overflow: visible !important;
}

/* 3. Give the price column guaranteed space so it doesn't get squished */
#product-addons-total dd,
.product-addon-totals dd,
#product-addons-total .wc-pao-addon-value,
.wc-pao-addons-totals .wc-pao-addon-value {
    min-width: 100px !important;
    text-align: right !important;
    flex-shrink: 0 !important;
    margin-left: 15px !important;
}

/* Checkout shipping method - unselected */
.wc-block-checkout__shipping-method-option {
  background-color: #f5f5f5 !important;
  border: 1px solid #cccccc !important;
}
.wc-block-checkout__shipping-method-option label,
.wc-block-checkout__shipping-method-option span {
  color: #111111 !important;
}

/* Checkout shipping method - selected */
.wc-block-checkout__shipping-method-option--selected {
  background-color: #e8e8e8 !important;
  border: 2px solid #333333 !important;
}
.wc-block-checkout__shipping-method-option--selected label,
.wc-block-checkout__shipping-method-option--selected span {
  color: #111111 !important;
  font-weight: 600 !important;
}

/* Force WooCommerce Product Add-on titles to be bold*/
.wc-pao-addon-name,
.wc.pao-addon-header,
.wc-pao-addon-title,
.wc-pao-addon h3,
.wc-pao-addon h4,
.wc-pao-addon-label{
	font-weight: 700 !important;
}

.process-card {
    box-sizing: border-box;
    min-height: 390px;
    height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Let cards adapt on smaller screens */
@media (max-width: 781px) {
    .process-card {
        min-height: 0;
        height: auto;
    }
}
.process-card {
    transition: all .25s ease;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}
.process-card {
    border: 1px solid #e9e9e9;
}
.webstore-card {
    box-sizing: border-box;
    min-height: 310px;
    height: 310px;
    display: flex;
    flex-direction: column;
}

/* Keep the button at the bottom */
.webstore-card .wp-block-buttons,
.webstore-card .wp-block-button {
    margin-top: auto;
    width: 100%;
}

/* Let cards resize naturally on phones */
@media (max-width: 781px) {
    .webstore-card {
        min-height: 0;
        height: auto;
    }
}

/* Show the entire design inside image-option boxes */
.wc-pao-addon-image-swatch img,
.wapf-swatch img,
.wcpa_image img,
.yith-wapo-option img,
.wpo-image-radio img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 4px;
    box-sizing: border-box;
    background: #fff;
}

/* Allow the enlarged preview to extend outside the option box */
.wc-pao-addon-image-swatch,
.wapf-swatch,
.wcpa_image,
.yith-wapo-option,
.wpo-image-radio {
    overflow: visible !important;
    position: relative;
}

/* Enlarge the artwork when hovering */
.wc-pao-addon-image-swatch:hover img,
.wapf-swatch:hover img,
.wcpa_image:hover img,
.yith-wapo-option:hover img,
.wpo-image-radio:hover img {
    transform: scale(2.25);
    position: relative;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
    transition: transform .2s ease;
}

.wc-block-mini-cart__shopping-button {
    display: none !important;
}

/* 1. Prevent mobile columns from squeezing or clipping layouts */
@media (max-width: 767px) {
    .wp-block-columns, 
    .wp-block-column {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        clear: both !important;
    }

    /* 2. Lock the image block to a healthy, un-clippable mobile size */
    .wp-block-column .wp-block-image {
        width: 160px !important;
        height: 160px !important;
        margin: 0 auto 15px auto !important; /* Centers it perfectly */
        overflow: visible !important; /* Ensures nothing gets cut off */
    }

    /* 3. Make sure the actual patch inside matches that size exactly */
    .wp-block-column .wp-block-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important; /* Keeps the patch proportional */
    }
}

/* Universal force-center for all layout embeds on mobile */
@media (max-width: 767px) {
    /* 1. Reset EVERY container element wrapping that iframe */
    main iframe, 
    article iframe, 
    div iframe,
    figure iframe {
        width: 92% !important;
        max-width: 92% !important;
        height: 75vh !important;
        margin: 0 auto !important;
        display: block !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }

/* Override WooCommerce Block CSS Variables for all inputs */
.wc-block-checkout,
.wc-block-components-checkout-step,
:root {
    --color-input-background: #1a1a1a !important;
    --color-input-text: #ffffff !important;
    --color-input-border: #444444 !important;
}

/* Force dark background on credit card elements */
.wc-block-checkout .wc-block-card-elements,
.wc-block-checkout .wc-block-components-text-input {
    background-color: #1a1a1a !important;
}

/* Force label text to solid white */
.wc-block-checkout label {
    color: #ffffff !important;
    opacity: 1 !important;
}

