/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/* Bullet list short description */
.woocommerce-product-details__short-description ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.woocommerce-product-details__short-description ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
}

.woocommerce-product-details__short-description ul li::before {
  content: '\f00c'; /* Unicode for Font Awesome check (fa-check) */
  font-family: 'Font Awesome 6 Free'; /* or 'Font Awesome 5 Free' depending on version */
  font-weight: 900; /* Required for solid icons */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1em;
  color: #2BC800
}

/*Product add-on*/
.addon-upsell-form {
    margin-top: 20px;
}

.addon-upsell-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #FAFAFA;
    border: 2px dashed #B9B9B9;
    border-radius: 8px;
    padding: 10px 15px;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.addon-upsell-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1 1 auto;
}

.addon-upsell-image {
    width: 80px;
    height: auto;
    flex-shrink: 0;
}

.addon-upsell-text {
    max-width: 300px;
}

.addon-upsell-title {
    font-size: 15px;
	color: black;
    display: block;
    margin-bottom: 3px;
}

.addon-upsell-description {
    font-size: 13px;
    color: #333;
    display: block;
	line-height: 18px;
}

.addon-upsell-price {
    margin-top: 5px;
    font-size: 15px;
}

.addon-upsell-price del {
    margin-right: 8px;
    color: #999;
}

.addon-upsell-button-wrap {
    margin-left: 20px;
}

.addon-upsell-button-wrap .addon-add-button {
    background-color: #e42535;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
}

/* ===== Mobile layout: button below price, aligned with text ===== */
@media (max-width: 600px) {
  .addon-upsell-box {
    display: grid;
    grid-template-columns: 80px 1fr;   /* image | text */
    align-items: start;
    padding: 12px 14px;
  }

  /* Let the image and text become direct grid items */
  .addon-upsell-content { display: contents; }

  .addon-upsell-image { 
    grid-column: 1;        /* left column (image) */
    grid-row: 1; 
    width: 72px;           /* optional: a bit smaller on mobile */
  }

  .addon-upsell-text { 
    grid-column: 2;        /* right column (text + price) */
    grid-row: 1; 
    max-width: none; 
  }

  /* Place the button directly under the text/price column */
  .addon-upsell-button-wrap {
    grid-column: 2;        /* align with price column */
    grid-row: 2;
    margin: 8px 0 0 0;     /* remove left margin from desktop */
    justify-self: start;   /* left aligned with text */
  }
}

.woocommerce-shipping-totals.shipping {
  display: table-row !important;
}

.woocommerce-checkout h4 {
 font-size: 16px !important;
}
