/* Product and Amazon Box Styles */

/* Main content offset for sticky banner */
main { padding-top: 6px; }

/* Badge styles for About section */
.badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b9d, #ff8a9b);
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0 3px;
}
.badge.blue {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}
.badge.orange {
    background: linear-gradient(135deg, #fa7e1e, #ffa500);
}
.badge.purple {
    background: linear-gradient(135deg, #d366ff, #a855f7);
}
.badge.green {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

/* Quote Poster */
.quote-poster {
    width: 100%;
    margin: 0;
    padding: 16px 24px;
    background: linear-gradient(to right, #5b9bd5 0%, #f5f5f5 30%, #5b9bd5 100%);
    text-align: right;
    box-shadow: 0 4px 15px rgba(91,155,213,0.2);
    border: 4px solid #5b9bd5;
    border-left: none;
    border-right: none;
}
.quote-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a3a5c;
    font-style: italic;
    letter-spacing: 0.3px;
    line-height: 1.5;
    text-align: right;
}

/* Blog Poster */
.blog-poster {
    display: block;
    text-decoration: none;
    max-width: 900px;
    margin: 24px auto;
}
.blog-poster-card {
    background: linear-gradient(135deg, #5b9bd5 0%, #4a90c2 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(91,155,213,0.25);
    transition: transform 0.3s, box-shadow 0.3s;
}
.blog-poster-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(91,155,213,0.35);
}
.blog-poster-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 280px;
}
.blog-poster-image {
    background-size: cover;
    background-position: center;
    position: relative;
}
.blog-poster-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, transparent 0%, rgba(91,155,213,0.4) 100%);
}
.blog-poster-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}
.blog-poster-label {
    font-size: 0.95rem;
    font-weight: 700;
    opacity: 0.9;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.blog-poster-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0 0 12px;
    line-height: 1.2;
    color: #fff;
}
.blog-poster-description {
    font-size: 1.05rem;
    margin: 0 0 20px;
    opacity: 0.95;
    line-height: 1.5;
}
.blog-poster-cta {
    display: inline-block;
    background: #fff;
    color: #5b9bd5;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    text-align: center;
    align-self: flex-start;
}

/* Logo */
.logo {
    width: 96px;
    height: 96px;
    border-radius: 12px;
    object-fit: cover;
}

/* Title block */
.title-block {
    display: flex;
    flex-direction: column;
}
.subtitle {
    color: #666;
    font-size: 0.88rem;
}

/* Story text */
.story {
    font-size: 1.03rem;
    color: #1a3a5c;
    line-height: 1.4;
    margin-bottom: 8px;
}

section { padding: 18px; max-width:680px; margin: 8px auto; }
section#about-mivobox { margin-top: 6px; }

.amazon-box { 
    max-width:680px; 
    margin: 8px auto 12px; 
    padding: 18px; 
    border-radius:12px; 
    border:1px solid #d0e0f0; 
    background:#fff; 
    overflow:hidden; 
}

.amazon-box .title { 
    font-size:1.3rem; 
    margin-bottom:12px; 
    font-weight:900; 
    color:#1a3a5c; 
    text-align:center; 
}

.amazon-box .featured { 
    display:flex; 
    gap:10px; 
    align-items:center; 
    padding:10px; 
    border-radius:8px; 
    background:#fff; 
    border:1px solid #ffe9d0; 
}

.amazon-box .featured-img { 
    width:96px; 
    height:96px; 
    border-radius:8px; 
    object-fit:cover; 
    flex:0 0 96px; 
}

.amazon-box .featured .meta { text-align:left; }
.amazon-box .featured .meta .name { font-weight:800; font-size:1rem; margin-bottom:6px; }
.amazon-box .featured .meta .price { color:#555; margin-bottom:6px; }

.amazon-box .other-finds { 
    margin-top:10px; 
    border-top:1px dashed rgba(0,0,0,0.06); 
    padding-top:10px; 
}

.amazon-box .other-finds .small-btn { 
    display:block; 
    width:100%; 
    margin:8px 0; 
    background:#ff6f00; 
    color:#fff; 
    padding:12px 16px; 
    border-radius:12px; 
    border:1px solid rgba(0,0,0,0.06); 
    text-decoration:none; 
    font-size:1rem; 
    font-weight:700; 
    text-align:center; 
    box-sizing:border-box; 
}

.amazon-box .other-finds .small-btn:hover { filter: brightness(0.95); }

.amazon-box .btn { 
    display:block; 
    margin:8px 0 0; 
    background:#ff6f00; 
    color:#fff; 
    padding:10px 14px; 
    border-radius:10px; 
    font-weight:800; 
    text-align:center; 
    width:100%; 
    box-sizing:border-box; 
}

/* Instagram Button */
.instagram-btn { 
    display:block; 
    width:100%; 
    text-align:center; 
    background: linear-gradient(45deg,#f58529 0%,#dd2a7b 40%,#8134af 70%,#515bd4 100%); 
    color:#fff; 
    padding:14px 18px; 
    border-radius:12px; 
    font-weight:900; 
    font-size:1.05rem; 
    text-decoration:none; 
    box-shadow: 0 8px 20px rgba(81,91,212,0.12); 
}

.instagram-btn:hover { 
    transform: translateY(-1px); 
    box-shadow: 0 10px 26px rgba(81,91,212,0.14); 
}

/* Categories */
.categories { display:grid; grid-template-columns:1fr 1fr; gap:6px 12px; }
.cat-box { padding:3px 0; background:transparent; border:none; font-size:0.9rem; font-weight:500; color:#555; line-height:1.3; }

/* About Section */
section.page-section#about-mivobox { 
    max-width:680px; 
    margin: 8px auto 12px; 
    background:#fff; 
    border:1px solid #d0e0f0; 
    border-radius:12px; 
    padding:18px; 
}

/* Legal Section */
.page-section.legal h2 {
    font-size: 1rem;
    color: #666;
    font-weight: 700;
    margin-bottom: 8px;
}

.legal-strip { 
    text-align:center;
    padding:12px 16px;
    border-top:1px solid rgba(0,0,0,0.04);
    color:#666;
    font-size:0.95rem;
}

.legal-strip details summary { 
    font-size: 0.75rem; 
    font-weight:700; 
    color: #555; 
    cursor: pointer; 
}

@media (max-width:560px){
  section { padding:12px 12px; }
  .amazon-box .featured { gap:8px; }
  .amazon-box .featured-img { width:80px; height:80px; flex:0 0 80px; }
  .badge { padding: 3px 6px; font-size: 0.88rem; margin: 0 2px; }
  
  /* Blog poster mobile */
  .blog-poster { margin: 16px; }
  .blog-poster-grid { grid-template-columns: 1fr; height: auto; }
  .blog-poster-image { height: 200px; }
  .blog-poster-content { padding: 24px; }
  .blog-poster-title { font-size: 1.5rem; }
  .blog-poster-description { font-size: 0.95rem; }
}

/* Desktop enhancements */
@media (min-width:1024px){
  section { padding: 24px 22px; }
  .story { font-size: 1.1rem; }
  .badge { padding: 5px 10px; font-size: 1rem; }
}
