* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #0F1111;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    transition: all 0.25s ease;
}

::selection {
    background: rgba(255, 153, 0, 0.25);
    color: #0F1111;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #F7F7F7;
}
::-webkit-scrollbar-thumb {
    background: #FF9900;
    border-radius: 6px;
    border: 2px solid #F7F7F7;
}
::-webkit-scrollbar-thumb:hover {
    background: #E88B00;
}

/* ===== Site Header (navy bar) ===== */
.amz-site-header {
    position: relative;
    z-index: 2;
    padding: 14px 24px;
    background: linear-gradient(180deg, #131A22 0%, #232F3E 100%);
    opacity: 0;
    box-shadow: 0 2px 8px rgba(15, 17, 17, 0.25);
}
.amz-header-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.amz-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.amz-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: linear-gradient(135deg, #FF9900, #FEBD69);
    color: #131A22;
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(255, 153, 0, 0.45);
    flex-shrink: 0;
}
.amz-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.amz-brand-name {
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.3px;
}
.amz-brand-tagline {
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 11px;
    color: #FF9900;
    letter-spacing: 0.4px;
    margin-top: 2px;
    text-transform: uppercase;
}
.amz-main-nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.amz-main-nav a {
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    letter-spacing: 0.2px;
    transition: all 0.25s ease;
}
.amz-main-nav a:hover {
    color: #FF9900;
    background: rgba(255, 255, 255, 0.08);
}

/* ===== Main Layout ===== */
.amz-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 24px 40px;
    position: relative;
    z-index: 1;
}

.amz-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
    flex-wrap: wrap;
    padding-bottom: 14px;
    border-bottom: 2px solid #FF9900;
}
.amz-section-title {
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #0F1111;
    letter-spacing: 0.1px;
    position: relative;
    padding-left: 16px;
    opacity: 0;
}
.amz-section-title::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 26px;
    background: #FF9900;
    border-radius: 999px;
}
.amz-section-sub {
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: #848688;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Category Pill ===== */
.amz-cat-pill {
    position: absolute;
    top: 12px; left: 12px;
    z-index: 2;
    display: inline-block;
    padding: 5px 12px;
    background: #131A22;
    color: #FFFFFF;
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(15, 17, 17, 0.30);
}
.amz-cat-pill-sm {
    padding: 3px 9px;
    font-size: 10px;
    top: 9px; left: 9px;
}
.amz-cat-pill-inline {
    position: static;
    margin-bottom: 14px;
    background: #FF9900;
    color: #131A22;
}

/* ===== Best-seller / Deal Badge ===== */
.amz-badge {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 2;
    display: inline-block;
    padding: 5px 12px;
    background: #CC0C39;
    color: #FFFFFF;
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(204, 12, 57, 0.35);
}
.amz-badge-inline {
    position: static;
    margin-bottom: 14px;
    margin-left: 8px;
}

/* ===== Card Meta ===== */
.amz-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 12px;
    color: #848688;
}
.amz-meta-dot {
    color: #E7E7E7;
}

/* ===== Ratings & Price ===== */
.amz-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.amz-rating {
    color: #FFA41C;
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 1;
}
.amz-star-half {
    color: #FFA41C;
    opacity: 0.4;
}
.amz-star-empty {
    color: #D5D9D9;
}
.amz-rating-count {
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 12px;
    color: #007185;
    font-weight: 500;
    white-space: nowrap;
}
.amz-rating-sm .amz-rating { font-size: 13px; }
.amz-rating-sm .amz-rating-count { font-size: 11px; }
.amz-rating-lg .amz-rating { font-size: 20px; }
.amz-rating-lg .amz-rating-count { font-size: 14px; }

.amz-price {
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #B12704;
    line-height: 1;
}
.amz-price-sm { font-size: 17px; }
.amz-price-lg { font-size: 30px; }

.amz-stock {
    display: inline-block;
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #067D62;
    padding: 4px 10px;
    background: rgba(6, 125, 98, 0.10);
    border-radius: 999px;
}

.amz-cta {
    display: inline-block;
    padding: 9px 20px;
    background: linear-gradient(180deg, #FEBD69 0%, #F3A847 100%);
    color: #131A22;
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    letter-spacing: 0.2px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 1px solid rgba(15, 17, 17, 0.1);
}
.amz-cta:hover {
    background: linear-gradient(180deg, #F3A847 0%, #FF9900 100%);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.45);
}

/* ===== Hero Card (Featured) ===== */
.amz-hero-section {
    margin-bottom: 48px;
}
.amz-hero-card {
    opacity: 0;
}
.amz-hero-card-link {
    display: grid;
    grid-template-columns: 1fr;
    background: #FFFFFF;
    border: 1px solid #D5D9D9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 17, 17, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease;
}
.amz-hero-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 153, 0, 0.22);
    border-color: #FF9900;
}
.amz-hero-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #F7F7F7;
}
.amz-hero-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.amz-hero-card-link:hover .amz-hero-card-media img {
    transform: scale(1.04);
}
.amz-hero-card-body {
    padding: 26px 28px 28px;
}
.amz-hero-card-title {
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #0F1111;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: 0.1px;
}
.amz-hero-card-excerpt {
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 15px;
    color: #565959;
    line-height: 1.7;
    margin-bottom: 18px;
}
.amz-hero-foot {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid #E7E7E7;
}
.amz-hero-foot .amz-card-meta {
    margin-left: auto;
}

/* ===== Featured Grid ===== */
.amz-featured-section {
    margin-bottom: 48px;
}
.amz-featured-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 22px;
}

/* ===== Post Grid ===== */
.amz-posts-section {
    margin-bottom: 20px;
}
.amz-posts-stream {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.amz-post-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 22px;
}

/* ===== Post Card ===== */
.amz-post-card {
    opacity: 0;
    height: 100%;
}
.amz-post-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #FFFFFF;
    border: 1px solid #D5D9D9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 17, 17, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease, border-color 0.25s ease;
}
.amz-post-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 153, 0, 0.22);
    border-color: #FF9900;
}
.amz-post-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #F7F7F7;
}
.amz-post-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.amz-post-card-link:hover .amz-post-card-media img {
    transform: scale(1.06);
}
.amz-post-card-body {
    padding: 18px 18px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.amz-post-card-title {
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #007185;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}
.amz-post-card-link:hover .amz-post-card-title {
    color: #C7511F;
    text-decoration: underline;
}
.amz-post-card-excerpt {
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: #848688;
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}
.amz-post-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid #E7E7E7;
}

/* ===== Ad Slots ===== */
.amz-ad-slot {
    width: 100%;
    margin: 8px auto;
    display: flex;
    justify-content: center;
}
.amz-first-ad {
    max-width: 1240px;
    margin: 16px auto 32px;
    padding: 0 24px;
}

/* ===== Article Detail Page ===== */
.amz-article-main {
    max-width: 820px;
    margin: 0 auto;
    padding: 24px 24px 40px;
    position: relative;
    z-index: 1;
}
.amz-back-btn {
    display: inline-block;
    margin-bottom: 24px;
    padding: 9px 20px;
    background: #FFFFFF;
    color: #007185;
    border: 1px solid #D5D9D9;
    border-radius: 999px;
    text-decoration: none;
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(15, 17, 17, 0.08);
    opacity: 0;
    transition: all 0.25s ease;
}
.amz-back-btn:hover {
    background: #131A22;
    color: #FFFFFF;
    border-color: #131A22;
    transform: translateX(-3px);
}
.amz-article-hero {
    position: relative;
    opacity: 0;
    background: #FFFFFF;
    border: 1px solid #D5D9D9;
    border-radius: 16px;
    padding: 28px 28px 24px;
    box-shadow: 0 2px 10px rgba(15, 17, 17, 0.08);
}
.amz-article-title {
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #0F1111;
    line-height: 1.25;
    letter-spacing: 0.1px;
    margin-bottom: 12px;
}
.amz-article-meta {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #E7E7E7;
}
.amz-article-cover {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(15, 17, 17, 0.16);
    margin-bottom: 22px;
    aspect-ratio: 16 / 9;
    background: #F7F7F7;
}
.amz-article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.amz-buy-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 20px;
    background: #F7F7F7;
    border: 1px solid #E7E7E7;
    border-radius: 10px;
}
.amz-buy-bar .amz-price-lg {
    margin-right: auto;
}
.amz-cta-buy {
    padding: 11px 26px;
    font-size: 15px;
}
.amz-article-body {
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.85;
    color: #565959;
    background: #FFFFFF;
    padding: 32px 32px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(15, 17, 17, 0.08);
    border: 1px solid #D5D9D9;
    opacity: 0;
    margin-top: 24px;
}
.amz-article-body p {
    margin-bottom: 20px;
}
.amz-article-body p:first-child::first-letter {
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 52px;
    font-weight: 700;
    color: #FF9900;
    float: left;
    line-height: 0.9;
    margin: 6px 12px 0 0;
}
.amz-article-body a {
    color: #007185;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.amz-article-body a:hover {
    color: #C7511F;
}
.amz-article-body strong {
    color: #0F1111;
    font-weight: 600;
}

/* ===== Related Articles ===== */
.amz-related-section {
    margin-top: 48px;
}
.amz-related-title-heading {
    margin-bottom: 22px;
}
.amz-related-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}
.amz-related-card {
    opacity: 0;
    height: 100%;
}
.amz-related-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #FFFFFF;
    border: 1px solid #D5D9D9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 17, 17, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.25s ease;
}
.amz-related-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 153, 0, 0.22);
    border-color: #FF9900;
}
.amz-related-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #F7F7F7;
}
.amz-related-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.amz-related-card-link:hover .amz-related-media img {
    transform: scale(1.05);
}
.amz-related-body {
    padding: 14px 16px 16px;
}
.amz-related-title {
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #007185;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}
.amz-related-card-link:hover .amz-related-title {
    color: #C7511F;
    text-decoration: underline;
}
.amz-related-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 12px;
    color: #848688;
    margin-top: 4px;
}

/* ===== Static Pages ===== */
.amz-static-main {
    max-width: 820px;
    margin: 0 auto;
    padding: 24px 24px 40px;
    position: relative;
    z-index: 1;
}
.amz-static-article {
    background: #FFFFFF;
    padding: 36px 36px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(15, 17, 17, 0.08);
    border: 1px solid #D5D9D9;
    opacity: 0;
}
.amz-static-title {
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #0F1111;
    line-height: 1.2;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 2px solid #FF9900;
}
.amz-static-content {
    font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.85;
    color: #565959;
}
.amz-static-content p {
    margin-bottom: 16px;
}
.amz-static-content strong {
    color: #0F1111;
    font-weight: 600;
}
.amz-static-content ul {
    margin: 12px 0 18px 4px;
}
.amz-static-content li {
    margin-bottom: 10px;
}
.amz-static-content a {
    color: #007185;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.amz-static-content a:hover {
    color: #C7511F;
}

/* ===== Responsive ===== */
@media (min-width: 768px) {
    .amz-section-title { font-size: 32px; }
    .amz-hero-card-link {
        grid-template-columns: 1.1fr 1fr;
    }
    .amz-hero-card-media {
        aspect-ratio: auto;
        min-height: 360px;
    }
    .amz-hero-card-body {
        padding: 36px 36px 32px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .amz-hero-card-title { font-size: 30px; }
    .amz-featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .amz-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .amz-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .amz-article-title { font-size: 38px; }
    .amz-static-title { font-size: 36px; }
}

@media (min-width: 1024px) {
    .amz-site-header { padding: 16px 24px; }
    .amz-featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .amz-post-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .amz-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .amz-hero-card-title { font-size: 32px; }
    .amz-article-title { font-size: 40px; }
}

@media (max-width: 600px) {
    .amz-site-header { padding: 12px 16px; }
    .amz-main { padding: 16px 16px 30px; }
    .amz-first-ad { padding: 0 16px; }
    .amz-article-main { padding: 16px 16px 30px; }
    .amz-static-main { padding: 16px 16px 30px; }
    .amz-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .amz-main-nav {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }
    .amz-main-nav a {
        white-space: nowrap;
        padding: 7px 12px;
        font-size: 13px;
    }
    .amz-brand-mark { width: 40px; height: 40px; font-size: 21px; }
    .amz-brand-name { font-size: 22px; }
    .amz-section-title { font-size: 24px; padding-left: 14px; }
    .amz-section-title::before { height: 22px; width: 4px; }
    .amz-hero-card-body { padding: 20px 18px 22px; }
    .amz-hero-card-title { font-size: 22px; }
    .amz-hero-card-excerpt { font-size: 14px; }
    .amz-post-card-body { padding: 16px 16px 16px; }
    .amz-post-card-title { font-size: 16px; }
    .amz-article-title { font-size: 26px; }
    .amz-article-hero { padding: 22px 18px; }
    .amz-article-body { padding: 24px 18px; font-size: 16px; }
    .amz-article-body p:first-child::first-letter { font-size: 42px; }
    .amz-buy-bar { padding: 14px 16px; }
    .amz-cta-buy { width: 100%; text-align: center; }
    .amz-static-article { padding: 26px 20px; }
    .amz-static-title { font-size: 26px; }
    .amz-footer-nav { gap: 18px; }
    .amz-footer-logo { font-size: 24px; }
}
