/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* *********************************************************** SINGLE PRODUCT *********************************************************** */


/* tabs below product img */
.woocommerce-tabs {
    margin-top: 30px !important;
}
/* .woocommerce-tabs[data-type*=type-3] .ct-accordion-heading {
    border-top-style: none !important;
    border-bottom: 1px solid var(--tab-border-color, var(--theme-border-color));
} */

/* variation btns */

/* === WooCommerce Variation Buttons === */
.variation-buttons {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-bottom: 10px;
}

.variation-button {
  flex: 1 1 0;
  text-align: center;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px 0;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.1s ease;
}

.variation-button:hover {
  border-color: #0073aa;
  background: #f0f7ff;
}

.variation-button.selected {
  background: #0073aa;
  color: #fff;
  border-color: #0073aa;
}

.reset_variations {
  display: none !important;
}

/* === Responsive Layout === */
@media (max-width: 600px) {
  .variation-buttons {
    flex-direction: column;
  }

  .variation-button {
    width: 100%;
  }
}



/* .variation-button {
    display: inline-block;
    padding: 8px 15px;
    margin: 0px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.2s;
}

.variation-button:hover {
    background: #ddd;
}

.variation-button.selected {
    background: #333;
    color: #fff;
    border-color: #333;
} */


/* dynamic price */
.woocommerce-variation-price {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* mini drawer */
.product_list_widget .product-title {
    font-size: 12px !important;
    font-weight: 400 !important;
    margin-inline-end: 20px;
}

/* license grp */
form.variations_form table.variations tr {
    display: flex;
    flex-direction: column;
    gap: 5px !important;
}

form.variations_form table.variations {
    margin-bottom: 0.7em !important;
}

/* a2c grp */
.ct-cart-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

/* qty label */
div.qty {
    font-weight: 500;
}

/* a2c callout */
.woocommerce-variation-add-to-cart {
    background: #f2f5f7;
    padding: 20px;
    border-radius: 8px;
}

/* qty input */
.ct-cart-actions .quantity {
    background: #fff;
}

/* lose btn after adding to cart  */
.ct-cart-actions .added_to_cart {
    display: none !important;
}


/* *********************************************************** CART *********************************************************** */


/* product thumbs */
.woocommerce-cart-form tbody img {
    border-radius: 6px !important;
    border: 1px solid #e1e8ed
}

/* total div */
.hentry .ct-woocommerce-cart-form .cart_totals {
	background: #fff;
}

/* table header */
.woocommerce-cart-form .shop_table thead {
    display: none;
}

/* table borders */
.woocommerce-cart-form tbody .product-thumbnail,
.woocommerce-cart-form tbody .product-name,
.woocommerce-cart-form tbody .product-quantity,
.woocommerce-cart-form tbody .product-subtotal,
.woocommerce-cart-form tbody .product-remove {
    border: none;
}

/* lose cart update btn */
.woocommerce [name="update_cart"] {
  display: none!important;
}

/* lose cart header x subtotal */
.cart-subtotal, .ct-woocommerce-cart-form .cart_totals h2 {
    display: none !important;
}

/* product name group */
.product-name {
    line-height: 1.2;
}

/* lose img link */
/* .product-thumbnail {
    pointer-events: none;
} */

/* hide mini cart on cart page */
.page-id-19 #header div .ct-header-cart {
    display: none !important;
}

/* mini cart pane */
#header div .ct-cart-content {
    border: 1px solid #e1e8ed;
    border-radius: 8px;
}


/* *********************************************************** CHECKOUT *********************************************************** */


/* product img */
.wc-block-components-order-summary .wc-block-components-order-summary-item__image>img {
    max-width: 74px !important;
    width: 74px !important;
    border-radius: 6px;
    max-height: 56px !important;
    height: 56px;
    object-fit: cover;
	border: 1px solid #e1e8ed
}

/* product img container */
.wc-block-components-order-summary .wc-block-components-order-summary-item__image {
    margin-top: 0px !important;
    padding-bottom: 10px !important;
    position: relative;
    width: 74px !important; 
}

/* item description */
.wc-block-components-order-summary .wc-block-components-order-summary-item__description {
    padding: 4px 12px 12px 14px !important;
    word-break: break-word;
}

/* product title */
.wc-block-components-product-name {
    margin-bottom: 4px !important;
}

/* .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-name {
    font-weight: 500;
    margin-bottom: 5px;
} */

/* product list block */
.wc-block-components-order-summary .wc-block-components-order-summary-item {
    display: flex;
    font-size: 14px;
    line-height: 0.75 !important;
    padding-bottom: 1px;
    padding-top: 10px;
    width: 100%;
}

/* license label */
.wc-block-components-product-details__license {
    font-size: 12px;
}

/* product name */
.wc-block-checkout__sidebar .wc-block-components-product-name {
    line-height: 1.2em !important;
}

/* coupon field */
#wc-block-components-totals-coupon__input-coupon {
    background: #fff !important;
}

/* order summary div */
.wp-block-woocommerce-checkout-order-summary-block {
	border: 1px solid #e1e8ed;
    border-radius: 8px !important;
    box-sizing: border-box;
    padding: 10px;
	background: #fff;
}

/* left pane */
.wc-block-components-sidebar-layout .wc-block-components-main {
    box-sizing: border-box;
    margin: 0;
    padding-right: 2% !important;
    width: 56% !important;
}

/* right pane */
.wc-block-components-sidebar {
    box-sizing: border-box;
    padding-left: 2% !important;
    width: 44% !important;
}

/* lose dividing borders - order summary */
.wp-block-woocommerce-checkout-order-summary-block > div > div {
    border: none;
}

/* adjust padding coupon closed */
.wp-block-woocommerce-checkout-order-summary-block div .wp-block-woocommerce-checkout-order-summary-coupon-form-block {
    padding: 4px 0;
}

/* coupon expanded */
.wc-block-components-panel__button[aria-expanded=true] {
    margin-bottom: 5px;
}

/* coupon panel btn */
.wc-block-components-panel__button:hover {
    color: #2872fa;
}

/* hide subtotal */
.wp-block-woocommerce-checkout-order-summary-block div .wp-block-woocommerce-checkout-order-summary-totals-block {
    display: none !important;
}

/* order summary title */
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text {
    flex-grow: 1;
    font-weight: 500;
    margin: 0 0 6px 16px !important;
}

/* qty counter */
.wc-block-components-order-summary-item__quantity span {
    font-size: 12px;
}

/* checkout btn */
.wp-block-woocommerce-checkout-actions-block {
    padding: 0 !important;
}

/* page body container */
.page-id-15 .ct-container-full {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* lose variation label */
/* .wc-block-components-product-details__name {
    display: none !important;
} */

/* hide license label */
.wp-block-woocommerce-checkout-order-summary-cart-items-block div .wc-block-components-product-details__name {
    display: none !important;
}

/* drop down options */
.wc-blocks-components-select .wc-blocks-components-select__container .wc-blocks-components-select__select {
    font-size: 14px !important;
    font-family: Karla, sans-serif;
}

/* input label default */
.wc-block-components-form .wc-block-components-text-input label, .wc-block-components-text-input label {
    font-size: 14px !important;
}

/* country select label */
.wc-block-components-country-input .wc-blocks-components-select__label {
    font-size: 12px !important;
}



/* *********************************************************** ACCOUNT *********************************************************** */


/* lose acc nav */
.entry-content .ct-woo-account .ct-acount-nav {
    display: none !important;
}

/* acc content div */
/* .hentry .ct-woo-account .woocommerce-MyAccount-content {
    background: #fff;
    padding: 30px 34px;
    border-radius: 10px;
    border: 1px solid #ddd;
    height: fit-content;
} */

/* .woocommerce-EditAccountForm {
    background: #fff;
    padding: 30px 34px;
    border-radius: 10px;
    border: 1px solid #ddd;
    height: fit-content;
}
 */

/* -------- ORDER HISTORY TAB -------- */

/* order col */
table.shop_table_responsive tbody th {
    font-size: 14px;
    vertical-align: middle;
    border: none !important;
}

/* other cols */
table.shop_table_responsive tbody td {
    font-size: 14px;
    border: none !important;
    width: 180px;
}

/* table headers */
table.shop_table thead th {
    font-size: 14px;
    border: none !important;
}

/* action btn */
td.woocommerce-orders-table__cell-order-actions .button {
    display: inline;
    padding: 6px 16px;
    color: #000;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
}

td.woocommerce-orders-table__cell-order-actions .button:hover {
    color: #000;
    border: 1px solid #ddd;
    background: #f9f9f9;
}

.woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions a {
    width: 80px !important;
}

/* lose the status col */
.woocommerce-orders-table__header-order-status, .woocommerce-orders-table__cell-order-status {
    display: none !important;
}


/* order cell */
.woocommerce-orders-table__cell-order-number {
    width: 140px;
}


/* -------- VIEW ORDER -------- */

/* intro message */
.woocommerce-MyAccount-content > p {
    font-size: 14px;
}

/* download remain col */
th.download-remaining, td.download-remaining {
    display: none;
}

/* expiry col */
th.download-expires, td.download-expires  {
    display: none;
}

/* product col */
th.download-product, th.download-file {
    display: none;
}

td.download-product {
/*  width: 300px !important; */
/*  max-width:100%; */
    table-layout: auto;
    white-space:nowrap;
}

/* order details div */
.ct-woo-account .woocommerce-order-details {
    margin-top: 30px;
}

/* lose order details title */
.woocommerce-order-details__title {
    display: none;
}

/* order details download btn */
.woocommerce-table--order-details tbody .wc-forward {
    display: inline;
    font-size: 12px;
    color: #000;
    background: #fff;
    border: 1px solid #ddd;
    padding: 4px 8px;
    border-radius: 4px;
}

.woocommerce-table--order-details tbody .wc-forward:hover {
    color: #000;
    background: #f9f9f9;
    border: 1px solid #ddd;
}

/* lose headers */
th.product-name, .woocommerce-table__product-table {
    display: none;
}

/* order details product table width */
.order_item .product-name {
    width: 500px;
}

/* order details variation meta */
/* .wc-item-meta li {
    font-size: 12px;
} */

/* product cells */
.order_item .product-name {
    border: none;
}

/* subtotal x th */
table.shop_table th, table.shop_table tfoot td {
    border: none;
    font-size: 14px;
}

/* total cells */
.woocommerce-table__product-total {
    border: none;
    font-size: 14px;
    vertical-align: top;
}

/* order again x billing address */
.order-again, .woocommerce-customer-details {
    display: none !important;
}

/* product name */
table.shop_table a {
    font-size: 14px;
    line-height: 1.5;
}

/* product total col */
.woocommerce-table__product-total, tfoot td {
    text-align: right;
}

/* product image */
.page-id-21 img {
    border-radius: 6px;
    border: 1px solid #ddd;
    width: 100%;
}

.item-thumbnail {
    padding-right: 15px !important;
}

/* product license qty */
.product-quantity {
    font-size: 12px;
    font-weight: normal;
}

/* view order notice */
.woocommerce-MyAccount-content > p {
    display: inline;
    color: #0b6655;
    background: #ddfbf5;
    padding: 4px 8px;
    border-radius: 5px;
}

/* order details header */
/*.ct-woo-account .woocommerce-order-details h2 {
    font-weight: 500;
}*/

/* lose extra variation meta - orders */
.wc-item-meta li {
    display: none !important;
}

/* set variation meta size - orders */
.page-id-25 small {
    font-size: 12px !important;
}

/* adjust page titles - dashboard */
.woocommerce-page-title {
    font-size: 22px !important;
    margin-bottom: 40px;
}

/* checkout legal txt */
/* .legbtn {
    cursor:pointer;
    pointer-events: auto;
} */

/* lose the download section on view order */
body.woocommerce-view-order .woocommerce-order-downloads {
    display: none !important;
}

/* lose download section - order view */
/* body.ct-woo-account .woocommerce-order-downloads {
    display: none !important;
} */

/* account dropdown panel */
/* .gspb_button-id-gsbp-a1cc694 .gspb_slidingPanel, .gspb_button-id-gsbp-a1cc694 .gspb_slidingPanel.active {
    right: 10px;
} */

/* acc menu sidenav */
/* .sidenav {
    height: calc(100vh - 60px);
}
 */
.gspb_button-id-gsbp-93f4c47 .gspb_slidingPanel, .gspb_button-id-gsbp-93f4c47 .gspb_slidingPanel.active {
    z-index: 999 !important;
    bottom: 50px;
}

/* #gspb_container-id-gsbp-d242aeb.gspb_container {
    position: sticky;
    top: 0;
    position: -webkit-sticky;
} */

/* actions header cell */
/* .woocommerce-MyAccount-orders tr .woocommerce-orders-table__header-order-actions {
    text-align: right !important;
    padding-right: 10px !important;
} */

/* view btns cells */
/* .woocommerce-MyAccount-orders tbody .woocommerce-orders-table__cell-order-actions {
    text-align: right;
} */

/* lose action header */
.woocommerce-MyAccount-orders .woocommerce-orders-table__header-order-actions span {
    display: none !important;
}

/* flush btns right */
table.shop_table tr>*:last-child {
    text-align: right;
}


/* -------- DOWNLOADS -------- */


/* downloads div */
.ct-woo-account .woocommerce-order-downloads {
/*  background: #f8f8f8; */
/*     border-radius: 10px; */
/*     padding: 10px; */
    margin-top: 30px;
    margin-bottom: 30px;
}

/* downloads img cell */
.woocommerce-table--order-downloads tbody .product-image {
    width: 12%;
}

/* lose th downloads */
.woocommerce-order-downloads .woocommerce-table--order-downloads thead {
    display: none;
}

/* lose default download btn */
td.download-file {
    display: none;
}

/* downloadable btn */
.custom_download_link a {
    text-decoration: none !important;
    color: #000;
    background: #fff;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.custom_download_link a:hover {
    text-decoration: none !important;
    color: #000;
    background: #f9f9f9;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* download row */
.page-id-21 table.shop_table tr {
    border-bottom: 1px solid #ddd;
}

/* download btn col */
td.custom_download_link {
    text-align: right;
}
