/*
 * UPENDS Commerce V4.3
 * Native WooCommerce responsive styling.
 * No custom cart or payment logic.
 */

body.uv-site .woocommerce,
body.uv-site .wp-block-woocommerce-cart,
body.uv-site .wp-block-woocommerce-checkout {
  --uvc-navy:#102d46;
  --uvc-blue:#087dca;
  --uvc-line:#e0ebf3;
  --uvc-light:#f4f9fd;
  color:var(--uvc-navy);
  font-family:inherit;
}

body.uv-site .woocommerce *,
body.uv-site .woocommerce *::before,
body.uv-site .woocommerce *::after {
  box-sizing:border-box;
}

/* Main heading and structural spacing */
body.uv-site .woocommerce h1,
body.uv-site .woocommerce h2,
body.uv-site .woocommerce h3 {
  color:#102d46;
  letter-spacing:-.035em;
  line-height:1.25;
}

body.uv-site .woocommerce h2 {
  font-size:clamp(22px,2.8vw,30px);
}

/* Form elements */
body.uv-site .woocommerce input.input-text,
body.uv-site .woocommerce textarea,
body.uv-site .woocommerce select {
  width:100%;
  max-width:100%;
  min-height:46px;
  padding:11px 13px;
  border:1px solid #d5e4ef;
  border-radius:10px;
  background:#fff;
  color:#102d46;
  font:inherit;
  font-size:14px;
}

body.uv-site .woocommerce textarea {
  min-height:100px;
}

body.uv-site .woocommerce input:focus-visible,
body.uv-site .woocommerce select:focus-visible,
body.uv-site .woocommerce textarea:focus-visible,
body.uv-site .woocommerce button:focus-visible,
body.uv-site .woocommerce a:focus-visible {
  outline:2px solid #087dca;
  outline-offset:3px;
}

/* Buttons */
body.uv-site .woocommerce button.button,
body.uv-site .woocommerce a.button,
body.uv-site .woocommerce input.button,
body.uv-site .woocommerce #payment
  #place_order,
body.uv-site .woocommerce a.checkout-button {
  background:#087dca;
  border:1px solid #087dca;
  border-radius:11px;
  color:#fff;
  min-height:46px;
  padding:12px 20px;
  font:inherit;
  font-size:14px;
  font-weight:750;
  line-height:1.4;
  text-align:center;
  transition:background .18s ease;
}

body.uv-site .woocommerce button.button:hover,
body.uv-site .woocommerce a.button:hover,
body.uv-site .woocommerce a.checkout-button:hover {
  background:#086bac;
  color:#fff;
}

/* Notices */
body.uv-site .woocommerce-message,
body.uv-site .woocommerce-info,
body.uv-site .woocommerce-error {
  border-radius:12px;
  border:1px solid #d5e6f2;
  background:#f3f9fd;
  color:#17354d;
  padding:18px 20px 18px 45px;
}

/* Cart table */
body.uv-site .woocommerce table.shop_table {
  width:100%;
  border:1px solid #dfebf3;
  border-collapse:separate;
  border-spacing:0;
  border-radius:15px;
  overflow:hidden;
  background:#fff;
}

body.uv-site .woocommerce table.shop_table th {
  background:#f3f8fc;
  color:#17354d;
  font-size:13px;
  font-weight:750;
  padding:15px;
}

body.uv-site .woocommerce table.shop_table td {
  padding:15px;
  border-top:1px solid #edf2f7;
  font-size:14px;
}

body.uv-site .woocommerce
  table.shop_table img {
  width:70px;
  height:70px;
  object-fit:contain;
  background:#f5f9fc;
  border-radius:9px;
}

body.uv-site .woocommerce .quantity .qty {
  width:75px;
  min-width:65px;
  text-align:center;
}

/* Totals and checkout panels */
body.uv-site .woocommerce .cart_totals,
body.uv-site .woocommerce-checkout-review-order,
body.uv-site .woocommerce #payment {
  border:1px solid #e0ebf3;
  border-radius:16px;
  background:#f7fbfe;
  padding:20px;
}

body.uv-site .woocommerce .cart_totals h2 {
  margin-top:0;
}

body.uv-site .woocommerce #payment ul.payment_methods {
  border-bottom:1px solid #dce9f2;
}

body.uv-site .woocommerce form .form-row {
  margin-bottom:14px;
}

body.uv-site .woocommerce form .form-row label {
  color:#17354d;
  font-size:13px;
  font-weight:650;
  margin-bottom:6px;
}

/* Product grid when shop becomes available */
body.uv-site .woocommerce ul.products {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin:20px 0 40px;
}

body.uv-site .woocommerce ul.products::before,
body.uv-site .woocommerce ul.products::after {
  display:none;
}

body.uv-site .woocommerce ul.products li.product {
  float:none;
  width:auto;
  margin:0;
  min-width:0;
  padding:13px;
  border:1px solid #e2edf5;
  border-radius:16px;
  background:#fff;
  overflow:hidden;
}

body.uv-site .woocommerce ul.products li.product img {
  width:100%;
  aspect-ratio:1/1;
  object-fit:contain;
  background:#f5f9fc;
  border-radius:12px;
}

body.uv-site .woocommerce ul.products
  li.product .woocommerce-loop-product__title {
  color:#102d46;
  font-size:18px;
  font-weight:800;
  padding:12px 0 5px;
}

body.uv-site .woocommerce ul.products li.product .price {
  color:#087dca;
  font-size:17px;
  font-weight:750;
}

/* Tablet */
@media(max-width:900px) {
  body.uv-site .woocommerce ul.products {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:13px;
  }
}

/* Mobile */
@media(max-width:600px) {
  body.uv-site .woocommerce ul.products {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  body.uv-site .woocommerce ul.products li.product {
    padding:9px;
    border-radius:13px;
  }

  body.uv-site .woocommerce ul.products
    li.product .woocommerce-loop-product__title {
    font-size:14px;
  }

  body.uv-site .woocommerce ul.products
    li.product .price {
    font-size:14px;
  }

  body.uv-site .woocommerce table.shop_table th,
  body.uv-site .woocommerce table.shop_table td {
    padding:11px;
    font-size:12px;
  }

  body.uv-site .woocommerce .cart_totals,
  body.uv-site .woocommerce-checkout-review-order,
  body.uv-site .woocommerce #payment {
    padding:14px;
    border-radius:13px;
  }

  body.uv-site .woocommerce .cart-collaterals
    .cart_totals {
    width:100%;
    float:none;
  }

  body.uv-site .woocommerce a.checkout-button {
    display:block;
    width:100%;
  }

  body.uv-site .woocommerce form .form-row-first,
  body.uv-site .woocommerce form .form-row-last {
    float:none;
    width:100%;
  }

  body.uv-site .woocommerce
    table.shop_table_responsive tr td {
    overflow-wrap:anywhere;
  }
}

@media(max-width:360px) {
  body.uv-site .woocommerce ul.products {
    grid-template-columns:1fr;
  }
}

@media(prefers-reduced-motion:reduce) {
  body.uv-site .woocommerce * {
    transition:none!important;
  }
}

/* =====================================================
   UPENDS V5.5 CART CHECKOUT
   DESKTOP + MOBILE / NATIVE WOOCOMMERCE
===================================================== */

body.uv-site {
  --uvc-heading:#102d46;
  --uvc-primary:#087dca;
  --uvc-border:#dce8f1;
  --uvc-muted:#667e91;
  --uvc-panel:#f6fafe;
}

/* Overall cart and checkout canvas */

body.uv-site .woocommerce {
  width:100%;
  min-width:0;
  color:var(--uvc-heading);
}

body.uv-site .woocommerce:after {
  content:"";
  display:table;
  clear:both;
}

body.uv-site .woocommerce a {
  text-underline-offset:3px;
}

body.uv-site .woocommerce p,
body.uv-site .woocommerce label {
  line-height:1.6;
}

/* Cart desktop */

@media(min-width:901px) {
  body.uv-site .woocommerce-cart-form {
    float:left;
    width:calc(100% - 360px);
    min-width:0;
  }

  body.uv-site .woocommerce
  .cart-collaterals {
    float:right;
    width:330px;
    min-width:0;
  }

  body.uv-site .woocommerce
  .cart-collaterals .cart_totals {
    width:100%;
    float:none;
  }

  body.uv-site .woocommerce
  .cart-collaterals::after {
    content:"";
    display:block;
    clear:both;
  }
}

/* Cart product table */

body.uv-site .woocommerce
table.shop_table {
  border:1px solid var(--uvc-border);
  box-shadow:0 8px 26px rgba(17,54,83,.035);
}

body.uv-site .woocommerce
table.shop_table th {
  text-transform:none;
  letter-spacing:.01em;
}

body.uv-site .woocommerce
table.shop_table .product-name a {
  color:var(--uvc-heading);
  font-weight:750;
  text-decoration:none;
}

body.uv-site .woocommerce
table.shop_table .product-name a:hover {
  color:var(--uvc-primary);
}

body.uv-site .woocommerce
.product-name dl.variation {
  margin:8px 0 0;
  color:var(--uvc-muted);
  font-size:12px;
}

body.uv-site .woocommerce
.product-name dl.variation dt,
body.uv-site .woocommerce
.product-name dl.variation dd {
  float:none;
  display:inline;
  margin:0 4px 0 0;
}

body.uv-site .woocommerce
.product-remove a.remove {
  color:#667d90!important;
  font-size:24px;
}

body.uv-site .woocommerce
.product-remove a.remove:hover {
  background:#f9e7e7;
  color:#ad3636!important;
}

/* Cart totals */

body.uv-site .woocommerce
.cart_totals {
  position:relative;
  background:var(--uvc-panel);
}

body.uv-site .woocommerce
.cart_totals h2 {
  margin:0 0 16px;
  font-size:22px;
}

body.uv-site .woocommerce
.cart_totals table {
  margin-bottom:19px;
}

body.uv-site .woocommerce
.cart_totals .order-total {
  color:var(--uvc-heading);
  font-weight:800;
}

body.uv-site .woocommerce
.cart_totals .order-total .amount {
  color:var(--uvc-primary);
  font-weight:850;
  font-size:21px;
}

/* Checkout desktop */

@media(min-width:901px) {
  body.uv-site .woocommerce-checkout
  #customer_details {
    float:left;
    width:57%;
    min-width:0;
  }

  body.uv-site .woocommerce-checkout
  #order_review_heading,
  body.uv-site .woocommerce-checkout
  #order_review {
    float:right;
    clear:right;
    width:39%;
    min-width:0;
  }

  body.uv-site .woocommerce-checkout
  #order_review_heading {
    margin:0 0 15px;
    font-size:23px;
  }

  body.uv-site .woocommerce-checkout
  #customer_details .col-1,
  body.uv-site .woocommerce-checkout
  #customer_details .col-2 {
    float:none;
    width:100%;
  }

  body.uv-site .woocommerce-checkout
  #customer_details .col-2 {
    margin-top:24px;
  }
}

/* Checkout input cards */

body.uv-site .woocommerce-checkout
#customer_details .col-1,
body.uv-site .woocommerce-checkout
#customer_details .col-2 {
  padding:23px;
  border:1px solid var(--uvc-border);
  border-radius:17px;
  background:#fff;
}

body.uv-site .woocommerce-checkout
#customer_details h3 {
  margin:0 0 20px;
  font-size:21px;
}

body.uv-site .woocommerce
.form-row .input-text,
body.uv-site .woocommerce
.form-row select {
  box-shadow:none;
  transition:border-color .16s,box-shadow .16s;
}

body.uv-site .woocommerce
.form-row .input-text:focus,
body.uv-site .woocommerce
.form-row select:focus {
  border-color:var(--uvc-primary);
  box-shadow:0 0 0 3px rgba(8,125,202,.10);
  outline:none;
}

body.uv-site .woocommerce
.select2-container .select2-selection--single {
  height:46px;
  border:1px solid #d5e4ef;
  border-radius:10px;
}

body.uv-site .woocommerce
.select2-container .select2-selection--single
.select2-selection__rendered {
  line-height:44px;
  padding-left:13px;
}

body.uv-site .woocommerce
.select2-container .select2-selection--single
.select2-selection__arrow {
  height:44px;
}

/* Order review and payment */

body.uv-site .woocommerce-checkout
#order_review {
  padding:18px;
  border:1px solid var(--uvc-border);
  border-radius:17px;
  background:var(--uvc-panel);
}

body.uv-site .woocommerce-checkout
#order_review table.shop_table {
  background:#fff;
}

body.uv-site .woocommerce-checkout
#payment {
  margin-top:16px;
  background:#fff;
}

body.uv-site .woocommerce-checkout
#payment .payment_box {
  background:#f0f7fc;
  border-radius:10px;
  color:var(--uvc-heading);
}

body.uv-site .woocommerce-checkout
#payment .payment_box::before {
  border-bottom-color:#f0f7fc;
}

body.uv-site .woocommerce-checkout
#place_order {
  width:100%;
  min-height:52px;
}

/* Account */

body.uv-site .woocommerce
.woocommerce-MyAccount-navigation {
  width:24%;
}

body.uv-site .woocommerce
.woocommerce-MyAccount-content {
  width:72%;
}

body.uv-site .woocommerce
.woocommerce-MyAccount-navigation ul {
  list-style:none;
  padding:10px;
  margin:0;
  border:1px solid var(--uvc-border);
  border-radius:15px;
  background:#f6fafe;
}

body.uv-site .woocommerce
.woocommerce-MyAccount-navigation li a {
  display:block;
  padding:12px 14px;
  border-radius:9px;
  color:var(--uvc-heading);
  text-decoration:none;
  font-weight:650;
}

body.uv-site .woocommerce
.woocommerce-MyAccount-navigation li.is-active a {
  background:#e3f2fc;
  color:var(--uvc-primary);
}

/* Tablet and mobile */

@media(max-width:900px) {
  body.uv-site .woocommerce-cart-form,
  body.uv-site .woocommerce
  .cart-collaterals,
  body.uv-site .woocommerce
  .cart-collaterals .cart_totals,
  body.uv-site .woocommerce-checkout
  #customer_details,
  body.uv-site .woocommerce-checkout
  #order_review_heading,
  body.uv-site .woocommerce-checkout
  #order_review {
    float:none;
    clear:both;
    width:100%;
    max-width:100%;
  }

  body.uv-site .woocommerce
  .cart-collaterals {
    margin-top:22px;
  }

  body.uv-site .woocommerce-checkout
  #customer_details .col-1,
  body.uv-site .woocommerce-checkout
  #customer_details .col-2 {
    float:none;
    width:100%;
    margin-bottom:15px;
  }

  body.uv-site .woocommerce-checkout
  #order_review_heading {
    margin-top:24px;
  }

  body.uv-site .woocommerce
  .woocommerce-MyAccount-navigation,
  body.uv-site .woocommerce
  .woocommerce-MyAccount-content {
    float:none;
    width:100%;
  }

  body.uv-site .woocommerce
  .woocommerce-MyAccount-content {
    margin-top:22px;
  }
}

@media(max-width:600px) {
  body.uv-site .woocommerce {
    font-size:14px;
  }

  body.uv-site .woocommerce
  table.shop_table_responsive tr {
    display:block;
    margin-bottom:13px;
    border:1px solid #e3edf5;
    border-radius:13px;
    background:#fff;
    overflow:hidden;
  }

  body.uv-site .woocommerce
  table.shop_table_responsive tr td {
    min-height:39px;
    padding:11px 12px;
  }

  body.uv-site .woocommerce
  table.shop_table_responsive tr td::before {
    color:var(--uvc-muted);
    font-weight:650;
  }

  body.uv-site .woocommerce
  table.shop_table_responsive tr td.product-thumbnail {
    text-align:center!important;
  }

  body.uv-site .woocommerce
  table.shop_table_responsive
  tr td.product-thumbnail img {
    width:104px;
    height:104px;
    margin:auto;
  }

  body.uv-site .woocommerce
  .cart_totals,
  body.uv-site .woocommerce-checkout
  #customer_details .col-1,
  body.uv-site .woocommerce-checkout
  #customer_details .col-2,
  body.uv-site .woocommerce-checkout
  #order_review {
    padding:15px;
    border-radius:13px;
  }

  body.uv-site .woocommerce
  .cart_totals h2,
  body.uv-site .woocommerce-checkout
  #customer_details h3 {
    font-size:19px;
  }

  body.uv-site .woocommerce
  form .form-row {
    width:100%;
    float:none;
    margin-bottom:13px;
  }

  body.uv-site .woocommerce
  form .form-row input.input-text,
  body.uv-site .woocommerce
  form .form-row select {
    min-height:48px;
    font-size:16px;
  }

  body.uv-site .woocommerce
  .woocommerce-MyAccount-navigation ul {
    padding:6px;
  }

  body.uv-site .woocommerce
  .woocommerce-MyAccount-navigation li a {
    padding:11px 12px;
  }
}

/* Keep keyboard navigation visible */
body.uv-site .woocommerce
a:focus-visible,
body.uv-site .woocommerce
button:focus-visible {
  outline:2px solid #087dca;
  outline-offset:3px;
}


/* UPENDS V5.8 VISUAL */

body.woocommerce-account:not(.logged-in)
.uv-container.woocommerce,
body.woocommerce-cart
.uv-container.woocommerce {
  width:calc(100% - 36px);
  max-width:1120px;
  margin-inline:auto;
}

/* Account login page */
body.woocommerce-account:not(.logged-in)
.uv-container.woocommerce {
  max-width:580px;
  padding:34px 0 65px;
}

body.woocommerce-account:not(.logged-in)
.uv-container.woocommerce > h1,
body.woocommerce-account:not(.logged-in)
.uv-container.woocommerce > h2 {
  text-align:center;
}

body.woocommerce-account:not(.logged-in)
.woocommerce h2 {
  text-align:center;
  font-size:27px;
  margin:12px 0 22px;
}

body.woocommerce-account:not(.logged-in)
.woocommerce #customer_login {
  display:block;
  margin:0;
}

body.woocommerce-account:not(.logged-in)
.woocommerce #customer_login .col-1,
body.woocommerce-account:not(.logged-in)
.woocommerce #customer_login .col-2 {
  float:none;
  width:100%;
  max-width:100%;
}

body.woocommerce-account:not(.logged-in)
.woocommerce form.login,
body.woocommerce-account:not(.logged-in)
.woocommerce form.register {
  border:1px solid #dfebf4;
  background:#fff;
  border-radius:20px;
  padding:30px;
  box-shadow:0 16px 45px rgba(20,55,85,.065);
}

body.woocommerce-account:not(.logged-in)
.woocommerce form.login .form-row,
body.woocommerce-account:not(.logged-in)
.woocommerce form.register .form-row {
  float:none;
  width:100%;
}

body.woocommerce-account:not(.logged-in)
.woocommerce form.login input.input-text,
body.woocommerce-account:not(.logged-in)
.woocommerce form.register input.input-text {
  min-height:50px;
  font-size:16px;
}

body.woocommerce-account:not(.logged-in)
.woocommerce form.login button.button,
body.woocommerce-account:not(.logged-in)
.woocommerce form.register button.button {
  display:block;
  width:100%;
  min-height:50px;
  margin:15px 0;
}

body.woocommerce-account:not(.logged-in)
.woocommerce .lost_password {
  margin-top:17px;
  text-align:center;
  font-size:13px;
}

/* Cart empty state */
body.woocommerce-cart
.uv-container.woocommerce {
  padding-top:35px;
  padding-bottom:65px;
}

body.woocommerce-cart
.woocommerce-cart-form {
  min-width:0;
}

body.woocommerce-cart
.woocommerce-notices-wrapper:empty {
  display:none;
}

body.woocommerce-cart
.woocommerce .cart-empty.woocommerce-info {
  width:100%;
  float:none;
  display:block;
  max-width:760px;
  margin:0 auto 22px;
  padding:39px 25px!important;
  border:1px solid #dcebf5;
  border-radius:17px;
  background:#f3f9fe;
  text-align:center;
  color:#17354d;
  font-size:19px;
  font-weight:750;
}

body.woocommerce-cart
.woocommerce .return-to-shop {
  text-align:center;
  margin:17px auto 30px;
}

body.woocommerce-cart
.woocommerce .return-to-shop a.button,
body.woocommerce-cart
.uv-v58-model-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:47px;
  padding:12px 24px;
  border-radius:11px;
  background:#087dca;
  color:#fff!important;
  font-weight:750;
  text-decoration:none;
}

body.woocommerce-cart
.uv-v58-cart-help {
  text-align:center;
  font-size:13px;
  color:#718698;
  margin:0 auto 14px;
}

@media(max-width:600px) {
  body.woocommerce-account:not(.logged-in)
  .uv-container.woocommerce {
    padding:24px 0 43px;
  }

  body.woocommerce-account:not(.logged-in)
  .woocommerce form.login,
  body.woocommerce-account:not(.logged-in)
  .woocommerce form.register {
    padding:20px 17px;
    border-radius:15px;
  }

  body.woocommerce-account:not(.logged-in)
  .woocommerce h2 {
    font-size:24px;
  }

  body.woocommerce-cart
  .uv-container.woocommerce {
    padding-top:18px;
    padding-bottom:43px;
  }

  body.woocommerce-cart
  .woocommerce .cart-empty.woocommerce-info {
    padding:32px 18px!important;
    font-size:17px;
  }
}
