/* ================================================
   OFPIC PAGES — Cart, Checkout, Login, General
   ================================================ */

/* --- Sign-up / generic page section --- */
.sign-up-section {
  padding: 2.5rem 0 3rem;
  background: var(--color-bg, #fafaf9);
}

/* ================================================
   CART (carro)
   ================================================ */

/* Discount banner */
.cart-discount-banner {
  border: none;
  border-radius: var(--radius-xl);
  color: #fff;
  padding: 22px 24px;
  margin-bottom: 1.25rem;
}

.cart-discount-banner--active {
  background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-400, #C9AD6F) 100%);
}

.cart-discount-banner--suggest {
  background: linear-gradient(135deg, #F5F2EB 0%, #FFF9ED 100%);
  color: #1a1a1a;
  border: 1px solid rgba(184, 154, 91, 0.15);
}

.cart-discount-banner--suggest hr {
  border-color: rgba(0, 0, 0, 0.1);
}

.cart-discount-banner h4 {
  margin: 0;
  font-weight: 700;
  font-size: var(--text-lg);
}

.cart-discount-banner p {
  margin: 10px 0 0;
  font-size: var(--text-base);
}

.cart-discount-banner hr {
  border-color: rgba(255, 255, 255, 0.3);
  margin: 15px 0;
}

.cart-discount-big {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

/* Progress bar */
.cart-progress {
  height: 25px;
  border-radius: var(--radius-pill);
  background: #e9ecef;
  overflow: hidden;
}

.cart-progress-bar {
  background: linear-gradient(90deg, var(--brand-600), var(--brand-400, #C9AD6F));
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  transition: width 0.6s var(--ease-out);
}

/* Cart header row */
.headcarrito {
  background: var(--color-surface-soft, #FAFAFA);
  border-radius: var(--radius-md);
  padding: 0.75rem 0;
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted, #6B6B6B);
}

/* Cart item row */
.rowcarro {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-top: 0.75rem;
  padding: 0.75rem 0;
  background: #fff;
  transition: box-shadow var(--duration-fast);
}

.rowcarro:hover {
  box-shadow: var(--shadow-sm);
}

.rowcarro.productocarrito--pod {
  border-left: 3px solid #B89A5B;
}

/* POD badge */
.badge-pod {
  display: inline-block;
  background: #B89A5B;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 5px;
}

/* Cart image */
.imgcarrito .image-sec {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.imgcarrito .image-sec img {
  border-radius: var(--radius-md);
}

/* Quantity input */
.cantidadcarro {
  width: 60px;
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.35rem;
  font-weight: 700;
}

/* Summary block */
.rowresumen {
  background: var(--color-surface-soft, #FAFAFA);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
}

.col1resumen p,
.col2resumen p {
  margin: 0.55rem 0;
  font-size: var(--text-sm);
}

.cart-total-label {
  font-size: var(--text-lg) !important;
  font-weight: 700 !important;
}

.cart-discount-tag {
  color: var(--brand-500);
  font-weight: 700;
}

.cart-saving {
  color: var(--brand-500);
  font-size: var(--text-xs);
}

/* Buy button */
.btncomprar,
.botoncarrito .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 50px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  font-weight: 700;
  font-size: var(--text-base);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 20px rgba(184, 154, 91, 0.28);
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}

.btncomprar:hover,
.botoncarrito .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(184, 154, 91, 0.34);
  color: #fff;
}

/* Empty cart */
.cart-empty {
  text-align: center;
  padding: 4rem 1rem;
}

.cart-empty .lnr {
  font-size: 3rem;
  color: var(--brand-400);
  display: block;
  margin-bottom: 1rem;
}

.cart-empty h1 {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
}

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

.checkout-notice {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-notice i {
  font-size: 20px;
  color: #856404;
  flex-shrink: 0;
}

.checkout-notice strong {
  color: #856404;
}

.checkout-notice span {
  color: #856404;
  font-size: 13px;
}

/* Section heading inside checkout */
.headcarrito h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
}

/* Form card wrapper */
.checkout-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

/* Payment methods */
.payment-method-card {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast), transform var(--duration-fast);
}

.payment-method-card:hover,
.payment-method-card.envioactivo {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(184, 154, 91, 0.12);
  transform: translateY(-2px);
}

.payment-method-card img {
  max-width: 140px;
  height: auto;
}

/* Info paragraph */
.pinfo {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  border-left: 3px solid var(--brand-400);
  padding-left: 1rem;
  margin: 1rem 0;
}

.pinfo i {
  color: var(--brand-500);
  margin-right: 0.35rem;
}

/* Nav buttons row */
.checkout-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0 1rem;
  flex-wrap: wrap;
}

/* ================================================
   LOGIN / ACCESO
   ================================================ */

.login-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  max-width: 480px;
  margin: 0 auto 2rem;
}

.login-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.login-card .form-control {
  margin-bottom: 0.75rem;
}

.login-card .btn-primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  border: none;
  border-radius: var(--radius-pill);
  min-height: 44px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(184, 154, 91, 0.25);
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}

.login-card .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(184, 154, 91, 0.32);
}

.login-forgot-link {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.login-forgot-link:hover {
  color: var(--brand-500);
}

/* ================================================
   WIZARD (registro) — override embedded styles
   ================================================ */

.wizard-container {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.wizard-content {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  padding: 30px;
}

.wizard-step.active .step-number {
  background: var(--brand-500);
  box-shadow: 0 4px 12px rgba(184, 154, 91, 0.3);
}

.wizard-step.active .step-label {
  color: var(--brand-500);
}

.tipo-card:hover {
  border-color: var(--brand-500);
  box-shadow: 0 5px 15px rgba(184, 154, 91, 0.15);
}

.tipo-card.selected {
  border-color: var(--brand-500);
  background: rgba(184, 154, 91, 0.03);
}

.tipo-card i {
  color: var(--brand-500);
}

/* ================================================
   GENERAL PAGE HELPERS
   ================================================ */

/* Section heading pattern used across pages */
.section-heading {
  text-align: center;
  padding: 2rem 0 1rem;
}

.section-heading h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-text);
}

.section-heading .lnr {
  font-size: 2rem;
  color: var(--brand-400);
  display: block;
  margin-bottom: 0.75rem;
}

/* Page-level active/inactive buttons */
.pagina-activo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(184, 154, 91, 0.25);
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
  text-decoration: none;
}

.pagina-activo:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(184, 154, 91, 0.32);
  color: #fff;
  text-decoration: none;
}

.pagina-inactivo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text-muted);
  font-weight: 600;
  border: 1px solid var(--color-border);
  transition: background var(--duration-fast), color var(--duration-fast);
  text-decoration: none;
}

.pagina-inactivo:hover {
  background: var(--color-surface-soft);
  color: var(--color-text);
  text-decoration: none;
}

/* Alert overrides */
.alert {
  border-radius: var(--radius-md);
  border: none;
}

/* Form improvements */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: 0.35rem;
  display: block;
  color: var(--color-text);
}

.form-control {
  min-height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.form-control:focus {
  border-color: var(--brand-400);
  box-shadow: 0 0 0 3px rgba(184, 154, 91, 0.12);
}

/* Gray-bg boxes */
.gray-bg {
  background: var(--color-surface-soft, #FAFAFA);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--color-border, #E5E5E5);
}

/* ================================================
   SLIDE BANNERS (slides deportivos, sociales, etc.)
   ================================================ */

.event-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
}

.event-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.event-banner .create-event {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 100%);
  padding: 2rem 1.5rem 1.25rem;
  color: #fff;
  text-align: center;
}

.event-banner .create-event p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin: 0 0 .5rem;
}

.event-banner .create-event .lnr {
  font-size: 1.5rem;
  opacity: .8;
}

.event-banner a {
  text-decoration: none;
  color: #fff;
}

/* ================================================
   AD BANNERS BOTTOM
   ================================================ */

.ad-banner {
  padding: 2rem 0;
}

.ad-banner img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ================================================
   PRICING TABLE (eventos + micuenta)
   ================================================ */

.pricing-table-wrap {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

#tablaprecios {
  width: 100%;
  border-collapse: collapse;
}

#tablaprecios th {
  background: var(--color-surface-soft);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-text-muted);
  padding: .85rem 1rem;
  border-bottom: 2px solid var(--color-border);
}

#tablaprecios td {
  padding: .75rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
}

#tablaprecios tr:last-child td {
  border-bottom: none;
}

#tablaprecios tr:hover {
  background: var(--color-surface-soft);
}

#tablaprecios .green {
  color: #16a34a;
  font-weight: 700;
}

#tablaprecios .precioformato {
  width: 90px;
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: .4rem .5rem;
  font-weight: 600;
}

/* ================================================
   CHECKOUT FORM PAGE (enhancements)
   ================================================ */

.checkout-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

#contenedorenvionuevo {
  padding: 0 1rem;
}

#contenedorenvionuevo .form-group select {
  width: 100%;
  min-height: 44px;
  padding: .5rem .75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
}

/* Payment method cards */
#contenedortarjeta,
#contenedorpaypal {
  transition: all var(--duration-fast);
}

#contenedortarjeta img,
#contenedorpaypal img {
  max-width: 150px;
  border-radius: var(--radius-md);
  transition: transform var(--duration-fast);
}

#contenedortarjeta:hover img,
#contenedorpaypal:hover img {
  transform: scale(1.05);
}

.envioactivo,
.envioactivo2 {
  border-radius: var(--radius-lg);
}

/* ================================================
   PAYMENT PASARELA (discount banners within pasarela)
   ================================================ */

.payment-discount-banner {
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.payment-discount-banner--active {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
}

.payment-discount-banner--suggest {
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
}

.payment-discount-banner__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0 0 .5rem;
}

.payment-discount-banner__text {
  margin: 0;
  font-size: var(--text-base);
}

.payment-discount-banner__big {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.payment-discount-banner__hr {
  border-color: rgba(255,255,255,.3);
  margin: 12px 0;
}

.payment-discount-banner__next {
  font-size: var(--text-sm);
  opacity: .9;
  margin: 0;
}

.payment-discount-banner__cta {
  border-radius: var(--radius-pill);
  padding: .5rem 1.25rem;
  font-weight: 600;
}

.payment-progress {
  height: 22px;
  border-radius: var(--radius-pill);
  background: #e9ecef;
  overflow: hidden;
}

.payment-progress__bar {
  background: linear-gradient(90deg, var(--brand-600), var(--brand-400, #C9AD6F));
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  transition: width .6s var(--ease-out);
}

/* Price summary in pasarela */
.text-total {
  font-size: var(--text-lg) !important;
  font-weight: 700 !important;
  color: var(--color-text);
}

.text-discount {
  color: var(--brand-500);
  font-weight: 600;
}

.text-sm {
  font-size: var(--text-xs);
}

.preciosfool {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.preciosfool h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--color-text);
}

/* ================================================
   GPS SEARCH PAGE (busqueda)
   ================================================ */

.gps-search-page {
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a1a 50%, #0f1923 100%);
  color: #e2e8f0;
  min-height: 100vh;
  padding: 2rem 0 3rem;
}

.gps-search-page .container {
  max-width: 1100px;
}

.gps-hero {
  text-align: center;
  padding: 2rem 0 1.5rem;
}

.gps-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gps-hero p {
  color: #94a3b8;
  font-size: var(--text-base);
  max-width: 500px;
  margin: .5rem auto 0;
}

.gps-card {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.gps-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
}

.gps-card h3 i {
  color: var(--brand-500);
  margin-right: .5rem;
}

.gps-map {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255,255,255,.1);
  overflow: hidden;
}

.gps-field {
  margin-bottom: 1rem;
}

.gps-field label {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  color: #94a3b8;
  margin-bottom: .3rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.gps-field input,
.gps-field select {
  width: 100%;
  min-height: 44px;
  padding: .5rem .85rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: var(--text-base);
}

.gps-field input:focus,
.gps-field select:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(184, 154, 91, .2);
  outline: none;
}

.gps-field input::placeholder {
  color: #64748b;
}

.gps-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--text-base);
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.gps-btn--primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: 0 6px 20px rgba(184, 154, 91, .3);
}

.gps-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(184, 154, 91, .4);
}

.gps-btn--secondary {
  background: rgba(255,255,255,.1);
  color: #e2e8f0;
  border: 1px solid rgba(255,255,255,.2);
}

.gps-btn--secondary:hover {
  background: rgba(255,255,255,.15);
}

.gps-dropzone {
  border: 2px dashed rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.gps-dropzone:hover,
.gps-dropzone.gps-dropzone--hover {
  border-color: var(--brand-500);
  background: rgba(184, 154, 91, .05);
}

.gps-dropzone i {
  font-size: 2rem;
  color: var(--brand-500);
  display: block;
  margin-bottom: .75rem;
}

.gps-info-panel {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.gps-info-panel h4 {
  font-family: var(--font-display);
  color: #fff;
  font-size: var(--text-base);
  margin: 0 0 .75rem;
}

.gps-info-panel li {
  padding: .35rem 0;
  font-size: var(--text-sm);
  color: #94a3b8;
}

.gps-legend {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding: .75rem;
  background: rgba(255,255,255,.05);
  border-radius: var(--radius-md);
  margin-top: 1rem;
}

.gps-legend span {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: var(--text-xs);
  color: #94a3b8;
}

/* GPS Results gallery */
.gps-results-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.gps-result-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-fast);
}

.gps-result-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(184, 154, 91, .2);
  border-color: var(--brand-500);
}

.gps-result-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gps-result-card .foto-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration-fast);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
}

.gps-result-card:hover .foto-overlay {
  opacity: 1;
}

.gps-no-results {
  text-align: center;
  padding: 3rem 1rem;
}

.gps-no-results i {
  font-size: 3rem;
  color: var(--brand-500);
  display: block;
  margin-bottom: 1rem;
}

.gps-no-results h3 {
  color: #fff;
  font-family: var(--font-display);
}

/* ================================================
   POD PAGES (imprimir)
   ================================================ */

/* -- POD Catalog -- */
.pod-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #16213e 50%, #0f3460 100%);
  padding: 2rem 0;
  color: #fff;
  margin-bottom: 2rem;
}

.pod-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
}

.pod-hero p {
  color: rgba(255,255,255,.6);
  margin: .25rem 0 0;
}

.pod-photo-preview {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
  max-width: 250px;
}

.pod-photo-preview img {
  width: 100%;
  display: block;
}

.pod-category-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin: 2rem 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--color-border);
}

.pod-product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration-fast);
  height: 100%;
}

.pod-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-500);
}

.pod-product-card .card-img-top {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.pod-product-card .card-body {
  padding: 1.25rem;
}

.pod-product-card .card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: .5rem;
}

.pod-product-card .card-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pod-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.pod-badge--print  { background: #dbeafe; color: #1d4ed8; }
.pod-badge--frame  { background: #fef3c7; color: #92400e; }
.pod-badge--canvas { background: #d1fae5; color: #065f46; }
.pod-badge--acrylic { background: #ede9fe; color: #5b21b6; }
.pod-badge--metal  { background: #e5e7eb; color: #374151; }
.pod-badge--fineart { background: #fce7f3; color: #9d174d; }

.pod-price {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--brand-500);
}

.pod-price small {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 400;
}

.pod-btn-cart {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast);
  box-shadow: 0 4px 12px rgba(184, 154, 91, .2);
}

.pod-btn-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(184, 154, 91, .3);
}

.pod-btn-cart:disabled {
  opacity: .6;
  transform: none;
}

.pod-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.pod-info-item {
  text-align: center;
  padding: 1rem;
}

.pod-info-item i {
  font-size: 1.5rem;
  color: var(--brand-500);
  display: block;
  margin-bottom: .5rem;
}

.pod-info-item strong {
  display: block;
  margin-bottom: .25rem;
}

.pod-info-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

/* -- POD Order Form -- */
.pod-order-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.pod-order-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  padding: 2rem;
}

.pod-order-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0 0 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--brand-500);
}

.pod-summary-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}

.pod-summary-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
}

.pod-summary-photo img {
  width: 100%;
  display: block;
}

.pod-summary-line {
  display: flex;
  justify-content: space-between;
  padding: .5rem 0;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-border);
}

.pod-summary-line:last-child {
  border-bottom: none;
}

.pod-summary-total {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--brand-500);
  text-align: center;
  padding: 1rem 0;
  border-top: 2px solid var(--color-border);
  margin-top: .5rem;
}

/* -- POD Payment Pasarela -- */
.pod-pay-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #16213e 50%, #0f3460 100%);
  padding: 2rem 0 1.5rem;
  color: #fff;
  margin-bottom: 2rem;
}

.pod-pay-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
}

.pod-pay-hero p {
  color: rgba(255,255,255,.6);
  margin: .25rem 0 0;
}

.pod-pay-container {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.pod-pay-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.pod-pay-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0 0 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--brand-500);
}

.pod-pay-detail {
  margin-bottom: .5rem;
  display: flex;
  justify-content: space-between;
}

.pod-pay-detail .label-pod {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.pod-pay-detail .value-pod {
  font-weight: 600;
  color: var(--color-text);
  font-size: var(--text-sm);
}

.pod-pay-total {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--brand-500);
  text-align: center;
  margin: 1.25rem 0;
  font-family: var(--font-display);
}

.pod-pay-total small {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 400;
  display: block;
}

.btn-paypal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  background: #ffc439;
  border: none;
  border-radius: var(--radius-pill);
  padding: 1rem;
  font-size: var(--text-lg);
  font-weight: 700;
  color: #111;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.btn-paypal:hover {
  background: #f0b82e;
  transform: translateY(-1px);
}

.btn-paypal img {
  height: 22px;
}

.pod-pay-secure {
  text-align: center;
  margin-top: 1rem;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.pod-pay-secure i {
  color: #16a34a;
  margin-right: .25rem;
}

.pod-pay-info {
  background: var(--color-surface-soft);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1.25rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pod-pay-info i {
  color: #0ea5e9;
  margin-right: .25rem;
}

/* -- POD Confirmation -- */
.pod-confirm-hero {
  padding: 2.5rem 0;
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
}

.pod-confirm-hero--success {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.pod-confirm-hero--pending {
  background: linear-gradient(135deg, #ea580c, #f59e0b);
}

.pod-confirm-hero--error {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

.pod-confirm-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
}

.pod-confirm-container {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.pod-confirm-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.pod-confirm-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--color-border);
}

.pod-status-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.pod-status--awaiting  { background: #fef3c7; color: #92400e; }
.pod-status--paid      { background: #dbeafe; color: #1d4ed8; }
.pod-status--progress  { background: #d1fae5; color: #065f46; }
.pod-status--complete  { background: #d1fae5; color: #065f46; }
.pod-status--cancelled { background: #fee2e2; color: #991b1b; }
.pod-status--error     { background: #fee2e2; color: #991b1b; }

/* -- POD Cancel -- */
.pod-cancel-hero {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  padding: 3rem 0;
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
}

.pod-cancel-hero .icon-cancel {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  opacity: .85;
}

.pod-cancel-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
}

.pod-cancel-hero p {
  color: rgba(255,255,255,.8);
  max-width: 500px;
  margin: .5rem auto 0;
}

.pod-cancel-actions {
  max-width: 500px;
  margin: 0 auto 3rem;
  text-align: center;
}

.btn-pod-retry {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--brand-500);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: .75rem 1.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--duration-fast);
}

.btn-pod-retry:hover {
  background: var(--brand-600);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-pod-browse {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: .75rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--duration-fast);
}

.btn-pod-browse:hover {
  background: var(--color-surface-soft);
  text-decoration: none;
}

/* ================================================
   PAGOSPLANES
   ================================================ */

.plan-method-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 560px;
  margin: 2.5rem auto 3rem;
}

.plan-method-header {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  padding: 1.25rem 1.5rem;
}

.plan-method-header h3 {
  font-family: var(--font-display);
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 700;
}

.plan-method-body {
  padding: 2rem 1.5rem;
}

.plan-method-info {
  text-align: center;
  margin-bottom: 1.5rem;
}

.plan-method-info h4 {
  font-family: var(--font-display);
  margin-bottom: .5rem;
}

.plan-method-price {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--brand-500);
  font-family: var(--font-display);
}

.plan-method-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.plan-btn-paypal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 50px;
  background: #0070ba;
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--text-base);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.plan-btn-paypal:hover {
  background: #005ea6;
  transform: translateY(-1px);
}

.plan-btn-tarjeta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 50px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--text-base);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.plan-btn-tarjeta:hover {
  background: #555;
  transform: translateY(-1px);
}

.plan-loading {
  text-align: center;
  padding: 1.5rem;
}

.plan-loading i {
  color: var(--brand-500);
}

.plan-secure {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 1.25rem;
}

.plan-secure i {
  color: #16a34a;
  margin-right: .25rem;
}

/* Pagosplanes cancel */
.plan-cancel-page {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 500px;
  margin: 0 auto 3rem;
}

.plan-cancel-page .cancel-icon {
  color: var(--brand-500);
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}

.plan-cancel-page h2 {
  font-family: var(--font-display);
  color: var(--brand-500);
  margin-bottom: .75rem;
}

.plan-cancel-page .lead {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

/* ================================================
   MESSAGE PAGE (simple centered message)
   ================================================ */

.message-page {
  text-align: center;
  padding: 3.5rem 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.message-page h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin-bottom: .75rem;
}

.message-page p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.6;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 767px) {
  .headcarrito {
    font-size: 0.75rem;
    padding: 0.6rem 0;
  }

  .rowcarro {
    padding: 0.6rem;
  }

  .cart-discount-big {
    font-size: 32px;
  }

  .login-card {
    padding: 1.75rem 1.25rem;
    margin: 0 0.5rem 1.5rem;
  }

  .checkout-form-card {
    padding: 1.25rem;
  }

  .checkout-nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  .checkout-nav .btn {
    width: 100%;
  }

  .gps-map { height: 280px; }

  .gps-search-page { padding: 1rem 0 2rem; }

  .pod-product-card .card-img-top { height: 160px; }

  .plan-method-btns {
    grid-template-columns: 1fr;
  }

  .pod-order-card,
  .pod-pay-card,
  .pod-confirm-card {
    padding: 1.25rem;
  }

  .pod-pay-total { font-size: var(--text-2xl); }

  .payment-discount-banner__big { font-size: 32px; }

  .event-banner .create-event p { font-size: var(--text-base); }
}

/* ── GPS Search (busqueda.phtml) ── */
/* ── Búsqueda GPS — Design System OFPIC ── */
.gps-search-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #16213e 100%);
    padding: 60px 0 70px;
    position: relative;
    overflow: hidden;
}
.gps-search-section::before {
    content: '';
    position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(184, 154, 91, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.gps-search-section .sec-title {
    text-align: center; margin-bottom: 45px;
}
.gps-search-section .sec-title h2 {
    font-size: 36px; font-weight: 800; color: #fff; margin: 0 0 10px;
}
.gps-search-section .sec-title h2 .hl {
    background: linear-gradient(135deg, #B89A5B 0%, #D4B87A 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gps-search-section .sec-title p {
    font-size: 16px; color: rgba(255,255,255,0.6); margin: 0;
}

/* Mapa */
.mapa-card {
    border-radius: 16px; overflow: hidden; position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
#mapa-busqueda { height: 500px; width: 100%; z-index: 1; }
.mapa-hint {
    position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
    z-index: 1000;
    background: linear-gradient(135deg, #B89A5B 0%, #D4B87A 100%);
    color: #fff; padding: 8px 22px; border-radius: 50px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.3px;
    pointer-events: none; transition: opacity 0.4s;
    box-shadow: 0 4px 15px rgba(184, 154, 91, 0.35);
}
.mapa-hint.oculto { opacity: 0; }
.mapa-coords-badge {
    position: absolute; bottom: 12px; left: 12px; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    padding: 6px 14px; border-radius: 10px;
    font-size: 12px; color: #2d3748; font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12); display: none;
}
.mapa-coords-badge span { color: #B89A5B; font-weight: 700; }

/* Panel formulario */
.form-card {
    background: #fff; border-radius: 20px;
    padding: 30px 28px; box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.form-card .sec-label {
    font-size: 14px; font-weight: 700; color: #B89A5B;
    letter-spacing: 0.5px; margin: 0 0 12px; display: flex; align-items: center;
}
.form-card .sec-label i { margin-right: 8px; font-size: 16px; }
.form-card label {
    font-size: 12px; font-weight: 600; color: #4a5568;
    text-transform: uppercase; letter-spacing: 0.5px;
    display: block; margin-bottom: 5px;
}
.form-card input[type="number"],
.form-card input[type="text"] {
    width: 100%; padding: 12px 14px;
    border: 2px solid #e2e8f0; border-radius: 10px;
    font-size: 14px; color: #2d3748; background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box; margin-bottom: 10px;
}
.form-card input:focus {
    border-color: #B89A5B; outline: none;
    box-shadow: 0 0 0 3px rgba(184, 154, 91, 0.1);
}
.form-card .coord-row { display: flex; gap: 12px; }
.form-card .coord-row > div { flex: 1; }
.form-card .divider {
    height: 1px; background: #e2e8f0; margin: 18px 0;
}

/* Botón ubicación */
.btn-ubicacion {
    width: 100%; padding: 10px; border: 2px solid #e2e8f0;
    border-radius: 10px; background: #fff; color: #4a5568;
    font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
    text-transform: uppercase; cursor: pointer;
    transition: all 0.3s; margin-bottom: 5px;
}
.btn-ubicacion:hover { border-color: #B89A5B; color: #B89A5B; }
.btn-ubicacion i { color: #B89A5B; margin-right: 5px; }

/* GPX upload */
.gpx-upload-zone {
    border: 2px dashed #e2e8f0; border-radius: 12px;
    padding: 20px; text-align: center; cursor: pointer;
    background: #fafafa; transition: all 0.3s;
}
.gpx-upload-zone:hover, .gpx-upload-zone.dragover {
    border-color: #B89A5B; background: rgba(184, 154, 91, 0.03);
}
.gpx-upload-zone i.fa-cloud-upload {
    font-size: 28px; color: #cbd5e0; display: block; margin-bottom: 8px;
    transition: color 0.3s;
}
.gpx-upload-zone:hover i.fa-cloud-upload { color: #B89A5B; }
.gpx-upload-zone .upload-text { font-size: 13px; color: #4a5568; }
.gpx-upload-zone .upload-text strong { color: #B89A5B; }
.gpx-upload-zone .archivo-nombre {
    font-size: 12px; color: #B89A5B; font-weight: 600; margin-top: 8px; display: none;
}

/* Filtros avanzados */
.filtros-toggle {
    display: flex; align-items: center; cursor: pointer;
    font-size: 13px; color: #4a5568; font-weight: 600;
    margin-bottom: 12px; user-select: none; transition: color 0.3s;
}
.filtros-toggle:hover { color: #B89A5B; }
.filtros-toggle i { font-size: 10px; margin-right: 8px; transition: transform 0.3s; }
.filtros-toggle.abierto i { transform: rotate(180deg); }
.filtros-avanzados { display: none; }
.filtros-avanzados.visible { display: block; }

/* Botón buscar */
.btn-buscar {
    width: 100%; padding: 14px; border: none; border-radius: 50px;
    background: linear-gradient(135deg, #B89A5B 0%, #D4B87A 100%);
    color: #fff; font-size: 15px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(184, 154, 91, 0.3); margin-top: 10px;
}
.btn-buscar:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(184, 154, 91, 0.4);
}

/* Info panel */
.info-panel {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 24px 28px; margin-top: 24px;
}
.info-panel h4 {
    font-size: 14px; color: #fff; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase; margin: 0 0 14px;
}
.info-panel h4 i { color: #B89A5B; margin-right: 6px; }
.info-panel .steps { display: flex; flex-direction: column; gap: 10px; }
.info-panel .step {
    display: flex; align-items: flex-start; gap: 12px;
}
.info-panel .step-num {
    min-width: 26px; height: 26px;
    background: linear-gradient(135deg, #B89A5B 0%, #D4B87A 100%);
    color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
}
.info-panel .step p {
    font-size: 13px; color: rgba(255,255,255,0.65);
    line-height: 1.6; margin: 0; padding-top: 3px;
}

/* Responsive */
@media (max-width: 991px) {
    #mapa-busqueda { height: 360px; }
    .form-card { margin-top: 25px; }
    .gps-search-section .sec-title h2 { font-size: 28px; }
}
@media (max-width: 767px) {
    .form-card .coord-row { flex-direction: column; gap: 0; }
    #mapa-busqueda { height: 280px; }
    .gps-search-section { padding: 40px 0 50px; }
}

/* ── GPS Results (busquedaresultados.phtml) ── */
/* ── Resultados GPS — Design System OFPIC ── */
.gps-results-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #16213e 100%);
    padding: 60px 0 70px;
    position: relative; overflow: hidden;
}
.gps-results-section::before {
    content: '';
    position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(184, 154, 91, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.gps-results-section .sec-title {
    text-align: center; margin-bottom: 45px;
}
.gps-results-section .sec-title h2 {
    font-size: 36px; font-weight: 800; color: #fff; margin: 0 0 10px;
}
.gps-results-section .sec-title h2 .hl {
    background: linear-gradient(135deg, #B89A5B 0%, #D4B87A 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gps-results-section .sec-title p {
    font-size: 16px; color: rgba(255,255,255,0.6); margin: 0;
}

/* Mapa */
.mapa-card {
    border-radius: 16px; overflow: hidden; position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
#mapa-resultados { height: 500px; width: 100%; z-index: 1; }
.mapa-stats-badge {
    position: absolute; top: 14px; right: 14px; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    padding: 8px 16px; border-radius: 10px;
    font-size: 13px; color: #2d3748; font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    display: flex; align-items: center; gap: 8px;
}
.mapa-stats-badge .count {
    background: linear-gradient(135deg, #B89A5B, #D4B87A);
    color: #fff; padding: 2px 10px; border-radius: 25px;
    font-size: 12px; font-weight: 700;
}
.mapa-leyenda {
    position: absolute; bottom: 12px; left: 12px; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    padding: 10px 14px; border-radius: 10px;
    font-size: 11px; color: #2d3748;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.mapa-leyenda .leyenda-item {
    display: flex; align-items: center; gap: 6px; margin-bottom: 4px;
}
.mapa-leyenda .leyenda-item:last-child { margin-bottom: 0; }
.leyenda-dot {
    width: 10px; height: 10px; border-radius: 50%;
    border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    display: inline-block;
}

/* Panel formulario */
.form-card {
    background: #fff; border-radius: 20px;
    padding: 30px 28px; box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.form-card .sec-label {
    font-size: 14px; font-weight: 700; color: #B89A5B;
    letter-spacing: 0.5px; margin: 0 0 12px; display: flex; align-items: center;
}
.form-card .sec-label i { margin-right: 8px; font-size: 16px; }
.form-card label {
    font-size: 12px; font-weight: 600; color: #4a5568;
    text-transform: uppercase; letter-spacing: 0.5px;
    display: block; margin-bottom: 5px;
}
.form-card input[type="number"],
.form-card input[type="text"] {
    width: 100%; padding: 12px 14px;
    border: 2px solid #e2e8f0; border-radius: 10px;
    font-size: 14px; color: #2d3748; background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box; margin-bottom: 10px;
}
.form-card input:focus {
    border-color: #B89A5B; outline: none;
    box-shadow: 0 0 0 3px rgba(184, 154, 91, 0.1);
}
.form-card .coord-row { display: flex; gap: 12px; }
.form-card .coord-row > div { flex: 1; }
.form-card .divider { height: 1px; background: #e2e8f0; margin: 18px 0; }

/* GPX upload */
.gpx-upload-zone {
    border: 2px dashed #e2e8f0; border-radius: 12px;
    padding: 20px; text-align: center; cursor: pointer;
    background: #fafafa; transition: all 0.3s;
}
.gpx-upload-zone:hover, .gpx-upload-zone.dragover {
    border-color: #B89A5B; background: rgba(184, 154, 91, 0.03);
}
.gpx-upload-zone i.fa-cloud-upload {
    font-size: 28px; color: #cbd5e0; display: block; margin-bottom: 8px;
    transition: color 0.3s;
}
.gpx-upload-zone:hover i.fa-cloud-upload { color: #B89A5B; }
.gpx-upload-zone .upload-text { font-size: 13px; color: #4a5568; }
.gpx-upload-zone .upload-text strong { color: #B89A5B; }
.gpx-upload-zone .archivo-nombre {
    font-size: 12px; color: #B89A5B; font-weight: 600; margin-top: 8px; display: none;
}

/* Botón buscar */
.btn-buscar {
    width: 100%; padding: 14px; border: none; border-radius: 50px;
    background: linear-gradient(135deg, #B89A5B 0%, #D4B87A 100%);
    color: #fff; font-size: 15px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(184, 154, 91, 0.3); margin-top: 10px;
}
.btn-buscar:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(184, 154, 91, 0.4);
}

/* ── Galería de resultados ── */
.gallery-results-section {
    background: #0f0f1a; padding: 70px 0 60px;
    position: relative; overflow: hidden;
}
.gallery-results-section::before {
    content: '';
    position: absolute; bottom: -30%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(184, 154, 91, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.gallery-results-section .sec-title {
    text-align: center; margin-bottom: 40px;
}
.gallery-results-section .sec-title h2 {
    font-size: 36px; font-weight: 800; color: #fff; margin: 0 0 10px;
}
.gallery-results-section .sec-title h2 .hl {
    background: linear-gradient(135deg, #B89A5B, #D4B87A);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gallery-results-section .resultado-contador {
    text-align: center; font-size: 16px; color: rgba(255,255,255,0.6);
    margin-bottom: 35px;
}
.gallery-results-section .resultado-contador strong {
    color: #B89A5B; font-size: 24px; font-weight: 800;
}

/* Photo card */
.foto-card {
    margin-bottom: 20px; border-radius: 16px;
    overflow: hidden; position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.foto-card img {
    width: 100%; height: 190px; object-fit: cover;
    display: block; transition: transform 0.5s ease;
}
.foto-card:hover img { transform: scale(1.08); }
.foto-card .foto-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(184, 154, 91, 0) 0%, rgba(184, 154, 91, 0) 60%, rgba(0,0,0,0.7) 100%);
    opacity: 0; transition: opacity 0.4s;
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: 16px;
}
.foto-card:hover .foto-overlay { opacity: 1; }
.foto-card .foto-overlay span {
    color: #fff; font-size: 13px; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
}

/* No results */
.no-resultados {
    text-align: center; padding: 80px 20px;
}
.no-resultados .icon-wrap {
    width: 90px; height: 90px; margin: 0 auto 20px;
    background: rgba(184, 154, 91, 0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.no-resultados .icon-wrap i { font-size: 36px; color: #B89A5B; }
.no-resultados p { color: rgba(255,255,255,0.6); font-size: 15px; }
.no-resultados .sub { font-size: 13px; margin-top: 8px; }

/* Responsive */
@media (max-width: 991px) {
    #mapa-resultados { height: 360px; }
    .form-card { margin-top: 25px; }
    .gps-results-section .sec-title h2,
    .gallery-results-section .sec-title h2 { font-size: 28px; }
    .foto-card img { height: 150px; }
}
@media (max-width: 767px) {
    .form-card .coord-row { flex-direction: column; gap: 0; }
    #mapa-resultados { height: 280px; }
    .gps-results-section { padding: 40px 0 50px; }
}

/* ── GPS Search (busqueda.phtml) ── */
/* ── Búsqueda GPS — Design System OFPIC ── */
.gps-search-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #16213e 100%);
    padding: 60px 0 70px;
    position: relative;
    overflow: hidden;
}
.gps-search-section::before {
    content: '';
    position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(184, 154, 91, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.gps-search-section .sec-title {
    text-align: center; margin-bottom: 45px;
}
.gps-search-section .sec-title h2 {
    font-size: 36px; font-weight: 800; color: #fff; margin: 0 0 10px;
}
.gps-search-section .sec-title h2 .hl {
    background: linear-gradient(135deg, #B89A5B 0%, #D4B87A 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gps-search-section .sec-title p {
    font-size: 16px; color: rgba(255,255,255,0.6); margin: 0;
}

/* Mapa */
.mapa-card {
    border-radius: 16px; overflow: hidden; position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
#mapa-busqueda { height: 500px; width: 100%; z-index: 1; }
.mapa-hint {
    position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
    z-index: 1000;
    background: linear-gradient(135deg, #B89A5B 0%, #D4B87A 100%);
    color: #fff; padding: 8px 22px; border-radius: 50px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.3px;
    pointer-events: none; transition: opacity 0.4s;
    box-shadow: 0 4px 15px rgba(184, 154, 91, 0.35);
}
.mapa-hint.oculto { opacity: 0; }
.mapa-coords-badge {
    position: absolute; bottom: 12px; left: 12px; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    padding: 6px 14px; border-radius: 10px;
    font-size: 12px; color: #2d3748; font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12); display: none;
}
.mapa-coords-badge span { color: #B89A5B; font-weight: 700; }

/* Panel formulario */
.form-card {
    background: #fff; border-radius: 20px;
    padding: 30px 28px; box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.form-card .sec-label {
    font-size: 14px; font-weight: 700; color: #B89A5B;
    letter-spacing: 0.5px; margin: 0 0 12px; display: flex; align-items: center;
}
.form-card .sec-label i { margin-right: 8px; font-size: 16px; }
.form-card label {
    font-size: 12px; font-weight: 600; color: #4a5568;
    text-transform: uppercase; letter-spacing: 0.5px;
    display: block; margin-bottom: 5px;
}
.form-card input[type="number"],
.form-card input[type="text"] {
    width: 100%; padding: 12px 14px;
    border: 2px solid #e2e8f0; border-radius: 10px;
    font-size: 14px; color: #2d3748; background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box; margin-bottom: 10px;
}
.form-card input:focus {
    border-color: #B89A5B; outline: none;
    box-shadow: 0 0 0 3px rgba(184, 154, 91, 0.1);
}
.form-card .coord-row { display: flex; gap: 12px; }
.form-card .coord-row > div { flex: 1; }
.form-card .divider {
    height: 1px; background: #e2e8f0; margin: 18px 0;
}

/* Botón ubicación */
.btn-ubicacion {
    width: 100%; padding: 10px; border: 2px solid #e2e8f0;
    border-radius: 10px; background: #fff; color: #4a5568;
    font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
    text-transform: uppercase; cursor: pointer;
    transition: all 0.3s; margin-bottom: 5px;
}
.btn-ubicacion:hover { border-color: #B89A5B; color: #B89A5B; }
.btn-ubicacion i { color: #B89A5B; margin-right: 5px; }

/* GPX upload */
.gpx-upload-zone {
    border: 2px dashed #e2e8f0; border-radius: 12px;
    padding: 20px; text-align: center; cursor: pointer;
    background: #fafafa; transition: all 0.3s;
}
.gpx-upload-zone:hover, .gpx-upload-zone.dragover {
    border-color: #B89A5B; background: rgba(184, 154, 91, 0.03);
}
.gpx-upload-zone i.fa-cloud-upload {
    font-size: 28px; color: #cbd5e0; display: block; margin-bottom: 8px;
    transition: color 0.3s;
}
.gpx-upload-zone:hover i.fa-cloud-upload { color: #B89A5B; }
.gpx-upload-zone .upload-text { font-size: 13px; color: #4a5568; }
.gpx-upload-zone .upload-text strong { color: #B89A5B; }
.gpx-upload-zone .archivo-nombre {
    font-size: 12px; color: #B89A5B; font-weight: 600; margin-top: 8px; display: none;
}

/* Filtros avanzados */
.filtros-toggle {
    display: flex; align-items: center; cursor: pointer;
    font-size: 13px; color: #4a5568; font-weight: 600;
    margin-bottom: 12px; user-select: none; transition: color 0.3s;
}
.filtros-toggle:hover { color: #B89A5B; }
.filtros-toggle i { font-size: 10px; margin-right: 8px; transition: transform 0.3s; }
.filtros-toggle.abierto i { transform: rotate(180deg); }
.filtros-avanzados { display: none; }
.filtros-avanzados.visible { display: block; }

/* Botón buscar */
.btn-buscar {
    width: 100%; padding: 14px; border: none; border-radius: 50px;
    background: linear-gradient(135deg, #B89A5B 0%, #D4B87A 100%);
    color: #fff; font-size: 15px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(184, 154, 91, 0.3); margin-top: 10px;
}
.btn-buscar:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(184, 154, 91, 0.4);
}

/* Info panel */
.info-panel {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 24px 28px; margin-top: 24px;
}
.info-panel h4 {
    font-size: 14px; color: #fff; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase; margin: 0 0 14px;
}
.info-panel h4 i { color: #B89A5B; margin-right: 6px; }
.info-panel .steps { display: flex; flex-direction: column; gap: 10px; }
.info-panel .step {
    display: flex; align-items: flex-start; gap: 12px;
}
.info-panel .step-num {
    min-width: 26px; height: 26px;
    background: linear-gradient(135deg, #B89A5B 0%, #D4B87A 100%);
    color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
}
.info-panel .step p {
    font-size: 13px; color: rgba(255,255,255,0.65);
    line-height: 1.6; margin: 0; padding-top: 3px;
}

/* Responsive */
@media (max-width: 991px) {
    #mapa-busqueda { height: 360px; }
    .form-card { margin-top: 25px; }
    .gps-search-section .sec-title h2 { font-size: 28px; }
}
@media (max-width: 767px) {
    .form-card .coord-row { flex-direction: column; gap: 0; }
    #mapa-busqueda { height: 280px; }
    .gps-search-section { padding: 40px 0 50px; }
}

/* ── GPS Results (busquedaresultados.phtml) ── */
/* ── Resultados GPS — Design System OFPIC ── */
.gps-results-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #16213e 100%);
    padding: 60px 0 70px;
    position: relative; overflow: hidden;
}
.gps-results-section::before {
    content: '';
    position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(184, 154, 91, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.gps-results-section .sec-title {
    text-align: center; margin-bottom: 45px;
}
.gps-results-section .sec-title h2 {
    font-size: 36px; font-weight: 800; color: #fff; margin: 0 0 10px;
}
.gps-results-section .sec-title h2 .hl {
    background: linear-gradient(135deg, #B89A5B 0%, #D4B87A 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gps-results-section .sec-title p {
    font-size: 16px; color: rgba(255,255,255,0.6); margin: 0;
}

/* Mapa */
.mapa-card {
    border-radius: 16px; overflow: hidden; position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
#mapa-resultados { height: 500px; width: 100%; z-index: 1; }
.mapa-stats-badge {
    position: absolute; top: 14px; right: 14px; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    padding: 8px 16px; border-radius: 10px;
    font-size: 13px; color: #2d3748; font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    display: flex; align-items: center; gap: 8px;
}
.mapa-stats-badge .count {
    background: linear-gradient(135deg, #B89A5B, #D4B87A);
    color: #fff; padding: 2px 10px; border-radius: 25px;
    font-size: 12px; font-weight: 700;
}
.mapa-leyenda {
    position: absolute; bottom: 12px; left: 12px; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    padding: 10px 14px; border-radius: 10px;
    font-size: 11px; color: #2d3748;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.mapa-leyenda .leyenda-item {
    display: flex; align-items: center; gap: 6px; margin-bottom: 4px;
}
.mapa-leyenda .leyenda-item:last-child { margin-bottom: 0; }
.leyenda-dot {
    width: 10px; height: 10px; border-radius: 50%;
    border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    display: inline-block;
}

/* Panel formulario */
.form-card {
    background: #fff; border-radius: 20px;
    padding: 30px 28px; box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.form-card .sec-label {
    font-size: 14px; font-weight: 700; color: #B89A5B;
    letter-spacing: 0.5px; margin: 0 0 12px; display: flex; align-items: center;
}
.form-card .sec-label i { margin-right: 8px; font-size: 16px; }
.form-card label {
    font-size: 12px; font-weight: 600; color: #4a5568;
    text-transform: uppercase; letter-spacing: 0.5px;
    display: block; margin-bottom: 5px;
}
.form-card input[type="number"],
.form-card input[type="text"] {
    width: 100%; padding: 12px 14px;
    border: 2px solid #e2e8f0; border-radius: 10px;
    font-size: 14px; color: #2d3748; background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box; margin-bottom: 10px;
}
.form-card input:focus {
    border-color: #B89A5B; outline: none;
    box-shadow: 0 0 0 3px rgba(184, 154, 91, 0.1);
}
.form-card .coord-row { display: flex; gap: 12px; }
.form-card .coord-row > div { flex: 1; }
.form-card .divider { height: 1px; background: #e2e8f0; margin: 18px 0; }

/* GPX upload */
.gpx-upload-zone {
    border: 2px dashed #e2e8f0; border-radius: 12px;
    padding: 20px; text-align: center; cursor: pointer;
    background: #fafafa; transition: all 0.3s;
}
.gpx-upload-zone:hover, .gpx-upload-zone.dragover {
    border-color: #B89A5B; background: rgba(184, 154, 91, 0.03);
}
.gpx-upload-zone i.fa-cloud-upload {
    font-size: 28px; color: #cbd5e0; display: block; margin-bottom: 8px;
    transition: color 0.3s;
}
.gpx-upload-zone:hover i.fa-cloud-upload { color: #B89A5B; }
.gpx-upload-zone .upload-text { font-size: 13px; color: #4a5568; }
.gpx-upload-zone .upload-text strong { color: #B89A5B; }
.gpx-upload-zone .archivo-nombre {
    font-size: 12px; color: #B89A5B; font-weight: 600; margin-top: 8px; display: none;
}

/* Botón buscar */
.btn-buscar {
    width: 100%; padding: 14px; border: none; border-radius: 50px;
    background: linear-gradient(135deg, #B89A5B 0%, #D4B87A 100%);
    color: #fff; font-size: 15px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(184, 154, 91, 0.3); margin-top: 10px;
}
.btn-buscar:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(184, 154, 91, 0.4);
}

/* ── Galería de resultados ── */
.gallery-results-section {
    background: #0f0f1a; padding: 70px 0 60px;
    position: relative; overflow: hidden;
}
.gallery-results-section::before {
    content: '';
    position: absolute; bottom: -30%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(184, 154, 91, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.gallery-results-section .sec-title {
    text-align: center; margin-bottom: 40px;
}
.gallery-results-section .sec-title h2 {
    font-size: 36px; font-weight: 800; color: #fff; margin: 0 0 10px;
}
.gallery-results-section .sec-title h2 .hl {
    background: linear-gradient(135deg, #B89A5B, #D4B87A);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gallery-results-section .resultado-contador {
    text-align: center; font-size: 16px; color: rgba(255,255,255,0.6);
    margin-bottom: 35px;
}
.gallery-results-section .resultado-contador strong {
    color: #B89A5B; font-size: 24px; font-weight: 800;
}

/* Photo card */
.foto-card {
    margin-bottom: 20px; border-radius: 16px;
    overflow: hidden; position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.foto-card img {
    width: 100%; height: 190px; object-fit: cover;
    display: block; transition: transform 0.5s ease;
}
.foto-card:hover img { transform: scale(1.08); }
.foto-card .foto-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(184, 154, 91, 0) 0%, rgba(184, 154, 91, 0) 60%, rgba(0,0,0,0.7) 100%);
    opacity: 0; transition: opacity 0.4s;
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: 16px;
}
.foto-card:hover .foto-overlay { opacity: 1; }
.foto-card .foto-overlay span {
    color: #fff; font-size: 13px; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
}

/* No results */
.no-resultados {
    text-align: center; padding: 80px 20px;
}
.no-resultados .icon-wrap {
    width: 90px; height: 90px; margin: 0 auto 20px;
    background: rgba(184, 154, 91, 0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.no-resultados .icon-wrap i { font-size: 36px; color: #B89A5B; }
.no-resultados p { color: rgba(255,255,255,0.6); font-size: 15px; }
.no-resultados .sub { font-size: 13px; margin-top: 8px; }

/* Responsive */
@media (max-width: 991px) {
    #mapa-resultados { height: 360px; }
    .form-card { margin-top: 25px; }
    .gps-results-section .sec-title h2,
    .gallery-results-section .sec-title h2 { font-size: 28px; }
    .foto-card img { height: 150px; }
}
@media (max-width: 767px) {
    .form-card .coord-row { flex-direction: column; gap: 0; }
    #mapa-resultados { height: 280px; }
    .gps-results-section { padding: 40px 0 50px; }
}

/* ── POD Catalog (catalogo.phtml) ── */
.pod-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2020 50%, #3a2a1a 100%);
    padding: 40px 0 30px;
    color: #fff;
    margin-bottom: 30px;
}
.pod-hero h1 { font-size: 28px; font-weight: 700; margin-bottom: 5px; }
.pod-hero p { color: rgba(255,255,255,.7); font-size: 15px; }
.pod-foto-preview {
    max-width: 220px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
    border: 3px solid rgba(255,255,255,.2);
}
.pod-categoria-titulo {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #B89A5B;
    display: inline-block;
}
.pod-producto-card {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.pod-producto-card:hover {
    border-color: #B89A5B;
    box-shadow: 0 8px 25px rgba(184,154,91,.12);
    transform: translateY(-3px);
}
.pod-producto-card .pod-preview-area {
    background: #FAFAFA;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin-bottom: 15px;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.pod-producto-card .pod-preview-area img {
    max-width: 100%;
    max-height: 120px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.pod-producto-card .pod-frame-sim {
    border: 8px solid #333;
    padding: 3px;
    background: #fff;
    display: inline-block;
}
.pod-producto-card .pod-canvas-sim {
    border: 3px solid #D5D5D5;
    box-shadow: 3px 3px 8px rgba(0,0,0,.2);
    display: inline-block;
}
.pod-producto-card .pod-acrylic-sim {
    border: 2px solid rgba(255,255,255,.5);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0,0,0,.2), inset 0 0 30px rgba(255,255,255,.1);
    display: inline-block;
}
.pod-producto-card .pod-metal-sim {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 50%, #c0c0c0 100%);
    padding: 5px;
    display: inline-block;
}
.pod-producto-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 5px;
}
.pod-producto-card .pod-desc {
    font-size: 13px;
    color: #6B6B6B;
    margin-bottom: 10px;
    min-height: 36px;
}
.pod-producto-card .pod-size {
    font-size: 12px;
    color: #9a9a9a;
    margin-bottom: 10px;
}
.pod-producto-card .pod-size i { margin-right: 3px; }
.pod-producto-card .pod-precio {
    font-size: 22px;
    font-weight: 700;
    color: #B89A5B;
}
.pod-producto-card .pod-precio small {
    font-size: 12px;
    color: #9a9a9a;
    font-weight: 400;
}
.pod-producto-card .btn-pod-pedir {
    background: #B89A5B;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    margin-top: 10px;
    transition: all .2s;
}
.pod-producto-card .btn-pod-pedir:hover {
    background: #A07D3F;
    transform: scale(1.02);
}
.pod-badge-cat {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #B89A5B, #A07D3F);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 2px 8px rgba(184,154,91,.30);
    z-index: 2;
}
.pod-volver-btn {
    display: inline-block;
    color: rgba(255,255,255,.7);
    font-size: 14px;
    margin-bottom: 10px;
    text-decoration: none;
}
.pod-volver-btn:hover { color: #fff; text-decoration: none; }

/* ── POD Order (pedido.phtml) ── */
.pod-order-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2020 50%, #3a2a1a 100%);
    padding: 30px 0 25px;
    color: #fff;
    margin-bottom: 30px;
}
.pod-order-hero h1 { font-size: 24px; font-weight: 700; }
.pod-order-hero .breadcrumb-pod {
    font-size: 13px;
    color: rgba(255,255,255,.6);
}
.pod-order-hero .breadcrumb-pod a { color: rgba(255,255,255,.8); text-decoration: none; }
.pod-order-hero .breadcrumb-pod a:hover { color: #fff; }

.pod-order-summary {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    padding: 25px;
    position: sticky;
    top: 20px;
}
.pod-order-summary .pod-sum-foto {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
}
.pod-order-summary h4 { font-size: 16px; font-weight: 600; color: #1a1a1a; }
.pod-order-summary .pod-sum-sku { font-size: 11px; color: #9a9a9a; }
.pod-order-summary .pod-sum-size { font-size: 13px; color: #6B6B6B; margin: 5px 0; }
.pod-order-summary hr { border-color: #E5E5E5; }
.pod-sum-total { font-size: 24px; font-weight: 700; color: #B89A5B; }
.pod-sum-total small { font-size: 12px; color: #9a9a9a; font-weight: 400; }

.pod-form-section {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
}
.pod-form-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #B89A5B;
}
.pod-form-section label {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 13px;
}
.pod-form-section .form-control {
    border-radius: 6px;
    border: 1px solid #D5D5D5;
    padding: 10px 14px;
    font-size: 14px;
}
.pod-form-section .form-control:focus {
    border-color: #B89A5B;
    box-shadow: 0 0 0 3px rgba(184,154,91,.08);
}
.pod-required { color: #B89A5B; }
.pod-envio-option {
    border: 1px solid #D5D5D5;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all .2s;
}
.pod-envio-option:hover { border-color: #B89A5B; }
.pod-envio-option.active { border-color: #B89A5B; background: #FBF7F0; }
.pod-envio-option label { margin: 0; cursor: pointer; width: 100%; }
.pod-envio-option .pod-envio-nombre { font-weight: 600; }
.pod-envio-option .pod-envio-tiempo { font-size: 12px; color: #6B6B6B; }

.btn-pod-confirmar {
    background: #B89A5B;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    transition: all .2s;
}
.btn-pod-confirmar:hover { background: #A07D3F; color: #fff; }
.btn-pod-confirmar:disabled { background: #ccc; cursor: not-allowed; }

.pod-secure-badge {
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    color: #9a9a9a;
}
.pod-secure-badge i { color: #27ae60; margin-right: 4px; }

/* ── POD Payment (pasarela.phtml) ── */
.pod-pay-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #16213e 50%, #0f3460 100%);
    padding: 30px 0 25px;
    color: #fff;
    margin-bottom: 30px;
}
.pod-pay-hero h1 { font-size: 24px; font-weight: 700; }

.pod-pay-container {
    max-width: 600px;
    margin: 0 auto 60px;
}
.pod-pay-card {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.pod-pay-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #B89A5B;
}
.pod-pay-detail { margin-bottom: 8px; }
.pod-pay-detail .label-pod { color: #9a9a9a; font-size: 13px; }
.pod-pay-detail .value-pod { font-weight: 600; color: #1a1a1a; font-size: 14px; }
.pod-pay-total {
    font-size: 28px;
    font-weight: 700;
    color: #B89A5B;
    text-align: center;
    margin: 20px 0;
}
.pod-pay-total small { font-size: 14px; color: #9a9a9a; font-weight: 400; display: block; }

.btn-paypal {
    display: block;
    width: 100%;
    background: #ffc439;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    color: #111;
    cursor: pointer;
    transition: all .2s;
    text-align: center;
}
.btn-paypal:hover { background: #f0b82e; }
.btn-paypal img { height: 22px; vertical-align: middle; margin-left: 8px; }

.pod-pay-secure {
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    color: #9a9a9a;
}
.pod-pay-secure i { color: #27ae60; margin-right: 4px; }

.pod-pay-info {
    background: #FAFAFA;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    font-size: 13px;
    color: #6B6B6B;
}
.pod-pay-info i { color: #3498db; margin-right: 6px; }

/* ── POD Confirmation (confirmacion.phtml) ── */
.pod-confirm-hero {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    padding: 40px 0;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}
.pod-confirm-hero .pod-check-icon {
    width: 80px; height: 80px;
    background: rgba(255,255,255,.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 15px;
}
.pod-confirm-hero h1 { font-size: 28px; font-weight: 700; }
.pod-detail-card {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
}
.pod-detail-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #27ae60;
}
.pod-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #FAFAFA;
    font-size: 14px;
}
.pod-detail-row:last-child { border-bottom: none; }
.pod-detail-row .pod-label { color: #9a9a9a; }
.pod-detail-row .pod-value { font-weight: 600; color: #1a1a1a; }
.pod-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.pod-status-pending { background: #fff3cd; color: #856404; }
.pod-status-inprogress { background: #cce5ff; color: #004085; }
.pod-status-complete { background: #d4edda; color: #155724; }
.pod-status-error { background: #f8d7da; color: #721c24; }
.pod-status-cancelled { background: #e2e3e5; color: #383d41; }
.pod-status-awaiting_payment { background: #fff3cd; color: #856404; }
.pod-status-paid { background: #d4edda; color: #155724; }
.pod-status-paid_prodigi_error { background: #f8d7da; color: #721c24; }

/* ── POD Cancel (cancelpod.phtml) ── */
.pod-cancel-hero {
    background: linear-gradient(135deg, #B89A5B 0%, #c0392b 100%);
    padding: 50px 0;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}
.pod-cancel-hero .icon-cancel {
    font-size: 60px;
    margin-bottom: 15px;
    opacity: .8;
}
.pod-cancel-hero h1 { font-size: 28px; font-weight: 700; }
.pod-cancel-hero p { font-size: 16px; color: rgba(255,255,255,.8); max-width: 500px; margin: 10px auto 0; }

.pod-cancel-actions {
    max-width: 500px;
    margin: 0 auto 60px;
    text-align: center;
}
.pod-cancel-actions .btn {
    margin: 10px 5px;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
}
.btn-pod-retry {
    background: #B89A5B;
    color: #fff;
    border: none;
}
.btn-pod-retry:hover { background: #c0392b; color: #fff; }
.btn-pod-browse {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #D5D5D5;
}
.btn-pod-browse:hover { background: #FAFAFA; color: #1a1a1a; }
.pod-confirm-hero {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    padding: 40px 0;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}
.pod-confirm-hero .pod-check-icon {
    width: 80px; height: 80px;
    background: rgba(255,255,255,.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 15px;
}
.pod-confirm-hero h1 { font-size: 28px; font-weight: 700; }
.pod-detail-card {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
}
.pod-detail-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #27ae60;
}
.pod-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #FAFAFA;
    font-size: 14px;
}
.pod-detail-row:last-child { border-bottom: none; }
.pod-detail-row .pod-label { color: #9a9a9a; }
.pod-detail-row .pod-value { font-weight: 600; color: #1a1a1a; }
.pod-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.pod-status-pending { background: #fff3cd; color: #856404; }
.pod-status-inprogress { background: #cce5ff; color: #004085; }
.pod-status-complete { background: #d4edda; color: #155724; }
.pod-status-error { background: #f8d7da; color: #721c24; }
.pod-status-cancelled { background: #e2e3e5; color: #383d41; }
.pod-status-awaiting_payment { background: #fff3cd; color: #856404; }
.pod-status-paid { background: #d4edda; color: #155724; }
.pod-status-paid_prodigi_error { background: #f8d7da; color: #721c24; }

/* -- POD Cancel (cancelpod.phtml) -- */
.pod-cancel-hero {
    background: linear-gradient(135deg, #B89A5B 0%, #c0392b 100%);
    padding: 50px 0;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}
.pod-cancel-hero .icon-cancel {
    font-size: 60px;
    margin-bottom: 15px;
    opacity: .8;
}
.pod-cancel-hero h1 { font-size: 28px; font-weight: 700; }
.pod-cancel-hero p { font-size: 16px; color: rgba(255,255,255,.8); max-width: 500px; margin: 10px auto 0; }

.pod-cancel-actions {
    max-width: 500px;
    margin: 0 auto 60px;
    text-align: center;
}
.pod-cancel-actions .btn {
    margin: 10px 5px;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
}
.btn-pod-retry {
    background: #B89A5B;
    color: #fff;
    border: none;
}
.btn-pod-retry:hover { background: #c0392b; color: #fff; }
.btn-pod-browse {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #D5D5D5;
}
.btn-pod-browse:hover { background: #FAFAFA; color: #1a1a1a; }
/* -- Photographers List (fotografos.phtml) -- */
/* Directorio Fotógrafos - Modern Dark Theme */
.fotografos-page {
    background: #0f0f1a;
    min-height: 100vh;
}
.fotografos-hero {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a1a 50%, #0f0f1a 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.fotografos-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 154, 91, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.fotografos-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}
.fotografos-hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.fotografos-hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin: 0 0 15px 0;
    line-height: 1.1;
}
.fotografos-hero h1 .highlight {
    background: linear-gradient(135deg, #B89A5B 0%, #D4B87A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.fotografos-hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    margin: 0 0 40px 0;
    line-height: 1.6;
}
.fotografos-search-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(20px);
}
.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr auto;
    gap: 15px;
    align-items: end;
}
.search-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.search-field label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.search-field select,
.search-field input[type="text"] {
    padding: 16px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
}
.search-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.5)' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    cursor: pointer;
}
.search-field select:focus,
.search-field input:focus {
    outline: none;
    border-color: #B89A5B;
    background-color: rgba(184, 154, 91, 0.05);
}
.search-field select option {
    background: #1a1a1a;
    color: white;
}
.search-field input::placeholder {
    color: rgba(255,255,255,0.4);
}
.btn-search {
    padding: 16px 35px;
    background: linear-gradient(135deg, #B89A5B 0%, #D4B87A 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: 54px;
}
.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(184, 154, 91, 0.4);
}
.fotografos-results {
    padding: 50px 0 80px;
}
.fotografos-results-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}
.results-count {
    color: rgba(255,255,255,0.6);
    font-size: 15px;
}
.results-count strong {
    color: #B89A5B;
    font-weight: 700;
}
.fotografos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.fotografo-card {
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.4s ease;
    text-decoration: none;
    display: block;
}
.fotografo-card:hover {
    transform: translateY(-8px);
    border-color: rgba(184, 154, 91, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.fotografo-card:hover .fotografo-avatar img {
    transform: scale(1.1);
}
.fotografo-avatar {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.fotografo-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.fotografo-avatar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(15,15,26,1) 0%, transparent 100%);
}
.fotografo-info {
    padding: 25px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}
.fotografo-name {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
}
.fotografo-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    margin-bottom: 15px;
}
.fotografo-location i {
    color: #B89A5B;
    font-size: 12px;
}
.fotografo-description {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
    min-height: 67px;
}
.btn-ver-perfil {
    width: 100%;
    padding: 14px;
    background: rgba(184, 154, 91, 0.1);
    border: 1px solid rgba(184, 154, 91, 0.2);
    border-radius: 12px;
    color: #B89A5B;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.fotografo-card:hover .btn-ver-perfil {
    background: linear-gradient(135deg, #B89A5B 0%, #D4B87A 100%);
    border-color: transparent;
    color: white;
}
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
    background: rgba(255,255,255,0.02);
    border-radius: 24px;
    border: 1px dashed rgba(255,255,255,0.1);
}
.no-results-icon {
    width: 100px;
    height: 100px;
    background: rgba(184, 154, 91, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}
.no-results-icon i {
    font-size: 40px;
    color: #B89A5B;
}
.no-results h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0 0 10px 0;
}
.no-results p {
    color: rgba(255,255,255,0.5);
    font-size: 16px;
    margin: 0;
}

/* Paginación - Estilos modernos */
.fotografos-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}
.fotografos-pagination .btn,
.fotografos-pagination a,
.fotografos-pagination span {
    all: unset;
    min-width: 45px;
    height: 45px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    padding: 0 15px;
    cursor: pointer;
    box-sizing: border-box;
    float: none !important;
    margin: 0 !important;
}
.fotografos-pagination .btn-pagina,
.fotografos-pagination .pagina-activo {
    background: rgba(255,255,255,0.05) !important;
    color: rgba(255,255,255,0.7) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}
.fotografos-pagination .btn-pagina:hover,
.fotografos-pagination .pagina-activo:hover {
    background: rgba(255,255,255,0.1) !important;
    color: white !important;
}
.fotografos-pagination .pagina-inactivo {
    background: linear-gradient(135deg, #B89A5B 0%, #D4B87A 100%) !important;
    color: white !important;
    border: none !important;
}
.fotografos-pagination .pagination-centered {
    display: inline-flex !important;
    gap: 8px;
    float: none !important;
    align-items: center;
}
.fotografos-pagination .pull-left,
.fotografos-pagination .pull-right {
    float: none !important;
}
.fotografos-pagination .mleft30 {
    margin-left: 0 !important;
    margin-right: 15px !important;
}
.fotografos-pagination .mright30 {
    margin-left: 15px !important;
    margin-right: 0 !important;
}

@media (max-width: 1200px) {
    .fotografos-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
    .search-form { grid-template-columns: 1fr 1fr; }
    .fotografos-hero h1 { font-size: 38px; }
    .fotografos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .fotografos-hero { padding: 60px 0 40px; }
    .fotografos-hero h1 { font-size: 32px; }
    .search-form { grid-template-columns: 1fr; }
    .btn-search { width: 100%; justify-content: center; }
    .fotografos-search-box { padding: 20px; }
    .fotografos-grid { grid-template-columns: 1fr; gap: 20px; }
    .fotografo-avatar { height: 200px; }
    .fotografos-pagination { gap: 5px; }
    .fotografos-pagination .btn,
    .fotografos-pagination a { 
        min-width: 40px; 
        height: 40px; 
        font-size: 14px;
        padding: 0 10px;
    }
}

/* -- Photographer Detail (detallar.phtml) -- */
.photographer-profile {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header compacto */
.profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #1a1a1f 0%, #2d2d35 100%);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.profile-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('<?= $this->baseURL() ?>/cabeceras/<?= $this->datosusuario->fotocabecera ?>') center/cover;
  opacity: 0.15;
  filter: blur(8px);
}

.profile-avatar {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.profile-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #B89A5B;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(184, 154, 91, 0.3);
}

.profile-info {
  position: relative;
  z-index: 1;
  flex: 1;
}

.profile-info h1 {
  color: #fff;
  font-size: 2em;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.profile-location {
  color: #aaa;
  font-size: 1em;
  margin-bottom: 12px;
}

.profile-location i {
  color: #B89A5B;
  margin-right: 6px;
}

.profile-social {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.profile-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(184, 154, 91, 0.2);
  border-radius: 50%;
  color: #B89A5B;
  font-size: 1.1em;
  transition: all 0.3s;
  text-decoration: none;
}

.profile-social a:hover {
  background: #B89A5B;
  color: #fff;
  transform: scale(1.1);
}

.profile-web-container {
  margin-top: 8px;
}

.profile-web {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #B89A5B;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9em;
  text-decoration: none;
  transition: all 0.3s;
  width: auto;
  height: auto;
}

.profile-web:hover {
  background: #d62a3c;
  transform: translateY(-2px);
}

/* Descripción */
.profile-description {
  background: #1e1e24;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  color: #ccc;
  line-height: 1.6;
  border-left: 4px solid #B89A5B;
}

/* Sección títulos */
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-title h2 {
  color: #fff;
  font-size: 1.5em;
  font-weight: 600;
  margin: 0;
}

.section-title .icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #B89A5B, #D4B87A);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2em;
}

/* Grid de Portfolio */
.portfolio-section {
  margin-bottom: 32px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.portfolio-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  display: block;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

.portfolio-item .overlay span {
  color: #fff;
  font-size: 2em;
  background: #B89A5B;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* Grid de Eventos */
.events-section {
  margin-bottom: 32px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.event-card {
  background: #1e1e24;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(184, 154, 91, 0.2);
}

.event-card .event-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.event-card .event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.event-card:hover .event-image img {
  transform: scale(1.08);
}

.event-card .event-image .photo-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #B89A5B;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-card .event-image .private-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8em;
}

.event-card .event-details {
  padding: 16px;
}

.event-card .event-details h3 {
  color: #fff;
  font-size: 1.1em;
  font-weight: 600;
  margin: 0 0 10px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-card .event-details .event-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #9a9a9a;
  font-size: 0.9em;
}

.event-card .event-details .event-meta i {
  color: #B89A5B;
  width: 18px;
}

.event-card .view-btn {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #B89A5B, #D4B87A);
  color: #fff;
  padding: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s;
}

.event-card .view-btn:hover {
  opacity: 0.9;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, #B89A5B, #D4B87A);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin-bottom: 32px;
}

.cta-section h3 {
  color: #fff;
  font-size: 1.5em;
  margin: 0 0 8px 0;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  margin: 0 0 16px 0;
}

.cta-section a {
  display: inline-block;
  background: #fff;
  color: #B89A5B;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s;
}

.cta-section a:hover {
  transform: scale(1.05);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 40px;
  color: #6B6B6B;
}

.empty-state i {
  font-size: 3em;
  color: #1a1a1a;
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
  
  .profile-social {
    justify-content: center;
  }
  
  .profile-info h1 {
    font-size: 1.6em;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .events-grid {
    grid-template-columns: 1fr;
  }
}

/* -- My Orders (mispedidos.phtml) -- */
.pod-orders-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #16213e 50%, #0f3460 100%);
    padding: 35px 0;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}
.pod-orders-hero h1 { font-size: 28px; font-weight: 700; margin: 0 0 5px; }
.pod-orders-hero p { color: rgba(255,255,255,.7); font-size: 15px; margin: 0; }

.pod-order-card {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow .2s;
}
.pod-order-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }

.pod-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #fafafa;
    border-bottom: 1px solid #E5E5E5;
}
.pod-order-header .pod-order-id {
    font-weight: 700;
    font-size: 15px;
    color: #1a1a1a;
}
.pod-order-header .pod-order-date {
    font-size: 13px;
    color: #9a9a9a;
}

.pod-order-body {
    display: flex;
    padding: 15px 20px;
    gap: 20px;
}
.pod-order-thumb {
    flex-shrink: 0;
    width: 80px; height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #FAFAFA;
}
.pod-order-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pod-order-info { flex: 1; }
.pod-order-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 6px;
}
.pod-order-meta {
    font-size: 13px;
    color: #9a9a9a;
    margin: 0 0 8px;
}
.pod-order-price {
    font-size: 18px;
    font-weight: 700;
    color: #B89A5B;
}

.pod-order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #fafafa;
    border-top: 1px solid #E5E5E5;
}

.pod-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.pod-status-pending { background: #fff3cd; color: #856404; }
.pod-status-inprogress { background: #cce5ff; color: #004085; }
.pod-status-complete { background: #d4edda; color: #155724; }
.pod-status-cancelled { background: #e2e3e5; color: #383d41; }
.pod-status-error { background: #f8d7da; color: #721c24; }

.pod-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
}
.pod-empty-state i { font-size: 50px; color: #ddd; display:block; margin-bottom:15px; }
.pod-empty-state h3 { color: #9a9a9a; font-weight: 600; margin: 0 0 10px; }
.pod-empty-state p { color: #bbb; font-size: 14px; margin: 0 0 20px; }

/* -- Blog Index (blog/index.phtml) -- */
/* ==============================================
   BLOG OFPIC - DISEÑO RENOVADO
   Colores: Gold #B89A5B, Text #1a1a1a, Surface #FAFAFA
   ============================================== */

/* Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2020 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
    background-size: 50px 50px;
}

.blog-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.blog-hero-badge {
    display: inline-block;
    background: rgba(184, 154, 91, 0.15);
    color: #B89A5B;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.blog-hero h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-hero h1 span {
    color: #B89A5B;
}

.blog-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.blog-hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.blog-hero-stat {
    text-align: center;
}

.blog-hero-stat-number {
    display: block;
    color: #B89A5B;
    font-size: 2.5rem;
    font-weight: 700;
}

.blog-hero-stat-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .blog-hero h1 { font-size: 2rem; }
    .blog-hero-stats { gap: 30px; }
    .blog-hero-stat-number { font-size: 1.8rem; }
}

/* Main Section */
.blog-section {
    padding: 60px 0 80px;
    background: #FAFAFA;
    min-height: 60vh;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Featured Article */
.blog-featured {
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.blog-featured-image {
    position: relative;
    min-height: 400px;
    background: linear-gradient(135deg, #1a1a1a 0%, #B89A5B 100%);
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.blog-featured-image .placeholder-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.3);
    font-size: 5rem;
}

.blog-featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #B89A5B;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #8a8a8a;
}

.blog-featured-category {
    background: rgba(184, 154, 91, 0.10);
    color: #B89A5B;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.blog-featured h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-featured h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-featured h2 a:hover { color: #B89A5B; }

.blog-featured-excerpt {
    color: #6B6B6B;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.blog-featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #E5E5E5;
}

.blog-featured-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-featured-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #B89A5B;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.blog-featured-author-info span { display: block; }
.blog-featured-author-name { color: #1a1a1a; font-weight: 600; font-size: 0.9rem; }
.blog-featured-author-date { color: #9a9a9a; font-size: 0.8rem; }

@media (max-width: 992px) {
    .blog-featured { grid-template-columns: 1fr; }
    .blog-featured-image { min-height: 300px; }
}

/* Layout Grid */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}

@media (max-width: 992px) {
    .blog-layout { grid-template-columns: 1fr; }
}

/* Section Title */
.blog-section-title {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.blog-section-title h2 {
    font-size: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
    margin: 0;
}

.blog-section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #B89A5B, transparent);
    margin-left: 20px;
}

/* Article Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

@media (max-width: 600px) {
    .blog-grid { grid-template-columns: 1fr; }
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.blog-card-image-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image { transform: scale(1.1); }

.blog-card-image.placeholder {
    background: linear-gradient(135deg, #2a2a2a 0%, #444444 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 3rem;
}

.blog-card-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #B89A5B;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-card-content { padding: 22px; }

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: #9a9a9a;
}

.blog-card-meta i { color: #B89A5B; margin-right: 4px; }

.blog-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #1a1a1a;
}

.blog-card h3 a { color: inherit; text-decoration: none; transition: color 0.3s; }
.blog-card h3 a:hover { color: #B89A5B; }

.blog-card-excerpt {
    color: #6B6B6B;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #E5E5E5;
}

.blog-read-more {
    color: #B89A5B;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
}

.blog-read-more:hover { gap: 12px; }
.blog-read-time { color: #aaa; font-size: 0.8rem; }

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.sidebar-widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #B89A5B;
}

.sidebar-widget-header i { color: #B89A5B; font-size: 1.1rem; }
.sidebar-widget-header h3 {
    font-size: 1rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Categories */
.category-list { list-style: none; padding: 0; margin: 0; }
.category-list li { margin-bottom: 8px; }

.category-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #5a5a5a;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.category-list a i { color: #B89A5B; width: 20px; text-align: center; }

.category-list a:hover {
    background: rgba(184, 154, 91, 0.08);
    border-color: rgba(184, 154, 91, 0.15);
    color: #B89A5B;
}

/* Popular Articles */
.popular-list { display: flex; flex-direction: column; gap: 18px; }

.popular-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    transition: transform 0.3s;
}

.popular-item:hover { transform: translateX(5px); }
.popular-item:hover .popular-title { color: #B89A5B; }

.popular-thumb {
    width: 75px;
    height: 75px;
    border-radius: 10px;
    object-fit: cover;
    background: linear-gradient(135deg, #2a2a2a 0%, #444444 100%);
    flex-shrink: 0;
}

.popular-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }

.popular-title {
    font-size: 0.9rem;
    color: #1a1a1a;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
    transition: color 0.3s;
}

.popular-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: #9a9a9a;
}

.popular-meta i { color: #B89A5B; }

/* Newsletter Widget */
.sidebar-newsletter {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2020 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.sidebar-newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(184,154,91,0.2) 0%, transparent 70%);
}

.sidebar-newsletter .sidebar-widget-header {
    border-bottom-color: rgba(255,255,255,0.2);
    position: relative;
}

.sidebar-newsletter .sidebar-widget-header i,
.sidebar-newsletter .sidebar-widget-header h3 { color: white; }

.sidebar-newsletter p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
}

.newsletter-form { display: flex; flex-direction: column; gap: 12px; position: relative; }

.newsletter-form input {
    padding: 14px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.95);
}

.newsletter-form input:focus { outline: 2px solid #B89A5B; }

.newsletter-form button {
    background: #B89A5B;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.newsletter-form button:hover { background: #A07D3F; transform: translateY(-2px); }

/* Tags */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.tags-cloud a {
    background: #FAFAFA;
    color: #6B6B6B;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.tags-cloud a:hover { background: #B89A5B; color: white; border-color: #B89A5B; }

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.blog-pagination a,
.blog-pagination span {
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.blog-pagination a {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #E5E5E5;
}

.blog-pagination a:hover { background: #B89A5B; color: white; border-color: #B89A5B; }
.blog-pagination .current { background: #B89A5B; color: white; border: 1px solid #B89A5B; }

/* Empty State */
.blog-empty {
    text-align: center;
    padding: 80px 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.blog-empty-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(184, 154, 91, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.blog-empty-icon i { font-size: 2.5rem; color: #B89A5B; }
.blog-empty h3 { color: #1a1a1a; font-size: 1.5rem; margin-bottom: 10px; }
.blog-empty p { color: #8a8a8a; font-size: 1rem; }

/* -- Blog Category (blog/categoria.phtml) -- */
/* Reutiliza estilos del index.phtml */
.blog-section {
    padding: 60px 0;
    background: #FAFAFA;
    min-height: 70vh;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
}

.blog-header h1 span {
    color: #B89A5B;
}

.blog-header p {
    font-size: 1.1rem;
    color: #6B6B6B;
    max-width: 700px;
    margin: 0 auto;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #B89A5B 0%, #A07D3F 100%);
}

.blog-card-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #8a8a8a;
}

.blog-card-category {
    background: #B89A5B;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-card h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card h2 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card h2 a:hover {
    color: #B89A5B;
}

.blog-card-excerpt {
    color: #6B6B6B;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-read-more {
    color: #B89A5B;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.blog-read-more:hover {
    gap: 10px;
}

.blog-read-time {
    color: #9a9a9a;
    font-size: 0.85rem;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #B89A5B;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5a5a5a;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s;
}

.category-list a:hover,
.category-list a.active {
    background: #FAFAFA;
    color: #B89A5B;
}

.blog-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
}

.blog-empty i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 20px;
}

.blog-empty h3 {
    color: #6B6B6B;
    margin-bottom: 10px;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.blog-pagination a,
.blog-pagination span {
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
}

.blog-pagination a {
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.blog-pagination a:hover {
    background: #B89A5B;
    color: white;
}

.blog-pagination .current {
    background: #B89A5B;
    color: white;
}

.breadcrumb-nav {
    margin-bottom: 30px;
}

.breadcrumb-nav a {
    color: #6B6B6B;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: #B89A5B;
}

/* -- Blog Article (blog/articulo.phtml) -- */
/* ==============================================
   ARTÍCULO INDIVIDUAL - ESTILOS
   ============================================== */

.article-section {
    padding: 0;
    background: #FAFAFA;
}

/* Hero del Artículo */
.article-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2020 50%, #3a2a1a 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
}

.article-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.article-breadcrumb a {
    color: white;
    text-decoration: none;
}

.article-breadcrumb a:hover {
    text-decoration: underline;
}

.article-category {
    display: inline-block;
    background: #B89A5B;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.article-hero h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 25px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .article-hero h1 {
        font-size: 1.8rem;
    }
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Contenido del Artículo */
.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
}

@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
}

.article-content {
    background: #fff;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .article-content {
        padding: 30px 20px;
    }
}

/* Tipografía del Artículo */
.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #3a3a3a;
}

.article-body h2 {
    font-size: 1.6rem;
    color: #1a1a1a;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #B89A5B;
}

.article-body h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin: 30px 0 15px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body strong {
    color: #1a1a1a;
}

.article-body blockquote {
    background: #FAFAFA;
    border-left: 4px solid #B89A5B;
    padding: 20px 25px;
    margin: 30px 0;
    font-style: italic;
    color: #5a5a5a;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
}

/* Caja de Consejo/Tip */
.tip-box {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    border-left: 4px solid #ff9800;
}

.tip-box h4 {
    color: #e65100;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tip-box p {
    margin: 0;
    color: #5d4037;
}

/* Tabla de Contenidos */
.toc-box {
    background: #FAFAFA;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 35px;
}

.toc-box h4 {
    margin-bottom: 15px;
    color: #1a1a1a;
}

.toc-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-box li {
    margin-bottom: 8px;
}

.toc-box a {
    color: #5a5a5a;
    text-decoration: none;
    font-size: 0.95rem;
}

.toc-box a:hover {
    color: #B89A5B;
}

/* Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #E5E5E5;
}

.article-tag {
    background: #F5F0E8;
    color: #6B6B6B;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
}

.article-tag:hover {
    background: #B89A5B;
    color: white;
}

/* Compartir */
.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #E5E5E5;
}

.article-share span {
    font-weight: 600;
    color: #1a1a1a;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }

/* Artículos Relacionados */
.related-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #E5E5E5;
}

.related-section h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

.related-card {
    background: #FAFAFA;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-card-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    background: linear-gradient(135deg, #B89A5B 0%, #A07D3F 100%);
}

.related-card-content {
    padding: 15px;
}

.related-card-title {
    font-size: 0.95rem;
    color: #1a1a1a;
    line-height: 1.4;
}

/* Sidebar (reutiliza estilos del index) */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #B89A5B;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5a5a5a;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s;
}

.category-list a:hover {
    background: #FAFAFA;
    color: #B89A5B;
}

.popular-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
}

.popular-item:hover .popular-title {
    color: #B89A5B;
}

.popular-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    background: linear-gradient(135deg, #B89A5B 0%, #A07D3F 100%);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.popular-info {
    flex: 1;
}

.popular-title {
    font-size: 0.9rem;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.popular-date {
    font-size: 0.8rem;
    color: #9a9a9a;
}

