* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #18212a;
    font-family: "Microsoft JhengHei", "Segoe UI", Arial, sans-serif;
    background: #ffffff;
}

a {
    color: #9b6b20;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #ffffff;
    border-bottom: 1px solid #e6ded0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 24px;
}

.brand {
    display: grid;
    gap: 2px;
    color: #14191d;
    font-weight: 700;
    line-height: 1.1;
}

.brand span {
    color: #a46f21;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.brand strong {
    font-size: 20px;
}

.brand-logo {
    display: block;
    width: auto;
    max-width: 230px;
    max-height: 58px;
    object-fit: contain;
}

.frontend-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}

.frontend-nav-toggle {
    display: none;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #d4b071;
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
}

.frontend-nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #7c5418;
    transition: transform .2s ease, opacity .2s ease;
}

.frontend-nav-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.frontend-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.frontend-nav-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.frontend-nav a {
    color: #2d3748;
    font-size: 14px;
    font-weight: 700;
}

.frontend-nav-item {
    position: relative;
}

.frontend-nav-item > a,
.backend-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
}

.frontend-subnav {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    min-width: 180px;
    padding: 8px;
    border: 1px solid #dfe6e2;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(18, 28, 35, .12);
}

.frontend-subnav a {
    display: block;
    padding: 9px 10px;
    white-space: nowrap;
}

.frontend-nav-item:hover .frontend-subnav,
.frontend-nav-item:focus-within .frontend-subnav {
    display: grid;
}

.frontend-quick-links {
    position: fixed;
    right: 18px;
    bottom: 92px;
    z-index: 70;
    display: grid;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease;
}

.frontend-quick-links.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.frontend-quick-link {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
    color: #ffffff;
    background: #9b6b20;
    box-shadow: 0 10px 24px rgba(18, 28, 35, .22);
    font-family: "Microsoft JhengHei", "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
    cursor: pointer;
}

.frontend-back-to-top {
    font-size: 24px;
}

.frontend-line-link {
    overflow: hidden;
    border-color: transparent;
    background: transparent;
}

.frontend-line-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.frontend-quick-link:hover,
.frontend-quick-link:focus-visible {
    color: #ffffff;
    text-decoration: none;
    filter: brightness(.94);
    outline: none;
}

.backend-link {
    padding: 0 10px;
    border: 1px solid #d4b071;
    border-radius: 4px;
    color: #7c5418 !important;
}

.page {
    min-height: calc(100vh - 126px);
    padding: 32px 0;
    background: #ffffff;
}

.home-main {
    width: 100%;
    max-width: none;
    padding: 0;
}

.page-banner {
    width: min(100%, 1200px);
    aspect-ratio: 1200 / 300;
    margin: -32px auto 28px;
    overflow: hidden;
    background: #ffffff;
}

.page-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.page-banner-carousel {
    position: relative;
}

.page-banner-track,
.page-banner-slide,
.page-banner-slide a {
    position: absolute;
    inset: 0;
}

.page-banner-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease;
}

.page-banner-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.page-banner-slide a {
    display: block;
}

.content-page {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.content-page-three-column {
    grid-template-columns: 240px minmax(0, 1fr) 210px;
    gap: 28px;
}

.album-page.content-page-three-column {
    grid-template-columns: 240px minmax(0, 1fr);
}

.content-sidebar {
    position: sticky;
    top: 88px;
    border: 1px solid #e6ded0;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.content-sidebar h2 {
    margin: 0;
    padding: 16px 18px;
    color: #ffffff;
    background: #7c5418;
    font-size: 18px;
}

.content-sidebar .sidebar-subtitle {
    margin-top: 18px;
    border-top: 1px solid #ead8b9;
}

.side-menu {
    display: grid;
}

.product-search-box {
    border-bottom: 1px solid #ead8b9;
    background: #ffffff;
}

.product-search-box h2 {
    margin: 0;
    padding: 16px 18px;
    color: #ffffff;
    background: #7c5418;
    font-size: 18px;
}

.product-search-form {
    display: grid;
    gap: 12px;
    padding: 14px;
}

.product-search-form label {
    display: grid;
    gap: 6px;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
}

.product-search-form select,
.product-search-form input {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #ded6c8;
    border-radius: 6px;
    background: #ffffff;
    font: inherit;
}

.product-search-form button {
    min-height: 38px;
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    background: #9b6b20;
    font-weight: 800;
    cursor: pointer;
}

.product-search-form button:hover {
    background: #7c5418;
}

.side-menu-link {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #eee5d7;
    color: #2d3748;
    font-weight: 700;
    line-height: 1.5;
}

.side-menu-link:hover,
.side-menu-link.active {
    color: #9b6b20;
    background: #ffffff;
    text-decoration: none;
}

.side-menu-link.depth-2 {
    padding-left: 30px;
    font-size: 14px;
    font-weight: 600;
}

.content-main {
    min-width: 0;
    padding: 26px;
    border: 1px solid #e6ded0;
    border-radius: 8px;
    background: #ffffff;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.breadcrumb a {
    color: #6b7280;
}

.breadcrumb strong {
    color: #9b6b20;
}

.content-title {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee5d7;
}

.content-title h1 {
    margin: 0;
    color: #17110b;
    font-size: 32px;
}

.rich-content {
    color: #26313f;
    line-height: 1.9;
}

.rich-content img {
    max-width: 100% !important;
    height: auto !important;
}

.rich-content table {
    max-width: 100%;
}

.rich-content .info02 {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-right: -15px;
    margin-left: -15px;
}

.rich-content .info02 > .col-md-6 {
    width: 50%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.rich-content .info02 > .col-md-6 img {
    display: block;
}

.rich-content .embed-responsive,
.rich-content .video-embed {
    position: relative;
    width: min(100%, 860px);
    aspect-ratio: 16 / 9;
    margin: 24px auto;
    overflow: hidden;
    background: #111111;
}

.rich-content .embed-responsive iframe,
.rich-content .video-embed iframe,
.rich-content iframe[src*="youtube.com"],
.rich-content iframe[src*="youtu.be"] {
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.rich-content > iframe[src*="youtube.com"],
.rich-content > iframe[src*="youtu.be"] {
    display: block;
    width: min(100%, 860px) !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
    margin: 24px auto;
}

.rich-content iframe[src*="google.com/maps"],
.rich-content iframe[src*="maps.google"] {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin: 24px 0;
    border: 0;
}

.related-links-section {
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid #eadfce;
}

.related-links-aside {
    position: sticky;
    top: 88px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e6ded0;
    border-radius: 8px;
}

.related-links-aside h2 {
    margin: 0 0 14px;
    padding-bottom: 12px;
    color: #17110b;
    font-size: 18px;
    border-bottom: 1px solid #eee5d7;
}

.related-link-stack {
    display: grid;
    gap: 12px;
}

.compact-title {
    margin-bottom: 18px;
}

.compact-title h2 {
    margin: 0;
    color: #172026;
    font-size: 24px;
}

.related-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.related-link-card {
    display: grid;
    gap: 10px;
    align-content: start;
    min-height: 100%;
    padding: 14px;
    color: #172026;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #eadfce;
    border-radius: 8px;
    transition: border-color .18s ease, transform .18s ease;
}

.related-link-card:hover {
    color: #9b6b20;
    border-color: #c79a4d;
    transform: translateY(-2px);
}

.related-link-card img {
    width: 100%;
    height: 64px;
    object-fit: contain;
    object-position: center;
}

.related-link-card span {
    line-height: 1.5;
    font-weight: 800;
    text-align: center;
}

.related-links-aside.image-only {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.related-links-aside.image-only h2 {
    margin: 0 0 14px;
    padding-bottom: 10px;
    color: #17110b;
    font-size: 18px;
    border-bottom: 1px solid #eee5d7;
}

.related-links-aside.image-only .related-link-stack {
    gap: 12px;
}

.related-links-aside.image-only .related-link-card {
    display: block;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.related-links-aside.image-only .related-link-card:hover {
    opacity: .9;
    transform: none;
}

.related-links-aside.image-only .related-link-card img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}

.product-detail-side-widgets {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 24px;
    align-self: start;
}

.product-detail-side-widgets .related-links-aside {
    position: static;
    top: auto;
}

.product-recommend-aside {
    min-width: 0;
}

.product-recommend-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee5d7;
}

.product-recommend-heading h2 {
    margin: 0;
    color: #17110b;
    font-size: 18px;
}

.product-recommend-controls {
    display: flex;
    gap: 6px;
}

.product-recommend-controls button {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid #d8c7ad;
    border-radius: 50%;
    color: #7c5418;
    background: #ffffff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.product-recommend-controls button:hover,
.product-recommend-controls button:focus-visible {
    border-color: #9b6b20;
    background: #ffffff;
    outline: none;
}

.product-recommend-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.product-recommend-track::-webkit-scrollbar {
    display: none;
}

.product-recommend-card {
    display: grid;
    scroll-snap-align: start;
    color: #172026;
    text-decoration: none;
}

.product-recommend-card:hover {
    color: #9b6b20;
}

.product-recommend-image {
    display: block;
    width: 100%;
    height: 120px;
    background: #ffffff;
    overflow: hidden;
}

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

.frontend-news-list {
    display: grid;
    gap: 0;
}

.frontend-news-row {
    display: grid;
    grid-template-columns: 112px 92px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #eee5d7;
    color: #26313f;
}

.news-with-image .frontend-news-row {
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: stretch;
    gap: 18px;
}

.news-thumb {
    display: block;
    width: 150px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    background: #f4efe6;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-row-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.frontend-news-row:hover {
    color: #9b6b20;
    text-decoration: none;
}

.frontend-news-row time,
.frontend-news-row span,
.news-meta {
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
}

.frontend-news-row strong {
    color: inherit;
    line-height: 1.6;
}

.news-row-body strong {
    font-size: 18px;
}

.frontend-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.frontend-pager a {
    display: inline-grid;
    place-items: center;
    min-width: 36px;
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid #e6ded0;
    border-radius: 6px;
    color: #2d3748;
    background: #ffffff;
    font-weight: 700;
}

.frontend-pager a.active,
.frontend-pager a:hover {
    color: #ffffff;
    background: #9b6b20;
    border-color: #9b6b20;
    text-decoration: none;
}

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

.frontend-product-card {
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: 14px;
    border: 1px solid #e6ded0;
    border-radius: 6px;
    background: #ffffff;
}

.frontend-product-image {
    display: block;
    background: #ffffff;
}

.frontend-product-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

.frontend-product-body {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.frontend-product-body strong {
    color: #18212a;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 800;
    line-height: 1.45;
}

.frontend-product-body small,
.frontend-product-body span {
    color: #68727d;
    font-family: "Microsoft JhengHei", "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

.frontend-product-card:hover {
    border-color: #c79a4d;
    text-decoration: none;
}

.compact-pager .pager-ellipsis {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    min-height: 36px;
    color: #68727d;
    font-weight: 800;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.product-detail-gallery {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.product-zoom-stage {
    position: relative;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e6ded0;
    border-radius: 6px;
    overflow: visible;
    cursor: zoom-in;
}

.product-detail-main-image {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: #ffffff;
    border-radius: 6px;
}

.product-zoom-lens {
    position: absolute;
    display: none;
    width: 110px;
    height: 110px;
    border: 1px solid rgba(124, 84, 24, .75);
    background: rgba(255, 255, 255, .32);
    pointer-events: none;
}

.product-zoom-result {
    position: absolute;
    z-index: 5;
    top: 0;
    left: calc(100% + 16px);
    display: none;
    width: min(360px, 44vw);
    aspect-ratio: 1;
    border: 1px solid #d4b071;
    border-radius: 6px;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-size: 220%;
    box-shadow: 0 18px 42px rgba(23, 32, 51, .18);
    pointer-events: none;
}

.product-zoom-stage.zooming .product-zoom-lens,
.product-zoom-stage.zooming .product-zoom-result {
    display: block;
}

.product-thumb-shell {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 8px;
    align-items: center;
}

.product-detail-thumbs {
    display: flex;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    padding-bottom: 4px;
}

.product-thumb-button {
    flex: 0 0 78px;
    width: 78px;
    padding: 0;
    border: 1px solid #e6ded0;
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
}

.product-thumb-button.active,
.product-thumb-button:hover,
.product-thumb-button:focus {
    border-color: #9b6b20;
    outline: none;
}

.product-thumb-button img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 6px;
}

.product-thumb-nav {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 44px;
    padding: 0;
    border: 1px solid #e6ded0;
    border-radius: 6px;
    color: #7c5418;
    background: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.product-thumb-nav:hover,
.product-thumb-nav:focus {
    border-color: #9b6b20;
    background: #ffffff;
    outline: none;
}

.product-detail-summary {
    display: grid;
    gap: 12px;
}

.product-meta-line,
.product-summary {
    margin: 0;
    color: #42505c;
    line-height: 1.8;
}

.product-spec-selector {
    display: grid;
    gap: 6px;
    max-width: 320px;
}

.product-spec-selector label {
    color: #42505c;
    font-weight: 700;
}

.product-spec-selector select {
    width: 100%;
    min-height: 40px;
    border: 1px solid #d8c7ad;
    border-radius: 4px;
    background: #fff;
    color: #2b3035;
    font-family: "Microsoft JhengHei", "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    padding: 7px 10px;
}

.product-spec-selector select:focus {
    border-color: #9b6b20;
    outline: none;
    box-shadow: 0 0 0 3px rgba(155, 107, 32, 0.14);
}

.product-price {
    margin: 0;
    color: #9b6b20;
    font-size: 24px;
    font-weight: 800;
}

.product-specification-panel {
    display: grid;
    gap: 8px;
    overflow-x: auto;
}

.product-specification-table {
    width: 100%;
    min-width: 320px;
    border-collapse: collapse;
    color: #42505c;
    font-family: "Microsoft JhengHei", "Segoe UI", Arial, sans-serif;
    font-size: 14px;
}

.product-specification-table th,
.product-specification-table td {
    padding: 8px 10px;
    border: 1px solid #e8dfd1;
    text-align: left;
    vertical-align: top;
}

.product-specification-table th {
    background: #ffffff;
    color: #7c5418;
    font-weight: 700;
}

.product-html-content {
    margin-top: 28px;
    font-family: "Microsoft JhengHei", "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.9;
    overflow-x: auto;
}

.product-html-content li {
    font-size: 14px;
}

.product-category-detail {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.product-category-detail-on-product {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #eee5d7;
}

.product-category-detail-on-list {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid #eee5d7;
}

.compact-title h2 {
    margin: 0;
    color: #17110b;
    font-size: 24px;
}

.product-category-detail-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.product-category-list-detail {
    display: flow-root;
}

.product-category-list-detail .product-category-detail-image {
    float: left;
    width: calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    margin: 0 24px 16px 0;
}

.product-category-list-detail .product-html-content {
    margin-top: 0;
}

.product-content-images {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.product-content-images img,
.product-html-content img,
.html-content img {
    max-width: 100% !important;
    height: auto !important;
}

.product-html-content table {
    max-width: 100%;
}

.empty-text {
    margin: 0;
    color: #68727d;
    line-height: 1.8;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.news-detail-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 28px;
}

.news-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 18px;
    border: 1px solid #9b6b20;
    border-radius: 6px;
    color: #9b6b20;
    background: #ffffff;
    font-weight: 700;
}

.news-back-link:hover {
    color: #ffffff;
    background: #9b6b20;
    text-decoration: none;
}

.news-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.news-image-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border: 1px solid #eee5d7;
    border-radius: 6px;
    background: #ffffff;
}

.frontend-album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 260px);
    gap: 22px;
}

.album-category-content {
    margin-bottom: 28px;
    overflow-x: auto;
}

.album-category-content table {
    width: max-content;
    max-width: none;
}

.frontend-album-card {
    display: grid;
    gap: 10px;
    width: 260px;
    color: #26313f;
}

.frontend-album-card:hover {
    color: #9b6b20;
    text-decoration: none;
}

.frontend-album-thumb {
    display: block;
    width: 260px;
    height: 200px;
    overflow: hidden;
    border-radius: 6px;
    background: #ffffff;
}

.frontend-album-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform .2s ease;
}

.frontend-album-card:hover img {
    transform: scale(1.03);
}

.frontend-album-card strong {
    line-height: 1.5;
    font-size: 16px;
}

.album-side-menu .depth-2 {
    padding-left: 28px;
    font-size: 14px;
}

.album-side-menu .depth-3 {
    padding-left: 42px;
    font-size: 13px;
}

.album-menu-group {
    border-bottom: 1px solid #eee5d7;
}

.album-menu-group > .side-menu-link {
    border-bottom: 0;
}

.album-menu-root {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-weight: 800;
}

.album-menu-caret {
    flex: 0 0 auto;
    color: #9b6b20;
    transition: transform .18s ease;
}

.album-submenu {
    display: none;
    border-top: 1px solid #f3eadc;
}

.album-menu-group.open .album-submenu {
    display: block;
}

.album-menu-group.open .album-menu-caret {
    transform: rotate(180deg);
}

.album-submenu-link {
    padding-left: 30px;
    font-size: 14px;
    font-weight: 600;
    background: #ffffff;
}

.album-pager a.disabled {
    pointer-events: none;
    opacity: .42;
}

.album-page-info {
    margin-top: 14px;
    color: #6b7280;
    font-weight: 700;
}

.frontend-album-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.frontend-album-photo-grid figure {
    margin: 0;
}

.frontend-album-photo-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border-radius: 6px;
    background: #ffffff;
}

.frontend-album-photo-grid figcaption {
    margin-top: 8px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.frontend-album-gallery {
    margin-top: 26px;
}

.frontend-album-gallery + .rich-content {
    margin-top: 28px;
}

.frontend-album-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 420px;
    padding: 10px;
    border: 1px solid #eee5d7;
    border-radius: 6px;
    background: #ffffff;
}

.frontend-album-stage-link {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.frontend-album-stage-link:hover {
    text-decoration: none;
}

.frontend-album-stage img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 660px;
    object-fit: contain;
}

.frontend-album-caption {
    margin: 12px 0 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

.frontend-album-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding-bottom: 8px;
    overflow-x: auto;
}

.frontend-album-thumb-button {
    flex: 0 0 112px;
    width: 112px;
    height: 84px;
    padding: 3px;
    border: 2px solid transparent;
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
}

.frontend-album-thumb-button.active {
    border-color: #b78735;
}

.frontend-album-thumb-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.frontend-album-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(183, 135, 53, .55);
    border-radius: 50%;
    color: #8d6b22;
    background: rgba(255, 255, 255, .92);
    font-size: 30px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.frontend-album-nav.prev {
    left: 12px;
}

.frontend-album-nav.next {
    right: 12px;
}

.frontend-album-nav:hover,
.frontend-album-nav:focus-visible {
    color: #ffffff;
    background: #b78735;
    outline: none;
}

.album-page .rich-content,
.album-page .rich-content * {
    font-size: 14px !important;
}

.hero {
    padding: 64px 0;
}

.hero h1 {
    margin: 0 0 12px;
    font-size: 42px;
}

.hero p {
    max-width: 680px;
    font-size: 18px;
    line-height: 1.6;
}

.page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.button,
.link-button {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 4px;
    border: 1px solid #a46f21;
    font: inherit;
    font-weight: 700;
}

.button {
    color: #ffffff;
    background: #a46f21;
}

.button:hover {
    text-decoration: none;
    background: #825516;
}

.button.danger {
    border-color: #dc2626;
    background: #dc2626;
}

.link-button {
    color: #1f1710;
    border-color: #d7c6aa;
    background: #ffffff;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 18px;
    background: #ffffff;
    border: 1px solid #dde3ea;
}

.table th,
.table td {
    padding: 12px;
    border-bottom: 1px solid #dde3ea;
    text-align: left;
}

.table th {
    background: #eef2f7;
}

.actions {
    white-space: nowrap;
}

.actions a {
    margin-right: 10px;
}

.form-grid {
    display: grid;
    gap: 16px;
    max-width: 640px;
}

label {
    display: grid;
    gap: 6px;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font: inherit;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox input {
    width: auto;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.details {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 10px 18px;
    max-width: 720px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #dde3ea;
    border-radius: 8px;
}

.details dt {
    font-weight: 700;
}

.details dd {
    margin: 0;
}

.validation-summary,
.field-validation-error {
    color: #b91c1c;
}

.site-footer {
    padding: 20px 0;
    color: #5f6b72;
    background: #ffffff;
    border-top: 1px solid #e6ded0;
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.6fr);
    gap: 28px;
    align-items: start;
}

.footer-brand {
    display: grid;
    gap: 8px;
}

.footer-brand strong {
    font-size: 18px;
    line-height: 1.5;
    color: #172026;
}

.footer-brand span {
    font-size: 13px;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
}

.footer-social-link:hover {
    color: #ffffff;
    text-decoration: none;
    filter: brightness(.94);
}

.footer-social-link.facebook {
    background: #1877f2;
}

.footer-social-link.instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b 45%, #8134af 72%, #515bd4);
}

.footer-social-link.line {
    background: #06c755;
}

.footer-branches {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.footer-branch {
    display: grid;
    gap: 8px;
}

.footer-branch h2 {
    margin: 0 0 4px;
    color: #9b6b20;
    font-size: 16px;
    line-height: 1.4;
}

.footer-branch p {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
    margin: 0;
    line-height: 1.6;
}

.footer-branch p span {
    color: #172026;
    font-weight: 800;
    letter-spacing: .04em;
}

.footer-branch a {
    color: inherit;
    text-decoration: none;
}

.footer-branch a:hover {
    color: #9b6b20;
}

@media (max-width: 900px) {
    .footer-content,
    .footer-branches {
        grid-template-columns: 1fr;
    }
}

.home-page {
    width: 100%;
    margin: 0;
    overflow: hidden;
    background: #f4f6f5;
}

.home-floating-ad {
    position: fixed;
    left: 10px;
    bottom: 10px;
    z-index: 100000;
    max-width: calc(100vw - 20px);
    max-height: 80vh;
    opacity: 0;
    box-shadow: 0 0 3px 2px rgba(0, 0, 0, .1);
    transform: translateX(calc(-100% - 20px));
    transition: opacity 1s ease, transform 1s ease;
}

.home-floating-ad.open {
    opacity: 1;
    transform: translateX(0);
}

.home-floating-ad img {
    display: block;
    width: auto;
    max-width: calc(100vw - 20px);
    height: min(298px, 36vh);
    object-fit: contain;
}

.home-floating-ad-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100001;
    width: 25px;
    height: 25px;
    padding: 0;
    border: 0;
    color: #111111;
    background: #eeeeee;
    font-family: Arial, "Helvetica Neue", sans-serif;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    text-align: center;
}

.home-floating-ad-close:hover,
.home-floating-ad-close:focus-visible {
    background: #dddddd;
    outline: none;
}

.home-banner-carousel {
    position: relative;
    left: 50%;
    width: 1200px;
    height: 450px;
    max-width: none;
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
    margin: 0;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 0 0 100vmax #ffffff;
    clip-path: inset(0 -100vmax);
    transform: translateX(-50%);
}

.home-banner-carousel .banner-track,
.home-banner-carousel .banner-slide,
.home-banner-carousel .banner-image-link {
    background: #ffffff;
}

.banner-track,
.banner-slide {
    min-height: inherit;
}

.banner-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 48vw);
    align-items: center;
    gap: 36px;
    padding: 56px max(72px, calc((100vw - 1200px) / 2)) 62px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease;
}

.banner-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.ad-banner-slide {
    display: block;
    padding: 0;
    background: #ffffff;
}

.ad-banner-slide::before {
    display: none;
}

.banner-image-link {
    position: absolute;
    inset: 0;
    display: block;
}

.ad-banner-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    filter: none;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.contact-info,
.contact-form-panel {
    background: #fff;
    border: 1px solid #e8e1d5;
    border-radius: 8px;
    padding: 24px;
}

.contact-info h2,
.contact-info h3 {
    margin-top: 0;
}

.contact-info-block {
    border-top: 1px solid #eee6da;
    margin-top: 18px;
    padding-top: 18px;
}

.contact-info-block p {
    margin: 6px 0;
}

.contact-info-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.contact-info-actions a {
    border: 1px solid #c8a65a;
    border-radius: 999px;
    color: #8d6b22;
    padding: 8px 16px;
    text-decoration: none;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-form label {
    color: #4b4237;
    display: grid;
    font-weight: 600;
    gap: 8px;
}

.contact-form label.full {
    grid-column: 1 / -1;
}

.contact-form .validation-summary.full {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    border: 1px solid #d8cec0;
    border-radius: 6px;
    color: #2f2b26;
    font: inherit;
    padding: 11px 12px;
    width: 100%;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .primary-button {
    justify-self: start;
}

.contact-submit-row {
    align-items: end;
    display: flex;
}

.frontend-notice {
    border-radius: 6px;
    margin-bottom: 20px;
    padding: 12px 16px;
}

.frontend-notice.success {
    background: #edf8ef;
    border: 1px solid #b8dfbf;
    color: #256336;
}

.validation-summary,
.field-validation-error {
    color: #b8423f;
}

.banner-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(23, 32, 38, .94) 0%, rgba(23, 32, 38, .78) 44%, rgba(23, 32, 38, .28) 100%),
        radial-gradient(circle at 78% 28%, rgba(205, 170, 98, .25), transparent 34%);
}

.banner-slide img {
    position: relative;
    z-index: 1;
    justify-self: center;
    width: min(100%, 560px);
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .28));
}

.banner-copy {
    position: relative;
    z-index: 1;
    max-width: 620px;
    color: #ffffff;
}

.banner-copy h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 54px;
    line-height: 1.1;
}

.banner-copy p:not(.section-kicker) {
    max-width: 560px;
    margin: 0 0 26px;
    color: #edf2f0;
    font-size: 19px;
    line-height: 1.8;
}

.banner-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(20, 28, 34, .42);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.banner-control:hover,
.banner-control:focus-visible {
    border-color: rgba(255, 255, 255, .9);
    background: rgba(20, 28, 34, .72);
    outline: none;
}

.page-banner-carousel .banner-control {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-color: rgba(255, 255, 255, .75);
    background: rgba(0, 0, 0, .46);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
    font-family: Arial, "Helvetica Neue", sans-serif;
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
}

.banner-control.prev {
    left: 20px;
}

.banner-control.next {
    right: 20px;
}

.banner-dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 22px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.banner-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .48);
    cursor: pointer;
}

.banner-dots button.active {
    width: 28px;
    background: #f4d28c;
}

.single-slide .banner-control,
.single-slide .banner-dots {
    display: none;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
    align-items: center;
    gap: 48px;
    min-height: 640px;
    padding: 56px max(32px, calc((100vw - 1200px) / 2)) 44px;
    background: linear-gradient(135deg, #f8faf8 0%, #eef4f1 52%, #f5efe5 100%);
}

.home-hero-copy {
    max-width: 620px;
}

.section-kicker {
    margin: 0 0 10px;
    color: #a46f21;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.home-hero h1 {
    margin: 0 0 16px;
    color: #17110b;
    font-size: 64px;
    line-height: 1;
}

.hero-lead {
    max-width: 560px;
    margin: 0;
    color: #4b5563;
    font-size: 20px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-product {
    display: grid;
    place-items: center;
}

.hero-product img {
    width: min(100%, 520px);
    aspect-ratio: 1;
    object-fit: contain;
    filter: drop-shadow(0 24px 32px rgba(70, 49, 18, .18));
}

.home-section {
    padding: 46px max(32px, calc((100vw - 1200px) / 2));
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.section-heading h2,
.split-section h2,
.contact-strip h2 {
    margin: 0;
    color: #17110b;
    font-size: 32px;
    line-height: 1.25;
}

.section-heading h2 span {
    color: #a46f21;
    font-size: .62em;
    font-weight: 700;
}

.service-band {
    background: #ffffff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-grid article {
    min-height: 170px;
    padding: 24px;
    border: 1px solid #e6ded0;
    border-radius: 6px;
    background: #fbfaf7;
}

.service-grid strong {
    display: block;
    margin-bottom: 12px;
    color: #17110b;
    font-size: 20px;
}

.service-grid p,
.split-section p,
.contact-strip p {
    margin: 0;
    color: #5b6472;
    line-height: 1.8;
}

.product-showcase {
    background: #f4f6f5;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-card {
    display: grid;
    gap: 14px;
    padding: 14px;
    border: 1px solid #e6ded0;
    border-radius: 6px;
    color: #17110b;
    background: #ffffff;
    font-weight: 800;
}

.product-card:hover {
    text-decoration: none;
    border-color: #c79a4d;
}

.product-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: #fafafa;
}

.product-card span {
    line-height: 1.4;
}

.product-card small {
    color: #68727d;
    font-weight: 700;
}

.category-section {
    background: #ffffff;
}

.award-section {
    background: #ffffff;
}

.category-grid,
.brand-grid,
.album-grid {
    display: grid;
    gap: 14px;
}

.category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-pill {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 14px 16px;
    border: 1px solid #d7e1dc;
    border-radius: 6px;
    color: #172026;
    background: #ffffff;
    font-weight: 800;
}

.home-category-carousel {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 12px;
    align-items: center;
}

.home-category-scroll {
    display: flex;
    gap: 18px;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 2px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.home-category-nav {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #d4b071;
    border-radius: 50%;
    color: #7c5418;
    background: #ffffff;
    font: inherit;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, opacity .2s ease;
}

.home-category-nav:hover:not(:disabled) {
    color: #ffffff;
    background: #a46f21;
}

.home-category-nav:disabled {
    cursor: default;
    opacity: .32;
}

.home-category-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 clamp(190px, 22vw, 270px);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    scroll-snap-align: start;
    transition: opacity .2s ease, transform .2s ease;
}

.home-category-image-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-category-image-link:hover {
    opacity: .88;
    transform: translateY(-2px);
    text-decoration: none;
}

.home-product-category-link {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 10px;
    flex-basis: calc((100% - 72px) / 5);
    min-width: 0;
    aspect-ratio: auto;
    overflow: visible;
    color: #1f2933;
    font-family: "Microsoft JhengHei", "微軟正黑體", "Segoe UI", Arial, sans-serif;
}

.home-category-image-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.home-category-title {
    display: -webkit-box;
    min-height: 44px;
    overflow: hidden;
    color: #2a2f35;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-product-category-link {
    font-family: "Microsoft JhengHei", "Segoe UI", Arial, sans-serif;
}

.home-message-carousel .home-category-scroll {
    gap: 18px;
}

.home-message-image-link {
    display: grid;
    grid-template-rows: auto auto;
    gap: 10px;
    flex-basis: calc((100% - 54px) / 4);
    min-width: 0;
    aspect-ratio: auto;
    overflow: visible;
    color: #1f2933;
    font-family: "Microsoft JhengHei", "Segoe UI", Arial, sans-serif;
}

.home-message-image-frame {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f4f4f4;
}

.home-message-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.home-message-title {
    display: -webkit-box;
    min-height: 44px;
    overflow: hidden;
    color: #1f2933;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.featured-product-section {
    background: #ffffff;
}

.home-featured-groups {
    display: grid;
    gap: 32px;
}

.home-featured-group {
    display: grid;
    gap: 16px;
}

.home-featured-group-heading h3 {
    margin: 0;
    color: #1f1711;
    font-size: 24px;
    line-height: 1.2;
}

.home-featured-group-heading h3 span {
    display: inline-block;
    margin-left: 10px;
    color: #a46f21;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.home-featured-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    width: min(100%, 1200px);
    margin: 0 auto;
}

.home-featured-product-link {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
    flex: 0 1 calc((100% - 72px) / 5);
    min-width: 0;
    color: #17110b;
    scroll-snap-align: start;
    text-decoration: none;
    transition: opacity .2s ease, transform .2s ease;
}

.home-featured-product-link:hover {
    opacity: .9;
    transform: translateY(-2px);
    text-decoration: none;
}

.home-featured-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid #e8e1d5;
    background: #ffffff;
}

.home-featured-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.home-featured-product-title {
    display: -webkit-box;
    min-height: 44px;
    overflow: hidden;
    color: #252018;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.brand-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 2.45 / 1;
    overflow: hidden;
    transition: opacity .2s ease, transform .2s ease;
}

.brand-image-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-pill:hover {
    border-color: #a46f21;
    text-decoration: none;
}

.brand-image-link:hover {
    opacity: .88;
    transform: translateY(-2px);
    text-decoration: none;
}

.brand-section,
.news-section {
    background: #ffffff;
}

.brand-section {
    padding-top: 24px;
    padding-bottom: 22px;
}

.brand-section .section-heading {
    display: none;
}

.brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-more {
    color: #a46f21;
    font-weight: 800;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    background: #211913;
}

.split-section h2,
.split-section .section-kicker {
    color: #f4d28c;
}

.split-section p {
    margin-top: 16px;
    color: #efe7d9;
}

.about-copy {
    max-height: 250px;
    overflow: hidden;
    color: #42505c;
    line-height: 1.8;
}

.about-copy * {
    color: inherit !important;
    max-width: 100%;
}

.about-home-section {
    display: grid;
    grid-template-columns: minmax(300px, 440px) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    background: #ffffff;
}

.about-home-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border-radius: 6px;
    background: #ffffff;
}

.about-home-copy {
    display: grid;
    gap: 18px;
}

.about-home-copy h2 {
    margin: 0;
    color: #17110b;
    font-size: 32px;
}

.about-home-copy p {
    margin: 0;
    color: #42505c;
    line-height: 1.8;
}

.home-footer-sitemap-section {
    padding-top: 28px;
    padding-bottom: 0;
    background: linear-gradient(180deg, #f7f7f7 0%, #ffffff 100%);
}

.home-footer-sitemap-section * {
    max-width: 100%;
}

.home-footer-sitemap-section .maplisttogo,
.home-footer-sitemap-section .container {
    width: 100%;
    max-width: 1120px;
    margin-right: auto;
    margin-left: auto;
}

.home-footer-sitemap-section .row {
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: 62px;
    align-items: center;
}

.home-footer-sitemap-section .downlogo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-footer-sitemap-section .downlogo img {
    width: min(320px, 100%) !important;
    height: auto !important;
}

.home-footer-sitemap-section .simaplist {
    display: grid;
    grid-template-columns: repeat(4, minmax(112px, 1fr));
    gap: 34px;
}

.home-footer-sitemap-section .simaplist > div {
    min-width: 0;
}

.home-footer-sitemap-section .listitle {
    margin: 0 0 18px;
    color: #b58d42;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
}

.home-footer-sitemap-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-footer-sitemap-section li + li {
    margin-top: 14px;
}

.home-footer-sitemap-section a {
    display: inline-flex;
    align-items: center;
    color: #1f2933;
    font-size: 15px;
    line-height: 1.35;
}

.home-footer-sitemap-section a::before {
    content: ">>";
    margin-right: 4px;
    color: #9da3aa;
    font-size: 14px;
    letter-spacing: -3px;
}

.home-footer-sitemap-section img {
    height: auto;
}

.craft-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.craft-gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 6px;
    background: #ffffff;
}

.album-section {
    background: #eef4f1;
}

.album-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.album-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 6px;
    background: #ffffff;
}

.album-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #edf1ef;
}

.album-card strong {
    color: #172026;
    line-height: 1.5;
}

.album-card span {
    color: #68727d;
    font-size: 14px;
}

.news-list {
    display: grid;
    gap: 12px;
}

.news-item {
    display: grid;
    grid-template-columns: 120px 90px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e6ded0;
    color: inherit;
}

.news-item:hover {
    text-decoration: none;
}

.news-item time,
.news-item span {
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
}

.news-item strong {
    color: #17110b;
    line-height: 1.6;
}

.contact-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #ffffff;
    background: #a46f21;
}

.contact-strip .section-kicker,
.contact-strip h2,
.contact-strip p {
    color: #ffffff;
}

.contact-strip .button {
    border-color: #ffffff;
    color: #a46f21;
    background: #ffffff;
}

@media (max-width: 640px) {
    .header-content,
    .page-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .table {
        display: block;
        overflow-x: auto;
    }

    .details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .banner-slide {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-left: 48px;
        padding-right: 48px;
    }

    .banner-copy h2 {
        font-size: 42px;
    }

    .banner-slide img {
        max-height: 260px;
    }

    .home-hero,
    .split-section,
    .about-home-section {
        grid-template-columns: 1fr;
    }

    .home-hero {
        min-height: 0;
    }

    .home-hero h1 {
        font-size: 48px;
    }

    .service-grid,
    .product-grid,
    .frontend-product-grid,
    .product-detail-layout,
    .category-grid,
    .brand-grid,
    .album-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .home-banner-carousel {
        left: auto;
        width: min(100%, 1200px);
        height: auto;
        aspect-ratio: 1200 / 450;
        margin: 0 auto;
        transform: none;
    }
}

@media (max-width: 1024px) {
    .site-header {
        position: sticky;
    }

    .header-content {
        position: relative;
        flex-wrap: wrap;
        min-height: 64px;
        gap: 12px;
    }

    .brand {
        min-width: 0;
    }

    .brand-logo {
        max-width: 190px;
        max-height: 48px;
    }

    .frontend-nav-toggle {
        display: grid;
        gap: 4px;
        margin-left: auto;
    }

    .frontend-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        border: 1px solid #e6ded0;
        border-radius: 8px;
        background: #ffffff;
        box-shadow: 0 16px 36px rgba(18, 28, 35, .14);
    }

    .frontend-nav.open {
        display: flex;
    }

    .frontend-nav-item > a,
    .backend-link {
        width: 100%;
        min-height: 42px;
        padding: 8px 10px;
    }

    .frontend-subnav {
        position: static;
        display: none;
        min-width: 0;
        margin: 0 0 8px;
        padding: 4px 0 4px 14px;
        border: 0;
        border-left: 2px solid #ead8b9;
        border-radius: 0;
        box-shadow: none;
    }

    .frontend-nav-item:hover .frontend-subnav,
    .frontend-nav-item:focus-within .frontend-subnav {
        display: grid;
    }

    .backend-link {
        justify-content: center;
        margin-top: 6px;
    }

    .content-page {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .content-sidebar {
        position: static;
    }

    .product-detail-side-widgets {
        position: static;
    }
}

@media (max-width: 1280px) and (min-width: 1025px) {
    .content-page-three-column {
        grid-template-columns: 170px minmax(0, 1fr) 170px;
        gap: 24px;
    }

    .related-links-aside {
        padding: 0;
    }
}

@media (max-width: 920px) {
    .brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-footer-sitemap-section .row {
        grid-template-columns: 1fr;
        gap: 28px;
        align-items: start;
    }

    .home-footer-sitemap-section .downlogo {
        justify-content: flex-start;
    }

    .home-footer-sitemap-section .downlogo img {
        width: min(260px, 80%) !important;
    }

    .home-footer-sitemap-section .simaplist {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 36px;
    }
}

@media (max-width: 640px) {
    .home-banner-carousel {
        min-height: 0;
        max-height: none;
    }

    .banner-slide {
        padding: 38px 20px 58px;
    }

    .banner-copy h2 {
        font-size: 34px;
    }

    .banner-copy p:not(.section-kicker) {
        font-size: 16px;
    }

    .banner-control {
        top: auto;
        bottom: 16px;
        width: 34px;
        height: 34px;
        font-size: 26px;
        transform: none;
    }

    .banner-control.prev {
        left: 20px;
    }

    .banner-control.next {
        right: 20px;
    }

    .home-section,
    .home-hero {
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-hero h1 {
        font-size: 40px;
    }

    .hero-lead {
        font-size: 17px;
    }

    .service-grid,
    .product-grid,
    .craft-gallery,
    .category-grid,
    .album-grid {
        grid-template-columns: 1fr;
    }

    .brand-grid {
        grid-template-columns: 1fr;
    }

    .home-featured-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-featured-product-link {
        flex-basis: auto;
    }

    .home-footer-sitemap-section {
        padding-top: 22px;
        padding-bottom: 0;
    }

    .home-footer-sitemap-section .downlogo {
        justify-content: center;
    }

    .home-footer-sitemap-section .simaplist {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-footer-sitemap-section .listitle {
        margin-bottom: 12px;
    }

    .home-category-scroll {
        gap: 14px;
        padding-bottom: 2px;
    }

    .home-category-image-link {
        flex-basis: 68vw;
    }

    .home-category-carousel {
        grid-template-columns: 34px minmax(0, 1fr) 34px;
        gap: 8px;
    }

    .home-category-nav {
        width: 34px;
        height: 34px;
        font-size: 24px;
    }

    .section-heading,
    .contact-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .footer-content {
        gap: 24px;
    }

    .frontend-subnav {
        position: static;
        box-shadow: none;
    }
}

@media (max-width: 920px) {
    .ad-banner-slide {
        padding: 0;
    }

    .ad-banner-slide img {
        max-height: none;
    }
}

@media (max-width: 640px) {
    .frontend-quick-links {
        right: 10px;
        bottom: 78px;
        gap: 7px;
    }

    .frontend-quick-link {
        width: 42px;
        height: 42px;
        font-size: 12px;
    }

    .frontend-back-to-top {
        font-size: 22px;
    }

    .home-floating-ad {
        left: 8px;
        bottom: 8px;
        max-width: calc(100vw - 16px);
        max-height: 76vh;
    }

    .home-floating-ad img {
        max-width: calc(100vw - 16px);
        height: auto;
        max-height: 68vh;
    }

    .ad-banner-slide {
        padding: 0;
    }

    .ad-banner-slide img {
        max-height: none;
    }

    .home-featured-grid {
        display: grid;
        grid-template-columns: 1fr;
    }
}

.ad-banner-slide {
    display: block;
    padding: 0;
}

.ad-banner-slide::before {
    display: none;
}

.ad-banner-slide .banner-image-link {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 1;
}

.ad-banner-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: none;
}

.not-found-page {
    display: grid;
    grid-template-columns: minmax(160px, 260px) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    min-height: 52vh;
    padding: 56px 0 70px;
}

.not-found-code {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    color: #b88a2a;
    font-size: 72px;
    font-weight: 800;
    border: 1px solid rgba(184, 138, 42, .28);
    background: linear-gradient(135deg, #fffaf0, #ffffff);
}

.not-found-content {
    max-width: 680px;
}

.not-found-content h1 {
    margin: 0 0 14px;
    color: #1f2933;
    font-size: 36px;
    letter-spacing: 0;
}

.not-found-content p:not(.eyebrow) {
    margin: 0;
    color: #5f6f7f;
    font-size: 17px;
    line-height: 1.8;
}

.not-found-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.primary-link,
.secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 18px;
    border: 1px solid #b88a2a;
    font-weight: 700;
}

.primary-link {
    color: #ffffff;
    background: #b88a2a;
}

.secondary-link {
    color: #8a681f;
    background: #ffffff;
}

@media (max-width: 640px) {
    .header-content {
        align-items: center;
        flex-direction: row;
    }

    .frontend-nav {
        left: 16px;
        right: 16px;
    }

    .page-banner {
        margin-top: -18px;
    }

    .content-main {
        padding: 18px;
    }

    .product-category-list-detail .product-category-detail-image {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 18px;
    }

    .rich-content .info02 {
        display: block;
        margin-right: 0;
        margin-left: 0;
    }

    .rich-content .info02 > .col-md-6 {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    .content-title h1 {
        font-size: 26px;
    }

    .frontend-product-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-zoom-stage {
        overflow: hidden;
        cursor: default;
    }

    .product-zoom-stage.zooming .product-zoom-lens,
    .product-zoom-stage.zooming .product-zoom-result {
        display: none;
    }

    .frontend-news-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .news-with-image .frontend-news-row {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 12px;
    }

    .news-thumb {
        width: 104px;
    }

    .news-row-body strong {
        font-size: 16px;
    }

    .frontend-album-grid,
    .frontend-album-photo-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .not-found-page {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 34px 0 48px;
    }

    .not-found-code {
        width: min(220px, 70vw);
        margin: 0 auto;
        font-size: 56px;
    }

    .not-found-content h1 {
        font-size: 28px;
    }
}
