/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background var(--transition), transform 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover {
  background: #2a3f6e;
  transform: translateY(-1px);
  color: #fff;
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--color-text-light);
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color var(--transition);
  text-decoration: none;
}
.btn-ghost:hover { color: var(--color-primary); }

.btn-sm { padding: 10px 22px; font-size: 12px; }
.btn-full { width: 100%; }

/* === FORM INPUT === */
.form-input {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-input);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  background: #fff;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  line-height: 1.4;
}
.form-input:focus {
  border-color: var(--color-accent-dark);
  box-shadow: 0 0 0 3px rgba(232,196,196,0.3);
}
.form-input::placeholder { color: var(--color-text-light); }
textarea.form-input { resize: vertical; min-height: 96px; }
select.form-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* === PRODUCT CARD === */
.product-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card a { display: flex; flex-direction: column; flex: 1; }
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.product-card__image-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--color-accent);
  flex-shrink: 0;
}
.product-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__image-wrap img { transform: scale(1.04); }
.product-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
}
.product-card__quick-add {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  background: rgba(27,42,74,0.92);
  color: #fff;
  border: none;
  padding: 15px 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: bottom 0.3s ease;
  cursor: pointer;
  z-index: 2;
}
.product-card:hover .product-card__quick-add { bottom: 0; }
.product-card__info {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.05rem;
  color: #1B2A4A;
  margin-bottom: 10px;
  flex: 1;
  line-height: 1.35;
}
.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

/* === BADGE === */
.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.badge--sale {
  background: var(--color-accent);
  color: var(--color-primary);
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
}
.badge--wedding {
  background: var(--color-primary);
  color: #fff;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
}

/* === PRICES === */
.price-current {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-primary);
}
.price-old {
  font-size: 13px;
  color: var(--color-text-light);
  text-decoration: line-through;
}
.price-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: #8A8A8A;
  font-weight: 400;
}

/* === PAGE TITLE AREA === */
.page-intro {
  padding: 48px 0 0;
}
.page-intro h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 8px;
}
.page-intro .subtitle {
  color: var(--color-text-light);
  font-weight: 300;
}

/* === DIVIDER === */
.divider {
  height: 1px;
  background: var(--color-border);
  margin: 0;
}

/* === RELATED PRODUCTS SECTION === */
.related-section {
  padding: 64px 0 88px;
  border-top: 1px solid var(--color-border);
}
.related-section .section-title { margin-bottom: 40px; }

/* === SKELETON LOADING (optional) === */
.skeleton {
  background: linear-gradient(90deg, var(--color-border) 25%, var(--color-bg) 50%, var(--color-border) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.4s infinite;
  border-radius: 4px;
}
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
