/* Reversible visual update: unlink this file from index.aspx and product.aspx to roll back. */

/* Product page: a clear framed card keeps the photo and details grounded. */
.detail {
    max-width: 1080px;
    padding: 26px;
    gap: 34px;
    background: #fffefa;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 18px 46px rgba(40, 51, 45, .09);
}

.detail > .product-photos {
    padding: 0;
    background: transparent;
    border: 0;
}

.detail .product-main-image {
    display: block;
    width: 100%;
    max-height: 560px;
    padding: 10px;
    object-fit: contain;
    background: #f4f2e9;
    border: 1px solid var(--line);
    border-radius: 11px;
}

.detail > .product-content {
    padding: 24px;
    background: #f8f7f1;
    border: 1px solid var(--line);
    border-radius: 11px;
}

.detail .product-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 12px;
}

.detail .gallery-thumb {
    width: 72px;
    height: 64px;
    padding: 3px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fffefa;
    cursor: pointer;
}

.detail .gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    padding: 0;
    object-fit: contain;
    border: 0;
    border-radius: 3px;
    background: transparent;
}

.detail .price {
    color: #526e51;
    font-weight: 700;
}

.detail .product-main-image {
    cursor: zoom-in;
}

.photo-lightbox {
    position: relative;
    width: min(96vw, 1400px);
    max-width: none;
    max-height: 96vh;
    padding: 44px 16px 16px;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    background: #1c231f;
}

.photo-lightbox::backdrop {
    background: rgba(15, 19, 17, .88);
    backdrop-filter: blur(3px);
}

.photo-lightbox > img {
    display: block;
    width: 100%;
    max-height: calc(92vh - 60px);
    object-fit: contain;
    background: transparent;
}

.photo-lightbox-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

/* Home page: playful paw and bone accents around the existing dog-tag artwork. */
.hero-art {
    isolation: isolate;
}

.hero-art::before,
.hero-art::after {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    font-size: clamp(25px, 3vw, 38px);
    filter: drop-shadow(0 3px 4px rgba(40, 51, 45, .12));
}

.hero-art::before {
    content: "🐾";
    top: 25%;
    left: 11%;
    transform: rotate(-14deg);
}

.hero-art::after {
    content: "🦴";
    right: 12%;
    bottom: 22%;
    transform: rotate(-24deg);
}

.hero-art .art-card {
    z-index: 2;
}

.hero-art .sparkle,
.hero-art .art-caption {
    z-index: 3;
    width: 74px;
}

.hero-art .art-caption::before {
    content: "";
    display: block;
    width: 48px;
    height: 10px;
    margin: 0 0 8px auto;
    border-radius: 8px;
    background: #6b8a69;
    box-shadow: inset 0 0 0 2px #587456, 0 3px 7px rgba(40, 51, 45, .12);
}

.hero-art .art-caption::after {
    content: "";
    position: absolute;
    top: 1px;
    right: 15px;
    width: 7px;
    height: 7px;
    border: 1px solid #f4caa6;
    border-radius: 2px;
}

@media (max-width: 700px) {
    .detail {
        padding: 14px;
        gap: 16px;
    }

    .detail > .product-content {
        padding: 18px;
    }
}
