/* ═══════════════════════════════════════════════════
   J.J. Gold House — Modern E-Commerce Theme
   Luxury Layout & Section Styles
   ═══════════════════════════════════════════════════ */

/* ── Reset & base ── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: #faf8f4;
    width: 100%;
    font-family: 'Inter', 'Poppins', sans-serif;
    color: #1a1a1a;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Categories section ── */
.categories-section {
    width: 100%;
    position: relative;
    padding: 80px 20px;
    background: #faf8f4;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.category-card:hover {
    box-shadow: 0 20px 50px rgba(140, 0, 0, 0.15);
    transform: translateY(-8px);
}

.category-bg {
    position: absolute;
    width: 230px;
    height: 341px;
    top: 0;
    left: 0;
}

/* ── Product highlights ── */
.product-highlights-section { position: relative; width: 100%; }
.highlights-container { position: relative; width: 100%; max-width: 1440px; margin: 0 auto; }

.highlights-content { position: relative; z-index: 10; padding: 0 16px; }
.highlights-header { text-align: center; margin-bottom: 64px; padding-top: 64px; }
.highlights-title {
    font-family: 'Playfair Display', 'Copperplate', serif;
    font-weight: 700;
    color: #2d0a0a;
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 16px;
}
.highlights-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #8c5a5a;
    font-size: 18px;
    letter-spacing: 0.02em;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1366px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 391px;
    background: linear-gradient(135deg, #f5f0e8, #ebe4d6);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

.product-info { padding: 0 16px 16px; }
.product-description {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #2d0a0a;
    font-size: 14px;
    margin-bottom: 16px;
}
.product-price {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #2d0a0a;
    font-size: 32px;
}
.price-main { font-size: 32px; }
.price-note { font-size: 10px; color: #8c5a5a; }

/* ── Stats section ── */
.stats-section {
    width: 100%;
    position: relative;
    padding: 80px 0;
    background: linear-gradient(180deg, #faf8f4 0%, #f0ebe0 100%);
}

.stats-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 0 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.stats-text { flex: 1; }

.stats-why {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: #d4af37;
    font-size: 18px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.stats-title {
    font-family: 'Playfair Display', 'Copperplate', serif;
    font-weight: 700;
    color: #2d0a0a;
    font-size: 52px;
    line-height: 1;
    margin-bottom: 20px;
}
.stats-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #8c5a5a;
    font-size: 15px;
    margin-bottom: 28px;
}
.stats-description {
    max-width: 500px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #5a3a3a;
    font-size: 16px;
    line-height: 1.7;
}

.stats-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.stat-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 32px 24px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}
.stat-number {
    font-family: 'Playfair Display', 'Copperplate', serif;
    font-weight: 700;
    color: #d4af37;
    font-size: 56px;
    margin-bottom: 12px;
    line-height: 1;
}
.stat-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #5a3a3a;
    font-size: 15px;
    max-width: 220px;
    line-height: 1.5;
}

/* ── Why JJ section ── */
.why-nibr-section {
    position: relative;
    width: 100%;
    background: #1a0505;
    overflow: hidden;
}
.why-nibr-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../img/appimages/image67.png) center/cover;
    opacity: 0.15;
}

.why-nibr-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 80px 24px;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.why-nibr-text {
    display: flex;
    flex-direction: column;
    max-width: 652px;
    gap: 24px;
}
.why-nibr-quote {
    font-family: 'Playfair Display', 'Copperplate', serif;
    font-weight: 400;
    font-style: italic;
    color: #f5f0e8;
    font-size: 28px;
    line-height: 1.4;
    border-left: 3px solid #d4af37;
    padding-left: 24px;
}
.why-nibr-author {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #d4af37;
    font-size: 16px;
    letter-spacing: 0.05em;
}
.why-nibr-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: rgba(245, 240, 232, 0.8);
    font-size: 16px;
    line-height: 1.8;
}

.why-nibr-features {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: rgba(245, 240, 232, 0.9);
    font-size: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.why-nibr-features div {
    padding-left: 28px;
    position: relative;
}
.why-nibr-features div::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: 700;
}

.why-nibr-image {
    width: 100%;
    max-width: 400px;
    height: 350px;
    background: linear-gradient(135deg, #2d0a0a, #3d1010);
    border-radius: 24px;
    background-image: url(../img/appimages/products/gold-10gm-front-1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.why-nibr-image:hover {
    transform: scale(1.03) rotate(1deg);
}

/* ── Related reads ── */
.related-reads-section {
    width: 100%;
    padding: 80px 20px;
    background: #faf8f4;
}
.related-reads-header {
    margin-bottom: 40px;
    text-align: center;
}
.related-reads-title {
    font-family: 'Playfair Display', 'Copperplate', serif;
    font-weight: 700;
    color: #2d0a0a;
    font-size: 36px;
    margin-bottom: 12px;
}
.related-reads-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #8c5a5a;
    font-size: 16px;
}

.articles-container {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #d4af37 transparent;
}
.articles-container::-webkit-scrollbar { height: 6px; }
.articles-container::-webkit-scrollbar-track { background: transparent; }
.articles-container::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 3px;
}

.article-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.article-content { padding: 20px; }
.article-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #2d0a0a;
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
}
.article-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
}
.description-text { color: #5a3a3a; }
.read-more {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #d4af37;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}
.read-more:hover { color: #b8962e; }

/* ── Footer ── */
.footer-section {
    position: relative;
    width: 100%;
    background: #0d0805;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    padding: 60px 24px 30px;
    overflow: hidden;
}
.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../img/appimages/footer.png) center/cover no-repeat;
    opacity: 0.3;
}

.footer-background { display: none; }

.footer-logo {
    width: 160px;
    height: auto;
    padding: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    filter: brightness(1.1);
}

.footer-categories,
.footer-policies,
.footer-company {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 140px;
}

.footer-heading {
    font-family: 'Playfair Display', 'Copperplate', serif;
    font-weight: 600;
    color: #d4af37;
    font-size: 18px;
    white-space: nowrap;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.footer-nav {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-nav a:hover { color: #d4af37; padding-left: 4px; }
.footer-nav div {
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
}
.footer-nav div:hover { color: #d4af37; }

.footer-copyright {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: rgba(245, 240, 232, 0.5);
    font-size: 13px;
}

/* ── Desktop (>=768px) ── */
@media (min-width: 768px) {
    .categories-section { padding: 100px 40px; }

    .stats-content { flex-direction: row; gap: 80px; padding: 0 60px; }
    .stats-why { font-size: 18px; }
    .stats-title { font-size: 80px; }
    .stat-number { font-size: 72px; }
    .stat-desc { font-size: 16px; }
    .stats-description { font-size: 17px; }
    .stat-item { padding: 40px 32px; }

    .why-nibr-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 100px 64px;
    }
    .why-nibr-quote { font-size: 36px; }
    .why-nibr-description { font-size: 18px; }
    .why-nibr-features { font-size: 18px; }
    .why-nibr-image { width: 450px; height: 450px; max-width: none; margin: 0; }

    .related-reads-section { padding: 100px 40px; }
    .related-reads-title { font-size: 52px; }
    .related-reads-subtitle { font-size: 18px; }
    .highlights-title { font-size: 64px; }
    .highlights-subtitle { font-size: 20px; }

    .footer-section { padding: 80px 60px 30px; gap: 50px; }
    .footer-logo { width: 180px; }
    .footer-heading { font-size: 20px; margin-bottom: 32px; }
    .footer-nav { font-size: 15px; }
    .footer-copyright { font-size: 14px; }
}

/* ── Large desktop (>=1200px) ── */
@media (min-width: 1200px) {
    .why-nibr-image { width: 500px; height: 500px; border-radius: 28px; }
    .why-nibr-content { padding: 120px 80px; }
    .stats-section { padding: 120px 0; }
}

/* ── Mobile tweaks (<=767px) ── */
@media (max-width: 767px) {
    .stats-title { font-size: 42px; }
    .stat-number { font-size: 42px; }
    .stats-why { font-size: 14px; }
    .stat-item { padding: 24px 16px; }
    .stats-grid { gap: 16px; }

    .footer-section { flex-direction: column; padding: 40px 20px 20px; gap: 24px; }
    .footer-logo { margin: 0 auto; }
    .footer-categories,
    .footer-policies,
    .footer-company { width: 100%; min-width: auto; text-align: center; }
    .footer-nav a:hover { padding-left: 0; }

    .related-reads-section { padding: 60px 16px; }
    .why-nibr-content { padding: 60px 20px; }
}
