/* Artistic Prints — local rebuild styles */
:root {
  --ink: #241d1a;
  --paper: #fbf7f2;
  --plaster: #f3e6e2;
  --accent: #b4472a;
  --accent-dark: #8a3520;
  --line: #e4d8d0;
  --muted: #746a63;
  --radius: 10px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0 0 .5em; line-height: 1.15; }
p { margin: 0 0 1em; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.ap-skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 16px; z-index: 100; }
.ap-skip:focus { left: 8px; top: 8px; }

.ap-shell { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Header */
.ap-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.ap-header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.ap-logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--ink); flex-shrink: 0; }
.ap-logo:hover { text-decoration: none; }
.ap-logo-mark { color: var(--accent); flex-shrink: 0; }
.ap-main-nav { display: flex; gap: 22px; flex: 1; flex-wrap: wrap; font-size: 14.5px; }
.ap-main-nav a { color: var(--ink); }
.ap-cart-link { font-size: 14.5px; font-weight: 600; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; flex-shrink: 0; }
.ap-cart-link:hover { border-color: var(--accent); text-decoration: none; }
#ap-cart-count { display: inline-block; min-width: 16px; text-align: center; }

/* Buttons */
.ap-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 600; border: 1px solid transparent; cursor: pointer; font-family: var(--font-body); transition: background .15s, color .15s, border-color .15s; }
.ap-btn-primary { background: var(--accent); color: #fff; }
.ap-btn-primary:hover { background: var(--accent-dark); text-decoration: none; }
.ap-btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.ap-btn-ghost:hover { background: var(--ink); color: #fff; text-decoration: none; }
.ap-btn[disabled] { opacity: .5; cursor: not-allowed; }
.ap-linklike { background: none; border: none; padding: 0; color: var(--accent-dark); text-decoration: underline; cursor: pointer; font: inherit; }

/* Hero */
.ap-hero { padding: 56px 0 40px; }
.ap-hero-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; color: var(--accent-dark); font-weight: 700; margin-bottom: 10px; }
.ap-hero h1 { font-size: clamp(32px, 4.4vw, 52px); max-width: 16ch; }
.ap-hero-lede { font-size: 17px; color: var(--muted); max-width: 58ch; }
.ap-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

/* Rooms grid */
.ap-rooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 40px 0; }
.ap-room-card { background: var(--plaster); border-radius: var(--radius); padding: 22px; }
.ap-room-card h3 { font-size: 20px; margin-bottom: 6px; }
.ap-room-card p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }

/* How it works */
.ap-steps { counter-reset: ap-step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.ap-steps li { counter-increment: ap-step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; padding-top: 44px; }
.ap-steps li::before { content: counter(ap-step); position: absolute; top: 16px; left: 20px; font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--accent); }

/* Product grid */
.ap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px 20px; margin: 28px 0 40px; }
.ap-tile { display: block; color: var(--ink); }
.ap-tile-frame { display: block; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--plaster); margin-bottom: 10px; }
.ap-tile-frame img { width: 100%; height: 100%; object-fit: cover; }
.ap-tile-room { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-dark); font-weight: 700; }
.ap-tile-title { font-size: 15px; font-weight: 600; margin: 4px 0 2px; line-height: 1.3; }
.ap-tile-price { font-size: 14px; color: var(--muted); }

/* Pagination */
.ap-pagination { display: flex; justify-content: center; gap: 8px; margin: 30px 0 10px; }
.ap-pagination a, .ap-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-size: 14px; }
.ap-pagination .is-current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Product detail */
.ap-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; padding: 32px 0 20px; align-items: start; }
.ap-product-photo { border-radius: var(--radius); overflow: hidden; background: var(--plaster); aspect-ratio: 4/5; }
.ap-product-photo img { width: 100%; height: 100%; object-fit: cover; }
.ap-product-info .ap-tile-room { display: block; margin-bottom: 10px; }
.ap-product-info h1 { font-size: 30px; }
.ap-product-desc { color: var(--muted); font-size: 15px; }
.ap-format-list { border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; margin: 18px 0; }
.ap-format-list label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 14px; cursor: pointer; }
.ap-format-list label:hover { background: var(--plaster); }
.ap-product-price { font-size: 26px; font-weight: 700; font-family: var(--font-display); margin: 6px 0 2px; }
.ap-price-note { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.ap-related { margin-top: 46px; }

/* Cart */
.ap-cart-list { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }
.ap-cart-item { display: flex; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: #fff; }
.ap-cart-item img { width: 72px; height: 90px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.ap-cart-item-info { flex: 1; min-width: 0; }
.ap-cart-item-title { font-weight: 600; font-size: 14.5px; }
.ap-cart-item-format { font-size: 12.5px; color: var(--muted); }
.ap-cart-item-qty { display: flex; align-items: center; gap: 8px; }
.ap-cart-item-qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 15px; }
.ap-cart-item-remove { background: none; border: none; color: var(--accent-dark); text-decoration: underline; cursor: pointer; font-size: 13px; }
.ap-cart-summary { border-top: 2px solid var(--ink); padding-top: 16px; margin-top: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 18px; font-weight: 700; }
.ap-empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }

/* Forms */
.ap-form { max-width: 560px; }
.ap-field { margin-bottom: 18px; }
.ap-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.ap-field input, .ap-field textarea, .ap-field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--font-body); font-size: 15px; background: #fff; color: var(--ink);
}
.ap-field input:focus, .ap-field textarea:focus, .ap-field select:focus { outline: none; border-color: var(--accent); }
.ap-field textarea { resize: vertical; min-height: 110px; }
.ap-error-msg { display: none; color: #b3261e; font-size: 12.5px; margin-top: 5px; }
.ap-hp-field { position: absolute; left: -9999px; top: -9999px; }
.ap-form-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.ap-alert { border-radius: var(--radius); padding: 16px 18px; margin: 0 0 20px; font-size: 14.5px; }
.ap-alert-success { background: #eaf5ea; border: 1px solid #bfe0bf; color: #1e5e20; }
.ap-alert-error { background: #fbeceb; border: 1px solid #f0c4c0; color: #8c261d; }

/* Legal pages */
.ap-legal { max-width: 720px; padding: 40px 0 60px; }
.ap-legal h1 { font-size: 30px; }
.ap-legal h2 { font-size: 19px; margin-top: 28px; }
.ap-legal p { color: var(--ink); font-size: 15px; }
.ap-kicker { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 700; color: var(--accent-dark); margin-bottom: 6px; }

/* Section generic */
.ap-section { padding: 20px 0; }

/* Footer */
.ap-footer { background: var(--ink); color: #ded4cc; margin-top: 60px; padding: 48px 0 20px; }
.ap-footer a { color: #ded4cc; }
.ap-footer h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 12px; }
.ap-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 30px; }
.ap-footer-brand .ap-logo { color: #fff; }
.ap-footer-brand p { font-size: 13.5px; color: #b7ab9f; }
.ap-footer-legalline { font-size: 12px; color: #8f8377; line-height: 1.6; }
.ap-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.ap-footer-bottom { border-top: 1px solid #3a332c; margin-top: 32px; padding-top: 18px; font-size: 12.5px; color: #8f8377; }

/* Cookie banner */
.ap-cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(0,0,0,.08); }
.ap-cookie-banner-inner { max-width: 1180px; margin: 0 auto; padding: 18px 24px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.ap-cookie-text { flex: 1; min-width: 240px; }
.ap-cookie-text p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.ap-cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Breadcrumb */
.ap-breadcrumb { font-size: 13px; color: var(--muted); padding: 16px 0 0; }

/* Checkout (/pago/) */
.ap-checkout-section { padding-bottom: 60px; }
.ap-checkout-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; margin-top: 8px; }
.ap-checkout-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.ap-checkout-card h2 { font-size: 16px; margin-bottom: 16px; }
.ap-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ap-optional { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.ap-checkout-submit { width: 100%; padding: 16px; font-size: 16px; }
.ap-pay-badges { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.ap-pay-badge { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; color: var(--muted); background: #fff; }
.ap-checkout-legal { text-align: center; margin-top: 12px; }
.ap-checkout-summary { position: sticky; top: 90px; }
.ap-summary-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.ap-summary-box h3 { font-size: 15px; margin-bottom: 14px; }
.ap-checkout-line { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ap-checkout-line img { width: 48px; height: 60px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); flex-shrink: 0; }
.ap-checkout-line-info { flex: 1; min-width: 0; }
.ap-checkout-line-title { font-size: 13px; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-checkout-line-meta { font-size: 12px; color: var(--muted); }
.ap-checkout-line-price { font-size: 13px; font-weight: 600; flex-shrink: 0; }
.ap-summary-totals { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; }
.ap-summary-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.ap-summary-total { font-size: 16px; font-weight: 700; color: var(--ink); border-top: 2px solid var(--line); padding-top: 10px; margin-top: 4px; }
.ap-summary-total span:last-child { color: var(--accent-dark); }
.ap-trust-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.ap-trust-list li { padding-left: 18px; position: relative; }
.ap-trust-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 700; }
.ap-footer-paybadges { display: flex; gap: 6px; margin-top: 8px; }
.ap-footer-paybadges .ap-pay-badge { color: #b7ab9f; border-color: #4a423a; background: transparent; }

@media (max-width: 900px) {
  .ap-footer-grid { grid-template-columns: 1fr 1fr; }
  .ap-product { grid-template-columns: 1fr; }
  .ap-checkout-grid { grid-template-columns: 1fr; }
  .ap-checkout-summary { position: static; top: auto; order: -1; }
  .ap-field-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ap-main-nav { display: none; }
  .ap-footer-grid { grid-template-columns: 1fr; }
}
