/* =========================
   AMW BRAND THEME (FIXED)
   Paste this FULL CSS to replace your current style.css
   ========================= */

:root{
  --bg:#F3FAFF;
  --card:#FFFFFF;
  --card2:#ffffff;
  --text:#0B1B2B;
  --muted:#4B5B73;

  /* ✅ AMW BRAND theme colors (fix for VIEW button) */
  --primary:#00B7FF;     /* cyan/blue */
  --primary-2:#008CFF;   /* deeper blue */
  --accent:#E53935;      /* red */
  --accent2:#16a34a;     /* green */
  --danger:#dc2626;

  --border:rgba(10, 20, 40, .10);
  --shadow: 0 18px 40px rgba(25, 35, 70, .12);
  --radius:18px;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1100px 520px at 12% -10%, rgba(0,183,255,.22), transparent 60%),
    radial-gradient(900px 520px at 92% 0%, rgba(229,57,53,.12), transparent 55%),
    radial-gradient(700px 520px at 50% 110%, rgba(0,140,255,.10), transparent 60%),
    var(--bg);
  color:var(--text);
}

a{color:inherit;text-decoration:none}
.container{width:min(1150px, 92%); margin:0 auto}

/* Header */
.site-header{
  position:sticky; top:0; z-index:30;
  background: linear-gradient(90deg, rgba(0,183,255,.16), rgba(229,57,53,.10));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:900; letter-spacing:.4px;
}
.nav{
  display:flex; gap:14px; align-items:center; flex-wrap:wrap;
}
.nav a{color:var(--muted); font-weight:650}
.nav a:hover{color:var(--text)}

/* Cart badge */
.badge{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:22px; height:22px; padding:0 7px;
  background: rgba(0,183,255,.14);
  border:1px solid rgba(0,183,255,.25);
  border-radius:999px; font-size:12px;
}

/* Hero */
.hero{
  padding:26px 0 12px;
}
.hero-card{
  position:relative;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--card);
  min-height: 340px;
}
.hero-bg{
  position:absolute; inset:0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.02);
  opacity:.92;
}
.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.72) 45%, rgba(255,255,255,.15) 100%);
}
.hero-content{
  position:relative;
  padding: 26px;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}
@media (max-width: 900px){
  .hero-content{grid-template-columns:1fr}
  .hero-card{min-height: 420px}
  .hero-overlay{background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.70) 55%, rgba(255,255,255,.20) 100%);}
}
.hero h1{margin:0 0 10px; font-size: clamp(26px, 3.2vw, 44px); line-height:1.05}
.hero p{margin:0 0 14px; color:var(--muted); line-height:1.6}

.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.75);
  color: var(--text);
  font-weight:750;
  width: fit-content;
}
.pill small{color:var(--muted); font-weight:650}
.cta-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:10px}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.88);
  color:var(--text);
  cursor:pointer;
  font-weight:800;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, filter .12s ease;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(10,20,40,.18)}

/* ✅ FIXED: View button readable */
.btn.primary{
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  border: none;
  color:#fff !important;
}
.btn.primary:hover{filter: brightness(0.98)}

.btn.success{
  background: linear-gradient(135deg, rgba(22,163,74,.98), rgba(22,163,74,.70));
  border-color: rgba(22,163,74,.35);
  color:#fff;
}

.btn.danger{
  background: var(--accent);
  border: none;
  color:#fff;
}

/* Section title + inputs */
.section-title{
  margin: 18px 0 10px;
  font-size: 15px;
  color: var(--muted);
  letter-spacing:.25px;
  display:flex; align-items:center; justify-content:space-between;
  gap: 12px;
}
.section-title strong{color:var(--text)}
.search{width: 290px; max-width: 100%;}
.input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.95);
  color: var(--text);
  outline:none;
}
.input:focus{border-color: rgba(0,183,255,.45)}

/* Grid + cards */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
  padding: 10px 0 46px;
}
@media (max-width: 980px){ .grid{grid-template-columns: repeat(2, 1fr)} }
@media (max-width: 640px){ .grid{grid-template-columns: 1fr} }

.card{
  background: rgba(255,255,255,.95);
  border:1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
  min-height: 100%;
}
.card-img{
  width:100%;
  height: 190px;
  object-fit: cover;
  background: rgba(0,0,0,.02);
}
.card-body{padding:14px; display:flex; flex-direction:column; gap:10px; flex:1}
.card h3{margin:0; font-size:16px; line-height:1.25}
.card p{margin:0; color:var(--muted); line-height:1.5}
.card-bottom{
  display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:auto;
}
.price{font-weight:950; letter-spacing:.2px}

/* Layout panels */
.row{display:flex; gap:16px; align-items:flex-start; padding: 20px 0 46px;}
@media (max-width: 900px){ .row{flex-direction:column} }

.panel{
  flex:1;
  background: rgba(255,255,255,.95);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}
.notice{
  padding:12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.88);
}
.table{width:100%; border-collapse: collapse}
.table th, .table td{
  border-bottom:1px solid var(--border);
  padding:10px 6px;
  text-align:left;
}
.small{font-size: 13px}
.muted{color:var(--muted)}

/* Footer */
.site-footer{
  border-top:1px solid var(--border);
  padding:18px 0;
  background: linear-gradient(90deg, rgba(0,183,255,.10), rgba(229,57,53,.06));
}
.footer-row{display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap}
.footer-title{margin:0; font-weight:950}
.footer-links a{margin-right:0; color:var(--muted); font-weight:650}
.footer-links a:hover{color:var(--text)}
.dot{display:inline-block;margin:0 10px;color:rgba(82,96,122,.65)}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 20, .72);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  z-index: 9999;
}
.lightbox.open{ display:flex; }
.lightbox img{
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
  background: #fff;
}
.lightbox-close{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.10);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  cursor: pointer;
}
.lightbox-close:hover{ background: rgba(255,255,255,.18); }
.lightboxable{ cursor: zoom-in; }