@font-face {
  font-family: 'DenimChicLogo';
  src: url('fuente_logo/c2d12a2a5f067785adb592430ed4f541.woff2') format('woff2'),
       url('fuente_logo/c2d12a2a5f067785adb592430ed4f541.woff') format('woff'),
       url('fuente_logo/c2d12a2a5f067785adb592430ed4f541.ttf') format('truetype');
  font-display: swap;
}
:root {
  --pink-1: #f05c9f;
  --pink-2: #ee5d9f;
  --pink-3: #f7dfe9;
  --pink-soft: #f9dfe9;
  --bg: #f2f2f2;
  --panel: #f7f7f7;
  --card: #ffffff;
  --line: #e7e4e5;
  --text: #2b2b2b;
  --muted: #8a8a8a;
  --muted-2: #6e6e6e;
  --shadow: rgba(26, 26, 26, 0.08);
  --store-bg: #f5f3f1;
  --store-dark: #181818;
  --store-gold: #c8a64b;
  --store-text: #1d1d1d;
  --store-soft: #6f6f6f;
  --store-card: #ffffff;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; min-height: 100%; font-family: "Segoe UI", Tahoma, sans-serif; background: var(--store-bg); color: var(--text); }
body { margin: 0; background: #f7f5f2; }
img { max-width: 100%; display: block; }
button, a, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.store-body { min-height: 100vh; }
.containerwide { width: min(1200px, calc(100% - 36px)); margin: 0 auto; }
.store-header { background: rgba(255,255,255,0.82); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(24,24,24,0.06); position: sticky; top: 0; z-index: 20; }
.header-topbar { background: #171717; color: rgba(255,255,255,0.85); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.header-topbar .containerwide { display: flex; justify-content: center; gap: 32px; min-height: 36px; align-items: center; }
.nav-row { display: flex; align-items: center; justify-content: space-between; min-height: 90px; gap: 24px; }
.brand-store { display: inline-flex; align-items: center; gap: 12px; color: var(--store-text); text-decoration: none; font-weight: 800; letter-spacing: 0.22em; font-size: 1.05rem; }
.site-logo { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(24,24,24,0.1); }
.store-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.store-nav a { color: var(--store-text); text-decoration: none; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; background: #fff; border: 1px solid rgba(24,24,24,0.08); border-radius: 50%; cursor: pointer; font-size: 0.8rem; color: var(--store-text); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 800; }
.login-btn { width: auto; min-width: 108px; gap: 8px; padding: 0 14px; border-radius: 999px; letter-spacing: 0; }
.login-btn .nav-svg { flex: 0 0 auto; }
.login-btn span { line-height: 1; white-space: nowrap; }
.logout-action { width: auto; min-width: 92px; gap: 8px; padding: 0 14px; border-radius: 999px; background: #fff; color: #171717; border-color: rgba(24,24,24,0.18); }
.logout-action .nav-svg { flex: 0 0 auto; }
.logout-action span { line-height: 1; white-space: nowrap; }
.icon-btn.cart { position: relative; background: #171717; color: #fff; }
.icon-btn.cart span { position: absolute; top: -6px; right: -4px; min-width: 18px; height: 18px; padding: 2px 5px; border-radius: 999px; background: var(--pink-1); color: white; font-size: 0.65rem; display: flex; align-items: center; justify-content: center; }
.store-main { padding: 42px 0 64px; }
.hero-banner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center; padding: 24px 0 12px; }
.eyebrow { margin: 0 0 14px; color: var(--pink-2); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; font-weight: 700; }
.hero-text h1 { margin: 0; font-size: clamp(2.8rem, 5vw, 5rem); line-height: 0.96; max-width: 560px; color: var(--store-text); }
.hero-text p { margin: 22px 0 0; max-width: 500px; color: var(--store-soft); line-height: 1.7; font-size: 1.05rem; }
.hero-buttons { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.primary-btn, .secondary-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 700; letter-spacing: 0.04em; }
.primary-btn { background: var(--store-dark); color: #fff; border: 0; cursor: pointer; }
.secondary-btn { background: transparent; color: var(--store-dark); border: 1px solid rgba(19,19,19,0.2); cursor: pointer; }
.hero-image { min-height: 500px; display: flex; align-items: stretch; }
.image-card { width: 100%; border-radius: 24px; background: linear-gradient(135deg, rgba(25,25,25,0.12), rgba(25,25,25,0.08)), url('https://images.unsplash.com/photo-1529139574466-a303027c1d8b?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat; position: relative; overflow: hidden; box-shadow: 0 20px 36px rgba(24,24,24,0.08); }
.large-card::before, .product-image::before, .editorial-image::before { content: ""; position: absolute; inset: 12% 20% 10% 12%; border-radius: 26px 26px 38px 38px; background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(18,18,18,0.08)); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04); pointer-events: none; }
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 14px 0 18px; }
.highlight-card { background: rgba(255,255,255,0.6); border: 1px solid rgba(0,0,0,0.06); border-radius: 20px; padding: 24px 22px; }
.number { display: inline-block; font-size: 0.72rem; letter-spacing: 0.14em; color: var(--store-gold); font-weight: 700; margin-bottom: 10px; }
.highlight-card h3 { margin: 0 0 8px; font-size: 1.2rem; color: var(--store-text); }
.highlight-card p { margin: 0; color: var(--store-soft); line-height: 1.6; }
.featured-grid { padding-top: 26px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 16px; }
.section-head h2 { margin: 0; font-size: clamp(1.7rem, 2vw, 2.6rem); color: var(--store-text); }
.section-head a { color: var(--store-text); text-decoration: none; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; }
.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.product-card { background: var(--store-card); border-radius: 20px; overflow: hidden; border: 1px solid rgba(19,19,19,0.05); }
.product-image { position: relative; height: 310px; background-size: cover; background-position: center; background-repeat: no-repeat; overflow: hidden; }
.product-image.has-second-image::after { content: ""; position: absolute; inset: 0; background-image: var(--product-alt-image); background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0; transition: opacity .32s ease; }
.product-card:hover .product-image.has-second-image::after, .product-card:focus-within .product-image.has-second-image::after { opacity: 1; }
.product-meta { padding: 16px 18px 20px; }
.brand-tag { display: inline-block; color: var(--store-soft); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.7rem; font-weight: 700; }
.product-meta h3 { margin: 10px 0 14px; font-size: 1.15rem; line-height: 1.3; color: var(--store-text); }
.product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--store-soft); font-size: 0.75rem; }
.product-bottom strong { color: var(--store-text); font-size: 1rem; }
.stock-line { margin-top: 10px; color: var(--store-soft); font-size: 0.78rem; }
.empty-products { padding: 28px; background: rgba(255,255,255,0.68); border: 1px solid rgba(0,0,0,0.06); border-radius: 18px; color: var(--store-soft); }
.editorial-block { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; padding-top: 34px; }
.editorial-copy { background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.2)); border: 1px solid rgba(0,0,0,0.06); border-radius: 28px; padding: 42px 32px; }
.editorial-copy h2 { margin: 0; font-size: clamp(2rem, 2.8vw, 3.2rem); line-height: 1.1; color: var(--store-text); }
.editorial-copy p { color: var(--store-soft); line-height: 1.8; }
.editorial-image { position: relative; min-height: 440px; border-radius: 28px; background: linear-gradient(135deg, rgba(26,26,26,0.1), rgba(26,26,26,0.08)), url('https://images.unsplash.com/photo-1496747611176-843222e1e57c?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat; overflow: hidden; }
.brands-block { padding-top: 42px; }
.brand-row { display: flex; flex-wrap: wrap; gap: 18px; padding: 20px; background: #171717; color: rgba(255,255,255,0.72); border-radius: 18px; justify-content: center; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.7rem; }

.admin-body { background: var(--store-bg); color: var(--store-text); }
.admin-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 100vh; }
.admin-sidebar { background: rgba(255,255,255,0.82); border-right: 1px solid rgba(24,24,24,0.08); padding: 28px 20px; position: sticky; top: 0; height: 100vh; }
.admin-brand { display: flex; align-items: center; gap: 12px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid rgba(24,24,24,0.08); }
.admin-brand-mark { width: 44px; height: 44px; border-radius: 50%; background: #171717; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; overflow: hidden; flex: 0 0 auto; }
.admin-brand-mark.has-logo { background: #fff; border: 1px solid rgba(24,24,24,0.1); }
.admin-brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.admin-brand-name { font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.admin-nav-label { color: var(--pink-1); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.14em; font-weight: 800; margin: 24px 0 10px; }
.admin-nav button, .admin-nav a { width: 100%; display: grid; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 46px; padding: 10px 12px; margin-bottom: 8px; border: 0; border-radius: 12px; background: transparent; color: var(--store-text); text-decoration: none; font: inherit; cursor: pointer; text-align: left; }
.admin-nav button.active { background: #171717; color: #fff; }
.admin-main { padding: 34px; }
.admin-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.admin-header h1 { margin: 0; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1; }
.admin-header p { margin: 10px 0 0; color: var(--store-soft); }
.status-pill { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,0.8); border: 1px solid rgba(24,24,24,0.08); color: var(--store-soft); font-size: 0.86rem; }
.admin-section { display: none; }
.admin-section.active { display: block; }
.admin-grid { display: grid; grid-template-columns: 360px minmax(0,1fr); gap: 22px; align-items: start; }
.admin-card { background: rgba(255,255,255,0.78); border: 1px solid rgba(24,24,24,0.08); border-radius: 18px; padding: 22px; box-shadow: 0 18px 34px rgba(24,24,24,0.06); }
.admin-card h2 { margin: 0 0 16px; font-size: 1.2rem; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; margin-bottom: 7px; color: var(--store-soft); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.form-field input, .form-field textarea, .form-field select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid rgba(24,24,24,0.12); border-radius: 10px; background: #fff; color: var(--store-text); }
.form-field textarea { min-height: 92px; resize: vertical; }
.inline-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.check-row { display: flex; align-items: center; gap: 10px; margin: 8px 0 16px; color: var(--store-soft); }
.check-row input { width: 18px; height: 18px; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.admin-btn { min-height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: #171717; color: #fff; cursor: pointer; font-weight: 800; }
.admin-btn.secondary { background: transparent; color: var(--store-text); border: 1px solid rgba(24,24,24,0.18); }
.admin-btn.danger { background: #b42318; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.admin-table th, .admin-table td { text-align: left; padding: 13px 12px; border-bottom: 1px solid rgba(24,24,24,0.08); vertical-align: middle; }
.admin-table th { color: var(--store-soft); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; }
.row-actions { display: flex; gap: 8px; }
.icon-action { min-width: 34px; height: 34px; border: 1px solid rgba(24,24,24,0.12); background: #fff; border-radius: 50%; cursor: pointer; }
.preview-img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; background: #eee; }
.metric-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-bottom: 22px; }
.metric-box { background: rgba(255,255,255,0.78); border: 1px solid rgba(24,24,24,0.08); border-radius: 16px; padding: 18px; }
.metric-box span { color: var(--store-soft); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }
.metric-box strong { display: block; margin-top: 8px; font-size: 1.8rem; }
.notice { margin-bottom: 18px; padding: 13px 16px; border-radius: 12px; background: #e8f6ee; color: #17633a; border: 1px solid #b9dfc8; display: none; }
.notice.show { display: block; }

@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-banner, .editorial-block, .admin-grid { grid-template-columns: 1fr; } .metric-strip { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 760px) { .nav-row { min-height: 74px; flex-wrap: wrap; justify-content: center; padding: 12px 0; } .header-topbar .containerwide { gap: 12px; flex-wrap: wrap; padding: 8px 0; } .products-grid, .highlights, .metric-strip { grid-template-columns: 1fr; } .hero-text h1 { font-size: 2.6rem; } .admin-layout { grid-template-columns: 1fr; } .admin-sidebar { position: static; height: auto; } .admin-main { padding: 22px; } .admin-header { flex-direction: column; } .inline-fields { grid-template-columns: 1fr; } }

.profit-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 8px 0 16px; }
.profit-preview div { background: #171717; color: #fff; border-radius: 14px; padding: 14px; }
.profit-preview span { display: block; color: rgba(255,255,255,0.62); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.profit-preview strong { font-size: 1.35rem; }
.product-description { margin: 0 0 12px; color: var(--store-soft); line-height: 1.5; font-size: 0.86rem; }
.variant-line { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.variant-pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: #f3efeb; color: var(--store-soft); font-size: 0.74rem; }
.auth-modal { position: fixed; inset: 0; background: rgba(17,17,17,0.45); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 100; }
.auth-modal.show { display: flex; }
.auth-card { width: min(460px, 100%); background: #fff; border-radius: 18px; border: 1px solid rgba(24,24,24,0.08); box-shadow: 0 24px 60px rgba(0,0,0,0.22); padding: 24px; }
.auth-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.auth-head h2 { margin: 0; color: var(--store-text); }
.auth-close { width: 38px; height: 38px; border: 1px solid rgba(24,24,24,0.1); background: #fff; border-radius: 50%; cursor: pointer; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.auth-tabs button { min-height: 42px; border: 1px solid rgba(24,24,24,0.12); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 800; }
.auth-tabs button.active { background: #171717; color: #fff; }
.auth-form { display: none; }
.auth-form.active { display: block; }
.auth-message { margin-top: 12px; color: #b42318; min-height: 20px; font-size: 0.9rem; }
.user-chip { display: none; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid rgba(24,24,24,0.08); color: var(--store-text); font-size: 0.78rem; font-weight: 800; }
.user-chip.show { display: inline-flex; }
@media (max-width: 760px) { .profit-preview { grid-template-columns: 1fr; } .auth-card { padding: 20px; } }

.store-section-block { padding-top: 38px; scroll-margin-top: 130px; }
.store-section-copy { margin: -8px 0 18px; color: var(--store-soft); line-height: 1.6; max-width: 620px; }
.store-section-block[hidden] { display: none; }
.section-products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1100px) { .section-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .section-products-grid { grid-template-columns: 1fr; } }

.report-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.report-card { background: #fff; border: 1px solid rgba(24,24,24,0.08); border-radius: 16px; padding: 18px; box-shadow: 0 12px 28px rgba(24,24,24,0.05); }
.report-card span { color: var(--pink-1); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 800; }
.report-card strong { display: block; margin: 10px 0; font-size: 1.7rem; color: var(--store-text); }
.report-card p { margin: 7px 0; color: var(--store-soft); }
.best-product { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(24,24,24,0.08); color: var(--store-text); line-height: 1.5; }
@media (max-width: 1100px) { .report-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 760px) { .report-grid { grid-template-columns: 1fr; } }

.ticket-modal { position: fixed; inset: 0; background: rgba(17,17,17,0.48); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 120; }
.ticket-modal.show { display: flex; }
.ticket-card { width: min(460px, 100%); background: #fff; border-radius: 18px; border: 1px solid rgba(24,24,24,0.08); box-shadow: 0 24px 60px rgba(0,0,0,0.22); padding: 22px; }
.ticket-preview { display: flex; justify-content: center; background: #f7f5f2; border-radius: 14px; padding: 16px; margin-bottom: 14px; }
.ticket-paper { width: 280px; background: #fff; color: #171717; text-align: center; padding: 18px; border: 1px dashed rgba(24,24,24,0.25); }
.ticket-paper img { max-width: 86px; max-height: 86px; object-fit: contain; margin: 0 auto 8px; }
.ticket-paper h3 { margin: 8px 0; }
.ticket-paper p { margin: 6px 0; font-size: 0.9rem; }
.ticket-paper hr { border: 0; border-top: 1px dashed rgba(24,24,24,0.3); margin: 12px 0; }

.search-modal { position: fixed; inset: 0; background: rgba(17,17,17,0.45); display: none; align-items: flex-start; justify-content: center; padding: 90px 20px 20px; z-index: 110; }
.search-modal.show { display: flex; }
.search-card { width: min(640px, 100%); background: #fff; border-radius: 18px; border: 1px solid rgba(24,24,24,0.08); box-shadow: 0 24px 60px rgba(0,0,0,0.22); padding: 24px; }
.search-results { display: grid; gap: 10px; margin-top: 12px; max-height: 430px; overflow: auto; }
.search-result { width: 100%; display: grid; grid-template-columns: 58px minmax(0,1fr) auto; gap: 12px; align-items: center; text-align: left; border: 1px solid rgba(24,24,24,0.08); border-radius: 12px; background: #fff; padding: 10px; cursor: pointer; }
.search-result:hover { border-color: var(--pink-1); background: #fff7fb; }
.search-result img { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; background: #eee; }
.search-result span { display: grid; gap: 4px; min-width: 0; }
.search-result b { color: var(--store-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-result small { color: var(--store-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-result strong { color: var(--store-text); font-size: 0.95rem; }
.search-empty { padding: 18px; border: 1px dashed rgba(24,24,24,0.16); border-radius: 12px; color: var(--store-soft); text-align: center; }
@media (max-width: 640px) { .search-modal { padding-top: 70px; } .search-result { grid-template-columns: 48px minmax(0,1fr); } .search-result strong { grid-column: 2; } .search-result img { width: 48px; height: 48px; } }

.nav-svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Responsive polish layer */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
[hidden] { display: none !important; }
button, input, textarea, select { max-width: 100%; }

.store-nav a, .admin-nav button, .admin-nav a, .primary-btn, .secondary-btn, .admin-btn { white-space: nowrap; }
.product-card, .highlight-card, .admin-card, .metric-box, .report-card { min-width: 0; }
.product-meta h3, .section-head h2, .admin-header h1, .hero-text h1 { overflow-wrap: anywhere; }

.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-table { min-width: 760px; }
.admin-table th, .admin-table td { white-space: nowrap; }
.admin-table td:nth-child(2) { white-space: normal; min-width: 180px; }

@media (max-width: 1180px) {
  .containerwide { width: min(100% - 28px, 1080px); }
  .admin-layout { grid-template-columns: 240px minmax(0, 1fr); }
  .admin-sidebar { width: auto; padding: 22px 14px; }
  .admin-main { padding: 26px; }
  .admin-grid { grid-template-columns: 1fr; }
  .products-grid, .section-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-banner { grid-template-columns: 1fr 0.9fr; }
  .hero-image { min-height: 420px; }
}

@media (max-width: 920px) {
  .containerwide { width: min(100% - 24px, 820px); }
  .header-topbar .containerwide { gap: 14px; justify-content: center; text-align: center; }
  .nav-row { min-height: auto; padding: 14px 0; flex-wrap: wrap; justify-content: center; }
  .brand-store { width: 100%; justify-content: center; text-align: center; }
  .store-nav { order: 3; width: 100%; gap: 10px; overflow-x: auto; justify-content: flex-start; padding: 4px 2px 2px; scrollbar-width: thin; }
  .store-nav a { flex: 0 0 auto; padding: 9px 12px; background: rgba(255,255,255,0.72); border: 1px solid rgba(24,24,24,0.08); border-radius: 999px; }
  .nav-actions { justify-content: center; }
  .hero-banner, .editorial-block { grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .hero-text h1, .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-image, .editorial-image { min-height: 360px; }
  .highlights { grid-template-columns: repeat(3, minmax(190px, 1fr)); overflow-x: auto; padding-bottom: 10px; }
  .products-grid, .section-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .admin-layout { display: block; }
  .admin-sidebar { position: static; height: auto; border-right: 0; border-bottom: 1px solid rgba(24,24,24,0.08); }
  .admin-brand { margin-bottom: 16px; padding-bottom: 16px; }
  .admin-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .admin-nav-label { grid-column: 1 / -1; margin: 12px 0 2px; }
  .admin-nav button, .admin-nav a { width: 100%; display: grid; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 46px; padding: 10px 12px; margin-bottom: 8px; border: 0; border-radius: 12px; background: transparent; color: var(--store-text); text-decoration: none; font: inherit; cursor: pointer; text-align: left; }
  .admin-nav button span, .admin-nav a span { display: none; }
  .admin-main { padding: 22px; }
  .admin-header { align-items: stretch; }
  .metric-strip, .report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .containerwide { width: min(100% - 18px, 560px); }
  .header-topbar { font-size: 0.62rem; }
  .header-topbar .containerwide { min-height: auto; padding: 7px 0; gap: 8px; }
  .nav-row { gap: 12px; }
  .brand-store { font-size: 0.9rem; letter-spacing: 0.16em; }
  .site-logo { width: 160px; height: 160px; }
  .icon-btn { width: 38px; height: 38px; }
  .store-main { padding: 24px 0 44px; }
  .hero-banner { gap: 18px; padding-top: 8px; }
  .hero-text h1 { font-size: clamp(2.2rem, 14vw, 3.4rem); line-height: 1; }
  .hero-text p { font-size: 0.98rem; line-height: 1.6; }
  .hero-buttons { gap: 10px; }
  .primary-btn, .secondary-btn { width: 100%; min-height: 46px; padding: 0 16px; }
  .hero-image, .editorial-image { min-height: 300px; }
  .image-card, .editorial-image, .editorial-copy { border-radius: 18px; }
  .highlights { grid-template-columns: 1fr; overflow: visible; }
  .products-grid, .section-products-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-image { height: 260px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .brand-row { border-radius: 14px; padding: 16px; gap: 10px; }

  .admin-main { padding: 16px 12px 28px; }
  .admin-header h1 { font-size: 2rem; }
  .admin-header p { font-size: 0.95rem; }
  .status-pill { width: 100%; justify-content: center; }
  .admin-nav { grid-template-columns: 1fr; }
  .admin-nav button, .admin-nav a { width: 100%; display: grid; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 46px; padding: 10px 12px; margin-bottom: 8px; border: 0; border-radius: 12px; background: transparent; color: var(--store-text); text-decoration: none; font: inherit; cursor: pointer; text-align: left; }
  .metric-strip, .report-grid, .inline-fields, .profit-preview { grid-template-columns: 1fr; }
  .admin-card { padding: 16px; border-radius: 14px; }
  .admin-actions { display: grid; grid-template-columns: 1fr; }
  .admin-btn { width: 100%; justify-content: center; text-align: center; }
  .form-field input, .form-field textarea, .form-field select { min-height: 46px; font-size: 16px; }
  .admin-table { min-width: 680px; font-size: 0.86rem; }
  .row-actions { min-width: 112px; }
  .auth-card, .search-card, .ticket-card { border-radius: 14px; padding: 18px; }
  .auth-tabs { grid-template-columns: 1fr; }
  .search-modal, .auth-modal, .ticket-modal { padding: 64px 12px 12px; align-items: flex-start; }
}

@media (max-width: 380px) {
  .brand-store { letter-spacing: 0.1em; }
  .hero-text h1 { font-size: 2rem; }
  .product-image { height: 230px; }
  .admin-header h1 { font-size: 1.7rem; }
}


.add-cart-btn { margin-top: 12px; width: 100%; min-height: 42px; border: 0; border-radius: 999px; background: #171717; color: #fff; font-weight: 800; cursor: pointer; }
.add-cart-btn:disabled { opacity: .45; cursor: not-allowed; }
.cart-modal { position: fixed; inset: 0; background: rgba(17,17,17,0.45); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 110; }
.cart-modal.show { display: flex; }
.cart-card { width: min(620px, 100%); max-height: min(720px, 92vh); overflow: auto; background: #fff; border: 1px solid rgba(24,24,24,0.08); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,0.22); padding: 24px; }
.cart-items { display: grid; gap: 10px; margin-bottom: 14px; }
.cart-line { display: grid; grid-template-columns: 58px 1fr auto 38px; gap: 10px; align-items: center; padding: 10px; border: 1px solid rgba(24,24,24,0.08); border-radius: 12px; }
.cart-line img { width: 58px; height: 58px; object-fit: cover; border-radius: 10px; background: #f5f5f5; }
.cart-line strong { display: block; color: var(--store-text); }
.cart-line small { color: var(--store-soft); }
.cart-qty { display: inline-grid; grid-template-columns: 30px 28px 30px; align-items: center; border: 1px solid rgba(24,24,24,0.1); border-radius: 999px; overflow: hidden; }
.cart-qty button { height: 30px; border: 0; background: #fff; cursor: pointer; font-weight: 800; }
.cart-qty span { text-align: center; font-weight: 800; }
.cart-summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid rgba(24,24,24,0.08); margin-top: 6px; color: var(--store-text); }
.cart-summary strong { font-size: 1.15rem; }
#checkoutBtn { background: #dff5e3; color: #1a7a34; border: 2px solid #4caf50; }
#checkoutBtn:hover { background: #cdeed4; }
@media (max-width: 640px) {
  .cart-modal { padding: 64px 12px 12px; align-items: flex-start; }
  .cart-card { border-radius: 14px; padding: 18px; }
  .cart-line { grid-template-columns: 48px 1fr; }
  .cart-line img { width: 48px; height: 48px; }
  .cart-qty { grid-column: 2; width: max-content; }
  .cart-line > .auth-close { grid-column: 2; justify-self: end; width: 34px; height: 34px; }
}

.store-footer { margin-top: 54px; padding: 34px 0; border-top: 1px solid rgba(24,24,24,0.08); background: rgba(255,255,255,0.68); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.footer-row strong { display: block; font-size: 0.95rem; letter-spacing: 0.12em; }
.footer-row p { margin: 8px 0 0; color: var(--store-soft); }
.footer-socials { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.social-link { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(24,24,24,0.12); background: #171717; color: #fff; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: transform 0.2s ease, background 0.2s ease; }
.social-link:hover { transform: translateY(-2px); background: var(--pink-1); }
.social-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.social-link img { width: 22px; height: 22px; object-fit: contain; }
.social-link span { font-weight: 800; }
.social-links-editor { display: grid; gap: 10px; margin-top: 8px; }
.social-link-row { display: grid; grid-template-columns: 1fr 1.4fr 1fr auto; gap: 10px; align-items: end; padding: 12px; border: 1px solid rgba(24,24,24,0.08); border-radius: 14px; background: rgba(255,255,255,0.58); }
@media (max-width: 760px) { .footer-row { align-items: flex-start; flex-direction: column; } .social-link-row { grid-template-columns: 1fr; } }
.music-toggle { position: fixed; top: 14px; left: 14px; z-index: 130; width: 42px; height: 42px; border: 1px solid rgba(24,24,24,0.14); border-radius: 50%; background: rgba(255,255,255,0.92); color: #171717; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 12px 26px rgba(24,24,24,0.12); cursor: pointer; overflow: visible; }
.music-toggle.playing { background: #171717; color: #fff; }
.music-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-image { position: relative; flex-direction: column; gap: 14px; }
.carousel-dots { display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 20px; }
.carousel-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(24,24,24,0.22); cursor: pointer; transition: width 0.2s ease, background 0.2s ease; }
.carousel-dot.active { width: 24px; border-radius: 999px; background: var(--pink-1); }
@media (max-width: 760px) { .music-toggle { top: calc(env(safe-area-inset-top, 0px) + 12px); left: calc(env(safe-area-inset-left, 0px) + 12px); width: 42px; height: 42px; z-index: 130; } .carousel-dots { margin-top: 2px; } }
.hero-slides-editor { display: grid; gap: 12px; margin-top: 8px; }
.hero-slide-row { display: grid; gap: 10px; padding: 14px; border: 1px solid rgba(24,24,24,0.08); border-radius: 14px; background: rgba(255,255,255,0.58); }
.slide-row-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.slide-row-head strong { font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; }
.hero-slide-row textarea { min-height: 92px; }
@media (max-width: 760px) { .slide-row-head { align-items: stretch; flex-direction: column; } }
.admin-menu-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.admin-nav button strong, .admin-nav a strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.admin-nav button span, .admin-nav a span { justify-self: end; font-size: 0.76rem; color: inherit; opacity: 0.72; }
.admin-nav button:hover, .admin-nav a:hover { background: rgba(24,24,24,0.06); }
.admin-nav button.active .admin-menu-icon { color: #fff; }
@media (max-width: 760px) { .admin-nav button, .admin-nav a { grid-template-columns: 22px minmax(0,1fr) auto; justify-content: stretch; text-align: left; } .admin-nav button span, .admin-nav a span { display: inline; } }
@media (max-width: 760px) { .admin-nav button span, .admin-nav a span { display: inline; } }
.hero-real-img { width: 100%; height: 100%; min-height: 500px; display: block; object-fit: cover; object-position: center; position: relative; z-index: 0; }
.image-card.large-card { min-height: 500px; background-size: cover; background-position: center; background-repeat: no-repeat; }
.image-card.large-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(25,25,25,0.08), rgba(25,25,25,0.04)); pointer-events: none; z-index: 1; }
@media (max-width: 1100px) { .hero-real-img, .image-card.large-card { min-height: 420px; } }
@media (max-width: 760px) { .hero-real-img, .image-card.large-card { min-height: 300px; } }
.hero-image .large-card::before { display: none; }

.dashboard-home-grid { grid-template-columns: minmax(280px, 420px) minmax(0,1fr); }
.dashboard-action-list { display: grid; gap: 10px; }
.dashboard-action-list .admin-btn { width: 100%; justify-content: center; text-align: center; }
.setup-steps { display: grid; gap: 12px; }
.setup-steps div { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 12px; align-items: center; padding: 12px; border: 1px solid rgba(24,24,24,0.08); border-radius: 12px; background: rgba(255,255,255,0.58); }
.setup-steps strong { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: #171717; color: #fff; font-size: 0.9rem; }
.setup-steps span { min-width: 0; color: var(--store-ink); line-height: 1.35; }
.section-title-row { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.section-title-row h2 { margin-bottom: 6px; }
.section-title-row p { margin: 0; color: var(--store-soft); max-width: 680px; line-height: 1.45; }
@media (max-width: 900px) { .dashboard-home-grid { grid-template-columns: 1fr; } .section-title-row { flex-direction: column; } .section-title-row .admin-btn { width: 100%; } }
.color-picker-row { display: flex; align-items: center; gap: 12px; }
.color-picker-row input[type="color"] { width: 56px; min-width: 56px; height: 44px; padding: 4px; cursor: pointer; }
.color-preview-chip, .color-table-chip, .product-color-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 26px; padding: 0 10px; border-radius: 999px; background: #f3efeb; color: var(--store-soft); font-size: 0.78rem; font-weight: 700; }
.color-preview-chip span, .color-table-chip span, .product-color-chip span { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(24,24,24,0.18); flex: 0 0 auto; }
.color-preview-chip b, .color-table-chip b { font: inherit; color: var(--store-text); }
.product-color-chip { color: var(--store-soft); }
@media (max-width: 520px) { .color-picker-row { align-items: stretch; } .color-preview-chip { flex: 1; justify-content: center; } }
.upload-preview-box { margin-top: 10px; min-height: 0; }
.upload-preview-box .preview-img { width: 74px; height: 74px; object-fit: contain; background: #fff; }

.success-modal { position: fixed; inset: 0; background: rgba(17,17,17,0.48); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 180; }
.success-modal.show { display: flex; }
.success-dialog { width: min(420px, 100%); position: relative; background: #fff; border-radius: 18px; padding: 26px; text-align: center; box-shadow: 0 24px 60px rgba(17,17,17,0.24); }
.success-icon { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: #e8f6ee; color: #17633a; font-weight: 900; border: 1px solid #b9dfc8; }
.success-dialog h2 { margin: 0 0 8px; color: var(--store-text); }
.success-dialog p { margin: 0 0 18px; color: var(--store-soft); line-height: 1.45; }
.success-dialog .admin-btn { min-width: 150px; }
@media (max-width: 520px) { .success-modal { align-items: flex-start; padding: 70px 12px 12px; } .success-dialog { padding: 22px 18px; border-radius: 14px; } }
.slide-image-preview { margin-top: 10px; min-height: 92px; display: flex; align-items: center; justify-content: center; border: 1px dashed rgba(24,24,24,0.16); border-radius: 12px; background: rgba(255,255,255,0.72); color: var(--store-soft); }
.slide-image-preview .preview-img { width: 100%; max-width: 220px; height: 120px; object-fit: cover; border-radius: 10px; }
.settings-brand-grid { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(320px, 1fr); gap: 12px; align-items: start; }
.logo-upload-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.logo-upload-row .admin-btn { min-height: 44px; }
@media (max-width: 760px) { .settings-brand-grid, .logo-upload-row { grid-template-columns: 1fr; } }
.upload-progress { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; margin-top: 10px; }
.upload-progress[hidden] { display: none; }
.upload-progress-bar { height: 10px; border-radius: 999px; background: rgba(24,24,24,0.1); overflow: hidden; }
.upload-progress-bar span { display: block; width: 0%; height: 100%; border-radius: inherit; background: #171717; transition: width 0.18s ease; }
.upload-progress strong { font-size: 0.78rem; color: var(--store-soft); min-width: 92px; text-align: right; }
.music-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.music-slash { opacity: 0; stroke-width: 2.4; transition: opacity 0.18s ease; }
.music-toggle.playing .music-slash { opacity: 1; }
.upload-progress.loaded .upload-progress-bar span { background: #169b5b; }
.upload-progress.loaded strong { color: #17633a; }
.upload-progress.error .upload-progress-bar span { background: #b42318; }
.upload-progress.error strong { color: #b42318; }
.audio-test-panel { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid rgba(24,24,24,0.12); border-radius: 12px; background: rgba(255,255,255,0.72); }
.audio-test-panel[hidden] { display: none; }
.audio-test-panel strong { display: block; color: var(--store-text); font-size: 0.92rem; }
.audio-test-panel span { display: block; color: var(--store-soft); font-size: 0.82rem; margin-top: 3px; word-break: break-word; }
.audio-test-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.audio-test-actions .admin-btn { min-height: 38px; padding: 0 14px; }
@media (max-width: 620px) { .audio-test-panel { align-items: stretch; flex-direction: column; } .audio-test-actions .admin-btn { flex: 1; } }
.audio-test-panel.loaded { border-color: rgba(23,99,58,0.24); background: #e8f6ee; }
.audio-test-panel.loaded strong { color: #17633a; }
.audio-test-panel.empty .audio-test-actions .admin-btn { opacity: 0.6; }
.music-load-label { position: absolute; top: 46px; left: 50%; transform: translateX(-50%); min-width: 34px; padding: 2px 6px; border-radius: 999px; background: rgba(255,255,255,0.94); color: #171717; border: 1px solid rgba(24,24,24,0.12); font-size: 0.68rem; line-height: 1.2; font-weight: 800; box-shadow: 0 8px 18px rgba(24,24,24,0.1); pointer-events: none; }
.music-load-label[hidden] { display: none; }
.music-toggle.audio-loaded { animation: musicReadyGlow 4.3s ease-in-out infinite; }
@keyframes musicReadyGlow {
  0%, 100% { box-shadow: 0 12px 26px rgba(24,24,24,0.12), 0 0 0 rgba(240,92,159,0); transform: scale(1); }
  50% { box-shadow: 0 12px 26px rgba(24,24,24,0.12), 0 0 24px rgba(240,92,159,0.5); transform: scale(1.035); }
}
@media (max-width: 760px) { .music-load-label { top: 42px; font-size: 0.64rem; } }
.admin-menu-toggle, .admin-menu-overlay { display: none; }
@media (max-width: 760px) {
  .admin-body { padding-top: 58px; }
  .admin-menu-toggle { position: fixed; top: 12px; left: 12px; z-index: 240; width: 44px; height: 44px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(24,24,24,0.14); border-radius: 12px; background: #171717; box-shadow: 0 12px 28px rgba(17,17,17,0.16); cursor: pointer; }
  .admin-menu-toggle span { width: 20px; height: 2px; border-radius: 999px; background: #fff; transition: transform .22s ease, opacity .22s ease; }
  .admin-menu-open .admin-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .admin-menu-open .admin-menu-toggle span:nth-child(2) { opacity: 0; }
  .admin-menu-open .admin-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .admin-menu-overlay { position: fixed; inset: 0; z-index: 220; display: block; border: 0; background: rgba(17,17,17,0.42); }
  .admin-menu-overlay[hidden] { display: none; }
  .admin-sidebar { position: fixed !important; top: 0; left: 0; bottom: 0; z-index: 230; width: min(86vw, 320px); height: 100dvh !important; overflow-y: auto; padding: 74px 16px 18px !important; border-right: 1px solid rgba(24,24,24,0.1) !important; border-bottom: 0 !important; transform: translateX(-105%); transition: transform .25s ease; box-shadow: 18px 0 46px rgba(17,17,17,0.18); }
  .admin-menu-open .admin-sidebar { transform: translateX(0); }
  .admin-layout { display: block !important; min-height: auto; }
  .admin-main { padding-top: 10px !important; }
  .admin-nav { display: grid !important; grid-template-columns: 1fr !important; gap: 8px; }
  .admin-nav-label { grid-column: 1 / -1; }
}`n.product-color-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(24,24,24,0.18); margin-right: 6px; vertical-align: -2px; }
.color-variant { display: inline-flex; align-items: center; gap: 2px; }

@media (max-width: 760px) {
  .store-menu-toggle { display: none !important; }
  .nav-row { min-height: auto; padding: 14px 0; flex-wrap: wrap; justify-content: center; }
  .brand-store { width: 100%; justify-content: center; text-align: center; }
  .store-nav { position: static !important; order: 3; width: 100% !important; display: flex !important; flex-wrap: nowrap; gap: 10px; overflow-x: auto; justify-content: flex-start; padding: 4px 2px 2px; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; transform: none !important; box-shadow: none !important; border: 0 !important; background: transparent !important; }
  .store-nav a { flex: 0 0 auto; width: auto; min-height: auto; padding: 9px 12px; background: rgba(255,255,255,0.72); border: 1px solid rgba(24,24,24,0.08); border-radius: 999px; }
  .music-toggle { top: calc(env(safe-area-inset-top, 0px) + 10px) !important; left: calc(env(safe-area-inset-left, 0px) + 10px) !important; right: auto !important; width: 42px !important; height: 42px !important; z-index: 190 !important; display: inline-flex !important; }
}
.product-image { display: block; width: 100%; border: 0; cursor: zoom-in; }
.product-image::before { z-index: 1; }
.zoom-hint { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,0.88); color: #171717; font-size: 0.72rem; font-weight: 800; opacity: 0; transform: translateY(4px); transition: opacity .22s ease, transform .22s ease; }
.product-image:hover .zoom-hint, .product-image:focus-visible .zoom-hint { opacity: 1; transform: translateY(0); }
.product-photo-tabs { display: flex; gap: 8px; padding: 10px 14px 0; background: var(--store-card); }
.product-photo-tabs button { width: 32px; height: 28px; border: 1px solid rgba(24,24,24,0.12); border-radius: 999px; background: #fff; color: #171717; font-weight: 800; cursor: pointer; }
.product-photo-tabs button.active { background: #171717; color: #fff; border-color: #171717; }
.product-zoom-modal { position: fixed; inset: 0; z-index: 240; display: none; align-items: center; justify-content: center; padding: 22px; background: rgba(20,20,20,0.46); backdrop-filter: blur(14px) saturate(1.15); -webkit-backdrop-filter: blur(14px) saturate(1.15); }
.product-zoom-modal.show { display: flex; }
.product-zoom-card { position: relative; width: min(92vw, 880px); height: min(86vh, 760px); display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.28); border-radius: 18px; background: rgba(255,255,255,0.18); box-shadow: 0 28px 90px rgba(0,0,0,0.32); overflow: hidden; }
.product-zoom-card img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.product-zoom-close, .product-zoom-arrow { position: absolute; z-index: 2; border: 1px solid rgba(255,255,255,0.34); background: rgba(255,255,255,0.88); color: #171717; box-shadow: 0 12px 30px rgba(0,0,0,0.18); cursor: pointer; }
.product-zoom-close { top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; font-weight: 900; }
.product-zoom-arrow { top: 50%; transform: translateY(-50%); width: 44px; height: 52px; border-radius: 999px; font-size: 2rem; line-height: 1; }
.product-zoom-arrow.prev { left: 14px; }
.product-zoom-arrow.next { right: 14px; }
.product-zoom-caption { position: absolute; left: 16px; right: 16px; bottom: 14px; padding: 10px 12px; border-radius: 999px; background: rgba(255,255,255,0.86); color: #171717; text-align: center; font-size: 0.86rem; font-weight: 800; }
@media (max-width: 760px) {
  .brand-store { flex-direction: column; gap: 6px; }
  .brand-store #siteName { font-family: 'DenimChicLogo', var(--store-font); font-weight: 400; letter-spacing: 0.02em; }
  .site-logo { width: 160px !important; height: 160px !important; }
  .product-zoom-modal { padding: 12px; }
  .product-zoom-card { width: 100%; height: min(82vh, 680px); border-radius: 14px; }
  .product-zoom-arrow { width: 40px; height: 48px; }
  .product-zoom-caption { font-size: 0.78rem; bottom: 10px; }
}
.product-color-dots { display: inline-flex; align-items: center; gap: 5px; min-height: 24px; }
.product-color-dot { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(24,24,24,0.22); margin: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35); }
.product-color-dot.text-dot { background: #f2f2f2; color: #171717; font-size: 0.56rem; line-height: 1; font-weight: 900; }
.product-zoom-close { z-index: 6 !important; width: 50px !important; height: 50px !important; font-size: 1rem; display: inline-flex; align-items: center; justify-content: center; touch-action: manipulation; }
.product-zoom-card img { pointer-events: none; }
.product-zoom-caption { pointer-events: none; }
.product-zoom-arrow { z-index: 5 !important; touch-action: manipulation; }
@media (max-width: 760px) { .product-zoom-close { top: 10px !important; right: 10px !important; width: 52px !important; height: 52px !important; } }
.brand-store #siteName { font-family: 'DenimChicLogo', var(--store-font) !important; font-weight: 400 !important; letter-spacing: 0.02em !important; }

@font-face {
  font-family: 'DenimChicLogoFinal';
  src: url('/fuente_logo/c2d12a2a5f067785adb592430ed4f541.woff2') format('woff2'),
       url('/fuente_logo/c2d12a2a5f067785adb592430ed4f541.woff') format('woff'),
       url('/fuente_logo/c2d12a2a5f067785adb592430ed4f541.ttf') format('truetype'),
       url('/fuente_logo/c2d12a2a5f067785adb592430ed4f541.eot') format('embedded-opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.brand-store #siteName {
  font-family: 'DenimChicLogoFinal', 'DenimChicLogo', var(--store-font) !important;
  font-weight: 400 !important;
  font-style: normal !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.05 !important;
  text-align: center;
}
@media (max-width: 760px) {
  .brand-store { flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 8px !important; width: 100%; }
  .brand-store #siteName { display: block; max-width: min(92vw, 360px); overflow-wrap: anywhere; font-size: clamp(1.45rem, 9vw, 2.45rem) !important; }
  .nav-row { align-items: center; }
}
.footer-copy { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(24,24,24,0.08); text-align: center; color: var(--store-soft); font-size: 0.82rem; }
.footer-copy button { border: 0; background: transparent; color: #171717; font: inherit; font-weight: 900; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0 2px; }
.developer-modal { position: fixed; inset: 0; z-index: 210; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(17,17,17,0.46); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.developer-modal.show { display: flex; }
.developer-card { width: min(390px, 100%); border-radius: 18px; background: rgba(255,255,255,0.96); border: 1px solid rgba(255,255,255,0.36); box-shadow: 0 24px 70px rgba(0,0,0,0.24); padding: 24px; text-align: center; }
.developer-card h2 { margin: 0 0 10px; font-size: 1.35rem; }
.developer-card p { margin: 0 0 20px; color: var(--store-soft); line-height: 1.5; }
.developer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .developer-modal { align-items: flex-start; padding-top: 78px; } .developer-actions { grid-template-columns: 1fr; } }
.show-site-name-toggle { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 10px !important; margin-bottom: 0 !important; white-space: nowrap; }
.show-site-name-toggle input { flex: 0 0 auto; margin: 0; }
.show-site-name-toggle span { display: inline-block; line-height: 1.2; }
.brand-store #siteName[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
.store-header { transition: background .24s ease, box-shadow .24s ease; }
@media (max-width: 760px) {
  .store-header { transition: background .24s ease, box-shadow .24s ease; }
  .nav-row { transition: width .28s ease, padding .28s ease, border-radius .28s ease, background .28s ease, box-shadow .28s ease; }
  .brand-store { max-height: 190px; opacity: 1; overflow: hidden; transform: translateY(0); transition: max-height .28s ease, opacity .22s ease, transform .28s ease, margin .28s ease; }
  .header-compact .store-header { background: rgba(255,255,255,0.95); box-shadow: 0 12px 28px rgba(24,24,24,0.08); }
  .header-compact .nav-row { width: min(92vw, 430px); padding: 8px 10px; border-radius: 999px; background: rgba(255,255,255,0.9); box-shadow: 0 10px 24px rgba(24,24,24,0.08); }
  .header-compact .brand-store { max-height: 0; opacity: 0; margin: 0; transform: translateY(-14px); pointer-events: none; }
  .header-compact .store-nav { width: 100% !important; }
}
.pos-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.pos-left { min-height: 620px; }
.pos-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.pos-head h2 { margin-bottom: 4px; }
.pos-head p { margin: 0; color: var(--store-soft); font-size: 0.92rem; }
.pos-head strong { padding: 7px 10px; border-radius: 999px; background: #171717; color: #fff; font-size: 0.78rem; white-space: nowrap; }
.pos-customer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.pos-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; max-height: 620px; overflow: auto; padding-right: 4px; }
.pos-product-btn { min-height: 188px; border: 1px solid rgba(24,24,24,0.08); border-radius: 14px; background: #fff; color: var(--store-text); display: grid; grid-template-rows: 96px 1fr auto; gap: 8px; padding: 10px; text-align: left; cursor: pointer; box-shadow: 0 10px 20px rgba(24,24,24,0.045); }
.pos-product-btn:hover { border-color: rgba(24,24,24,0.24); transform: translateY(-1px); }
.pos-product-btn img { width: 100%; height: 96px; object-fit: cover; border-radius: 10px; background: #f5f5f5; }
.pos-product-btn b { display: block; line-height: 1.2; }
.pos-product-btn small { display: block; color: var(--store-soft); margin-top: 4px; font-size: 0.75rem; }
.pos-product-btn strong { font-size: 0.96rem; }
.pos-cart-card { position: sticky; top: 18px; }
.pos-cart-items { display: grid; gap: 9px; max-height: 480px; overflow: auto; margin-bottom: 12px; }
.pos-cart-line { display: grid; grid-template-columns: 48px 1fr auto auto 34px; gap: 8px; align-items: center; padding: 9px; border: 1px solid rgba(24,24,24,0.08); border-radius: 12px; background: #fff; }
.pos-cart-line img { width: 48px; height: 48px; object-fit: cover; border-radius: 9px; background: #f5f5f5; }
.pos-cart-line strong { display: block; font-size: 0.9rem; }
.pos-cart-line small { display: block; color: var(--store-soft); font-size: 0.74rem; }
.pos-cart-line b { white-space: nowrap; }
.pos-cart-line .cart-qty { grid-template-columns: 28px 42px 28px; }
.pos-cart-line .cart-qty input { width: 42px; border: 0; text-align: center; font-weight: 800; outline: 0; }
.pos-total-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(24,24,24,0.08); padding-top: 14px; margin-top: 10px; }
.pos-total-box span { color: var(--store-soft); font-weight: 800; }
.pos-total-box strong { font-size: 1.45rem; }
.pos-orders-card, .pos-history-card { grid-column: 1 / -1; }
@media (max-width: 1180px) { .pos-layout { grid-template-columns: 1fr; } .pos-cart-card { position: static; } .pos-customer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pos-customer-grid { grid-template-columns: 1fr; } .pos-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: none; } .pos-product-btn { min-height: 172px; } .pos-cart-line { grid-template-columns: 42px 1fr 34px; } .pos-cart-line img { width: 42px; height: 42px; } .pos-cart-line .cart-qty { grid-column: 2; } .pos-cart-line b { grid-column: 2; } .pos-cart-line > .auth-close { grid-column: 3; grid-row: 1; } }
.pos-category-filter { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; margin-top: -4px; scrollbar-width: thin; }
.pos-category-filter button { flex: 0 0 auto; border: 1px solid rgba(24,24,24,0.1); border-radius: 999px; background: #fff; color: var(--store-text); padding: 9px 13px; font-weight: 800; cursor: pointer; }
.pos-category-filter button.active { background: #171717; color: #fff; border-color: #171717; }
.pos-category-filter button:hover { border-color: rgba(24,24,24,0.32); }
.ticket-logo { display: block; max-width: 96px !important; max-height: 96px !important; object-fit: contain; margin: 0 auto 8px; }
.ticket-items-table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 0.78rem; text-align: left; }
.ticket-items-table th { color: var(--store-soft); font-size: 0.66rem; text-transform: uppercase; border-bottom: 1px dashed rgba(24,24,24,0.24); padding: 4px 2px; }
.ticket-items-table td { vertical-align: top; border-bottom: 1px dashed rgba(24,24,24,0.12); padding: 6px 2px; }
.ticket-items-table th:nth-child(n+2), .ticket-items-table td:nth-child(n+2) { text-align: right; white-space: nowrap; }
.ticket-items-table small { display: block; color: var(--store-soft); font-size: 0.68rem; margin-top: 2px; }
.slide-product-preview { display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: center; margin-top: 10px; padding: 10px; border: 1px solid rgba(24,24,24,0.08); border-radius: 12px; background: rgba(255,255,255,0.72); }
.slide-product-preview img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: #f2f2f2; }
.slide-product-preview b { display: block; color: var(--store-text); }
.slide-product-preview small, .slide-product-preview.empty span { color: var(--store-soft); font-size: 0.82rem; }
.slide-product-preview.empty { grid-template-columns: 1fr; min-height: 52px; }
@media (max-width: 760px) {
  .slide-product-preview { display: flex !important; align-items: center; width: 100%; min-height: 92px; margin-top: 12px; padding: 10px; }
  .slide-product-preview img { display: block !important; flex: 0 0 76px; width: 76px !important; height: 76px !important; object-fit: cover; }
  .slide-product-preview span { min-width: 0; display: block; }
}
.hero-slide-row.new-slide-focus { border-color: rgba(24,24,24,0.38); box-shadow: 0 0 0 3px rgba(240,92,159,0.18), 0 18px 34px rgba(24,24,24,0.08); }
.slide-image-preview { aspect-ratio: 16 / 9; min-height: 0 !important; }
.slide-image-preview .preview-img { width: 100% !important; max-width: 360px !important; height: 100% !important; aspect-ratio: 16 / 9; object-fit: cover; }
.slide-product-preview img { aspect-ratio: 1 / 1; }
@media (max-width: 760px) {
  .slide-image-preview { width: 100%; aspect-ratio: 16 / 9; min-height: 0 !important; padding: 8px; }
  .slide-image-preview .preview-img { width: 100% !important; max-width: none !important; height: 100% !important; }
}
/* Carrusel publico: proporcion fija y gesto tactil estable */
.hero-image { min-height: 0 !important; }
.image-card.large-card { aspect-ratio: 4 / 5; min-height: 0 !important; height: auto; touch-action: pan-y; user-select: none; }
.hero-real-img { width: 100%; height: 100% !important; min-height: 0 !important; object-fit: cover; object-position: center; pointer-events: none; }
@media (max-width: 1100px) { .image-card.large-card { aspect-ratio: 16 / 11; } }
@media (max-width: 760px) { .image-card.large-card { aspect-ratio: 4 / 5; } }
/* Carrusel publico: alto bloqueado por viewport */
.hero-image { min-height: 0 !important; align-self: stretch; }
.hero-image .image-card.large-card { width: 100% !important; height: 500px !important; min-height: 0 !important; max-height: 500px !important; aspect-ratio: auto !important; }
.hero-image .hero-real-img { width: 100% !important; height: 500px !important; min-height: 0 !important; max-height: 500px !important; object-fit: cover !important; object-position: center !important; display: block; }
@media (max-width: 1100px) {
  .hero-image .image-card.large-card, .hero-image .hero-real-img { height: 420px !important; max-height: 420px !important; }
}
@media (max-width: 760px) {
  .hero-image .image-card.large-card, .hero-image .hero-real-img { height: 320px !important; max-height: 320px !important; }
}
@media (max-width: 430px) {
  .hero-image .image-card.large-card, .hero-image .hero-real-img { height: 285px !important; max-height: 285px !important; }
}