body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  width: 100%;
  box-sizing: border-box;
}

.brand {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 4px;
  font-size: 20px;
  color: #b76e79;
  text-decoration: none;
  white-space: nowrap;
}

.menu {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.menu a {
  position: relative;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
  color: #4b3b3f;
  transition: 0.3s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1.5px;
  background: #b76e79;
  transition: width 0.3s ease;
}

.menu a:hover,
.menu a.active {
  color: #b76e79;
}

.menu a:hover::after,
.menu a.active::after {
  width: 100%;
}

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

.icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.icons a:hover {
  transform: translateY(-2px) scale(1.06);
  opacity: 0.75;
}

.icons img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

/* =========================
   SECCIÓN DECORATIVOS
========================= */
.decorativos-section {
  padding: 90px 0 110px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35) 0%, rgba(246,241,240,0.85) 100%);
}

.decorativos-container {
  width: min(90%, 1240px);
  margin: 0 auto;
}

.decorativos-header {
  text-align: center;
  margin-bottom: 58px;
}

.decorativos-subtitle {
  font-size: 14px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #b8898d;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
}

.decorativos-title {
  font-size: 60px;
  line-height: 1;
  color: #4b3b3f;
  margin-bottom: 30px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

.decorativos-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  border-bottom: 1px solid #e7d9dc;
  padding-bottom: 14px;
  max-width: 720px;
  margin: 0 auto;
}

.decorativos-tabs a {
  text-decoration: none;
  color: #7d676d;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  position: relative;
  transition: 0.3s ease;
  padding-bottom: 4px;
}

.decorativos-tabs a:hover,
.decorativos-tabs a.active {
  color: #b76e79;
}

.decorativos-tabs a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -16px;
  width: 100%;
  height: 2px;
  background: #c8959d;
  border-radius: 10px;
}

/* =========================
   GRID
========================= */
.decorativos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 34px;
  max-width: 1120px;
  margin: 50px auto 0;
  justify-items: center;
}

/* =========================
   CARD
========================= */
.decorativo-card {
  position: relative;
  width: 100%;
  max-width: 320px;
  background: rgba(255, 253, 252, 0.88);
  border-radius: 28px;
  padding: 28px 22px 24px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(191, 154, 162, 0.12);
  border: 1px solid rgba(228, 204, 209, 0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.decorativo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 38px rgba(191, 154, 162, 0.18);
}

.btn-fav:hover {
  transform: scale(1.08);
  background: #fbecef;
  color: #a85d6c;
  box-shadow: 0 10px 22px rgba(191, 154, 162, 0.22);
}

.btn-fav.active {
  background: linear-gradient(135deg, #d99aa7, #b76e79);
  color: #fff;
  border-color: transparent;
}

/* IMAGEN */
.decorativo-img-box {
  width: 100%;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fffefe 0%, #f8f2f1 100%);
  overflow: hidden;
}

.decorativo-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.decorativo-card:hover .decorativo-img-box img {
  transform: scale(1.04);
}

/* TEXTO */
.decorativo-card h3 {
  font-size: 30px;
  color: #4b3b3f;
  margin-bottom: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.05;
}

.stock {
  font-size: 14px;
  color: #9a8a8f;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

.precio {
  font-size: 30px;
  color: #7f5b62;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  margin-bottom: 20px;
}

/* BOTÓN */
.btn-decorativo {
  display: inline-block;
  padding: 13px 30px;
  background: #e4c6cb;
  color: #5c454a;
  text-decoration: none;
  border-radius: 999px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: 0.3s ease;
  border: none;
}

.btn-decorativo:hover {
  background: #c8959d;
  color: #fff;
  transform: translateY(-2px);
}

.btn-carrito.agregado {
  background: #b76e79;
  color: #fff;
}

/* =========================
   EXTRA
========================= */
.decorativos-more {
  text-align: center;
  margin-top: 45px;
}

.decorativos-more a {
  text-decoration: none;
  font-size: 24px;
  color: #6b555a;
  font-family: 'Cormorant Garamond', serif;
  transition: 0.3s ease;
}

.decorativos-more a:hover {
  color: #b76e79;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .decorativos-grid {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    max-width: 760px;
  }
}

@media (max-width: 992px) {
  .topbar {
    padding: 20px 30px;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .menu {
    gap: 20px;
    justify-content: center;
  }

  .decorativos-section {
    padding: 80px 0 95px;
  }

  .decorativos-title {
    font-size: 46px;
  }

  .decorativos-tabs {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .decorativos-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    gap: 28px;
  }

  .decorativos-title {
    font-size: 40px;
  }

  .decorativos-subtitle {
    font-size: 12px;
    letter-spacing: 3px;
  }

  .decorativo-card {
    max-width: 100%;
  }

  .decorativo-img-box {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 16px 18px;
  }

  .brand {
    font-size: 16px;
    letter-spacing: 3px;
  }

  .menu {
    gap: 14px;
  }

  .menu a {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .decorativos-section {
    padding: 70px 0 85px;
  }

  .decorativos-title {
    font-size: 34px;
  }

  .decorativos-tabs {
    gap: 14px;
  }

  .decorativos-tabs a {
    font-size: 14px;
  }

  .decorativo-card {
    padding: 24px 18px 22px;
    border-radius: 24px;
  }

  .decorativo-img-box {
    height: 210px;
    border-radius: 18px;
  }

  .decorativo-card h3 {
    font-size: 28px;
  }

  .precio {
    font-size: 28px;
  }

  .btn-fav {
    width: 40px;
    height: 40px;
    font-size: 20px;
    top: 14px;
    right: 14px;
  }

  .btn-decorativo {
    width: 100%;
    padding: 13px 20px;
  }
}

/* =========================
   FILTRO DE PRECIO
========================= */
.decorativos-filtros-precio {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  padding: 6px;
  background: #f3e7ea;
  border-radius: 999px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.precio-btn {
  border: none;
  background: transparent;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #7d676d;
  cursor: pointer;
  transition: 0.3s ease;
}

.precio-btn:hover {
  color: #b76e79;
}

.precio-btn.active {
  background: linear-gradient(135deg, #d99aa7, #b76e79);
  color: #fff;
  box-shadow: 0 6px 14px rgba(183, 110, 121, 0.25);
}

/* =========================
   PRELOADER DECORATIVOS
========================= */
.loader-decorativos {
  position: fixed;
  inset: 0;
  background: #f6f1f0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  overflow: hidden;
}

.loader-decorativos-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: loaderDecorativosFadeIn 0.8s ease;
}

@keyframes loaderDecorativosFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.flower-loader-decorativos {
  position: relative;
  width: 170px;
  height: 170px;
  margin: 0 auto 28px;
}

.petal-d {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 92px;
  border: 2.5px solid #c48693;
  border-radius: 60% 60% 60% 60% / 72% 72% 40% 40%;
  transform-origin: 50% 100%;
  opacity: 0;
  box-shadow: 0 0 14px rgba(183, 110, 121, 0.18);
  background: transparent;
  animation: petalDecorativosDraw 0.7s ease forwards;
}

.petal-d-1 { --rot: 0deg; transform: translate(-50%, -100%) rotate(0deg); animation-delay: 0.10s; }
.petal-d-2 { --rot: 60deg; transform: translate(-50%, -100%) rotate(60deg); animation-delay: 0.22s; }
.petal-d-3 { --rot: 120deg; transform: translate(-50%, -100%) rotate(120deg); animation-delay: 0.34s; }
.petal-d-4 { --rot: 180deg; transform: translate(-50%, -100%) rotate(180deg); animation-delay: 0.46s; }
.petal-d-5 { --rot: 240deg; transform: translate(-50%, -100%) rotate(240deg); animation-delay: 0.58s; }
.petal-d-6 { --rot: 300deg; transform: translate(-50%, -100%) rotate(300deg); animation-delay: 0.70s; }

.flower-center-d {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  background: #b76e79;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  box-shadow: 0 0 18px rgba(183, 110, 121, 0.35);
  animation: centerDecorativosBloom 0.45s ease forwards;
  animation-delay: 1s;
}

@keyframes petalDecorativosDraw {
  0% {
    opacity: 0;
    transform: translate(-50%, -100%) rotate(var(--rot)) scale(0.35);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -100%) rotate(var(--rot)) scale(1);
  }
}

@keyframes centerDecorativosBloom {
  from {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.loader-decorativos-title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  letter-spacing: 6px;
  color: #b76e79;
  opacity: 0;
  animation: titleDecorativosUp 0.8s ease forwards;
  animation-delay: 1.15s;
}

.loader-decorativos-subtitle {
  margin-top: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  letter-spacing: 2px;
  color: #8f5c65;
  opacity: 0;
  animation: subtitleDecorativosFade 0.8s ease forwards;
  animation-delay: 1.45s;
}

@keyframes titleDecorativosUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subtitleDecorativosFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loader-decorativos-door {
  position: absolute;
  inset: 0;
  background: #f6f1f0;
  transform: translateX(-100%);
  z-index: 1;
  pointer-events: none;
}

.loader-decorativos.slide-out .loader-decorativos-content {
  animation: contentDecorativosExit 0.65s ease forwards;
}

.loader-decorativos.slide-out .loader-decorativos-door {
  animation: openDecorativosSide 1s cubic-bezier(.77, 0, .18, 1) forwards;
}

@keyframes contentDecorativosExit {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.96);
  }
}

@keyframes openDecorativosSide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.page-decorativos-ready .topbar,
.page-decorativos-ready .decorativos-section {
  animation: pageDecorativosReveal 0.9s ease;
}

@keyframes pageDecorativosReveal {
  from {
    opacity: 0.35;
    transform: translateX(-25px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .flower-loader-decorativos {
    width: 140px;
    height: 140px;
    margin-bottom: 22px;
  }

  .petal-d {
    width: 46px;
    height: 76px;
  }

  .loader-decorativos-title {
    font-size: 42px;
    letter-spacing: 4px;
  }

  .loader-decorativos-subtitle {
    font-size: 24px;
  }
}

/* =========================
   SCROLL GLOBAL THE QUEENS
========================= */

/* Scroll suave */
html {
  scroll-behavior: smooth;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #b76e79 #f6f1f0;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f6f1f0;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #e4c6cb, #b76e79);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b76e79;
}

/* ===== ANIMACIÓN DE ENTRADA ===== */

@keyframes aparecer {
    from{
        opacity: 0;
        transform: translateY(40px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* aplicar a toda la sección */
.about-container{
    animation: aparecer 1s ease;
}


.social-section {
  width: 100%;
  padding: 90px 20px;
  background: #f8f7f7;
}

.social-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.social-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  color: #493034;
  margin-bottom: 55px;
}

.social-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
  justify-content: center;
  gap: 26px;
}

.social-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 35px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1);
}

.social-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border: 1.5px solid #222;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.social-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #b76e79;
  margin-bottom: 14px;
}

.social-card p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #7a7a7a;
  margin-bottom: 22px;
}

.social-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 30px;
  background: #b76e79;
  color: #fff;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.social-btn:hover {
  background: #b76e79;
}

/* RESPONSIVE SOCIAL */
@media (max-width: 992px) {
  .social-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 576px) {
  .social-cards {
    grid-template-columns: 1fr;
  }

  .social-title {
    font-size: 2rem;
    margin-bottom: 35px;
  }

  .social-card {
    padding: 30px 20px;
  }
}






#btnArriba {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: #d98fa3;
  color: white;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  display: none;
  transition: all 0.3s ease;
  z-index: 999;
}

#btnArriba:hover {
  background: #c77a8e;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  #btnArriba {
    width: 46px;
    height: 46px;
    right: 18px;
    bottom: 18px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  #btnArriba {
    width: 42px;
    height: 42px;
    right: 14px;
    bottom: 14px;
    font-size: 18px;
  }
}



/* PANEL USUARIO */
.user-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(60, 40, 46, 0.28);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1200;
}

.user-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.user-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    height: 100vh;
    background: rgba(255, 250, 251, 0.96);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: 0.35s ease;
    z-index: 1300;
    padding: 28px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.user-panel.active {
    transform: translateX(0);
}

.user-panel-close {
    align-self: flex-end;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #8c6771;
}

.user-panel-header {
    text-align: center;
    margin-bottom: 20px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    margin: auto;
    border-radius: 50%;
    background: #f3e8eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar img {
    width: 35px;
}

/* TITULOS */
.user-panel-header h3 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    color: #4b3b3f;
}

.user-panel-header p {
    margin: 6px 0 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    letter-spacing: 2px;
    color: #8c6771;
}

/* INFO */
.user-panel-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-info-box {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
}

.user-info-box span {
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b8898d;
}

.user-info-box strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #4b3b3f;
}

/* BOTONES */
.user-panel-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-panel-btn {
    padding: 14px;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;

    /* 🔥 CENTRADO PERFECTO */
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-panel-btn.primary {
    background: #b76e79;
    color: white;
    border: none;
}

.user-panel-btn.secondary {
    border: 1px solid #b76e79;
    color: #b76e79;
    background: transparent;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .user-panel {
        width: 100%;
    }
}


@media (max-width: 768px) {

  .ramos-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 100%;
  }

  .ramo-card {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    grid-template-rows: auto auto auto;
    align-items: start;
    column-gap: 12px;
    row-gap: 6px;

    padding: 14px;
    border-radius: 20px;
    text-align: left;
  }

  /* IMAGEN */
  .ramo-img-box {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 80px;
    height: 80px;
    margin: 0;
    border-radius: 14px;
  }

  .ramo-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* TEXTO */
  .ramo-card h3 {
    grid-column: 2 / 4;
    grid-row: 1;
    font-size: 16px;
    margin: 0;
    line-height: 1.2;
    align-self: center;
  }

  .stock {
    grid-column: 2 / 4;
    grid-row: 2;
    font-size: 12px;
    margin: 0;
    line-height: 1.3;
  }

  .precio {
    grid-column: 2;
    grid-row: 3;
    font-size: 14px;
    margin: 0;
    line-height: 1.3;
    align-self: center;
  }

  /* BOTÓN */
  .btn-ramo {
    grid-column: 3;
    grid-row: 3;
    padding: 8px 14px;
    font-size: 12px;
    border-radius: 999px;
    white-space: nowrap;
    align-self: center;
  }
}