/* ═══════════════════════════════════════════════════
   J.J. Gold House — Component Styles
   Modern Luxury E-Commerce Theme
   ═══════════════════════════════════════════════════ */

@import url(../fonts/Copperplate-Gothic-Std-29-BC.ttf);

@font-face {
    font-family: "Copperplate";
    src: url(../fonts/Copperplate-Gothic-Std-29-BC.ttf);
}

/* ── Base / shared ── */
input#gold-amt { }

.bannerText1 { display: none !important; }

.ProductListBG {
    background: linear-gradient(180deg, #f0ebe0 0%, #faf8f4 50%, #f0ebe0 100%);
    position: relative;
}

.FistSection h1 {
    font-family: 'Playfair Display', 'Copperplate', serif !important;
    color: #fff;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: #2d0a0a;
}

/* ── Header — Glassmorphism Style ── */
header {
    background: linear-gradient(135deg, #1a0505 0%, #2d0a0a 50%, #1a0505 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}
header.scrolled {
    background: rgba(26, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.main-menu {
    background: rgba(140, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0;
    float: left;
    width: 100%;
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.row.top-3box-holder { padding: 12px 24px; }

.logo-wrap {
    padding: 0;
    width: 200px;
    text-align: center;
    margin: 0 auto;
}
.logo-wrap img {
    max-width: 100%;
    height: auto;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}
.logo-wrap img:hover { transform: scale(1.05); }

.logo-wrap1 { padding: 0; width: 100%; }
.logo-wrap1 img {
    width: 100%;
    min-height: 40px;
    margin: 10px 0;
    filter: brightness(1.1);
}

.top-link button {
    color: #d4af37 !important;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    background: transparent;
}
.top-link button:hover {
    background: #d4af37 !important;
    color: #1a0505 !important;
    border-color: #d4af37;
    transform: translateY(-2px);
}

.CartButton {
    margin-left: auto;
    color: #d4af37 !important;
    transition: transform 0.3s ease, color 0.3s ease;
}
.CartButton:hover {
    transform: scale(1.15);
    color: #f5d060 !important;
}

.product-title {
    font-family: 'Playfair Display', 'Copperplate Gothic Bold', serif;
    font-weight: 700;
    color: #2d0a0a;
    font-size: 32px;
    margin-bottom: 32px;
}

.section-title,
.section-title1 {
    font-family: 'Playfair Display', 'Copperplate', serif;
    font-weight: 700;
    color: #2d0a0a;
    font-size: 36px;
    line-height: 1.1;
    position: relative;
    display: inline-block;
}
.section-title::after,
.section-title1::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f5d060);
    margin: 14px auto 0;
    border-radius: 2px;
}

.FistSection .banner-btn {
    background: linear-gradient(135deg, #d4af37, #f5d060);
    color: #1a0505;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 10px 24px;
    margin-top: 10px;
    border-radius: 50px;
    border: none;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
.FistSection .banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.buy_sell_label { padding: 60px 10px 10px; }

.mob-non1 { display: none; }

/* ── Marquee / Top note ── */
.top-note {
    color: #2d0a0a;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    padding: 10px 0;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, #f5f0e8, #faf8f4, #f5f0e8);
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

/* ── Categories (JS-populated) ── */
.categories-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    width: 180px;
    height: 280px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.1);
}
.category-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 24px 60px rgba(140, 0, 0, 0.12);
    border-color: rgba(212, 175, 55, 0.3);
}
.category-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f5d060);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.category-card:hover::after {
    transform: scaleX(1);
}

.category-product {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 55%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.category-card:hover .category-product {
    transform: translate(-50%, -50%) scale(1.08);
}

.category-product.gold-bar,
.category-product.silver-bar,
.category-product.silver-coin {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.silver-coin-container {
    position: absolute;
    width: 140px;
    height: 140px;
    top: 47px;
    left: 50%;
    transform: translateX(-50%);
}

.silver-coin-bg {
    position: absolute;
    width: 130px;
    height: 130px;
    top: 5px;
    left: 5px;
    background: linear-gradient(135deg, #faedc3, #f5d060);
    border-radius: 50%;
    box-shadow: inset 0 0 21.6px rgba(0, 0, 0, 0.5);
}

.category-title {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', 'Copperplate', serif;
    font-weight: 600;
    color: #2d0a0a;
    font-size: 20px;
    line-height: normal;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

/* ── Product grid items (JS) ── */
.flex-grid {
    display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.flex-grid__item {
    flex-basis: 50% !important;
    padding: 5px;
}

.mainBox {
    position: relative;
    width: 260px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 !important;
    margin: 20px auto;
    cursor: pointer;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.mainBox:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(140, 0, 0, 0.12);
}

.mainBox::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/appimages/ProductBox.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 1;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}
.mainBox:hover::before {
    opacity: 1;
}

.mainBox img {
    max-height: 201px;
    object-fit: contain !important;
    position: relative;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mainBox:hover img {
    transform: scale(1.05);
}

.mainBox .res_mob_font_width td { padding: 10px; }

.img-responsive1 { width: 280px; }

/* ── Article cards ── */
.article-card {
    flex-shrink: 0;
    width: 340px;
    background: #fff;
    border-radius: 20px;
    border: none;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    scroll-snap-align: start;
}
.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}
.article-card:hover .article-image {
    transform: scale(1.05);
}

.related-reads-section { width: 100%; padding: 24px 10px; }
.articles-container { padding: 0 5px; }

/* ── Hero slide ── */
.hero-slide {
    height: 480px;
    position: relative;
    overflow: hidden;
}

.hero-slide-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-slide-text {
    color: #fff;
    max-width: 520px;
    z-index: 2;
}

.hero-slide-text h1 {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Playfair Display', 'Copperplate', serif;
    color: #f5d060;
    margin-bottom: 12px;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-slide-text .subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.hero-slide-text .tagline {
    font-size: 12px;
    color: rgba(255, 238, 186, 0.8);
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-slide-text .cta-btn {
    background: linear-gradient(135deg, #d4af37, #f5d060);
    color: #1a0505;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 50px;
    border: none;
    font-size: 14px;
    display: inline-block;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    font-family: 'Inter', sans-serif;
}
.hero-slide-text .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.hero-slide-images {
    display: flex;
    gap: 12px;
    align-items: center;
    z-index: 2;
}

.hero-slide-images img {
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    height: 170px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero-slide-images img:hover {
    transform: scale(1.04) !important;
}

.hero-slide-images .img-left { transform: rotate(-3deg); }
.hero-slide-images .img-center {
    height: 200px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 3;
}
.hero-slide-images .img-right { transform: rotate(3deg); }

/* ── Gold bars showcase ── */
.gold-bars-showcase {
    padding: 80px 20px;
    background: linear-gradient(180deg, #faf8f4 0%, #f5f0e8 50%, #faf8f4 100%);
}

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

.showcase-header h2 {
    font-family: 'Playfair Display', 'Copperplate', serif;
    color: #2d0a0a;
    font-size: 36px;
    margin-bottom: 12px;
    font-weight: 700;
}

.showcase-header p {
    color: #8c5a5a;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
}

.showcase-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 24px;
    text-align: center;
    width: 90%;
    max-width: 340px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(212, 175, 55, 0.08);
    position: relative;
    overflow: hidden;
}
.showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f5d060, #d4af37);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.showcase-card:hover::before { opacity: 1; }

.showcase-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 60px rgba(140, 0, 0, 0.12);
}

.showcase-card.featured { transform: none; }
.showcase-card.featured:hover { transform: translateY(-12px); }

.showcase-card-img {
    background: linear-gradient(135deg, #f5f0e8, #ebe4d6);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
}

.showcase-card-img img {
    height: 200px;
    border-radius: 10px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.showcase-card:hover .showcase-card-img img {
    transform: scale(1.06);
}

.showcase-card h3 {
    font-family: 'Playfair Display', 'Copperplate', serif;
    color: #2d0a0a;
    font-size: 22px;
    margin-bottom: 6px;
    font-weight: 600;
}

.showcase-card .card-desc {
    color: #8c5a5a;
    font-size: 13px;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.showcase-card-thumbs {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.showcase-card-thumbs img {
    height: 55px;
    border-radius: 8px;
    border: 2px solid #f0ebe0;
    transition: all 0.3s ease;
    cursor: pointer;
}
.showcase-card-thumbs img:hover {
    border-color: #d4af37;
    transform: translateY(-3px);
}

.popular-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #d4af37, #f5d060);
    color: #1a0505;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
}

/* ── Showcase Shop Now button ── */
.showcase-shop-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 28px;
    background: linear-gradient(135deg, #d4af37, #f5d060);
    color: #1a0505;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}
.showcase-shop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.5);
    color: #1a0505;
    text-decoration: none;
}

/* ── Stats badge images ── */
.stat-badge-img {
    width: 160px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

/* ── Footer version tag ── */
.footer-version {
    font-size: 10px;
    opacity: 0.5;
    margin-left: 8px;
}

/* ── Product highlights subtitle ── */
.product-highlights-sub {
    color: #8c5a5a;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    margin-top: 8px;
}

/* ── Desktop (>=768px) ── */
@media (min-width: 768px) {
    header {
        background: linear-gradient(135deg, #1a0505 0%, #2d0a0a 50%, #1a0505 100%);
    }

    .row.top-3box-holder { padding: 20px 24px; }

    .logo-wrap { width: 220px; text-align: left; margin: 0; }
    .logo-wrap1 { margin-left: -20%; }
    .logo-wrap1 img { min-height: auto; margin: 0; }

    .top-link button { position: static; }
    .CartButton { margin-left: 0; }

    .mob-non1 { display: block; }

    .section-title,
    .section-title1 { font-size: 52px; }

    .FistSection .banner-btn {
        font-size: 15px !important;
        padding: 12px 36px;
        margin-top: 25px;
    }

    .category-card { width: 220px; height: 320px; }
    .category-product {
        width: 180px;
        height: 180px;
        top: 45px;
        left: 50%;
        transform: translateX(-50%);
        padding: 0;
    }
    .category-card:hover .category-product {
        transform: translateX(-50%) scale(1.08);
    }
    .category-product.gold-bar { width: 158px; height: 192px; top: 53px; left: 36px; transform: none; }
    .category-product.silver-bar { width: 116px; height: 184px; top: 43px; left: 57px; transform: none; }
    .category-product.silver-coin { width: 190px; height: 190px; top: 0; left: 0; transform: none; object-fit: cover; }
    .silver-coin-container { width: 190px; height: 190px; top: 47px; left: 20px; transform: none; }
    .silver-coin-bg { width: 182px; height: 182px; top: 4px; left: 4px; }
    .category-title { left: 50%; transform: translateX(-50%); font-size: 26px; }
    .categories-grid { gap: 32px; }

    .flex-grid__item { flex-basis: 32% !important; }
    .flex-grid__item img { border-radius: 10px; }

    .img-responsive1 { width: 300px; }

    .mainBox {
        width: 280px;
        height: 400px;
        margin: 25px 1% 25px 5%;
    }

    .article-card { width: 380px; }
    .related-reads-section { padding: 24px 32px; }
    .articles-container { padding: 0 20px; }

    /* Hero slide desktop */
    .hero-slide { height: 520px; }
    .hero-slide-text h1 { font-size: 44px; }
    .hero-slide-text .subtitle { font-size: 20px; }
    .hero-slide-text .tagline { font-size: 13px; margin-bottom: 24px; }
    .hero-slide-text .cta-btn { padding: 14px 40px; font-size: 15px; }
    .hero-slide-images { gap: 20px; }
    .hero-slide-images img { height: 280px; }
    .hero-slide-images .img-center { height: 320px; }

    /* Showcase desktop */
    .showcase-header h2 { font-size: 48px; }
    .showcase-header p { font-size: 16px; }
    .showcase-grid { gap: 36px; }
    .showcase-card { width: 320px; padding: 28px; }
    .showcase-card.featured { transform: scale(1.04); }
    .showcase-card.featured:hover { transform: scale(1.04) translateY(-12px); }
    .showcase-card-img img { height: 220px; }
    .showcase-card-thumbs img { height: 60px; }

    .gold-bars-showcase { padding: 100px 40px; }
}

/* ── Large desktop (>=1200px) ── */
@media (min-width: 1200px) {
    header { background: linear-gradient(135deg, #1a0505 0%, #2d0a0a 50%, #1a0505 100%); }
    .logo-wrap1 { margin-left: -20%; }
    .buy_sell_label { padding: 80px 15px 10px; }
    .img-responsive1 { width: 250px; }
    .hero-slide { height: 560px; }
    .hero-slide-text h1 { font-size: 52px; }
    .hero-slide-images img { height: 320px; }
    .hero-slide-images .img-center { height: 360px; }
}

/* ── Mobile hero stacking (<=767px) ── */
@media (max-width: 767px) {
    .hero-slide { height: auto; min-height: 380px; }
    .hero-slide-inner { flex-direction: column; padding: 30px 20px; text-align: center; }
    .hero-slide-text { max-width: 100%; margin-bottom: 20px; }
    .hero-slide-images img { height: 120px; }
    .hero-slide-images .img-center { height: 140px; }

    .col-md-5.mainBox { width: 100% !important; }
    .mainBox { width: 90%; max-width: 300px; }

    .showcase-card.featured { transform: none; }
    .showcase-card.featured:hover { transform: translateY(-12px); }
    .gold-bars-showcase { padding: 60px 16px; }
    .showcase-header h2 { font-size: 28px; }

    .category-card { width: 150px; height: 240px; }
    .category-title { font-size: 16px; }
    .categories-grid { gap: 12px; }
}
