.header-main {
  display: grid;
  grid-template-columns: minmax(180px, 250px) minmax(320px, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 22px 0 24px;
}

.header-main--compact {
  padding-top: 18px;
  padding-bottom: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.brand__image {
  width: min(100%, 250px);
  height: auto;
  display: block;
}

.searchbar {
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  min-width: 280px;
  min-height: 62px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(223, 230, 235, 0.96);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.searchbar input {
  flex: 1;
  border: 0;
  border-radius: 14px;
  padding: 0 20px;
  background: transparent;
}

.searchbar--compact {
  max-width: 520px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  font-weight: 800;
}

.header-actions--member {
  gap: 12px;
}
.header-login-link {
  min-height: 54px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(223, 230, 235, 0.96);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
  font-weight: 800;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.header-login-link[hidden],
.action-dropdown[hidden],
[hidden] {
  display: none !important;
}

.header-login-link:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.header-actions > a {
  transition: color var(--transition);
}

.header-actions > a:hover {
  color: var(--color-primary);
}

.cart-link {
  position: relative;
}

.cart-link span {
  position: absolute;
  top: -12px;
  right: -14px;
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-size: 0.8rem;
}

.navbar {
  background: var(--color-primary);
  color: white;
}

.navbar__content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__content > a,
.nav-dropdown__toggle {
  padding: 18px 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  transition: background-color var(--transition);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  color: inherit;
}

.nav-dropdown__toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  padding: 12px;
  display: none;
  gap: 6px;
  opacity: 0;
  transform: translateY(8px);
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-text);
  border: 1px solid rgba(223, 230, 235, 0.96);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  z-index: 30;
  transition: opacity var(--transition), transform var(--transition);
}

.dropdown-menu--categories {
  left: 50%;
  width: min(920px, calc(100vw - 32px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 14px;
  transform: translate(-38%, 8px);
}

.dropdown-menu--categories a {
  min-height: 42px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  border: 1px solid rgba(223, 230, 235, 0.86);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.action-dropdown {
  position: relative;
}

.action-dropdown__toggle {
  min-height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(223, 230, 235, 0.96);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
}

.action-dropdown__toggle:hover,
.action-dropdown.is-open .action-dropdown__toggle {
  background: rgba(234, 247, 240, 0.96);
}

.login-action-link::after {
  display: none;
}

.action-dropdown .dropdown-menu {
  left: auto;
  right: 0;
  min-width: 320px;
}

.action-menu {
  padding: 14px;
}

.action-menu__user {
  padding: 8px 10px 14px;
  margin-bottom: 8px;
  display: grid;
  gap: 4px;
  border-bottom: 1px solid rgba(223, 230, 235, 0.92);
}

.action-menu__user strong {
  font-size: 1rem;
}

.action-menu__user span {
  color: var(--color-text-soft);
  font-size: 0.94rem;
}

.action-menu__link,
.action-menu__button {
  width: 100%;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 14px;
  font-weight: 700;
  color: var(--color-text);
  transition: background-color var(--transition), color var(--transition);
}

.action-menu__link:hover,
.action-menu__button:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.action-menu__button--danger:hover {
  background: rgba(185, 64, 64, 0.1);
  color: var(--color-danger);
}

.cart-menu {
  min-width: 360px;
}

.cart-menu__header {
  padding: 4px 4px 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(223, 230, 235, 0.92);
}

.cart-menu__header strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.cart-menu__header p {
  color: var(--color-text-soft);
  font-size: 0.94rem;
}

.cart-menu__items {
  display: grid;
  gap: 10px;
}

.cart-menu__item {
  padding: 12px;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.94);
  border: 1px solid rgba(223, 230, 235, 0.9);
}

.cart-menu__thumb {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17, 132, 77, 0.12), rgba(52, 95, 156, 0.08));
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-primary);
}

.cart-menu__meta {
  display: grid;
  gap: 4px;
}

.cart-menu__meta strong {
  font-size: 0.98rem;
}

.cart-menu__meta span {
  color: var(--color-text-soft);
  font-size: 0.92rem;
}

.cart-menu__price {
  text-align: right;
  font-weight: 800;
}

.cart-menu__footer {
  margin-top: 14px;
  padding-top: 14px;
  display: grid;
  gap: 14px;
  border-top: 1px solid rgba(223, 230, 235, 0.92);
}

.cart-menu__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-menu__total span {
  color: var(--color-text-soft);
}

.cart-menu__total strong {
  font-size: 1.1rem;
}

.cart-menu__actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.cart-menu__empty {
  padding: 12px 4px 4px;
  color: var(--color-text-soft);
}

.dropdown-menu a {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 700;
  transition: background-color var(--transition), color var(--transition);
}

.dropdown-menu a:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.navbar__content > a:hover,
.navbar__content > a.is-active,
.navbar__content .nav-dropdown__toggle.is-active,
.navbar__content .nav-dropdown__toggle:hover,
.navbar__content .nav-dropdown.is-open .nav-dropdown__toggle,
.navbar__content .nav-dropdown:hover .nav-dropdown__toggle {
  background: rgba(0, 0, 0, 0.12);
}

.nav-dropdown.is-open .dropdown-menu,
.nav-dropdown:hover .dropdown-menu {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}

.nav-dropdown.is-open .dropdown-menu--categories,
.nav-dropdown:hover .dropdown-menu--categories {
  transform: translate(-38%, 0);
}

.nav-dropdown.is-open .nav-dropdown__toggle::after,
.nav-dropdown:hover .nav-dropdown__toggle::after {
  transform: rotate(180deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-md);
  font-weight: 800;
  transition: transform var(--transition), filter var(--transition), background-color var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.48;
  pointer-events: none;
  cursor: not-allowed;
  filter: grayscale(0.25);
}

.btn-primary {
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

.btn-social {
  min-width: 240px;
  color: white;
}

.btn-social--light,
.btn-google-light {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(223, 230, 235, 0.96);
  box-shadow: var(--shadow-sm);
}

.btn-google {
  background: linear-gradient(180deg, #c85851 0%, var(--color-google) 100%);
}

.btn-facebook {
  background: linear-gradient(180deg, #4b79bb 0%, var(--color-facebook) 100%);
}

.btn-lg {
  min-height: 58px;
  padding-inline: 34px;
}

.btn-icon {
  position: relative;
  min-width: 64px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 0;
}

.btn-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.btn-icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: currentColor;
  transform: translate(9px, 9px) rotate(45deg);
}

.card-surface,
.trust-card,
.product-card,
.category-card,
.auth-card,
.orders-table-card,
.order-detail-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(223, 230, 235, 0.9);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.category-card {
  padding: 28px 18px;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 800;
}

.category-card__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 1.4rem;
}

.product-card {
  padding: 18px;
  border-radius: 22px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 16px;
  height: 100%;
}

.product-card[data-product-url] {
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card[data-product-url]:hover,
.product-card[data-product-url]:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(17, 132, 77, 0.35);
  box-shadow: var(--shadow-md);
  outline: none;
}

.product-card__image {
  position: relative;
  height: 176px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(17, 132, 77, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(17, 132, 77, 0.07), rgba(52, 95, 156, 0.05));
  display: grid;
  place-items: center;
}

.product-card__image-link {
  color: inherit;
  transition: transform var(--transition), filter var(--transition);
}

.product-card__image-link:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
}

.product-card__image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.product-card__placeholder {
  width: 100%;
  height: 100%;
  padding: 18px;
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
}

.product-card__placeholder span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-primary);
  font-size: 1.65rem;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

.product-card__placeholder strong {
  color: var(--color-text);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.product-card h3 {
  font-size: 1.3rem;
}

.product-card h3 a {
  color: inherit;
}

.product-card h3 a:hover {
  color: var(--color-primary);
}

.product-card__body {
  display: grid;
  align-content: start;
  gap: 8px;
}

.product-card__category {
  width: fit-content;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-card__brand {
  color: var(--color-text-soft);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-card__meta {
  color: var(--color-text-soft);
  font-size: 0.92rem;
}

.quantity-control {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.quantity-control button,
.quantity-control strong {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: white;
  border: 1px solid rgba(223, 230, 235, 0.96);
  color: var(--color-primary);
  font-weight: 900;
}

.quantity-control button:hover {
  background: var(--color-primary-soft);
}

.quantity-control__remove {
  min-width: 54px !important;
  padding: 0 12px;
  color: var(--color-danger) !important;
}

.quantity-control__remove:hover {
  border-color: rgba(220, 38, 38, 0.28);
  background: rgba(220, 38, 38, 0.08) !important;
}

.quantity-control--small {
  gap: 6px;
}

.quantity-control--small button,
.quantity-control--small strong {
  min-width: 30px;
  height: 30px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card__price {
  color: var(--color-primary);
  font-size: 1.18rem;
}

.stock-badge {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  font-size: 0.84rem;
  font-weight: 900;
  white-space: nowrap;
}

.stock-badge--empty {
  color: var(--color-danger);
  background: rgba(220, 38, 38, 0.1);
}

.product-card__button {
  width: 100%;
  min-height: 54px;
  align-self: end;
  white-space: nowrap;
}

.product-card__button.is-added {
  background: linear-gradient(180deg, #20b56a 0%, #0f7d45 100%);
}

.product-card__button:disabled,
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  filter: grayscale(0.25);
}

.product-card__details {
  width: 100%;
}

.empty-state {
  padding: 34px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px dashed rgba(17, 132, 77, 0.28);
  box-shadow: var(--shadow-sm);
}

.empty-state h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.empty-state p {
  max-width: 720px;
  color: var(--color-text-soft);
}

.trust-strip {
  margin: 26px auto 34px;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: rgba(235, 242, 246, 0.75);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(223, 230, 235, 0.9);
}

.trust-card {
  padding: 22px;
  border-radius: 22px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.trust-card:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 132, 77, 0.28);
  box-shadow: var(--shadow-md);
}

.trust-card h3 {
  margin-bottom: 8px;
}

.site-footer {
  padding: 26px 0 18px;
}

.header-main > .brand .brand__image {
  width: min(100%, 250px);
}

.header-main--compact > .brand .brand__image {
  width: min(100%, 250px);
}

.brand--auth .brand__image {
  width: min(100%, 250px);
}

.brand--footer .brand__image {
  width: min(100%, 250px);
}

.footer-grid h4 {
  margin-bottom: 14px;
}

.footer-grid a,
.footer-grid p,
.footer-copy {
  color: var(--color-text-soft);
}

.footer-grid > div {
  display: grid;
  gap: 10px;
}

.footer-bottom {
  padding-top: 22px;
  margin-top: 24px;
  border-top: 1px solid rgba(223, 230, 235, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--color-text-soft);
}

.footer-bottom__links {
  display: flex;
  gap: 18px;
}

.footer-bottom p span {
  display: inline-block;
  margin-top: 6px;
  font-weight: 800;
  color: inherit;
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #25d366 0%, #128c4a 100%);
  color: white;
  box-shadow: 0 18px 34px rgba(18, 140, 74, 0.34), 0 0 0 8px rgba(37, 211, 102, 0.12);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  animation: whatsapp-breathe 2.8s ease-in-out infinite;
}

.floating-contact:hover {
  transform: translateY(-4px) scale(1.04);
  filter: saturate(1.08);
  box-shadow: 0 24px 42px rgba(18, 140, 74, 0.42), 0 0 0 12px rgba(37, 211, 102, 0.16);
}

.floating-contact span {
  font-size: 1.8rem;
  line-height: 1;
}

.floating-contact[href^="tel:"] {
  display: none;
}

.floating-contact--whatsapp svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
}

.floating-contact--whatsapp::before {
  content: "WhatsApp";
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translate(8px, -50%);
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(223, 230, 235, 0.92);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.floating-contact--whatsapp:hover::before {
  opacity: 1;
  transform: translate(0, -50%);
}

@keyframes whatsapp-breathe {
  0%, 100% { box-shadow: 0 18px 34px rgba(18, 140, 74, 0.34), 0 0 0 8px rgba(37, 211, 102, 0.12); }
  50% { box-shadow: 0 22px 42px rgba(18, 140, 74, 0.4), 0 0 0 14px rgba(37, 211, 102, 0.08); }
}

.footer-bottom p span {
  font-weight: 400;
}

.content-page {
  padding: 34px 0 52px;
}

.content-shell {
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(223, 230, 235, 0.92);
  box-shadow: var(--shadow-sm);
}

.content-body {
  display: grid;
  gap: 14px;
  color: var(--color-text-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.content-body a {
  color: var(--color-primary);
  font-weight: 800;
}

.contact-page {
  padding: 34px 0 54px;
}

.contact-hero {
  margin-bottom: 24px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 18%, rgba(37, 211, 102, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(233, 246, 239, 0.9));
  border: 1px solid rgba(223, 230, 235, 0.92);
  box-shadow: var(--shadow-sm);
  animation: soft-rise 520ms ease both;
}

.contact-hero__content {
  display: grid;
  gap: 10px;
}

.contact-hero__content span,
.contact-map-info span {
  color: var(--color-primary);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}

.contact-hero p,
.contact-map-info p {
  max-width: 680px;
  color: var(--color-text-soft);
  font-size: 1.08rem;
  line-height: 1.65;
}

.contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-grid {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  padding: 24px;
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 128px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(223, 230, 235, 0.92);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  animation: soft-rise 560ms ease both;
}

.contact-card:nth-child(2) {
  animation-delay: 80ms;
}

.contact-card:nth-child(3) {
  animation-delay: 160ms;
}

.contact-card:nth-child(4) {
  animation-delay: 240ms;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(17, 132, 77, 0.3);
  box-shadow: var(--shadow-md);
}

.contact-card h2 {
  font-size: 1.35rem;
}

.contact-card a {
  color: var(--color-text);
  font-weight: 800;
  line-height: 1.5;
}

.contact-card a:hover {
  color: var(--color-primary);
}

.contact-map-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 0;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(223, 230, 235, 0.92);
  box-shadow: var(--shadow-sm);
  animation: soft-rise 640ms ease both;
}

.contact-map-info {
  padding: 30px;
  display: grid;
  align-content: center;
  gap: 14px;
}

.contact-map-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.12;
}

.contact-map {
  min-height: 390px;
  background: var(--color-primary-soft);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 390px;
  display: block;
  border: 0;
  filter: saturate(0.94) contrast(1.02);
}

@keyframes soft-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.field {
  position: relative;
  display: grid;
  gap: 10px;
}

.field span {
  font-size: 1.15rem;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  min-height: 64px;
  padding: 0 20px;
  border-radius: 16px;
  border: 1px solid rgba(223, 230, 235, 0.96);
  background: white;
  color: var(--color-text);
  font: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field textarea {
  min-height: 120px;
  padding-block: 16px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: rgba(17, 132, 77, 0.45);
  box-shadow: 0 0 0 4px rgba(17, 132, 77, 0.12);
}

.field-warning {
  margin-top: -2px;
  color: var(--color-danger);
  font-size: 0.88rem;
  font-weight: 800;
  animation: soft-rise 160ms ease both;
}

.field--password {
  position: relative;
}

.field__toggle {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: var(--color-text-soft);
  font-weight: 700;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
}

.checkbox input {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
}

.captcha-row,
.social-actions,
.split-fields {
  display: grid;
  gap: 16px;
}

.captcha-row {
  grid-template-columns: 1fr auto;
}

.social-actions {
  grid-template-columns: repeat(2, 1fr);
}

.social-actions--single {
  grid-template-columns: 1fr;
}

.divider {
  position: relative;
  text-align: center;
  color: var(--color-text-soft);
}

.divider::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: var(--color-border);
}

.divider span {
  position: relative;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.9);
}

.auth-note {
  text-align: center;
  font-size: 1.15rem;
}

.auth-note a {
  color: var(--color-primary);
  font-weight: 800;
}

.medical-visual {
  position: relative;
  min-height: 420px;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 25%, rgba(17, 132, 77, 0.18), transparent 18%),
    radial-gradient(circle at 80% 20%, rgba(52, 95, 156, 0.14), transparent 16%),
    linear-gradient(135deg, #f8fffb 0%, #e7f3ee 40%, #edf4f8 100%);
}

.medical-visual__item {
  position: absolute;
  display: block;
  border-radius: 24px;
  box-shadow: var(--shadow-md), var(--shadow-inset);
}

.medical-visual__item::before,
.medical-visual__item::after {
  content: "";
  position: absolute;
}

.medical-visual__item.bottle {
  left: 14%;
  top: 12%;
  width: 84px;
  height: 200px;
  border-radius: 28px 28px 22px 22px;
  background: linear-gradient(180deg, #ffffff 0%, #dfece7 100%);
}

.medical-visual__item.bottle::before {
  top: -18px;
  left: 22px;
  width: 40px;
  height: 24px;
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(180deg, #f8fbfd 0%, #cddad6 100%);
}

.medical-visual__item.mask-box,
.medical-visual__item.gloves-box,
.medical-visual__item.box,
.medical-visual__item.kit,
.medical-visual__item.clipboard {
  background: linear-gradient(180deg, #ffffff 0%, #dbe9e4 100%);
}

.medical-visual__item.mask-box {
  right: 28%;
  top: 18%;
  width: 190px;
  height: 118px;
}

.medical-visual__item.gloves-box {
  right: 14%;
  top: 30%;
  width: 160px;
  height: 98px;
}

.medical-visual__item.mask {
  left: 38%;
  bottom: 16%;
  width: 180px;
  height: 74px;
  border-radius: 18px;
  background: linear-gradient(180deg, #8de2cf 0%, #4ac5a4 100%);
  transform: rotate(8deg);
}

.medical-visual__item.stethoscope {
  right: 10%;
  bottom: 10%;
  width: 220px;
  height: 120px;
  border-radius: 50%;
  border: 8px solid rgba(40, 57, 73, 0.88);
  box-shadow: none;
  background: transparent;
}

.medical-visual__item.stethoscope::before {
  left: 40px;
  top: -44px;
  width: 120px;
  height: 82px;
  border: 8px solid rgba(40, 57, 73, 0.88);
  border-bottom: 0;
  border-radius: 80px 80px 0 0;
}

.medical-visual__item.stethoscope::after {
  right: 6px;
  bottom: -10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(180deg, #3a4959 0%, #18202a 100%);
}

.medical-visual__item.shield {
  right: 24%;
  top: 18%;
  width: 200px;
  height: 240px;
  clip-path: polygon(50% 0%, 90% 15%, 90% 58%, 50% 100%, 10% 58%, 10% 15%);
  background: linear-gradient(180deg, #faffff 0%, #d3ebe3 10%, #2a8e69 100%);
}

.medical-visual__item.shield::before {
  inset: 20px;
  clip-path: polygon(50% 0%, 90% 15%, 90% 58%, 50% 100%, 10% 58%, 10% 15%);
  background: linear-gradient(180deg, #60c79b 0%, #1f7e5c 100%);
}

.medical-visual__item.shield::after {
  left: 50%;
  top: 44%;
  width: 66px;
  height: 84px;
  transform: translate(-50%, -50%);
  border-radius: 32px 32px 18px 18px;
  background: linear-gradient(180deg, #ffffff 0%, #dfe9e5 100%);
}

.medical-visual__item.clipboard {
  right: 8%;
  top: 30%;
  width: 120px;
  height: 170px;
}

.medical-visual__item.clipboard::before {
  top: 18px;
  left: 24px;
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.2);
  box-shadow: 0 24px 0 rgba(31, 41, 55, 0.2), 0 48px 0 rgba(31, 41, 55, 0.2);
}

.medical-visual__item.pills {
  left: 12%;
  bottom: 18%;
  width: 150px;
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7fd0af 0%, #f9fbfc 50%, #8fd4c2 100%);
}

.medical-visual__item.bottle-stack {
  right: 6%;
  bottom: 16%;
  width: 110px;
  height: 160px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fefefe 0%, #dce9e4 100%);
  box-shadow: 0 0 0 18px rgba(17, 132, 77, 0.12), var(--shadow-md);
}

.medical-visual__item.kit {
  left: 8%;
  top: 34%;
  width: 180px;
  height: 126px;
}

.medical-visual__item.box {
  left: 8%;
  bottom: 24%;
  width: 130px;
  height: 92px;
  background: linear-gradient(180deg, #f0dbc0 0%, #cfaa78 100%);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .header-main,
  .contact-map-shell,
  .auth-card__content,
  .orders-layout {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .medical-visual {
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .header-main {
    gap: 14px;
    padding-top: 16px;
  }

  .searchbar {
    min-width: 0;
  }

  .header-actions,
  .navbar__content,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .header-actions .header-login-link,
  .action-dropdown,
  .action-dropdown__toggle,
  .cart-link {
    width: 100%;
  }

  .social-actions,
  .split-fields,
  .cart-menu__actions,
  .contact-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .contact-map-info {
    padding: 24px;
  }

  .navbar__content > a,
  .nav-dropdown,
  .nav-dropdown__toggle {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    min-width: 100%;
    width: 100%;
    margin-top: 6px;
  }

  .dropdown-menu--categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    transform: none;
  }

  .nav-dropdown.is-open .dropdown-menu--categories,
  .nav-dropdown:hover .dropdown-menu--categories {
    transform: none;
  }

  .action-dropdown .dropdown-menu,
  .cart-menu {
    min-width: 100%;
    max-width: calc(100vw - 24px);
  }

  .cart-menu__item {
    grid-template-columns: 48px 1fr;
  }

  .cart-menu__price {
    grid-column: 2;
    text-align: left;
  }

  .header-main > .brand .brand__image,
  .header-main--compact > .brand .brand__image,
  .brand--auth .brand__image,
  .brand--footer .brand__image {
    width: min(100%, 230px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 420px) {
  .header-actions {
    grid-template-columns: 1fr;
  }

  .dropdown-menu--categories {
    grid-template-columns: 1fr;
  }

  .btn,
  .header-login-link,
  .action-dropdown__toggle {
    min-height: 48px;
    padding-inline: 16px;
  }
}

