body { background: #f6f8f6; color: #243127; }
.logo { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; }
.hero { background: linear-gradient(120deg, rgba(21,84,46,.9), rgba(20,20,20,.7)), url('../../images/grape16.jpg') center/cover; color: #fff; padding: 5rem 0; }
.card { border: 1px solid #e0e8e1; border-radius: 8px; }
.card-product { overflow: hidden; }
.product-image-wrap { position: relative; background: #eef4ef; }
.card-product img { width: 100%; height: 220px; object-fit: cover; display: block; }
.deal-badge { position: absolute; top: 12px; left: 12px; background: #ffc107; color: #272103; border-radius: 999px; padding: 4px 10px; font-size: .8rem; font-weight: 700; }
.badge-stock { font-size: .8rem; }
.auth-card { max-width: 520px; margin: 3rem auto; }
.table img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.catalog-toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) 190px 190px 220px; gap: 12px; align-items: center; }
.price-filter { background: #fff; border: 1px solid #dee6df; border-radius: 8px; padding: 7px 10px; display: grid; gap: 2px; font-size: .8rem; color: #59665b; }
.rating { color: #986f00; white-space: nowrap; font-weight: 700; }
.price-line { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.price-line strong { color: #177245; font-size: 1.15rem; }
.price-line span { color: #7a837b; text-decoration: line-through; font-size: .9rem; }
.price-line-lg strong { font-size: 1.7rem; }
.product-hero-image { width: 100%; max-height: 520px; object-fit: cover; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.spec-grid div { background: #fff; border: 1px solid #e0e8e1; border-radius: 8px; padding: 12px; }
.spec-grid small { display: block; color: #6b756d; margin-bottom: 4px; }
.delivery-strip { display: grid; gap: 10px; }
.delivery-strip div { border-left: 4px solid #177245; background: #fff; padding: 10px 12px; border-radius: 6px; }
.delivery-strip span { display: block; color: #6b756d; font-size: .9rem; }
.summary-line { display: flex; justify-content: space-between; gap: 16px; margin: 8px 0; }
.order-summary { top: 88px; }
.payment-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.payment-option { border: 1px solid #d8e2da; background: #fff; border-radius: 8px; padding: 12px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.payment-option:has(input:checked) { border-color: #198754; box-shadow: 0 0 0 3px rgba(25,135,84,.12); }
.gateway-box { border: 1px solid #e1e8e2; background: #fbfdfb; border-radius: 8px; padding: 14px; }
.metric-card { background: #fff; border: 1px solid #e0e8e1; border-radius: 8px; padding: 16px; min-height: 110px; display: grid; align-content: center; }
.metric-card span { color: #667085; }
.metric-card strong { font-size: 1.5rem; color: #177245; }
.admin-shell-nav { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid #dbe7dd; padding-bottom: 12px; }
.admin-shell-nav a { color: #2d3a31; text-decoration: none; border: 1px solid #dbe7dd; background: #fff; border-radius: 8px; padding: 8px 12px; font-weight: 700; }
.admin-shell-nav a.active, .admin-shell-nav a:hover { color: #fff; border-color: #198754; background: #198754; }
.admin-stat-row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #edf2ee; padding: 10px 0; }
.admin-stat-row:last-child { border-bottom: 0; }
.admin-stat-row span { color: #667085; }
.admin-stat-row strong { color: #177245; text-align: right; }
.order-update-form { display: grid; grid-template-columns: 125px 135px minmax(140px, 1fr) auto; gap: 8px; }
.contact-map-section { background: #eef5ef; }
.contact-panel { background: #fff; border: 1px solid #dfe9e1; border-radius: 8px; padding: 24px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-list { display: grid; gap: 10px; }
.contact-list div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #edf2ee; padding-bottom: 10px; }
.contact-list span { color: #667085; text-align: right; }
.map-frame { min-height: 360px; border: 1px solid #dfe9e1; border-radius: 8px; overflow: hidden; background: #dfe9e1; }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 1040; background: #25d366; color: #fff; border-radius: 999px; padding: 12px 18px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.whatsapp-float:hover { color: #fff; background: #1fb85a; }
.whatsapp-product-link { display: inline-flex; justify-content: center; color: #177245; font-weight: 700; text-decoration: none; }
.whatsapp-product-link:hover { color: #0f5c35; text-decoration: underline; }

@media (max-width: 991px) {
  .catalog-toolbar { grid-template-columns: 1fr 1fr; }
  .order-update-form { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575px) {
  .catalog-toolbar, .payment-options, .spec-grid { grid-template-columns: 1fr; }
  .order-update-form { grid-template-columns: 1fr; }
  .summary-line { align-items: flex-start; }
  .contact-list div { display: grid; gap: 2px; }
  .contact-list span { text-align: left; }
  .whatsapp-float { right: 12px; bottom: 12px; padding: 10px 14px; }
}
