/* ==========================================================================
   Pucallpa Delivery — Rediseño del sitio público (v1, oct-2026)
   Se carga al final del tema público (themes/karenderia_v2). El backoffice
   usa su propio tema y NO carga este archivo.
   Paleta: naranja #F75D34 (logo) + carbón. Tipografías: Outfit / Inter.
   ========================================================================== */

:root {
  --pd-orange: #F75D34;
  /* PD-13: acción accesible. #F75D34 con texto blanco da 3.20:1; #CC3B14 da 5.00:1 (AA). */
  --pd-action: #CC3B14;
  --pd-action-hover: #A8320D;
  --pd-orange-600: #CC3B14;
  --pd-orange-700: #A8320D;
  --pd-orange-100: #FFE3D9;
  --pd-orange-50: #FFF3EE;
  --pd-cream: #FFF9F5;
  --pd-charcoal: #1F2328;
  --pd-ink: #2B3036;
  --pd-grey-700: #4A5058;
  --pd-grey-500: #686868; /* RV-01: #767676 daba 4.35:1 sobre crema; #686868 ≥ 5:1 */
  --pd-grey-300: #C9CDD2;
  --pd-grey-200: #E6E8EB;
  --pd-grey-100: #F3F4F6;
  --pd-green: #1E7B5A;
  --pd-green-50: #E8F5EF;
  --pd-yellow: #FFB627;
  --pd-radius-sm: 10px;
  --pd-radius: 16px;
  --pd-radius-lg: 24px;
  --pd-shadow-sm: 0 1px 2px rgba(31,35,40,.06), 0 1px 3px rgba(31,35,40,.08);
  --pd-shadow: 0 6px 18px rgba(31,35,40,.08);
  --pd-shadow-lg: 0 18px 40px rgba(31,35,40,.14);
  --pd-font-head: 'Outfit', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pd-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Element Plus (componentes Vue del sitio) con el color de la marca */
  --el-color-primary: #CC3B14;
  --el-color-primary-light-3: #F98E71;
  --el-color-primary-light-5: #FBAE9A;
  --el-color-primary-light-7: #FDCEC2;
  --el-color-primary-light-8: #FDDFD6;
  --el-color-primary-light-9: #FEEFEB;
  --el-color-primary-dark-2: #A8320D;
  --el-color-success: #1E7B5A;
  --el-color-success-light-9: #E8F5EF;
  --el-border-radius-base: 10px;
  --el-font-family: var(--pd-font-body);
}

/* ---------- Base ---------- */
body.pd-theme {
  font-family: var(--pd-font-body);
  color: var(--pd-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.pd-theme h1, .pd-theme h2, .pd-theme h3, .pd-theme h4, .pd-theme h5, .pd-theme h6,
.pd-theme .h1, .pd-theme .h2, .pd-theme .h3, .pd-theme .h4, .pd-theme .h5 {
  font-family: var(--pd-font-head);
  color: var(--pd-charcoal);
  letter-spacing: -0.01em;
}
/* La plantilla fuerza p/.card a 12px !important: muy chico en celular */
body.pd-theme { font-size: 15px; }
.pd-theme p, .pd-theme .card, .pd-theme .cart-summary, .pd-theme table { font-size: 14px !important; line-height: 1.5; }
.pd-theme h6, .pd-theme .font14 { font-size: 15px !important; }
.pd-theme .pd-hero p.pd-hero__lead { font-size: 1.12rem !important; }
.pd-theme a { color: var(--pd-orange-600); }
.pd-theme a:hover { color: var(--pd-orange-700); }
.pd-theme ::selection { background: var(--pd-orange-100); }
.pd-theme :focus-visible { outline: 3px solid rgba(247,93,52,.45); outline-offset: 2px; }

.pd-ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.2em; }

/* Colores heredados de la plantilla (verde) → marca */
.pd-theme .text-green, .pd-theme .read-more, .pd-theme .discount-icon { color: var(--pd-orange-600) !important; }
.pd-theme .btn-green, .pd-theme .badge.badge-green { background: var(--pd-action) !important; border-color: var(--pd-action) !important; }
.pd-theme .custom-control-input:checked ~ .custom-control-label::before,
.pd-theme ul.sub-menu li.active a,
.pd-theme #progressbar li.active:before, .pd-theme #progressbar li.active:after,
.pd-theme .progressing .progress-value,
.pd-theme .pricing-plans .icon,
.pd-theme .wrap-radio-selection,
.pd-theme .wrap-radio-selection span.el-radio-button__inner { background: var(--pd-action) !important; border-color: var(--pd-action) !important; }
.pd-theme .btn-green-line, .pd-theme .border-green,
.pd-theme .address-section.active, .pd-theme .bordered-box.selected,
.pd-theme .pricing-plans .plans, .pd-theme .alert-success { border-color: var(--pd-orange) !important; }
.pd-theme .chevron-section.selected, .pd-theme .border-vertical-green { border-left-color: var(--pd-orange) !important; }
.pd-theme .bordered-box.selected .text-xs,
.pd-theme .wrap-radio-selection .el-radio-button__original-radio:checked + .el-radio-button__inner { color: var(--pd-action) !important; }
.pd-theme ul.top-menu a:hover, .pd-theme .list-inline a:hover, .pd-theme .menu-category a:hover,
.pd-theme .siderbar-menu li.active a { color: var(--pd-action) !important; }
.pd-theme .top-merchant-details, .pd-theme .badge.badge-yellow { background: var(--pd-orange-50); }
.pd-theme .gold-color { color: var(--pd-yellow) !important; }

/* ---------- Botones ---------- */
.pd-theme .btn {
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--pd-font-body);
  transition: background-color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.pd-theme .btn:active { transform: translateY(1px); }
.pd-theme .btn-green, .pd-theme .btn-primary { color: #fff !important; }
.pd-theme .btn-green:hover, .pd-theme .btn-primary:hover { background: var(--pd-action-hover) !important; border-color: var(--pd-action-hover) !important; }
.pd-theme .btn-primary { background: var(--pd-action); border-color: var(--pd-action); }
.pd-theme .btn-black, .pd-theme .btn-dark { background: var(--pd-charcoal) !important; border-color: var(--pd-charcoal) !important; color: #fff !important; }
.pd-theme .btn-black:hover, .pd-theme .btn-dark:hover { background: #000 !important; }
.pd-theme .btn-green-line { color: var(--pd-orange-600) !important; background: #fff; }
.pd-theme .btn-white { color: var(--pd-orange-600) !important; }
.pd-theme .el-button { font-weight: 600; }
.pd-theme .el-button.is-round { border-radius: 999px; }
.pd-theme .el-button--success, .pd-theme .el-button--primary { --el-button-bg-color: var(--pd-action); --el-button-border-color: var(--pd-action); --el-button-hover-bg-color: var(--pd-action-hover); --el-button-hover-border-color: var(--pd-action-hover); --el-button-active-bg-color: var(--pd-action-hover); }

/* ---------- Formularios ---------- */
.pd-theme .form-control, .pd-theme .el-input__wrapper, .pd-theme .el-textarea__inner, .pd-theme .el-select__wrapper {
  border-radius: var(--pd-radius-sm);
}
.pd-theme .form-control { border-color: var(--pd-grey-300); min-height: 46px; }
.pd-theme .form-control:focus { border-color: var(--pd-orange); box-shadow: 0 0 0 3px rgba(247,93,52,.18); }
.pd-theme .form-label-group > label, .pd-theme label { color: var(--pd-grey-700); }

/* ---------- Encabezado ---------- */
.pd-theme #top-navigation {
  min-height: 68px;
  padding: 10px 8px;
  margin: 0;
  background: #fff;
  /* Sin backdrop-filter/transform aquí: crean un bloque contenedor y el menú móvil (el-drawer,
     que vive dentro del encabezado) quedaba recortado a la altura del encabezado (PD-05). */
}
.pd-theme .container-fluid:has(> #top-navigation) {
  position: sticky; top: 0; z-index: 1001;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.pd-scrolled .pd-theme .container-fluid:has(> #top-navigation),
html.pd-scrolled body.pd-theme .container-fluid:has(> #top-navigation) { border-bottom-color: var(--pd-grey-200); box-shadow: 0 4px 16px rgba(31,35,40,.06); }
.pd-brand a { display: inline-flex; align-items: center; }
.pd-brand img { height: 42px; width: auto; max-width: 100%; display: block; }
.pd-theme .top-logo .img-200 { max-height: 42px; width: auto; }
.pd-theme ul.top-menu { margin: 0; display: flex; align-items: center; }
.pd-theme ul.top-menu > li > a { color: var(--pd-charcoal); font-weight: 600; font-size: .95rem; }
.pd-theme ul.top-menu li.line-left { border-left: 1px solid var(--pd-grey-200); padding-left: 14px; margin-left: 6px; }
.pd-theme ul.top-menu li.line-left a[href*="login"] {
  background: var(--pd-charcoal); color: #fff !important; padding: 9px 18px; border-radius: 999px; display: inline-block;
}
.pd-theme ul.top-menu li.line-left a[href*="login"]:hover { background: #000; }
.pd-theme .cart-handle { position: relative; display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: var(--pd-orange-50); }
.pd-theme .cart-handle img { width: 22px; height: 22px; }
.pd-theme .cart-handle .badge { position: absolute; top: -2px; right: -4px; background: var(--pd-action) !important; color: #fff; min-width: 20px; height: 20px; line-height: 14px; font-size: 11px; border: 2px solid #fff; }
.pd-theme #vue-widget-nav .d-flex { gap: 8px; }

/* ---------- Hero ---------- */
.pd-hero {
  position: relative;
  overflow: hidden;
  height: auto !important;
  background: linear-gradient(180deg, var(--pd-cream) 0%, #fff 100%) !important;
  border-bottom: 0 !important;
  padding: 56px 0 64px;
}
.pd-hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 360px at 92% 10%, rgba(247,93,52,.14), transparent 70%),
    radial-gradient(420px 300px at 0% 100%, rgba(30,123,90,.10), transparent 70%);
}
.pd-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 40px; align-items: center; }
.pd-hero .banner-center { width: auto !important; z-index: 9; }
.pd-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--pd-orange-700); border: 1px solid var(--pd-orange-100);
  padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: .85rem;
  box-shadow: var(--pd-shadow-sm);
}
.pd-hero__title {
  font-family: var(--pd-font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.04;
  margin: 18px 0 14px;
  color: var(--pd-charcoal);
  text-align: left !important;
}
.pd-theme .pd-hero p.pd-hero__lead { font-size: 1.12rem; line-height: 1.55; color: var(--pd-grey-700); max-width: 34em; margin-bottom: 26px; }
.pd-hero .home-search-wrap { width: 100% !important; max-width: 560px; margin: 0 !important; }
.pd-search .el-input__wrapper, .pd-search input.form-control {
  min-height: 58px; border-radius: 999px !important; box-shadow: var(--pd-shadow) !important; padding-left: 20px;
}
.pd-search .btn, .pd-search .el-button { border-radius: 999px !important; }
.pd-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.pd-quick__label { font-weight: 600; color: var(--pd-grey-700); font-size: .9rem; margin-right: 2px; }
.pd-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--pd-grey-200);
  color: var(--pd-charcoal) !important; font-weight: 600; font-size: .9rem; text-decoration: none !important;
  transition: border-color .15s, background-color .15s, color .15s;
}
.pd-chip .pd-ico { color: var(--pd-orange); }
.pd-chip:hover { border-color: var(--pd-orange); background: var(--pd-orange-50); }
.pd-trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.pd-trust li { display: inline-flex; align-items: center; gap: 8px; color: var(--pd-grey-700); font-weight: 500; font-size: .95rem; }
.pd-trust .pd-ico { color: var(--pd-green); width: 1.35em; height: 1.35em; }

.pd-hero__art { position: relative; justify-self: center; width: 100%; max-width: 560px; }
.pd-hero__frame { position: relative; aspect-ratio: 8 / 7; border-radius: 40px; overflow: hidden; }
.pd-hero__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-hero__frame picture { display: contents; }
.pd-float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: var(--pd-shadow-lg);
  font-size: .85rem; line-height: 1.2; animation: pd-float 6s ease-in-out infinite;
}
.pd-float strong { display: block; color: var(--pd-charcoal); font-family: var(--pd-font-head); font-size: .95rem; }
.pd-float small { color: var(--pd-grey-500); }
.pd-float__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--pd-orange); color: #fff; }
.pd-float__icon--green { background: var(--pd-green); }
.pd-float--a { left: -18px; bottom: 16%; }
.pd-float--b { right: -8px; top: 8%; animation-delay: -3s; }
@keyframes pd-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .pd-float { animation: none; } }

/* ---------- Secciones del inicio ---------- */
.pd-home h3.font-weight-bold, .pd-section-title {
  font-family: var(--pd-font-head); font-weight: 700 !important; font-size: 1.6rem; color: var(--pd-charcoal);
}
.pd-home .swiperOutsideContainer { margin-bottom: 18px; }

/* Categorías con íconos propios */
.pd-cats .swiper-slide { width: auto !important; }
.pd-cat {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 104px; padding: 6px 2px; text-decoration: none !important; color: var(--pd-charcoal) !important;
}
.pd-cat__icon {
  width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center;
  background: var(--pd-orange-50); color: var(--pd-orange); border: 1px solid var(--pd-orange-100);
  transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.pd-cat__icon .pd-ico { width: 38px; height: 38px; }
.pd-cat__name { font-weight: 600; font-size: .88rem; max-width: 100%; text-align: center; white-space: normal !important; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; }
.pd-cat:hover .pd-cat__icon { background: var(--pd-orange); color: #fff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(247,93,52,.28); }

/* Flechas de carrusel */
.pd-theme .swiper-button-next .el-button, .pd-theme .swiper-button-prev .el-button {
  width: 40px; height: 40px; border: 1px solid var(--pd-grey-200); box-shadow: var(--pd-shadow-sm); color: var(--pd-charcoal);
}
.pd-theme .swiper-button-next .el-button:hover, .pd-theme .swiper-button-prev .el-button:hover { color: var(--pd-orange); border-color: var(--pd-orange); }

/* Cómo funciona */
.pd-steps { margin: 28px 0 36px; }
.pd-steps__list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: pdstep; }
.pd-steps__list li {
  position: relative; background: var(--pd-cream); border: 1px solid var(--pd-orange-100); border-radius: var(--pd-radius-lg);
  padding: 22px 22px 18px 22px; counter-increment: pdstep;
}
.pd-steps__list li::after {
  content: counter(pdstep); position: absolute; top: 16px; right: 20px;
  font-family: var(--pd-font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--pd-orange-100);
}
.pd-steps__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--pd-orange); color: #fff; display: grid; place-items: center; margin-bottom: 12px; }
.pd-steps__icon .pd-ico { width: 26px; height: 26px; }
.pd-steps__list strong { display: block; font-family: var(--pd-font-head); font-size: 1.15rem; color: var(--pd-charcoal); margin-bottom: 4px; }
.pd-steps__list p { margin: 0; color: var(--pd-grey-700); font-size: .95rem; }

/* Tarjetas de comercio (carruseles) */
.pd-theme .swiperResto .swiperSlide {
  background: #fff; border-radius: var(--pd-radius); overflow: hidden;
  border: 1px solid var(--pd-grey-200); box-shadow: var(--pd-shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease; color: var(--pd-ink) !important; text-decoration: none !important;
}
.pd-theme .swiperResto .swiperSlide:hover { transform: translateY(-3px); box-shadow: var(--pd-shadow); }
.pd-theme .swiperResto .swiperSlide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0 !important; background: var(--pd-grey-100); }
.pd-theme .swiperResto .swiperSlide .p-2 { padding: 12px 14px 14px !important; }
.pd-theme .swiperResto .font-weight-bold { font-family: var(--pd-font-head); font-size: 1.05rem; color: var(--pd-charcoal); font-weight: 700 !important; }
.pd-theme .swiperResto .font-weight-light { color: var(--pd-grey-500); font-size: .88rem; }
.pd-rating { gap: 4px; font-weight: 600; font-size: .88rem; }
.pd-rating small { color: var(--pd-grey-500); font-weight: 500; }
.pd-ico--star { color: var(--pd-yellow); fill: var(--pd-yellow); }
.pd-badge-new { background: var(--pd-green-50); color: var(--pd-green); font-weight: 700; font-size: .75rem; padding: 3px 9px; border-radius: 999px; letter-spacing: .02em; }
.pd-store-card .pd-ico { color: var(--pd-grey-500); }

/* Tarjetas de producto destacadas */
.pd-items .pd-item-card .p-2 { display: flex; flex-direction: column; min-height: 150px; }
.pd-items .pd-item-card .row { margin-top: auto; }
.pd-theme .featured-item-price { font-family: var(--pd-font-head); font-weight: 700; color: var(--pd-charcoal); font-size: 1.15rem; }
.pd-theme .pd-add-btn { padding: 8px 18px; }

/* ---------- Sección “Únete” (comercios, clientes, repartidores) ---------- */
.pd-join { margin-top: 36px; }
.pd-join__head { text-align: center; margin: 0 auto 18px; max-width: 640px; }
.pd-join__head p { color: var(--pd-grey-700); margin: 6px 0 0; }
.pd-theme .pd-join .join-sections .pd-join__card {
  background: #fff; border: 1px solid var(--pd-grey-200); border-radius: var(--pd-radius-lg);
  overflow: hidden; box-shadow: var(--pd-shadow-sm); height: auto;
}
.pd-join__art { height: 168px; display: grid; place-items: center; position: relative; overflow: hidden; }
.pd-join__art img { width: 100%; height: 100%; object-fit: cover; }
.pd-join__card--0 .pd-join__art { background: linear-gradient(135deg, #FF8A63, var(--pd-orange) 55%, var(--pd-orange-700)); }
.pd-join__card--1 .pd-join__art { background: linear-gradient(135deg, #3A4049, var(--pd-charcoal)); }
.pd-join__card--2 .pd-join__art { background: linear-gradient(135deg, #2FA36F, var(--pd-green) 60%, #145A41); }
.pd-join__art::before, .pd-join__art::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.10);
}
.pd-join__art::before { width: 220px; height: 220px; right: -60px; top: -90px; }
.pd-join__art::after { width: 140px; height: 140px; left: -40px; bottom: -70px; }
.pd-join__icon { width: 84px; height: 84px; border-radius: 26px; background: rgba(255,255,255,.16); color: #fff; display: grid; place-items: center; position: relative; z-index: 1; backdrop-filter: blur(2px); }
.pd-join__icon .pd-ico { width: 46px; height: 46px; }
.pd-theme .pd-join .join-sections .content { padding: 18px 20px 20px; }
.pd-theme .pd-join .join-sections h5 { font-family: var(--pd-font-head); font-size: 1.15rem; white-space: normal; }
.pd-theme .pd-join .join-sections p { color: var(--pd-grey-700); font-size: .93rem; min-height: 3em; }
.pd-theme .pd-join .el-button--primary { color: #fff; }

/* ---------- App móvil ---------- */
.pd-theme .section-mobileapp.pd-app { background: var(--pd-cream); border-top: 1px solid var(--pd-orange-100); border-bottom: 1px solid var(--pd-orange-100); padding: 56px 0; }
.pd-app h5 { color: var(--pd-orange-700); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.pd-app h1 { font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.pd-phone { width: 230px; margin: 0 auto; padding: 10px; border-radius: 38px; background: var(--pd-charcoal); box-shadow: var(--pd-shadow-lg); }
.pd-phone__screen { border-radius: 30px; background: #fff; overflow: hidden; padding-bottom: 14px; text-align: left; }
.pd-phone__bar { background: var(--pd-orange); padding: 18px 14px 12px; }
.pd-phone__bar img { height: 22px; }
.pd-phone__search { margin: 10px 12px; padding: 8px 10px; border-radius: 999px; background: var(--pd-grey-100); font-size: .7rem; color: var(--pd-grey-700); display: flex; gap: 6px; align-items: center; }
.pd-phone__search .pd-ico { color: var(--pd-orange); }
.pd-phone__cats { display: flex; justify-content: space-between; padding: 0 12px; margin-bottom: 10px; }
.pd-phone__cats span { width: 38px; height: 38px; border-radius: 12px; background: var(--pd-orange-50); color: var(--pd-orange); display: grid; place-items: center; }
.pd-phone__card { margin: 0 12px 8px; border-radius: 14px; border: 1px solid var(--pd-grey-200); padding: 6px; display: grid; grid-template-columns: 46px 1fr; gap: 2px 8px; }
.pd-phone__card i { grid-row: span 2; height: 46px; border-radius: 10px; background: linear-gradient(135deg, #7FB955, #3E7A35); }
.pd-phone__card i.pd-phone__card--b { background: linear-gradient(135deg, #F6D07A, #C2492C); }
.pd-phone__card b { height: 9px; border-radius: 5px; background: var(--pd-grey-300); margin-top: 8px; width: 80%; }
.pd-phone__card em { height: 7px; border-radius: 5px; background: var(--pd-grey-200); width: 55%; }
.pd-phone__track { margin: 8px 12px 0; padding: 8px 10px; border-radius: 14px; background: var(--pd-charcoal); color: #fff; display: flex; gap: 8px; align-items: center; font-size: .7rem; line-height: 1.2; }
.pd-phone__track .pd-ico { color: var(--pd-orange); width: 22px; height: 22px; }
.pd-phone__track strong { display: block; font-size: .78rem; }
.pd-phone__track small { color: #AEB4BB; }

/* ---------- Footer ---------- */
.pd-theme .sub-footer.pd-footer {
  background: var(--pd-charcoal) !important; color: #C9CDD2; padding: 56px 0 24px; margin-top: 48px; border: 0;
}
.pd-footer .footer-logo img { height: 46px; }
.pd-footer__claim { margin: 16px 0 18px; max-width: 26em; color: #AEB4BB; }
.pd-footer__heading { color: #fff !important; font-family: var(--pd-font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }
.pd-footer__muted { color: #8E959D; font-size: .9rem; }
.pd-social { display: flex; gap: 10px; }
.pd-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff !important; }
.pd-social a:hover { background: var(--pd-orange); }
.pd-subscribe { display: flex; gap: 8px; }
.pd-subscribe .field-wrap { flex: 1; }
.pd-subscribe .butoon-wrap { position: static !important; }
.pd-subscribe .el-input__wrapper { background: rgba(255,255,255,.06); box-shadow: 0 0 0 1px rgba(255,255,255,.16) inset; border-radius: 999px; }
.pd-subscribe .el-input__inner { color: #fff; }
.pd-subscribe .el-button { border-radius: 999px; }
.pd-footer .sub-footer-nav { border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px; margin-top: 8px; }
.pd-footer .sub-footer-nav h6 { color: #fff; font-family: var(--pd-font-head); font-weight: 700; text-transform: none; letter-spacing: 0; margin-bottom: 10px; }
.pd-footer .sub-footer-nav a { color: #AEB4BB !important; }
.pd-footer .sub-footer-nav a:hover { color: #fff !important; }
.pd-footer .sub-footer-nav ul { padding-left: 0; list-style: none; }
.pd-footer .sub-footer-nav li { margin-bottom: 6px; }
.pd-theme footer.pd-footer-bottom { background: #16191D; color: #8E959D; padding: 18px 0; border: 0; font-size: .88rem; }
.pd-footer-bottom__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.pd-footer-bottom a { color: #C9CDD2 !important; }
.pd-apps { display: flex; gap: 10px; }
.pd-apps img { height: 40px; width: auto; }

/* ---------- Tarjetas y contenedores generales (listado, carta, cuenta) ---------- */
.pd-theme .card { border-radius: var(--pd-radius); border-color: var(--pd-grey-200); }
.pd-theme .el-dialog { border-radius: var(--pd-radius-lg); overflow: hidden; }
.pd-theme .el-drawer { border-radius: 0; }
.pd-theme .el-tag--danger { --el-tag-bg-color: var(--pd-orange); --el-tag-border-color: var(--pd-orange); --el-tag-text-color: #fff; }
.pd-theme .badge-dark { background: var(--pd-charcoal); }


/* ---------- Página de comercio y carta ---------- */
/* RV-01: estados seleccionados con texto blanco usan el color de acción accesible (5.00:1) */
.pd-theme .btn-group .btn.active { background: var(--pd-action) !important; border-color: var(--pd-action) !important; color: #fff !important; }
.pd-theme .btn-group label { background: var(--pd-grey-100); font-size: 13px; }
.pd-theme .btn-group.btn-group-rounded { background: var(--pd-grey-100); }
.pd-theme .merchant-top-header h1, .pd-theme .merchant-top-header h2, .pd-theme .merchant-top-header h3 { font-weight: 700; }
.pd-theme .section-menu h5, .pd-theme section[data-cat_id] > h5 {
  font-family: var(--pd-font-head); font-weight: 700; font-size: 1.35rem !important; margin-top: 18px;
}
.pd-theme section[data-cat_id] > p { color: var(--pd-grey-500); }
.pd-theme .list-item-rows {
  border: 1px solid var(--pd-grey-200); border-radius: var(--pd-radius); padding: 8px; margin-bottom: 12px; background: #fff;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.pd-theme .list-item-rows:hover { border-color: var(--pd-orange-100); box-shadow: var(--pd-shadow); }
.pd-theme .list-item-rows .el-image, .pd-theme .list-item-rows img, .pd-theme .item-image-preview { border-radius: 12px; overflow: hidden; }
.pd-theme .list-item-rows h6 { font-family: var(--pd-font-head); font-weight: 700; font-size: 1.05rem !important; color: var(--pd-charcoal); }
.pd-theme .list-item-rows p.ellipsis-2-lines { color: var(--pd-grey-700); }
.pd-theme .list-item-rows .btn-group-toggle .btn,
.pd-theme .list-item-rows .input-group-small .btn {
  background: var(--pd-orange-50) !important; color: var(--pd-charcoal) !important; border: 1px solid var(--pd-orange-100);
  border-radius: 999px !important; font-weight: 700; font-size: 14px; padding: 6px 14px; margin: 0 6px 6px 0;
}
.pd-theme .list-item-rows .btn-group-toggle .btn.active { background: var(--pd-orange-50) !important; color: var(--pd-charcoal) !important; border-color: var(--pd-orange); box-shadow: inset 0 0 0 1px var(--pd-orange); }
.pd-theme .list-item-rows .prices { font-family: var(--pd-font-head); font-size: 1.05rem !important; color: var(--pd-charcoal); }
.pd-theme .quantity-add-cart, .pd-theme .list-item-rows .el-button.white-color {
  background: #fff !important; color: var(--pd-orange-600) !important; border: 1.5px solid var(--pd-orange) !important;
  border-radius: 999px !important; font-weight: 700; padding: 9px 20px; white-space: nowrap; font-size: 14px;
}
.pd-theme .quantity-add-cart:hover, .pd-theme .list-item-rows .el-button.white-color:hover { background: var(--pd-action) !important; color: #fff !important; }
.pd-theme .list-item-rows .el-button.white-color.is-disabled { border-color: var(--pd-grey-300) !important; color: var(--pd-grey-500) !important; }
.pd-theme .quantity .qty-btn { background: var(--pd-action) !important; color: #fff !important; }
.pd-theme .menu-category a, .pd-theme #menu-category a { color: var(--pd-grey-700) !important; font-weight: 600; border-radius: 10px; }
.pd-theme #menu-category a.active, .pd-theme .menu-category a.active { color: var(--pd-orange-600) !important; background: var(--pd-orange-50); }
.pd-theme .section-menu .menu-left { border-right: 1px solid var(--pd-grey-200); }


/* ---------- Login, registro y recuperar contraseña ---------- */
.pd-theme .page-content:has(.login-container) { background: linear-gradient(180deg, var(--pd-cream), #fff 70%); }
.pd-theme .login-container {
  max-width: 460px; background: #fff; border: 1px solid var(--pd-grey-200); border-radius: var(--pd-radius-lg);
  box-shadow: var(--pd-shadow); padding: 34px 32px 28px !important; margin-top: 40px !important; margin-bottom: 48px !important;
}
.pd-theme .login-container::before {
  content: ""; display: block; width: 92px; height: 52px; margin: 0 auto 10px;
  background: url("../pd/img/pd-simbolo.svg") center / contain no-repeat;
}
.pd-theme .login-container > h5, .pd-theme .login-container h5.text-center {
  font-family: var(--pd-font-head); font-weight: 800; font-size: 1.6rem !important; margin-bottom: 22px !important;
}
.pd-theme .login-container .form-control { background: var(--pd-grey-100); border-color: transparent; }
.pd-theme .login-container { width: 100% !important; }
.pd-theme .login-container .form-label-group > label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pd-theme .login-container .form-control:focus { background: #fff; border-color: var(--pd-orange); }
.pd-theme .login-container .btn-green, .pd-theme .login-container .btn-primary { min-height: 50px; font-size: 1rem; }
.pd-theme .login-container .btn-green:disabled, .pd-theme .login-container .btn-green.disabled { opacity: .55; }

/* ---------- Estados vacíos y listados ---------- */
.pd-empty { text-align: center; padding: 28px 12px; }
.pd-empty__icon { width: 72px; height: 72px; border-radius: 22px; display: inline-grid; place-items: center; background: var(--pd-orange-50); color: var(--pd-orange); margin-bottom: 12px; }
.pd-empty__icon .pd-ico { width: 34px; height: 34px; }
.pd-theme .no-results-section img, .pd-theme .pagenotfound-section img { max-width: 260px; opacity: .9; }


/* ---------- Listado de comercios (feed / categorías) ---------- */
.pd-theme .rounded-box.pd-store-card, .pd-theme .rounded-box {
  background: #fff; border: 1px solid var(--pd-grey-200); border-radius: var(--pd-radius) !important; overflow: hidden;
  box-shadow: var(--pd-shadow-sm); color: var(--pd-ink) !important; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease; height: 100%;
}
.pd-theme .rounded-box:hover { transform: translateY(-3px); box-shadow: var(--pd-shadow); }
.pd-theme .rounded-box .el-image { width: 100%; aspect-ratio: 16 / 10; display: block; background: var(--pd-grey-100); }
.pd-theme .rounded-box .el-image img { object-fit: cover; }
.pd-theme .rounded-box .p-2 { padding: 12px 14px 14px !important; }
.pd-theme .rounded-box h5 { font-family: var(--pd-font-head); font-weight: 700; font-size: 1.05rem; color: var(--pd-charcoal); margin-bottom: 2px; }
.pd-theme .rounded-box .font-weight-light { color: var(--pd-grey-500) !important; font-size: .88rem; }
.pd-theme .rounded-box .d-flex.justify-content-between { font-size: .85rem; color: var(--pd-grey-700); font-weight: 500; gap: 6px; }
.pd-theme .rounded-box .pd-ico { color: var(--pd-grey-500); width: 1.1em; height: 1.1em; }
.pd-theme .rounded-box .pd-ico--star { color: var(--pd-yellow); fill: var(--pd-yellow); }
.pd-theme .with-promo { background: var(--pd-action); color: #fff; border-radius: 999px; font-weight: 700; }
.pd-theme .section-results h4, .pd-theme .column-1 h4 { font-family: var(--pd-font-head); font-weight: 700; }
.pd-theme .column-1 a[data-toggle="collapse"], .pd-theme .filter-title, .pd-theme .column-1 .text-green { color: var(--pd-charcoal) !important; font-weight: 700; }

/* Banda de delivery (reemplaza la ilustración del repartidor de la plantilla) */
.pd-band {
  display: flex; align-items: center; gap: 22px; margin: 32px auto; max-width: 1140px;
  background: var(--pd-charcoal); color: #fff; border-radius: var(--pd-radius-lg); padding: 26px 30px; position: relative; overflow: hidden;
}
.pd-band::after { content: ""; position: absolute; right: -90px; bottom: -140px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(247,93,52,.28), rgba(247,93,52,0) 70%); }
.pd-band__icon { width: 72px; height: 72px; flex: none; border-radius: 22px; background: var(--pd-orange); display: grid; place-items: center; }
.pd-band__icon .pd-ico { width: 40px; height: 40px; color: #fff; }
.pd-band__eyebrow { display: block; color: #FFB79F; font-weight: 600; font-size: .9rem; }
.pd-band__place { display: block; font-family: var(--pd-font-head); font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.pd-theme .pd-band p { margin: 4px 0 0; color: #C9CDD2; }

/* Llamado a comercios (reemplaza la foto de stock) */
.pd-theme .section-join-us.pd-cta { background: linear-gradient(120deg, var(--pd-orange) 0%, #FF7A50 55%, var(--pd-orange-700) 100%) !important; min-height: 0 !important; height: auto !important; padding: 44px 0; }
.pd-cta__inner { display: flex; align-items: center; gap: 24px; }
.pd-cta__icon { width: 84px; height: 84px; flex: none; border-radius: 26px; background: rgba(255,255,255,.16); display: grid; place-items: center; color: #fff; }
.pd-cta__icon .pd-ico { width: 44px; height: 44px; }
.pd-cta__text { flex: 1; color: #fff; }
.pd-cta__eyebrow { font-weight: 600; opacity: .9; }
.pd-theme .pd-cta h2 { color: #fff; font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.1rem); margin: 2px 0 4px; }
.pd-theme .pd-cta p { color: rgba(255,255,255,.88); margin: 0; }
.pd-theme .pd-cta__btn { background: #fff !important; color: var(--pd-orange-700) !important; padding: 13px 26px; font-size: 1rem; white-space: nowrap; }
.pd-theme .pd-cta__btn:hover { background: var(--pd-charcoal) !important; color: #fff !important; }


/* ---------- Cuenta del cliente ---------- */
.pd-theme #sidebar { border-color: var(--pd-grey-200) !important; }
.pd-theme .siderbar-menu li a { color: var(--pd-ink) !important; font-weight: 600; border-radius: 12px; }
.pd-theme .siderbar-menu li a:hover { color: var(--pd-orange-600) !important; background: var(--pd-orange-50); }
.pd-theme .siderbar-menu li.active a { color: var(--pd-orange-700) !important; background: var(--pd-orange-50); }

/* ---------- Métodos de pago "Próximamente" ---------- */
.pd-soon { margin: 6px 0 14px; display: grid; gap: 8px; }
.pd-soon__item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px dashed var(--pd-grey-300); border-radius: 12px; background: var(--pd-grey-100); color: var(--pd-grey-500); cursor: not-allowed; }
.pd-soon__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--pd-grey-500); flex: none; }
.pd-soon__name { flex: 1; font-weight: 600; }
.pd-soon__badge { background: var(--pd-orange-50); color: var(--pd-orange-700); border: 1px solid var(--pd-orange-100); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }

/* Perfil: submenú (Datos básicos, Cambiar contraseña…) con el mismo estilo suave del menú lateral */
.pd-theme .attributes-menu-wrap ul { list-style: none; padding: 0; margin: 0; }
.pd-theme .attributes-menu-wrap ul li a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; color: var(--pd-ink) !important; font-weight: 600; background: transparent !important; }
.pd-theme .attributes-menu-wrap ul li a:hover { background: var(--pd-grey-100) !important; }
.pd-theme .attributes-menu-wrap ul li.active a { background: var(--pd-orange-50) !important; color: var(--pd-orange-700) !important; box-shadow: inset 3px 0 0 var(--pd-orange); }
.pd-theme .attributes-menu-wrap ul li a i { font-size: 20px; color: inherit; width: 22px; text-align: center; }

/* ---------- Modal de producto (PD-18) ---------- */
.pd-theme .pd-modal-footer { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pd-theme .pd-modal-footer > .w-25 { width: auto !important; flex: 0 0 auto; }
.pd-theme .pd-modal-footer > .w-75 { width: auto !important; flex: 1 1 200px; min-width: 0; }
.pd-theme .pd-modal-footer .quantity { gap: 6px; min-width: 128px; }
.pd-theme .pd-modal-footer .qty-btn, .pd-theme .quantity .qty-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; }
.pd-theme .pd-modal-footer .add_to_cart { min-height: 48px; white-space: normal; }
@media (max-width: 575.98px) {
  .pd-theme .modal .item-image-preview img, .pd-theme .modal .el-image, .pd-theme .el-dialog .el-image { max-height: 170px; object-fit: cover; }
  .pd-theme .pd-modal-footer > .w-75 { flex-basis: 100%; }
  .pd-theme .pd-modal-footer > .w-25 { margin: 0 auto; }
}

/* ---------- Formularios, avisos y accesibilidad (PD-09, PD-19, PD-20) ---------- */
.pd-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.pd-field-label { display: block; font-weight: 600; font-size: .9rem; color: var(--pd-charcoal); margin: 0 0 6px 4px; }
.pd-hero .pd-field-label { margin-left: 18px; }
.pd-field-help { margin: 8px 0 0 18px; color: var(--pd-grey-700); font-size: .85rem !important; max-width: 36em; }
.pd-theme .pd-submit { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px !important; white-space: nowrap; font-weight: 700; }
.pd-theme .pd-submit .pd-ico { width: 20px; height: 20px; }
.pd-theme .pd-locate { width: 44px; height: 44px; display: inline-grid; place-items: center; color: var(--pd-charcoal) !important; }
.pd-theme .pd-locate .pd-ico { width: 22px; height: 22px; }
.pd-notice { display: flex; gap: 10px; align-items: flex-start; background: var(--pd-orange-50); border: 1px solid var(--pd-orange-100); color: var(--pd-ink); border-radius: 12px; padding: 10px 14px; margin: 0 0 14px; font-size: .92rem; }
.pd-notice .pd-ico { color: var(--pd-orange-700); flex: none; margin-top: 2px; }
.pd-phone-field { margin-bottom: 16px; }
.pd-form-note { font-size: .85rem !important; color: var(--pd-grey-700); margin-top: 10px; }
.pd-cart-note { font-size: .8rem !important; color: var(--pd-grey-500); text-align: center; margin: 6px 0 0; }
.pd-btn-label { font-weight: 500; opacity: .85; margin-right: 4px; }
.pd-page-title { font-family: var(--pd-font-head); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem) !important; }
.pd-otras { margin-top: 22px; }
.pd-otras__title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.pd-otras .pd-chip { margin: 0 6px 8px 0; }
.pd-chip__ico .pd-ico { color: var(--pd-orange); }
.pd-empty--left { text-align: left; padding-left: 0; }
.pd-help__canales { display: grid; gap: 8px; margin-bottom: 14px; }
.pd-help__canal { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--pd-orange-100); border-radius: 12px; padding: 10px 12px; color: var(--pd-ink) !important; text-decoration: none !important; }
.pd-help__canal .pd-ico { width: 26px; height: 26px; color: var(--pd-green); }
.pd-help__canal strong { display: block; font-family: var(--pd-font-head); color: var(--pd-charcoal); }
.pd-help__canal small { color: var(--pd-grey-700); }
.pd-help__horario { display: flex; gap: 8px; align-items: center; color: var(--pd-grey-700); font-size: .88rem !important; margin: 4px 2px 0; }
.pd-help__sub { font-size: 1rem; font-weight: 700; margin: 6px 0 4px; }
.pd-register-mini { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.pd-register-mini li { display: flex; gap: 8px; align-items: center; font-size: .92rem; color: var(--pd-grey-700); }
.pd-app__web { color: var(--pd-grey-700); font-size: .9rem !important; margin-top: 10px; }
.pd-offers__head { margin-bottom: 18px; }
.pd-offer { display: flex; flex-direction: column; gap: 6px; height: 100%; background: #fff; border: 1px solid var(--pd-grey-200); border-radius: var(--pd-radius); padding: 18px; color: var(--pd-ink) !important; text-decoration: none !important; box-shadow: var(--pd-shadow-sm); }
.pd-offer:hover { box-shadow: var(--pd-shadow); }
.pd-offer__tag { align-self: flex-start; background: var(--pd-orange-50); color: var(--pd-orange-700); font-weight: 700; font-size: .75rem; padding: 3px 10px; border-radius: 999px; }
.pd-offer__title { font-family: var(--pd-font-head); font-size: 1.2rem; color: var(--pd-charcoal); }
.pd-offer__shop { display: flex; gap: 6px; align-items: center; font-weight: 600; }
.pd-offer__meta { color: var(--pd-grey-700); font-size: .85rem; }
.pd-drawer-summary { font-size: .92rem; }
/* Barra del carrito en la carta (PD-01): reservar espacio para que no tape platos y respetar el área segura */
@media (max-width: 991.98px) {
  .pd-theme .section-menu { padding-bottom: 96px; }
  .pd-theme .floating-cart.pd-cartbar { padding-bottom: env(safe-area-inset-bottom, 0); }
  .pd-theme .floating-cart.pd-cartbar .btn { min-height: 56px; background: var(--pd-charcoal) !important; }
}

/* ---------- RV-01: grises de la plantilla y textos sobre fondos oscuros ---------- */
.pd-theme .text-grey, .pd-theme .text-muted, .pd-theme .merchant-top-header ul li, .pd-theme .merchant-top-header .text-grey,
.pd-theme .merchant-top-header a.text-grey, .pd-theme .breadcrumb-item + .breadcrumb-item::before, .pd-theme .breadcrumb-item.active { color: var(--pd-grey-700) !important; }
.pd-theme .modal .text-grey, .pd-theme .modal .text-muted, .pd-theme .el-dialog .text-grey, .pd-theme .addon-section .text-grey, .pd-theme .modal p.text-grey { color: var(--pd-grey-700) !important; }
.pd-theme [style*="color: rgb(158, 158, 158)"], .pd-theme .grey-color { color: var(--pd-grey-700) !important; }
.pd-theme .el-breadcrumb__separator, .pd-theme .el-breadcrumb__inner { color: var(--pd-grey-700) !important; }
/* Barra "Ver pedido": fondo carbón, todo el texto en blanco (el título heredaba el carbón del tema → 1:1) */
.pd-theme .floating-cart .btn, .pd-theme .floating-cart .btn h5, .pd-theme .floating-cart .btn p, .pd-theme .floating-cart .btn count { color: #fff !important; }

/* ---------- Checkout ---------- */
.pd-theme .el-link.el-link--primary, .pd-theme .btn-link, .pd-theme a.text-primary, .pd-theme .text-primary { color: var(--pd-orange-600) !important; }
.pd-theme .el-link.el-link--primary:hover, .pd-theme .btn-link:hover { color: var(--pd-orange-700) !important; }
.pd-theme .custom-range::-webkit-slider-thumb { background: var(--pd-orange); }
.pd-theme .custom-range::-moz-range-thumb { background: var(--pd-orange); }
.pd-theme .badge.badge-dark.rounded-pill { background: var(--pd-action); min-width: 26px; height: 26px; line-height: 20px; font-size: 13px; }
.pd-theme .section-title { font-family: var(--pd-font-head); font-weight: 700; font-size: 1.15rem !important; }
.pd-theme .checkout-section, .pd-theme .page-grey .card, .pd-theme .page-content .bg-white.rounded { border-radius: var(--pd-radius-lg); }
.pd-theme .chevron-section, .pd-theme .address-section { border-radius: 12px; }
.pd-theme .back-arrow { font-weight: 600; }


/* ---------- Páginas estáticas y contacto ---------- */
.pd-article { padding-bottom: 12px; }
.pd-theme .pd-article__body .pd-legal-meta { color: var(--pd-grey-500); font-size: 14px !important; margin-top: -8px; }
.pd-theme .pd-article__body .pd-legal-lead { font-size: 1.15rem !important; color: var(--pd-ink); line-height: 1.6; }
.pd-legal-resumen { background: var(--pd-cream); border: 1px solid var(--pd-orange-100); border-left: 4px solid var(--pd-orange); border-radius: 14px; padding: 16px 20px; margin: 18px 0 26px; }
.pd-theme .pd-legal-resumen p { margin: 0; color: var(--pd-ink) !important; }
.pd-theme .pd-article__body h2 { font-size: 1.25rem; margin-top: 2em; margin-bottom: .6em; color: var(--pd-charcoal); }
.pd-theme .pd-article__body ul, .pd-theme .pd-article__body ol { padding-left: 1.3em; margin-bottom: 1em; }
.pd-theme .pd-article__body li { margin-bottom: .45em; }
.pd-theme .pd-article__body li::marker { color: var(--pd-orange); }
.pd-theme .pd-article__body a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
.pd-theme .pd-article__body .btn { margin: 4px 6px 4px 0; text-decoration: none; }
.pd-pendiente { background: #FFF4D6; color: #8A5A00; border: 1px dashed #E0B44C; border-radius: 6px; padding: 0 6px; font-size: .92em; white-space: nowrap; }
.pd-article__title { font-family: var(--pd-font-head); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 18px; }
.pd-theme .pd-article__body p, .pd-theme .pd-article__body li { font-size: 16px !important; line-height: 1.7; color: var(--pd-grey-700); }
.pd-theme .pd-article__body h2, .pd-theme .pd-article__body h3 { margin-top: 1.6em; font-weight: 700; }
.pd-help { background: var(--pd-cream); border: 1px solid var(--pd-orange-100); border-radius: var(--pd-radius-lg); padding: 22px; }
.pd-help__title { font-family: var(--pd-font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 12px; }
.pd-help__item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; color: var(--pd-ink) !important; text-decoration: none !important; }
.pd-help__item:hover { background: #fff; box-shadow: var(--pd-shadow-sm); }
.pd-help__item strong { display: block; font-family: var(--pd-font-head); color: var(--pd-charcoal); }
.pd-help__item small { color: var(--pd-grey-500); font-size: .85rem; }
.pd-help__icon { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--pd-orange); color: #fff; display: grid; place-items: center; }
@media (max-width: 767.98px) { .pd-help { margin-top: 24px; } }


/* ---------- Registro de comercio ---------- */
.pd-theme .register-bg.pd-register-art {
  background:
    radial-gradient(circle at 1px 1px, rgba(247,93,52,.16) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(160deg, #FFF9F5 0%, #FFF1EA 100%) !important;
  border: 1px solid var(--pd-orange-100); border-radius: 28px; align-items: center; justify-content: center;
  margin: 8px 0 24px; position: relative; overflow: hidden; min-height: 560px;
}
.pd-register-art::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -140px; top: -160px; background: radial-gradient(circle, rgba(247,93,52,.18), rgba(247,93,52,0) 70%); }
.pd-register-art__inner { position: relative; z-index: 1; color: var(--pd-ink); max-width: 430px; padding: 36px 28px; text-align: center; }
.pd-register-art__visual { position: relative; width: 300px; margin: 0 auto 26px; }
.pd-register-art__visual .pd-phone { width: 196px; transform: rotate(-4deg); box-shadow: 0 24px 50px rgba(31,35,40,.22); }
.pd-register-chip { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 9px 12px; box-shadow: var(--pd-shadow-lg); text-align: left; font-size: .8rem; line-height: 1.2; animation: pd-float 6s ease-in-out infinite; }
.pd-register-chip strong { display: block; font-family: var(--pd-font-head); color: var(--pd-charcoal); font-size: .9rem; }
.pd-register-chip small { color: var(--pd-grey-500); }
.pd-register-chip--a { left: -26px; top: 70px; }
.pd-register-chip--b { right: -30px; bottom: 50px; animation-delay: -3s; }
.pd-register-chip__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--pd-orange); color: #fff; flex: none; }
.pd-register-chip__icon--green { background: var(--pd-green); }
.pd-theme .pd-register-art__inner h2 { color: var(--pd-charcoal); font-weight: 800; font-size: 1.75rem; line-height: 1.15; margin-bottom: 16px; }
.pd-register-art__list { list-style: none; padding: 0; margin: 0 auto; display: inline-grid; gap: 10px; text-align: left; }
.pd-register-art__list li { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--pd-grey-700); }
.pd-check { width: 24px; height: 24px; border-radius: 50%; background: var(--pd-green-50); color: var(--pd-green); display: grid; place-items: center; flex: none; }
.pd-check .pd-ico { width: 15px; height: 15px; stroke-width: 2.6; }
.pd-theme .partner-section { background: var(--pd-cream) !important; padding: 40px 0; }
.pd-theme .partner-section .section { background: #fff; border: 1px solid var(--pd-orange-100); border-radius: var(--pd-radius-lg) !important; padding: 24px; height: 100%; width: 100%; }
.pd-benefit__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--pd-orange); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.pd-benefit__icon .pd-ico { width: 30px; height: 30px; }
.pd-theme .partner-section h4 { font-family: var(--pd-font-head); font-weight: 800; font-size: 1.7rem; }

/* ---------- Celular ---------- */
@media (max-width: 991.98px) {
  .pd-hero { padding: 26px 0 30px; }
  .pd-hero__inner { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .pd-hero__art { order: -1; max-width: 340px; }
  .pd-hero__frame { aspect-ratio: 16 / 11; border-radius: 28px; }
  .pd-float--b { display: none; }
  .pd-float--a { left: auto; right: -6px; bottom: -12px; }
  .pd-hero__title { margin-top: 12px; }
  .pd-steps__list { grid-template-columns: 1fr; gap: 10px; }
  .pd-steps__list li { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 16px; }
  .pd-steps__icon { grid-row: span 2; margin: 0; }
  .pd-steps__list li::after { font-size: 2rem; top: 12px; right: 16px; }
  .pd-band { margin: 20px 15px; padding: 20px; gap: 16px; }
  .pd-band__icon { width: 56px; height: 56px; border-radius: 18px; }
  .pd-band__place { font-size: 1.2rem; }
  .pd-cta__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 575.98px) {
  .pd-theme .login-container { margin: 16px 0 28px !important; padding: 26px 18px 22px !important; border-radius: 20px; }
  /* RV-05: logo más legible en celular sin deformarlo; se achica proporcionalmente si no cabe (320 px) */
  .pd-brand, .pd-brand a { min-width: 0; max-width: 100%; }
  .pd-theme #top-navigation { flex-wrap: nowrap; }
  .pd-theme #top-navigation > div:first-child { flex: 1 1 0; min-width: 0; }
  .pd-theme #top-navigation > div:last-child { flex: 0 0 auto; width: auto; max-width: none; }
  .pd-brand img { height: auto; width: 172px; max-width: 100%; max-height: 40px; }
  .pd-theme #top-navigation { min-height: 58px; padding: 8px 4px; }
  .pd-hero { padding-top: 14px; }
  .pd-hero__art { display: none; }
  .pd-eyebrow { font-size: .78rem; }
  .pd-hero__title { font-size: 2.05rem; }
  .pd-theme .pd-hero p.pd-hero__lead { font-size: 1rem !important; margin-bottom: 18px; }
  .pd-quick { flex-wrap: nowrap; overflow-x: auto; margin-left: -15px; margin-right: -15px; padding: 2px 15px 4px; scrollbar-width: none; }
  .pd-quick::-webkit-scrollbar { display: none; }
  .pd-chip { flex: none; }
  .pd-trust { gap: 8px 14px; margin-top: 18px; }
  .pd-trust li { font-size: .85rem; }
  .pd-home h3.font-weight-bold, .pd-section-title { font-size: 1.3rem; }
  .pd-cat { width: 82px; }
  .pd-cat__icon { width: 64px; height: 64px; border-radius: 20px; }
  .pd-cat__icon .pd-ico { width: 32px; height: 32px; }
  .pd-cat__name { font-size: .8rem; }
  .pd-theme .sub-footer.pd-footer { padding-top: 40px; }
  .pd-subscribe { flex-direction: column; }
  .pd-footer-bottom__row { flex-direction: column; align-items: flex-start; }
}

/* E2E-08: ayuda bajo el campo Número de la dirección */
.pd-theme .pd-ayuda-campo { font-size: .8rem; color: var(--pd-grey-700); margin: -6px 0 12px; line-height: 1.35; }

/* E2E-02: selector de "Pago contra entrega" (Yape / Efectivo) con nombre e indicación */
.pd-paydelivery { display: grid; gap: 10px; }
.pd-paydelivery__op { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 14px; border: 1.5px solid var(--pd-grey-200, #E3E5E8); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, background-color .15s; }
.pd-paydelivery__op:hover { border-color: var(--pd-grey-300); }
.pd-paydelivery__op.is-active { border-color: var(--pd-action); background: var(--pd-orange-50); }
.pd-paydelivery__op:focus-within { outline: 3px solid rgba(204, 59, 20, .35); outline-offset: 2px; }
.pd-paydelivery__radio { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--pd-action); margin: 0; }
.pd-paydelivery__icono { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; background: var(--pd-orange-50); display: flex; align-items: center; justify-content: center; }
.pd-paydelivery__icono .pd-ico { width: 22px; height: 22px; color: var(--pd-orange, #F75D34); }
.pd-paydelivery__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pd-paydelivery__txt strong { font-size: 1rem; color: var(--pd-charcoal, #23272B); }
.pd-paydelivery__txt small { font-size: .82rem; color: var(--pd-grey-700); line-height: 1.35; }

/* El logo nunca se recorta (un object-fit: cover heredado cortaba "Delivery" en el pie) */
.pd-theme .pd-brand img { object-fit: contain !important; }
.pd-theme .pd-footer .footer-logo img { height: auto; max-height: 46px; width: 220px; max-width: 100%; }

/* E2E-06: los estados ya vienen en español con mayúscula inicial ("Pendiente de confirmación") */
.pd-theme .badge, .pd-theme #vue-my-order span.badge { text-transform: none; }
.pd-theme .badge::first-letter, .pd-theme #vue-my-order span.badge::first-letter { text-transform: uppercase; }
