/*
Theme Name:   Ceeprinto
Theme URI:    https://ceeprinto.com/
Author:       Abdul Rehman
Author URI:   https://ceeprinto.com/
Description:  Custom white-label print-on-demand marketplace theme for Ceeprinto. WooCommerce ready, fully standalone — no parent theme required.
Tags:         e-commerce, woocommerce, custom-menu, custom-logo, full-width-template, featured-images, threaded-comments, translation-ready
Version:      2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  ceeprinto
Domain Path:  /languages
*/

.reg_integration_type_container {
  display: flex
}

.reg_integration_type_container * {
  outline: none !important;
}

.reg_integration_type_option {
  flex-grow: 1;
  margin: 6px;
}

.reg_integration_type_option input {
  display: none;
}

.reg_integration_type_option input:checked+span,
.reg_integration_type_option span:hover {
  background: #ff515122;
  box-shadow: 0 0 0 2px #ff5151 inset;
}

.reg_integration_type_option span {
  box-shadow: 0 0 0 1px var(--line) inset;
  color: #000;
  cursor: pointer;
  font-size: 1.125rem;
  height: 4.375rem;
  line-height: 1.2;
  padding: 0.25rem;
  text-align: center;
  transition: .3s;
  width: 100%;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

#billing_phone_field .woocommerce-input-wrapper {
  display: flex;
  align-items: center;
}

.billing_phone_field_prefix {
  display: block;
  padding-right: 10px;
  background-color: #ff100d;
  padding: 7px;
  padding-right: 12px;
  color: #fff;
}

/* The Modal (background) */
.cee-modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

.cee-modal-title {
  display: inline;
}

/* Modal Content */
.cee-modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.cee-modal-body {
  position: relative;
}

/* The Close Button */
.cee-modal-close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.cee-modal-close:hover,
.cee-modal-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.cee-modal-cart-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  margin: 20px 10px;
}

.cee-modal-cart-table-header,
.cee-modal-cart-table-footer {
  font-weight: bold;
  background-color: #fbfbfb;
  padding: 8px;
}

.cee-modal-cart-table-row {
  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.cee-modal-cart-table-row-item {
  width: 20%;
  padding: 4px;
}

/* .cee-modal-cart-table-row-item.thumbnail {
  width: 30%;
} */

/* .cee-modal-cart-table-row-item.product_name {
  width: 20%;
} */

.cee-modal-cart-table-row-item.thumbnail img {
  width: 100px;
}

.cee-modal-cart-table-footer .cee-modal-cart-table-row-item {
  display: flex;
  justify-content: end;
}

.cee-modal-cart-table-footer .cee-modal-cart-table-row-item.total_info {
  width:40%;
  display:inline-grid;
}

.cee-modal-cart-table-row-item label {
  display: none;
}

@media screen and (max-width: 768px) {

  .cee-modal-cart-table-row-item label {
    display: block;
  }

  .cee-modal-cart-table-row.cee-modal-cart-table-header {
    display: none;
  }

  .cee-modal-cart-table-row-item.thumbnail img {
    display: block;
    margin: 0 auto;
  }

  .cee-modal-cart-table-row {
    display: block;
  }

  .cee-modal-cart-table-row .cee-modal-cart-table-row-item {
    width: 100%;
  }

  .cee-modal-cart-table-footer {
    display: grid !important;
  }

  .cee-modal-cart-table-footer .cee-modal-cart-table-row-item.total_info {
    width:100%;
    display:inline-grid;
  }

  .cee-modal-cart-table-row .cee-modal-cart-table-row-item.price,
  .cee-modal-cart-table-row .cee-modal-cart-table-row-item.quantity,
  .cee-modal-cart-table-footer .cee-modal-cart-table-row-item.price,
  .cee-modal-cart-table-footer .cee-modal-cart-table-row-item.quantity,
  .cee-modal-cart-table-footer .cee-modal-cart-table-row-item.total {
    display: none;
  }

  .cee-modal-cart-table-footer .cee-modal-cart-table-row-item.save_button {
    width: 100%;
  }

}

.cee-modal-body .loader {
  padding: 2rem;
}

@media screen and (max-width: 921px) {
  .woocommerce table.shop_table_responsive tbody th, .woocommerce-page table.shop_table_responsive tbody th {
      display: block;
  }

  .woocommerce table.shop_table_responsive tbody dl.variation, .woocommerce-page table.shop_table_responsive tbody dl.variation {
      display: none;
  }
}

fieldset {
  padding: 14px;
}

fieldset legend {
  margin-bottom: 0;
}