/* Style UI seperti Shopee khusus toko buket */
:root {
  --bg: #fff0f4;
  --surface: #ffffff;
  --surface-strong: #ffe6e9;
  --text: #2f2b2c;
  --muted: #6f5b5f;
  --primary: #ff6f61;
  --primary-dark: #e84f50;
  --accent: #ffb1c1;
  --border: #ffd3dd;
  --shadow: 0 18px 50px rgba(238, 101, 109, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(180deg, #fff0f4 0%, #ffeef3 100%);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

header {
  background: var(--primary);
  color: white;
  padding: 24px 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

header .brand {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

header h1 {
  margin: 0;
  font-size: 1.9rem;
  letter-spacing: 0.08em;
}

header p {
  margin: 8px 0 0;
  opacity: 0.92;
  max-width: 620px;
}

.menu {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  background: linear-gradient(90deg, rgba(255,255,255,0.85), rgba(255,255,255,0.95));
  border-bottom: 1px solid var(--border);
}

.menu h3 {
  width: 100%;
  margin: 0 0 6px;
  text-align: center;
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.menu a {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary-dark);
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.menu a:hover {
  background: var(--accent);
  color: #7e2e36;
  transform: translateY(-1px);
}

.container,
.content {
  max-width: 1200px;
  margin: 28px auto;
  padding: 0 16px;
}

.content {
  display: grid;
  gap: 24px;
}

.content h2,
.container h2 {
  margin: 0 0 16px;
  font-size: 1.8rem;
  color: var(--primary-dark);
}

.content p,
.container p,
.container td,
.container th,
form label {
  color: var(--muted);
  line-height: 1.8;
}

.highlight {
  color: var(--primary);
  font-weight: 700;
}

.card {
  background: var(--surface);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card .product-info {
  padding: 18px;
}

.product-card .product-info h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.product-card .product-info p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.see-all {
  color: var(--primary-dark);
  font-weight: 700;
  white-space: nowrap;
}

.see-all:hover {
  text-decoration: underline;
}

.best-seller-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.best-seller-card {
  overflow: hidden;
  background: #fffafa;
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.best-seller-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(238, 101, 109, 0.16);
}

.best-seller-image {
  position: relative;
}

.best-seller-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.rank-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-size: .78rem;
  font-weight: 800;
}

.best-seller-info {
  padding: 16px;
}

.best-seller-info h3 {
  margin: 0 0 8px;
}

.best-seller-info p {
  margin: 0 0 13px;
  font-size: .92rem;
  line-height: 1.6;
}

.best-seller-info strong {
  display: inline-block;
  color: var(--primary-dark);
  font-size: .92rem;
}

.order-card,
.card-form,
.contact-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.order-card h3,
.contact-card h3,
.card-form h3 {
  margin-top: 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  border: 1px solid #f2d4dd;
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px;
  margin-top: 8px;
  margin-bottom: 18px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

#order-date {
  cursor: not-allowed;
  opacity: .8;
  pointer-events: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255,111,97,0.12);
}

.custom-photo-group {
  margin-bottom: 18px;
  padding: 14px;
  border: 1px dashed var(--accent);
  border-radius: 14px;
  background: #fff8fa;
}

.custom-photo-group[hidden] {
  display: none;
}

.custom-photo-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.custom-photo-group input[type="file"] {
  margin: 0 0 6px;
  padding: 10px;
  background: white;
}

.custom-photo-group small {
  display: block;
  color: var(--muted);
  line-height: 1.5;
}

.custom-photo-preview {
  width: 100%;
  max-height: 220px;
  margin-top: 12px;
  border-radius: 12px;
  object-fit: cover;
}

.date-note {
  display: block;
  margin: -8px 0 18px;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.5;
}

button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: none;
  border-radius: 14px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

button:hover,
input[type="submit"]:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

table {
  width: 100%;
  border-collapse: collapse;
}

td,
th {
  padding: 12px 10px;
}

tbody tr {
  border-bottom: 1px solid #f3d8df;
}

footer {
  text-align: center;
  padding: 24px 16px;
  color: #7a5a60;
}

@media (max-width: 768px) {
  header .brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu {
    padding: 16px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .best-seller-grid {
    grid-template-columns: 1fr;
  }
}
