/* =========================
   Product List
========================= */

.page-hero {
    margin-top: 76px;
    height: 360px;
    background: linear-gradient(135deg, #7b1e2b, #b98a57);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.page-hero h1 {
    font-size: 46px;
    font-weight: 400;
    letter-spacing: 5px;
    margin: 0 0 14px;
}

.page-hero p {
    font-size: 18px;
    opacity: .9;
    margin: 0;
}

.container {
    padding: 70px 12%;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 46px;
}

.category-tabs a {
    text-decoration: none;
    color: #7b1e2b;
    border: 1px solid #e5d4ca;
    padding: 10px 22px;
    border-radius: 999px;
    background: #fff;
}

.category-tabs a.active,
.category-tabs a:hover {
    background: #7b1e2b;
    color: #fff;
    border-color: #7b1e2b;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.product-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
    transition: .3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(0,0,0,.14);
}

.product-img {
    height: 260px;
    background: #f5f0eb;
    overflow: hidden;
}

.product-img picture,
.product-img img {
    width: 100%;
    height: 100%;
    display: block;
}

.product-img img {
    object-fit: cover;
    transition: .5s;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-info {
    padding: 24px;
}

.product-info h2 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #7b1e2b;
    font-weight: 400;
}

.product-info h3 {
    margin: 0 0 14px;
    font-size: 15px;
    color: #b98a57;
    font-weight: 400;
}

.product-info p {
    margin: 0;
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

.empty {
    text-align: center;
    color: #888;
    padding: 80px 0;
}


/* =========================
   Product Detail
========================= */

.hero {
    margin-top: 76px;
    min-height: 420px;
    max-height: 520px;
    position: relative;
    overflow: hidden;
    background: #f5f0eb;
}

.hero picture,
.hero img {
    width: 100%;
    height: 100%;
    display: block;
}

.hero img {
    object-fit: cover;
}

.hero-title {
    position: absolute;
    left: 10%;
    bottom: 70px;
    color: #fff;
    text-shadow: 0 4px 18px rgba(0,0,0,.4);
}

.hero-title h1 {
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 4px;
    margin: 0 0 14px;
}

.hero-title p {
    font-size: 20px;
    margin: 0;
}

.breadcrumb {
    margin-bottom: 28px;
    font-size: 14px;
    color: #999;
}

.breadcrumb a {
    color: #7b1e2b;
    text-decoration: none;
}

.product-info-card {
    background: #faf7f3;
    border-radius: 22px;
    padding: 42px 46px;
    margin-bottom: 46px;
}

.product-info-card h2 {
    margin: 0 0 24px;
    font-size: 30px;
    color: #7b1e2b;
    font-weight: 400;
    letter-spacing: 3px;
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 36px;
}

.meta-item {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

.meta-item strong {
    color: #7b1e2b;
    font-weight: 600;
    margin-right: 8px;
}

.tag-wrap {
    margin-top: 22px;
}

.tag {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 6px 14px;
    border-radius: 999px;
    background: #7b1e2b;
    color: #fff;
    font-size: 13px;
}

.intro-card {
    background: #fff;
    border-radius: 22px;
    padding: 42px 0;
    margin-bottom: 30px;
}

.intro-card h2,
.detail-title {
    margin: 0 0 18px;
    font-size: 30px;
    color: #7b1e2b;
    font-weight: 400;
    letter-spacing: 3px;
}

.intro-card p,
.detail-content {
    font-size: 16px;
    color: #666;
    line-height: 2;
    white-space: pre-line;
}

.detail-content img {
    max-width: 100%;
    height: auto;
}

.detail-content table {
    width: 100%;
}

.detail-content iframe,
.detail-content video {
    max-width: 100%;
}

.detail-content p {
    line-height: 2;
}

.detail-content h1,
.detail-content h2,
.detail-content h3 {
    color: #7b1e2b;
}

.related-section {
    margin-top: 80px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 30px;
}

.related-card {
    text-decoration: none;
    color: #333;
}

.related-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 14px;
    transition: .25s;
}

.related-card:hover img {
    transform: scale(1.04);
}

.related-card h3 {
    margin: 14px 0 8px;
    color: #7b1e2b;
    font-size: 20px;
}

.related-card p {
    color: #888;
    font-size: 14px;
    line-height: 1.6;
}


