/* BYB Global — WooCommerce skin (loaded after WooCommerce's CSS on all front-end pages) */

/* buttons */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,
.woocommerce-page a.button,.woocommerce-page button.button,.byb-b2b .button{
  display:inline-flex;align-items:center;gap:8px;padding:11px 20px;border-radius:999px;font-weight:700;font-size:.88rem;
  background:#fff;color:var(--ink);border:1px solid var(--line);line-height:1.2;transition:.2s;font-family:inherit}
.woocommerce a.button:hover,.woocommerce button.button:hover,.byb-b2b .button:hover{border-color:var(--green-900);background:#fff;color:var(--ink)}
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.woocommerce #place_order,
.woocommerce .single_add_to_cart_button,.woocommerce a.checkout-button,.byb-b2b .button.alt{
  background:var(--gold)!important;color:var(--green-950)!important;border-color:var(--gold)!important}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce #place_order:hover,.byb-b2b .button.alt:hover{background:#e3c43c!important}
.woocommerce button.button:disabled,.woocommerce button.button:disabled[disabled]{opacity:.5}

/* notices */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-noreviews{border-radius:14px;border-top:0;border-left:4px solid var(--gold);background:var(--soft);color:var(--ink);padding:14px 18px 14px 48px;list-style:none}
.woocommerce-error{border-left-color:#b3261e;background:#fbe9e7}
.woocommerce-message{border-left-color:#11602f;background:#e7f6ec}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{color:inherit;top:14px}
.woocommerce-error li{margin:0}

/* forms */
.woocommerce form .form-row label{font-size:.82rem;font-weight:700}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,
.woocommerce .quantity .qty,.select2-container .select2-selection--single{border:1px solid var(--line);border-radius:12px;padding:11px 14px;background:#fbfcfa;min-height:46px}
.select2-container .select2-selection--single .select2-selection__rendered{line-height:22px;padding:0}
.select2-container .select2-selection--single .select2-selection__arrow{top:10px}
.woocommerce .quantity .qty{width:5.5em;text-align:center;padding:8px}
.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border:1px solid var(--line);border-radius:18px}

/* tables */
.woocommerce table.shop_table{border:1px solid var(--line);border-radius:16px;border-collapse:separate;overflow:hidden}
.woocommerce table.shop_table th{font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);background:var(--soft)}
.woocommerce table.shop_table td,.woocommerce table.shop_table th{border-top-color:var(--line);padding:12px 14px}
.woocommerce-cart-form .product-thumbnail img{width:56px;border-radius:8px}
.cart-collaterals .cart_totals h2,.woocommerce-checkout h3{font-size:1.3rem;margin-bottom:12px}
#order_review,#payment{border-radius:18px}
.woocommerce-checkout #payment{background:var(--soft)}
.woocommerce-checkout #payment div.payment_box{background:#fff;color:var(--ink);border-radius:10px}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#fff}
#shipping_method li{margin-bottom:6px}

/* product grid */
.woocommerce ul.products li.product{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px;transition:.25s}
.woocommerce ul.products li.product:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.woocommerce ul.products li.product a img{border-radius:12px;margin-bottom:12px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1rem;font-weight:700;padding:0}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--green-900);font-weight:800}
.woocommerce span.onsale{background:var(--gold);color:var(--green-950);border-radius:999px;min-height:auto;line-height:1;padding:8px 10px}
.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{margin-bottom:20px}
.woocommerce .woocommerce-ordering select{border-radius:999px;padding:8px 14px;border:1px solid var(--line)}

/* single product */
.byb-wc-product{padding-top:140px}
.woocommerce div.product .product_title{font-size:clamp(1.8rem,3vw,2.4rem)}
.woocommerce div.product div.images img{border-radius:var(--radius)}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border-radius:999px 999px 0 0;background:var(--soft)}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.woocommerce div.product form.cart .button{float:none}
.byb-crumbs{font-size:.85rem;color:var(--muted);margin-bottom:18px}

/* my account */
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;border:1px solid var(--line);border-radius:18px;overflow:hidden}
.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:12px 18px;font-weight:600;border-top:1px solid var(--line)}
.woocommerce-account .woocommerce-MyAccount-navigation li:first-child a{border-top:0}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--green-900);color:#fff}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{background:var(--soft)}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a:hover{background:var(--green-700)}
.woocommerce-account .woocommerce-MyAccount-content{font-size:.95rem}
.woocommerce-account .woocommerce-MyAccount-content p{color:var(--ink)}

/* portal pages: leave room below the hero */
.byb-portal .woocommerce,.byb-portal .byb-b2b{color:var(--ink)}
.byb-portal p{color:var(--ink)}

/* freight options: radio + label on one line, left aligned */
.woocommerce ul#shipping_method{margin:0;padding:0;float:none;width:100%}
.woocommerce ul#shipping_method li{display:flex;align-items:flex-start;gap:8px;text-align:left;margin:0 0 10px;line-height:1.35}
.woocommerce ul#shipping_method li input{flex:none;margin:3px 0 0}
.woocommerce ul#shipping_method li label{display:inline;font-weight:600;margin:0}
.woocommerce-shipping-destination,.woocommerce-shipping-calculator{text-align:left}

/* the theme's "label{display:block}" puts these labels under their radio / checkbox */
.woocommerce-checkout #payment ul.payment_methods li>label{display:inline;font-weight:700}
.woocommerce-checkout #payment ul.payment_methods li>input{margin:0 8px 0 0;vertical-align:middle}
.woocommerce form .form-row label.checkbox,.woocommerce-form__label-for-checkbox{display:inline-flex!important;align-items:flex-start;gap:8px;font-weight:500}
.woocommerce-form__label-for-checkbox input{margin-top:3px}
.woocommerce form .form-row .woocommerce-input-wrapper{display:block}

@media (max-width:768px){
  .woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:24px}
  .byb-wc-product{padding-top:120px}
  /* cart totals + checkout review: put the freight options under their heading */
  .woocommerce table.shop_table_responsive tr.woocommerce-shipping-totals td,.woocommerce-page table.shop_table_responsive tr.woocommerce-shipping-totals td{text-align:left!important}
  .woocommerce table.shop_table_responsive tr.woocommerce-shipping-totals td::before,.woocommerce-page table.shop_table_responsive tr.woocommerce-shipping-totals td::before{float:none;display:block;margin-bottom:8px}
  #order_review tr.woocommerce-shipping-totals th,#order_review tr.woocommerce-shipping-totals td{display:block;width:100%;border-top:0}
  #order_review tr.woocommerce-shipping-totals th{padding-bottom:4px}
  .woocommerce-cart table.cart td.actions .coupon{display:flex;gap:8px;flex-wrap:wrap}
  .woocommerce-cart table.cart td.actions .coupon .input-text{flex:1 1 140px;width:auto!important}
  .woocommerce-cart table.cart td.actions .button{width:100%;margin-top:8px}
  .woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{float:none;width:100%}
  .woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;overflow-x:auto;border-radius:999px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .woocommerce-account .woocommerce-MyAccount-navigation li{flex:none}
  .woocommerce-account .woocommerce-MyAccount-navigation li a{border-top:0;border-left:1px solid var(--line);white-space:nowrap;padding:12px 16px}
  .woocommerce-account .woocommerce-MyAccount-navigation li:first-child a{border-left:0}
  .woocommerce div.product form.cart .button{flex:1 1 auto;justify-content:center}
}
