/* ═══════════════════════════════════════════════════════════
   GLENMAR — WooCommerce Global Styles
   Appearance → Customize → Additional CSS
   
   Sections:
   1. Category Grid
   2. Product Loop (Shop / Archive / Homepage)
   3. Cart
   4. Checkout
   5. My Account
   6. Login Form
   7. Global Fixes
═══════════════════════════════════════════════════════════ */





/* ═══════════════════════════════════════════════════════════
   1. CATEGORY GRID
   Controls the category cards on shop/homepage grids
═══════════════════════════════════════════════════════════ */

/* Grid container */
ul.products.elementor-grid {
  align-items: stretch !important;
}

/* Individual card */
ul.products.elementor-grid li.product-category {
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff;
  border: 1px solid #E8EDF2 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Card hover */
ul.products.elementor-grid li.product-category:hover {
  border-color: #009FE7 !important;
  box-shadow: 0 4px 16px rgba(0, 159, 231, 0.12);
}

/* Anchor wrapper */
ul.products.elementor-grid li.product-category a {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  width: 100% !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

/* Category image */
ul.products.elementor-grid li.product-category a img {
  width: 100% !important;
  height: 320px !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: none !important;
  padding: 8px !important;
  margin: 0 !important;
  display: block !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

/* Category title */
ul.products.elementor-grid li.product-category h2.woocommerce-loop-category__title {
  font-family: 'Questrial', sans-serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  color: #0C2835 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  padding: 10px 14px 12px !important;
  margin: 0 !important;
  min-height: 52px !important;
  border-top: 1px solid #E8EDF2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

/* Hide product count badge */
ul.products.elementor-grid li.product-category h2.woocommerce-loop-category__title mark.count {
  display: none !important;
}

/* Category grid — tablet (768px–1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  ul.products.elementor-grid li.product-category {
    float: none !important;
    width: calc(33.333% - 12px) !important;
    max-width: calc(33.333% - 12px) !important;
    margin: 0 !important;
  }
  ul.products.elementor-grid li.product-category a img {
    height: 200px !important;
  }
}

/* Category grid — mobile (max 767px) */
@media (max-width: 767px) {
  ul.products.elementor-grid {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  ul.products.elementor-grid li.product-category {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    margin: 0 0 16px 0 !important;
  }
  ul.products.elementor-grid li.product-category a {
    width: 100% !important;
  }
  ul.products.elementor-grid li.product-category a img {
    height: 260px !important;
    min-width: 100% !important;
  }
}





/* ═══════════════════════════════════════════════════════════
   2. PRODUCT LOOP (Shop / Archive / Homepage grids)
   Controls individual product cards in any product listing
═══════════════════════════════════════════════════════════ */

/* Consistent image height across all product cards */
ul.products li.product .woocommerce-LoopProduct-link img,
ul.products li.product a img {
  width: 100% !important;
  height: 200px !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #fff !important;
  display: block !important;
}

/* Product title */
h2.woocommerce-loop-product__title {
  font-family: 'Questrial', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0C2835 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}





/* ═══════════════════════════════════════════════════════════
   3. CART
   Mobile card layout + desktop table + totals + buttons
═══════════════════════════════════════════════════════════ */

/* ── Cart mobile (max 768px) ── */
@media screen and (max-width: 768px) {

  /* Card wrapper per item */
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item {
    display: block;
    margin: 0 0 1.5rem;
    border: 1px solid #D0DCE5;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(12, 40, 53, 0.06);
  }

  /* Each cell */
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 10px 16px;
    border-bottom: 1px solid #EAF1F5;
    box-sizing: border-box;
    font-family: 'Questrial', sans-serif;
    font-size: 15px;
    color: #0C2835;
  }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td:last-child {
    border-bottom: 0;
  }

  /* Left label from data-title attribute */
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td::before {
    content: attr(data-title);
    float: none !important;
    flex: 0 0 auto;
    margin: 0;
    font-family: 'Questrial', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #009FE7;
  }

  /* Product name */
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-name {
    align-items: flex-start;
  }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-name a {
    flex: 1 1 auto;
    text-align: right;
    word-break: break-word;
    font-family: 'Questrial', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #0C2835;
    text-decoration: none;
    line-height: 1.4;
  }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-name a:hover {
    color: #009FE7;
  }

  /* Price */
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-price .woocommerce-Price-amount {
    font-size: 15px;
    font-weight: 600;
    color: #009FE7;
  }

  /* Subtotal */
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-subtotal {
    background: #F4F8FA;
  }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-subtotal .woocommerce-Price-amount {
    font-size: 15px;
    font-weight: 700;
    color: #0C2835;
  }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-subtotal small {
    font-size: 11px;
    color: #888;
  }

  /* Thumbnail */
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-thumbnail {
    justify-content: center;
    padding: 14px 16px;
    background: #F8FBFD;
  }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-thumbnail::before {
    display: none;
  }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 6px;
  }

  /* Remove button */
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-remove {
    justify-content: flex-end;
    padding: 6px 16px;
    background: #fff;
  }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-remove::before {
    display: none;
  }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-remove a.remove {
    color: #aaa !important;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
  }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-remove a.remove:hover {
    color: #E8650A !important;
  }

  /* Quantity controls */
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-quantity .qib-button-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #D0DCE5;
    border-radius: 6px;
    overflow: hidden;
  }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-quantity .quantity {
    margin: 0;
  }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-quantity .qib-button {
    width: 34px;
    height: 36px;
    background: #F4F8FA;
    border: none;
    font-size: 16px;
    color: #0C2835;
    cursor: pointer;
    flex-shrink: 0;
    float: none;
  }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-quantity .qib-button:hover {
    background: #009FE7;
    color: #fff;
  }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-quantity input.qty {
    width: 48px;
    height: 36px;
    border: none;
    border-left: 1px solid #D0DCE5;
    border-right: 1px solid #D0DCE5;
    text-align: center;
    font-family: 'Questrial', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #0C2835;
    background: #fff;
    float: none;
  }

  /* Actions row (coupon + update cart) */
  .woocommerce-cart-form table.shop_table_responsive td.actions {
    display: block;
    padding: 16px;
  }
  .woocommerce-cart-form table.shop_table_responsive td.actions::before {
    display: none;
  }
  .woocommerce-cart-form table.shop_table_responsive td.actions .coupon {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
  }
  .woocommerce-cart-form table.shop_table_responsive td.actions .coupon input#coupon_code {
    flex: 1 1 auto;
    min-width: 0;
    border: 1px solid #D0DCE5;
    border-radius: 6px;
    padding: 10px 12px;
    font-family: 'Questrial', sans-serif;
    font-size: 14px;
    color: #0C2835;
  }
  .woocommerce-cart-form table.shop_table_responsive td.actions .coupon button {
    background: #009FE7;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 11px 16px;
    font-family: 'Questrial', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.3px;
  }
  .woocommerce-cart-form table.shop_table_responsive td.actions button[name="update_cart"] {
    width: 100%;
    background: #0C2835;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 11px 16px;
    font-family: 'Questrial', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.3px;
    margin-top: 8px;
  }
}

/* ── Cart desktop (min 769px) ── */
@media screen and (min-width: 769px) {

  /* Table frame */
  .woocommerce-cart-form table.shop_table {
    border: 1px solid #D0DCE5;
    border-radius: 10px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    font-family: 'Questrial', sans-serif;
  }

  /* Header row */
  .woocommerce-cart-form table.shop_table thead th {
    background: #F4F8FA;
    font-family: 'Questrial', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #009FE7;
    padding: 14px 16px;
    border-bottom: 1px solid #D0DCE5;
    text-align: left;
  }

  /* Body cells */
  .woocommerce-cart-form table.shop_table tbody td {
    font-family: 'Questrial', sans-serif;
    font-size: 15px;
    color: #0C2835;
    padding: 16px;
    border-bottom: 1px solid #EAF1F5;
    vertical-align: middle;
  }

  /* Product name */
  .woocommerce-cart-form table.shop_table td.product-name a {
    font-size: 15px;
    font-weight: 500;
    color: #0C2835;
    text-decoration: none;
  }
  .woocommerce-cart-form table.shop_table td.product-name a:hover {
    color: #009FE7;
  }

  /* Thumbnail */
  .woocommerce-cart-form table.shop_table td.product-thumbnail img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 6px;
  }

  /* Price */
  .woocommerce-cart-form table.shop_table td.product-price .woocommerce-Price-amount {
    font-weight: 600;
    color: #009FE7;
  }

  /* Subtotal */
  .woocommerce-cart-form table.shop_table td.product-subtotal .woocommerce-Price-amount {
    font-weight: 700;
    color: #0C2835;
  }
  .woocommerce-cart-form table.shop_table td.product-subtotal small {
    color: #888;
  }

  /* Remove button */
  .woocommerce-cart-form table.shop_table td.product-remove a.remove {
    color: #aaa !important;
    font-size: 20px;
    line-height: 1;
  }
  .woocommerce-cart-form table.shop_table td.product-remove a.remove:hover {
    color: #E8650A !important;
  }

  /* Quantity controls */
  .woocommerce-cart-form table.shop_table td.product-quantity .qib-button-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #D0DCE5;
    border-radius: 6px;
    overflow: hidden;
  }
  .woocommerce-cart-form table.shop_table td.product-quantity .quantity {
    margin: 0;
  }
  .woocommerce-cart-form table.shop_table td.product-quantity .qib-button {
    width: 36px;
    height: 38px;
    background: #F4F8FA;
    border: none;
    font-size: 16px;
    color: #0C2835;
    cursor: pointer;
    flex-shrink: 0;
    float: none;
  }
  .woocommerce-cart-form table.shop_table td.product-quantity .qib-button:hover {
    background: #009FE7;
    color: #fff;
  }
  .woocommerce-cart-form table.shop_table td.product-quantity input.qty {
    width: 54px;
    height: 38px;
    border: none;
    border-left: 1px solid #D0DCE5;
    border-right: 1px solid #D0DCE5;
    text-align: center;
    font-family: 'Questrial', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #0C2835;
    background: #fff;
    float: none;
  }

  /* Actions row */
  .woocommerce-cart-form table.shop_table td.actions {
    padding: 16px;
  }
  .woocommerce-cart-form table.shop_table td.actions::after {
    content: "";
    display: table;
    clear: both;
  }
  .woocommerce-cart-form table.shop_table td.actions .coupon {
    float: left;
    display: inline-flex;
    gap: 8px;
  }
  .woocommerce-cart-form table.shop_table td.actions .coupon input#coupon_code {
    border: 1px solid #D0DCE5;
    border-radius: 6px;
    padding: 10px 12px;
    font-family: 'Questrial', sans-serif;
    font-size: 14px;
    color: #0C2835;
    width: auto;
  }
  .woocommerce-cart-form table.shop_table td.actions .coupon button {
    background: #009FE7;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 11px 18px;
    font-family: 'Questrial', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.3px;
  }
  .woocommerce-cart-form table.shop_table td.actions .coupon button:hover {
    background: #0C2835;
  }
  .woocommerce-cart-form table.shop_table td.actions button[name="update_cart"] {
    float: right;
    background: #0C2835;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 11px 20px;
    font-family: 'Questrial', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.3px;
  }
  .woocommerce-cart-form table.shop_table td.actions button[name="update_cart"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
}

/* ── Cart totals (all screen sizes) ── */
.cart_totals > h2 {
  font-size: 24px !important;
  line-height: 1.2 !important;
  margin-bottom: 16px !important;
}
.cart_totals .shop_table tr th,
.cart_totals .shop_table tr td {
  font-family: 'Questrial', sans-serif;
  font-size: 14px;
  color: #0C2835;
  padding: 12px 16px;
}
.cart_totals .shop_table tr th {
  font-weight: 700;
  text-align: left;
}
.cart_totals .shop_table tr.order-total th,
.cart_totals .shop_table tr.order-total td {
  font-size: 16px;
  font-weight: 700;
  color: #0C2835;
  border-top: 2px solid #009FE7;
  padding-top: 16px;
}
.cart_totals .shop_table tr.order-total td .woocommerce-Price-amount {
  color: #009FE7;
}

/* Proceed to checkout button */
.wc-proceed-to-checkout .checkout-button {
  background: #009FE7 !important;
  color: #fff !important;
  font-family: 'Questrial', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 14px !important;
  letter-spacing: 0.3px !important;
  text-decoration: none !important;
}
.wc-proceed-to-checkout .checkout-button:hover {
  background: #0C2835 !important;
}





/* ═══════════════════════════════════════════════════════════
   4. CHECKOUT
   Form fields, order review table, payment box, place order
═══════════════════════════════════════════════════════════ */

/* Section headings */
.woocommerce-checkout h3,
.woocommerce-checkout #order_review_heading {
  font-family: 'Questrial', sans-serif;
  margin-bottom: 16px;
}

/* Field labels */
.woocommerce-checkout .form-row > label {
  font-family: 'Questrial', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0C2835;
  margin-bottom: 6px;
  display: block;
}
.woocommerce-checkout .optional {
  font-weight: 400;
  color: #888;
}

/* All text inputs, textareas, selects */
.woocommerce-checkout .input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
  font-family: 'Questrial', sans-serif;
  font-size: 15px;
  color: #0C2835;
  background: #fff;
  border: 1px solid #D0DCE5;
  border-radius: 6px;
  padding: 10px 12px;
  width: 100%;
  box-sizing: border-box;
  line-height: 1.4;
}
.woocommerce-checkout .input-text:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
  border-color: #009FE7;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 159, 231, 0.12);
}
.woocommerce-checkout textarea {
  min-height: 80px;
}

/* Override WooCommerce validated/invalid green/red borders */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row.woocommerce-validated input.input-text,
.woocommerce-checkout .form-row.woocommerce-validated textarea,
.woocommerce-checkout .form-row.woocommerce-validated select,
.woocommerce-checkout .form-row.woocommerce-invalid input.input-text,
.woocommerce-checkout .form-row.woocommerce-invalid textarea,
.woocommerce-checkout .form-row.woocommerce-invalid select {
  border: 1px solid #D0DCE5 !important;
  border-radius: 6px !important;
}

/* Blue glow on focus */
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
  border-color: #009FE7 !important;
}

/* Red border on invalid fields */
.woocommerce-checkout .form-row.woocommerce-invalid input.input-text,
.woocommerce-checkout .form-row.woocommerce-invalid textarea,
.woocommerce-checkout .form-row.woocommerce-invalid select,
.woocommerce-checkout .form-row.woocommerce-invalid .select2-container--default .select2-selection--single {
  border-color: #E03A3A !important;
}

/* Select2 dropdowns (Country / State) */
.woocommerce-checkout .select2-container--default .select2-selection--single,
.woocommerce-checkout .form-row .select2-container--default .select2-selection--single,
.woocommerce-checkout .form-row.woocommerce-validated .select2-container--default .select2-selection--single,
.woocommerce-checkout .form-row.woocommerce-invalid .select2-container--default .select2-selection--single {
  height: auto;
  min-height: 42px;
  border: 1px solid #D0DCE5 !important;
  border-radius: 6px !important;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  font-family: 'Questrial', sans-serif;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #0C2835;
  font-size: 15px;
  line-height: 1.4;
  padding: 0;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 50%;
  transform: translateY(-50%);
  right: 8px;
}
.woocommerce-checkout .select2-container--open .select2-selection--single,
.woocommerce-checkout .select2-container--focus .select2-selection--single {
  border-color: #009FE7 !important;
  box-shadow: 0 0 0 3px rgba(0, 159, 231, 0.12);
}

/* Coupon toggle link */
.woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon {
  color: #009FE7;
}
.checkout_coupon .button {
  background: #009FE7 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  font-family: 'Questrial', sans-serif !important;
  font-weight: 600 !important;
  padding: 11px 18px !important;
}
.checkout_coupon .button:hover {
  background: #0C2835 !important;
}

/* Order review table */
#order_review .shop_table {
  border: 1px solid #D0DCE5;
  border-radius: 10px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-family: 'Questrial', sans-serif;
}
#order_review .shop_table thead th {
  background: #F4F8FA;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #009FE7;
  padding: 14px 16px;
  border-bottom: 1px solid #D0DCE5;
  text-align: left;
}
#order_review .shop_table tbody td,
#order_review .shop_table tfoot th,
#order_review .shop_table tfoot td {
  font-size: 14px;
  color: #0C2835;
  padding: 12px 16px;
  border-bottom: 1px solid #EAF1F5;
}
#order_review .shop_table tbody td.product-name {
  font-weight: 500;
}
#order_review .shop_table .product-quantity {
  color: #009FE7;
  font-weight: 700;
}
#order_review .shop_table .product-total .woocommerce-Price-amount {
  font-weight: 600;
}
#order_review .shop_table tfoot th {
  font-weight: 700;
  text-align: left;
}
#order_review .shop_table tfoot .order-total th,
#order_review .shop_table tfoot .order-total td {
  font-size: 16px;
  font-weight: 700;
  border-top: 2px solid #009FE7;
}
#order_review .shop_table tfoot .order-total td .woocommerce-Price-amount {
  color: #009FE7;
}
#order_review .shop_table small.tax_label,
#order_review .shop_table small.includes_tax {
  color: #888;
  font-weight: 400;
}

/* Payment methods box */
#payment {
  background: #F8FBFD;
  border: 1px solid #D0DCE5;
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
}
#payment ul.payment_methods {
  border: none;
  margin: 0;
  padding: 0 0 8px;
}
#payment ul.payment_methods li {
  font-family: 'Questrial', sans-serif;
  color: #0C2835;
}
#payment .payment_box {
  background: #fff;
  border-radius: 6px;
  font-family: 'Questrial', sans-serif;
  font-size: 14px;
  color: #0C2835;
}
#payment .payment_box::before {
  border-bottom-color: #fff !important;
}

/* Terms checkbox */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  margin: 12px 0;
  font-family: 'Questrial', sans-serif;
}

/* Place order button */
.woocommerce-checkout #place_order {
  background: #009FE7 !important;
  color: #fff !important;
  font-family: 'Questrial', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 20px !important;
  width: 100%;
  letter-spacing: 0.3px;
  cursor: pointer;
}
.woocommerce-checkout #place_order:hover {
  background: #0C2835 !important;
}

/* Checkout mobile — stack columns */
@media screen and (max-width: 768px) {
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout .col2-set .col-1,
  .woocommerce-checkout .col2-set .col-2,
  .woocommerce-checkout #order_review,
  .woocommerce-checkout #order_review_heading {
    width: 100%;
    float: none;
  }
  .woocommerce-checkout .form-row-first,
  .woocommerce-checkout .form-row-last {
    width: 100%;
    float: none;
    margin-right: 0;
  }
}





/* ═══════════════════════════════════════════════════════════
   5. MY ACCOUNT
   Navigation, orders table, address cards, edit forms
═══════════════════════════════════════════════════════════ */

/* Side navigation */
.woocommerce-MyAccount-navigation {
  font-family: 'Questrial', sans-serif;
}
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce-MyAccount-navigation-link {
  border-bottom: 1px solid #EAF1F5;
}
.woocommerce-MyAccount-navigation-link a {
  display: block;
  padding: 12px 16px;
  font-family: 'Questrial', sans-serif;
  font-size: 15px;
  color: #0C2835;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.woocommerce-MyAccount-navigation-link a:hover {
  color: #009FE7;
  background: #F4F8FA;
}
.woocommerce-MyAccount-navigation-link.is-active a {
  background: #0C2835;
  color: #fff !important;
  font-weight: 600;
  border-radius: 4px;
}

/* Content area */
.woocommerce-MyAccount-content {
  font-family: 'Questrial', sans-serif;
  font-size: 15px;
  color: #0C2835;
}
.woocommerce-MyAccount-content p {
  font-family: 'Questrial', sans-serif;
  color: #0C2835;
}

/* Section heading (h3 — e.g. "Billing Address" edit page) */
.woocommerce-MyAccount-content h3 {
  font-family: 'Questrial', sans-serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #009FE7 !important;
  text-transform: none !important;
  letter-spacing: 0.3px !important;
  margin-bottom: 24px !important;
}

/* Address card heading (h2 — "Billing Address" / "Shipping Address" labels) */
.woocommerce-MyAccount-content .woocommerce-Address-title h2 {
  font-family: 'Questrial', sans-serif;
  font-size: 14px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #0C2835 !important;
  margin-bottom: 8px;
}

/* Address card edit link */
.woocommerce-Address-title .edit {
  font-family: 'Questrial', sans-serif;
  font-size: 13px;
  color: #009FE7;
  text-decoration: none;
  font-weight: 600;
}
.woocommerce-Address-title .edit:hover {
  color: #0C2835;
}

/* Address card layout */
.woocommerce-Address {
  border: 1px solid #D0DCE5;
  border-radius: 10px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(12, 40, 53, 0.06);
}
.woocommerce-Address address {
  font-family: 'Questrial', sans-serif;
  font-size: 14px;
  color: #555;
  font-style: normal;
  line-height: 1.7;
  margin-top: 12px;
}

/* Address edit form — field labels */
.woocommerce-MyAccount-content .woocommerce-address-fields label,
.woocommerce-MyAccount-content .woocommerce-address-fields p label {
  font-family: 'Questrial', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  color: #009FE7 !important;
  margin-bottom: 4px !important;
  display: block !important;
}

/* Address edit form — required star */
.woocommerce-MyAccount-content .woocommerce-address-fields .required {
  color: #E8650A !important;
}

/* Address edit form — inputs */
.woocommerce-MyAccount-content .woocommerce-address-fields input.input-text,
.woocommerce-MyAccount-content .woocommerce-address-fields select {
  font-family: 'Questrial', sans-serif !important;
  font-size: 14px !important;
  color: #0C2835 !important;
  border: 1px solid #D0DCE5 !important;
  border-radius: 6px !important;
  padding: 10px 12px !important;
  background: #fff !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease !important;
}
.woocommerce-MyAccount-content .woocommerce-address-fields input.input-text:focus,
.woocommerce-MyAccount-content .woocommerce-address-fields select:focus {
  border-color: #009FE7 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(0, 159, 231, 0.12) !important;
}

/* Address edit form — save button */
.woocommerce-MyAccount-content .woocommerce-address-fields .button,
.woocommerce-MyAccount-content .woocommerce-address-fields button[type="submit"] {
  font-family: 'Questrial', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.4px !important;
  background: #0C2835 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 12px 28px !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
  text-transform: uppercase !important;
}
.woocommerce-MyAccount-content .woocommerce-address-fields .button:hover,
.woocommerce-MyAccount-content .woocommerce-address-fields button[type="submit"]:hover {
  background: #009FE7 !important;
}

/* Account details form (Edit Account page) */
.woocommerce-EditAccountForm .woocommerce-form-row label,
.woocommerce-EditAccountForm .form-row label {
  font-family: 'Questrial', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0C2835;
  margin-bottom: 6px;
  display: block;
}
.woocommerce-EditAccountForm .input-text,
.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"] {
  font-family: 'Questrial', sans-serif;
  font-size: 15px;
  color: #0C2835;
  background: #fff;
  border: 1px solid #D0DCE5 !important;
  border-radius: 6px !important;
  padding: 10px 12px;
  width: 100%;
  box-sizing: border-box;
}
.woocommerce-EditAccountForm .input-text:focus,
.woocommerce-EditAccountForm input[type="text"]:focus,
.woocommerce-EditAccountForm input[type="email"]:focus,
.woocommerce-EditAccountForm input[type="password"]:focus {
  border-color: #009FE7 !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 159, 231, 0.12);
}

/* Password change fieldset */
.woocommerce-EditAccountForm fieldset {
  border: 1px solid #D0DCE5;
  border-radius: 8px;
  padding: 20px 20px 8px;
  margin: 20px 0;
}
.woocommerce-EditAccountForm fieldset legend {
  font-family: 'Questrial', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #009FE7;
  padding: 0 8px;
}

/* Save changes button */
.woocommerce-EditAccountForm button[type="submit"],
.woocommerce-EditAccountForm .woocommerce-Button {
  background: #009FE7 !important;
  color: #fff !important;
  font-family: 'Questrial', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 12px 24px !important;
  cursor: pointer;
  letter-spacing: 0.3px;
}
.woocommerce-EditAccountForm button[type="submit"]:hover,
.woocommerce-EditAccountForm .woocommerce-Button:hover {
  background: #0C2835 !important;
}

/* Orders table */
.woocommerce-orders-table {
  border: 1px solid #D0DCE5;
  border-radius: 10px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-family: 'Questrial', sans-serif;
  width: 100%;
}
.woocommerce-orders-table thead th {
  background: #F4F8FA;
  font-family: 'Questrial', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #009FE7;
  padding: 14px 16px;
  border-bottom: 1px solid #D0DCE5;
  text-align: left;
}
.woocommerce-orders-table tbody td {
  font-family: 'Questrial', sans-serif;
  font-size: 14px;
  color: #0C2835;
  padding: 14px 16px;
  border-bottom: 1px solid #EAF1F5;
  vertical-align: middle;
}
.woocommerce-orders-table tbody tr:last-child td {
  border-bottom: none;
}
.woocommerce-orders-table .woocommerce-orders-table__cell-order-status {
  color: #555;
}
.woocommerce-orders-table .woocommerce-orders-table__cell-order-total {
  font-weight: 600;
}

/* Orders table — View button */
.woocommerce-orders-table .woocommerce-button.button,
.woocommerce-orders-table a.button {
  background: #0C2835 !important;
  color: #fff !important;
  font-family: 'Questrial', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 8px 16px !important;
  text-decoration: none !important;
  letter-spacing: 0.3px;
  display: inline-block;
}
.woocommerce-orders-table .woocommerce-button.button:hover,
.woocommerce-orders-table a.button:hover {
  background: #009FE7 !important;
}

/* Notice/info boxes */
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-info {
  border-top-color: #009FE7;
  font-family: 'Questrial', sans-serif;
  font-size: 14px;
}
.woocommerce-MyAccount-content .woocommerce-message a.button,
.woocommerce-MyAccount-content .woocommerce-info a.button {
  background: #0C2835 !important;
  color: #fff !important;
  font-family: 'Questrial', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  padding: 8px 16px !important;
  text-decoration: none !important;
}
.woocommerce-MyAccount-content .woocommerce-message a.button:hover,
.woocommerce-MyAccount-content .woocommerce-info a.button:hover {
  background: #009FE7 !important;
}

/* My Account mobile */
@media screen and (max-width: 768px) {
  .woocommerce-MyAccount-navigation,
  .woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
  }
  .woocommerce-MyAccount-navigation {
    margin-bottom: 24px;
  }
  .woocommerce-MyAccount-navigation-link.is-active a {
    border-radius: 6px;
  }
  .woocommerce-Addresses .u-column1,
  .woocommerce-Addresses .u-column2 {
    width: 100% !important;
    float: none !important;
    margin-bottom: 16px;
  }
  .woocommerce-orders-table thead {
    display: none;
  }
  .woocommerce-orders-table tbody tr {
    display: block;
    border: 1px solid #D0DCE5;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
  }
  .woocommerce-orders-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #EAF1F5;
    padding: 10px 16px;
  }
  .woocommerce-orders-table tbody td::before {
    content: attr(data-title);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #009FE7;
    flex: 0 0 auto;
  }
  .woocommerce-orders-table tbody tr:last-child td:last-child {
    border-bottom: none;
  }
}





/* ═══════════════════════════════════════════════════════════
   6. LOGIN FORM
   Heading, labels, inputs, password toggle, button
═══════════════════════════════════════════════════════════ */

/* Page heading */
.woocommerce-form-login h2 {
  font-family: 'Questrial', sans-serif !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  color: #0C2835 !important;
  margin-bottom: 24px !important;
}

/* Field labels */
.woocommerce-form-login .woocommerce-form-row label {
  font-family: 'Questrial', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  color: #009FE7 !important;
  margin-bottom: 4px !important;
  display: block !important;
}

/* Required star */
.woocommerce-form-login .required {
  color: #E8650A !important;
}

/* Text inputs */
.woocommerce-form-login input.input-text {
  font-family: 'Questrial', sans-serif !important;
  font-size: 15px !important;
  color: #0C2835 !important;
  background: #fff !important;
  border: 1px solid #D0DCE5 !important;
  border-radius: 6px !important;
  padding: 10px 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease !important;
}
.woocommerce-form-login input.input-text:focus {
  border-color: #009FE7 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 159, 231, 0.12) !important;
}

/* Password show/hide wrapper */
.woocommerce-form-login .password-input {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  width: 100% !important;
}
.woocommerce-form-login .password-input input.input-text {
  flex: 1 !important;
  padding-right: 44px !important;
}
.woocommerce-form-login .show-password-input {
  position: absolute !important;
  right: 10px !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  color: #009FE7 !important;
  padding: 0 !important;
  font-size: 18px !important;
}

/* Remember me checkbox */
.woocommerce-form-login .woocommerce-form__label-for-checkbox {
  font-family: 'Questrial', sans-serif !important;
  font-size: 14px !important;
  color: #0C2835 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* Log in button */
.woocommerce-form-login button[name="login"],
.woocommerce-form-login .woocommerce-form-login__submit {
  background: #009FE7 !important;
  color: #fff !important;
  font-family: 'Questrial', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 12px 28px !important;
  cursor: pointer !important;
  letter-spacing: 0.3px !important;
  transition: background 0.2s ease !important;
  width: 100% !important;
  margin-top: 8px !important;
}
.woocommerce-form-login button[name="login"]:hover,
.woocommerce-form-login .woocommerce-form-login__submit:hover {
  background: #0C2835 !important;
}

/* Lost password link */
.woocommerce-LostPassword a {
  font-family: 'Questrial', sans-serif !important;
  font-size: 13px !important;
  color: #009FE7 !important;
  text-decoration: none !important;
}
.woocommerce-LostPassword a:hover {
  color: #0C2835 !important;
  text-decoration: underline !important;
}





/* ═══════════════════════════════════════════════════════════
   7. GLOBAL FIXES
   Overflow, mobile overflow prevention
═══════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
}