/* v2.8.1 category artwork: containment ensures user-uploaded icons remain fully visible. */
.gn-category-tile .gn-cat-deco{width:96px;height:98px;display:flex;align-items:center;justify-content:center;top:14px;left:15px}.gn-category-tile .gn281-category-image{display:block;width:100%;height:100%;object-fit:contain;object-position:center;border-radius:9px;filter:none;opacity:1}.gn-featurebar-grid{align-items:stretch}.gn-featurebar-grid>div{min-width:0}.gn-intro-art[style*="background-image"]:before,.gn-wholesale-design[style*="background-image"]:before{display:none}
@media(max-width:510px){.gn-category-tile .gn-cat-deco{height:62px;width:67px;left:12px;top:13px}.gn-category-tile .gn281-category-image{object-fit:contain}}
/* Golden Nation v2.8.2 — centered artwork above the category title.
   Override the old absolutely positioned category symbol used in v2.8.1. */
.gn-home .gn-category-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 252px;
    padding: 22px 18px 16px;
    text-align: center;
}
.gn-home .gn-category-tile .gn-cat-number {
    position: absolute;
    top: 14px;
    inset-inline-start: 16px;
    z-index: 1;
    line-height: 1.3;
}
.gn-home .gn-category-tile .gn-cat-deco {
    position: static;
    inset: auto;
    width: 104px;
    height: 92px;
    flex: 0 0 92px;
    margin: 0 auto;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e8e6e3;
    border-radius: 15px;
    background: #fff;
    color: #d6bca3;
    font-size: 57px;
    line-height: 1;
    overflow: hidden;
}
.gn-home .gn-category-tile .gn281-category-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 7px;
}
.gn-home .gn-category-tile h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 48px;
    margin: 0;
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    white-space: normal;
    overflow-wrap: anywhere;
}
.gn-home .gn-category-tile .gn-cat-link {
    width: 100%;
    align-self: stretch;
    margin-top: auto;
    text-align: start;
}
@media (max-width: 790px) {
    .gn-home .gn-category-tile { min-height: 240px; padding: 21px 13px 14px; gap: 10px; }
    .gn-home .gn-category-tile .gn-cat-deco { width: 92px; height: 82px; flex-basis: 82px; }
    .gn-home .gn-category-tile h3 { font-size: 14px; min-height: 50px; }
}
@media (max-width: 460px) {
    .gn-home .gn-category-tile { min-height: 222px; padding: 20px 10px 12px; gap: 8px; }
    .gn-home .gn-category-tile .gn-cat-deco { width: 76px; height: 71px; flex-basis: 71px; padding: 6px; font-size: 42px; }
    .gn-home .gn-category-tile h3 { font-size: 12px; min-height: 52px; }
    .gn-home .gn-category-tile .gn-cat-number { top: 10px; inset-inline-start: 10px; }
    .gn-home .gn-category-tile .gn-cat-link { font-size: 10px; }
}

/* Golden Nation v2.8.3 — large category photographs in the full upper card area.
   Keep the title and product link below; never crop customer-supplied artwork. */
.gn-home .gn-category-tile {
    min-height: 338px;
    padding: 20px 18px 16px;
    gap: 10px;
}
.gn-home .gn-category-tile .gn-cat-deco {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    inset: auto;
    width: 100%;
    height: 178px;
    flex: 0 0 178px;
    margin: 0 auto;
    padding: 0 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 90px;
    overflow: hidden;
}
.gn-home .gn-category-tile .gn281-category-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    object-fit: contain;
    object-position: center;
    filter: none;
    opacity: 1;
}
.gn-home .gn-category-tile h3 {
    flex: 0 0 auto;
    min-height: 52px;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}
.gn-home .gn-category-tile .gn-cat-link {
    margin-top: auto;
}
@media (max-width: 790px) {
    .gn-home .gn-category-tile { min-height: 305px; padding: 18px 12px 14px; gap: 8px; }
    .gn-home .gn-category-tile .gn-cat-deco { height: 154px; flex-basis: 154px; padding: 0 6px; }
    .gn-home .gn-category-tile h3 { min-height: 54px; font-size: 14px; }
}
@media (max-width: 460px) {
    .gn-home .gn-category-tile { min-height: 273px; padding: 17px 9px 12px; gap: 8px; }
    .gn-home .gn-category-tile .gn-cat-deco { width: 100%; height: 123px; flex-basis: 123px; padding: 0 2px; font-size: 67px; }
    .gn-home .gn-category-tile h3 { min-height: 60px; font-size: 12px; }
}

/* Golden Nation v2.8.4 — display uploaded section images in full, without cover/cropping.
   Flexible height follows the source image aspect ratio. Portrait images receive
   a maximum height while object-fit:contain prevents loss of any edge. */
.gn-home .gn284-fitted-media.gn284-has-image {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    height: auto;
    padding: 0;
    overflow: hidden;
    border-radius: 22px;
    background: #f2f2f2;
    isolation: isolate;
}
.gn-home .gn284-fitted-media.gn284-has-image::before,
.gn-home .gn284-fitted-media.gn284-has-image::after { content: none !important; display: none !important; }
.gn-home .gn284-fitted-media.gn284-has-image .gn284-image {
    display: block;
    flex: 0 1 auto;
    width: 100%;
    height: auto;
    max-height: 520px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
    opacity: 1;
    filter: none;
    transform: none;
}
.gn-home .gn-intro-art.gn284-has-image .gn284-image { max-height: 440px; }
/* Equal category-image slots: preserve the whole illustration, with no
   distortion or clipped corners even when source ratios vary. */
.gn-home .gn-category-tile .gn-cat-deco { box-sizing: border-box; align-items: center; justify-content: center; }
.gn-home .gn-category-tile .gn281-category-image {
    display: block; width: 100%; height: 100%;
    max-width: 100%; max-height: 100%;
    object-fit: contain; object-position: center;
    aspect-ratio: auto; border: none; background: transparent;
}
@media (max-width: 790px) {
    .gn-home .gn284-fitted-media.gn284-has-image { border-radius: 18px; }
    .gn-home .gn284-fitted-media.gn284-has-image .gn284-image { max-height: 420px; }
}


/* Golden Nation v2.8.5 — keep the ENTIRE product photograph visible.
   Catalog and home page cards use a square, ratio-safe media slot;
   no stretching and no top/bottom cropping even for portrait products. */
.product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.product-card .product-cover,
.gn-products-section .product-card .product-cover,
.shop-section .product-card .product-cover {
    position: relative;
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f5;
}
.product-card .product-cover > img {
    position: absolute;
    inset: 0;
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    padding: 5px;
    object-fit: contain;
    object-position: center center;
    background: transparent;
    transform: none;
}
.product-card .product-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}
.product-card .product-info > p { flex-grow: 1; }
.product-card .product-bottom { margin-top: auto; }
@media (max-width: 510px) {
    .product-card .product-cover > img { padding: 3px; }
}
