:root {
  --wf-bg: #09090b;
  --wf-card-bg: #18181b;
  --wf-border: #27272a;
  --wf-text-main: #fafafa;
  --wf-text-muted: #a1a1aa;
  --wf-accent: #f43f5e; /* Rose color for meat/freshness */
  --wf-accent-hover: #e11d48;
  --wf-success: #10b981;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background-color: var(--wf-bg);
  color: var(--wf-text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wf-border);
  padding: 16px 0;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--wf-text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand span {
  color: var(--wf-accent);
}

.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.icon-btn {
  background: transparent;
  border: 1px solid var(--wf-border);
  color: var(--wf-text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.icon-btn:hover {
  background: var(--wf-border);
}

/* Product Section */
.product-section {
  padding: 40px 0 80px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
  }
}

/* Gallery */
.gallery-main {
  width: 100%;
  background: var(--wf-card-bg);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--wf-border);
  position: relative;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.thumb {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: var(--wf-card-bg);
}

.thumb.active {
  border-color: var(--wf-accent);
}

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

/* Product Info */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badges {
  display: flex;
  gap: 8px;
}

.badge {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--wf-border);
  color: var(--wf-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge.accent {
  background: rgba(244, 63, 94, 0.1);
  color: var(--wf-accent);
  border: 1px solid rgba(244, 63, 94, 0.2);
}

.product-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.price {
  font-size: 2rem;
  font-weight: 600;
  color: var(--wf-text-main);
}

.price-unit {
  font-size: 1rem;
  color: var(--wf-text-muted);
}

.description {
  color: var(--wf-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Controls */
.controls {
  background: var(--wf-card-bg);
  border: 1px solid var(--wf-border);
  border-radius: 16px;
  padding: 24px;
  margin-top: auto;
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.qty-label {
  font-weight: 600;
  color: var(--wf-text-main);
}

.qty-selector {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--wf-bg);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--wf-border);
}

.qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wf-card-bg);
  border: none;
  color: var(--wf-text-main);
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.qty-btn:hover {
  background: var(--wf-border);
}

.qty-val {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--wf-accent) 0%, #be123c 100%);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(244, 63, 94, 0.3);
}

.rating-container {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.rating-stars {
    display: flex;
    color: #fbbf24;
}
.rating-count {
    color: var(--wf-text-muted);
    font-size: 0.9rem;
}

.delivery-text {
    text-align: center;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--wf-text-muted);
}

.placeholder-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #52525b;
    background: #27272a;
    font-size: 12px;
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  border-top: 1px solid var(--wf-border);
  padding-top: 32px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-icon {
  width: 32px;
  height: 32px;
  background: var(--wf-card-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wf-accent);
}

.feature-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.feature-desc {
  font-size: 0.8rem;
  color: var(--wf-text-muted);
}

/* Recommended */
.section-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  margin-top: 80px;
}

.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.card {
  background: var(--wf-card-bg);
  border: 1px solid var(--wf-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--wf-text-muted);
}

.card-img {
  height: 200px;
  background: #27272a;
  position: relative;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
  padding: 16px;
}

.card-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.card-price {
  color: var(--wf-text-muted);
  font-size: 0.9rem;
}

.btn-sm {
  width: 100%;
  margin-top: 12px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--wf-border);
  background: transparent;
  color: var(--wf-text-main);
  cursor: pointer;
}
.btn-sm:hover {
  background: var(--wf-border);
}

/* Placeholder for icons */
.icon {
  width: 20px;
  height: 20px;
}
