/* ==========================================================================
   LIZGLAM BEAUTY PLATFORM - ATENEA STYLE COMPONENTS
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background: var(--text-main);
  color: #FFF;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--rose-gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-rose);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--text-main);
}

.btn-secondary:hover {
  background: var(--text-main);
  color: #FFF;
}

.btn-outline-rose {
  background: transparent;
  color: var(--rose-gold-dark);
  border: 1.5px solid var(--rose-gold-dark);
}

.btn-outline-rose:hover {
  background: var(--rose-gold-dark);
  color: #FFF;
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFF;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.25);
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 39, 67, 0.35);
}

.btn-copy {
  background: var(--bg-dark);
  color: #FFF;
}

.btn-copy:hover {
  background: #352B2E;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.725rem;
}

.btn-full {
  width: 100%;
}

/* Category Filter Pills - Atenea Style */
.category-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.filter-pill {
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--text-main);
  color: #FFF;
  border-color: var(--text-main);
}

/* Grids */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 2.25rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.25rem;
}

/* Product Card - Atenea Aesthetic */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(28, 23, 24, 0.85);
  backdrop-filter: blur(4px);
  color: var(--rose-gold-light);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.product-content {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rose-gold-dark);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
}

.product-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  line-height: 1.5;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.product-price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Service Card */
.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--rose-gold);
}

.service-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.service-title {
  font-size: 1.4rem;
  font-weight: 500;
}

.service-price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--rose-gold-dark);
}

.service-duration {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  background: var(--bg-alt);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

/* Combo Card */
.combo-card {
  background: #FFF;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.combo-card:hover {
  border-color: var(--rose-gold);
  box-shadow: var(--shadow-md);
}

.combo-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--rose-gold-dark);
  color: #FFF;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}

/* Cart Drawer / Modal */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 23, 24, 0.55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--bg-main);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  font-size: 1.5rem;
}

.cart-body {
  padding: 1.5rem;
  flex: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--bg-alt);
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.9rem;
  color: var(--rose-gold-dark);
  font-weight: 600;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

.cart-footer {
  padding: 1.5rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.cart-actions-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  border: 1px solid var(--rose-gold);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Admin Dashboard Tables & Forms */
.admin-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--bg-main);
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--text-main);
  box-shadow: 0 0 0 3px rgba(31, 26, 27, 0.08);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th, .custom-table td {
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.875rem;
}

.custom-table th {
  background: var(--bg-alt);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.725rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
