/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://worldwidepeptides.com
 Description:  Child theme for Hello Elementor
 Author:       World Wide Peptides
 Template:     hello-elementor
 Version:      1.0.7
 Text Domain:  hello-elementor-child
*/

/* ════════════════════════════════════════════════════
   ELEMENTOR GLOBAL COLOR OVERRIDES
   Replace the default pink/red accent with WWP blue
════════════════════════════════════════════════════ */
:root {
  --e-global-color-accent: #1A6593 !important;
  --e-global-color-secondary: #1A6593 !important;
}

a:hover,
a:focus {
  color: #1A6593;
}

.elementor-widget-heading a:hover,
button:hover,
input[type="submit"]:hover {
  color: inherit;
}

/* ════════════════════════════════════════════════════
   WOOCOMMERCE — GLOBAL OVERRIDES
   Matches WWP design system: white bg, #1A6593 accent,
   Plus Jakarta Sans / JetBrains Mono fonts
════════════════════════════════════════════════════ */

/* ── Variables — defined on :root so they resolve inside Elementor nesting ── */
:root {
  --wc-accent:  #1A6593;
  --wc-accent2: #124e72;
  --wc-ink:     #0a0c0f;
  --wc-steel:   #3d4452;
  --wc-muted:   #6c7585;
  --wc-surf:    #f4f6f9;
  --wc-border:  rgba(0,0,0,0.09);
  --wc-ba:      rgba(26,101,147,0.18);
}

/* ── Page title ── */
.woocommerce-products-header__title,
.woocommerce h1.page-title,
h1.page-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(36px, 4vw, 56px) !important;
  font-weight: 800 !important;
  color: #0a0c0f !important;
  letter-spacing: -0.03em !important;
  line-height: 1.05 !important;
  margin-bottom: 8px !important;
}

/* ── Results count + ordering bar ── */
.woocommerce-result-count {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--wc-muted) !important;
  margin-bottom: 0 !important;
}

.woocommerce-ordering select,
.woocommerce .woocommerce-ordering select {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  border: 1px solid var(--wc-border) !important;
  border-radius: 3px !important;
  padding: 8px 14px !important;
  background: #fff !important;
  color: var(--wc-ink) !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer;
}
.woocommerce-ordering select:focus {
  border-color: var(--wc-ba) !important;
}

/* ── Product grid ── */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product {
  border: 1px solid var(--wc-border) !important;
  border-radius: 5px !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
  transition: background 0.2s ease, box-shadow 0.2s ease !important;
  position: relative;
  float: none !important;
  width: auto !important;
}

.woocommerce ul.products li.product:hover {
  background: var(--wc-surf) !important;
  box-shadow: 0 4px 16px rgba(26,101,147,0.10) !important;
}

/* accent top bar on hover */
.woocommerce ul.products li.product::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--wc-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 1;
}
.woocommerce ul.products li.product:hover::before {
  transform: scaleX(1);
}

/* ── Product image container ── */
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .woocommerce-loop-product__link img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border-bottom: 1px solid var(--wc-border) !important;
  margin: 0 !important;
  background: var(--wc-surf) !important;
}

/* placeholder when no image — keep it clean */
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: block;
}

/* ── Product info area ── */
.woocommerce ul.products li.product .woocommerce-loop-product__link + *,
.woocommerce ul.products li.product > .woocommerce-loop-category__link,
.woocommerce ul.products li.product {
  padding: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--wc-ink) !important;
  line-height: 1.2 !important;
  padding: 20px 20px 6px !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product .price {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 13px !important;
  color: var(--wc-accent) !important;
  letter-spacing: 0.06em !important;
  padding: 0 20px 16px !important;
  display: block !important;
}

.woocommerce ul.products li.product .price del {
  color: var(--wc-muted) !important;
  opacity: 0.7;
}

/* ── Add to cart / Select options button ── */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .add_to_cart_button {
  display: block !important;
  width: calc(100% - 40px) !important;
  margin: 0 20px 20px !important;
  padding: 11px 16px !important;
  background: var(--wc-accent) !important;
  color: #fff !important;
  border: 1.5px solid var(--wc-accent) !important;
  border-radius: 3px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background 0.2s, border-color 0.2s !important;
  box-shadow: none !important;
  margin-top: auto !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover {
  background: var(--wc-accent2) !important;
  border-color: var(--wc-accent2) !important;
  color: #fff !important;
}

/* ── Sidebar / widget area ── */
.woocommerce-sidebar .widget,
.widget_price_filter,
.widget_product_categories {
  background: #fff !important;
  border: 1px solid var(--wc-border) !important;
  border-radius: 5px !important;
  padding: 24px !important;
  margin-bottom: 20px !important;
}

.woocommerce-sidebar .widget-title,
.widget_price_filter .widgettitle,
.widget_product_categories .widgettitle {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--wc-accent) !important;
  margin-bottom: 18px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid var(--wc-border) !important;
}

/* price filter slider */
.widget_price_filter .ui-slider {
  background: var(--wc-border) !important;
  border: none !important;
  height: 3px !important;
  border-radius: 2px !important;
}

.widget_price_filter .ui-slider .ui-slider-range {
  background: var(--wc-accent) !important;
}

.widget_price_filter .ui-slider .ui-slider-handle {
  background: var(--wc-accent) !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  width: 14px !important;
  height: 14px !important;
  top: -6px !important;
  box-shadow: 0 1px 4px rgba(26,101,147,0.3) !important;
  cursor: pointer !important;
}

.widget_price_filter .price_slider_amount .button {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  background: var(--wc-accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 3px !important;
  padding: 8px 16px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}

.widget_price_filter .price_slider_amount .button:hover {
  background: var(--wc-accent2) !important;
}

.widget_price_filter .price_slider_amount {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 12px !important;
  color: var(--wc-steel) !important;
}

/* category list */
.widget_product_categories ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.widget_product_categories ul li {
  padding: 6px 0 !important;
  border-bottom: 1px solid var(--wc-border) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  color: var(--wc-steel) !important;
}

.widget_product_categories ul li:last-child {
  border-bottom: none !important;
}

.widget_product_categories ul li a {
  color: var(--wc-steel) !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.widget_product_categories ul li a:hover {
  color: var(--wc-accent) !important;
}

.widget_product_categories ul li.current-cat > a {
  color: var(--wc-accent) !important;
  font-weight: 600 !important;
}

/* ── Single product page ── */
.woocommerce div.product .product_title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(32px, 4vw, 52px) !important;
  font-weight: 700 !important;
  color: var(--wc-ink) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.01em !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  color: var(--wc-accent) !important;
  letter-spacing: -0.01em !important;
  line-height: 1.2 !important;
}

/* Mute the dash between a price range */
.woocommerce div.product p.price .from,
.woocommerce div.product p.price .to {
  font-weight: 700 !important;
}

.woocommerce div.product p.price ins {
  text-decoration: none !important;
  font-weight: 700 !important;
}

.woocommerce div.product p.price del {
  color: var(--wc-muted) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  opacity: 0.7 !important;
}

/* ── Single product — variations table ── */

/* Hello Elementor applies a grey zebra-stripe to all odd tbody rows globally.
   The variations table has one row and it's odd — neutralise it here. */
.woocommerce div.product form.cart table.variations tbody > tr:nth-child(odd) > td,
.woocommerce div.product form.cart table.variations tbody > tr:nth-child(odd) > th {
  background-color: transparent !important;
}

.woocommerce div.product form.cart table.variations {
  border: none !important;
  border-collapse: collapse !important;
  margin: 16px 0 20px !important;
  width: auto !important;
}

.woocommerce div.product form.cart table.variations tr {
  display: flex !important;
  align-items: center !important;
  border: none !important;
  background: none !important;
}

.woocommerce div.product form.cart table.variations th.label {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  color: var(--wc-ink) !important;
  padding: 0 20px 0 0 !important;
  vertical-align: middle !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
}

.woocommerce div.product form.cart table.variations th.label label {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  color: inherit !important;
  vertical-align: middle !important;
  display: inline-block !important;
}

.woocommerce div.product form.cart table.variations td.value {
  padding: 0 !important;
  border: none !important;
  vertical-align: middle !important;
  display: flex !important;
  align-items: center !important;
}

/* Custom-styled select */
.woocommerce div.product form.cart table.variations td.value select {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--wc-ink) !important;
  background: #fff !important;
  border: 1.5px solid var(--wc-accent) !important;
  border-radius: 5px !important;
  padding: 10px 40px 10px 14px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  /* Chevron arrow — accent blue */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A6593' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 12px !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.15s, box-shadow 0.15s !important;
  min-width: 200px !important;
}

/* Extra specificity to beat WooCommerce/Elementor grey background */
.woocommerce .variations_form table.variations select,
.woocommerce-page .variations_form table.variations select,
.woocommerce div.product .variations_form table.variations td.value select {
  background-color: #ffffff !important;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A6593' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center !important;
}

.woocommerce div.product form.cart table.variations td.value select:focus {
  border-color: var(--wc-accent) !important;
  box-shadow: 0 0 0 3px rgba(26,101,147,0.10) !important;
}

/* "Clear" reset link — hidden permanently. Users can change selection
   directly in the dropdown; the Clear button isn't needed and was creating
   a ghost grey box in the flex row when visibility:hidden. */
.woocommerce div.product form.cart table.variations .reset_variations,
.woocommerce div.product form.cart table.variations .reset_variations:hover {
  display: none !important;
}

.woocommerce div.product .woocommerce-tabs .tabs li a {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
}

.woocommerce div.product .woocommerce-tabs .tabs li.active a {
  color: var(--wc-accent) !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button {
  background: var(--wc-accent) !important;
  color: #fff !important;
  border: 1.5px solid var(--wc-accent) !important;
  border-radius: 3px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 13px 28px !important;
  transition: background 0.2s, border-color 0.2s !important;
  box-shadow: none !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--wc-accent2) !important;
  border-color: var(--wc-accent2) !important;
  color: #fff !important;
}

/* ── Notices ── */
.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--wc-accent) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--wc-accent) !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce ul.products li.product h2 {
    font-size: 17px !important;
    padding: 16px 16px 4px !important;
  }
  .woocommerce ul.products li.product .price {
    padding: 0 16px 12px !important;
    font-size: 12px !important;
  }
  .woocommerce ul.products li.product .button {
    width: calc(100% - 32px) !important;
    margin: 0 16px 16px !important;
  }
}

/* ════════════════════════════════════════════════════
   WPF — Product Filter for WooCommerce (WBW)
════════════════════════════════════════════════════ */

/* Filter panel wrapper */
.wpfFilterWrapper {
  background: #fff !important;
  border: 1px solid var(--wc-border) !important;
  border-radius: 5px !important;
  padding: 20px 24px !important;
  margin-bottom: 16px !important;
}

/* Filter section title */
.wpfFilterTaxNameWrapper,
.wpfFilterTaxNameWrapper span {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--wc-accent) !important;
  font-weight: 500 !important;
  padding-bottom: 12px !important;
  margin-bottom: 12px !important;
  border-bottom: 1px solid var(--wc-border) !important;
  display: block !important;
}

/* Filter description text */
.wfpDescription {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px !important;
  color: var(--wc-muted) !important;
  margin-bottom: 8px !important;
}

/* Checkbox list */
.wpfCheckboxHier,
.wpfCheckboxHier ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wpfLiLabel,
label.wpfLiLabel,
.wpfCheckboxHier .wpfLiLabel,
.wpfFilterContent .wpfLiLabel {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px !important;
  color: #0a0c0f !important;
  -webkit-text-fill-color: #0a0c0f !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 4px 0 !important;
  cursor: pointer !important;
  transition: color 0.15s !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.wpfLiLabel:hover,
label.wpfLiLabel:hover,
.wpfFilterContent .wpfLiLabel:hover {
  color: var(--wc-accent) !important;
  -webkit-text-fill-color: var(--wc-accent) !important;
}


/* Custom checkbox */
.wpfCheckbox {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 14px !important;
  height: 14px !important;
  border: 1.5px solid var(--wc-border) !important;
  border-radius: 2px !important;
  background: #fff !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: background 0.15s, border-color 0.15s !important;
}

.wpfCheckbox:checked {
  background: var(--wc-accent) !important;
  border-color: var(--wc-accent) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23fff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 10px !important;
}

/* Display/count badge */
.wpfDisplay {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 10px !important;
  color: var(--wc-muted) !important;
  margin-left: auto !important;
}

/* Price range filter */
.wpfPriceFilterRange {
  margin-bottom: 12px !important;
}

/* Price inputs */
.wpfPriceInputs {
  display: flex !important;
  gap: 6px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  margin-top: 12px !important;
}

.wpfPriceRangeField,
input.wpfPriceRangeField {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 13px !important;
  color: #0a0c0f !important;
  -webkit-text-fill-color: #0a0c0f !important;
  border: 1px solid rgba(0,0,0,0.2) !important;
  border-radius: 3px !important;
  padding: 6px 8px !important;
  width: 80px !important;
  min-width: 80px !important;
  background: #ffffff !important;
  outline: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

.wpfPriceRangeField:focus {
  border-color: var(--wc-accent) !important;
}

.wpfCurrencySymbol {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 12px !important;
  color: var(--wc-muted) !important;
  flex-shrink: 0 !important;
}

/* WPF price slider — use same accent as WC */
.wpfFilterContent .ui-slider .ui-slider-range,
.wpfFilterContent .wpfSlider .wpfSliderRange {
  background: var(--wc-accent) !important;
}

.wpfFilterContent .ui-slider .ui-slider-handle,
.wpfFilterContent .wpfSlider .wpfSliderHandle {
  background: var(--wc-accent) !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 1px 4px rgba(26,101,147,0.3) !important;
}

/* WPF apply/reset buttons */
.wpfFilterContent .button,
.wpfFilterContent button {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  background: var(--wc-accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 3px !important;
  padding: 8px 16px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}

.wpfFilterContent .button:hover,
.wpfFilterContent button:hover {
  background: var(--wc-accent2) !important;
}

/* ════════════════════════════════════════════════════
   WWP SHOP PAGE TEMPLATE
   Wraps cart/checkout/account content outside Elementor
════════════════════════════════════════════════════ */

.wwp-shop-wrap {
  background: #fff;
  min-height: 60vh;
  padding: 48px 0 80px;
}

.wwp-shop-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

/* ── Root cause fix: Hello Elementor theme.css sets .alignwide { margin-inline: -80px }
   which is designed for 80px content padding. Our .wwp-shop-inner has only 32px padding,
   so the WooCommerce Block Cart (.wp-block-woocommerce-cart.alignwide) overflows 48px
   beyond each side — clipped on the left by the viewport on mobile, causing the
   "left-aligned / offset" appearance. Reset it here. ── */
.wwp-shop-wrap .alignwide {
  margin-inline: 0 !important;
}
/* alignfull is even more aggressive (calc(50% - 50vw)) — neutralise inside our wrap */
.wwp-shop-wrap .alignfull {
  margin-inline: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* ── Ensure WooCommerce block cart fills the container ── */
.wwp-shop-inner .wp-block-woocommerce-cart,
.wwp-shop-inner .wp-block-woocommerce-checkout {
  width: 100% !important;
  max-width: none !important;
}

/* Override any Elementor button styles inside this template */
.wwp-shop-wrap a.button,
.wwp-shop-wrap button,
.wwp-shop-wrap input[type="submit"] {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.wwp-shop-wrap a.checkout-button,
.wwp-shop-wrap .wc-proceed-to-checkout a,
.wwp-shop-wrap .wc-proceed-to-checkout a.button,
body .wwp-shop-wrap a.checkout-button {
  background: #1A6593 !important;
  color: #fff !important;
  border: none !important;
}

.wwp-shop-wrap a.checkout-button:hover,
.wwp-shop-wrap .wc-proceed-to-checkout a:hover {
  background: #124e72 !important;
  color: #fff !important;
}

.wwp-shop-wrap #place_order,
body .wwp-shop-wrap #place_order {
  background: #1A6593 !important;
  color: #fff !important;
  border: none !important;
}

.wwp-shop-wrap #place_order:hover {
  background: #124e72 !important;
}

@media (max-width: 768px) {
  .wwp-shop-inner {
    padding: 0 16px;
  }
  .wwp-shop-wrap {
    padding: 28px 0 56px;
  }
}

/* ════════════════════════════════════════════════════
   WOOCOMMERCE — CART & CHECKOUT
   Note: hardcoded colour values used throughout to avoid
   CSS variable resolution failures inside Elementor nesting.
════════════════════════════════════════════════════ */

/* ── Global font override for all WC pages ── */
.woocommerce-cart *,
.woocommerce-checkout * {
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-sizing: border-box;
}

/* ── Page title ── */
.woocommerce-cart h1.entry-title,
.woocommerce-checkout h1.entry-title,
.woocommerce-cart .page-title,
.woocommerce-checkout .page-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800 !important;
  color: #0a0c0f !important;
  letter-spacing: -0.02em !important;
}

/* ══ CART PAGE ══ */

/* Cart table */
.woocommerce-cart table.shop_table {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  width: 100% !important;
  border: 1px solid rgba(0,0,0,0.09) !important;
  border-radius: 5px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
}

.woocommerce-cart table.shop_table thead th {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #6c7585 !important;
  background: #f4f6f9 !important;
  padding: 14px 20px !important;
  border-bottom: 1px solid rgba(0,0,0,0.09) !important;
}

.woocommerce-cart table.shop_table td {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  color: #0a0c0f !important;
  padding: 20px !important;
  border-bottom: 1px solid rgba(0,0,0,0.09) !important;
  vertical-align: middle !important;
}

.woocommerce-cart table.shop_table .product-name a {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 600 !important;
  color: #1A6593 !important;
  text-decoration: none !important;
}

.woocommerce-cart table.shop_table .product-name .variation dt,
.woocommerce-cart table.shop_table .product-name .variation dd {
  font-size: 13px !important;
  color: #3d4452 !important;
}

.woocommerce-cart table.shop_table .product-price,
.woocommerce-cart table.shop_table .product-subtotal {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 14px !important;
  color: #1A6593 !important;
  font-weight: 500 !important;
}

/* Quantity stepper */
.woocommerce-cart .quantity input.qty {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  border: 1px solid rgba(0,0,0,0.09) !important;
  border-radius: 3px !important;
  padding: 6px 10px !important;
  width: 60px !important;
  text-align: center !important;
  color: #0a0c0f !important;
}

/* Remove item link */
.woocommerce-cart table.shop_table a.remove {
  color: #6c7585 !important;
  font-size: 18px !important;
}
.woocommerce-cart table.shop_table a.remove:hover {
  color: #c0392b !important;
  background: none !important;
}

/* Update cart button */
.woocommerce-cart .actions .button {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  background: #fff !important;
  color: #1A6593 !important;
  border: 1.5px solid #1A6593 !important;
  border-radius: 3px !important;
  padding: 10px 20px !important;
  cursor: pointer !important;
  transition: background 0.2s, color 0.2s !important;
}
.woocommerce-cart .actions .button:hover {
  background: #1A6593 !important;
  color: #fff !important;
}

/* Cart totals box */
.woocommerce-cart .cart_totals {
  background: #f4f6f9 !important;
  border: 1px solid rgba(0,0,0,0.09) !important;
  border-radius: 5px !important;
  padding: 24px !important;
}

.woocommerce-cart .cart_totals h2 {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #1A6593 !important;
  margin: 0 0 16px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(0,0,0,0.09) !important;
}

.woocommerce-cart .cart_totals table {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  width: 100% !important;
  border-collapse: collapse !important;
}

.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  color: #0a0c0f !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(0,0,0,0.09) !important;
}

.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
  font-weight: 700 !important;
  font-size: 16px !important;
  border-bottom: none !important;
  padding-top: 14px !important;
  color: #0a0c0f !important;
}

.woocommerce-cart .cart_totals .order-total .amount {
  color: #1A6593 !important;
  font-family: 'JetBrains Mono', monospace !important;
}

/* Coupon row */
.woocommerce-cart .coupon .input-text {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  border: 1px solid rgba(0,0,0,0.09) !important;
  border-radius: 3px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
}

/* Proceed to Checkout button — hardcoded, not using variables */
.woocommerce-cart a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a,
.woocommerce-cart .wc-proceed-to-checkout a.button {
  display: block !important;
  width: 100% !important;
  background: #1A6593 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 5px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-decoration: none !important;
  padding: 16px 24px !important;
  margin-top: 16px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  box-shadow: none !important;
}

.woocommerce-cart a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a:hover {
  background: #124e72 !important;
  color: #fff !important;
}

/* ══ CHECKOUT PAGE ══ */

/* Two-column grid */
form.woocommerce-checkout {
  display: grid !important;
  grid-template-columns: 3fr 2fr !important;
  column-gap: 40px !important;
  align-items: start !important;
}

form.woocommerce-checkout #customer_details {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
}

form.woocommerce-checkout #order_review_heading {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

form.woocommerce-checkout #order_review {
  grid-column: 2 !important;
  grid-row: 2 !important;
}

/* col-1 / col-2 billing/shipping columns */
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  float: none !important;
  width: 100% !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
}

/* Section headings */
.woocommerce-checkout h3,
#order_review_heading {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #1A6593 !important;
  margin: 0 0 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(0,0,0,0.09) !important;
}

/* Form rows */
.woocommerce-checkout .form-row {
  padding: 0 !important;
  margin: 0 0 14px !important;
}

.woocommerce-checkout .form-row label {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0a0c0f !important;
  margin-bottom: 5px !important;
  display: block !important;
}

.woocommerce-checkout .form-row label .optional {
  font-weight: 400 !important;
  color: #6c7585 !important;
  font-size: 12px !important;
}

/* Text inputs */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  color: #0a0c0f !important;
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.09) !important;
  border-radius: 5px !important;
  padding: 11px 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color 0.15s, box-shadow 0.15s !important;
  -webkit-appearance: none !important;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus {
  border-color: #1A6593 !important;
  box-shadow: 0 0 0 3px rgba(26,101,147,0.08) !important;
}

/* Validation */
.woocommerce-checkout .form-row.woocommerce-invalid input.input-text {
  border-color: #c0392b !important;
}
.woocommerce-checkout .form-row.woocommerce-validated input.input-text {
  border-color: #0e7950 !important;
}

/* Select2 */
.woocommerce-checkout .select2-container .select2-selection--single {
  height: 44px !important;
  border: 1px solid rgba(0,0,0,0.09) !important;
  border-radius: 5px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  color: #0a0c0f !important;
  line-height: 44px !important;
  padding-left: 14px !important;
  padding-right: 36px !important;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
  height: 44px !important;
}

.woocommerce-checkout .select2-container--open .select2-selection--single,
.woocommerce-checkout .select2-container--focus .select2-selection--single {
  border-color: #1A6593 !important;
  box-shadow: 0 0 0 3px rgba(26,101,147,0.08) !important;
}

/* Order review card */
#order_review {
  background: #f4f6f9 !important;
  border: 1px solid rgba(0,0,0,0.09) !important;
  border-radius: 8px !important;
  padding: 24px !important;
}

/* Order review table */
.woocommerce-checkout-review-order-table {
  width: 100% !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  color: #0a0c0f !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(0,0,0,0.09) !important;
  word-break: break-word !important;
}

.woocommerce-checkout-review-order-table thead th {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.10em !important;
  text-transform: uppercase !important;
  color: #6c7585 !important;
}

.woocommerce-checkout-review-order-table .product-name { width: 65% !important; }
.woocommerce-checkout-review-order-table .product-total {
  text-align: right !important;
  width: 35% !important;
}

.woocommerce-checkout-review-order-table .cart-subtotal td,
.woocommerce-checkout-review-order-table .cart-subtotal th,
.woocommerce-checkout-review-order-table .order-shipping td,
.woocommerce-checkout-review-order-table .order-shipping th {
  font-size: 13px !important;
  color: #3d4452 !important;
}

.woocommerce-checkout-review-order-table .order-total td,
.woocommerce-checkout-review-order-table .order-total th {
  font-weight: 700 !important;
  font-size: 16px !important;
  border-bottom: none !important;
  padding-top: 14px !important;
}

.woocommerce-checkout-review-order-table .order-total .amount {
  color: #1A6593 !important;
  font-family: 'JetBrains Mono', monospace !important;
}

/* Payment section */
#payment { margin-top: 20px !important; }

#payment .payment_methods {
  list-style: none !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  border: 1px solid rgba(0,0,0,0.09) !important;
  border-radius: 5px !important;
  overflow: hidden !important;
  background: #fff !important;
}

#payment .payment_methods li {
  padding: 14px 16px !important;
  border-bottom: 1px solid rgba(0,0,0,0.09) !important;
}

#payment .payment_methods li:last-child {
  border-bottom: none !important;
}

#payment .payment_methods label {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0a0c0f !important;
  cursor: pointer !important;
}

#payment .payment_box {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  color: #3d4452 !important;
  margin-top: 10px !important;
  padding: 12px 14px !important;
  background: #f4f6f9 !important;
  border-radius: 5px !important;
  border: 1px solid rgba(0,0,0,0.09) !important;
  line-height: 1.6 !important;
}

/* Place order button — hardcoded */
#place_order {
  display: block !important;
  width: 100% !important;
  padding: 16px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  background: #1A6593 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  box-shadow: none !important;
  margin-top: 16px !important;
}

#place_order:hover {
  background: #124e72 !important;
}

/* Error notices */
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  border-radius: 5px !important;
  margin-bottom: 20px !important;
}

/* ══ MOBILE — cart & checkout ══ */
@media (max-width: 768px) {
  /* Force single column on checkout */
  form.woocommerce-checkout {
    display: block !important;
  }

  /* Kill any min-width that causes overflow */
  .woocommerce-cart *,
  .woocommerce-checkout * {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Allow tables to scroll rather than overflow */
  .woocommerce-cart table.shop_table,
  .woocommerce-checkout-review-order-table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
  }

  /* Stack cart collaterals (totals) below table */
  .woocommerce-cart .cart-collaterals {
    width: 100% !important;
    float: none !important;
  }

  .woocommerce-cart .cart_totals {
    float: none !important;
    width: 100% !important;
  }

  /* Order review above billing */
  #order_review {
    margin-bottom: 28px !important;
  }

  /* Select2 full width */
  .woocommerce-checkout .select2-container {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Input overflow prevention */
  .woocommerce-checkout .form-row input.input-text,
  .woocommerce-checkout .form-row textarea {
    min-width: 0 !important;
  }
}

/* ════════════════════════════════════════════════════
   FLOATING CART BUTTON (FAB)
════════════════════════════════════════════════════ */

.wwp-cart-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #1A6593;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(26,101,147,0.35), 0 1px 4px rgba(0,0,0,0.12);
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.wwp-cart-fab:hover,
.wwp-cart-fab:focus {
  background: #124e72;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,101,147,0.45), 0 2px 6px rgba(0,0,0,0.14);
  text-decoration: none;
}

.wwp-cart-fab:active {
  transform: translateY(0);
}

.wwp-cart-fab svg {
  display: block;
  flex-shrink: 0;
}

/* Item count badge */
.wwp-cart-fab__count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: #fff;
  color: #1A6593;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  line-height: 18px;
  text-align: center;
  border-radius: 9px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.wwp-cart-fab__count--hidden {
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
}

@media (max-width: 600px) {
  .wwp-cart-fab {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }
}
