/* AMACC Accessories — affiliate-ready styles (v1.3.0).
   v1.1.0: affiliate button styled like Amazon's Buy Now button
   (amber pill). Values aligned to the live site: v7 spec cards use radius
   12px and navy #0F2040; the homepage inline CSS uses #0f1b2d / #007cba / #004a59.
   v1.2.0: amacc1 product-card CSS (Post #1, from the SEO fix) baked in below.
   v1.3.0: homepage cards show real brand-official product images
   (.amacc-art-img, object-fit contain on white); the letter tile
   (.amacc-art) stays as the fallback when an image is missing.
   All selectors are .amacc-* prefixed — nothing here touches the
   homepage "Latest Mobiles" grid, the v7 layout, or hero-hide. */

/* ---- Homepage "Accessories & Deals" section ---- */
.amacc-section { margin-top: 32px; }
.amacc-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.amacc-head h2 { font-size: 26px; margin: 0; }
.amacc-badge { display: inline-block; background: #0F2040; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.amacc-sub { color: #4b5563; font-size: 15px; margin: 6px 0 0; }

.amacc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.amacc-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; }
.amacc-card h3 { font-size: 18px; margin: 14px 0 4px; color: #111827; }
.amacc-benefit { font-size: 15px; color: #4b5563; flex: 1; margin: 0; }
.amacc-band { font-size: 14px; color: #6b7280; margin: 10px 0 12px; }
.amacc-band strong { color: #111827; }

/* Letter-tile art panel — fallback only (v1.3.0 shows real product photos instead). NO Amazon images. */
.amacc-art { background: #f3f4f6; border-radius: 8px; height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.amacc-mono { width: 56px; height: 56px; border-radius: 50%; background: #0F2040; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; }
.amacc-kind { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #6b7280; }
.amacc-art-img img { display: block; width: 100%; height: 150px; object-fit: cover; border-radius: 8px; }

/* v1.3.0: homepage product photos show the WHOLE product (contain, white) — cover would crop them. */
.amacc-section .amacc-art-img { background: #fff; }
.amacc-section .amacc-art-img img { object-fit: contain; background: #fff; }

/* Affiliate button — Amazon's Buy Now button style: amber pill, plain <a>, no JS. */
.amacc-btn { display: block; text-align: center; background: #ffa41c; border: 1px solid #ff8f00; color: #0F1111; font-size: 15px; font-weight: 700; padding: 10px 18px; border-radius: 999px; min-height: 44px; line-height: 24px; text-decoration: none; }
.amacc-btn:hover { background: #fa8900; border-color: #e67a00; box-shadow: 0 2px 6px rgba(0,0,0,.15); color: #0F1111; }
.amacc-btn:focus { outline: 2px solid #004a59; outline-offset: 2px; }

.amacc-more { margin-top: 18px; font-size: 15px; }
.amacc-more a { color: #007cba; font-weight: 600; text-decoration: none; }
.amacc-more a:hover { text-decoration: underline; }
.amacc-disclosure { font-size: 13px; color: #6b7280; margin-top: 14px; }

/* ---- Accessories category archive ---- */
.amacc-archive { max-width: 1240px; margin: 0 auto; padding: 24px 16px 48px; }
.amacc-archive-head h1 { font-size: 30px; margin: 0 0 8px; }
.amacc-archive-intro { font-size: 16px; color: #4b5563; margin: 0 0 4px; }
.amacc-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.amacc-archive-grid .amacc-card a.amacc-card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex: 1; }
.amacc-read { font-size: 15px; font-weight: 600; color: #007cba; margin-top: 12px; }
.amacc-empty { font-size: 15px; color: #4b5563; margin-top: 24px; }
.amacc-pagination { margin-top: 28px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .amacc-grid, .amacc-archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .amacc-head h2 { font-size: 22px; }
  .amacc-grid, .amacc-archive-grid { grid-template-columns: 1fr; }
  .amacc-btn { width: 100%; }
  .amacc-archive-head h1 { font-size: 24px; }
}

/* amacc1 product cards - Post #1 Best iPhone 17 Accessories (post 3720) */
.amacc1-card{background:#ffffff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 2px 10px rgba(15,32,64,0.08);padding:20px;margin:18px 0 8px;}
.amacc1-img{margin:0 0 12px;text-align:center;}
.amacc1-img img{max-width:100%;height:auto;border-radius:12px;}
.amacc1-name{font-size:20px;font-weight:800;color:#0f2040;margin:0 0 10px;}
.amacc1-specs{margin:0 0 12px 20px;padding:0;color:#374151;font-size:15px;line-height:1.55;}
.amacc1-specs li{margin-bottom:4px;}
.amacc1-band{margin:0 0 14px;color:#374151;font-size:15px;}
.amacc1-band strong{color:#0f2040;}
.amacc1-cta{margin:0;}
.amacc1-btn{display:inline-block;background:#ffa41c;color:#131921;font-weight:700;font-size:16px;padding:12px 28px;border-radius:999px;text-decoration:none;}
.amacc1-btn:hover{background:#fa8900;color:#131921;}
@media (max-width:480px){.amacc1-card{padding:16px;}.amacc1-name{font-size:18px;}}
