/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* Hide WooCommerce Shop page title only */
.post-type-archive-product .woocommerce-products-header__title,
.post-type-archive-product .page-title,
.post-type-archive-product h1 {
  display: none !important;
}

/* VanHikers – YITH WAPO: make support options inline pills */
.yith-wapo-block .options.per-row-1{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

/* Each option becomes a pill */
.yith-wapo-block .yith-wapo-option{
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide the radio circle + make the label the clickable pill */
.yith-wapo-block .radio-button-container .radiobutton{
  display: none !important;
}

.yith-wapo-block label.yith-wapo-label{
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 16px !important;
  border: 1px solid #ddd !important;
  border-radius: 999px !important;
  background: #f7f7f7 !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

/* Selected state (YITH adds .selected on the option wrapper) */
.yith-wapo-block .yith-wapo-option.selected label.yith-wapo-label{
  background: #e6f3ee !important;
  border-color: #4caf8f !important;
  color: #1f6f55 !important;
}

/* Optional: make the (+$x.xx) smaller and less ugly */
.yith-wapo-block .option-price{
  font-size: 0.85em !important;
  opacity: 0.7 !important;
}

/* ===== VanHikers: Event-style product page (Flatsome) ===== */

/* Hide product-y stuff */
.single-product .price-wrapper { display: none !important; }               /* hide $0.00 */
.single-product .ux-quantity { display: none !important; }                /* hide quantity */
.single-product .share-icons { display: none !important; }                /* hide share row */

/* Make the right column feel like a booking card */
.single-product .product-info.summary {
  background: #fff !important;
  border: 1px solid #eee !important;
  border-radius: 16px !important;
  padding: 22px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
}

/* Make button premium */
.single-product .single_add_to_cart_button {
  width: 100% !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .3px !important;
  padding: 14px 16px !important;
  text-transform: none !important;
}

/* Make short description more premium */
.single-product .product-short-description p{
  font-size: 15px !important;
  line-height: 1.6 !important;
  opacity: .92 !important;
}

/* Clean tabs area (optional) */
.single-product .woocommerce-tabs .tabs { display:none !important; }
.single-product .woocommerce-tabs .woocommerce-Tabs-panel h2 { display:none !important; }

/* ===== YITH WAPO: Support options as pills ===== */

/* Override forced grid 1-col with flex pills */
#yith-wapo-container .yith-wapo-block .options.per-row-1{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

/* Each option */
#yith-wapo-container .yith-wapo-option{
  width: auto !important;
  margin: 0 !important;
}

/* Hide radio circles */
#yith-wapo-container .radio-button-container .radiobutton{
  display: none !important;
}

/* Make label the pill */
#yith-wapo-container label.yith-wapo-label{
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 14px !important;
  border: 1px solid #ddd !important;
  border-radius: 999px !important;
  background: #f7f7f7 !important;
  cursor: pointer !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

/* Selected pill */
#yith-wapo-container .yith-wapo-option.selected label.yith-wapo-label{
  background: #e6f3ee !important;
  border-color: #4caf8f !important;
  color: #1f6f55 !important;
}

/* Make (+$x.xx) smaller */
#yith-wapo-container .option-price{
  font-size: 0.85em !important;
  opacity: 0.65 !important;
}

/* Hide WAPO total table (looks like store) */
#wapo-total-price-table { display:none !important; }

/* Add spacing between support section and button */
#yith-wapo-container { margin: 16px 0 18px !important; }

/* Premium title style for support section */
#yith-wapo-container .wapo-addon-title{
  font-size: 18px !important;
  font-weight: 800 !important;
}
#yith-wapo-container .wapo-addon-description{
  font-size: 14px !important;
  line-height: 1.6 !important;
  opacity: .9 !important;
}

/* Remove product page title banner + breadcrumb */
.single-product .shop-page-title.product-page-title { 
  display: none !important; 
}

/* =========================================
   FIX: Checkout too narrow / blank space right
   Make checkout full-width + 2-column on desktop
   ========================================= */

/* 1) Make the container wider */
body.woocommerce-checkout #main.page-checkout-simple .container{
  max-width: 1180px !important;   /* increase width */
  width: 100% !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* 2) Force a real 2-column grid on large screens */
@media (min-width: 992px){
  body.woocommerce-checkout #main.page-checkout-simple form.checkout .row.pt-0{
    display: grid !important;
    grid-template-columns: 1.3fr 0.9fr !important; /* left bigger, right sidebar */
    gap: 20px !important;
    align-items: start !important;
  }

  /* reset Flatsome column widths */
  body.woocommerce-checkout #main.page-checkout-simple form.checkout .large-7,
  body.woocommerce-checkout #main.page-checkout-simple form.checkout .large-5{
    width: auto !important;
    max-width: none !important;
    flex: initial !important;
  }
}

/* 3) Make the order summary sticky (feels premium) */
@media (min-width: 992px){
  body.woocommerce-checkout #main.page-checkout-simple .checkout-sidebar{
    position: sticky !important;
    top: 90px !important;
  }
}

/* 4) Optional: Center header + reduce wasted whitespace */
body.woocommerce-checkout #main.page-checkout-simple .cart-header{
  max-width: 1180px !important;
  margin: 0 auto 14px auto !important;
}
/* =========================
   VanHikers Premium Checkout
   ========================= */

/* Background + spacing */
body.woocommerce-checkout #main.page-checkout-simple {
  background: #f6f6f6;
  padding: 24px 0;
}

/* Hide breadcrumb steps (Cart > Checkout > Complete) */
body.woocommerce-checkout .checkout-breadcrumbs {
  display: none !important;
}

/* Center logo and give breathing room */
body.woocommerce-checkout .cart-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
body.woocommerce-checkout .cart-header #logo img {
  max-height: 64px;
  width: auto;
}

/* Two-column spacing */
body.woocommerce-checkout form.checkout .row.pt-0 {
  gap: 18px;
}
body.woocommerce-checkout form.checkout .large-7,
body.woocommerce-checkout form.checkout .large-5 {
  margin-top: 0 !important;
}

/* Premium cards */
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout .col-inner.is-well {
  background: #fff !important;
  border: 1px solid #eaeaea !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 40px rgba(0,0,0,.06) !important;
}

/* Padding inside cards */
body.woocommerce-checkout .woocommerce-billing-fields {
  padding: 18px !important;
}
body.woocommerce-checkout .woocommerce-additional-fields {
  margin-top: 14px !important;
  padding: 18px !important;
}
body.woocommerce-checkout .col-inner.is-well {
  padding: 18px !important;
}

/* Headings */
body.woocommerce-checkout h3 {
  font-weight: 900 !important;
  letter-spacing: .2px;
}

/* Inputs look premium */
body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea.input-text {
  border-radius: 12px !important;
  border: 1px solid #e6e6e6 !important;
  padding: 12px 12px !important;
  background: #fafafa !important;
  box-shadow: none !important;
}
body.woocommerce-checkout input.input-text:focus,
body.woocommerce-checkout textarea.input-text:focus {
  background: #fff !important;
  border-color: #cfcfcf !important;
}

/* Make order notes less “delivery” vibe */
body.woocommerce-checkout #order_comments_field label {
  font-weight: 800 !important;
}
body.woocommerce-checkout #order_comments {
  min-height: 70px;
}

/* Order summary table simplified */
body.woocommerce-checkout #order_review_heading {
  font-weight: 900 !important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table thead {
  display: none !important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  border: 0 !important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table td,
body.woocommerce-checkout .woocommerce-checkout-review-order-table th {
  border-top: 1px solid #eee !important;
  padding: 12px 0 !important;
}

/* Variation (Support the Community) into a soft pill card */
body.woocommerce-checkout .variation {
  margin-top: 10px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  background: #f7f7f7 !important;
}
body.woocommerce-checkout .variation dt {
  font-weight: 900 !important;
}

/* Hide subtotal row (optional) */
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-subtotal {
  display: none !important;
}

/* Total row emphasis */
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
  font-size: 16px !important;
  font-weight: 900 !important;
}

/* Place order button premium */
body.woocommerce-checkout #place_order {
  width: 100% !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  font-weight: 900 !important;
  text-transform: none !important;
  letter-spacing: .2px !important;
}

/* Privacy text smaller + cleaner */
body.woocommerce-checkout .woocommerce-privacy-policy-text {
  font-size: 13px !important;
  opacity: .85;
  margin-top: 10px;
}



@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}