:root {
  --navy: #0d1b2a;
  --gold: #c8a96b;
  --white: #ffffff;
  --cream: #f7f1e8;
  --text: #1b1b1b;
  --muted: #6e6e6e;
  --border: rgba(13, 27, 42, 0.12);
  --shadow: 0 20px 50px rgba(13, 27, 42, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: var(--white);
}

img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

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

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.35s ease;
}

.site-header.scrolled {
  padding: 4px 0;
  box-shadow: 0 10px 30px rgba(13, 27, 42, 0.08);
}

.header-inner {
  min-height: 90px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: var(--navy);
  font-weight: 500;
  position: relative;
}

.nav a.active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
}

.brand a {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--navy);
  letter-spacing: 1px;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.cart-total {
  font-weight: 700;
  color: var(--gold);
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(200, 169, 107, 0.15), transparent 30%),
    linear-gradient(135deg, #08111b 0%, #0d1b2a 100%);
  color: var(--white);
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1,
.section-head h2,
.page-hero h1,
.product-info h1,
.auth-card h1,
.info-box h3,
.summary-card h3,
.filters-card h3 {
  font-family: "Playfair Display", serif;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.05;
  margin: 10px 0 18px;
}

.hero-copy p {
  max-width: 580px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
}

.hero-visual img {
  min-height: 520px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.btn {
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 20px rgba(200, 169, 107, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border);
}

.btn-full {
  width: 100%;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.section {
  padding: 80px 0;
}

.section-light {
  background: #fcfaf6;
}

.section-cream {
  background: var(--cream);
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 8px 0 0;
  color: var(--navy);
}

.reviews-grid,
.product-grid,
.info-grid {
  display: grid;
  gap: 24px;
}

.reviews-grid {
  grid-template-columns: repeat(3, 1fr);
}

.review-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.stars {
  color: var(--gold);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.product-grid {
  grid-template-columns: repeat(4, 1fr);
}

.product-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(13, 27, 42, 0.12);
}

.product-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0;
}

.product-content {
  padding: 18px;
  text-align: center;
}

.product-category {
  color: var(--muted);
  font-size: 0.88rem;
}

.product-content h3 {
  font-size: 1rem;
  color: var(--navy);
  letter-spacing: 0.6px;
}

.price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
}

.price.big {
  font-size: 2rem;
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.7px;
}

.product-badge.in_stock {
  background: #ecfdf3;
  color: #0e9f6e;
}

.product-badge.sale {
  background: #fff4d6;
  color: #a16d00;
}

.product-badge.sold_out {
  background: #fdf0f0;
  color: #c0392b;
}

.info-grid {
  grid-template-columns: repeat(3, 1fr);
}

.info-box {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.text-link {
  color: var(--gold);
  font-weight: 700;
}

.page-hero {
  padding: 60px 0 30px;
}

.page-hero-light {
  background: linear-gradient(180deg, #f8f3ea 0%, #ffffff 100%);
}

.shop-layout,
.product-detail-grid,
.cart-layout {
  display: grid;
  gap: 28px;
}

.shop-layout {
  grid-template-columns: 300px 1fr;
}

.filters-card,
.summary-card,
.auth-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.filters-form,
.auth-form,
.product-buy-form {
  display: grid;
  gap: 12px;
}

.filters-form input,
.filters-form select,
.auth-form input,
.product-buy-form select,
.product-buy-form input,
.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font: inherit;
}

.product-detail-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.gallery .main-image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.thumb-btn {
  width: 88px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.thumb-btn img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-info .description {
  color: var(--muted);
  line-height: 1.8;
}

.size-chart {
  margin-top: 28px;
}

.size-chart table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.size-chart th,
.size-chart td {
  border: 1px solid var(--border);
  padding: 12px;
  text-align: left;
}

.cart-layout {
  grid-template-columns: 1fr 360px;
  align-items: start;
}

.cart-item {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.cart-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.total-line {
  font-size: 1.2rem;
  color: var(--navy);
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

.footer-grid h4 {
  color: var(--gold);
  font-family: "Playfair Display", serif;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-bottom {
  padding: 20px;
  text-align: center;
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 28px;
}

.auth-section {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f8f3ea 0%, #ffffff 100%);
  padding: 40px 16px;
}

.auth-card {
  width: 100%;
  max-width: 460px;
}

.alert-error {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff3f3;
  color: #b42318;
  border: 1px solid #fecaca;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  background: #1fbf75;
  color: white;
  font-weight: 800;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 16px 30px rgba(0,0,0,0.18);
}

.admin-shell {
  background: #faf8f3;
  min-height: 100vh;
}

.admin-header {
  padding: 24px 0;
}

.admin-grid {
  display: grid;
  gap: 24px;
}

.admin-table-wrap {
  overflow-x: auto;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-form {
  display: grid;
  gap: 14px;
  background: white;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.admin-preview-images {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-preview-images img {
  width: 90px;
  height: 90px;
  object-fit: cover;
}

.empty-state {
  background: white;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .reviews-grid,
  .info-grid,
  .footer-grid,
  .hero-grid,
  .product-detail-grid,
  .cart-layout,
  .shop-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 0;
  }

  .nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-icons {
    justify-content: center;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-copy h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 520px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   ADMIN SaaS
========================= */

.saas-body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #f5f1e8;
  color: #0d1b2a;
}

.saas-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.saas-sidebar {
  background: linear-gradient(180deg, #0d1b2a 0%, #112742 100%);
  color: white;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: sticky;
  top: 0;
  height: 100vh;
}

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

.saas-logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), #f0d3a0);
  color: #0d1b2a;
  font-weight: 800;
  font-size: 1.3rem;
}

.saas-logo strong {
  display: block;
  font-size: 1rem;
}

.saas-logo small {
  color: rgba(255,255,255,0.65);
}

.saas-nav {
  display: grid;
  gap: 10px;
}

.saas-nav a {
  color: rgba(255,255,255,0.88);
  padding: 12px 14px;
  border-radius: 14px;
  transition: 0.25s ease;
  font-weight: 600;
}

.saas-nav a:hover,
.saas-nav a.active {
  background: rgba(255,255,255,0.1);
  color: white;
}

.saas-logout {
  margin-top: auto;
}

.saas-main {
  padding: 28px;
  display: grid;
  gap: 24px;
}

.saas-topbar,
.saas-card {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(13, 27, 42, 0.08);
  box-shadow: 0 18px 40px rgba(13, 27, 42, 0.06);
  backdrop-filter: blur(12px);
}

.saas-topbar {
  border-radius: 28px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.saas-topbar h1,
.saas-card h2,
.saas-form-top h1 {
  font-family: "Playfair Display", serif;
  margin: 6px 0 8px;
}

.saas-topbar p {
  margin: 0;
  color: #5f6f86;
}

.saas-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.78rem;
}

.saas-top-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.saas-btn {
  border: none;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
}

.saas-btn:hover {
  transform: translateY(-1px);
}

.saas-btn-primary {
  background: #0d1b2a;
  color: white;
}

.saas-btn-outline {
  background: transparent;
  color: #0d1b2a;
  border: 1px solid rgba(13, 27, 42, 0.14);
}

.saas-btn-danger {
  background: #d94b4b;
  color: white;
}

.saas-btn-sm {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
}

.saas-kpis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.saas-kpi {
  border-radius: 24px;
  padding: 22px;
}

.saas-kpi span {
  display: block;
  color: #826f49;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  margin-bottom: 10px;
}

.saas-kpi strong {
  display: block;
  font-size: 2rem;
  color: #0d1b2a;
}

.saas-kpi small {
  color: #65748b;
}

.saas-grid-2 {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}

.saas-card {
  border-radius: 28px;
  padding: 24px;
}

.saas-card-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  margin-bottom: 16px;
}

.saas-card-head h2 {
  margin: 0 0 6px;
}

.saas-card-head p {
  margin: 0;
  color: #64748b;
}

.saas-chart-wrap {
  height: 320px;
}

.saas-empty {
  padding: 24px;
  border-radius: 18px;
  background: #f7f4ee;
  color: #607089;
}

.saas-mini-table {
  display: grid;
  gap: 12px;
}

.saas-mini-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f7f4ee;
}

.saas-mini-row strong {
  display: block;
}

.saas-mini-row small {
  color: #64748b;
}

.saas-stock-pill {
  align-self: center;
  background: #fff2cf;
  color: #7b6217;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 0.85rem;
}

.saas-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.saas-quick-box {
  background: #f7f4ee;
  border: 1px solid rgba(13, 27, 42, 0.06);
  border-radius: 18px;
  padding: 18px;
  transition: 0.25s ease;
}

.saas-quick-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(13, 27, 42, 0.08);
}

.saas-quick-box strong {
  display: block;
  margin-bottom: 6px;
  color: #0d1b2a;
}

.saas-quick-box span {
  color: #64748b;
  font-size: 0.95rem;
}

.saas-card-head-products {
  margin-bottom: 20px;
}

.saas-table-wrap {
  overflow-x: auto;
}

.saas-table {
  width: 100%;
  border-collapse: collapse;
}

.saas-table th,
.saas-table td {
  padding: 14px 10px;
  border-bottom: 1px solid rgba(13, 27, 42, 0.08);
  text-align: left;
  vertical-align: middle;
}

.saas-table th {
  color: #64748b;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.saas-product-cell {
  display: flex;
  gap: 12px;
  align-items: center;
}

.saas-product-cell img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 14px;
}

.saas-product-cell strong {
  display: block;
}

.saas-product-cell small {
  color: #64748b;
}

.saas-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 0.8rem;
}

.saas-status-pill.in_stock {
  background: #e7f7ed;
  color: #127c42;
}

.saas-status-pill.sale {
  background: #fff4d8;
  color: #9b6a00;
}

.saas-status-pill.sold_out {
  background: #fdeaea;
  color: #b53131;
}

.saas-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.saas-form-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.saas-form-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.saas-product-form {
  display: grid;
  gap: 22px;
}

.saas-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.saas-form-section h2 {
  margin-top: 0;
}

.saas-form-section label {
  display: block;
  margin-bottom: 8px;
  margin-top: 14px;
  font-weight: 600;
}

.saas-form-section input,
.saas-form-section textarea,
.saas-form-section select {
  width: 100%;
  border: 1px solid rgba(13, 27, 42, 0.12);
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
}

.saas-checkbox {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.saas-checkbox input {
  width: auto;
}

.saas-image-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
}

.saas-image-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
}

.saas-form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1400px) {
  .saas-kpis {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1100px) {
  .saas-shell {
    grid-template-columns: 1fr;
  }

  .saas-sidebar {
    position: relative;
    height: auto;
  }

  .saas-grid-2,
  .saas-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .saas-kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .saas-topbar,
  .saas-form-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .saas-quick-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .saas-kpis {
    grid-template-columns: 1fr;
  }
}
.brand-with-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  max-height: 82px;
  width: auto;
  object-fit: contain;
  display: block;
}

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

.header-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: 0.25s ease;
}

.header-icon-btn:hover {
  background: rgba(13, 27, 42, 0.06);
  transform: translateY(-1px);
}

.header-icon-btn svg {
  width: 20px;
  height: 20px;
}

.saas-sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 14px;
}

.saas-sidebar-settings {
  color: rgba(255,255,255,0.92);
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  font-weight: 600;
  transition: 0.25s ease;
}

.saas-sidebar-settings:hover {
  background: rgba(255,255,255,0.14);
}

.saas-review-list {
  display: grid;
  gap: 14px;
}

.saas-review-card {
  background: #f7f4ee;
  border: 1px solid rgba(13, 27, 42, 0.06);
  border-radius: 18px;
  padding: 18px;
}

.saas-review-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 10px;
}

.saas-review-top strong {
  display: block;
  color: #0d1b2a;
}

.saas-review-top small {
  color: #64748b;
}

.saas-review-stars {
  color: #c8a96b;
  font-size: 1rem;
  font-weight: 700;
}

.saas-review-card p {
  color: #43546b;
  line-height: 1.65;
  margin-bottom: 14px;
}
.footer-link {
  color: var(--gold);
  font-weight: 700;
  transition: 0.2s ease;
}

.footer-link:hover {
  opacity: 0.7;
}
.site-header-v2 {
  background: rgba(14, 37, 78, 0.95);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner-v2 {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.site-header-v2 .nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.site-header-v2 .nav a {
  color: rgba(255,255,255,0.92);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.82rem;
  font-weight: 500;
}

.site-header-v2 .nav a.active::after,
.site-header-v2 .nav a:hover::after {
  background: var(--gold);
}

.brand-logo-header {
  max-height: 62px;
  filter: brightness(0) invert(1);
}

.site-header-v2 .header-icons {
  justify-self: end;
}

.site-header-v2 .header-icon-btn {
  color: #fff;
}

.site-header-v2 .header-icon-btn:hover {
  background: rgba(255,255,255,0.08);
}

.cart-total-v2 {
  color: #fff;
  font-weight: 700;
}

.admin-link-v2 {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-v2 {
  --hero-scale: 1;
  --hero-opacity: 1;
  --hero-translate: 0px;
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0e2a5a;
}

.hero-v2-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 27, 61, 0.18) 0%, rgba(8, 27, 61, 0.45) 100%),
    linear-gradient(90deg, rgba(10, 29, 64, 0.76) 0%, rgba(12, 40, 87, 0.42) 45%, rgba(10, 29, 64, 0.76) 100%),
    url('/images/torre.png') center center / cover no-repeat;
  background-attachment: fixed;
  z-index: 0;
}

.hero-v2-topfade {
  position: absolute;
  inset: 0 0 auto 0;
  height: 180px;
  background: linear-gradient(
    180deg,
    rgba(8, 24, 53, 0.96) 0%,
    rgba(8, 24, 53, 0.78) 25%,
    rgba(8, 24, 53, 0.42) 55%,
    rgba(8, 24, 53, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-v2-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.03), transparent 58%);
  z-index: 1;
}

.hero-v2-content {
  position: relative;
  z-index: 2;
}

.hero-v2-center {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  color: white;
  padding: 140px 0 80px;
  transform: scale(var(--hero-scale)) translateY(var(--hero-translate));
  opacity: var(--hero-opacity);
  transition: transform 0.12s linear, opacity 0.12s linear;
}

.hero-v2-logo {
  max-width: 540px;
  width: 100%;
  margin: 0 auto 24px;
  filter: brightness(0) invert(1);
  display: block;
}

.hero-v2-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-style: italic;
  margin: 0 0 14px;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0,0,0,0.16);
}

.hero-v2-subtitle {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 600;
  color: rgba(255,255,255,0.94);
  margin-bottom: 30px;
}

.hero-v2-logo {
  max-width: 560px;
  width: 100%;
  margin: 0 auto 28px;
  filter: brightness(0) invert(1);
}

.hero-v2-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-style: italic;
  margin: 0 0 16px;
  color: #fff;
}

.hero-v2-subtitle {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin-bottom: 32px;
}

.hero-v2-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-v2 .btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.hero-v2 .btn-secondary {
  border: 1px solid rgba(255,255,255,0.26);
  color: white;
  background: transparent;
}

.section-white {
  background: #f8f8f8;
}

.section-cream-v2 {
  background: #f4efe5;
}

.section-head-centered {
  text-align: center;
}

.product-grid-v2 {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 24px;
}

.product-card-v2 {
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.product-card-v2:hover {
  transform: translateY(-4px);
}

.product-image-wrap-v2 {
  position: relative;
}

.product-card-v2 img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0;
  background: #f3efe8;
}

.product-content-v2 {
  padding: 18px 18px 22px;
  text-align: center;
  background: #fff;
}

.product-content-v2 h3 {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  color: var(--navy);
  margin: 0 0 10px;
}

.product-content-v2 .price {
  color: #c99b19;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.catalog-card-v2 {
  background: #fffdf9;
}

.reviews-grid-v2 {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
}

.review-card-v2 {
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 16px 30px rgba(13, 27, 42, 0.05);
}

.section-contact-v2 {
  background: #f8f8f8;
}

.contact-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.contact-block-v2 h2,
.shipping-box-v2 h2 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 8px 0 16px;
}

.contact-block-v2 p,
.shipping-box-v2 p,
.contact-list-v2 li {
  color: #52637d;
  line-height: 1.75;
}

.contact-list-v2 {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.contact-list-v2 li {
  margin-bottom: 8px;
}

.shipping-box-v2 {
  background: #f3ede0;
  border: 1px solid #e6d3a4;
  padding: 32px;
  border-radius: 0;
}

.footer-v2 {
  background: #0e2a5a;
  color: white;
}

.footer-v2 .footer-grid h4 {
  color: #fff;
}

.footer-v2 .footer-grid p,
.footer-v2 .footer-grid a,
.footer-v2 .footer-bottom {
  color: rgba(255,255,255,0.86);
}

.footer-v2 .footer-link {
  color: #f0c35a;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  padding: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #16c95f;
  color: white;
  z-index: 80;
  box-shadow: 0 12px 22px rgba(0,0,0,0.2);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 1100px) {
  .product-grid-v2,
  .reviews-grid-v2,
  .contact-grid-v2 {
    grid-template-columns: 1fr 1fr;
  }

  .header-inner-v2 {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 12px 0;
  }

  .site-header-v2 .header-icons {
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .product-grid-v2,
  .reviews-grid-v2,
  .contact-grid-v2 {
    grid-template-columns: 1fr;
  }

  .hero-v2-center {
    padding-top: 120px;
  }

  .hero-v2-logo {
    max-width: 320px;
  }

  .hero-v2-subtitle {
    letter-spacing: 2px;
    font-size: 0.9rem;
  }

  .site-header-v2 .nav {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
.header-inner-v2 {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.brand-link-navbar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-navbar {
  max-height: 56px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.header-icons-v2 {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-icon-clean {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: rgba(255,255,255,0.96);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-icon-clean:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.header-icon-clean svg {
  width: 19px;
  height: 19px;
}

.cart-total-v2 {
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 2px 0 2px;
}

.site-header-v2 {
  background: rgba(14, 37, 78, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, box-shadow 0.3s ease, min-height 0.3s ease;
}

.site-header-v2.scrolled {
  background: rgba(8, 24, 53, 0.94);
  box-shadow: 0 10px 26px rgba(0,0,0,0.16);
}

.hero-v2 {
  --hero-scale: 1;
  --hero-opacity: 1;
  --hero-translate: 0px;
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0e2a5a;
}

.hero-v2-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 27, 61, 0.18) 0%, rgba(8, 27, 61, 0.45) 100%),
    linear-gradient(90deg, rgba(10, 29, 64, 0.76) 0%, rgba(12, 40, 87, 0.42) 45%, rgba(10, 29, 64, 0.76) 100%),
    url('/images/torre.png') center center / cover no-repeat;
  background-attachment: fixed;
  z-index: 0;
  opacity: 1;
  transform: none !important;
  transition: opacity 0.12s linear;
}

.hero-v2-topfade {
  position: absolute;
  inset: 0 0 auto 0;
  height: 180px;
  background: linear-gradient(
    180deg,
    rgba(8, 24, 53, 0.96) 0%,
    rgba(8, 24, 53, 0.78) 25%,
    rgba(8, 24, 53, 0.42) 55%,
    rgba(8, 24, 53, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-v2-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.03), transparent 58%);
  z-index: 1;
}

.hero-v2-content {
  position: relative;
  z-index: 2;
}

.hero-v2-center {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  color: white;
  padding: 140px 0 80px;
  transform: scale(var(--hero-scale)) translateY(var(--hero-translate));
  opacity: var(--hero-opacity);
  transition: transform 0.12s linear, opacity 0.12s linear;
}

.hero-v2-logo {
  max-width: 540px;
  width: 100%;
  margin: 0 auto 24px;
  filter: brightness(0) invert(1);
  display: block;
}

.hero-v2-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-style: italic;
  margin: 0 0 14px;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0,0,0,0.16);
}

.hero-v2-subtitle {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 600;
  color: rgba(255,255,255,0.94);
  margin-bottom: 30px;
}

@media (max-width: 1100px) {
  .header-inner-v2 {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 12px 0;
  }

  .site-header-v2 .header-icons {
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .brand-logo-navbar {
    max-height: 44px;
  }

  .hero-v2-logo {
    max-width: 430px;
  }

  .hero-v2-title {
    font-size: 2.8rem;
  }

  .hero-v2-subtitle {
    letter-spacing: 2px;
    font-size: 0.92rem;
  }
}

@media (max-width: 520px) {
  .site-header-v2 .nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-header-v2 .nav a {
    font-size: 0.74rem;
    letter-spacing: 1.5px;
  }

  .brand-logo-navbar {
    max-height: 38px;
  }

  .hero-v2-center {
    padding-top: 130px;
    padding-bottom: 70px;
  }

  .hero-v2-logo {
    max-width: 320px;
    margin-bottom: 18px;
  }

  .hero-v2-title {
    font-size: 1.9rem;
    line-height: 1.15;
  }

  .hero-v2-subtitle {
    font-size: 0.78rem;
    letter-spacing: 1.8px;
  }

  .header-icon-clean {
    width: 32px;
    height: 32px;
  }

  .header-icon-clean svg {
    width: 18px;
    height: 18px;
  }
}
.products-page-hero {
  background: linear-gradient(180deg, #f8f8f8 0%, #f3efe8 100%);
  padding: 120px 0 40px;
}

.products-page-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  color: var(--navy);
  margin: 10px 0 12px;
}

.products-page-hero p {
  color: #5f6f86;
  max-width: 700px;
  font-size: 1.02rem;
}

.section-products-v2 {
  background: #f3efe8;
  padding-top: 20px;
}

.products-filter-bar {
  margin-bottom: 34px;
}

.products-filter-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr auto;
  gap: 12px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(13, 27, 42, 0.08);
  box-shadow: 0 12px 30px rgba(13, 27, 42, 0.05);
  border-radius: 28px;
  padding: 18px;
  backdrop-filter: blur(8px);
}

.products-filter-grid input,
.products-filter-grid select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(13, 27, 42, 0.12);
  background: #fff;
  border-radius: 16px;
  padding: 0 14px;
  font: inherit;
  color: var(--navy);
}

.products-grid-v3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.product-card-v3 {
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(13, 27, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card-v3:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 40px rgba(13, 27, 42, 0.09);
}

.product-image-wrap-v3 {
  position: relative;
  background: #f8f4ec;
}

.product-card-v3 img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.product-content-v3 {
  padding: 20px 18px 22px;
  text-align: center;
}

.product-category-v3 {
  display: inline-block;
  margin-bottom: 10px;
  color: #8a7750;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.product-content-v3 h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.08rem;
  color: var(--navy);
  margin: 0 0 10px;
  min-height: 56px;
}

.product-actions-v3 {
  margin-top: 16px;
}

.products-empty-state {
  display: flex;
  justify-content: flex-start;
}

.products-empty-box {
  max-width: 360px;
  background: rgba(255,255,255,0.7);
  border: 1px dashed rgba(13, 27, 42, 0.14);
  border-radius: 28px;
  padding: 34px 28px;
  text-align: center;
  box-shadow: 0 12px 26px rgba(13, 27, 42, 0.04);
}

.products-empty-box h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--navy);
  margin: 0 0 14px;
}

.products-empty-box p {
  color: #5f6f86;
  line-height: 1.7;
  margin-bottom: 20px;
}

@media (max-width: 1200px) {
  .products-filter-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .products-grid-v3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .products-grid-v3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .products-page-hero {
    padding-top: 110px;
  }

  .products-filter-grid {
    grid-template-columns: 1fr;
  }

  .products-grid-v3 {
    grid-template-columns: 1fr;
  }

  .products-empty-state {
    justify-content: center;
  }
}
.product-detail-page {
  background: #f6f1e8;
  padding: 120px 0 70px;
}

.product-detail-layout-v2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}

.product-gallery-v2 {
  display: grid;
  gap: 16px;
}

.product-main-image-v2 {
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(13, 27, 42, 0.05);
}

.product-main-image-v2 img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.product-thumbs-v2 {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.thumb-btn-v2 {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.thumb-btn-v2 img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(13, 27, 42, 0.08);
  background: #fff;
}

.product-info-v2 {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 18px 35px rgba(13, 27, 42, 0.05);
}

.product-info-v2 h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--navy);
  margin: 14px 0 10px;
}

.product-description-v2 {
  color: #566882;
  line-height: 1.8;
  margin: 18px 0 24px;
}

.product-meta-v2 {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.product-meta-block strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
}

.meta-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f3ede2;
  color: #5d6880;
  border: 1px solid rgba(13, 27, 42, 0.08);
  font-weight: 600;
  font-size: 0.92rem;
}

.product-buy-form-v2 {
  display: grid;
  gap: 14px;
}

.form-row-v2 {
  display: grid;
  gap: 8px;
}

.form-row-v2 label {
  font-weight: 600;
  color: var(--navy);
}

.form-row-v2 input,
.form-row-v2 select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(13, 27, 42, 0.12);
  border-radius: 16px;
  padding: 0 14px;
  font: inherit;
  background: #fff;
  color: var(--navy);
}

.product-detail-actions-v2 {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.size-chart-box-v2 {
  margin-top: 28px;
  padding: 22px;
  background: #f8f4ec;
  border-radius: 22px;
  border: 1px solid rgba(13, 27, 42, 0.06);
}

.size-chart-box-v2 h3 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  margin-top: 0;
}

.size-chart-html-v2 {
  color: #5d6880;
  line-height: 1.8;
}

@media (max-width: 960px) {
  .product-detail-layout-v2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .hero-v2-bg {
    background-attachment: scroll;
  }
}
.cart-layout-v2 {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.cart-list-v2 {
  display: grid;
  gap: 18px;
}

.cart-item-v2 {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 18px;
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 14px 28px rgba(13, 27, 42, 0.04);
}

.cart-item-info-v2 h3 {
  font-family: "Playfair Display", serif;
  margin: 0 0 12px;
  color: var(--navy);
}

.cart-item-info-v2 p {
  margin: 6px 0;
  color: #5f6f86;
}

.cart-item-side-v2 {
  display: grid;
  gap: 14px;
  align-content: start;
}

.cart-update-form-v2 {
  display: grid;
  gap: 8px;
}

.cart-update-form-v2 label {
  font-weight: 600;
  color: var(--navy);
}

.cart-update-form-v2 input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(13, 27, 42, 0.12);
  border-radius: 14px;
  padding: 0 12px;
  font: inherit;
}

.cart-item-total-v2 {
  padding: 14px 16px;
  background: #f7f2e8;
  border-radius: 16px;
  border: 1px solid rgba(13, 27, 42, 0.06);
}

.cart-item-total-v2 span {
  display: block;
  color: #6c7b92;
  margin-bottom: 6px;
}

.cart-item-total-v2 strong {
  color: var(--navy);
  font-size: 1.1rem;
}

.cart-summary-v2 {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 30px rgba(13, 27, 42, 0.05);
  display: grid;
  gap: 16px;
}

.cart-summary-v2 h2 {
  font-family: "Playfair Display", serif;
  margin: 0 0 6px;
  color: var(--navy);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #5f6f86;
}

.cart-summary-total {
  padding-top: 12px;
  border-top: 1px solid rgba(13, 27, 42, 0.08);
  color: var(--navy);
}

@media (max-width: 960px) {
  .cart-layout-v2 {
    grid-template-columns: 1fr;
  }

  .cart-item-v2 {
    grid-template-columns: 1fr;
  }
}
.checkout-form-v2 {
  display: grid;
  gap: 10px;
}

.checkout-form-v2 label {
  font-weight: 600;
  color: var(--navy);
}

.checkout-form-v2 input,
.checkout-form-v2 textarea,
.saas-table select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(13, 27, 42, 0.12);
  border-radius: 14px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

.checkout-form-v2 textarea {
  min-height: 90px;
  resize: vertical;
}
.selector-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.selector-pill {
  border: 1px solid rgba(13, 27, 42, 0.12);
  background: #f3ede2;
  color: #5d6880;
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.selector-pill:hover {
  transform: translateY(-1px);
}

.selector-pill.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.selector-pill.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.selected-variant-box {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(13, 27, 42, 0.12);
  border-radius: 16px;
  background: #fff;
  color: var(--navy);
  font-weight: 600;
}