:root {
    --product-gold: #b8862a;
    --product-text: #1a1a1a;
    --product-muted: #999999;
}

.product-page {
    min-height: 1260px;
    padding-top: 80px;
    background: #ffffff;
    color: var(--product-text);
}

.product-content-width {
    width: min(1296px, calc(100% - 48px));
    margin: 0 auto;
}

.product-title-area {
    height: 312px;
    border-bottom: 1px solid #dddddd;
}

.product-title-area .product-content-width {
    padding-top: 60px;
}

.product-title-area h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 76px;
    letter-spacing: 0;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    color: var(--product-muted);
    font-size: 16px;
    line-height: 24px;
}

.product-breadcrumb > i {
    color: #c7c7c7;
    font-size: 10px;
}

.product-list-section {
    padding: 82px 0 142px;
}

.product-count {
    color: #b2b2b2;
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
}

.product-count strong {
    color: var(--product-gold);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    margin-top: 48px;
}

.product-card {
    display: flex;
    min-width: 0;
    height: 594px;
    flex-direction: column;
    border: 4px solid transparent;
    background: #f5f5f5;
    transition: border-color .2s ease;
}

.product-card:hover,
.product-card:focus-within {
    border-color: var(--product-gold);
}

.product-image-wrap {
    display: flex;
    min-height: 0;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 46px 34px 20px;
}

.product-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card h2 {
    display: flex;
    min-height: 108px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    word-break: keep-all;
}

.product-empty {
    display: grid;
    min-height: 360px;
    margin-top: 48px;
    place-items: center;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    color: var(--product-muted);
    font-size: 18px;
}

.product-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 120px;
}

.product-pagination a,
.product-pagination strong,
.product-pagination span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
}

.product-pagination strong {
    background: var(--product-gold);
    color: #ffffff;
}

.product-pagination a,
.product-pagination span {
    background: #f5f5f5;
    color: #b6b6b6;
}

.product-pagination a:hover,
.product-pagination a:focus-visible {
    color: var(--product-gold);
    outline: 2px solid var(--product-gold);
    outline-offset: 2px;
}

.product-pagination .disabled {
    color: #dddddd;
}

@media (max-width: 1000px) {
    .product-grid { gap: 24px; }
    .product-card { height: 500px; }
}

@media (max-width: 760px) {
    .product-page { min-height: 0; }
    .product-content-width { width: calc(100% - 40px); }
    .product-title-area { height: 240px; }
    .product-title-area .product-content-width { padding-top: 48px; }
    .product-title-area h1 { font-size: 44px; line-height: 1.2; }
    .product-breadcrumb { margin-top: 20px; font-size: 14px; }
    .product-list-section { padding: 60px 0 90px; }
    .product-count { font-size: 20px; }
    .product-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 30px; }
    .product-card { height: auto; aspect-ratio: 1 / 1.28; }
    .product-card h2 { min-height: 82px; font-size: 21px; }
    .product-pagination { margin-top: 64px; }
}

@media (max-width: 420px) {
    .product-content-width { width: calc(100% - 32px); }
    .product-title-area h1 { font-size: 38px; }
    .product-image-wrap { padding: 32px 24px 12px; }
}
