/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* =========================================================
   ADD CUSTOM CSS HERE
   ========================================================= */


/* =========================================================
   SHOP SIDEBAR
   Dropdown-uri mai curate pentru filtre
   ========================================================= */

.shop-sidebar select,
#shop-sidebar select,
.widget select.wc-brand-dropdown-layered-nav-product_brand,
.widget_layered_nav select,
.woocommerce-widget-layered-nav-dropdown select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 46px;
  min-height: 46px;
  margin-bottom: 12px;
  padding: 0 42px 0 14px;
  border: 1px solid #d9d9d9 !important;
  border-radius: 10px !important;
  background-color: #fff !important;
  box-shadow: none !important;
  color: #222;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px !important;
}

/* Hover */
.shop-sidebar select:hover,
#shop-sidebar select:hover,
.widget select.wc-brand-dropdown-layered-nav-product_brand:hover,
.widget_layered_nav select:hover,
.woocommerce-widget-layered-nav-dropdown select:hover {
  border-color: #bfbfbf !important;
  background-color: #fcfcfc !important;
}

/* Focus */
.shop-sidebar select:focus,
#shop-sidebar select:focus,
.widget select.wc-brand-dropdown-layered-nav-product_brand:focus,
.widget_layered_nav select:focus,
.woocommerce-widget-layered-nav-dropdown select:focus {
  outline: none;
  border-color: #111827 !important;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.06) !important;
  background-color: #fff !important;
}

/* Titluri widget-uri */
.shop-sidebar .widget-title,
#shop-sidebar .widget-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 14px;
}

/* Spațiere între widget-uri */
.shop-sidebar .widget,
#shop-sidebar .widget {
  margin-bottom: 22px;
}

/* Ușoară ajustare finală */
.shop-sidebar select,
#shop-sidebar select {
  border-radius: 6px !important;
  height: 44px;
  min-height: 44px;
  font-size: 14px;
}

/* =========================================================
   CATEGORY SEO CONTENT
   ========================================================= */

.cat-seo-content {
  margin-top: 28px;
  padding: 28px 30px;
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 12px;
}

.cat-seo-content h2 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.2;
}

.cat-seo-content h3 {
  margin: 22px 0 10px;
  font-size: 19px;
  line-height: 1.3;
}

.cat-seo-content p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.cat-seo-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 849px) {
  .cat-seo-content {
    padding: 20px 18px;
    border-radius: 10px;
  }

  .cat-seo-content h2 {
    font-size: 23px;
  }

  .cat-seo-content h3 {
    font-size: 17px;
  }

  .cat-seo-content p {
    font-size: 14px;
    line-height: 1.7;
  }
}

/* =========================================================
   LOGO SWAP - simplu
   ========================================================= */

.logo-swap {
  position: relative;
  width: 320px;
  height: 120px;
  display: inline-block;
  cursor: pointer;
}

.logo-swap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.6s ease;
}

.logo-swap .logo-new {
  opacity: 0;
  transform: scale(0.96);
}

.logo-swap:hover .logo-old {
  opacity: 0;
  transform: translateY(-8px) scale(1.02);
}

.logo-swap:hover .logo-new {
  opacity: 1;
  transform: scale(1);
}

/* =========================================================
   LOGO REBRAND - split animation
   ========================================================= */

.logo-rebrand {
  position: relative;
  width: 420px;
  height: 160px;
  display: inline-block;
  cursor: pointer;
  overflow: visible;
}

.logo-rebrand .logo-new {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150%;
  height: auto;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.86);
  z-index: 1;
}

.logo-rebrand .logo-half {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 2;
}

.logo-rebrand .logo-half img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-rebrand .logo-left {
  clip-path: inset(0 50% 0 0);
}

.logo-rebrand .logo-right {
  clip-path: inset(0 0 0 50%);
}

.logo-rebrand:hover .logo-left {
  animation: logoLeftOpen .95s cubic-bezier(.22, .8, .2, 1) forwards;
}

.logo-rebrand:hover .logo-right {
  animation: logoRightOpen .95s cubic-bezier(.22, .8, .2, 1) forwards;
}

.logo-rebrand:hover .logo-new {
  animation: logoNewPop .90s cubic-bezier(.2, .8, .2, 1) .30s forwards;
}

@keyframes logoLeftOpen {
  0% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
  55% {
    transform: translateX(-52px) rotate(-6deg);
    opacity: 1;
  }
    100% {
    transform: translateX(-82px) rotate(-9deg);
    opacity: 0;
  }
}

@keyframes logoRightOpen {
  0% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
  55% {
    transform: translateX(52px) rotate(6deg);
    opacity: 1;
  }
  100% {
    transform: translateX(82px) rotate(9deg);
    opacity: 0;
  }
}

@keyframes logoNewPop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.86);
  }
  55% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  75% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.03);
  }
}

/* =========================================================
   SOFORIA - CHECKOUT BLOCKS + CURIERO
   Varianta reparată pentru markup-ul real actual
   ========================================================= */

body.woocommerce-checkout {
  background: #f6f6f8;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout {
  max-width: 1280px;
  margin: 0 auto;
}

/* Layout principal */
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
  gap: 32px;
  align-items: start;
}

/* Cardurile principale */
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background: #fff;
  border: 1px solid #ececf1;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.04);
}

/* Sidebar sticky pe desktop */
@media (min-width: 992px) {
  body.woocommerce-checkout .wc-block-checkout__sidebar {
    position: sticky;
    top: 110px;
  }
}

/* Titluri generale */
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.02em;
}

/* Titluri secțiuni checkout */
body.woocommerce-checkout #contact-fields .wc-block-components-title,
body.woocommerce-checkout #shipping-fields .wc-block-components-title,
body.woocommerce-checkout #payment-method .wc-block-components-title,
body.woocommerce-checkout #shipping-option .wc-block-components-title {
  font-size: 20px;
  margin-bottom: 14px;
}

/* =========================================================
   ORDINEA SECȚIUNILOR
   Reparată pe baza HTML-ului real:
   #contact-fields, #shipping-fields, #shipping-option, #payment-method
   ========================================================= */

body.woocommerce-checkout .wc-block-checkout__form {
  display: flex;
  flex-direction: column;
}

body.woocommerce-checkout #contact-fields {
  order: 1;
  margin-top: 0;
}

body.woocommerce-checkout #shipping-fields {
  order: 2;
}

body.woocommerce-checkout #shipping-option {
  order: 3;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-pickup-options-block {
  order: 4;
}

body.woocommerce-checkout #payment-method {
  order: 5;
}

body.woocommerce-checkout #order-notes {
  order: 6;
  margin-top: 8px;
}

body.woocommerce-checkout .wc-block-checkout__terms {
  order: 7;
  margin-top: 18px;
  margin-bottom: 12px;
}

body.woocommerce-checkout .wc-block-checkout__actions {
  order: 8;
}

/* Ascundem heading-ul separat de la email */
body.woocommerce-checkout #contact-fields .wc-block-components-checkout-step__heading-container {
  display: none;
}

/* =========================================================
   FORMULAR ADRESĂ
   IMPORTANT:
   În markup-ul tău real formularul este #shipping, nu #billing
   ========================================================= */

body.woocommerce-checkout #shipping.wc-block-components-address-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

body.woocommerce-checkout #shipping.wc-block-components-address-form > * {
  min-width: 0;
}

/* Dacă vinzi doar în România */
body.woocommerce-checkout #shipping .wc-block-components-address-form__country {
  display: none;
}

/* Ordinea câmpurilor */
body.woocommerce-checkout #shipping .wc-block-components-select-input-CurieRO-pfpj {
  order: 1;
  grid-column: 1 / -1;
}

/* Persoană juridică */
body.woocommerce-checkout #shipping .wc-block-components-address-form__CurieRO-pfpj-billing_company {
  order: 2;
  grid-column: 1 / -1;
}

body.woocommerce-checkout #shipping .wc-block-components-address-form__CurieRO-pfpj-cui {
  order: 3;
  grid-column: 1;
}

body.woocommerce-checkout #shipping .wc-block-components-address-form__CurieRO-pfpj-nr_reg_com {
  order: 4;
  grid-column: 2;
}

/* Persoană / contact */
body.woocommerce-checkout #shipping .wc-block-components-address-form__first_name {
  order: 5;
  grid-column: 1;
}

body.woocommerce-checkout #shipping .wc-block-components-address-form__last_name {
  order: 6;
  grid-column: 2;
}

/* Adresă */
body.woocommerce-checkout #shipping .wc-block-components-address-form__address_1 {
  order: 7;
  grid-column: 1 / -1;
}

body.woocommerce-checkout #shipping .wc-block-components-address-form__address_2-toggle {
  order: 8;
  grid-column: 1 / -1;
  margin-top: -6px;
  font-size: 14px;
  color: #e5007d;
  cursor: pointer;
}

body.woocommerce-checkout #shipping .wc-block-components-address-form__address_2 {
  order: 9;
  grid-column: 1 / -1;
}

/* Localizare */
body.woocommerce-checkout #shipping .wc-block-components-address-form__state {
  order: 10;
  grid-column: 1;
}

body.woocommerce-checkout #shipping .wc-block-components-address-form__city {
  order: 11;
  grid-column: 2;
}

/* Telefon */
body.woocommerce-checkout #shipping .wc-block-components-address-form__phone {
  order: 12;
  grid-column: 1 / -1;
}

/* =========================================================
   STIL CÂMPURI
   ========================================================= */

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .css-cp01gg-control {
  background: #fff;
  border: 1px solid #d8dbe2;
  border-radius: 12px;
  min-height: 56px;
  padding: 14px 16px;
  box-shadow: none;
  transition: all .2s ease;
}

/* Select localitate CurieRO */
body.woocommerce-checkout #CurieRO-shipping-city-container .wc-blocks-components-select__select,
body.woocommerce-checkout #CurieRO-shipping-city-container .css-cp01gg-control {
  min-height: 56px;
  border-radius: 12px;
}

/* Focus */
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-blocks-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .css-cp01gg-control--is-focused {
  border-color: #e5007d !important;
  box-shadow: 0 0 0 3px rgba(229, 0, 125, 0.10) !important;
  outline: none;
}

/* Label-uri */
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-blocks-components-select__label,
body.woocommerce-checkout .wc-block-components-checkbox__label {
  font-size: 13px;
  font-weight: 500;
  color: #5b6170;
}

/* Contact */
body.woocommerce-checkout #contact.wc-block-components-address-form,
body.woocommerce-checkout .wc-block-components-address-form__email {
  max-width: 100%;
}

/* =========================================================
   OPȚIUNI LIVRARE + PLATĂ
   Reparat padding-ul ca textul să nu intre peste bulină
   ========================================================= */

/* Wrapper radio */
body.woocommerce-checkout .wc-block-components-radio-control__option,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option {
  border: 1px solid #e7e9ef;
  border-radius: 14px;
  background: #fff;
}

/* Opțiune simplă - shipping */
body.woocommerce-checkout .wc-block-components-radio-control__option {
  padding: 16px 16px 16px 48px !important;
  position: relative;
}

/* Acordeon - payment */
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option {
  overflow: hidden;
}

/* Label-ul real din payment */
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 16px 16px 16px 48px !important;
}

/* Conținutul extins la metoda selectată */
body.woocommerce-checkout .wc-block-components-radio-control-accordion-content {
  padding: 0 16px 16px 48px;
}

/* Titlu metodă */
body.woocommerce-checkout .wc-block-components-payment-method-label,
body.woocommerce-checkout .wc-block-components-radio-control__label {
  font-weight: 600;
  color: #111;
}

/* Eticheta gratuit */
body.woocommerce-checkout .wc-block-checkout__shipping-option--free {
  font-weight: 600;
}

/* =========================================================
   TERMENI
   ========================================================= */

body.woocommerce-checkout .wc-block-checkout__terms {
  font-size: 14px;
  line-height: 1.6;
  color: #5f6472;
}

body.woocommerce-checkout .wc-block-checkout__terms a {
  color: #e5007d;
  text-decoration: none;
}

body.woocommerce-checkout .wc-block-checkout__terms a:hover {
  text-decoration: underline;
}

/* =========================================================
   BUTOANE
   ========================================================= */

body.woocommerce-checkout .wc-block-checkout__actions_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
}

body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {
  color: #111;
  font-weight: 500;
  text-decoration: none;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  min-height: 56px;
  padding: 0 28px;
  border-radius: 14px;
  background: #111 !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  box-shadow: none;
  transition: all .2s ease;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  background: #222 !important;
  transform: translateY(-1px);
}

/* =========================================================
   REZUMAT COMANDĂ
   ========================================================= */

body.woocommerce-checkout .wc-block-components-checkout-order-summary__title {
  margin-bottom: 18px;
}

body.woocommerce-checkout .wc-block-components-checkout-order-summary__title-price {
  font-weight: 700;
  color: #111;
}

body.woocommerce-checkout .wc-block-components-order-summary-item {
  padding-top: 16px;
  padding-bottom: 16px;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
  border-radius: 10px;
}

body.woocommerce-checkout .wc-block-components-product-name {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  color: #111;
}

body.woocommerce-checkout .wc-block-components-product-metadata__description p {
  font-size: 13px;
  line-height: 1.5;
  color: #666d7a;
}

body.woocommerce-checkout .wc-block-components-sale-badge {
  border-radius: 999px;
  background: #fff0f7;
  color: #c40069;
  border: 1px solid #ffd1e9;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
}

body.woocommerce-checkout .wc-block-components-totals-item__label {
  color: #111;
  font-weight: 600;
}

body.woocommerce-checkout .wc-block-components-totals-item__value {
  color: #111;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item {
  border-top: 1px solid #ececf1;
  margin-top: 14px;
  padding-top: 20px;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-size: 16px;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 30px;
  font-weight: 700;
}

body.woocommerce-checkout .wc-block-components-panel__button {
  font-weight: 600;
  color: #111;
}

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

@media (max-width: 991px) {
  body.woocommerce-checkout .wc-block-checkout__actions .checkout-order-summary-block-fill-wrapper {
    display: none !important;
  }

  body.woocommerce-checkout .wc-block-checkout__sidebar {
    position: static !important;
    top: auto !important;
    margin-bottom: 18px;
  }

  body.woocommerce-checkout .wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout__sidebar {
    padding: 18px;
    border-radius: 14px;
  }

  body.woocommerce-checkout #shipping.wc-block-components-address-form {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.woocommerce-checkout #shipping .wc-block-components-select-input-CurieRO-pfpj,
  body.woocommerce-checkout #shipping .wc-block-components-address-form__CurieRO-pfpj-billing_company,
  body.woocommerce-checkout #shipping .wc-block-components-address-form__CurieRO-pfpj-cui,
  body.woocommerce-checkout #shipping .wc-block-components-address-form__CurieRO-pfpj-nr_reg_com,
  body.woocommerce-checkout #shipping .wc-block-components-address-form__first_name,
  body.woocommerce-checkout #shipping .wc-block-components-address-form__last_name,
  body.woocommerce-checkout #shipping .wc-block-components-address-form__state,
  body.woocommerce-checkout #shipping .wc-block-components-address-form__city,
  body.woocommerce-checkout #shipping .wc-block-components-address-form__address_1,
  body.woocommerce-checkout #shipping .wc-block-components-address-form__address_2,
  body.woocommerce-checkout #shipping .wc-block-components-address-form__phone {
    grid-column: 1 / -1;
  }

  body.woocommerce-checkout .wc-block-checkout__actions_row {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    width: 100%;
  }

  body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 24px;
  }
}

/* =========================================================
   SOFORIA - CART BLOCKS
   ========================================================= */

body.woocommerce-cart {
  background: #f6f6f8;
}

body.woocommerce-cart .wp-block-woocommerce-cart {
  max-width: 1280px;
  margin: 0 auto;
}

/* Layout principal */
body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart.is-large {
  gap: 32px;
  align-items: start;
}

/* Carduri principale */
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
  background: #fff;
  border: 1px solid #ececf1;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.04);
}

/* Sidebar sticky desktop */
@media (min-width: 992px) {
  body.woocommerce-cart .wc-block-cart__sidebar {
    position: sticky;
    top: 110px;
  }
}

/* Tabel coș */
body.woocommerce-cart .wc-block-cart-items {
  border-collapse: separate;
  border-spacing: 0;
}

body.woocommerce-cart .wc-block-cart-items__header th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666d7a;
  font-weight: 700;
  padding-bottom: 14px;
  border-bottom: 1px solid #ececf1;
}

body.woocommerce-cart .wc-block-cart-items__row td {
  padding-top: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid #ececf1;
  vertical-align: top;
}

/* Imagine produs */
body.woocommerce-cart .wc-block-cart-item__image img {
  width: 92px;
  border-radius: 12px;
  background: #fff;
}

/* Nume produs */
body.woocommerce-cart .wc-block-components-product-name {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  color: #111;
  text-decoration: none;
}

body.woocommerce-cart .wc-block-components-product-name:hover {
  color: #111;
  text-decoration: none;
}

/* Descriere scurtă */
body.woocommerce-cart .wc-block-components-product-metadata__description p {
  font-size: 14px;
  line-height: 1.6;
  color: #666d7a;
  margin-top: 8px;
  margin-bottom: 0;
}

/* Prețuri */
body.woocommerce-cart .wc-block-cart-item__prices {
  margin-top: 8px;
  margin-bottom: 14px;
}

body.woocommerce-cart .wc-block-components-product-price__regular {
  color: #8a8f9b;
}

body.woocommerce-cart .wc-block-components-product-price__value {
  color: #111;
  font-weight: 700;
}

/* Cantitate */
body.woocommerce-cart .wc-block-components-quantity-selector {
  border: 1px solid #d8dbe2;
  border-radius: 12px;
  min-height: 48px;
  overflow: hidden;
  background: #fff;
}

body.woocommerce-cart .wc-block-components-quantity-selector__input {
  border: 0 !important;
  min-height: 48px;
  box-shadow: none !important;
  font-weight: 600;
}

body.woocommerce-cart .wc-block-components-quantity-selector__button {
  min-width: 44px;
  border: 0 !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 18px;
}

/* Remove */
body.woocommerce-cart .wc-block-cart-item__remove-link {
  margin-top: 10px;
  color: #666d7a;
  background: transparent;
  border: 0;
  padding: 0;
}

body.woocommerce-cart .wc-block-cart-item__remove-link:hover {
  color: #e5007d;
}

/* Total pe linie */
body.woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price__value {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

/* Badge reducere */
body.woocommerce-cart .wc-block-components-sale-badge {
  border-radius: 999px;
  background: #fff0f7;
  color: #c40069;
  border: 1px solid #ffd1e9;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  margin-top: 8px;
}

/* Sidebar */
body.woocommerce-cart .wc-block-cart__totals-title {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: #111;
  margin-bottom: 18px;
}

/* Cupon */
body.woocommerce-cart .wc-block-components-panel__button {
  font-weight: 600;
  color: #111;
}

body.woocommerce-cart .wc-block-components-panel__content {
  padding-top: 12px;
}

body.woocommerce-cart .wc-block-components-totals-coupon__form {
  display: flex;
  gap: 12px;
  align-items: end;
}

body.woocommerce-cart .wc-block-components-totals-coupon__input {
  flex: 1;
}

body.woocommerce-cart .wc-block-components-totals-coupon__input input {
  background: #fff;
  border: 1px solid #d8dbe2;
  border-radius: 12px;
  min-height: 52px;
  padding: 14px 16px;
  box-shadow: none;
}

body.woocommerce-cart .wc-block-components-totals-coupon__input input:focus {
  border-color: #e5007d !important;
  box-shadow: 0 0 0 3px rgba(229, 0, 125, 0.10) !important;
  outline: none;
}

body.woocommerce-cart .wc-block-components-totals-coupon__button {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 12px;
  background: #111 !important;
  color: #fff !important;
  font-weight: 700;
}

/* Total */
body.woocommerce-cart .wc-block-components-totals-footer-item {
  border-top: 1px solid #ececf1;
  margin-top: 18px;
  padding-top: 20px;
}

body.woocommerce-cart .wc-block-components-totals-item__label {
  color: #111;
  font-weight: 600;
}

body.woocommerce-cart .wc-block-components-totals-item__value {
  color: #111;
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-size: 16px;
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 30px;
  font-weight: 700;
}

/* Buton checkout */
body.woocommerce-cart .wc-block-cart__submit {
  margin-top: 18px;
}

body.woocommerce-cart .wc-block-cart__submit-button {
  min-height: 56px;
  border-radius: 14px;
  background: #111 !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  padding: 0 22px;
  transition: all .2s ease;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover {
  background: #222 !important;
  transform: translateY(-1px);
}

/* Notice spacing */
body.woocommerce-cart .wc-block-components-notices {
  margin-bottom: 14px;
}

/* Cart mobile */
@media (max-width: 991px) {
  body.woocommerce-cart .wc-block-cart__main,
  body.woocommerce-cart .wc-block-cart__sidebar {
    padding: 18px;
    border-radius: 14px;
  }

  body.woocommerce-cart .wc-block-cart__sidebar {
    position: static !important;
    top: auto !important;
    margin-top: 18px;
  }

  body.woocommerce-cart .wc-block-cart__totals-title {
    font-size: 24px;
  }

  body.woocommerce-cart .wc-block-components-totals-coupon__form {
    flex-direction: column;
    align-items: stretch;
  }

  body.woocommerce-cart .wc-block-components-totals-coupon__button,
  body.woocommerce-cart .wc-block-cart__submit-button {
    width: 100%;
  }

  body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 24px;
  }
}

/* Mobil mic */
@media (max-width: 767px) {
  body.woocommerce-cart .wc-block-cart-items__header,
  body.woocommerce-cart .wc-block-cart-items thead {
    display: none !important;
  }

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

  body.woocommerce-cart .wc-block-cart-item__product,
  body.woocommerce-cart .wc-block-cart-item__product .wc-block-cart-item__wrap {
    min-width: 0 !important;
  }

  body.woocommerce-cart .wc-block-components-product-name {
    display: block;
    font-size: 15px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body.woocommerce-cart .wc-block-cart-item__prices {
    margin-top: 6px;
    margin-bottom: 10px;
  }

  body.woocommerce-cart .wc-block-cart-item__total {
    width: 118px;
    min-width: 118px;
    padding-left: 10px !important;
    vertical-align: top;
  }

  body.woocommerce-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    width: 100%;
    max-width: 100%;
  }

  body.woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price__value {
    font-size: 17px;
    line-height: 1.2;
    white-space: nowrap;
  }

  body.woocommerce-cart .wc-block-components-sale-badge {
    display: inline-flex;
    align-self: flex-end;
    width: fit-content;
    max-width: none;
    white-space: nowrap;
    justify-content: center;
    font-size: 11px;
    line-height: 1.2;
    padding: 4px 8px;
    text-align: center;
  }

  body.woocommerce-cart .wc-block-cart-item__quantity {
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
    margin-top: 10px;
  }

  body.woocommerce-cart .wc-block-components-quantity-selector {
    width: 128px;
    min-width: 128px;
    grid-template-columns: 40px minmax(40px, 1fr) 40px;
  }

  body.woocommerce-cart .wc-block-components-quantity-selector__button,
  body.woocommerce-cart .wc-block-components-quantity-selector__input {
    height: 46px;
    min-height: 46px;
  }

  body.woocommerce-cart .wc-block-cart-item__remove-link {
    margin-top: 0;
    flex: 0 0 auto;
  }
}

/* =========================================================
   DESKTOP SIDEBAR LAYOUT FIX
   Coș + Checkout
   ========================================================= */

@media (min-width: 992px) {
  /* Checkout: stânga formular / dreapta rezumat */
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    display: grid !important;
    grid-template-columns: minmax(0, 1.6fr) minmax(340px, 0.85fr);
    gap: 32px;
    align-items: start;
  }

  body.woocommerce-checkout .wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout__sidebar {
    min-width: 0;
    width: 100%;
  }

  /* Cart: stânga produse / dreapta total */
  body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart.is-large {
    display: grid !important;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.9fr);
    gap: 32px;
    align-items: start;
  }

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

/* Pe mobil / tabletă mică rămân stacked */
@media (max-width: 991px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
  body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart {
    display: block !important;
  }
}

/* Ascunde descrierea produsului din blocurile Woo */
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-product-metadata__description,
body.woocommerce-cart .wc-block-components-product-metadata__description {
  display: none !important;
}

/* =========================================================
   FIX CHECKOUT SUMMARY TITLE + CART QUANTITY PLUS
   ========================================================= */

/* Sidebar checkout puțin mai lat pe desktop */
@media (min-width: 992px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    grid-template-columns: minmax(0, 1.5fr) minmax(400px, 0.95fr) !important;
  }
}

/* Titlul produsului să nu se rupă urât */
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 {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  word-break: normal !important;
  overflow-wrap: break-word;
  hyphens: none;
}

/* Prețul și badge-ul să stea curat în dreapta */
body.woocommerce-checkout .wc-block-cart-item__total-price-and-sale-badge-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
  white-space: nowrap;
}

/* Selector cantitate cart să nu taie butonul + */
body.woocommerce-cart .wc-block-components-quantity-selector {
  display: grid;
  grid-template-columns: 44px minmax(44px, 1fr) 44px;
  align-items: center;
  width: 140px;
  min-width: 140px;
  overflow: visible;
}

body.woocommerce-cart .wc-block-components-quantity-selector__button {
  width: 44px;
  min-width: 44px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

body.woocommerce-cart .wc-block-components-quantity-selector__input {
  min-width: 44px;
  height: 48px;
  padding: 0;
  text-align: center;
}

/* Puțin spațiu între selector și remove */
body.woocommerce-cart .wc-block-cart-item__quantity {
  gap: 12px;
  align-items: center;
}

/* =========================================================
   THANK YOU / ORDER RECEIVED PAGE
   ========================================================= */

body.woocommerce-order-received {
  background: #f6f6f8;
}

/* Container */
body.woocommerce-order-received .page-wrapper {
  max-width: 1280px;
  margin: 0 auto;
}

/* Layout general */
body.woocommerce-order-received .woocommerce-order.row {
  align-items: start;
  margin-top: 8px;
}

/* Coloane */
body.woocommerce-order-received .woocommerce-order .large-7,
body.woocommerce-order-received .woocommerce-order .large-5 {
  margin-bottom: 24px;
}

/* Card confirmare dreapta */
body.woocommerce-order-received .woocommerce-order .large-5 .is-well {
  background: #fff;
  border: 1px solid #ececf1;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.04);
}

/* Mesaj succes */
body.woocommerce-order-received .woocommerce-notice--success {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0 0 20px;
  color: #111;
  font-size: 18px;
  line-height: 1.5;
}

/* Lista overview */
body.woocommerce-order-received .woocommerce-order-overview {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.woocommerce-order-received .woocommerce-order-overview li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #ececf1;
  font-size: 15px;
  color: #444b57;
}

body.woocommerce-order-received .woocommerce-order-overview li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

body.woocommerce-order-received .woocommerce-order-overview strong {
  color: #111;
  font-weight: 700;
  text-align: right;
}

/* Textul principal pentru metoda de plată */
body.woocommerce-order-received .large-7 > p:first-child {
  margin: 0 0 18px;
  padding: 14px 18px;
  background: #fff8fb;
  border: 1px solid #ffd7ea;
  border-radius: 14px;
  color: #b40061;
  font-weight: 600;
}

/* Carduri stânga */
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
  background: #fff;
  border: 1px solid #ececf1;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.04);
  margin-bottom: 24px;
}

/* Titluri */
body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title {
  margin: 0 0 20px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: #111;
}

/* Tabel comandă */
body.woocommerce-order-received .shop_table.order_details {
  margin: 0;
  border: 0;
  border-collapse: collapse;
  width: 100%;
  background: transparent;
}

body.woocommerce-order-received .shop_table.order_details thead th {
  padding: 0 0 14px;
  border-bottom: 1px solid #ececf1;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666d7a;
  font-weight: 700;
}

body.woocommerce-order-received .shop_table.order_details tbody td,
body.woocommerce-order-received .shop_table.order_details tfoot th,
body.woocommerce-order-received .shop_table.order_details tfoot td {
  padding: 14px 0;
  border-bottom: 1px solid #ececf1;
  vertical-align: top;
}

body.woocommerce-order-received .shop_table.order_details tbody tr:last-child td {
  border-bottom: 1px solid #ececf1;
}

body.woocommerce-order-received .shop_table.order_details .product-name {
  color: #111;
  font-weight: 500;
}

body.woocommerce-order-received .shop_table.order_details .product-total,
body.woocommerce-order-received .shop_table.order_details tfoot td {
  text-align: right;
  color: #111;
  font-weight: 700;
}

/* Linkuri produse */
body.woocommerce-order-received .shop_table.order_details a {
  color: #111;
  text-decoration: none;
  font-weight: 600;
}

body.woocommerce-order-received .shop_table.order_details a:hover {
  color: #e5007d;
}

/* Cantitate produs */
body.woocommerce-order-received .product-quantity {
  color: #666d7a;
  font-weight: 600;
}

/* Total final mai puternic */
body.woocommerce-order-received .shop_table.order_details tfoot tr:nth-last-child(2) th,
body.woocommerce-order-received .shop_table.order_details tfoot tr:nth-last-child(2) td {
  font-size: 18px;
  color: #111;
  font-weight: 700;
}

/* Taxă */
body.woocommerce-order-received .includes_tax {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #666d7a;
  font-weight: 400;
}

/* Adresă */
body.woocommerce-order-received .woocommerce-customer-details address {
  font-style: normal;
  line-height: 1.8;
  color: #111;
  margin: 0;
}

body.woocommerce-order-received .woocommerce-customer-details--phone,
body.woocommerce-order-received .woocommerce-customer-details--email {
  margin: 12px 0 0;
  color: #111;
}

/* Câmpurile suplimentare PJ */
body.woocommerce-order-received .wc-block-components-additional-fields-list {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px 14px;
}

body.woocommerce-order-received .wc-block-components-additional-fields-list dt {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #666d7a;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

body.woocommerce-order-received .wc-block-components-additional-fields-list dd {
  margin: 0;
  color: #111;
  font-weight: 600;
}

/* Prețuri */
body.woocommerce-order-received .woocommerce-Price-amount {
  color: #111;
}

/* Thank you mobile */
@media (max-width: 849px) {
  body.woocommerce-order-received .woocommerce-order-details,
  body.woocommerce-order-received .woocommerce-customer-details,
  body.woocommerce-order-received .woocommerce-order .large-5 .is-well {
    padding: 20px;
    border-radius: 14px;
  }

  body.woocommerce-order-received .woocommerce-order-overview li {
    flex-direction: column;
    gap: 4px;
  }

  body.woocommerce-order-received .woocommerce-order-overview strong {
    text-align: left;
  }

  body.woocommerce-order-received .wc-block-components-additional-fields-list {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  body.woocommerce-order-received .woocommerce-order-details__title,
  body.woocommerce-order-received .woocommerce-column__title {
    font-size: 20px;
  }
}

/* =========================================================
   SOFORIA - SINGLE PRODUCT
   Varianta finală, consolidată
   ========================================================= */

/* =========================
   1. PREȚ PRODUS
   ========================= */

.single-product .product-info .price-wrapper {
  margin-bottom: 14px;
}

.single-product .product-info .price {
  display: flex;
  align-items: baseline; 
  gap: 10px;
  flex-wrap: wrap;
}

.single-product .product-info .price del {
  opacity: 1;
  color: #9aa0ad;
  text-decoration: line-through !important;
  text-decoration-color: #a8aebb !important;
  text-decoration-thickness: 1.5px;
  text-decoration-skip-ink: none;
}

.single-product .product-info .price del .woocommerce-Price-amount,
.single-product .product-info .price del bdi {
  font-size: 18px;
  font-weight: 400;
  color: #9aa0ad;
  text-decoration: inherit !important;
}

.single-product .product-info .price ins {
  text-decoration: none;
}

.single-product .product-info .price ins .woocommerce-Price-amount,
.single-product .product-info .price ins bdi {
  font-size: 31px;
  font-weight: 800;
  color: #e5007d;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* =========================
   2. TABS PRODUS
   ========================= */

.single-product .woocommerce-tabs {
  margin-top: 14px;
}

.single-product .woocommerce-tabs .tabs.wc-tabs {
  border-bottom: 1px solid #ececf1;
  margin-bottom: 24px;
  gap: 8px;
}

.single-product .woocommerce-tabs .tabs.wc-tabs li {
  margin-right: 4px !important;
}

.single-product .woocommerce-tabs .tabs.wc-tabs li a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #666d7a;
  padding: 0 0 12px;
  transition: all .2s ease;
}

.single-product .woocommerce-tabs .tabs.wc-tabs li a:hover {
  color: #111;
}

.single-product .woocommerce-tabs .tabs.wc-tabs li.active a,
.single-product .woocommerce-tabs .tabs.wc-tabs li.current a {
  color: #111;
}

.single-product .woocommerce-tabs .tabs.wc-tabs li.active,
.single-product .woocommerce-tabs .tabs.wc-tabs li.current {
  border-bottom: 2px solid #e5007d !important;
}

.single-product .woocommerce-tabs .tab-panels {
  padding-top: 4px;
}

.single-product .woocommerce-Tabs-panel {
  font-size: 15px;
  line-height: 1.8;
  color: #2c3340;
}

.single-product .woocommerce-Tabs-panel h2,
.single-product .woocommerce-Tabs-panel h3 {
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 14px;
  color: #111;
}

.single-product .woocommerce-Tabs-panel p {
  margin-bottom: 14px;
}

.single-product .woocommerce-Tabs-panel ul {
  margin-bottom: 16px;
}

.single-product .woocommerce-Tabs-panel li {
  margin-bottom: 8px;
}

/* Informații suplimentare */
.single-product .woocommerce-product-attributes.shop_attributes {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #ececf1;
  border-radius: 14px;
  overflow: hidden;
}

.single-product .woocommerce-product-attributes.shop_attributes tr {
  border-bottom: 1px solid #ececf1;
}

.single-product .woocommerce-product-attributes.shop_attributes tr:last-child {
  border-bottom: 0;
}

.single-product .woocommerce-product-attributes.shop_attributes th,
.single-product .woocommerce-product-attributes.shop_attributes td {
  padding: 16px 18px;
  vertical-align: middle;
}

.single-product .woocommerce-product-attributes.shop_attributes th {
  width: 32%;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #666d7a;
  font-weight: 700;
  background: #fcfcfd;
}

.single-product .woocommerce-product-attributes.shop_attributes td,
.single-product .woocommerce-product-attributes.shop_attributes td p {
  margin: 0;
  color: #111;
  font-weight: 600;
}

/* Recenzii */
.single-product #reviews .review-form-inner.has-border {
  border: 1px solid #ececf1;
  border-radius: 14px;
  padding: 22px;
  background: #fff;
}


/* =========================
   4. MOBIL
   ========================= */

@media (max-width: 849px) {
  .single-product .product-info .price ins .woocommerce-Price-amount,
  .single-product .product-info .price ins bdi {
    font-size: 26px;
  }

  .single-product .product-info .price del .woocommerce-Price-amount,
  .single-product .product-info .price del bdi {
    font-size: 16px;
  }

  .single-product .woocommerce-tabs .tabs.wc-tabs {
    display: block;
    border-bottom: 0;
    margin-bottom: 18px;
  }

  .single-product .woocommerce-tabs .tabs.wc-tabs li {
    display: block;
    margin: 0 !important;
    border-bottom: 1px solid #ececf1 !important;
  }

  .single-product .woocommerce-tabs .tabs.wc-tabs li a {
    display: block;
    padding: 14px 0 12px;
  }

  .single-product .woocommerce-tabs .tabs.wc-tabs li.active,
  .single-product .woocommerce-tabs .tabs.wc-tabs li.current {
    border-bottom: 1px solid #ececf1 !important;
  }

  .single-product .woocommerce-tabs .tabs.wc-tabs li.active a,
  .single-product .woocommerce-tabs .tabs.wc-tabs li.current a {
    color: #111;
    position: relative;
  }

  .single-product .woocommerce-tabs .tabs.wc-tabs li.active a:after,
  .single-product .woocommerce-tabs .tabs.wc-tabs li.current a:after {
    content: "";
    display: block;
    width: 76px;
    height: 2px;
    margin-top: 10px;
    background: #e5007d;
  }

  .single-product .woocommerce-product-attributes.shop_attributes th,
  .single-product .woocommerce-product-attributes.shop_attributes td {
    padding: 14px;
  }

  .single-product .related-products-wrapper .product-section-title-related {
    font-size: 22px;
  }

  .single-product .related-products-wrapper .flickity-viewport {
    min-height: 360px;
  }

  .single-product .related-products-wrapper .product-title a {
    font-size: 14px;
  }

  .single-product .related-products-wrapper .price ins .woocommerce-Price-amount,
  .single-product .related-products-wrapper .price ins bdi {
    font-size: 16px;
  }
}
/* =========================================================
   SOFORIA - My Account custom dashboard + endpoints
   ========================================================= */

body.woocommerce-account {
  background: #f6f6f8;
}

body.woocommerce-account .page-wrapper {
  max-width: 1280px;
  margin: 0 auto;
}

body.woocommerce-account .woocommerce {
  background: #fff;
  border: 1px solid #ececf1;
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.04);
}

/* =========================================================
   Dashboard principal /contul-meu/
   ========================================================= */

/* Ascundem intro-ul default Woo doar pe dashboard */
body.soforia-account-dashboard-page .woocommerce-MyAccount-content > p:first-of-type,
body.soforia-account-dashboard-page .woocommerce-MyAccount-content > p:nth-of-type(2),
body.soforia-account-dashboard-page .woocommerce-MyAccount-content .dashboard-links {
  display: none !important;
}

body.soforia-account-dashboard-page .woocommerce-MyAccount-content {
  max-width: 1100px;
}

body.soforia-account-dashboard-page .soforia-account-dashboard__intro h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.02em;
}

body.soforia-account-dashboard-page .soforia-account-dashboard__intro p {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.8;
  color: #5f6472;
  max-width: 740px;
}

body.soforia-account-dashboard-page .soforia-account-dashboard__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

body.soforia-account-dashboard-page .soforia-account-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 170px;
  padding: 24px;
  background: #fff;
  border: 1px solid #ececf1;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.04);
  text-decoration: none;
  transition: all .2s ease;
}

body.soforia-account-dashboard-page .soforia-account-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(20, 20, 20, 0.07);
  border-color: #f3b4d4;
  text-decoration: none;
}

body.soforia-account-dashboard-page .soforia-account-card__title {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  color: #111;
}

body.soforia-account-dashboard-page .soforia-account-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: #667085;
}

body.soforia-account-dashboard-page .soforia-account-dashboard__footer {
  margin-top: 6px;
}

body.soforia-account-dashboard-page .soforia-account-logout {
  color: #e5007d;
  font-weight: 600;
  text-decoration: none;
}

body.soforia-account-dashboard-page .soforia-account-logout:hover {
  text-decoration: underline;
}

/* =========================================================
   Endpoint-uri: orders / edit-address / edit-account
   ========================================================= */

body.woocommerce-account .woocommerce table.shop_table {
  border: 1px solid #ececf1;
  border-radius: 14px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}

body.woocommerce-account .woocommerce table.shop_table th,
body.woocommerce-account .woocommerce table.shop_table td {
  padding: 14px 16px;
  border-bottom: 1px solid #ececf1;
}

body.woocommerce-account .woocommerce table.shop_table tr:last-child td {
  border-bottom: 0;
}

body.woocommerce-account .woocommerce table.shop_table a {
  text-decoration: none;
}

body.woocommerce-account .woocommerce table.shop_table a:hover {
  text-decoration: underline;
}

body.woocommerce-account .woocommerce-orders-table .button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  background: #111 !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  border: 0 !important;
  box-shadow: none !important;
}

/* adrese */
body.woocommerce-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.woocommerce-account .woocommerce-Address {
  background: #fff;
  border: 1px solid #ececf1;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.04);
}

body.woocommerce-account .woocommerce-Address-title h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 0 0 14px;
}

body.woocommerce-account .woocommerce-Address address {
  font-style: normal;
  line-height: 1.8;
  color: #2c3340;
}

/* formulare */
body.woocommerce-account fieldset {
  border: 0;
  margin: 24px 0 0;
  padding: 0;
}

body.woocommerce-account legend {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  color: #111;
  margin-bottom: 16px;
}

body.woocommerce-account label {
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

body.woocommerce-account input[type="text"],
body.woocommerce-account input[type="email"],
body.woocommerce-account input[type="password"],
body.woocommerce-account input[type="tel"],
body.woocommerce-account select,
body.woocommerce-account textarea {
  background: #fff;
  border: 1px solid #d8dbe2 !important;
  border-radius: 12px !important;
  min-height: 52px;
  padding: 12px 14px;
  box-shadow: none !important;
  transition: all .2s ease;
}

body.woocommerce-account input:focus,
body.woocommerce-account select:focus,
body.woocommerce-account textarea:focus {
  border-color: #e5007d !important;
  box-shadow: 0 0 0 3px rgba(229, 0, 125, 0.10) !important;
  outline: none;
}

/* Butoane doar în conținutul My Account, nu în header/footer */
body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content button,
body.woocommerce-account .woocommerce-MyAccount-content input[type="submit"],
body.woocommerce-account .woocommerce-MyAccount-navigation .button,
body.woocommerce-account .woocommerce-MyAccount-navigation button,
body.woocommerce-account .woocommerce-MyAccount-navigation input[type="submit"] {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  background: #111 !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  border: 0 !important;
  box-shadow: none !important;
  transition: all .2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content button:hover,
body.woocommerce-account .woocommerce-MyAccount-content input[type="submit"]:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation .button:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation button:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation input[type="submit"]:hover {
  background: #222 !important;
  transform: translateY(-1px);
}

/* mobil */
@media (max-width: 849px) {
  body.woocommerce-account .woocommerce {
    padding: 20px;
    border-radius: 14px;
  }

  body.soforia-account-dashboard-page .soforia-account-dashboard__intro h2 {
    font-size: 28px;
  }

  body.soforia-account-dashboard-page .soforia-account-dashboard__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.soforia-account-dashboard-page .soforia-account-card {
    min-height: auto;
    padding: 20px;
    border-radius: 14px;
  }

  body.soforia-account-dashboard-page .soforia-account-card__title {
    font-size: 20px;
  }

  body.woocommerce-account .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SOFORIA - My Account back button
   ========================================================= */

body.woocommerce-account .soforia-account-back {
  margin: 0 0 22px;
}

body.woocommerce-account .soforia-account-back__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid #ececf1;
  border-radius: 12px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(20, 20, 20, 0.03);
  transition: all .2s ease;
}

body.woocommerce-account .soforia-account-back__link:hover {
  border-color: #f3b4d4;
  color: #e5007d;
  text-decoration: none;
  transform: translateY(-1px);
}



.soforia-social-login--myaccount {
  margin-top: 22px;
}

.soforia-social-login__separator {
  position: relative;
  text-align: center;
  margin: 18px 0 16px;
}

.soforia-social-login__separator:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0,0,0,0.12);
}

.soforia-social-login__separator span {
  position: relative;
  background: #fff;
  padding: 0 12px;
  font-size: 13px;
  color: #666;
}

/* Container */
.soforia-social-login--myaccount {
  margin-top: 26px;
}

/* Separator */
.soforia-social-login__separator {
  position: relative;
  text-align: center;
  margin: 22px 0 18px;
}

.soforia-social-login__separator:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #eaeaea;
}

.soforia-social-login__separator span {
  position: relative;
  background: #fff;
  padding: 0 14px;
  font-size: 13px;
  color: #777;
  letter-spacing: 0.3px;
}

/* Container Nextend */
.soforia-social-login .nsl-container {
  margin: 0;
}

/* Buton Google */
.soforia-social-login .nsl-button {
  width: 100%;
  border-radius: 10px !important;
  border: 1px solid #e5e5e5 !important;
  background: #fff !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: all 0.25s ease;
}

/* Hover */
.soforia-social-login .nsl-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  border-color: #ddd !important;
}

/* Text buton */
.soforia-social-login .nsl-button-label-container {
  font-weight: 600;
  font-size: 14px;
  color: #111 !important;
}

/* Icon */
.soforia-social-login .nsl-button svg {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .soforia-social-login--myaccount {
    margin-top: 20px;
  }
}

/* Notă informativă: Imaginile produselor de pe site au caracter de prezentare. */
.soforia-product-note {
  margin: 14px 0 18px;
  padding: 12px 14px;
  background: #fff8f3;
  border: 1px solid #f3d7c4;
  border-left: 4px solid #e6007e;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #333;
}

.soforia-product-note strong {
  color: #111;
}

@media (max-width: 379px) {
  body.woocommerce-cart .wc-block-cart-items__row {
    grid-template-columns: 60px minmax(0, 1fr) 96px !important;
    column-gap: 10px !important;
  }

  body.woocommerce-cart .wc-block-cart-item__image img {
    width: 60px;
    max-width: 60px;
  }

  body.woocommerce-cart .wc-block-cart-item__total {
    width: auto;
    min-width: 0;
    padding-left: 4px !important;
  }

  body.woocommerce-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    align-items: flex-end;
    gap: 5px;
  }

  body.woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price__value {
    font-size: 15px;
    line-height: 1.15;
  }

  body.woocommerce-cart .wc-block-components-sale-badge {
    font-size: 10px;
    line-height: 1.15;
    padding: 4px 7px;
  }

  body.woocommerce-cart .wc-block-cart-item__quantity {
    gap: 8px;
  }

  body.woocommerce-cart .wc-block-components-quantity-selector {
    width: 108px;
    min-width: 108px;
    grid-template-columns: 34px minmax(40px, 1fr) 34px;
  }

  body.woocommerce-cart .wc-block-components-quantity-selector__button,
  body.woocommerce-cart .wc-block-components-quantity-selector__input {
    height: 42px;
    min-height: 42px;
  }

  body.woocommerce-cart .wc-block-cart-item__remove-link svg {
    width: 22px;
    height: 22px;
  }

  body.woocommerce-cart .wc-block-components-product-name {
    font-size: 14px;
    line-height: 1.32;
  }
}

/* =========================================================
   SOFORIA - Checkout updating feedback
   ========================================================= */

body.woocommerce-checkout #shipping-option,
body.woocommerce-checkout #payment-method {
  position: relative;
  transition: opacity .18s ease;
}

body.woocommerce-checkout #shipping-option {
  min-height: 210px;
}

body.woocommerce-checkout #payment-method {
  min-height: 230px;
}

body.woocommerce-checkout .soforia-is-updating {
  opacity: .72;
  pointer-events: none;
}

body.woocommerce-checkout #shipping-option.soforia-is-updating::after,
body.woocommerce-checkout #payment-method.soforia-is-updating::after {
  content: "Se actualizează...";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  padding: 6px 10px;
  border: 1px solid #ececf1;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: #5f6472;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}