/*
Theme Name: Artpro
Theme URI: https://artpro.mx
Author: Artpro
Author URI: https://instagram.com/artprommx
Description: Tema personalizado para Artpro - Estampado DTF y Grabado Láser
Version: 2.0
License: GPL v2 or later
Text Domain: artpro
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #0d0d0d;
  --white: #ffffff;
  --gray: #f5f5f5;
  --gray-dark: #333333;
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --green: #10b981;
  --red: #ef4444;
  --yellow: #f59e0b;
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--black);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

ul {
  list-style: none;
}

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

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--black);
}

.btn-yellow:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 50px;
  font-size: 18px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.95);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links li a {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s ease;
}

.nav-links li a:hover,
.nav-links li.current-menu-item a,
.nav-links li a.active {
  color: var(--blue);
}

.nav-links li a:hover::after,
.nav-links li.current-menu-item a::after,
.nav-links li a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--blue);
  transition: all 0.3s ease;
}

/* ===== HERO ===== */
.hero {
  height: 75vh;
  min-height: 420px;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #0d0d0d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(239, 68, 68, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 70% 20%, rgba(245, 158, 11, 0.03) 0%, transparent 50%);
  animation: heroGlow 12s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, 3%) scale(1.1); }
  100% { transform: translate(-2%, -2%) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero-logo {
  height: 260px;
  width: auto;
  margin: 0 auto 0;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 10px;
}

.hero-content .tagline {
  font-size: 20px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--yellow), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 6px;
  text-transform: uppercase;
}

.hero-content p {
  font-size: 18px;
  color: #aaa;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== ABOUT ===== */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text h2 span {
  color: var(--blue);
}

.about-text p {
  color: #555;
  margin-bottom: 20px;
  font-size: 16px;
}

/* ===== HERO SMALL ===== */
.hero-sm {
  height: 40vh;
  min-height: 300px;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-sm::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 30% 40%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
}

.hero-sm h1 {
  font-size: 48px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
  z-index: 1;
}

.hero-sm p {
  background: linear-gradient(90deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.service-card-img {
  height: 250px;
  overflow: hidden;
}

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

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 30px;
}

.service-card-body h3 {
  font-size: 22px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-card-body .price-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
}

.service-card-body .price-badge.badge-blue {
  background: var(--blue);
}

.service-card-body .price-badge.badge-red {
  background: var(--red);
}

.service-card-body .price-badge.badge-yellow {
  background: var(--yellow);
  color: var(--black);
}

.service-card-body .badge-new {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 8px;
  vertical-align: middle;
  animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.service-card-body p {
  color: #555;
  margin-bottom: 15px;
}

.service-card-body ul li {
  padding: 5px 0;
  color: #555;
  font-size: 14px;
}

.service-card-body ul li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  margin-right: 10px;
}

/* ===== PRICES ===== */
.prices-section {
  background: var(--gray);
}

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

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

.price-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
  position: relative;
}

.price-card.featured {
  border: 2px solid var(--blue);
  transform: scale(1.05);
}

.price-card.featured .price-badge-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-card.featured-red {
  border: 2px solid var(--red);
  transform: scale(1.05);
}

.price-card.featured-red .price-badge-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  padding: 4px 20px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulseBadge 2s ease-in-out infinite;
}

.price-card:hover {
  transform: translateY(-5px);
}

.price-card.featured:hover,
.price-card.featured-red:hover {
  transform: translateY(-5px) scale(1.05);
}

.price-card h3 {
  font-size: 20px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-card .price {
  font-size: 42px;
  font-weight: 800;
  color: var(--blue);
  margin: 15px 0;
}

.price-card .price.price-green {
  color: var(--green);
}

.price-card .price.price-red {
  color: var(--red);
}

.price-card .price span {
  font-size: 16px;
  font-weight: 400;
  color: #999;
}

.price-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: #555;
}

.price-card .btn {
  margin-top: 10px;
}

.tier-pricing {
  background: #f0f7ff;
  border-radius: 6px;
  padding: 12px;
  margin: 15px 0;
  text-align: center;
  border-left: 3px solid var(--blue);
}

.tier-pricing p {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tier-pricing .tier-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 14px;
}

.tier-pricing .tier-item {
  background: var(--white);
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid #dbeafe;
  color: var(--gray-dark);
}

.tier-pricing .tier-item strong {
  color: var(--blue);
}

/* ===== GALLERY ===== */
.gallery-section {
  background: var(--white);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-filters button {
  padding: 10px 24px;
  border: 2px solid var(--black);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.gallery-filters button:hover,
.gallery-filters button.active {
  background: var(--black);
  color: var(--white);
}

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

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-item .overlay span {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--blue);
  padding: 8px 20px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 4px;
}

.lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--white);
  font-size: 40px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox .close:hover {
  color: var(--blue);
}

/* ===== CONTACT ===== */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 28px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-info > p {
  color: #555;
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-detail .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail .icon.icon-whatsapp { background: #25d366; }
.contact-detail .icon.icon-email { background: var(--blue); }
.contact-detail .icon.icon-location { background: var(--green); }
.contact-detail .icon.icon-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.contact-detail .icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.contact-detail .detail h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 4px;
}

.contact-detail .detail p,
.contact-detail .detail a {
  font-size: 16px;
  margin-bottom: 0;
  color: var(--black);
}

.contact-detail .detail a:hover {
  color: var(--blue);
}

.contact-form {
  background: var(--gray);
  padding: 40px;
  border-radius: 8px;
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  font-family: var(--font-primary);
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group .file-label {
  display: inline-block;
  padding: 10px 20px;
  background: var(--black);
  color: var(--white);
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

.form-group .file-label:hover {
  background: var(--gray-dark);
}

.form-group input[type="file"] {
  display: none;
}

.file-name {
  font-size: 13px;
  color: #999;
  margin-top: 5px;
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--gray);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--blue);
}

.faq-question .arrow {
  transition: transform 0.3s ease;
  font-size: 12px;
  color: var(--blue);
}

.faq-item.active .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 25px 20px;
}

.faq-answer p {
  color: #555;
  font-size: 15px;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer h4.footer-artpro { color: var(--blue); }
.footer h4.footer-links-title { color: var(--green); }
.footer h4.footer-contact-title { color: var(--yellow); }

.footer p {
  color: #999;
  font-size: 14px;
  line-height: 1.8;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #999;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 25px;
  text-align: center;
  color: #666;
  font-size: 13px;
}

/* ===== WORDPRESS CORE ===== */
.wp-caption,
.wp-caption-text,
.sticky,
.gallery-caption,
.bypostauthor,
.alignright,
.alignleft,
.aligncenter {
  /* Keep WP classes */
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .prices-grid,
  .prices-grid-2rows {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .price-card.featured,
  .price-card.featured-red {
    transform: none;
  }
  .price-card.featured:hover,
  .price-card.featured-red:hover {
    transform: translateY(-5px);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(13, 13, 13, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .hero-logo {
    height: 160px;
  }
  .hero-content h1 {
    font-size: 36px;
  }
  .hero-content .tagline {
    font-size: 14px;
    letter-spacing: 3px;
  }
  .hero-content p {
    font-size: 15px;
  }
  .section-title {
    font-size: 28px;
  }
  .hero-sm h1 {
    font-size: 32px;
  }
  .hero-sm {
    height: 30vh;
    min-height: 180px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .contact-form {
    padding: 25px;
  }
}

/* ===== KADENCE BLOCKS ===== */
.kt-row-layout-inner,
.wp-block-kadence-rowlayout {
  max-width: 100%;
}

.wp-block-kadence-rowlayout .kt-row-column-wrap {
  padding-left: 20px;
  padding-right: 20px;
}

.entry-content .wp-block-kadence-rowlayout.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.editor-styles-wrapper .wp-block {
  max-width: 1200px;
}

/* ===== MOCKUP ===== */
.mockup-section {
  background: var(--gray);
}

.mockup-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

.mockup-preview {
  position: sticky;
  top: 100px;
}

.mockup-canvas-wrap {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  max-width: 550px;
  margin: 0 auto;
}

.mockup-canvas-wrap canvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.mockup-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #999;
  font-size: 16px;
}

.mockup-controls {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.mockup-controls h3 {
  font-size: 22px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  text-align: center;
}

.control-group {
  margin-bottom: 25px;
}

.control-group:last-of-type {
  margin-bottom: 0;
}

.control-group > label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  margin-bottom: 10px;
}

.position-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}

.pos-btn {
  padding: 10px;
  border: 2px solid #ddd;
  background: var(--white);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pos-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.pos-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  outline: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.swatch:hover {
  transform: scale(1.15);
}

.swatch.active {
  border-color: var(--black);
  transform: scale(1.15);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--black);
}

.upload-area {
  position: relative;
}

.upload-area input[type="file"] {
  display: none;
}

.upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 25px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #999;
  font-size: 14px;
  text-align: center;
}

.upload-label:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.upload-label svg {
  color: var(--blue);
}

.upload-preview {
  display: none;
  position: relative;
  align-items: center;
  gap: 12px;
  background: var(--gray);
  border-radius: 8px;
  padding: 10px;
}

.upload-preview img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
}

.remove-design {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.remove-design:hover {
  background: #dc2626;
}

.mockup-whatsapp {
  margin-top: 5px;
}

.cotizar-help {
  font-size: 14px;
  font-weight: 700;
  color: #d32f2f;
  margin-top: 10px;
  line-height: 1.6;
  text-align: center;
}

.arrow-grid {
  display: grid;
  grid-template-columns: 40px 40px 40px;
  grid-template-rows: 40px 40px;
  gap: 4px;
  justify-content: center;
  margin: 10px 0;
}

.arrow-btn {
  width: 40px;
  height: 40px;
  border: 2px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-weight: bold;
}

.arrow-btn:hover {
  background: var(--blue);
  color: var(--white);
}

.arrow-btn:active {
  transform: scale(0.92);
}

.arrow-btn[data-dir="up"] { grid-column: 2; grid-row: 1; }
.arrow-btn[data-dir="left"] { grid-column: 1; grid-row: 2; }
.arrow-btn[data-dir="down"] { grid-column: 2; grid-row: 2; }
.arrow-btn[data-dir="right"] { grid-column: 3; grid-row: 2; }

.size-slider-wrap {
  margin-top: 12px;
}

.size-label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

#sizeSlider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: #ddd;
  border-radius: 3px;
  outline: none;
}

#sizeSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  border: 2px solid var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

#sizeSlider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  border: 2px solid var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* ===== CTA + INSTAGRAM SECTION ===== */
.cta-instagram-section {
  text-align: center;
}

.cta-instagram-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.cta-left {
  text-align: center;
}

.instagram-right {
  background: var(--white);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.instagram-box-title {
  margin: 0 0 15px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.instagram-box-title a {
  color: var(--black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.instagram-box-title a:hover {
  color: #e1306c;
}

.instagram-feed {
  margin-bottom: 15px;
  min-height: 200px;
}

.ig-post {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
}

.ig-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ig-post:hover img {
  transform: scale(1.08);
}

.ig-post-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ig-post:hover .ig-post-overlay {
  opacity: 1;
}

.ig-post-overlay span {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.ig-post-placeholder .ig-post-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.4);
}

.btn-instagram {
  display: inline-block;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #f77737);
  color: var(--white);
  padding: 10px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.btn-instagram:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  color: var(--white);
}

@media (max-width: 992px) {
  .cta-instagram-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 1200px) {
  .mockup-layout {
    grid-template-columns: 1fr;
  }
  .mockup-preview {
    position: static;
  }
}

@media (max-width: 768px) {
  .mockup-controls {
    padding: 20px;
  }
  .mockup-controls h3 {
    font-size: 18px;
    margin-bottom: 18px;
  }
  .mockup-canvas-wrap {
    padding: 10px;
    max-width: 350px;
    text-align: center;
  }
  .mockup-canvas-wrap canvas {
    max-height: 55vh;
    width: auto;
    max-width: 100%;
  }
  .pos-btn {
    padding: 12px 8px;
    font-size: 12px;
  }
  .swatch {
    width: 42px;
    height: 42px;
  }
  .arrow-btn {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
  .control-group {
    margin-bottom: 18px;
  }
  .control-group > label {
    font-size: 12px;
  }
  .upload-label {
    padding: 25px;
  }
  .upload-label span {
    font-size: 13px;
  }
  .cotizar-help {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .mockup-canvas-wrap {
    max-width: 280px;
  }
  .mockup-canvas-wrap canvas {
    max-height: 50vh;
    width: auto;
    max-width: 100%;
  }
  .mockup-controls {
    padding: 15px;
  }
  .pos-btn {
    font-size: 11px;
    padding: 10px 6px;
  }
  .swatch {
    width: 36px;
    height: 36px;
  }
  .upload-label {
    padding: 18px;
  }
  .upload-label span {
    font-size: 12px;
  }
  .arrow-btn {
    width: 42px;
    height: 42px;
  }
  .hero-sm {
    height: 25vh;
    min-height: 140px;
  }
  .hero-sm h1 {
    font-size: 24px;
  }
}
