* { box-sizing: border-box; }
html { overflow-x: hidden; }
body { margin: 0; font-family: Arial, sans-serif; overflow-x: hidden; }
.info { background: navy; color: white; width: 100%; }
.info td { padding: 8px 10px; vertical-align: middle; }
.info h4 { margin: 5px 0; }
.info img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; margin: 2px; }
.hero { color: white; background: #F8F1E8; padding: 15px; width: 100%; }
.hero td, .hero th { padding: 8px; vertical-align: middle; }
.heroimg { padding: 8px; border-radius: 50%; background: navy; width: 140px; height: 140px; object-fit: cover; }
.name { color: navy; font-size: clamp(32px,5vw,60px); font-weight: bold; font-style: oblique; margin: 0; }
nav { color: ivory; background: navy; padding: 15px; text-align: right; display:flex; justify-content:flex-end; flex-wrap:wrap; gap:4px; }
nav a { color:white; text-decoration:none; padding:10px 15px; transition:.3s; }
nav a:hover { color:navy; background:#F8F1E8; }
.message { color:white; background:navy; padding:15px; margin:20px 0; }
.product-table { width:100%; border-collapse:separate; border-spacing:12px; table-layout:fixed; }
.product-table td { border:5px solid navy; border-radius:6px; padding:15px; background:ivory; text-align:center; vertical-align:top; box-shadow:0 4px 10px rgba(0,0,0,.12); }
.product-table h3 { color:navy; padding:8px; margin:0 0 10px; min-height:48px; }
.imgs { width:100%; max-width:220px; height:220px; padding:10px; background:navy; border-radius:40%; object-fit:contain; box-shadow:0 5px 15px rgba(0,0,0,.12); }
.old { text-decoration:line-through; font-size:18px; color:red; margin-right:8px; }
.new { color:green; font-size:20px; font-weight:bolder; }
button { margin-top:10px; }
.details-btn, .cart-btn { display:inline-block; background:navy; border:2px outset royalblue; color:white; padding:9px 12px; cursor:pointer; font-weight:bold; border-radius:4px; }
.details-btn:hover, .cart-btn:hover { background:royalblue; }
footer { color:whitesmoke; background:navy; font-style:italic; padding:15px; font-size:large; }
@media (max-width:992px) {
  .info tr, .hero tr { display:grid; grid-template-columns:1fr 1fr; align-items:center; }
  .info td, .hero td, .hero th { width:auto !important; text-align:center; }
  .product-table tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .product-table td { width:auto !important; }
}
@media (max-width:576px) {
  .info tr, .hero tr { grid-template-columns:1fr; }
  .info img { width:34px; height:34px; }
  .heroimg { width:75px; height:75px; }
  .name { font-size:34px; }
  nav { justify-content:center; padding:10px; }
  nav a { padding:8px 10px; font-size:13px; }
  .product-table { border-spacing:8px; }
  .product-table tr { grid-template-columns:1fr; gap:10px; }
  .product-table td { padding:12px; }
  .details-btn, .cart-btn { width:100%; max-width:250px; }
}

