/* =========================================================
   PLCSEA COMMERCE
   WooCommerce layouts + Industrial catalog
   ========================================================= */

/* Prevent browser scroll anchoring from fighting the compact header. */
body.woocommerce-shop,
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag {
  overflow-anchor: none;
}   


/* =========================================================
   COMMERCE SHELL
   ========================================================= */

.commerce-main {
  padding-block: 1.5rem 3.5rem;
  background:
    linear-gradient(
      180deg,
      #f7fbff 0,
      #ffffff 310px
    );
}

.commerce-main--product {
  padding-top: .8rem;
}

.commerce-container {
  min-width: 0;
}

.commerce-page-heading {
  margin-bottom: 1.25rem;
}

.commerce-page-heading h1 {
  margin-bottom: .35rem;
  font-size: 2rem;
}

.commerce-page-heading h2 {
  margin-bottom: .35rem;
  font-size: 1.3rem;
}

.commerce-page-heading p {
  max-width: 680px;
  color: var(--plcsea-ink-500);
  font-size: .8rem;
}

/* =========================================================
   SHOP — CATALOG EXPERIENCE
   New archive layout built for archive-product.php
   ========================================================= */

body.woocommerce-shop,
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag {
  overflow-anchor: none;
}



/* =========================================================
   SHOP SHELL AFTER HERO
   ========================================================= */

body.woocommerce-shop .commerce-main,
body.post-type-archive-product .commerce-main,
body.tax-product_cat .commerce-main,
body.tax-product_tag .commerce-main {
  padding-top: 0;
  background:
    linear-gradient(
      180deg,
      #f6fbff 0,
      #ffffff 360px
    );
}


/* =========================================================
   CATEGORY NAVIGATOR
   ========================================================= */

.catalog-category-nav {
  position: relative;
  z-index: 10;
  width: 100%;
  margin: 0 0 1.45rem;
  padding: .48rem .55rem;
  overflow: hidden;
  border: 1px solid #cfdfeb;
  border-radius: 14px;
  background: rgba(255,255,255,.985);
  box-shadow:
    0 12px 30px rgba(6,43,86,.085);
  backdrop-filter: blur(10px);
}

.catalog-category-nav__track {
  display: grid;
  width: 100%;
  grid-template-columns:
    1.12fr
    repeat(6,minmax(0,1fr));
  align-items: stretch;
  gap: .32rem;
  overflow: visible;
  padding: 0;
}


/* ---------------------------------------------------------
   NAV ITEM
   --------------------------------------------------------- */

.catalog-category-nav__item {
  display: flex;
  min-width: 0;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: .52rem;
  padding: .48rem .58rem;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--plcsea-navy-900);
  text-align: center;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.catalog-category-nav__item:hover {
  border-color: #c7ddef;
  background: #f5faff;
  color: var(--plcsea-ocean-700);
  transform: translateY(-1px);
}

.catalog-category-nav__item.is-active {
  border-color: #0757c8;
  background:
    linear-gradient(
      135deg,
      var(--plcsea-navy-900),
      var(--plcsea-ocean-700)
    );
  color: #fff;
  box-shadow:
    0 7px 18px rgba(7,87,200,.18);
}


/* ---------------------------------------------------------
   ALL PRODUCTS
   --------------------------------------------------------- */

.catalog-category-nav__item--all {
  justify-content: center;
  padding-inline: .8rem;
}


/* ---------------------------------------------------------
   ICON
   --------------------------------------------------------- */

.catalog-category-nav__icon {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border: 1px solid #d5e4f0;
  border-radius: 8px;
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f3f9fd
    );
  color: var(--plcsea-ocean-700);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.catalog-category-nav__item:hover
.catalog-category-nav__icon {
  border-color: #b9d9ef;
  transform: translateY(-1px);
}

.catalog-category-nav__item.is-active
.catalog-category-nav__icon {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.1);
  color: #fff;
}

.catalog-category-nav__icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ---------------------------------------------------------
   CONTENT
   --------------------------------------------------------- */

.catalog-category-nav__content {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}

.catalog-category-nav__label {
  overflow: hidden;
  color: inherit;
  font-family: var(--plcsea-font);
  font-size: .72rem;
  font-weight: 720;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-category-nav__count {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  padding-inline: .3rem;
  border-radius: 999px;
  background: #edf4fa;
  color: var(--plcsea-ink-500);
  font-family: var(--plcsea-font-tech);
  font-size: .58rem;
  font-weight: 800;
  line-height: 1;
}

.catalog-category-nav__item.is-active
.catalog-category-nav__count {
  background: rgba(255,255,255,.15);
  color: #fff;
}


/* ---------------------------------------------------------
   EMPTY CATEGORY
   --------------------------------------------------------- */

.catalog-category-nav__item
.catalog-category-nav__count:where(:not(:empty)) {
  opacity: .92;
}


/* =========================================================
   CATEGORY NAV — TABLET
   ========================================================= */

@media (max-width: 1100px) {

  .catalog-category-nav__track {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #c7d9e9 transparent;
  }

  .catalog-category-nav__item {
    min-width: max-content;
    flex: 0 0 auto;
    padding-inline: .7rem;
  }

}


/* =========================================================
   CATEGORY NAV — MOBILE
   ========================================================= */

@media (max-width: 650px) {

  body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-checkout-step {
    margin-bottom: .75rem;
    padding: .9rem .8rem;
    border-radius: 11px;
  }

  body.woocommerce-checkout .wc-block-checkout__sidebar {
    border-radius: 11px;
  }

  body.woocommerce-checkout .wc-block-components-radio-control__option,
  body.woocommerce-checkout .wc-block-components-radio-control-accordion-option {
    padding: .8rem .75rem;
  }

  body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    min-height: 50px;
  }

  .catalog-category-nav {
    padding-block: .42rem;
  }

  .catalog-category-nav__item {
    min-height: 50px;
    gap: .4rem;
    padding-inline: .58rem;
  }

  .catalog-category-nav__icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .catalog-category-nav__icon svg {
    width: 15px;
    height: 15px;
  }

  .catalog-category-nav__label {
    font-size: .6rem;
  }

  .catalog-category-nav__count {
    min-width: 18px;
    height: 18px;
    font-size: .5rem;
  }

}


/* =========================================================
   CATALOG TOOLBAR
   ========================================================= */

.catalog-listing {
  position: relative;
  min-width: 0;
  padding-top: .2rem;
}

.catalog-toolbar {
  display: flex;
  min-height: 72px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid #dde9f3;
}

.catalog-toolbar__identity {
  min-width: 0;
}

.catalog-toolbar__identity .eyebrow {
  margin-bottom: .25rem;
  font-size: .6rem;
}

.catalog-toolbar__identity h2 {
  margin: 0;
  color: var(--plcsea-navy-950);
  font-size:
    clamp(
      1.3rem,
      1.12rem + .45vw,
      1.65rem
    );
  font-weight: 800;
  line-height: 1.35;
}

.catalog-toolbar__controls {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .6rem .9rem;
}

.catalog-toolbar__controls
.woocommerce-result-count,
.woocommerce
.catalog-toolbar__controls
.woocommerce-result-count {
  order: 1;
  margin: 0;
  color: var(--plcsea-ink-500);
  font-size: .66rem;
  white-space: nowrap;
}

.catalog-toolbar__controls
.woocommerce-ordering,
.woocommerce
.catalog-toolbar__controls
.woocommerce-ordering {
  order: 2;
  margin: 0;
}

.catalog-toolbar__controls
.woocommerce-ordering select,
.woocommerce
.catalog-toolbar__controls
.woocommerce-ordering select {
  width: auto;
  min-width: 205px;
  min-height: 42px;
  padding: .45rem .8rem;
  border: 1px solid #c8dae8;
  border-radius: 8px;
  background-color: #fff;
  color: var(--plcsea-navy-900);
  font-size: .68rem;
  box-shadow:
    0 3px 10px rgba(6,37,78,.025);
}


/* =========================================================
   PRODUCT GRID
   ========================================================= */

.catalog-products {
  min-width: 0;
}

.catalog-products .products,
.woocommerce .catalog-products .products {
  display: grid;
  clear: both;
  width: 100%;
  grid-template-columns:
    repeat(4,minmax(0,1fr));
  align-items: stretch;
  justify-content: start;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-products .products::before,
.catalog-products .products::after,
.woocommerce .catalog-products .products::before,
.woocommerce .catalog-products .products::after {
  display: none;
}

.catalog-products ul.products li.product,
.woocommerce
.catalog-products
ul.products
li.product {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
}

/* =========================================================
   SHOP — INDUSTRIAL PRODUCT CARD
   ========================================================= */

:is(.catalog-listing, .cart-empty-products) .product-card {
  position: relative;
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #cbdfee;
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 4px 16px rgba(6,37,78,.045);
  isolation: isolate;
  transition:
    border-color 220ms ease,
    box-shadow 280ms ease,
    transform 280ms cubic-bezier(.22,.7,.2,1);
}


/* Premium hover accent */
:is(.catalog-listing, .cart-empty-products) .product-card::before {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background:
    linear-gradient(
      90deg,
      var(--plcsea-ocean-700),
      #19b7ff,
      var(--plcsea-ocean-700)
    );
  content: "";
  opacity: 0;
  transform: scaleX(.25);
  transform-origin: center;
  transition:
    opacity 220ms ease,
    transform 360ms cubic-bezier(.22,.7,.2,1);
}


/* Works both with and without reveal JS */
:is(.catalog-listing, .cart-empty-products) .product-card:hover,
:is(.catalog-listing, .cart-empty-products)
.product-card.is-reveal-ready.is-revealed:hover {
  border-color: #9fc8e7;
  box-shadow:
    0 18px 42px rgba(6,43,86,.12),
    0 3px 10px rgba(8,124,240,.055);
  transform: none;
}

:is(.catalog-listing, .cart-empty-products) .product-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}


/* =========================================================
   PRODUCT MEDIA
   ========================================================= */

:is(.catalog-listing, .cart-empty-products) .product-card__media {
  position: relative;
  display: grid;
  height: 220px;
  aspect-ratio: auto;
  place-items: center;
  overflow: hidden;
  padding: 1.15rem;
  border-bottom: 1px solid #e8f0f6;
  background:
    radial-gradient(
      circle at 50% 42%,
      #ffffff 0,
      #ffffff 43%,
      #f5f9fc 100%
    );
}


/* Technical subtle grid */
:is(.catalog-listing, .cart-empty-products) .product-card__media::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(
      rgba(19,106,181,.027) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(19,106,181,.027) 1px,
      transparent 1px
    );
  background-size: 28px 28px;
  content: "";
  opacity: .55;
  pointer-events: none;
}


:is(.catalog-listing, .cart-empty-products) .product-card__media::after {
  position: absolute;
  z-index: 1;
  right: 9%;
  bottom: 0;
  left: 9%;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(8,124,240,.22),
      transparent
    );
  content: "";
}


:is(.catalog-listing, .cart-empty-products) .product-card__media img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(
      0 7px 12px rgba(8,35,67,.04)
    );
  transform: scale(.94) translateY(0);
  transition:
    transform 420ms cubic-bezier(.22,.7,.2,1),
    filter 320ms ease;
}


:is(.catalog-listing, .cart-empty-products)
.product-card:hover
.product-card__media img {
  filter:
    drop-shadow(
      0 12px 16px rgba(8,35,67,.09)
    );
  transform: scale(1.015) translateY(-3px);
}


/* =========================================================
   PRODUCT BODY
   ========================================================= */

:is(.catalog-listing, .cart-empty-products) .product-card__body {
    display: flex;
    min-height: 292px;
    flex: 1;
    flex-direction: column;

    padding: .95rem 1rem 1rem;

    background:
        linear-gradient(
            180deg,
            #f9fcff 0%,
            #f4f9fe 100%
        );
}


/* =========================================================
   PRODUCT META
   ========================================================= */

:is(.catalog-listing, .cart-empty-products) .product-card__meta {
  display: flex;
  width: 100%;
  min-height: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: .5rem;
  margin: 0 0 .5rem;
}


:is(.catalog-listing, .cart-empty-products)
.product-card__meta span {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  padding: .18rem .5rem;
  border: 1px solid #d7e5f0;
  border-radius: 6px;
  background: #f5f9fc;
  color: var(--plcsea-ink-700);
  font-family: var(--plcsea-font-tech);
  font-size: .57rem;
  font-weight: 700;
  line-height: 1;
  transition:
    border-color 200ms ease,
    background-color 200ms ease,
    color 200ms ease;
}


:is(.catalog-listing, .cart-empty-products)
.product-card__meta
span:first-child {
  border-color: #bfdbf0;
  background: #edf7ff;
  color: var(--plcsea-ocean-700);
}


:is(.catalog-listing, .cart-empty-products)
.product-card:hover
.product-card__meta span {
  border-color: #bfd9ec;
}


/* =========================================================
   TITLE
   ========================================================= */

:is(.catalog-listing, .cart-empty-products) .product-card h3,
:is(.catalog-listing, .cart-empty-products) .product-card__title {
  min-height: auto;
  margin: 0 0 .2rem;
  font-family: var(--plcsea-font-tech);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: -.012em;
  direction: ltr;
  text-align: left;
}


:is(.catalog-listing, .cart-empty-products) .product-card h3 a,
:is(.catalog-listing, .cart-empty-products) .product-card__title a {
  color: var(--plcsea-navy-950);
  transition: color 180ms ease;
}


:is(.catalog-listing, .cart-empty-products) .product-card h3 a:hover,
:is(.catalog-listing, .cart-empty-products) .product-card__title a:hover,
:is(.catalog-listing, .cart-empty-products)
.product-card:hover
.product-card__title a {
  color: var(--plcsea-ocean-700);
}


/* =========================================================
   PRODUCT IDENTITY
   ========================================================= */

:is(.catalog-listing, .cart-empty-products) .product-card__identity {
  display: flex;
  min-height: 22px;
  align-items: center;
  flex-wrap: wrap;
  gap: .3rem .5rem;
  margin: 0 0 .7rem;
  color: var(--plcsea-ink-500);
  font-family: var(--plcsea-font-tech);
  font-size: .62rem;
  font-weight: 500;
  direction: ltr;
  text-align: left;
}


:is(.catalog-listing, .cart-empty-products)
.product-card__identity span {
  position: relative;
}


:is(.catalog-listing, .cart-empty-products)
.product-card__identity span + span {
  padding-left: .55rem;
}


:is(.catalog-listing, .cart-empty-products)
.product-card__identity span + span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #9eb3c5;
  content: "";
  transform: translateY(-50%);
}


/* =========================================================
   TECHNICAL SPECIFICATIONS
   ========================================================= */

:is(.catalog-listing, .cart-empty-products) .product-card__specs {
  display: flex;
  min-height: 64px;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 .85rem;
  padding: .7rem;
  border: 1px solid #e2ecf4;
  border-radius: 8px;
  background:
    linear-gradient(
      135deg,
      #fbfdff,
      #f6faff
    );
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}


:is(.catalog-listing, .cart-empty-products)
.product-card:hover
.product-card__specs {
  border-color: #c7deef;
  background:
    linear-gradient(
      135deg,
      #fbfdff,
      #f1f9ff
    );
  box-shadow:
    inset 0 0 0 1px rgba(8,124,240,.018);
}


:is(.catalog-listing, .cart-empty-products) .product-card__spec {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  justify-content: center;
  padding: .27rem .5rem;
  border: 1px solid #d8e6f1;
  border-radius: 6px;
  background: #fff;
  color: var(--plcsea-navy-900);
  font-family: var(--plcsea-font-tech);
  font-size: .59rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow:
    0 1px 2px rgba(6,37,78,.025);
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}


:is(.catalog-listing, .cart-empty-products)
.product-card:hover
.product-card__spec {
  border-color: #bed9ed;
  color: var(--plcsea-ocean-700);
}


:is(.catalog-listing, .cart-empty-products)
.product-card:hover
.product-card__spec:nth-child(1) {
  transform: translateY(-1px);
}


:is(.catalog-listing, .cart-empty-products)
.product-card:hover
.product-card__spec:nth-child(2) {
  transform: translateY(-1px);
  transition-delay: 25ms;
}


:is(.catalog-listing, .cart-empty-products)
.product-card:hover
.product-card__spec:nth-child(3) {
  transform: translateY(-1px);
  transition-delay: 50ms;
}


:is(.catalog-listing, .cart-empty-products)
.product-card:hover
.product-card__spec:nth-child(4) {
  transform: translateY(-1px);
  transition-delay: 75ms;
}


:is(.catalog-listing, .cart-empty-products)
.product-card:hover
.product-card__spec:nth-child(5) {
  transform: translateY(-1px);
  transition-delay: 100ms;
}


/* =========================================================
   COMMERCE
   ========================================================= */

:is(.catalog-listing, .cart-empty-products) .product-card__commerce {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid #e7eff5;
}


:is(.catalog-listing, .cart-empty-products) .product-card__price {
  min-width: 0;
  min-height: 30px;
  margin: 0;
  color: var(--plcsea-navy-950);
  font-size: .88rem;
  font-weight: 850;
  line-height: 1.6;
}


:is(.catalog-listing, .cart-empty-products)
.product-card__price
.woocommerce-Price-amount {
  font-weight: 850;
}


:is(.catalog-listing, .cart-empty-products)
.product-card__price del {
  margin-inline-end: .35rem;
  color: var(--plcsea-ink-500);
  font-size: .64rem;
  font-weight: 500;
}


:is(.catalog-listing, .cart-empty-products)
.product-card__price ins {
  text-decoration: none;
}


.catalog-listing .stock-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .38rem;
  color: var(--plcsea-ink-700);
  font-size: .61rem;
  font-weight: 700;
  white-space: nowrap;
}


.catalog-listing .stock-badge::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow:
    0 0 0 3px rgba(21,145,92,.08);
  content: "";
}


.catalog-listing .stock-badge.in-stock {
  color: var(--plcsea-success);
}


.catalog-listing .stock-badge.out-stock {
  color: var(--plcsea-danger);
}


/* =========================================================
   PRODUCT ACTIONS
   ========================================================= */

:is(.catalog-listing, .cart-empty-products) .product-card__actions {
  display: flex;
  align-items: stretch;
  gap: .45rem;
  margin-top: .75rem;
}


:is(.catalog-listing, .cart-empty-products) .product-card__view {
  display: inline-flex;
  min-width: 0;
  min-height: 41px;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: .55rem .8rem;
  border: 1px solid #c7dced;
  border-radius: 7px;
  background: #f8fbfe;
  color: var(--plcsea-ocean-700);
  font-size: .68rem;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  transition:
    border-color 200ms ease,
    background-color 200ms ease,
    color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}


:is(.catalog-listing, .cart-empty-products)
.product-card:hover
.product-card__view {
  border-color: #acd1eb;
  background: #eef8ff;
  color: var(--plcsea-navy-900);
}


:is(.catalog-listing, .cart-empty-products) .product-card__view:hover {
  border-color: var(--plcsea-ocean-700);
  background:
    linear-gradient(
      135deg,
      var(--plcsea-navy-900),
      var(--plcsea-ocean-700)
    );
  color: #fff;
  box-shadow:
    0 6px 15px rgba(7,87,200,.14);
  transform: translateY(-1px);
}


:is(.catalog-listing, .cart-empty-products) .product-card__cart {
  display: inline-grid;
  width: 41px;
  height: 41px;
  flex: 0 0 41px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--plcsea-ocean-700);
  border-radius: 7px;
  background:
    linear-gradient(
      135deg,
      var(--plcsea-navy-900),
      var(--plcsea-ocean-700)
    );
  color: #fff;
  box-shadow:
    0 5px 13px rgba(7,87,200,.14);
  transition: none;
}


:is(.catalog-listing, .cart-empty-products) .product-card__cart:hover {
  border-color: #158ff5;
  background:
    linear-gradient(
      135deg,
      #075fc8,
      #158ff5
    );
  color: #fff;
  box-shadow: 0 6px 14px rgba(7,87,200,.18);
  transform: none;
}


:is(.catalog-listing, .cart-empty-products) .product-card__cart svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* =========================================================
   PRODUCT CARD — KEYBOARD ACCESSIBILITY
   ========================================================= */

:is(.catalog-listing, .cart-empty-products)
.product-card:focus-within {
  border-color: #8bbfe5;
  box-shadow:
    0 0 0 3px rgba(8,124,240,.08),
    0 12px 30px rgba(6,43,86,.08);
}


:is(.catalog-listing, .cart-empty-products)
.product-card__view:focus-visible,
:is(.catalog-listing, .cart-empty-products)
.product-card__cart:focus-visible,
:is(.catalog-listing, .cart-empty-products)
.product-card__title a:focus-visible {
  outline: 2px solid var(--plcsea-ocean-600);
  outline-offset: 3px;
}

/* =========================================================
   PLCSEA SINGLE PRODUCT — PRODUCT HERO
   ========================================================= */

body.single-product {
    overflow-anchor: none;
}

.plcsea-product-page {
    width: 100%;
}


/* =========================================================
   HERO SHELL
   ========================================================= */

.plcsea-product-hero {
    position: relative;
    padding: 1.5rem 0 1.9rem;
    border-bottom: 1px solid #dce8f2;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(8, 124, 240, .045),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #f9fcff 0%,
            #ffffff 85%
        );
}

.plcsea-product-hero__inner {
    display: grid;
    width: 100%;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    align-items: start;

    gap: clamp(2.5rem, 4vw, 4.5rem);

    direction: ltr;
}

.plcsea-product-hero__content,
.plcsea-product-hero__media {
    width: 100%;
    min-width: 0;
}

.plcsea-product-hero__content {
    padding-top: .25rem;
    direction: rtl;
}

.plcsea-product-hero__media {
    direction: rtl;
}


/* =========================================================
   PRODUCT IDENTITY
   ========================================================= */

.plcsea-product-hero
.product-identity {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: .3rem .55rem;

    margin: 0 0 .45rem;

    color: #0874e8;

    font-family: var(--plcsea-font-tech);
    font-size: .61rem;
    font-weight: 800;

    direction: ltr;
    text-align: left;
}


/* =========================================================
   TITLE
   ========================================================= */

.plcsea-product-hero__title {
    margin: 0;

    color: #061f45;

    font-family: var(--plcsea-font-tech);
    font-size:
        clamp(
            2rem,
            1.75rem + 1vw,
            2.75rem
        );

    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -.03em;

    direction: ltr;
    text-align: left;
}


/* =========================================================
   SHORT DESCRIPTION
   ========================================================= */

.plcsea-product-hero__excerpt {
    margin-top: .75rem;
}

.plcsea-product-hero__excerpt
.woocommerce-product-details__short-description {
    max-width: 620px;
    margin: 0;

    color: #536b82;

    font-size: .74rem;
    line-height: 2;

    text-align: right;
}

.plcsea-product-hero__excerpt p {
    margin: 0;
}


/* =========================================================
   TECHNICAL HIGHLIGHTS
   ========================================================= */

.plcsea-product-hero__highlights {
    margin-top: .9rem;
}

.plcsea-product-hero
.product-highlights {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: .5rem;

    margin: 0;
}

.plcsea-product-hero
.product-highlights > div {
    min-width: 0;

    padding: .62rem .45rem;

    border: 1px solid #e2ebf3;
    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f6f9fc
        );

    text-align: center;

    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.plcsea-product-hero
.product-highlights > div:hover {
    border-color: #b7d6ed;

    box-shadow:
        0 5px 14px rgba(6, 37, 78, .045);

    transform: translateY(-1px);
}

.plcsea-product-hero
.product-highlights small,
.plcsea-product-hero
.product-highlights strong {
    display: block;
}

.plcsea-product-hero
.product-highlights small {
    margin-bottom: .2rem;

    color: #7b8ea1;

    font-size: .52rem;
    line-height: 1.4;
}

.plcsea-product-hero
.product-highlights strong {
    overflow: hidden;

    color: #06244f;

    font-family: var(--plcsea-font-tech);
    font-size: .7rem;
    font-weight: 800;

    line-height: 1.4;

    text-overflow: ellipsis;
    white-space: nowrap;

    direction: ltr;
}


/* =========================================================
   PRICE + STATUS
   ========================================================= */

.plcsea-product-commerce {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 1rem;

    margin-top: 1.55rem;

    padding: .15rem 0 .2rem;

    border: 0;

    direction: ltr;
}

.plcsea-product-commerce__price
.price {
    margin: 0 !important;

    color: #061f45 !important;

    font-family: var(--plcsea-font);
    font-size: 1.12rem !important;
    font-weight: 900 !important;

    line-height: 1.5;
}

.plcsea-product-commerce__price
.woocommerce-Price-amount {
    color: inherit;
    font-weight: inherit;
}

.plcsea-product-status {
    display: inline-flex;

    align-items: center;

    gap: .4rem;

    min-height: 28px;

    padding: .28rem .65rem;

    border-radius: 999px;

    font-family: var(--plcsea-font);
    font-size: .8rem;
    font-weight: 800;

    white-space: nowrap;

    direction: rtl;
}

.plcsea-product-status__dot {
    width: 6px;
    height: 6px;

    flex: 0 0 6px;

    border-radius: 50%;

    background: currentColor;
}

.plcsea-product-status--available {
    border: 0;
    background: transparent;
    color: #13945c;
}

.plcsea-product-status--backorder {
    border: 0;
    background: transparent;
    color: #ad7500;
}

.plcsea-product-status--unavailable {
    border: 0;
    background: transparent;
    color: #c44759;
}


/* =========================================================
   PURCHASE
   ========================================================= */

.plcsea-product-purchase {
    margin-top: 1.2rem;

    padding: 0;

    border: 0;
    border-radius: 0;

    background: transparent;

    box-shadow: none;
}

.plcsea-product-purchase__form {
    width: 100%;
}

.plcsea-product-purchase__form
form.cart {
    display: grid !important;

    width: 100%;

    grid-template-columns:
        145px
        minmax(0, 1fr);

    align-items: stretch;

    gap: .65rem;

    margin: 0 !important;

    direction: ltr;
}


/* =========================================================
   QUANTITY
   ========================================================= */

.plcsea-product-purchase
.quantity {
    display: grid !important;

    width: 145px;
    height: 42px;

    grid-column: 1;
    grid-row: 1;

    grid-template-columns:
        36px
        minmax(0, 1fr)
        36px;

    align-items: stretch;

    overflow: hidden;

    float: none !important;

    margin: 0 !important;
    padding: 0;

    border: 1px solid #77baf3;
    border-radius: 7px;

    background: #fff;

    direction: ltr;
}

.plcsea-product-purchase
.quantity::before {
    display: none;
}

.plcsea-product-purchase
.quantity
.qty {
    width: 100% !important;
    min-width: 0;

    height: 40px;

    position: relative;
    top: -5px;  

    margin: 0;
    padding: 0;

    border: 0 !important;

    outline: 0;

    background: transparent;

    color: #06244f;

    font-family: var(--plcsea-font-tech);
    font-size: .76rem;
    font-weight: 800;

    text-align: center;

    appearance: textfield;
    -moz-appearance: textfield;
}

.plcsea-product-purchase
.quantity
.qty::-webkit-inner-spin-button,
.plcsea-product-purchase
.quantity
.qty::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.plcsea-qty-button {
    display: grid;

    width: 36px;
    height: 40px;

    place-items: center;

    margin: 0;
    padding: 0;

    border: 0;

    background: transparent;

    color: #06244f;

    font-family: Arial, sans-serif;
    font-size: .9rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 180ms ease,
        color 180ms ease;
}

.plcsea-qty-button:hover {
    background: #eef7ff;
    color: #0874e8;
}


/* =========================================================
   ADD TO CART
   ========================================================= */

.plcsea-product-purchase
.single_add_to_cart_button {
    display: flex !important;

    width: 100% !important;
    min-width: 0;
    min-height: 42px;

    grid-column: 2;
    grid-row: 1;

    align-items: center;
    justify-content: center;

    float: none !important;

    margin: 0 !important;

    padding: .5rem 1rem !important;

    border: 1px solid #0874e8 !important;
    border-radius: 7px !important;

    background:
        linear-gradient(
            135deg,
            #087cf0,
            #0759c8
        ) !important;

    color: #fff !important;

    font-family: var(--plcsea-font) !important;
    font-size: .67rem !important;
    font-weight: 800 !important;

    box-shadow:
        0 5px 13px rgba(7, 91, 200, .13);

    cursor: pointer;

    transition:
        box-shadow 180ms ease,
        transform 180ms ease;
}

.plcsea-product-purchase
.single_add_to_cart_button:hover {
    box-shadow:
        0 8px 18px rgba(7, 91, 200, .19);

    transform: translateY(-1px);
}


/* =========================================================
   PURCHASE NOTE
   ========================================================= */

.plcsea-product-purchase__note {
    margin: .7rem 0 0;

    color: #8092a3;

    font-size: .56rem;
    line-height: 1.75;

    text-align: right;
}


/* =========================================================
   CONSULTATION
   ========================================================= */

.plcsea-product-hero__consultation {
    margin-top: .9rem;
}

.plcsea-product-hero
.product-consultation {
    margin: 0;
}

.plcsea-product-hero
.product-consultation .button {
    display: flex;

    width: 100%;
    min-height: 39px;

    align-items: center;
    justify-content: center;

    margin: 0;

    padding: .45rem .9rem;

    border: 1px solid #8bc4fa;
    border-radius: 7px;

    background: #f9fcff;

    color: #0871df;

    font-family: var(--plcsea-font);
    font-size: .63rem;
    font-weight: 800;

    box-shadow: none;

    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        color 180ms ease;
}

.plcsea-product-hero
.product-consultation .button:hover {
    border-color: #0874e8;
    background: #eef8ff;
    color: #075fc8;
}


/* =========================================================
   PRODUCT META
   ========================================================= */

.plcsea-product-hero__meta {
    margin-top: 1.35rem;
}

.plcsea-product-hero
.product_meta {
    display: flex;

    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    gap: .35rem .8rem;

    margin: 0;

    padding-top: .8rem;

    border-top: 1px solid #e1ebf3;

    color: #71869a;

    font-size: .57rem;
    line-height: 1.7;
}

.plcsea-product-hero
.product_meta a {
    color: #0874e8;
}


/* =========================================================
   PRODUCT GALLERY
   ========================================================= */

.plcsea-product-gallery {
    position: relative;

    width: 100%;
    min-width: 0;
}

.plcsea-product-hero
.woocommerce-product-gallery {
    float: none !important;

    width: 100% !important;

    margin: 0 !important;
}

.plcsea-product-hero
.woocommerce-product-gallery__wrapper {
    position: relative;

    overflow: hidden;

    margin: 0;

    border: 1px solid #d7e6f1;
    border-radius: 14px;

    background:
        linear-gradient(
            rgba(8, 124, 240, .022) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(8, 124, 240, .022) 1px,
            transparent 1px
        ),
        radial-gradient(
            circle at 50% 45%,
            #ffffff,
            #f8fbfe 84%
        );

    background-size:
        32px 32px,
        32px 32px,
        auto;

    box-shadow:
        0 8px 24px rgba(6, 37, 78, .04);
}

.plcsea-product-hero
.woocommerce-product-gallery__image {
    display: grid;

    height: 455px;
    min-height: 0;

    place-items: center;

    padding: 1.45rem;
}

.plcsea-product-hero
.woocommerce-product-gallery__image a {
    display: grid;

    width: 100%;
    height: 100%;

    place-items: center;
}

.plcsea-product-hero
.woocommerce-product-gallery__image > a > img {
    display: block;

    width: auto !important;
    max-width: 88% !important;

    height: auto !important;
    max-height: 405px;

    margin: 0 auto !important;

    object-fit: contain;
}

.plcsea-product-hero .woocommerce-product-gallery__image .zoomImg {
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: initial;
}


/* =========================================================
   FUTURE GALLERY THUMBNAILS
   ========================================================= */

.plcsea-product-hero
.flex-control-thumbs {
    display: grid !important;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: .5rem;

    margin: .55rem 0 0 !important;
    padding: 0 !important;

    list-style: none;
}

.plcsea-product-hero
.flex-control-thumbs li {
    float: none !important;

    width: auto !important;

    margin: 0 !important;
}

.plcsea-product-hero
.flex-control-thumbs img {
    display: block;

    width: 100% !important;
    height: 64px !important;

    padding: .3rem;

    border: 1px solid #d9e6f0;
    border-radius: 7px;

    background: #fff;

    object-fit: contain;

    opacity: .7;

    cursor: pointer;
}

.plcsea-product-hero
.flex-control-thumbs img:hover,
.plcsea-product-hero
.flex-control-thumbs img.flex-active {
    border-color: #87bfe9;
    opacity: 1;
}


/* =========================================================
   ZOOM
   ========================================================= */

.plcsea-product-hero
.woocommerce-product-gallery__trigger {
    top: 12px !important;
    right: 12px !important;

    width: 34px !important;
    height: 34px !important;

    border: 1px solid #cee0ec !important;
    border-radius: 8px !important;

    background: rgba(255, 255, 255, .96) !important;

    box-shadow:
        0 4px 11px rgba(6, 37, 78, .06);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .plcsea-product-hero__inner {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 1.8rem;
    }

    .plcsea-product-hero
    .product-highlights {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .plcsea-product-hero
    .woocommerce-product-gallery__image {
        height: 410px;
    }

    .plcsea-product-hero
    .woocommerce-product-gallery__image img {
        max-height: 360px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 780px) {

    .plcsea-product-hero {
        padding-block: 1rem 1.6rem;
    }

    .plcsea-product-hero__inner {
        grid-template-columns: 1fr;

        gap: 1.25rem;
    }

    .plcsea-product-hero__media {
        order: -1;
    }

    .plcsea-product-hero
    .woocommerce-product-gallery__image {
        height: 340px;
    }

    .plcsea-product-hero
    .woocommerce-product-gallery__image img {
        max-height: 300px;
    }

    .plcsea-product-hero__title {
        font-size: 2rem;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .plcsea-product-hero
    .woocommerce-product-gallery__image {
        height: 290px;
    }

    .plcsea-product-hero
    .woocommerce-product-gallery__image img {
        max-height: 250px;
    }

    .plcsea-product-hero
    .product-highlights {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .plcsea-product-purchase__form
    form.cart {
        grid-template-columns: 1fr;
    }

    .plcsea-product-purchase
    .quantity {
        width: 100%;

        grid-column: 1;
        grid-row: 1;
    }

    .plcsea-product-purchase
    .single_add_to_cart_button {
        grid-column: 1;
        grid-row: 2;
    }

}


/* =========================================================
   PRODUCT INFORMATION — TAB SYSTEM
   ========================================================= */

.product-information {
    padding-top: 1.5rem;
    border-top: 1px solid #dce8f2;
}


/* ---------------------------------------------------------
   SECTION HEADING
   --------------------------------------------------------- */

.product-information .section-heading {
    margin-bottom: 1.2rem;
}

.product-information .section-heading h2 {
    margin: .2rem 0 0;

    color: #061f45;

    font-size:
        clamp(
            1.65rem,
            1.4rem + .7vw,
            2.15rem
        );

    font-weight: 850;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   MAIN CARD
   --------------------------------------------------------- */

.product-information__tabs {
    overflow: hidden;

    border: 1px solid #d7e5f0;
    border-radius: 13px;

    background: #fff;

    box-shadow:
        0 7px 24px rgba(6,37,78,.045);
}


/* ---------------------------------------------------------
   TAB NAVIGATION
   --------------------------------------------------------- */

.product-information__nav {
    display: flex;
    width: 100%;

    align-items: stretch;

    border-bottom: 1px solid #dfeaf3;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbfdff
        );

    direction: rtl;
}


/* ---------------------------------------------------------
   TAB BUTTON
   --------------------------------------------------------- */

.product-information__tab {
    position: relative;

    min-width: 0;
    min-height: 58px;

    flex: 1 1 0;

    padding: .8rem 1rem;

    border: 0;
    outline: 0;

    background: transparent;

    color: #536b82;

    font-family: var(--plcsea-font);
    font-size: .72rem;
    font-weight: 750;

    line-height: 1.6;

    cursor: pointer;

    transition:
        color 180ms ease,
        background-color 180ms ease;
}


/* Separator between tabs */

.product-information__tab + .product-information__tab {
    border-right: 1px solid #edf2f6;
}


/* Hover */

.product-information__tab:hover {
    background: #f7fbff;
    color: #0874e8;
}


/* ---------------------------------------------------------
   ACTIVE TAB
   --------------------------------------------------------- */

.product-information__tab.is-active {
    background: #fff;

    color: #0874e8;

    font-weight: 850;
}

.product-information__tab.is-active::after {
    position: absolute;

    right: 18%;
    bottom: -1px;
    left: 18%;

    height: 3px;

    border-radius: 3px 3px 0 0;

    background:
        linear-gradient(
            90deg,
            #168df6,
            #075ed2
        );

    content: "";
}


/* ---------------------------------------------------------
   KEYBOARD ACCESSIBILITY
   --------------------------------------------------------- */

.product-information__tab:focus-visible {
    z-index: 2;

    outline: 2px solid #66b8f4;
    outline-offset: -3px;
}


/* ---------------------------------------------------------
   PANELS
   --------------------------------------------------------- */

.product-information__panels {
    min-width: 0;
}

.product-information__panel {
    min-width: 0;
}

.product-information__panel[hidden] {
    display: none !important;
}


/* ---------------------------------------------------------
   PANEL CONTENT
   --------------------------------------------------------- */

.product-information__content {
    padding: 1.35rem 1.4rem 1.5rem;

    color: #486178;

    font-size: .8rem;

    line-height: 2;
}

.product-information__content > :first-child {
    margin-top: 0;
}

.product-information__content > :last-child {
    margin-bottom: 0;
}


/* Hide WooCommerce duplicate headings inside panels */

.product-information__content > h2 {
    display: none;
}


.plcsea-specifications table {
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid #d8e6f1;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    background: #fff;
}

.plcsea-specifications th,
.plcsea-specifications td {
    padding: .82rem 1rem;
    border: 0;
    border-bottom: 1px solid #e3edf5;
    vertical-align: middle;
    transition: background-color .18s ease;
}

.plcsea-specifications tr:last-child th,
.plcsea-specifications tr:last-child td {
    border-bottom: 0;
}

.plcsea-specifications th {
    width: 24%;
    background: #f4f9fd;
    color: #08264f;
    font-family: var(--plcsea-font);
    font-size: .71rem;
    font-weight: 800;
    line-height: 1.7;
    text-align: right;
}

.plcsea-specifications td {
    background: #fff;
    color: #405b73;
    font-family: var(--plcsea-font);
    font-size: .74rem;
    font-weight: 550;
    line-height: 1.8;
    text-align: right;
}

.plcsea-specifications td[dir="ltr"],
.plcsea-specifications td code,
.plcsea-specifications td .technical-value {
    font-family: var(--plcsea-font-tech);
    direction: ltr;
    unicode-bidi: isolate;
    text-align: left;
}

.plcsea-specifications tr:nth-child(even) td {
    background: #fbfdff;
}

.plcsea-specifications tr:hover th,
.plcsea-specifications tr:hover td {
    background: #f1f8fe;
}

@media (max-width: 680px) {
    .plcsea-specifications table,
    .plcsea-specifications tbody,
    .plcsea-specifications tr,
    .plcsea-specifications th,
    .plcsea-specifications td {
        display: block;
        width: 100%;
    }

    .plcsea-specifications tr {
        border-bottom: 1px solid #e3edf5;
    }

    .plcsea-specifications tr:last-child {
        border-bottom: 0;
    }

    .plcsea-specifications th,
    .plcsea-specifications td {
        border-bottom: 0;
    }

    .plcsea-specifications th {
        padding-bottom: .35rem;
        background: #f4f9fd;
    }

    .plcsea-specifications td {
        padding-top: .35rem;
    }
}

/* =========================================================
   SINGLE PRODUCT — RELATED PRODUCTS
   Compact industrial cards
   ========================================================= */

.single-product .related.products,
.single-product .upsells.products {
    width: 100%;
    margin-top: 2rem;
}

/* Section title */

.single-product .related.products > h2,
.single-product .upsells.products > h2 {
    margin: 0 0 1rem;
    color: #061f45;
    font-family: var(--plcsea-font);
    font-size: 1.15rem;
    font-weight: 850;
    line-height: 1.6;
    text-align: right;
}

/* Grid */

.single-product .related.products ul.products,
.single-product .upsells.products ul.products {
    display: grid;
    clear: both;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.single-product .related.products ul.products::before,
.single-product .related.products ul.products::after,
.single-product .upsells.products ul.products::before,
.single-product .upsells.products ul.products::after {
    display: none;
}

/* WooCommerce column reset */

.single-product .related.products ul.products li.product,
.single-product .upsells.products ul.products li.product {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
}

/* Card */

.single-product .related.products .product-card,
.single-product .upsells.products .product-card {
    position: relative;
    display: flex;
    min-height: 0;
    height: auto;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #d9e6f0;
    border-radius: 10px;
    background: #fff;
    box-shadow:
        0 3px 12px rgba(6, 37, 78, .04);
    transition:
        border-color 180ms ease,
        box-shadow 220ms ease,
        transform 220ms ease;
}

.single-product .related.products .product-card:hover,
.single-product .upsells.products .product-card:hover {
    border-color: #a9cde8;
    box-shadow:
        0 10px 24px rgba(6, 43, 86, .08);
    transform: translateY(-3px);
}

/* Image */

.single-product .related.products .product-card__media,
.single-product .upsells.products .product-card__media {
    display: grid;
    height: 145px;
    place-items: center;
    overflow: hidden;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #e8f0f6;
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f7fafc
        );
}

.single-product .related.products .product-card__media img,
.single-product .upsells.products .product-card__media img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 118px;
    margin: 0 auto;
    object-fit: contain;
    transform: none;
    transition: transform 240ms ease;
}

.single-product .related.products .product-card:hover .product-card__media img,
.single-product .upsells.products .product-card:hover .product-card__media img {
    transform: scale(1.03);
}

/* Body */

.single-product .related.products .product-card__body,
.single-product .upsells.products .product-card__body {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    min-height: 0;
    padding: .7rem .75rem .75rem;
}

/* Smaller metadata */

.single-product .related.products .product-card__meta,
.single-product .upsells.products .product-card__meta {
    margin-bottom: .35rem;
}

.single-product .related.products .product-card__meta span,
.single-product .upsells.products .product-card__meta span {
    min-height: 20px;
    padding: .14rem .4rem;
    font-size: .52rem;
}

/* Title */

.single-product .related.products .product-card__title,
.single-product .related.products .product-card h3,
.single-product .upsells.products .product-card__title,
.single-product .upsells.products .product-card h3 {
    margin: 0 0 .2rem;
    font-family: var(--plcsea-font-tech);
    font-size: .82rem;
    font-weight: 750;
    line-height: 1.45;
}

/* Identity */

.single-product .related.products .product-card__identity,
.single-product .upsells.products .product-card__identity {
    min-height: 18px;
    margin-bottom: .45rem;
    font-size: .55rem;
}

/* Technical chips */

.single-product .related.products .product-card__specs,
.single-product .upsells.products .product-card__specs {
    min-height: 0;
    gap: .3rem;
    margin-bottom: .55rem;
    padding: .45rem;
    border-radius: 7px;
}

.single-product .related.products .product-card__spec,
.single-product .upsells.products .product-card__spec {
    min-height: 22px;
    padding: .2rem .38rem;
    font-size: .52rem;
}

/* Price + status */

.single-product .related.products .product-card__commerce,
.single-product .upsells.products .product-card__commerce {
    gap: .35rem;
    margin-top: .45rem;
    padding-top: 0;
}

.single-product .related.products .product-card__price,
.single-product .upsells.products .product-card__price {
    min-height: 24px;
    font-size: .72rem;
}

.single-product .related.products .stock-badge,
.single-product .upsells.products .stock-badge {
    font-size: .54rem;
}

/* Actions */

/* =========================================================
   RELATED PRODUCTS — ACTIONS
   ========================================================= */

.single-product .related.products .product-card__actions,
.single-product .upsells.products .product-card__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: .45rem;
    width: 100%;
    margin-top: .65rem;
}

/* View product */

.single-product .related.products .product-card__view,
.single-product .upsells.products .product-card__view {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: .4rem .7rem;

    border: 1px solid #8fc5f3;
    border-radius: 7px;
    background: #fff;

    color: #0874e8;
    font-family: var(--plcsea-font);
    font-size: .6rem;
    font-weight: 750;
    line-height: 1;

    text-decoration: none;

    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.single-product .related.products .product-card__view:hover,
.single-product .upsells.products .product-card__view:hover {
    border-color: #168df6;
    background: #f3f9ff;
    color: #0567cc;
    box-shadow: 0 3px 10px rgba(8, 116, 232, .08);
}

/* Add to cart */

.single-product .related.products .product-card__cart,
.single-product .upsells.products .product-card__cart {
    display: inline-grid;
    width: 36px;
    height: 36px;
    min-width: 36px;
    place-items: center;
    margin: 0;
    padding: 0;

    border: 1px solid #8fc5f3;
    border-radius: 7px;
    background: #f7fbff;

    color: #0874e8;

    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.single-product .related.products .product-card__cart:hover,
.single-product .upsells.products .product-card__cart:hover {
    border-color: #0874e8;
    background: #0874e8;
    color: #fff;
    box-shadow: 0 4px 12px rgba(8, 116, 232, .18);
    transform: translateY(-1px);
}

.single-product .related.products .product-card__cart svg,
.single-product .upsells.products .product-card__cart svg {
    width: 15px;
    height: 15px;
}

.single-product .related.products .product-card__cart svg,
.single-product .upsells.products .product-card__cart svg {
    width: 15px;
    height: 15px;
}

/* Keep related cards intentionally compact */

.single-product .related.products .product-card__specs,
.single-product .upsells.products .product-card__specs {
    display: none;
}

.single-product .related.products .stock-badge,
.single-product .upsells.products .stock-badge {
    display: none;
}

/* =========================================================
   RELATED PRODUCTS — RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .single-product .related.products ul.products,
    .single-product .upsells.products ul.products {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 780px) {

    .single-product .related.products ul.products,
    .single-product .upsells.products ul.products {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 480px) {

    .single-product .related.products ul.products,
    .single-product .upsells.products ul.products {
        grid-template-columns: 1fr;
    }

    .single-product .related.products .product-card__media,
    .single-product .upsells.products .product-card__media {
        height: 170px;
    }

}

/* =========================================================
   PRODUCT DOWNLOADS
   ========================================================= */

.plcsea-product-downloads {
    display: grid;
    gap: .75rem;
}

.plcsea-product-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 1rem;
    border: 1px solid #dce8f2;
    border-radius: 9px;
    background: #fff;
    transition:
        border-color .18s ease,
        background-color .18s ease,
        transform .18s ease;
}

.plcsea-product-download:hover {
    border-color: #b8d9f3;
    background: #f8fbfe;
    transform: translateY(-1px);
}

.plcsea-product-download__info {
    min-width: 0;
}

.plcsea-product-download__title {
    margin: 0;
    color: #08264f;
    font-family: var(--plcsea-font);
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.7;
}

.plcsea-product-download__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .55rem;
    margin-top: .25rem;
    color: #73879a;
    font-family: var(--plcsea-font-tech);
    font-size: .63rem;
    direction: ltr;
}

.plcsea-product-download__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 36px;
    padding: .5rem .8rem;
    border: 1px solid #168df6;
    border-radius: 7px;
    background: #168df6;
    color: #fff;
    font-family: var(--plcsea-font);
    font-size: .68rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background-color .18s ease,
        border-color .18s ease;
}

.plcsea-product-download__action:hover {
    border-color: #0874e8;
    background: #0874e8;
    color: #fff;
}

@media (max-width: 640px) {
    .plcsea-product-download {
        align-items: stretch;
        flex-direction: column;
    }

    .plcsea-product-download__action {
        width: 100%;
    }
}

/* =========================================================
   PRODUCT FAQ
   ========================================================= */

.plcsea-product-faq {
    display: grid;
    gap: .65rem;
}

.plcsea-product-faq__item {
    overflow: hidden;
    border: 1px solid #dce8f2;
    border-radius: 9px;
    background: #fff;
}

.plcsea-product-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: .9rem 1rem;
    border: 0;
    background: transparent;
    color: #08264f;
    font-family: var(--plcsea-font);
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.7;
    text-align: right;
    cursor: pointer;
}

.plcsea-product-faq__question:hover {
    background: #f7fbff;
}

.plcsea-product-faq__icon {
    position: relative;
    display: block;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 50%;
    background: #eef7ff;
}

/* Horizontal line */

.plcsea-product-faq__icon::before,
.plcsea-product-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.5px;
    border-radius: 2px;
    background: #0874e8;
    transform: translate(-50%, -50%);
    transition:
        transform .18s ease,
        opacity .18s ease;
}

/* Vertical line */

.plcsea-product-faq__icon::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}

/* Open = minus */

.plcsea-product-faq__item.is-open
.plcsea-product-faq__icon::after {
    opacity: 0;
    transform:
        translate(-50%, -50%)
        rotate(0deg);
}

.plcsea-product-faq__answer {
    padding: 0 1rem 1rem;
    color: #506980;
    font-size: .75rem;
    line-height: 2;
}

.plcsea-product-faq__answer p {
    margin: 0;
}

/* =========================================================
   PRODUCT OVERVIEW
   ========================================================= */

.plcsea-product-overview {
    display: grid;
    grid-template-columns:
        minmax(0, 1.9fr)
        minmax(250px, .65fr);
    gap: 1.6rem;
    align-items: stretch;
}

.plcsea-product-overview__features strong {
    direction: ltr;
    unicode-bidi: isolate;
}


/* MAIN */

.plcsea-product-overview__main {
    min-width: 0;
    padding: .25rem .25rem .25rem 1.1rem;
}

.plcsea-product-overview__eyebrow {
    display: block;
    margin-bottom: .3rem;
    color: #0874e8;
    font-family: var(--plcsea-font-tech);
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.plcsea-product-overview__main h3,
.plcsea-product-overview__applications h3 {
    margin: 0 0 .75rem;
    color: #061f45;
    font-family: var(--plcsea-font);
    font-size: 1.05rem;
    font-weight: 850;
    line-height: 1.6;
}

.plcsea-product-overview__description {
    max-width: 760px;
    margin-bottom: 1rem;
    color: #587087;
    font-size: .76rem;
    line-height: 2;
}

.plcsea-product-overview__description p {
    margin: 0;
}


/* FEATURES */

.plcsea-product-overview__features {
    display: grid;
    gap: .48rem;
}

.plcsea-product-overview__features > div {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
}

.plcsea-product-overview__features p {
    margin: 0;
    color: #405b73;
    font-size: .74rem;
    line-height: 1.8;
}

.plcsea-product-overview__features strong {
    color: #08264f;
    font-family: var(--plcsea-font-tech);
    font-weight: 800;
}

.plcsea-product-overview__check {
    display: inline-grid;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    place-items: center;
    margin-top: .15rem;
    border: 1px solid #9ecdf0;
    border-radius: 50%;
    background: #f3faff;
    color: #0874e8;
    font-family: Arial, sans-serif;
    font-size: .62rem;
    font-weight: 900;
}


/* APPLICATIONS */

.plcsea-product-overview__applications {
    min-width: 0;
    padding: 1rem;
    border: 1px solid #dce8f2;
    border-radius: 10px;
    background:
        linear-gradient(
            145deg,
            #fbfdff,
            #f4f9fd
        );
}

.plcsea-product-overview__application-card {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    padding: .8rem;
    border: 1px solid #e1ebf3;
    border-radius: 8px;
    background: #fff;
}

.plcsea-product-overview__application-card p {
    margin: 0;
    color: #526b82;
    font-size: .72rem;
    line-height: 1.9;
}

.plcsea-product-overview__application-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 8px;
    background: #eef7ff;
    color: #0874e8;
}

.plcsea-product-overview__application-icon .plcsea-icon {
    width: 18px;
    height: 18px;
}

.plcsea-product-overview__application-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-top: .7rem;
    padding-top: .7rem;
    border-top: 1px solid #dce8f2;
    color: #71869a;
    font-size: .65rem;
}

.plcsea-product-overview__application-meta strong {
    color: #08264f;
    font-family: var(--plcsea-font-tech);
    font-size: .68rem;
}


/* RESPONSIVE */

@media (max-width: 780px) {
    .plcsea-product-overview {
        grid-template-columns: 1fr;
    }

    .plcsea-product-overview__main {
        padding-left: 0;
    }
}

/* =========================================================
   PRODUCT DESCRIPTION TAB
   ========================================================= */

#product-panel-description
.product-information__content {
    max-width: 980px;
    margin-inline: auto;
    padding: 1.6rem 1.8rem 1.8rem;
    direction: rtl;
}


/* Main text */

#product-panel-description
.product-information__content p {
    margin: 0 0 1rem;
    color: #506980;
    font-size: .8rem;
    line-height: 2.15;
}


/* Headings inside description */

#product-panel-description
.product-information__content h3,
#product-panel-description
.product-information__content h4 {
    margin: 1.5rem 0 .65rem;
    color: #061f45;
    font-family: var(--plcsea-font);
    font-weight: 850;
    line-height: 1.6;
}

#product-panel-description
.product-information__content h3 {
    font-size: 1rem;
}

#product-panel-description
.product-information__content h4 {
    font-size: .88rem;
}


/* Lists */

#product-panel-description
.product-information__content ul,
#product-panel-description
.product-information__content ol {
    display: grid;
    gap: .45rem;
    margin: .7rem 0 1.2rem;
    padding: 0 1.2rem 0 0;
}

#product-panel-description
.product-information__content li {
    color: #486178;
    font-size: .78rem;
    line-height: 1.9;
}


/* Strong text */

#product-panel-description
.product-information__content strong {
    color: #08264f;
    font-weight: 800;
}


/* Technical inline values */

#product-panel-description
.product-information__content code {
    padding: .12rem .35rem;
    border: 1px solid #dbe8f2;
    border-radius: 5px;
    background: #f5f9fc;
    color: #075fc8;
    font-family: var(--plcsea-font-tech);
    font-size: .72rem;
    direction: ltr;
    unicode-bidi: isolate;
}


/* Optional subtle intro emphasis */

#product-panel-description
.product-information__content > p:first-of-type {
    padding: .9rem 1rem;
    border-right: 3px solid #168df6;
    border-radius: 0 8px 8px 0;
    background: #f7fbff;
    color: #405d76;
}


/* =========================================================
   CHECKOUT
   ========================================================= */

.checkout-process-note {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
}

.checkout-process-note > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 9px;
  background: #fff;
  color: var(--plcsea-ocean-600);
}

.checkout-process-note strong,
.checkout-process-note p {
  display: block;
}

.checkout-process-note p {
  margin: .15rem 0 0;
  color: var(--plcsea-ink-700);
  font-size: .72rem;
}

.woocommerce form.checkout {
  display: grid;
  grid-template-columns:
    minmax(0,1.15fr)
    minmax(340px,.85fr);
  align-items: start;
  gap: 1rem 1.25rem;
}

.woocommerce form.checkout > .col2-set {
  grid-column: 1;
}

.woocommerce form.checkout
#order_review_heading,
.woocommerce form.checkout
#order_review {
  grid-column: 2;
}

.woocommerce form.checkout
#order_review_heading {
  grid-row: 1;
  margin: 0;
  padding: 1rem 1rem .4rem;
  border: 1px solid var(--plcsea-line);
  border-bottom: 0;
  border-radius:
    var(--radius-md)
    var(--radius-md)
    0 0;
  background: #fff;
  font-size: 1rem;
}

.woocommerce form.checkout
#order_review {
  grid-row: 2 / span 3;
  margin-top: -1rem;
  padding: 1rem;
  border: 1px solid var(--plcsea-line);
  border-radius:
    0 0
    var(--radius-md)
    var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields {
  margin-bottom: .85rem;
  padding: 1rem;
  border: 1px solid var(--plcsea-line);
  border-radius: var(--radius-md);
  background: #fff;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
  font-size: 1rem;
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
  float: none;
  width: auto;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: .65rem .35rem;
  border-bottom: 1px solid var(--plcsea-line);
  font-size: .72rem;
  text-align: right;
}

.woocommerce-checkout #payment {
  border: 1px solid var(--plcsea-line);
  border-radius: var(--radius-sm);
  background: var(--plcsea-mist-50);
}

.woocommerce-checkout
#payment
ul.payment_methods {
  padding: .8rem;
  border-bottom: 1px solid var(--plcsea-line);
}

.woocommerce-checkout
#payment
div.payment_box {
  margin: .6rem 0;
  padding: .7rem;
  background: #fff;
  color: var(--plcsea-ink-700);
  font-size: .7rem;
}

.woocommerce-checkout
#payment
div.form-row {
  padding: .8rem;
}

.woocommerce-checkout
#payment
#place_order {
  width: 100%;
  min-height: 50px;
}




/* =========================================================
   CHECKOUT — WOOCOMMERCE BLOCK
   Canonical PLCSEA checkout styles. Keep checkout changes here;
   do not add later override passes for this page.
   ========================================================= */

body.woocommerce-checkout .wc-block-checkout {
  margin: 0;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, .9fr);
  align-items: start;
  gap: clamp(1.25rem, 2.6vw, 2.25rem);
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  float: none;
  box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
  overflow: hidden;
  border: 1px solid var(--plcsea-line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

body.woocommerce-checkout .wc-block-checkout__sidebar > .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-checkout__sidebar > .wp-block-woocommerce-checkout-order-summary-block {
  margin: 0;
}

body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-checkout-step {
  margin: 0 0 1rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--plcsea-line);
  border-radius: var(--radius-md);
  background: #fff;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading {
  margin: 0 0 .85rem;
}

body.woocommerce-checkout .wc-block-components-checkout-step__title {
  color: var(--plcsea-ink-950);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  font-weight: 800;
  line-height: 1.6;
}

body.woocommerce-checkout .wc-block-components-checkout-step__description {
  margin-top: .2rem;
  color: var(--plcsea-ink-600);
  font-size: .76rem;
  line-height: 1.9;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-address-form input,
body.woocommerce-checkout .wc-block-components-address-form select,
body.woocommerce-checkout textarea {
  min-height: 50px;
  border: 1px solid #bfd3e5;
  border-radius: 10px;
  background: #fff;
  color: var(--plcsea-ink-950);
  box-shadow: none;
}

body.woocommerce-checkout textarea {
  min-height: 110px;
  resize: vertical;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-address-form input:focus,
body.woocommerce-checkout .wc-block-components-address-form select:focus,
body.woocommerce-checkout textarea:focus {
  border-color: #1788ec;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(23,136,236,.10);
}

/* Contact card */
body.woocommerce-checkout .plcsea-checkout-contact-card .plcsea-contact-field {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: .55rem .8rem;
  min-height: 82px;
  padding: .9rem 1rem;
  direction: rtl;
}

body.woocommerce-checkout .plcsea-checkout-contact-card .plcsea-contact-field::before {
  display: none;
  content: none;
}

body.woocommerce-checkout .plcsea-contact-view {
  display: contents;
}

body.woocommerce-checkout .plcsea-contact-view__icon {
  grid-column: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #d5e8f7;
  border-radius: 50%;
  background: #eaf6ff;
  color: #087cf0;
}

body.woocommerce-checkout .plcsea-contact-view__icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.woocommerce-checkout .plcsea-contact-view__content {
  grid-column: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .18rem;
  direction: rtl;
  text-align: right;
}

body.woocommerce-checkout .plcsea-contact-view__label {
  color: var(--plcsea-ink-500);
  font-size: .64rem;
  font-weight: 700;
  line-height: 1.4;
}

body.woocommerce-checkout .plcsea-contact-view__email {
  max-width: 100%;
  overflow: hidden;
  color: var(--plcsea-navy-950);
  font-family: var(--plcsea-font-tech);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.45;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.woocommerce-checkout .plcsea-checkout-contact-card .plcsea-contact-field > label,
body.woocommerce-checkout .plcsea-checkout-contact-card .plcsea-contact-field > input[type="email"] {
  display: none;
}

body.woocommerce-checkout .plcsea-checkout-contact-card .plcsea-contact-edit {
  position: static;
  grid-column: 3;
  justify-self: end;
  align-self: center;
  min-width: 62px;
  margin: 0;
  padding: .5rem .78rem;
  border: 1px solid #bcdcf4;
  border-radius: 8px;
  background: #eef8ff;
  color: #0874df;
  font-family: var(--plcsea-font);
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  transform: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

body.woocommerce-checkout .plcsea-checkout-contact-card .plcsea-contact-edit:hover {
  border-color: #8fc9f5;
  background: #e1f3ff;
  color: #075fb9;
}

body.woocommerce-checkout .plcsea-checkout-contact-card .plcsea-contact-field.is-editing > input[type="email"] {
  display: block;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .55rem .72rem;
  border: 1px solid #bdd7ea;
  border-radius: 8px;
  background: #fff;
  color: var(--plcsea-ink-950);
  font-family: var(--plcsea-font-tech);
  font-size: .78rem;
  direction: ltr;
  text-align: left;
}

body.woocommerce-checkout .plcsea-checkout-contact-card .plcsea-contact-field.is-editing .plcsea-contact-view__content {
  display: none;
}


body.woocommerce-checkout .plcsea-checkout-contact-card .plcsea-contact-field .wc-block-components-validation-error,
body.woocommerce-checkout .plcsea-checkout-contact-card .plcsea-contact-field .wc-block-components-validation-error[role="alert"] {
  grid-column: 2 / -1;
  grid-row: 2;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: .45rem .6rem;
  border: 1px solid #f0c2c9;
  border-radius: 7px;
  background: #fff6f7;
  color: #b42335;
  font-size: .69rem;
  font-weight: 650;
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.woocommerce-checkout .plcsea-checkout-contact-card .plcsea-contact-field.has-email-error > input[type="email"] {
  border-color: #d9485f;
  box-shadow: 0 0 0 3px rgba(217,72,95,.08);
}

/* Shipping/billing address editor */
body.woocommerce-checkout .wc-block-components-address-form-wrapper {
  margin-top: .5rem;
  padding: 1.15rem;
  border: 1px solid #d7e5f0;
  border-radius: 14px;
  background: linear-gradient(180deg, #fcfeff 0%, #f6faff 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

body.woocommerce-checkout .wc-block-components-address-form {
  gap: .8rem .9rem;
}

body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-combobox,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input {
  min-width: 0;
}

body.woocommerce-checkout .wc-block-components-address-form label,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-combobox-control label {
  color: #29445f;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.35;
}

body.woocommerce-checkout .wc-block-components-address-form input,
body.woocommerce-checkout .wc-block-components-address-form select,
body.woocommerce-checkout .wc-block-components-address-form textarea,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-combobox-control input {
  min-height: 54px;
  padding-inline: .9rem;
  border: 1px solid #bfd5e6;
  border-radius: 10px;
  background: #fff;
  color: #102a43;
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.6;
  box-shadow: 0 1px 2px rgba(20,61,94,.03);
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

body.woocommerce-checkout .wc-block-components-address-form input:hover,
body.woocommerce-checkout .wc-block-components-address-form select:hover,
body.woocommerce-checkout .wc-block-components-address-form textarea:hover,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-combobox-control input:hover {
  border-color: #8dbce0;
  background: #fff;
}

body.woocommerce-checkout .wc-block-components-address-form input:focus,
body.woocommerce-checkout .wc-block-components-address-form select:focus,
body.woocommerce-checkout .wc-block-components-address-form textarea:focus,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-combobox-control input:focus {
  border-color: #1683df;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(22,131,223,.10);
}

body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-combobox-control,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-combobox-control .components-base-control__field {
  border-radius: 10px;
}

body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-validation-error {
  width: 100%;
  margin-top: .35rem;
  padding: .38rem .55rem;
  border: 1px solid #f0c2c9;
  border-radius: 7px;
  background: #fff6f7;
  color: #b42335;
  font-size: .69rem;
  font-weight: 650;
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  white-space: normal;
}

body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-checkbox {
  margin-top: .1rem;
  padding: .45rem .1rem 0;
  color: #29445f;
  font-size: .72rem;
  font-weight: 650;
}

body.woocommerce-checkout .wc-block-components-address-form button,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-address-form__address_2-toggle {
  color: #0869cf;
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.7;
  text-decoration: none;
}

body.woocommerce-checkout .wc-block-components-address-form button:hover,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-address-form__address_2-toggle:hover {
  color: #0559af;
}

/* Address card */
body.woocommerce-checkout .plcsea-address-card {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}

body.woocommerce-checkout .plcsea-address-card .plcsea-address-original {
  display: none;
}

body.woocommerce-checkout .plcsea-address-card > .plcsea-address-view {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: .8rem;
  align-items: start;
  padding: .9rem 1rem;
  border: 1px solid #d6e6f2;
  border-radius: 10px;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  direction: rtl;
}

body.woocommerce-checkout .plcsea-address-card .wc-block-components-address-card__edit {
  position: absolute;
  top: .9rem;
  left: 1rem;
  z-index: 2;
  margin: 0;
  padding: .42rem .7rem;
  border: 1px solid #bcdcf4;
  border-radius: 8px;
  background: #eef8ff;
  color: #0874df;
  font-family: var(--plcsea-font);
  font-size: .66rem;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

body.woocommerce-checkout .plcsea-address-card .wc-block-components-address-card__edit:hover {
  border-color: #8fc9f5;
  background: #e1f3ff;
  color: #075fb9;
}

body.woocommerce-checkout .plcsea-address-view__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #eaf6ff;
  color: #168df6;
}

body.woocommerce-checkout .plcsea-address-view__icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

body.woocommerce-checkout .plcsea-address-view__main {
  display: grid;
  gap: .25rem;
  min-width: 0;
  text-align: right;
}

body.woocommerce-checkout .plcsea-address-view__name {
  color: var(--plcsea-ink-950);
  font-size: .78rem;
  font-weight: 800;
}

body.woocommerce-checkout .plcsea-address-view__address {
  color: var(--plcsea-ink-700);
  font-size: .7rem;
  line-height: 1.9;
  direction: rtl;
  unicode-bidi: plaintext;
  text-align: right;
}

body.woocommerce-checkout .plcsea-address-view__meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: .15rem;
  overflow: hidden;
  border: 1px solid #dfeaf3;
  border-radius: 8px;
}

body.woocommerce-checkout .plcsea-address-view__meta-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  min-height: 48px;
  padding: .65rem .85rem;
}

body.woocommerce-checkout .plcsea-address-view__meta-item + .plcsea-address-view__meta-item {
  border-right: 1px solid #dfeaf3;
}

body.woocommerce-checkout .plcsea-address-view__meta-label {
  color: var(--plcsea-ink-600);
  font-size: .62rem;
  font-weight: 700;
}

body.woocommerce-checkout .plcsea-address-view__meta-value {
  color: var(--plcsea-ink-950);
  font-family: var(--plcsea-font-tech);
  font-size: .72rem;
  font-weight: 800;
  direction: ltr;
}

/* Shipping: PLCSEA currently has one coordination method.
   It is presented as information, not as a selectable option. */
body.woocommerce-checkout .plcsea-shipping-single-method .wc-block-components-radio-control__option,
body.woocommerce-checkout .plcsea-shipping-single-method .wc-block-checkout__shipping-method-option,
body.woocommerce-checkout .plcsea-shipping-single-method .plcsea-shipping-single-option {
  position: relative;
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: flex-start;
  padding: .85rem 1rem;
  border: 1px solid #c7d9e9;
  border-radius: 10px;
  background: #fff;
  color: var(--plcsea-ink-900);
  direction: rtl;
  cursor: default;
}

body.woocommerce-checkout .plcsea-shipping-single-method input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

body.woocommerce-checkout .plcsea-shipping-single-method .wc-block-components-radio-control__option::before,
body.woocommerce-checkout .plcsea-shipping-single-method .wc-block-components-radio-control__option::after,
body.woocommerce-checkout .plcsea-shipping-single-method .wc-block-components-radio-control__input,
body.woocommerce-checkout .plcsea-shipping-single-method .wc-block-components-radio-control__option-layout::before,
body.woocommerce-checkout .plcsea-shipping-single-method .wc-block-components-radio-control__option-layout::after {
  content: none;
  display: none;
}

body.woocommerce-checkout .plcsea-shipping-single-method .wc-block-components-radio-control__label,
body.woocommerce-checkout .plcsea-shipping-single-method .wc-block-components-radio-control__option-layout,
body.woocommerce-checkout .plcsea-shipping-single-method .wc-block-components-radio-control__option-content {
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--plcsea-ink-900);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.7;
  text-align: right;
}

/* Explicit action shown while the WooCommerce shipping-address form is open. */
body.woocommerce-checkout .plcsea-address-confirm {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: .6rem 1rem;
  border: 1px solid #087cf0;
  border-radius: 8px;
  background: #087cf0;
  color: #fff;
  font-family: var(--plcsea-font);
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}

body.woocommerce-checkout .plcsea-address-confirm:hover,
body.woocommerce-checkout .plcsea-address-confirm:focus-visible {
  border-color: #0868c7;
  background: #0868c7;
}

body.woocommerce-checkout .plcsea-address-confirmed-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .7rem 1rem;
  width: 100%;
  padding: .9rem 1rem;
  border: 1px solid #d6e6f2;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
  direction: rtl;
}

body.woocommerce-checkout .plcsea-address-confirmed-summary__body {
  display: grid;
  gap: .25rem;
  min-width: 0;
}

body.woocommerce-checkout .plcsea-address-confirmed-summary__body strong {
  color: var(--plcsea-ink-950);
  font-size: .78rem;
  font-weight: 800;
}

body.woocommerce-checkout .plcsea-address-confirmed-summary__body span {
  color: var(--plcsea-ink-700);
  font-size: .7rem;
  line-height: 1.9;
}

body.woocommerce-checkout .plcsea-address-confirmed-summary__edit {
  align-self: start;
  padding: .42rem .7rem;
  border: 1px solid #bcdcf4;
  border-radius: 8px;
  background: #eef8ff;
  color: #0874df;
  font-family: var(--plcsea-font);
  font-size: .66rem;
  font-weight: 800;
  cursor: pointer;
}

body.woocommerce-checkout .plcsea-address-confirmed-summary__meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #dfeaf3;
  border-radius: 8px;
}

body.woocommerce-checkout .plcsea-address-confirmed-summary__meta > span {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  padding: .6rem .8rem;
}

body.woocommerce-checkout .plcsea-address-confirmed-summary__meta > span + span {
  border-right: 1px solid #dfeaf3;
}

body.woocommerce-checkout .plcsea-address-confirmed-summary__meta small {
  color: var(--plcsea-ink-600);
  font-size: .62rem;
  font-weight: 700;
}

body.woocommerce-checkout .plcsea-address-confirmed-summary__meta bdi {
  color: var(--plcsea-ink-950);
  font-family: var(--plcsea-font-tech);
  font-size: .72rem;
  font-weight: 800;
}

/* Payment still is a selectable WooCommerce control. */
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option {
  margin: 0 0 .65rem;
  padding: .9rem 1rem;
  border: 1px solid #c7d9e9;
  border-radius: 10px;
  background: #fff;
}

body.woocommerce-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
  border-color: #0d69c9;
  background: #f7fbff;
  box-shadow: inset 0 0 0 1px rgba(13,105,201,.08);
}

body.woocommerce-checkout .wc-block-components-radio-control__description,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-content {
  color: var(--plcsea-ink-700);
  font-size: .76rem;
  line-height: 1.95;
}

body.woocommerce-checkout .wc-block-components-checkbox {
  margin-block: .75rem;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg,#0751b5 0%,#168df6 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(8,91,186,.14);
  transition: box-shadow .18s ease, opacity .18s ease;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:focus-visible {
  opacity: .92;
  box-shadow: 0 12px 26px rgba(8,91,186,.20);
}

body.woocommerce-checkout .wc-block-components-order-summary__button-text,
body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value {
  color: var(--plcsea-ink-900);
}

body.woocommerce-checkout .wc-block-components-order-summary-item {
  padding-block: .8rem;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image {
  width: 58px;
  min-width: 58px;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border: 1px solid #d8e7f3;
  border-radius: 9px;
  background: #f8fbfe;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__description {
  min-width: 0;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
  color: var(--plcsea-ink-950);
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.55;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices,
body.woocommerce-checkout .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-product-details {
  color: var(--plcsea-ink-600);
  font-size: .68rem;
  line-height: 1.75;
}

body.woocommerce-checkout .wc-block-components-totals-wrapper {
  padding: .85rem 1rem;
  border-top: 1px solid var(--plcsea-line);
}

body.woocommerce-checkout .wc-block-components-totals-footer-item {
  font-size: 1rem;
  font-weight: 800;
}

body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {
  color: #0869cf;
  font-weight: 700;
}

@media (max-width: 650px) {
  body.woocommerce-checkout .plcsea-checkout-contact-card .plcsea-contact-field {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: .5rem .6rem;
    padding: .75rem;
  }

  body.woocommerce-checkout .wc-block-components-address-form-wrapper {
    padding: .78rem;
  }

  body.woocommerce-checkout .plcsea-contact-view__icon {
    width: 38px;
    height: 38px;
  }

  body.woocommerce-checkout .plcsea-contact-view__email {
    font-size: .68rem;
  }

  body.woocommerce-checkout .plcsea-address-card > .plcsea-address-view {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: .75rem;
  }

  body.woocommerce-checkout .plcsea-address-view__meta {
    grid-template-columns: 1fr;
  }

  body.woocommerce-checkout .plcsea-address-view__meta-item + .plcsea-address-view__meta-item {
    border-top: 1px solid #dfeaf3;
    border-right: 0;
  }
}

/* =========================================================
   CART — WOOCOMMERCE BLOCK
   ========================================================= */

body.woocommerce-cart .wc-block-cart {
  margin: 0;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar-layout {
  align-items: start;
  gap: clamp(1.3rem,2.6vw,2.4rem);
}

body.woocommerce-cart .wc-block-cart__main {
  min-width: 0;
  padding: 0;
  border: 1px solid #cfe0ec;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(6,43,86,.045);
}

body.woocommerce-cart .wc-block-cart-items {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
}

body.woocommerce-cart .wc-block-cart-items thead th {
  padding: .9rem 1rem;
  border-bottom: 1px solid #dce8f1;
  color: var(--plcsea-ink-500);
  font-size: .64rem;
  font-weight: 750;
  text-align: right;
}

body.woocommerce-cart .wc-block-cart-items tbody tr {
  border-bottom: 1px solid #e1ebf3;
}

body.woocommerce-cart .wc-block-cart-items tbody tr:last-child {
  border-bottom: 0;
}

body.woocommerce-cart .wc-block-cart-items td {
  padding: 1rem;
  border: 0;
  vertical-align: middle;
}

body.woocommerce-cart .wc-block-cart-item__image {
  width: 118px;
  padding-inline-end: .85rem;
}

body.woocommerce-cart .wc-block-cart-item__image img {
  display: block;
  width: 104px;
  height: 104px;
  object-fit: contain;
  border: 1px solid #d4e3ee;
  border-radius: 12px;
  background: linear-gradient(145deg,#fbfdff,#f1f7fb);
}

body.woocommerce-cart .wc-block-cart-item__product {
  min-width: 0;
}

body.woocommerce-cart .wc-block-components-product-name {
  display: inline-block;
  margin-bottom: .25rem;
  color: var(--plcsea-navy-900);
  font-family: var(--plcsea-font-tech);
  font-size: .94rem;
  font-weight: 820;
  line-height: 1.55;
  direction: ltr;
  text-align: right;
}

body.woocommerce-cart .wc-block-components-product-name:hover {
  color: var(--plcsea-ocean-700);
}

body.woocommerce-cart .wc-block-components-product-metadata,
body.woocommerce-cart .wc-block-components-product-price {
  color: var(--plcsea-ink-600);
  font-size: .72rem;
  line-height: 1.8;
}

body.woocommerce-cart .wc-block-cart-item__total {
  min-width: 145px;
  color: #123457;
  font-size: .82rem;
  font-weight: 820;
  white-space: nowrap;
  text-align: left;
}

body.woocommerce-cart .wc-block-components-quantity-selector {
  min-height: 42px;
  margin-top: .65rem;
  border: 1px solid #c8dbe9;
  border-radius: 8px;
  background: #fff;
}

body.woocommerce-cart .wc-block-components-quantity-selector input,
body.woocommerce-cart .wc-block-components-quantity-selector button {
  min-height: 40px;
}

body.woocommerce-cart .wc-block-cart-item__remove-link {
  margin-top: .45rem;
  color: #637c91;
  font-size: .62rem;
  font-weight: 700;
  text-decoration: none;
}

body.woocommerce-cart .wc-block-cart-item__remove-link:hover {
  color: var(--plcsea-danger);
}

body.woocommerce-cart .wc-block-cart__sidebar {
  position: sticky;
  top: calc(var(--header-height,72px) + var(--admin-bar-offset,0px) + 1rem);
  align-self: start;
  padding: 1.05rem 1.1rem 1.15rem;
  border: 1px solid #cfe0ec;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(6,43,86,.055);
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper {
  padding: .75rem 0;
  border-color: #dde8f1;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper:first-child {
  padding-top: 0;
}

body.woocommerce-cart .wc-block-components-totals-item__label {
  color: var(--plcsea-ink-700);
  font-size: .7rem;
  font-weight: 750;
}

body.woocommerce-cart .wc-block-components-totals-item__value {
  color: var(--plcsea-navy-900);
  font-size: .76rem;
  font-weight: 800;
}

body.woocommerce-cart .wc-block-components-totals-footer-item {
  padding-top: .95rem;
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: var(--plcsea-navy-900);
  font-size: .98rem;
  font-weight: 850;
}

body.woocommerce-cart .wc-block-components-totals-coupon__button {
  min-height: 40px;
  border-radius: 8px;
  font-family: var(--plcsea-font);
}

body.woocommerce-cart .wc-block-cart__submit {
  margin: .9rem 0 0;
  padding: 0;
}

body.woocommerce-cart .wc-block-cart__submit-button {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #0757c8;
  border-radius: 9px;
  background-color: #0757c8;
  background-image: none;
  color: #fff;
  font-family: var(--plcsea-font);
  font-size: .78rem;
  font-weight: 850;
  box-shadow: 0 7px 18px rgba(7,87,200,.17);
  transform: none;
  transition: background-color 180ms ease,border-color 180ms ease,box-shadow 180ms ease;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover {
  border-color: #168df6;
  background-color: #168df6;
  background-image: none;
  color: #fff;
  box-shadow: 0 9px 22px rgba(7,87,200,.22);
  transform: none;
}

body.woocommerce-cart .wc-block-cart__submit-button:focus-visible {
  outline: 2px solid #66b8f4;
  outline-offset: 3px;
}

body.woocommerce-cart .wc-block-components-shipping-rates-control,
body.woocommerce-cart .wc-block-components-totals-shipping {
  font-size: .67rem;
}

body.woocommerce-cart .wc-block-components-product-price__value,
body.woocommerce-cart .wc-block-cart-item__prices,
body.woocommerce-cart .wc-block-components-product-metadata__description {
  color: var(--plcsea-ink-700);
  font-size: .76rem;
  line-height: 1.85;
}

body.woocommerce-cart .wc-block-components-product-metadata__description {
  margin-top: .18rem;
}

body.woocommerce-cart .wc-block-cart-item__product {
  padding-inline: .25rem .8rem;
}

/* Cart Block labels are replaced in PHP/JS so native text remains intact. */
body.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text {
  color: inherit;
  font-family: var(--plcsea-font);
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.4;
  direction: rtl;
  unicode-bidi: plaintext;
  white-space: nowrap;
}

body.woocommerce-cart .wc-block-components-totals-shipping .wc-block-components-totals-item__value {
  color: var(--plcsea-navy-900);
  font-family: var(--plcsea-font);
  font-size: .72rem;
  font-weight: 800;
  direction: rtl;
  unicode-bidi: plaintext;
}

body.woocommerce-cart .wc-block-cart__sidebar::after {
  display: block;
  margin-top: .7rem;
  padding: .68rem .75rem;
  border: 1px solid #d5e7f4;
  border-radius: 8px;
  background: #f5faff;
  color: #4d687f;
  content: "مبلغ نهایی و هزینه ارسال پس از بررسی سفارش تأیید می‌شود.";
  font-size: .66rem;
  line-height: 1.85;
}

/* =========================================================
   ORDER
   ========================================================= */

.woocommerce-order {
  max-width: 950px;
  margin-inline: auto;
}

.woocommerce-order-overview {
  display: grid;
  grid-template-columns:
    repeat(auto-fit,minmax(140px,1fr));
  gap: .6rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.woocommerce-order-overview li {
  float: none;
  margin: 0;
  padding: .7rem;
  border: 1px solid var(--plcsea-line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--plcsea-ink-500);
  font-size: .62rem;
}

.woocommerce-order-overview strong {
  margin-top: .2rem;
  color: var(--plcsea-navy-900);
  font-size: .78rem;
}

.order-next-steps,
.order-status-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #b9d9ef;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg,#f5fbff,#eaf7ff);
}

.order-next-steps__icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 13px;
  background: #fff;
  color: var(--plcsea-ocean-600);
}

.order-next-steps > div {
  flex: 1;
}

.order-next-steps h2,
.order-status-overview h2 {
  margin-bottom: .2rem;
  font-size: 1rem;
}

.order-next-steps p,
.order-status-overview p {
  margin: 0;
  color: var(--plcsea-ink-700);
  font-size: .74rem;
}

.woocommerce-order-details,
.woocommerce-customer-details {
  margin-top: 1.2rem;
  padding: 1rem;
  border: 1px solid var(--plcsea-line);
  border-radius: var(--radius-md);
  background: #fff;
}

.woocommerce-order-details__title,
.woocommerce-column__title {
  font-size: 1rem;
}

.woocommerce-customer-details address {
  padding: .8rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--plcsea-mist-50);
  font-size: .74rem;
}

body.woocommerce-cart
.singular-shell--page,
body.woocommerce-checkout
.singular-shell--page {
  width: min(
    calc(100% - 2rem),
    var(--container)
  );
  grid-template-columns: 1fr;
}


@media (prefers-reduced-motion: reduce) {
  .pillar-card.is-reveal-ready,
  :is(.catalog-listing, .cart-empty-products) .product-card.is-reveal-ready {
    opacity: 1;
    transform: none;
    transition: none;
  }
}



/* =========================================================
   RESPONSIVE — LARGE TABLET
   ========================================================= */

@media (max-width: 1100px) {

  .catalog-hero {
    grid-template-columns:
      minmax(270px, 34%)
      minmax(0, 66%);
  }

  .catalog-hero::after {
    left: calc(34% - 1px);
  }

  .catalog-hero__panel {
    width: min(84%, 340px);
    grid-template-columns:
      68px
      minmax(0,1fr);
    column-gap: .8rem;
  }

  .catalog-hero__panel-icon {
    width: 64px;
    height: 64px;
  }

  .catalog-hero__panel-icon svg {
    width: 40px;
    height: 40px;
  }

  .catalog-products .products,
  .woocommerce
  .catalog-products
  .products {
    grid-template-columns:
      repeat(3,minmax(0,1fr));
  }

  .catalog-listing
  .product-card__media {
    height: 205px;
  }

}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {

  .catalog-hero {
    min-height: 230px;
    grid-template-columns:
      minmax(230px, 32%)
      minmax(0, 68%);
  }

  .catalog-hero::after {
    left: calc(32% - 1px);
    width: 58px;
  }

  .catalog-hero__content-inner {
    min-height: 230px;
  }

  .catalog-hero__panel {
    width: 92%;
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "icon"
      "title";
    justify-items: start;
    row-gap: .3rem;
  }

  .catalog-hero__panel-icon {
    width: 56px;
    height: 56px;
    margin-block: .15rem;
  }

  .catalog-hero__panel-icon svg {
    width: 34px;
    height: 34px;
  }

  .catalog-hero__panel p {
    display: none;
  }

  .catalog-toolbar {
    align-items: flex-start;
  }

  .catalog-toolbar__controls {
    max-width: 52%;
  }

  .single-product div.product {
    grid-template-columns:
      minmax(300px,.9fr)
      minmax(360px,1.1fr);
    gap: 1.5rem;
  }

}


/* =========================================================
   RESPONSIVE — SMALL TABLET
   ========================================================= */

@media (max-width: 780px) {

  .catalog-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    direction: rtl;
  }

  .catalog-hero::after,
  .catalog-hero__visual {
    display: none;
  }

  .catalog-hero__content {
    min-height: 0;
  }

  .catalog-hero__content-inner {
    min-height: 0;
    padding-block: 1.15rem 2.6rem;
  }

  .catalog-hero__copy {
    width: 100%;
  }

  .catalog-category-nav {
    margin-top: -24px;
    margin-bottom: 1.25rem;
  }

  .catalog-toolbar {
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    gap: .75rem;
  }

  .catalog-toolbar__controls {
    width: 100%;
    max-width: none;
    justify-content: space-between;
  }

  .catalog-products .products,
  .woocommerce
  .catalog-products
  .products {
    grid-template-columns:
      repeat(2,minmax(0,1fr));
    gap: .75rem;
  }

  .single-product div.product {
    grid-template-columns: 1fr;
  }

  .woocommerce form.checkout {
    grid-template-columns: 1fr;
  }

  .woocommerce form.checkout > .col2-set,
  .woocommerce form.checkout
  #order_review_heading,
  .woocommerce form.checkout
  #order_review {
    grid-column: 1;
    grid-row: auto;
  }

  .woocommerce form.checkout
  #order_review {
    margin-top: -1rem;
  }

}




@media (max-width: 900px) {
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout {
    grid-template-columns: 1fr;
  }

  body.woocommerce-checkout .wc-block-checkout__sidebar {
    grid-row: auto;
  }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 650px) {

  .commerce-main {
    padding-block: 1rem 2.5rem;
  }

  body.woocommerce-shop .commerce-main,
  body.post-type-archive-product .commerce-main,
  body.tax-product_cat .commerce-main,
  body.tax-product_tag .commerce-main {
    padding-top: 0;
  }

  .catalog-hero__content-inner {
    padding-block: 1rem 2.45rem;
  }

  .catalog-hero .breadcrumbs {
    margin-bottom: .4rem;
    font-size: .57rem;
  }

  .catalog-hero h1 {
    font-size: 1.5rem;
  }

  .catalog-hero__copy > p {
    font-size: .67rem;
  }

  .catalog-hero__search {
    width: 100%;
    gap: .4rem;
    margin-top: .65rem;
  }

  .catalog-hero__search-field {
    min-height: 43px;
  }

  .catalog-hero__search-field input {
    min-height: 41px;
    font-size: .64rem;
  }

  .catalog-hero__search-button {
    min-width: 76px;
    min-height: 43px;
    padding-inline: .7rem;
    font-size: .66rem;
  }

  .catalog-category-nav {
    margin-inline:
      calc(50% - 50vw);
    width: 100vw;
    padding-inline:
      max(.65rem,calc((100vw - 100%) / 2));
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow:
      0 8px 20px rgba(6,43,86,.065);
  }

  .catalog-category-nav__track {
    gap: .3rem;
  }

  .catalog-category-nav__item {
    min-height: 47px;
    padding: .4rem .6rem;
  }

  .catalog-category-nav__icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .catalog-category-nav__icon svg {
    width: 16px;
    height: 16px;
  }

  .catalog-category-nav__label {
    font-size: .62rem;
  }

  .catalog-toolbar__identity h2 {
    font-size: 1.25rem;
  }

  .catalog-toolbar__controls
  .woocommerce-result-count {
    font-size: .62rem;
  }

  .catalog-toolbar__controls
  .woocommerce-ordering select {
    min-width: 175px;
    min-height: 39px;
    font-size: .65rem;
  }

  .catalog-products .products,
  .woocommerce
  .catalog-products
  .products {
    gap: .6rem;
  }

  .catalog-listing
  .product-card__media {
    height: 175px;
    padding: .8rem;
  }

  .catalog-listing
  .product-card__body {
    min-height: 215px;
    padding: .7rem;
  }

  .catalog-listing
  .product-card h3,
  .catalog-listing
  .product-card__title {
    font-size: .78rem;
  }

  .catalog-listing
  .product-card__identity {
    font-size: .56rem;
  }

  .catalog-listing
  .product-card__price {
    font-size: .75rem;
  }

  .catalog-listing
  .product-card__meta span {
    padding-inline: .36rem;
    font-size: .52rem;
  }

  .catalog-listing
  .stock-badge {
    font-size: .56rem;
  }

  .catalog-listing
  .product-card__cart {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .single-product div.product
  .product_title {
    font-size: 1.75rem;
  }

  .product-highlights {
    grid-template-columns: 1fr;
  }

  .woocommerce div.product form.cart {
    flex-wrap: wrap;
  }

  .woocommerce div.product
  form.cart .button {
    min-width:
      calc(100% - 85px);
  }

  .woocommerce
  table.shop_table_responsive
  tr td::before {
    color: var(--plcsea-ink-500);
    font-size: .62rem;
  }

  body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar-layout {
    display: block;
  }

  body.woocommerce-cart .wc-block-cart__main,
  body.woocommerce-cart .wc-block-cart__sidebar {
    width: 100%;
  }

  body.woocommerce-cart .wc-block-cart__main {
    border-radius: 11px;
  }

  body.woocommerce-cart .wc-block-cart__sidebar {
    position: static;
    margin-top: 1rem;
    padding: .85rem;
    border-radius: 11px;
  }

  body.woocommerce-cart .wc-block-cart-items thead {
    display: none;
  }

  body.woocommerce-cart .wc-block-cart-items tbody tr {
    display: grid;
    grid-template-columns: 88px minmax(0,1fr);
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: .8rem;
    row-gap: .7rem;
    padding: .9rem .8rem;
  }

  body.woocommerce-cart .wc-block-cart-items td {
    min-width: 0;
    padding: 0;
  }

  body.woocommerce-cart .wc-block-cart-item__image {
    grid-column: 1;
    grid-row: 1;
    width: 88px;
    padding: 0;
  }

  body.woocommerce-cart .wc-block-cart-item__image img {
    width: 88px;
    height: 88px;
    border-radius: 10px;
  }

  body.woocommerce-cart .wc-block-cart-item__product {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    padding: 0;
  }

  body.woocommerce-cart .wc-block-components-product-name {
    display: block;
    max-width: 100%;
    margin: 0 0 .28rem;
    overflow-wrap: anywhere;
    font-size: .84rem;
    line-height: 1.55;
    direction: ltr;
    text-align: right;
  }

  body.woocommerce-cart .wc-block-components-product-metadata,
  body.woocommerce-cart .wc-block-components-product-price,
  body.woocommerce-cart .wc-block-components-product-price__value,
  body.woocommerce-cart .wc-block-components-product-metadata__description {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: .68rem;
    line-height: 1.7;
  }

  body.woocommerce-cart .wc-block-components-quantity-selector {
    width: min(100%,116px);
    min-height: 38px;
    margin-top: .55rem;
  }

  body.woocommerce-cart .wc-block-components-quantity-selector input,
  body.woocommerce-cart .wc-block-components-quantity-selector button {
    min-width: 34px;
    min-height: 36px;
  }

  /* On narrow mobile the line subtotal duplicates the product price and
     WooCommerce positions it against the image. Hide only this redundant
     mobile line-total; the item price and cart summary remain visible. */
  body.woocommerce-cart .wc-block-cart-item__total {
    display: none !important;
  }


  .order-next-steps,
  .order-status-overview {
    align-items: flex-start;
    flex-direction: column;
  }

}


/* =========================================================
   RESPONSIVE — NARROW MOBILE
   ========================================================= */

@media (max-width: 480px) {

  .catalog-hero__search {
    flex-direction: column;
  }

  .catalog-hero__search-button {
    width: 100%;
  }

  .catalog-toolbar__controls {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-toolbar__controls
  .woocommerce-ordering {
    width: 100%;
  }

  .catalog-toolbar__controls
  .woocommerce-ordering select {
    width: 100%;
  }

  .catalog-products .products,
  .woocommerce
  .catalog-products
  .products {
    grid-template-columns: 1fr;
  }

  .catalog-listing
  .product-card__media {
    height: 225px;
  }

}


/* =========================================================
   PLCSEA — FINAL MOBILE CATALOG HERO CORRECTION
   Canonical override: keep this at the end of woocommerce.css
   ========================================================= */

@media (max-width: 780px) {

  .catalog-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    direction: rtl;
  }

  .catalog-hero::before,
  .catalog-hero::after,
  .catalog-hero__visual {
    display: none;
  }

  .catalog-hero__content {
    min-width: 0;
    min-height: 0;
  }

  .catalog-hero__content-inner {
    width: min(calc(100% - 1.5rem), 1360px);
    min-height: 0;
    margin-inline: auto;
    padding-block: 1rem 1.7rem;
  }

  .catalog-hero__copy {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding-inline: 0;
    transform: none;
    text-align: center;
  }

  .catalog-hero .breadcrumbs {
    justify-content: center;
    margin-bottom: .45rem;
    text-align: center;
  }

  .catalog-hero .eyebrow {
    justify-content: center;
    margin-inline: auto;
    margin-bottom: .3rem;
    text-align: center;
  }

  .catalog-hero h1 {
    max-width: 100%;
    margin: 0 auto .45rem;
    font-size: clamp(1.45rem, 6.8vw, 1.8rem);
    line-height: 1.42;
    text-align: center;
  }

  .catalog-hero__copy > p {
    max-width: 34rem;
    margin-inline: auto;
    font-size: .68rem;
    line-height: 1.9;
    text-align: center;
  }

  .catalog-hero__search {
    width: min(100%, 34rem);
    margin: .8rem auto 0;
  }

  .catalog-category-nav {
    margin-top: -18px;
  }
}

@media (max-width: 480px) {

  .catalog-hero__content-inner {
    width: min(calc(100% - 1.25rem), 1360px);
    padding-block: .9rem 1.65rem;
  }

  .catalog-hero .breadcrumbs {
    font-size: .55rem;
  }

  .catalog-hero h1 {
    font-size: 1.42rem;
  }

  .catalog-hero__copy > p {
    font-size: .65rem;
    line-height: 1.85;
  }

  .catalog-hero__search {
    flex-direction: column;
    gap: .42rem;
    margin-top: .7rem;
  }

  .catalog-hero__search-field,
  .catalog-hero__search-button {
    width: 100%;
    min-height: 44px;
  }

  .catalog-category-nav {
    margin-top: -14px;
  }
}


/* =========================================================
   CART — EMPTY STATE
   Reuses the canonical PLCSEA product-card component.
   ========================================================= */

body.woocommerce-cart .plcsea-empty-cart {
  padding: clamp(1.45rem,3vw,2.5rem) 0 clamp(1.35rem,2.8vw,2.2rem);
}

body.woocommerce-cart .plcsea-empty-cart__panel {
  position: relative;
  width: min(100%,640px);
  margin-inline: auto;
  padding: clamp(1.15rem,2.2vw,1.6rem);
  overflow: hidden;
  border: 1px solid #cfe0ed;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0,rgba(8,124,240,.075),transparent 44%),
    linear-gradient(180deg,#ffffff 0%,#f8fcff 100%);
  box-shadow: 0 14px 38px rgba(6,43,86,.065);
  text-align: center;
}

body.woocommerce-cart .plcsea-empty-cart__panel::before {
  position: absolute;
  top: 0;
  right: 18%;
  left: 18%;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg,transparent,#087cf0,#19b7ff,#087cf0,transparent);
  content: "";
}

body.woocommerce-cart .plcsea-empty-cart__icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin: 0 auto .75rem;
  place-items: center;
  border: 1px solid #cbe2f3;
  border-radius: 18px;
  background: linear-gradient(145deg,#eef8ff,#e5f3fd);
  color: var(--plcsea-ocean-700);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

body.woocommerce-cart .plcsea-empty-cart__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.woocommerce-cart .plcsea-empty-cart .eyebrow,
body.woocommerce-cart .cart-empty-products__heading .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  color: var(--plcsea-ocean-700);
  font-family: var(--plcsea-font-tech);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .1em;
}

body.woocommerce-cart .plcsea-empty-cart .eyebrow::before,
body.woocommerce-cart .plcsea-empty-cart .eyebrow::after,
body.woocommerce-cart .cart-empty-products__heading .eyebrow::before,
body.woocommerce-cart .cart-empty-products__heading .eyebrow::after {
  width: 27px;
  height: 1px;
  flex: 0 0 27px;
  background: currentColor;
  content: "";
}

body.woocommerce-cart .plcsea-empty-cart h2 {
  margin: .45rem 0 .35rem;
  color: var(--plcsea-navy-950);
  font-size: clamp(1.3rem,1.12rem + .55vw,1.62rem);
  font-weight: 850;
  line-height: 1.55;
}

body.woocommerce-cart .plcsea-empty-cart__panel > p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--plcsea-ink-500);
  font-size: .72rem;
  line-height: 1.9;
}

body.woocommerce-cart .plcsea-empty-cart__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
}

body.woocommerce-cart .plcsea-empty-cart__primary,
body.woocommerce-cart .plcsea-empty-cart__secondary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: .58rem 1rem;
  border-radius: 8px;
  font-size: .68rem;
  font-weight: 820;
  line-height: 1.4;
  text-decoration: none;
  transform: none;
  transition: background-color 180ms ease,border-color 180ms ease,color 180ms ease,box-shadow 180ms ease;
}

body.woocommerce-cart .plcsea-empty-cart__primary {
  border: 1px solid #087cf0;
  background: #087cf0;
  color: #fff;
  box-shadow: 0 8px 20px rgba(8,124,240,.16);
}

body.woocommerce-cart .plcsea-empty-cart__primary:hover,
body.woocommerce-cart .plcsea-empty-cart__primary:focus-visible {
  border-color: #0668cf;
  background: #0668cf;
  color: #fff;
  box-shadow: 0 10px 24px rgba(8,105,207,.22);
  transform: none;
}

body.woocommerce-cart .plcsea-empty-cart__secondary {
  border: 1px solid #cbddea;
  background: #fff;
  color: var(--plcsea-navy-900);
}

body.woocommerce-cart .plcsea-empty-cart__secondary:hover,
body.woocommerce-cart .plcsea-empty-cart__secondary:focus-visible {
  border-color: #9fc9e8;
  background: #f3f9fd;
  color: var(--plcsea-ocean-700);
}

body.woocommerce-cart .plcsea-empty-cart__primary::before,
body.woocommerce-cart .plcsea-empty-cart__primary::after,
body.woocommerce-cart .plcsea-empty-cart__secondary::before,
body.woocommerce-cart .plcsea-empty-cart__secondary::after {
  display: none;
  content: none;
}

body.woocommerce-cart .cart-empty-products {
  padding: .2rem 0 clamp(3rem,5vw,4.25rem);
}

body.woocommerce-cart .cart-empty-products__heading {
  width: min(100%,720px);
  margin: 0 auto 1.2rem;
  text-align: center;
}

body.woocommerce-cart .cart-empty-products__heading h2 {
  margin: .4rem 0 .25rem;
  color: var(--plcsea-navy-950);
  font-size: clamp(1.35rem,1.1rem + .65vw,1.75rem);
  line-height: 1.55;
}

body.woocommerce-cart .cart-empty-products__heading p {
  margin: 0;
  color: var(--plcsea-ink-500);
  font-size: .72rem;
  line-height: 1.9;
}

body.woocommerce-cart .cart-empty-products__grid,
body.woocommerce-cart .cart-empty-products ul.products {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4,minmax(0,1fr));
  align-items: stretch;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.woocommerce-cart .cart-empty-products__grid::before,
body.woocommerce-cart .cart-empty-products__grid::after {
  display: none;
}

body.woocommerce-cart .cart-empty-products__grid > li.product.product-card,
body.woocommerce-cart .cart-empty-products ul.products > li.product.product-card {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  justify-self: stretch;
  align-self: stretch;
}

/* WooCommerce core still assigns percentage widths to li.product. Inside the
   empty-cart CSS grid that percentage is relative to each grid track, which
   collapses cards to a narrow strip. Force the canonical PLCSEA card to fill
   its grid track only in this section. */
body.woocommerce-cart .cart-empty-products .product-card {
  width: 100%;
  max-width: none;
}

@media (max-width: 1050px) {
  body.woocommerce-cart .cart-empty-products__grid,
  body.woocommerce-cart .cart-empty-products ul.products {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 650px) {
  body.woocommerce-cart .plcsea-empty-cart {
    padding: 1.35rem 0 1.8rem;
  }

  body.woocommerce-cart .plcsea-empty-cart__panel {
    padding: 1rem .8rem 1.1rem;
    border-radius: 14px;
  }

  body.woocommerce-cart .plcsea-empty-cart__icon {
    width: 54px;
    height: 54px;
    margin-bottom: .65rem;
    border-radius: 15px;
  }

  body.woocommerce-cart .plcsea-empty-cart__icon svg {
    width: 25px;
    height: 25px;
  }

  body.woocommerce-cart .plcsea-empty-cart h2 {
    font-size: 1.3rem;
  }

  body.woocommerce-cart .plcsea-empty-cart__panel > p {
    font-size: .68rem;
    line-height: 1.9;
  }

  body.woocommerce-cart .plcsea-empty-cart__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.woocommerce-cart .plcsea-empty-cart__primary,
  body.woocommerce-cart .plcsea-empty-cart__secondary {
    width: 100%;
  }

  body.woocommerce-cart .cart-empty-products {
    padding-bottom: 3rem;
  }

  body.woocommerce-cart .cart-empty-products__grid,
  body.woocommerce-cart .cart-empty-products ul.products {
    grid-template-columns: 1fr;
    gap: .8rem;
  }
}


/* =========================================================
   ORDER RECEIVED — PLCSEA CONFIRMATION EXPERIENCE
   ========================================================= */
body.woocommerce-order-received .commerce-main {
  padding-block: 2.2rem 3.8rem;
  background: linear-gradient(180deg,#f7fbff 0,#fff 360px);
}

body.woocommerce-order-received .woocommerce-order {
  width: min(100%, 1180px);
  max-width: none;
  margin-inline: auto;
}

body.woocommerce-order-received .woocommerce-notice--success,
body.woocommerce-order-received .woocommerce-thankyou-order-received {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: 100%;
  margin: 0 0 1.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--plcsea-navy-900);
  font-size: .92rem;
  font-weight: 820;
  line-height: 1.9;
  text-align: center;
}

body.woocommerce-order-received .woocommerce-notice--success::before,
body.woocommerce-order-received .woocommerce-thankyou-order-received::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  flex: 0 0 1.65rem;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: #e8f8ef;
  border: 1px solid #bde8cd;
  color: #159447;
  font-size: .92rem;
  font-weight: 900;
  line-height: 1;
}

/* Four confirmation facts — centered summary cards. */
body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  align-items: stretch;
  width: 100%;
  max-width: 900px;
  gap: .8rem;
  margin: 0 auto 1.45rem;
  padding: 0;
  list-style: none;
}

body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details::before,
body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details::after {
  display: none;
  content: none;
}

body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > li {
  display: flex;
  float: none;
  clear: none;
  width: 100%;
  min-width: 0;
  min-height: 112px;
  grid-column: auto;
  grid-row: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  margin: 0;
  padding: 1rem .8rem;
  border: 1px solid #cfdfeb;
  border-radius: 13px;
  background: linear-gradient(180deg,#f4faff 0%,#eef7ff 100%);
  box-shadow: 0 8px 24px rgba(6,43,86,.055);
  color: #7b91a5;
  font-size: .64rem;
  line-height: 1.55;
  text-align: center;
}

body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > li::before,
body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > li::after {
  display: none;
}

body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > li strong {
  display: block;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--plcsea-navy-950);
  font-size: .8rem;
  font-weight: 850;
  line-height: 1.65;
  text-align: center;
}


body.woocommerce-order-received .plcsea-order-summary-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: .18rem;
  border: 1px solid #cfe4f7;
  border-radius: 50%;
  background: #e3f2ff;
  color: #0b82e6;
}

body.woocommerce-order-received .plcsea-order-summary-icon svg {
  width: 21px;
  height: 21px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.woocommerce-order-received .plcsea-order-confirmation-copy {
  max-width: 950px;
  margin: 0 auto 1.5rem;
  padding: 1rem 1.2rem;
  border: 1px solid #d1e2ee;
  border-radius: 12px;
  background: linear-gradient(180deg,#fff,#f9fcff);
  box-shadow: 0 5px 18px rgba(6,43,86,.035);
  color: var(--plcsea-ink-700);
  font-size: .8rem;
  line-height: 2.05;
  text-align: center;
}

/* Main order/detail cards. */
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #c9ddea;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(6,43,86,.045);
}

body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title {
  margin: 0 0 1.05rem;
  color: var(--plcsea-navy-950);
  font-size: 1.18rem;
  font-weight: 880;
  line-height: 1.5;
}

/* Order table — full-width, two-column, stronger hierarchy. */
body.woocommerce-order-received .woocommerce-order-details table.shop_table {
  display: table;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d2e2ed;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  table-layout: fixed;
  background: #fff;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table thead {
  display: table-header-group;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table tbody {
  display: table-row-group;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot {
  display: table-footer-group;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table tr {
  display: table-row;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table th,
body.woocommerce-order-received .woocommerce-order-details table.shop_table td {
  display: table-cell;
  padding: .88rem 1rem;
  border: 0;
  border-bottom: 1px solid #dce8f1;
  background: #fff;
  vertical-align: middle;
  color: var(--plcsea-ink-700);
  font-size: .76rem;
  line-height: 1.75;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table thead th {
  background: linear-gradient(180deg,#edf6fc,#e8f2fa);
  color: var(--plcsea-navy-950);
  font-size: .76rem;
  font-weight: 850;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table tbody tr:hover td {
  background: #f5faff;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot th {
  width: 68%;
  background: #f2f7fb;
  color: var(--plcsea-navy-900);
  font-weight: 820;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot td {
  width: 32%;
  background: #fbfdff;
  color: var(--plcsea-navy-950);
  font-weight: 760;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table tr:last-child th,
body.woocommerce-order-received .woocommerce-order-details table.shop_table tr:last-child td {
  border-bottom: 0;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table th.product-name,
body.woocommerce-order-received .woocommerce-order-details table.shop_table td.product-name {
  width: 68%;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table th.product-total,
body.woocommerce-order-received .woocommerce-order-details table.shop_table td.product-total {
  width: 32%;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table .product-name a {
  color: #0569c9;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table .product-quantity {
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  margin-inline-start: .3rem;
  padding-inline: .38rem;
  border-radius: 999px;
  background: #edf6ff;
  color: #0b65bd;
  font-size: .67rem;
  font-weight: 850;
}

/* Single contact/address card. */
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns {
  display: block;
  margin: 0;
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--shipping-address {
  display: none;
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--billing-address {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.woocommerce-order-received .woocommerce-customer-details address {
  min-height: 0;
  margin: 0;
  padding: 1.05rem 1.15rem;
  border: 1px solid #d8e6f0;
  border-radius: 11px;
  background: linear-gradient(180deg,#fff,#f9fcff);
  color: var(--plcsea-ink-700);
  font-size: .78rem;
  font-style: normal;
  line-height: 2;
}

body.woocommerce-order-received .woocommerce-customer-details address p {
  margin: .35rem 0 0;
}

/* Next-step CTA / status panel. */
body.woocommerce-order-received .order-next-steps {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0,1fr);
  align-items: center;
  gap: 1.1rem;
  margin: 1.7rem 0 0;
  padding: 1.3rem 1.4rem;
  overflow: hidden;
  border: 1px solid #a9d3ee;
  border-radius: 15px;
  background:
    radial-gradient(circle at 8% 20%,rgba(19,136,255,.11),transparent 28%),
    linear-gradient(135deg,#f7fcff 0,#edf8ff 55%,#e7f5ff 100%);
  box-shadow: 0 10px 28px rgba(6,81,145,.065);
}

body.woocommerce-order-received .order-next-steps::before {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg,#168bff,#05b8df);
  content: "";
}

body.woocommerce-order-received .order-next-steps__icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid #c6e3f7;
  border-radius: 17px;
  background: #fff;
  color: #0878dc;
  box-shadow: 0 6px 16px rgba(5,105,201,.08);
}

body.woocommerce-order-received .order-next-steps__icon svg {
  display: block;
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

body.woocommerce-order-received .order-next-steps > div {
  min-width: 0;
}

body.woocommerce-order-received .order-next-steps h2 {
  margin: 0 0 .3rem;
  color: var(--plcsea-navy-950);
  font-size: 1.02rem;
  font-weight: 880;
}

body.woocommerce-order-received .order-next-steps p {
  max-width: 880px;
  margin: 0;
  color: var(--plcsea-ink-700);
  font-size: .75rem;
  line-height: 2;
}

@media (max-width: 780px) {
  body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 520px) {
  body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    grid-template-columns: 1fr;
    gap: .58rem;
  }
}

@media (max-width: 650px) {
  body.woocommerce-order-received .commerce-main {
    padding-block: 1rem 2.5rem;
  }

  body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > li {
    min-height: 78px;
    padding: .8rem;
  }

  body.woocommerce-order-received .woocommerce-order-details,
  body.woocommerce-order-received .woocommerce-customer-details {
    padding: .85rem;
    border-radius: 12px;
  }

  body.woocommerce-order-received .woocommerce-order-details table.shop_table th,
  body.woocommerce-order-received .woocommerce-order-details table.shop_table td {
    padding: .68rem .62rem;
    font-size: .68rem;
  }

  body.woocommerce-order-received .order-next-steps {
    grid-template-columns: 48px minmax(0,1fr);
    gap: .8rem;
    padding: 1rem;
  }

  body.woocommerce-order-received .order-next-steps__icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  body.woocommerce-order-received .order-next-steps__icon svg {
    width: 22px;
    height: 22px;
  }
}

/* =========================================================
   MY ACCOUNT — GUEST LOGIN / REGISTER
   Canonical styles for the real form-login.php markup.
   ========================================================= */

/* Brand panel: use the real classes rendered by form-login.php. */
body.woocommerce-account .plcsea-auth-brand {
  text-align: center;
}

body.woocommerce-account .plcsea-auth-brand .auth-logo {
  display: block;
  width: min(52%, 320px);
  max-width: 320px;
  height: auto;
  margin: 0 auto clamp(1.5rem, 3vh, 2.2rem);
  object-fit: contain;
  object-position: center;
}

body.woocommerce-account .plcsea-auth-brand > div {
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

body.woocommerce-account .plcsea-auth-brand > div .eyebrow {
  justify-content: center;
  margin-inline: auto;
  text-align: center;
}

body.woocommerce-account .plcsea-auth-brand > div h1,
body.woocommerce-account .plcsea-auth-brand > div p {
  margin-inline: auto;
  text-align: center;
}

/* LEARN / STORE / BUILD SOLUTIONS — centered as one three-item group. */
body.woocommerce-account .plcsea-auth-brand > ul {
  display: grid;
  width: min(100%, 460px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.6rem);
  margin: clamp(1.5rem, 4vh, 2.4rem) auto 0;
  padding: 0;
  direction: rtl;
  list-style: none;
}

body.woocommerce-account .plcsea-auth-brand > ul > li {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: .25rem;
  margin: 0;
  padding: 0;
  text-align: center;
}

body.woocommerce-account .plcsea-auth-brand > ul > li > span {
  display: block;
  width: 100%;
  text-align: center;
}

/* Password field: keep only PLCSEA's own reveal button. */
body.woocommerce-account .password-field {
  position: relative;
  display: block;
}

body.woocommerce-account .password-field > .show-password-input {
  display: none;
}

body.woocommerce-account .password-field > [data-toggle-password] {
  position: absolute;
  top: 50%;
  left: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #31536f;
  cursor: pointer;
  transform: translateY(-50%);
}

body.woocommerce-account .password-field > [data-toggle-password] svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

body.woocommerce-account .password-field > input[type="password"],
body.woocommerce-account .password-field > input[type="text"] {
  padding-left: 58px;
}

@media (max-width: 780px) {
  body.woocommerce-account .plcsea-auth-brand .auth-logo {
    width: min(64%, 280px);
  }

  body.woocommerce-account .plcsea-auth-brand > ul {
    width: min(100%, 390px);
    gap: .65rem;
  }
}

@media (max-width: 520px) {
  body.woocommerce-account .plcsea-auth-brand .auth-logo {
    width: min(70%, 250px);
  }

  body.woocommerce-account .plcsea-auth-brand > ul {
    width: 100%;
    gap: .45rem;
  }
}

/* =========================================================
   MY ACCOUNT — LOGGED-IN PORTAL / DASHBOARD
   Canonical logged-in account layout matching the PLCSEA reference.
   ========================================================= */

/* Expand the account workspace to the same centered desktop canvas as the reference. */
body.woocommerce-account.logged-in .singular-shell,
body.woocommerce-account.logged-in .singular-shell--page,
body.woocommerce-account.logged-in article .entry-content {
  width: 100%;
  max-width: none;
}

body.woocommerce-account.logged-in .entry-content > .woocommerce,
body.woocommerce-account.logged-in main .woocommerce {
  width: min(calc(100% - 2rem), 1400px);
  max-width: 1400px;
  margin: 1.15rem auto 1.5rem;
  padding: 0;
}

body.woocommerce-account.logged-in .entry-content > .woocommerce::after,
body.woocommerce-account.logged-in main .woocommerce::after {
  display: table;
  clear: both;
  content: "";
}

/* Desktop: slim navigation rail at the right, large dashboard canvas at the left. */
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
  float: right;
  width: 158px;
  max-width: 158px;
  margin: 0;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content {
  float: left;
  width: calc(100% - 180px);
  max-width: none;
  margin: 0;
  padding: 0;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul {
  width: 100%;
}

/* The dashboard itself starts directly with the three reference cards. */
body.woocommerce-account.logged-in .account-section-heading {
  display: none;
}

body.woocommerce-account.logged-in .account-overview-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 1rem;
  margin: 1rem 0 0;
}

body.woocommerce-account.logged-in .account-panel {
  min-width: 0;
  min-height: 250px;
  overflow: hidden;
  padding: 1rem 1.05rem;
  border: 1px solid #d7e5f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(6, 37, 78, .035);
}

body.woocommerce-account.logged-in .account-panel__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  margin-bottom: .75rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid #e4edf4;
}

body.woocommerce-account.logged-in .account-panel__heading > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .5rem;
}

body.woocommerce-account.logged-in .account-panel__heading svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: #0784ff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.woocommerce-account.logged-in .account-panel__heading h3 {
  margin: 0;
  color: #071f43;
  font-size: 1rem;
  font-weight: 880;
  line-height: 1.45;
}

body.woocommerce-account.logged-in .account-panel__heading > a {
  flex: 0 0 auto;
  padding: .32rem .58rem;
  border-radius: 7px;
  background: #eef7ff;
  color: #087cf2;
  font-size: .65rem;
  font-weight: 820;
  text-decoration: none;
}

body.woocommerce-account.logged-in .dashboard-orders {
  display: grid;
  gap: .45rem;
}

body.woocommerce-account.logged-in .dashboard-orders > a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem .72rem;
  border: 1px solid #e0eaf2;
  border-radius: 10px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

body.woocommerce-account.logged-in .dashboard-orders > a:hover {
  border-color: #b8d9f5;
  box-shadow: 0 8px 22px rgba(8, 124, 242, .07);
  transform: translateY(-1px);
}

body.woocommerce-account.logged-in .dashboard-order__identity {
  display: grid;
  min-width: 0;
  gap: .12rem;
}

body.woocommerce-account.logged-in .dashboard-order__identity b {
  color: #08274f;
  font-size: .77rem;
  font-weight: 850;
}

body.woocommerce-account.logged-in .dashboard-order__identity small {
  color: #7b91a8;
  font-size: .61rem;
  line-height: 1.65;
}

body.woocommerce-account.logged-in .status-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: .36rem .6rem;
  border-radius: 999px;
  background: #eaf5ff;
  color: #0872d9;
  font-size: .61rem;
  font-weight: 840;
  white-space: nowrap;
}

body.woocommerce-account.logged-in .status-badge--completed {
  background: #e9f9f2;
  color: #16845e;
}

body.woocommerce-account.logged-in .status-badge--cancelled,
body.woocommerce-account.logged-in .status-badge--failed {
  background: #fff0f2;
  color: #c63142;
}

body.woocommerce-account.logged-in .dashboard-addresses__primary {
  min-height: 178px;
  padding: .9rem;
  border: 1px solid #e2edf5;
  border-radius: 10px;
  background: #f8fcff;
}

body.woocommerce-account.logged-in .dashboard-addresses__tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .55rem;
  color: #087cf2;
  font-size: .65rem;
  font-weight: 850;
}

body.woocommerce-account.logged-in .dashboard-addresses__tag svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

body.woocommerce-account.logged-in .dashboard-addresses address {
  margin: 0;
  color: #34516f;
  font-size: .73rem;
  font-style: normal;
  line-height: 2;
}

body.woocommerce-account.logged-in .account-facts {
  display: grid;
  margin: 0;
}

body.woocommerce-account.logged-in .account-facts > div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: .55rem;
  padding: .72rem .1rem;
  border-bottom: 1px solid #e7eef4;
}

body.woocommerce-account.logged-in .account-facts > div:last-child {
  border-bottom: 0;
}

body.woocommerce-account.logged-in .account-facts dt {
  color: #8a9caf;
  font-size: .61rem;
  font-weight: 720;
}

body.woocommerce-account.logged-in .account-facts dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #0a294f;
  font-size: .74rem;
  font-weight: 820;
  line-height: 1.8;
}

@media (max-width: 1120px) {
  body.woocommerce-account.logged-in .entry-content > .woocommerce,
  body.woocommerce-account.logged-in main .woocommerce {
    width: min(calc(100% - 1.4rem), 1040px);
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
    width: 150px;
    max-width: 150px;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content {
    width: calc(100% - 168px);
  }

  body.woocommerce-account.logged-in .account-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.woocommerce-account.logged-in .account-panel--orders {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  body.woocommerce-account.logged-in .entry-content > .woocommerce,
  body.woocommerce-account.logged-in main .woocommerce {
    width: min(calc(100% - 1rem), 720px);
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
    max-width: none;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
    margin-bottom: 1rem;
  }

  body.woocommerce-account.logged-in .account-overview-grid {
    grid-template-columns: 1fr;
    margin-top: .8rem;
  }

  body.woocommerce-account.logged-in .account-panel--orders {
    grid-column: auto;
  }

  body.woocommerce-account.logged-in .account-panel,
  body.woocommerce-account.logged-in .dashboard-addresses__primary {
    min-height: 0;
  }
}

@media (max-width: 480px) {
  body.woocommerce-account.logged-in .account-panel {
    padding: .85rem;
    border-radius: 12px;
  }

  body.woocommerce-account.logged-in .dashboard-orders > a {
    align-items: flex-start;
    flex-direction: column;
  }

  body.woocommerce-account.logged-in .account-facts > div {
    grid-template-columns: 66px minmax(0, 1fr);
  }
}

/* =========================================================
   MY ACCOUNT — FINAL DASHBOARD POLISH
   Small visual refinements only; keeps the v3 layout intact.
   ========================================================= */

/* Welcome strip: more compact and intentional, matching the reference density. */
body.woocommerce-account.logged-in .plcsea-account-greeting {
  min-height: 104px;
  padding-block: 1rem;
}

body.woocommerce-account.logged-in .plcsea-account-greeting__title {
  margin-top: .15rem;
  margin-bottom: .2rem;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.45;
}

body.woocommerce-account.logged-in .plcsea-account-greeting p {
  margin-bottom: 0;
  line-height: 1.75;
}

body.woocommerce-account.logged-in .plcsea-account-greeting img {
  width: 58px;
  height: 58px;
}

/* Bring the navigation rail and cards into one tighter visual group. */
body.woocommerce-account.logged-in .woocommerce-MyAccount-content {
  width: calc(100% - 174px);
}

body.woocommerce-account.logged-in .account-overview-grid {
  gap: .8rem;
  margin-top: .8rem;
}

body.woocommerce-account.logged-in .account-panel {
  min-height: 236px;
  padding: .9rem .95rem;
}

body.woocommerce-account.logged-in .account-panel__heading {
  margin-bottom: .62rem;
  padding-bottom: .62rem;
}

/* Recent orders: avoid an empty-looking card when the account has only one order. */
body.woocommerce-account.logged-in .account-panel--orders {
  background:
    linear-gradient(180deg, rgba(245,250,255,.72), rgba(255,255,255,0) 46%),
    #fff;
}

body.woocommerce-account.logged-in .dashboard-orders > a {
  min-height: 66px;
  padding: .72rem .78rem;
}

body.woocommerce-account.logged-in .dashboard-order__identity b {
  font-size: .8rem;
}

body.woocommerce-account.logged-in .dashboard-order__identity small {
  margin-top: .08rem;
}

/* Address and account facts: slightly stronger hierarchy and cleaner rhythm. */
body.woocommerce-account.logged-in .dashboard-addresses__primary {
  min-height: 164px;
  padding: .82rem .88rem;
}

body.woocommerce-account.logged-in .dashboard-addresses address {
  font-size: .72rem;
  line-height: 1.9;
}

body.woocommerce-account.logged-in .account-facts > div {
  grid-template-columns: 66px minmax(0, 1fr);
  padding: .64rem .05rem;
}

body.woocommerce-account.logged-in .account-facts dd {
  font-size: .72rem;
  line-height: 1.65;
}

body.woocommerce-account.logged-in .account-facts dd[dir="ltr"] {
  direction: ltr;
  unicode-bidi: plaintext;
  font-size: .69rem;
  white-space: normal;
}

@media (min-width: 1121px) {
  body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
    width: 154px;
    max-width: 154px;
  }
}

@media (max-width: 1120px) {
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content {
    width: calc(100% - 164px);
  }
}

@media (max-width: 820px) {
  body.woocommerce-account.logged-in .plcsea-account-greeting {
    min-height: 0;
    padding-block: .85rem;
  }

  body.woocommerce-account.logged-in .plcsea-account-greeting img {
    width: 52px;
    height: 52px;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content {
    width: 100%;
  }
}

/* =========================================================
   MY ACCOUNT — ORDERS
   Compact B2B order tracking cards, aligned with dashboard.
   ========================================================= */

body.woocommerce-account.logged-in.woocommerce-orders .account-section-heading,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content > .account-section-heading--orders {
  display: block;
  margin: 0 0 .9rem;
  padding: 0 0 .8rem;
  border-bottom: 1px solid #e2ebf3;
}
body.woocommerce-account.logged-in .account-section-heading--orders .eyebrow { display:flex; justify-content:center; margin:0 auto .28rem; font-size:.58rem; text-align:center; }
body.woocommerce-account.logged-in .account-section-heading--orders h2 { margin:0 0 .22rem; color:#071f43; font-size:1.18rem; font-weight:880; line-height:1.5; text-align:center; }
body.woocommerce-account.logged-in .account-section-heading--orders p { max-width:620px; margin:0 auto; color:#71869a; font-size:.68rem; line-height:1.8; text-align:center; }

body.woocommerce-account.logged-in .account-orders-list { display:grid; gap:.7rem; width:100%; }
body.woocommerce-account.logged-in .account-order-card {
  overflow:hidden; border:1px solid #d7e5f0; border-radius:13px; background:#fff;
  box-shadow:0 7px 22px rgba(6,37,78,.035);
  transition:border-color 180ms ease,box-shadow 180ms ease,transform 180ms ease;
}
body.woocommerce-account.logged-in .account-order-card:hover { border-color:#b9d9f1; box-shadow:0 12px 30px rgba(6,43,86,.065); transform:translateY(-1px); }
body.woocommerce-account.logged-in .account-order-card__head {
  display:flex; min-height:72px; align-items:center; justify-content:space-between; gap:1rem;
  padding:.8rem .95rem; border-bottom:1px solid #e6eef5; background:linear-gradient(180deg,#fbfdff,#f7fbff);
}
body.woocommerce-account.logged-in .account-order-card__identity { display:flex; min-width:0; align-items:center; gap:.65rem; }
body.woocommerce-account.logged-in .account-order-card__icon {
  display:grid; width:38px; height:38px; flex:0 0 38px; place-items:center;
  border:1px solid #cfe3f4; border-radius:10px; background:#eef8ff; color:#087cf2;
}
body.woocommerce-account.logged-in .account-order-card__icon svg {
  width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round;
}
body.woocommerce-account.logged-in .account-order-card__identity > div { display:grid; min-width:0; gap:.08rem; }
body.woocommerce-account.logged-in .account-order-card__identity b { color:#08274f; font-size:.82rem; font-weight:880; }
body.woocommerce-account.logged-in .account-order-card__identity time { color:#8194a7; font-size:.6rem; line-height:1.6; }

body.woocommerce-account.logged-in .status-badge__dot { width:6px; height:6px; flex:0 0 6px; border-radius:50%; background:currentColor; }
body.woocommerce-account.logged-in .status-badge--processing,
body.woocommerce-account.logged-in .status-badge--on-hold,
body.woocommerce-account.logged-in .status-badge--pending { background:#eaf5ff; color:#0872d9; }

body.woocommerce-account.logged-in .account-order-card__body {
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(150px,.62fr) minmax(170px,.72fr);
  align-items:stretch;
  gap:0;
  min-height:84px;
  padding:0;
  background:#fff;
}

body.woocommerce-account.logged-in .account-order-card__metric,
body.woocommerce-account.logged-in .account-order-card__actions {
  min-width:0;
  min-height:84px;
  padding:.78rem 1rem;
  border-inline-start:1px solid #e4edf5;
  background:#fff;
}

body.woocommerce-account.logged-in .account-order-card__metric:first-child {
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:.22rem;
  border-inline-start:0;
  text-align:right;
}

body.woocommerce-account.logged-in .account-order-card__metric:nth-child(2) {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:.28rem;
  text-align:center;
  background:#fbfdff;
}

body.woocommerce-account.logged-in .account-order-card__metric small {
  color:#8497aa;
  font-size:.58rem;
  line-height:1.5;
}

body.woocommerce-account.logged-in .account-order-card__metric strong {
  color:#08274f;
  font-size:.78rem;
  font-weight:850;
  line-height:1.65;
}

body.woocommerce-account.logged-in .account-order-card__metric:nth-child(2) strong {
  display:inline-flex;
  min-width:34px;
  height:30px;
  align-items:center;
  justify-content:center;
  padding:0 .55rem;
  border-radius:999px;
  background:#eaf5ff;
  color:#0872d9;
  font-size:.74rem;
}

body.woocommerce-account.logged-in .account-order-card__actions {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:.45rem;
  background:#fbfdff;
}

body.woocommerce-account.logged-in .account-order-card__actions .button {
  display:inline-flex;
  min-width:104px;
  min-height:40px;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:.5rem .9rem;
  border-radius:8px;
  font-size:.64rem;
  font-weight:820;
  white-space:nowrap;
}

body.woocommerce-account.logged-in .account-orders-pagination { display:flex; justify-content:center; gap:.5rem; margin-top:.9rem; }
body.woocommerce-account.logged-in .account-order-card__identity > div { text-align:right; }
body.woocommerce-account.logged-in .account-order-card__head .status-badge { margin-inline-start:auto; }


@media (max-width:900px) {
  body.woocommerce-account.logged-in .account-order-card__body {
    grid-template-columns:minmax(0,1.25fr) minmax(130px,.6fr);
  }
  body.woocommerce-account.logged-in .account-order-card__actions {
    grid-column:1 / -1;
    min-height:64px;
    border-inline-start:0;
    border-top:1px solid #e4edf5;
  }
}
@media (max-width:650px) {
  body.woocommerce-account.logged-in .account-order-card__head {
    align-items:flex-start;
    flex-direction:column;
    gap:.65rem;
  }
  body.woocommerce-account.logged-in .account-order-card__body {
    grid-template-columns:1fr;
  }
  body.woocommerce-account.logged-in .account-order-card__metric,
  body.woocommerce-account.logged-in .account-order-card__actions {
    min-height:0;
    padding:.72rem .85rem;
    border-inline-start:0;
    border-bottom:1px solid #e7eff5;
  }
  body.woocommerce-account.logged-in .account-order-card__metric:nth-child(2) {
    align-items:flex-start;
    text-align:right;
    background:#fff;
  }
  body.woocommerce-account.logged-in .account-order-card__actions {
    grid-column:auto;
    border-bottom:0;
    border-top:0;
    background:#fff;
  }
  body.woocommerce-account.logged-in .account-order-card__actions .button {
    width:100%;
  }
}

/* =========================================================
   MY ACCOUNT — ORDERS EMAIL VERIFICATION NOTICE
   Prevent WooCommerce/default pseudo icons from overlapping RTL text.
   ========================================================= */
body.woocommerce-account.logged-in .woocommerce-MyAccount-content > .woocommerce-info,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content > .woocommerce-message {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin: 0 0 .9rem;
  padding: .85rem 1rem;
  border: 1px solid #ead59a;
  border-inline-start: 4px solid #c99218;
  border-radius: 12px;
  background: linear-gradient(180deg,#fffaf0,#fff7e6);
  color: #203a58;
  font-size: .68rem;
  line-height: 1.9;
  box-shadow: 0 6px 18px rgba(87,61,10,.04);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content > .woocommerce-info::before,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content > .woocommerce-message::before,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content > .woocommerce-info::after,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content > .woocommerce-message::after {
  display: none !important;
  content: none !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content > .woocommerce-info .button,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content > .woocommerce-message .button {
  float: none !important;
  grid-column: 2;
  grid-row: 1;
  min-height: 40px;
  margin: 0;
  padding: .5rem .85rem;
  border-radius: 8px;
  white-space: nowrap;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content > .woocommerce-info a:not(.button),
body.woocommerce-account.logged-in .woocommerce-MyAccount-content > .woocommerce-message a:not(.button) {
  position: static !important;
}

/* The base PLCSEA status badge already renders the visual dot. */
body.woocommerce-account.logged-in .account-order-card .status-badge__dot {
  display: none !important;
}

@media (max-width: 650px) {
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content > .woocommerce-info,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content > .woocommerce-message {
    grid-template-columns: 1fr;
    gap: .7rem;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content > .woocommerce-info .button,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content > .woocommerce-message .button {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }
}


/* =========================================================
   MY ACCOUNT — ORDERS FINAL POLISH
   Stable button hover + final visual balance.
   ========================================================= */
body.woocommerce-account.logged-in .account-order-card__actions .button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #0877df;
  background: #0877df;
  color: #fff;
  box-shadow: 0 5px 14px rgba(8,119,223,.16);
  transform: none;
  backface-visibility: visible;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

/* Kill inherited theme/Woo decorative layers that cause the hover flash. */
body.woocommerce-account.logged-in .account-order-card__actions .button::before,
body.woocommerce-account.logged-in .account-order-card__actions .button::after {
  content: none !important;
  display: none !important;
  animation: none !important;
}

body.woocommerce-account.logged-in .account-order-card__actions .button:hover,
body.woocommerce-account.logged-in .account-order-card__actions .button:focus-visible {
  border-color: #0568c6 !important;
  background: #0568c6 !important;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(8,119,223,.22) !important;
  transform: none;
  opacity: 1 !important;
  filter: none !important;
  animation: none !important;
}

body.woocommerce-account.logged-in .account-order-card__actions .button:active {
  transform: none;
  box-shadow: 0 3px 9px rgba(8,119,223,.16) !important;
}

/* Give the three order summary cells one consistent visual rhythm. */
body.woocommerce-account.logged-in .account-order-card__body {
  border-top: 1px solid #e7eff6;
}
body.woocommerce-account.logged-in .account-order-card__metric,
body.woocommerce-account.logged-in .account-order-card__actions {
  min-height: 88px;
}
body.woocommerce-account.logged-in .account-order-card__metric small {
  margin-bottom: .05rem;
  letter-spacing: 0;
}
body.woocommerce-account.logged-in .account-order-card__metric strong {
  font-variant-numeric: tabular-nums;
}
body.woocommerce-account.logged-in .account-order-card__actions .button {
  min-width: 112px;
}

/* Account empty-state CTAs: stable hover, without touching the email verification notice button. */
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .empty-state .button {
  border-color: #0877df;
  background: #0877df;
  color: #fff;
  box-shadow: 0 5px 14px rgba(8,119,223,.16);
  transform: none;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .empty-state .button:hover,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .empty-state .button:focus-visible {
  border-color: #0568c6;
  background: #0568c6;
  color: #fff;
  box-shadow: 0 7px 18px rgba(8,119,223,.22);
  transform: none;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .empty-state .button:active {
  background: #045cad;
  border-color: #045cad;
  box-shadow: 0 3px 9px rgba(8,119,223,.16);
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  body.woocommerce-account.logged-in .account-order-card__actions .button,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .empty-state .button {
    transition: none !important;
  }
}

/* =========================================================
   MY ACCOUNT — VIEW ORDER
   Single clean order detail + one customer/address card.
   ========================================================= */

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .order-status-overview {
  display: grid;
  gap: .28rem;
  margin: 0 0 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid #b9d9ef;
  border-radius: 14px;
  background: linear-gradient(135deg,#f6fbff,#eaf7ff);
  box-shadow: 0 8px 24px rgba(6,43,86,.035);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .order-status-overview .eyebrow {
  margin: 0 0 .18rem;
  font-size: .57rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .order-status-overview h2 {
  margin: 0;
  color: #071f43;
  font-size: 1rem;
  font-weight: 880;
  line-height: 1.55;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .order-status-overview p {
  margin: 0;
  color: #6f8498;
  font-size: .68rem;
  line-height: 1.85;
}

/* Main order card */
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details {
  margin: 0 0 1rem;
  padding: 1.05rem;
  border: 1px solid #d3e3ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(6,37,78,.035);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details__title {
  margin: 0 0 .85rem;
  color: #071f43;
  font-size: 1.12rem;
  font-weight: 880;
  line-height: 1.55;
}

/* Stable two-column order table */
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table {
  display: table;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d8e5ef;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 11px;
  table-layout: fixed;
  background: #fff;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table thead,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table tbody,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table tfoot {
  display: table-row-group;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table thead {
  display: table-header-group;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table tfoot {
  display: table-footer-group;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table tr {
  display: table-row;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table th,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table td {
  display: table-cell;
  padding: .72rem .85rem;
  border: 0;
  border-bottom: 1px solid #e1ebf3;
  vertical-align: middle;
  color: #29445e;
  font-size: .72rem;
  line-height: 1.75;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table thead th {
  background: #edf6fc;
  color: #08274f;
  font-weight: 850;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table tbody tr:hover td {
  background: #f6fbff;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table th.product-name,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table td.product-name {
  width: 64%;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table th.product-total,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table td.product-total {
  width: 36%;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table tfoot th {
  background: #f2f7fb;
  color: #08274f;
  font-weight: 820;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table tfoot td {
  background: #fbfdff;
  color: #071f43;
  font-weight: 780;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table tr:last-child th,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table tr:last-child td {
  border-bottom: 0;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details .product-name a {
  color: #0569c9;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details .product-quantity {
  display: inline-flex;
  min-width: 23px;
  height: 23px;
  align-items: center;
  justify-content: center;
  margin-inline-start: .28rem;
  padding-inline: .35rem;
  border-radius: 999px;
  background: #edf6ff;
  color: #0b65bd;
  font-size: .64rem;
  font-weight: 850;
}

/* One customer/address card only. WooCommerce's shipping duplicate is hidden. */
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-customer-details {
  margin: 0;
  padding: 1.05rem;
  border: 1px solid #d3e3ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(6,37,78,.035);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-columns {
  display: block;
  margin: 0;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-column--shipping-address {
  display: none !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-column--billing-address {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-column__title {
  margin: 0 0 .8rem;
  color: #071f43;
  font-size: 1.05rem;
  font-weight: 880;
  line-height: 1.55;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-customer-details address {
  min-height: 0;
  margin: 0;
  padding: .9rem 1rem;
  border: 1px solid #dce8f1;
  border-radius: 10px;
  background: linear-gradient(180deg,#fbfdff,#f6faff);
  color: #304b64;
  font-size: .72rem;
  font-style: normal;
  line-height: 1.95;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-customer-details address p {
  margin: .3rem 0 0;
}

/* Customer notes */
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .order-customer-notes {
  margin: 0 0 1rem;
  padding: 1rem 1.05rem;
  border: 1px solid #d8e5ef;
  border-radius: 13px;
  background: #fff;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .order-customer-notes h2 {
  margin: 0 0 .75rem;
  color: #071f43;
  font-size: 1rem;
  font-weight: 850;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .order-customer-notes article + article {
  margin-top: .65rem;
  padding-top: .65rem;
  border-top: 1px solid #e5edf4;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .order-customer-notes time {
  color: #8194a7;
  font-size: .6rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .order-customer-notes p {
  margin: .25rem 0 0;
  color: #405b72;
  font-size: .7rem;
  line-height: 1.85;
}

@media (max-width: 650px) {
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-customer-details,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .order-status-overview {
    padding: .8rem;
    border-radius: 11px;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table th,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table td {
    padding: .62rem .55rem;
    font-size: .64rem;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table th.product-name,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table td.product-name {
    width: 58%;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table th.product-total,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table td.product-total {
    width: 42%;
  }
}

/* =========================================================
   MY ACCOUNT — VIEW ORDER FINAL POLISH
   Small finishing pass only; no structural/layout changes.
   ========================================================= */

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .order-status-overview {
  position: relative;
  overflow: hidden;
  min-height: 96px;
  align-content: center;
  padding: .9rem 1.1rem;
  border-color: #b7d8ef;
  background:
    radial-gradient(circle at 8% 50%,rgba(8,124,240,.06),transparent 26%),
    linear-gradient(135deg,#f8fcff,#edf8ff);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .order-status-overview::before {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 3px;
  background: linear-gradient(180deg,#168bff,#05b8df);
  content: "";
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .order-status-overview h2 {
  font-size: .98rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-customer-details {
  box-shadow:
    0 10px 28px rgba(6,37,78,.035),
    0 1px 0 rgba(255,255,255,.8) inset;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details__title,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-column__title {
  position: relative;
  padding-inline-start: .72rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details__title::before,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-column__title::before {
  position: absolute;
  inset-inline-start: 0;
  top: .28rem;
  width: 3px;
  height: 1.2rem;
  border-radius: 999px;
  background: linear-gradient(180deg,#168bff,#05b8df);
  content: "";
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table th,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table td {
  padding-block: .66rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table tfoot tr:last-child th,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table tfoot tr:last-child td {
  background: #eef7ff;
  color: #06244f;
  font-weight: 880;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table tbody tr:hover td {
  background: #f8fcff;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-customer-details address {
  border-color: #d6e6f2;
  background:
    linear-gradient(180deg,#fbfdff 0%,#f5faff 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-customer-details address,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-customer-details address p {
  text-align: right;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-customer-details {
  margin-bottom: .35rem;
}

/* Keep links calm on this detail page. */
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details a,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-customer-details a {
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details a:hover,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-customer-details a:hover {
  color: #075fc8;
}

@media (max-width: 650px) {
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .order-status-overview {
    min-height: 0;
    padding: .78rem .82rem;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-order-details__title,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-column__title {
    font-size: 1rem;
  }
}

/* =========================================================
   MY ACCOUNT — DOWNLOADS
   Purchase/account-specific files.
   ========================================================= */

body.woocommerce-account.logged-in .account-section-heading--downloads {
  margin: 0 0 .95rem;
  padding: 0 0 .8rem;
  border-bottom: 1px solid #e1ebf3;
  text-align: right;
}

body.woocommerce-account.logged-in .account-section-heading--downloads .eyebrow {
  margin-bottom: .22rem;
  font-size: .58rem;
}

body.woocommerce-account.logged-in .account-section-heading--downloads h2 {
  margin: 0 0 .18rem;
  color: #071f43;
  font-size: 1.18rem;
  font-weight: 880;
  line-height: 1.55;
}

body.woocommerce-account.logged-in .account-section-heading--downloads p {
  max-width: 720px;
  margin: 0;
  color: #71869a;
  font-size: .68rem;
  line-height: 1.85;
}

body.woocommerce-account.logged-in .account-download-list {
  display: grid;
  gap: .7rem;
}

body.woocommerce-account.logged-in .account-download-card {
  display: grid;
  min-height: 88px;
  grid-template-columns: 44px minmax(0,1fr) auto;
  align-items: center;
  gap: .8rem;
  padding: .8rem .9rem;
  border: 1px solid #d5e4ef;
  border-radius: 13px;
  background: linear-gradient(180deg,#fff,#fbfdff);
  box-shadow: 0 7px 22px rgba(6,37,78,.035);
}

body.woocommerce-account.logged-in .account-download-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #cae1f3;
  border-radius: 11px;
  background: #edf7ff;
  color: #087cf0;
}

body.woocommerce-account.logged-in .account-download-card__icon svg {
  width: 20px;
  height: 20px;
}

body.woocommerce-account.logged-in .account-download-card__content {
  display: grid;
  min-width: 0;
  gap: .16rem;
}

body.woocommerce-account.logged-in .account-download-card__content b {
  color: #08274f;
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.6;
}

body.woocommerce-account.logged-in .account-download-card__content a,
body.woocommerce-account.logged-in .account-download-card__content span {
  width: fit-content;
  max-width: 100%;
  color: #6f8498;
  font-size: .62rem;
  line-height: 1.7;
}

body.woocommerce-account.logged-in .account-download-card__content a {
  color: #0870d8;
  text-decoration: underline;
  text-decoration-color: rgba(8,112,216,.28);
  text-underline-offset: 3px;
}

body.woocommerce-account.logged-in .account-download-card__action {
  min-width: 108px;
  min-height: 39px;
  margin: 0;
  padding: .48rem .75rem;
  border-radius: 8px;
  font-size: .64rem;
  font-weight: 820;
  white-space: nowrap;
}

/* Empty state */
body.woocommerce-account.logged-in .account-download-empty {
  position: relative;
  display: grid;
  min-height: 210px;
  grid-template-columns: 58px minmax(0,1fr) auto;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  padding: 1.35rem 1.45rem;
  border: 1px solid #c8dff0;
  border-radius: 15px;
  background:
    radial-gradient(circle at 8% 50%,rgba(8,124,240,.08),transparent 28%),
    linear-gradient(135deg,#f9fdff 0%,#edf8ff 100%);
  box-shadow: 0 10px 28px rgba(6,43,86,.045);
}

body.woocommerce-account.logged-in .account-download-empty::before {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 4px;
  background: linear-gradient(180deg,#168bff,#05b8df);
  content: "";
}

body.woocommerce-account.logged-in .account-download-empty__icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid #c9e1f3;
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  color: #087cf0;
  box-shadow: 0 6px 18px rgba(8,124,240,.06);
}

body.woocommerce-account.logged-in .account-download-empty__icon svg {
  width: 27px;
  height: 27px;
}

body.woocommerce-account.logged-in .account-download-empty__content {
  min-width: 0;
}

body.woocommerce-account.logged-in .account-download-empty__content .eyebrow {
  margin-bottom: .28rem;
  font-size: .55rem;
}

body.woocommerce-account.logged-in .account-download-empty__content h3 {
  margin: 0 0 .24rem;
  color: #071f43;
  font-size: 1.12rem;
  font-weight: 880;
  line-height: 1.55;
}

body.woocommerce-account.logged-in .account-download-empty__content p {
  max-width: 650px;
  margin: 0;
  color: #70869a;
  font-size: .68rem;
  line-height: 1.9;
}

body.woocommerce-account.logged-in .account-download-empty__action {
  min-width: 150px;
  min-height: 44px;
  margin: 0;
  padding: .58rem .9rem;
  border-radius: 8px;
  font-size: .66rem;
  font-weight: 850;
  white-space: nowrap;
}

/* Prevent generic button pseudo-elements/hover flashes on this page. */
body.woocommerce-account.logged-in .account-download-card__action::before,
body.woocommerce-account.logged-in .account-download-card__action::after,
body.woocommerce-account.logged-in .account-download-empty__action::before,
body.woocommerce-account.logged-in .account-download-empty__action::after {
  display: none !important;
  content: none !important;
}

body.woocommerce-account.logged-in .account-download-card__action,
body.woocommerce-account.logged-in .account-download-empty__action {
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

body.woocommerce-account.logged-in .account-download-card__action:hover,
body.woocommerce-account.logged-in .account-download-empty__action:hover {
  transform: translateY(-1px);
}

@media (max-width: 780px) {
  body.woocommerce-account.logged-in .account-download-empty {
    min-height: 0;
    grid-template-columns: 52px minmax(0,1fr);
    padding: 1rem;
  }

  body.woocommerce-account.logged-in .account-download-empty__action {
    width: 100%;
    grid-column: 1 / -1;
    justify-content: center;
  }
}

@media (max-width: 650px) {
  body.woocommerce-account.logged-in .account-download-card {
    grid-template-columns: 40px minmax(0,1fr);
  }

  body.woocommerce-account.logged-in .account-download-card__action {
    width: 100%;
    grid-column: 1 / -1;
    justify-content: center;
  }

  body.woocommerce-account.logged-in .account-download-empty {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body.woocommerce-account.logged-in .account-download-empty__icon {
    margin-inline: auto;
  }

  body.woocommerce-account.logged-in .account-download-empty__content p {
    margin-inline: auto;
  }
}

/* =========================================================
   MY ACCOUNT — DOWNLOADS FINAL POLISH
   Stable hover + production-ready download cards.
   ========================================================= */

/* Remove inherited animated pseudo-elements and any transform flash. */
body.woocommerce-account.logged-in .account-download-empty__action,
body.woocommerce-account.logged-in .account-download-card__action {
  position: relative;
  overflow: hidden;
  transform: none !important;
  backface-visibility: hidden;
  will-change: auto;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease !important;
}

body.woocommerce-account.logged-in .account-download-empty__action::before,
body.woocommerce-account.logged-in .account-download-empty__action::after,
body.woocommerce-account.logged-in .account-download-card__action::before,
body.woocommerce-account.logged-in .account-download-card__action::after {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  content: none !important;
  opacity: 0 !important;
  transform: none !important;
  animation: none !important;
}

body.woocommerce-account.logged-in .account-download-empty__action:hover,
body.woocommerce-account.logged-in .account-download-empty__action:focus-visible,
body.woocommerce-account.logged-in .account-download-card__action:hover,
body.woocommerce-account.logged-in .account-download-card__action:focus-visible {
  transform: none !important;
  background: #076ed8 !important;
  border-color: #076ed8 !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(7,110,216,.16) !important;
}

body.woocommerce-account.logged-in .account-download-empty__action:active,
body.woocommerce-account.logged-in .account-download-card__action:active {
  transform: none !important;
  box-shadow: 0 3px 9px rgba(7,110,216,.12) !important;
}

/* Slightly tighter final empty state. */
body.woocommerce-account.logged-in .account-download-empty {
  min-height: 196px;
}

body.woocommerce-account.logged-in .account-download-empty__content h3 {
  font-size: 1.08rem;
}

body.woocommerce-account.logged-in .account-download-empty__action {
  min-width: 158px;
}

/* Future-proof list: each assigned file remains readable with long names/products. */
body.woocommerce-account.logged-in .account-download-card {
  grid-template-columns: 44px minmax(0,1fr) minmax(108px,auto);
}

body.woocommerce-account.logged-in .account-download-card__content {
  overflow: hidden;
}

body.woocommerce-account.logged-in .account-download-card__content b,
body.woocommerce-account.logged-in .account-download-card__content a,
body.woocommerce-account.logged-in .account-download-card__content span {
  overflow-wrap: anywhere;
}

body.woocommerce-account.logged-in .account-download-card__content b {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.woocommerce-account.logged-in .account-download-card__content a,
body.woocommerce-account.logged-in .account-download-card__content span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.woocommerce-account.logged-in .account-download-card__action {
  align-self: center;
  justify-self: end;
}

/* Support multiple download records without creating a visually heavy stack. */
body.woocommerce-account.logged-in .account-download-list:has(.account-download-card:nth-child(4)) {
  gap: .55rem;
}

body.woocommerce-account.logged-in .account-download-list:has(.account-download-card:nth-child(4)) .account-download-card {
  min-height: 80px;
}

/* Accessibility / keyboard focus. */
body.woocommerce-account.logged-in .account-download-empty__action:focus-visible,
body.woocommerce-account.logged-in .account-download-card__action:focus-visible,
body.woocommerce-account.logged-in .account-download-card__content a:focus-visible {
  outline: 2px solid #1287f0;
  outline-offset: 3px;
}

@media (max-width: 780px) {
  body.woocommerce-account.logged-in .account-download-card {
    grid-template-columns: 42px minmax(0,1fr);
  }

  body.woocommerce-account.logged-in .account-download-card__action {
    width: 100%;
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
  }
}

@media (max-width: 650px) {
  body.woocommerce-account.logged-in .account-download-empty {
    min-height: 0;
    padding: .95rem;
  }

  body.woocommerce-account.logged-in .account-download-empty__action {
    min-width: 0;
  }
}

/* =========================================================
   MY ACCOUNT — DOWNLOADS HOVER ROOT FIX
   Custom controls are intentionally NOT WooCommerce .button elements.
   ========================================================= */

body.woocommerce-account.logged-in .account-download-empty__action,
body.woocommerce-account.logged-in .account-download-card__action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: .52rem .9rem;
  border: 1px solid #0874e8;
  border-radius: 8px;
  background: #087cf0;
  background-image: none !important;
  background-position: 0 0 !important;
  background-size: auto !important;
  color: #fff !important;
  font-family: var(--plcsea-font);
  font-size: .65rem;
  font-weight: 830;
  line-height: 1.4;
  text-decoration: none !important;
  box-shadow: 0 5px 13px rgba(7,91,200,.13);
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
  -webkit-tap-highlight-color: transparent;
}

body.woocommerce-account.logged-in .account-download-empty__action:hover,
body.woocommerce-account.logged-in .account-download-empty__action:focus,
body.woocommerce-account.logged-in .account-download-empty__action:focus-visible,
body.woocommerce-account.logged-in .account-download-card__action:hover,
body.woocommerce-account.logged-in .account-download-card__action:focus,
body.woocommerce-account.logged-in .account-download-card__action:focus-visible {
  border-color: #075fc8 !important;
  background: #075fc8 !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: 0 6px 15px rgba(7,91,200,.17) !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

body.woocommerce-account.logged-in .account-download-empty__action:active,
body.woocommerce-account.logged-in .account-download-card__action:active {
  border-color: #0757ba !important;
  background: #0757ba !important;
  box-shadow: 0 3px 8px rgba(7,91,200,.14) !important;
  transform: none !important;
}

body.woocommerce-account.logged-in .account-download-empty__action::before,
body.woocommerce-account.logged-in .account-download-empty__action::after,
body.woocommerce-account.logged-in .account-download-card__action::before,
body.woocommerce-account.logged-in .account-download-card__action::after {
  display: none !important;
  content: none !important;
}

/* Preserve sizing after removing the generic button class. */
body.woocommerce-account.logged-in .account-download-empty__action {
  min-width: 158px;
  min-height: 44px;
}

body.woocommerce-account.logged-in .account-download-card__action {
  min-width: 108px;
  min-height: 39px;
  justify-self: end;
}

@media (max-width: 780px) {
  body.woocommerce-account.logged-in .account-download-empty__action,
  body.woocommerce-account.logged-in .account-download-card__action {
    width: 100%;
    min-width: 0;
  }

  body.woocommerce-account.logged-in .account-download-card__action {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}

/* =========================================================
   MY ACCOUNT — GLOBAL PROFILE AVATAR FIX
   Applies to the shared greeting strip on every account endpoint.
   ========================================================= */

body.woocommerce-account.logged-in .plcsea-account-greeting img,
body.woocommerce-account.logged-in .plcsea-account-greeting img.avatar {
  display: block;
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  max-width: 58px;
  max-height: 58px;
  flex: 0 0 58px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #eef6fc;
  object-fit: cover;
  object-position: center center;
  box-shadow:
    0 0 0 1px #bfd8ea,
    0 5px 14px rgba(6,37,78,.10);
  vertical-align: middle;
}

@media (max-width: 820px) {
  body.woocommerce-account.logged-in .plcsea-account-greeting img,
  body.woocommerce-account.logged-in .plcsea-account-greeting img.avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    flex-basis: 48px;
  }
}

@media (max-width: 480px) {
  body.woocommerce-account.logged-in .plcsea-account-greeting img,
  body.woocommerce-account.logged-in .plcsea-account-greeting img.avatar {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    max-width: 46px;
    max-height: 46px;
    flex-basis: 46px;
  }
}

/* =========================================================
   MY ACCOUNT — ADDRESSES
   Address cards + edit-address form polish.
   ========================================================= */

body.woocommerce-account.logged-in .account-section-heading--addresses {
  margin: 0 0 .95rem;
  padding: 0 0 .8rem;
  border-bottom: 1px solid #e1ebf3;
  text-align: right;
}

body.woocommerce-account.logged-in .account-section-heading--addresses .eyebrow {
  margin-bottom: .2rem;
  font-size: .57rem;
}

body.woocommerce-account.logged-in .account-section-heading--addresses h2 {
  margin: 0 0 .18rem;
  color: #071f43;
  font-size: 1.18rem;
  font-weight: 880;
}

body.woocommerce-account.logged-in .account-section-heading--addresses p {
  margin: 0;
  color: #71869a;
  font-size: .68rem;
  line-height: 1.85;
}

body.woocommerce-account.logged-in .account-address-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .8rem;
}

body.woocommerce-account.logged-in .account-address-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #d5e4ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(6,37,78,.04);
}

body.woocommerce-account.logged-in .account-address-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  padding: .85rem .9rem;
  border-bottom: 1px solid #e4edf4;
  background: linear-gradient(180deg,#fbfdff,#f7fbff);
}

body.woocommerce-account.logged-in .account-address-card__title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .65rem;
}

body.woocommerce-account.logged-in .account-address-card__icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid #cbe1f2;
  border-radius: 10px;
  background: #edf7ff;
  color: #087cf0;
}

body.woocommerce-account.logged-in .account-address-card__icon svg {
  width: 19px;
  height: 19px;
}

body.woocommerce-account.logged-in .account-address-card__title small {
  display: block;
  margin-bottom: .04rem;
  color: #0a79e5;
  font-size: .52rem;
  font-weight: 850;
  letter-spacing: .08em;
}

body.woocommerce-account.logged-in .account-address-card__title h3 {
  margin: 0;
  color: #08274f;
  font-size: .86rem;
  font-weight: 880;
  line-height: 1.55;
}

body.woocommerce-account.logged-in .account-address-card__action {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: .4rem .7rem;
  border: 1px solid #c7e0f3;
  border-radius: 8px;
  background: #eef8ff;
  color: #0872d8;
  font-size: .61rem;
  font-weight: 820;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 150ms ease,border-color 150ms ease,color 150ms ease;
}

body.woocommerce-account.logged-in .account-address-card__action:hover {
  border-color: #a8d2ee;
  background: #e4f3ff;
  color: #075fbd;
}

body.woocommerce-account.logged-in .account-address-card address {
  min-height: 165px;
  margin: 0;
  padding: 1rem;
  background: linear-gradient(180deg,#fff,#fbfdff);
  color: #38536c;
  font-size: .71rem;
  font-style: normal;
  line-height: 2;
  text-align: right;
}

body.woocommerce-account.logged-in .account-address-card address.is-empty {
  display: grid;
  place-items: center;
  color: #8a9bab;
  text-align: center;
}

/* Edit address form */
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-MyAccount-content form,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content form.woocommerce-address-fields {
  overflow: hidden;
  padding: 1.05rem;
  border: 1px solid #d3e3ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 9px 26px rgba(6,37,78,.04);
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .72rem .8rem;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields__field-wrapper .form-row {
  width: 100% !important;
  margin: 0;
  padding: 0;
  float: none;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields__field-wrapper .form-row-wide,
body.woocommerce-account.logged-in.woocommerce-edit-address #billing_country_field,
body.woocommerce-account.logged-in.woocommerce-edit-address #shipping_country_field,
body.woocommerce-account.logged-in.woocommerce-edit-address #billing_state_field,
body.woocommerce-account.logged-in.woocommerce-edit-address #shipping_state_field,
body.woocommerce-account.logged-in.woocommerce-edit-address #billing_city_field,
body.woocommerce-account.logged-in.woocommerce-edit-address #shipping_city_field,
body.woocommerce-account.logged-in.woocommerce-edit-address #billing_address_1_field,
body.woocommerce-account.logged-in.woocommerce-edit-address #shipping_address_1_field,
body.woocommerce-account.logged-in.woocommerce-edit-address #billing_address_2_field,
body.woocommerce-account.logged-in.woocommerce-edit-address #shipping_address_2_field {
  grid-column: 1 / -1;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields label {
  display: block;
  margin: 0 0 .28rem;
  color: #173754;
  font-size: .66rem;
  font-weight: 780;
  line-height: 1.65;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields input.input-text,
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields select,
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields .select2-selection {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfdde8;
  border-radius: 9px;
  background: #fff;
  color: #173754;
  font-family: var(--plcsea-font);
  font-size: .72rem;
  box-shadow: none;
  transition: border-color 150ms ease,box-shadow 150ms ease,background-color 150ms ease;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields input.input-text {
  padding: .65rem .78rem;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields input.input-text:focus,
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields select:focus,
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields .select2-container--open .select2-selection {
  outline: none;
  border-color: #5eaef2;
  background: #fbfdff;
  box-shadow: 0 0 0 3px rgba(8,124,240,.08);
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields #billing_country,
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields #shipping_country {
  background: #f4f8fb;
  color: #76899b;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields button[type="submit"] {
  min-width: 130px;
  min-height: 44px;
  margin-top: .9rem;
  padding: .55rem .9rem;
  border: 1px solid #0873df;
  border-radius: 8px;
  background: #087cf0;
  color: #fff;
  font-family: var(--plcsea-font);
  font-size: .68rem;
  font-weight: 850;
  box-shadow: 0 5px 14px rgba(8,124,240,.13);
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields button[type="submit"]:hover {
  background: #0769d2;
  border-color: #0769d2;
}

/* Keep any introductory address panel compact */
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-MyAccount-content > .account-panel,
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-MyAccount-content > .account-section-heading {
  margin-bottom: .85rem;
}

@media (max-width: 760px) {
  body.woocommerce-account.logged-in .account-address-grid {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account.logged-in .account-address-card address {
    min-height: 0;
  }

  body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields__field-wrapper .form-row {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  body.woocommerce-account.logged-in .account-address-card__head {
    align-items: flex-start;
    flex-direction: column;
  }

  body.woocommerce-account.logged-in .account-address-card__action {
    width: 100%;
  }

  body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-MyAccount-content form,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content form.woocommerce-address-fields {
    padding: .8rem;
    border-radius: 11px;
  }
}

/* =========================================================
   MY ACCOUNT — NOTICES
   Clean RTL success/error/info messages without WooCommerce icon overlap.
   ========================================================= */

body.woocommerce-account.logged-in .woocommerce-notices-wrapper {
  width: 100%;
  margin: 0 0 .9rem;
}

body.woocommerce-account.logged-in .woocommerce-notices-wrapper:empty {
  display: none;
}

body.woocommerce-account.logged-in .woocommerce-message,
body.woocommerce-account.logged-in .woocommerce-error,
body.woocommerce-account.logged-in .woocommerce-info {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  gap: .65rem;
  margin: 0 0 .65rem !important;
  padding: .82rem 1rem !important;
  border: 1px solid transparent !important;
  border-radius: 11px;
  background-image: none !important;
  color: #173754;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.8;
  list-style: none;
  box-shadow: 0 7px 20px rgba(6,37,78,.035);
}

/* Remove WooCommerce's inherited icon/pseudo overlays that collide in RTL. */
body.woocommerce-account.logged-in .woocommerce-message::before,
body.woocommerce-account.logged-in .woocommerce-message::after,
body.woocommerce-account.logged-in .woocommerce-error::before,
body.woocommerce-account.logged-in .woocommerce-error::after,
body.woocommerce-account.logged-in .woocommerce-info::before,
body.woocommerce-account.logged-in .woocommerce-info::after,
body.woocommerce-account.logged-in .woocommerce-error li::before,
body.woocommerce-account.logged-in .woocommerce-error li::after {
  display: none !important;
  content: none !important;
}

/* Success */
body.woocommerce-account.logged-in .woocommerce-message {
  border-color: #b9e3d2 !important;
  border-inline-start: 4px solid #129461 !important;
  background: #effaf5 !important;
  color: #176746;
}

/* Error */
body.woocommerce-account.logged-in .woocommerce-error {
  display: block;
  border-color: #f0c2c7 !important;
  border-inline-start: 4px solid #d63a49 !important;
  background: #fff3f4 !important;
  color: #9c2632;
}

body.woocommerce-account.logged-in .woocommerce-error li {
  position: relative;
  margin: 0;
  padding: .14rem 0;
  color: inherit;
  font-size: inherit;
  font-weight: 730;
  line-height: 1.8;
}

body.woocommerce-account.logged-in .woocommerce-error li + li {
  margin-top: .18rem;
  padding-top: .38rem;
  border-top: 1px solid rgba(214,58,73,.12);
}

/* Info */
body.woocommerce-account.logged-in .woocommerce-info {
  border-color: #bddcf3 !important;
  border-inline-start: 4px solid #087cf0 !important;
  background: #f1f8fe !important;
  color: #175f9d;
}

/* Notice actions/buttons stay aligned and never overlap the message text. */
body.woocommerce-account.logged-in .woocommerce-message .button,
body.woocommerce-account.logged-in .woocommerce-error .button,
body.woocommerce-account.logged-in .woocommerce-info .button {
  order: 2;
  flex: 0 0 auto;
  margin-inline-start: auto;
  margin-inline-end: 0;
}

/* Address page title polish after the broader rename. */
body.woocommerce-account.logged-in .account-section-heading--addresses h2 {
  letter-spacing: -.01em;
}

@media (max-width: 650px) {
  body.woocommerce-account.logged-in .woocommerce-message,
  body.woocommerce-account.logged-in .woocommerce-error,
  body.woocommerce-account.logged-in .woocommerce-info {
    min-height: 0;
    padding: .72rem .8rem !important;
    border-radius: 9px;
    font-size: .66rem;
  }

  body.woocommerce-account.logged-in .woocommerce-message {
    flex-wrap: wrap;
  }

  body.woocommerce-account.logged-in .woocommerce-message .button,
  body.woocommerce-account.logged-in .woocommerce-info .button {
    width: 100%;
    margin-top: .35rem;
  }
}

/* =========================================================
   MY ACCOUNT — ADDRESS FORM FINAL FIELD POLISH
   Refined controls for a more premium B2B account experience.
   ========================================================= */

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields__field-wrapper {
  gap: .9rem 1rem;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields .form-row {
  position: relative;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields label {
  display: flex;
  align-items: center;
  gap: .2rem;
  margin: 0 0 .38rem;
  color: #153553;
  font-size: .68rem;
  font-weight: 820;
  line-height: 1.6;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields label .required {
  color: #d72f41;
  font-weight: 900;
  text-decoration: none;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields input.input-text,
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields select,
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields .select2-selection {
  width: 100%;
  min-height: 52px;
  border: 1px solid #c7d9e7;
  border-radius: 10px;
  background: linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  color: #173754;
  font-family: var(--plcsea-font);
  font-size: .74rem;
  line-height: 1.5;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 1px 2px rgba(9,45,82,.025);
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    background-color 150ms ease;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields input.input-text {
  padding: .72rem .9rem;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields input.input-text::placeholder {
  color: #9aaaba;
  opacity: 1;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields input.input-text:hover,
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields select:hover,
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields .select2-selection:hover {
  border-color: #9fc8e7;
  background: #fff;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields input.input-text:focus,
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields select:focus,
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields .select2-container--open .select2-selection {
  outline: none;
  border-color: #3c9af0;
  background: #fff;
  box-shadow:
    0 0 0 3px rgba(8,124,240,.09),
    0 6px 18px rgba(8,124,240,.055);
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields #billing_country,
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields #shipping_country,
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields input[readonly],
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields input:disabled,
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields select:disabled {
  border-color: #d8e4ed;
  background: #f5f8fb;
  color: #7e90a1;
  cursor: not-allowed;
  box-shadow: none;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields .select2-container {
  width: 100% !important;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields .select2-selection--single {
  display: flex;
  align-items: center;
  padding: 0 .9rem;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields .select2-selection__rendered {
  padding: 0 !important;
  color: #173754;
  line-height: 50px !important;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields .select2-selection__arrow {
  top: 50% !important;
  right: auto !important;
  left: .85rem !important;
  transform: translateY(-50%);
}


body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields #billing_phone_field,
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields #shipping_phone_field {
  position: relative;
  margin-top: .12rem;
  padding-top: .88rem;
  border-top: 1px solid #e4edf4;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields #billing_phone,
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields #shipping_phone {
  direction: ltr;
  text-align: left;
  letter-spacing: .02em;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields #billing_postcode,
body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields #shipping_postcode {
  direction: ltr;
  text-align: left;
  letter-spacing: .04em;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields button[type="submit"] {
  min-width: 145px;
  min-height: 46px;
  margin-top: 1rem;
  padding: .6rem 1rem;
  border: 1px solid #0871db;
  border-radius: 9px;
  background: linear-gradient(180deg,#1388f2 0%,#0875de 100%);
  color: #fff;
  font-family: var(--plcsea-font);
  font-size: .7rem;
  font-weight: 880;
  box-shadow: 0 7px 18px rgba(8,124,240,.16);
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields button[type="submit"]:hover {
  border-color: #0564c4;
  background: #066acb;
  box-shadow: 0 8px 20px rgba(8,108,210,.19);
}

@media (max-width: 760px) {
  body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields__field-wrapper {
    gap: .75rem;
  }

  body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields #billing_first_name_field,
  body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields #shipping_first_name_field,
  body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields #billing_last_name_field,
  body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields #shipping_last_name_field {
    padding: .65rem;
  }
}

@media (max-width: 520px) {
  body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields input.input-text,
  body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields select,
  body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields .select2-selection {
    min-height: 48px;
    border-radius: 9px;
  }

  body.woocommerce-account.logged-in.woocommerce-edit-address .woocommerce-address-fields button[type="submit"] {
    width: 100%;
  }
}

/* =========================================================
   MY ACCOUNT — ADDRESS FORM V8
   Targets the real custom form-edit-address.php markup.
   ========================================================= */

body.woocommerce-account.logged-in .account-address-form {
  overflow: hidden;
  padding: 1.05rem !important;
  border: 1px solid #d2e2ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 9px 26px rgba(6,37,78,.04);
}

body.woocommerce-account.logged-in .account-address-form .account-form__group {
  padding: 1rem;
  border: 1px solid #dbe8f1;
  border-radius: 12px;
  background: linear-gradient(180deg,#fbfdff 0%,#f8fbfe 100%);
}

body.woocommerce-account.logged-in .account-address-form .account-form__title {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-bottom: 1rem;
}

body.woocommerce-account.logged-in .account-address-form .account-form__title > svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  color: #087cf0;
}

body.woocommerce-account.logged-in .account-address-form .account-form__title h3 {
  margin: 0 0 .16rem;
  color: #08274f;
  font-size: .9rem;
  font-weight: 880;
}

body.woocommerce-account.logged-in .account-address-form .account-form__title p {
  margin: 0;
  color: #7b8fa1;
  font-size: .62rem;
  line-height: 1.8;
}

body.woocommerce-account.logged-in .account-address-form__grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .95rem 1rem;
}

body.woocommerce-account.logged-in .account-address-form__grid .form-row {
  width: 100% !important;
  margin: 0;
  padding: 0;
  float: none;
}

body.woocommerce-account.logged-in .account-address-form__grid .form-row-wide,
body.woocommerce-account.logged-in .account-address-form__grid #billing_country_field,
body.woocommerce-account.logged-in .account-address-form__grid #shipping_country_field,
body.woocommerce-account.logged-in .account-address-form__grid #billing_state_field,
body.woocommerce-account.logged-in .account-address-form__grid #shipping_state_field,
body.woocommerce-account.logged-in .account-address-form__grid #billing_city_field,
body.woocommerce-account.logged-in .account-address-form__grid #shipping_city_field,
body.woocommerce-account.logged-in .account-address-form__grid #billing_address_1_field,
body.woocommerce-account.logged-in .account-address-form__grid #shipping_address_1_field,
body.woocommerce-account.logged-in .account-address-form__grid #billing_address_2_field,
body.woocommerce-account.logged-in .account-address-form__grid #shipping_address_2_field,
body.woocommerce-account.logged-in .account-address-form__grid #billing_postcode_field,
body.woocommerce-account.logged-in .account-address-form__grid #shipping_postcode_field,
body.woocommerce-account.logged-in .account-address-form__grid #billing_phone_field,
body.woocommerce-account.logged-in .account-address-form__grid #shipping_phone_field {
  grid-column: 1 / -1;
}

body.woocommerce-account.logged-in .account-address-form label {
  display: flex;
  align-items: center;
  gap: .2rem;
  margin: 0 0 .4rem;
  color: #0d2d50;
  font-size: .68rem;
  font-weight: 820;
  line-height: 1.6;
}

body.woocommerce-account.logged-in .account-address-form label .required {
  color: #d42d3d;
  font-weight: 900;
  text-decoration: none;
}

body.woocommerce-account.logged-in .account-address-form input.input-text,
body.woocommerce-account.logged-in .account-address-form select,
body.woocommerce-account.logged-in .account-address-form .select2-selection {
  width: 100%;
  min-height: 55px;
  border: 1px solid #bdd4e5;
  border-radius: 10px;
  background: #fff;
  color: #102f50;
  font-family: var(--plcsea-font);
  font-size: .75rem;
  box-shadow: none;
  transition: border-color 150ms ease,box-shadow 150ms ease,background-color 150ms ease;
}

body.woocommerce-account.logged-in .account-address-form input.input-text {
  padding: .76rem .9rem;
}

body.woocommerce-account.logged-in .account-address-form input.input-text::placeholder {
  color: #95a6b6;
  opacity: 1;
}

body.woocommerce-account.logged-in .account-address-form input.input-text:hover,
body.woocommerce-account.logged-in .account-address-form select:hover,
body.woocommerce-account.logged-in .account-address-form .select2-selection:hover {
  border-color: #8fbee0;
}

body.woocommerce-account.logged-in .account-address-form input.input-text:focus,
body.woocommerce-account.logged-in .account-address-form select:focus,
body.woocommerce-account.logged-in .account-address-form .select2-container--open .select2-selection {
  outline: none;
  border-color: #218eea;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(8,124,240,.08);
}

body.woocommerce-account.logged-in .account-address-form input[disabled],
body.woocommerce-account.logged-in .account-address-form input[readonly],
body.woocommerce-account.logged-in .account-address-form select:disabled {
  border-color: #d3e0e9;
  background: #f6f9fb;
  color: #8293a2;
  cursor: not-allowed;
}

body.woocommerce-account.logged-in .account-address-form .select2-container {
  width: 100% !important;
}

body.woocommerce-account.logged-in .account-address-form .select2-selection--single {
  display: flex;
  min-height: 55px;
  align-items: center;
  padding: 0 .9rem;
}

body.woocommerce-account.logged-in .account-address-form .select2-selection__rendered {
  padding: 0 !important;
  color: #102f50;
  line-height: 53px !important;
}

body.woocommerce-account.logged-in .account-address-form .select2-selection__arrow {
  top: 50% !important;
  right: auto !important;
  left: .85rem !important;
  transform: translateY(-50%);
}

body.woocommerce-account.logged-in .account-address-form #billing_phone,
body.woocommerce-account.logged-in .account-address-form #shipping_phone,
body.woocommerce-account.logged-in .account-address-form #billing_postcode,
body.woocommerce-account.logged-in .account-address-form #shipping_postcode {
  direction: ltr;
  text-align: left;
}

body.woocommerce-account.logged-in .account-address-form #billing_address_2,
body.woocommerce-account.logged-in .account-address-form #shipping_address_2 {
  background: #fbfdff;
}

body.woocommerce-account.logged-in .account-address-form > p:last-of-type {
  display: flex;
  justify-content: flex-start;
  margin: 1rem 0 0;
}

body.woocommerce-account.logged-in .account-address-form button[name="save_address"] {
  min-width: 150px;
  min-height: 46px;
  padding: .58rem 1rem;
  border: 1px solid #0872dc;
  border-radius: 9px;
  background: #087cf0;
  color: #fff;
  font-family: var(--plcsea-font);
  font-size: .68rem;
  font-weight: 860;
  box-shadow: 0 6px 15px rgba(8,124,240,.14);
}

body.woocommerce-account.logged-in .account-address-form button[name="save_address"]:hover {
  border-color: #0665c6;
  background: #066dce;
}

@media (max-width: 760px) {
  body.woocommerce-account.logged-in .account-address-form__grid {
    grid-template-columns: 1fr;
    gap: .78rem;
  }

  body.woocommerce-account.logged-in .account-address-form__grid .form-row {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  body.woocommerce-account.logged-in .account-address-form,
  body.woocommerce-account.logged-in .account-address-form .account-form__group {
    padding: .8rem !important;
    border-radius: 11px;
  }

  body.woocommerce-account.logged-in .account-address-form input.input-text,
  body.woocommerce-account.logged-in .account-address-form select,
  body.woocommerce-account.logged-in .account-address-form .select2-selection,
  body.woocommerce-account.logged-in .account-address-form .select2-selection--single {
    min-height: 50px;
  }

  body.woocommerce-account.logged-in .account-address-form button[name="save_address"] {
    width: 100%;
  }
}



/* V9: make entered values a little more legible, without making the form bulky. */
body.woocommerce-account.logged-in .account-address-form input.input-text,
body.woocommerce-account.logged-in .account-address-form select,
body.woocommerce-account.logged-in .account-address-form .select2-selection__rendered {
  font-size: .84rem !important;
  font-weight: 520;
}

body.woocommerce-account.logged-in .account-address-form input.input-text::placeholder {
  font-size: .75rem;
  font-weight: 400;
}

/* =========================================================
   MY ACCOUNT — INFORMATION & SECURITY POLISH V11
   Visual-only polish for edit-account; preserves WooCommerce logic.
   ========================================================= */

/* Main form canvas */
body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm,
body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account {
  display: grid;
  gap: .85rem;
  overflow: visible;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* Support the current custom grouped markup and WooCommerce fieldsets alike. */
body.woocommerce-account.logged-in.woocommerce-edit-account .account-form__group,
body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm > fieldset,
body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account > fieldset {
  margin: 0;
  padding: 1.05rem 1.1rem;
  border: 1px solid #d8e6f0;
  border-radius: 14px;
  background: linear-gradient(180deg,#fbfdff 0%,#f8fbfe 100%);
  box-shadow: 0 8px 24px rgba(6,37,78,.035);
}

/* Section headings */
body.woocommerce-account.logged-in.woocommerce-edit-account .account-form__title,
body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm > fieldset > legend,
body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account > fieldset > legend {
  color: #08274f;
  font-size: .92rem;
  font-weight: 880;
}

body.woocommerce-account.logged-in.woocommerce-edit-account .account-form__title {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-bottom: 1rem;
}

body.woocommerce-account.logged-in.woocommerce-edit-account .account-form__title > svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  color: #087cf0;
}

body.woocommerce-account.logged-in.woocommerce-edit-account .account-form__title h3 {
  margin: 0 0 .16rem;
  color: #08274f;
  font-size: .92rem;
  font-weight: 880;
}

body.woocommerce-account.logged-in.woocommerce-edit-account .account-form__title p {
  margin: 0;
  color: #7b8fa1;
  font-size: .63rem;
  line-height: 1.85;
}

/* Standard field layout */
body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm .form-row,
body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account .form-row {
  width: 100%;
  margin: 0 0 .85rem;
  padding: 0;
  float: none;
}

body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm .form-row-first,
body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account .form-row-first {
  width: calc(50% - .5rem);
  float: right;
}

body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm .form-row-last,
body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account .form-row-last {
  width: calc(50% - .5rem);
  float: left;
}

body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm::after,
body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account::after {
  display: table;
  clear: both;
  content: "";
}

/* Labels */
body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm label,
body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account label {
  display: flex;
  align-items: center;
  gap: .2rem;
  margin: 0 0 .4rem;
  color: #0d2d50;
  font-size: .69rem;
  font-weight: 820;
  line-height: 1.6;
}

body.woocommerce-account.logged-in.woocommerce-edit-account label .required {
  color: #d42d3d;
  font-weight: 900;
  text-decoration: none;
}

/* Inputs — intentionally matched to the final Address form. */
body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm input.input-text,
body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account input.input-text,
body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm input[type="text"],
body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm input[type="email"],
body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm input[type="password"],
body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account input[type="text"],
body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account input[type="email"],
body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account input[type="password"] {
  width: 100%;
  min-height: 55px;
  padding: .76rem .9rem;
  border: 1px solid #bdd4e5;
  border-radius: 10px;
  background: #fff;
  color: #102f50;
  font-family: var(--plcsea-font);
  font-size: .84rem;
  font-weight: 520;
  line-height: 1.5;
  box-shadow: none;
  transition: border-color 150ms ease,box-shadow 150ms ease,background-color 150ms ease;
}

body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm input::placeholder,
body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account input::placeholder {
  color: #95a6b6;
  font-size: .75rem;
  font-weight: 400;
  opacity: 1;
}

body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm input:hover,
body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account input:hover {
  border-color: #8fbee0;
}

body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm input:focus,
body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account input:focus {
  outline: none;
  border-color: #218eea;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(8,124,240,.08);
}

/* Email/login-like values should remain readable in RTL. */
body.woocommerce-account.logged-in.woocommerce-edit-account #account_email {
  direction: ltr;
  text-align: left;
}

/* Display-name helper text */
body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm em,
body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account em {
  display: block;
  margin-top: .35rem;
  color: #7c8fa0;
  font-size: .61rem;
  font-style: normal;
  line-height: 1.75;
}

/* Password section */
body.woocommerce-account.logged-in.woocommerce-edit-account fieldset {
  position: relative;
}

body.woocommerce-account.logged-in.woocommerce-edit-account fieldset legend {
  width: auto;
  margin: 0 0 .25rem;
  padding: 0;
}

body.woocommerce-account.logged-in.woocommerce-edit-account .password-field,
body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-password-strength {
  position: relative;
}

body.woocommerce-account.logged-in.woocommerce-edit-account .password-field > input[type="password"],
body.woocommerce-account.logged-in.woocommerce-edit-account .password-field > input[type="text"] {
  padding-left: 56px !important;
}

body.woocommerce-account.logged-in.woocommerce-edit-account .password-field > [data-toggle-password] {
  left: 10px;
  width: 38px;
  height: 38px;
  color: #315b7b;
}

body.woocommerce-account.logged-in.woocommerce-edit-account .password-field > [data-toggle-password]:hover {
  background: #eef7ff;
  color: #087cf0;
}

/* WooCommerce native password reveal icon, if present. */
body.woocommerce-account.logged-in.woocommerce-edit-account .show-password-input {
  top: 50% !important;
  right: auto !important;
  left: 14px !important;
  margin: 0 !important;
  transform: translateY(-50%);
}

/* Save area */
body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm > p:last-child,
body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account > p:last-child {
  display: flex;
  justify-content: flex-start;
  margin: .1rem 0 0;
}

body.woocommerce-account.logged-in.woocommerce-edit-account button[name="save_account_details"] {
  min-width: 150px;
  min-height: 46px;
  padding: .58rem 1rem;
  border: 1px solid #0872dc;
  border-radius: 9px;
  background: #087cf0;
  color: #fff;
  font-family: var(--plcsea-font);
  font-size: .7rem;
  font-weight: 860;
  box-shadow: 0 6px 15px rgba(8,124,240,.14);
  transition: background-color 150ms ease,border-color 150ms ease,box-shadow 150ms ease;
}

body.woocommerce-account.logged-in.woocommerce-edit-account button[name="save_account_details"]:hover {
  border-color: #0665c6;
  background: #066dce;
  box-shadow: 0 8px 18px rgba(8,108,210,.17);
}

/* Avoid inherited animated overlays / flashing on this action. */
body.woocommerce-account.logged-in.woocommerce-edit-account button[name="save_account_details"]::before,
body.woocommerce-account.logged-in.woocommerce-edit-account button[name="save_account_details"]::after {
  display: none !important;
  content: none !important;
}

/* Make the two visible information/security panels feel like one system. */
body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-MyAccount-content {
  --account-control-border: #bdd4e5;
}

@media (max-width: 760px) {
  body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm .form-row-first,
  body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm .form-row-last,
  body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account .form-row-first,
  body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account .form-row-last {
    width: 100%;
    float: none;
  }

  body.woocommerce-account.logged-in.woocommerce-edit-account .account-form__group,
  body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm > fieldset,
  body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account > fieldset {
    padding: .85rem;
  }
}

@media (max-width: 520px) {
  body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm input.input-text,
  body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account input.input-text,
  body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm input[type="text"],
  body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm input[type="email"],
  body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm input[type="password"],
  body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account input[type="text"],
  body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account input[type="email"],
  body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account input[type="password"] {
    min-height: 50px;
  }

  body.woocommerce-account.logged-in.woocommerce-edit-account button[name="save_account_details"] {
    width: 100%;
  }
}

/* =========================================================
   MY ACCOUNT — SAVE ACTION SPACING V12
   Keep the action button away from the card edges.
   ========================================================= */
body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm > p:last-child,
body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account > p:last-child {
  box-sizing: border-box;
  width: 100%;
  margin: 0 !important;
  padding: .95rem 1rem 1rem !important;
}

body.woocommerce-account.logged-in.woocommerce-edit-account button[name="save_account_details"] {
  margin: 0 !important;
}

@media (max-width: 520px) {
  body.woocommerce-account.logged-in.woocommerce-edit-account .woocommerce-EditAccountForm > p:last-child,
  body.woocommerce-account.logged-in.woocommerce-edit-account .edit-account > p:last-child {
    padding: .8rem !important;
  }
}

