/* ── Aaj Kya Pehnu – Outfit Recommender V5 – Visual Cards ── */
#akp-recommender-wrap {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

/* ── HERO ── */
.akp-hero { text-align: center; padding: 40px 24px 28px; }
.akp-hero h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: #1e2d23; margin: 0 0 10px; }
.akp-hero p { font-size: 1rem; color: #6b7c71; margin: 0; }

/* ── FORM ── */
#akp-rec-form { background: #fff; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,.08); padding: 28px 32px 32px; margin-bottom: 28px; }
.akp-fields { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin-bottom: 20px; }
@media(max-width:600px){ .akp-fields { grid-template-columns: 1fr; } }
.akp-field label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: #6b7c71; margin-bottom: 7px; }
.akp-field input, .akp-field select { width: 100%; padding: 11px 14px; border: 2px solid #e8ede9; border-radius: 10px; font-size: .95rem; color: #1e2d23; background: #f9fbf9; transition: border-color .2s; box-sizing: border-box; -webkit-appearance: none; }
.akp-field input:focus, .akp-field select:focus { outline: none; border-color: #e8654a; background: #fff; }
#akp-submit { width: 100%; padding: 15px; background: linear-gradient(135deg, #e8654a, #cf5339); color: #fff; border: none; border-radius: 12px; font-size: 1.05rem; font-weight: 700; cursor: pointer; transition: transform .15s, box-shadow .15s; }
#akp-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,101,74,.35); }
#akp-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }

/* ── WEATHER ── */
#akp-weather-strip { background: linear-gradient(135deg, #f3fbf5, #fff9f7); border: 1px solid #d4ead9; border-radius: 12px; padding: 14px 20px; margin-bottom: 24px; font-size: .95rem; color: #2c3e30; text-align: center; }
#akp-weather-strip strong { color: #e8654a; }

/* ── RESULTS HEADER ── */
.akp-r-header { text-align: center; margin-bottom: 20px; }
.akp-r-header h3 { font-size: 1.3rem; font-weight: 800; color: #1e2d23; margin: 0 0 4px; }
.akp-r-header p { font-size: .85rem; color: #6b7c71; margin: 0; }

/* ── GRID ── */
.akp-r-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media(max-width:640px){ .akp-r-grid { grid-template-columns: 1fr; } }

/* ── CARD ── */
.akp-r-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.07); border: 1px solid #edf5ef; transition: transform .2s, box-shadow .2s; }
.akp-r-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.1); }

/* Visual top — large clickable area with gradient or photo */
.akp-r-card-visual {
  display: block;
  text-decoration: none !important;
  color: #fff !important;
  padding: 40px 20px 30px;
  position: relative;
  min-height: 200px;
  cursor: pointer;
}
/* Dark overlay so text stays readable over photos */
.akp-r-card-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,.6) 100%);
  border-radius: 0;
  z-index: 0;
}
.akp-r-card-overlay { position: relative; z-index: 1; }
.akp-r-look-num { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; opacity: .7; margin-bottom: 6px; }
.akp-r-card-visual h4 { margin: 0 0 16px; font-size: 1.3rem; font-weight: 800; line-height: 1.2; color: #fff; }
.akp-r-shop-cta {
  display: inline-block;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.3);
  transition: background .2s;
}
.akp-r-card-visual:hover .akp-r-shop-cta { background: rgba(255,255,255,.35); }

/* Items list — each item is a clickable row */
.akp-r-card-items { padding: 12px 16px 14px; }
.akp-r-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f2f2f2;
  text-decoration: none !important;
  color: #1e2d23 !important;
  transition: background .15s;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 6px;
}
.akp-r-item:last-of-type { border-bottom: none; }
.akp-r-item:hover { background: #fef9f7; }
.akp-r-item-name { font-size: .84rem; color: #2c3e30; flex: 1; line-height: 1.3; }
.akp-r-item-price { font-size: .78rem; font-weight: 700; color: #e8654a; white-space: nowrap; margin-left: 12px; }

/* Tip */
.akp-r-tip { background: #f3fbf5; border-left: 3px solid #5a8a6a; border-radius: 6px; padding: 8px 12px; margin: 10px 0; font-size: .8rem; color: #1e2d23; line-height: 1.45; }

/* Footer */
.akp-r-disc { text-align: center; margin-top: 28px; font-size: .76rem; color: #aaa; }
.akp-r-disc a { color: #aaa; }

/* Error */
#akp-error { background: #fff3f3; border: 1px solid #f5c6cb; border-radius: 12px; padding: 18px; text-align: center; color: #721c24; }
