.detail-page {
    --detail-navy: #0c2540;
    --detail-blue: #133b5c;
    --detail-gold: #f6b11d;
    --detail-brown: #7b2d1a;
    color: #4b5865;
}

body .breadcrumb-banner {
    background-image: linear-gradient(105deg, rgba(5, 17, 31, 0.78), rgba(12, 37, 64, 0.42)), url("../images/polo-b1.webp") !important;
    background-position: center;
    background-size: cover;
}

body p,
body li {
    text-align: justify !important;
}

.detail-page .detail-hero {
    position: relative;
    display: flex;
    min-height: 320px;
    align-items: center;
    margin-top: 105px;
    padding: 70px 0;
    overflow: hidden;
    background-image: linear-gradient(105deg, rgba(5, 17, 31, 0.82), rgba(12, 37, 64, 0.42)), var(--detail-hero-image);
    background-position: center;
    background-size: cover;
    color: #fff;
}

.detail-page .detail-hero h1 {
    max-width: 900px;
    margin: 0 auto 20px;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.detail-page .detail-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 9px 16px;
    border: 1px solid rgba(246, 177, 29, 0.35);
    border-radius: 999px;
    background: rgba(246, 177, 29, 0.13);
    color: #ffd47a;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.detail-page .detail-breadcrumb {
    display: inline-block;
    padding: 9px 20px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
}

.detail-page .detail-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.detail-page .detail-breadcrumb a:hover {
    color: var(--detail-gold);
}

.detail-page .detail-intro {
    padding: 76px 0;
    background: linear-gradient(135deg, #f5f8fb, #fff 55%, #f7f3ed);
}

.detail-page .detail-image-wrap {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding: 12px 12px 0 0;
}

.detail-page .detail-image-wrap::before {
    position: absolute;
    top: 0;
    left: -14px;
    width: 100px;
    height: 100px;
    background: var(--detail-gold);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    content: "";
}

.detail-page .detail-image {
    position: relative;
    display: block;
    width: 100%;
    height: 440px;
    border: 7px solid #fff;
    border-radius: 20px;
    background: #e8edf1;
    box-shadow: 0 24px 55px rgba(12, 37, 64, 0.18);
    object-fit: cover;
}

.detail-page .detail-copy {
    padding-left: 18px;
}

.detail-page .detail-copy h2,
.detail-page .detail-section-heading h2 {
    margin: 0 0 18px;
    color: var(--detail-navy);
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.detail-page .detail-copy p {
    margin-bottom: 15px;
    color: #52606d;
    font-size: 1rem;
    line-height: 1.85;
}

.detail-page .detail-copy strong {
    color: var(--detail-brown);
}

.detail-page .detail-section-heading {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.detail-page .detail-section-heading .detail-eyebrow {
    background: rgba(246, 177, 29, 0.13);
    color: var(--detail-brown);
}

.detail-page .detail-section-heading p {
    margin: 0;
    color: #66717c;
    line-height: 1.75;
}

.detail-page .detail-features {
    padding: 76px 0;
    background: #fff;
}

.detail-page .detail-feature-card {
    height: 100%;
    padding: 25px;
    border: 1px solid #e7ebef;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(12, 37, 64, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detail-page .detail-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(12, 37, 64, 0.12);
}

.detail-page .detail-feature-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 17px;
    place-items: center;
    border-radius: 14px;
    background: rgba(246, 177, 29, 0.15);
    color: var(--detail-brown);
    font-size: 1.2rem;
}

.detail-page .detail-feature-card h3 {
    margin-bottom: 9px;
    color: var(--detail-navy);
    font-size: 1.08rem;
    font-weight: 800;
}

.detail-page .detail-feature-card p {
    margin: 0;
    color: #63707c;
    font-size: 0.94rem;
    line-height: 1.7;
}

.detail-page .detail-cta {
    padding: 48px 0;
    background: linear-gradient(110deg, #0c2540, #173d5c);
    color: #fff;
}

.detail-page .detail-cta h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
}

.detail-page .detail-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.detail-page .detail-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border: 1px solid #d98a1d;
    border-radius: 10px;
    background: linear-gradient(135deg, #f6b11d, #d98a1d);
    color: var(--detail-navy);
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detail-page .detail-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
    color: var(--detail-navy);
}

.detail-page .category-intro {
    padding: 70px 0 36px;
    background: linear-gradient(135deg, #f5f8fb, #fff 55%, #f7f3ed);
}

.detail-page .category-intro p {
    max-width: 850px;
    margin: 0 auto;
    color: #52606d;
    font-size: 1.05rem;
    line-height: 1.85;
    text-align: center;
}

.detail-page .category-grid {
    padding: 36px 0 78px;
    background: #fff;
}

.detail-page .category-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e9ed;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(12, 37, 64, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.detail-page .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(12, 37, 64, 0.14);
}

.detail-page .category-card img {
    display: block;
    width: 100%;
    height: 240px;
    background: #eef1f4;
    object-fit: cover;
}

.detail-page .category-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
}

.detail-page .category-card h3 {
    margin: 0 0 10px;
    color: var(--detail-navy);
    font-size: 1.2rem;
    font-weight: 800;
}

.detail-page .category-card p {
    flex: 1;
    margin: 0 0 16px;
    color: #63707c;
    line-height: 1.7;
}

.detail-page .category-card .detail-button {
    min-height: 42px;
    padding: 9px 16px;
    font-size: 0.92rem;
}

.detail-page .category-tip {
    margin-top: 26px;
    padding: 22px 24px;
    border-left: 4px solid var(--detail-gold);
    border-radius: 12px;
    background: #f7f4ee;
    color: #52606d;
    line-height: 1.75;
}

@media (max-width: 991px) {
    .detail-page .detail-hero {
        min-height: 270px;
        margin-top: 88px;
        padding: 58px 0;
    }

    .detail-page .detail-copy {
        padding: 32px 0 0;
    }
}

@media (max-width: 767px) {
    .detail-page .detail-intro,
    .detail-page .detail-features {
        padding: 52px 0;
    }

    .detail-page .detail-image {
        height: 340px;
    }

    .detail-page .detail-cta .detail-button {
        margin-top: 20px;
    }

    .detail-page .category-card img {
        height: 220px;
    }
}

@media (max-width: 575px) {
    .detail-page .detail-hero {
        min-height: 230px;
        margin-top: 72px;
        padding: 46px 0;
    }

    .detail-page .detail-image {
        height: 280px;
    }

    .detail-page .detail-feature-card {
        padding: 21px;
    }
}

.gallery-page .gallery-intro {
    padding: 62px 0 34px;
    background: linear-gradient(135deg, #f5f8fb, #fff 55%, #f7f3ed);
}

.gallery-page .gallery-grid {
    padding: 34px 0 78px;
    background: #fff;
}

.gallery-page .gallery-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 5px solid #fff;
    border-radius: 18px;
    background: #e8edf1;
    box-shadow: 0 16px 38px rgba(12, 37, 64, 0.13);
}

.gallery-page .gallery-card img {
    display: block;
    width: 100%;
    height: 270px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-page .gallery-card:hover img {
    transform: scale(1.045);
}

.gallery-page .gallery-caption {
    position: absolute;
    inset: auto 0 0;
    padding: 38px 18px 17px;
    background: linear-gradient(transparent, rgba(5, 17, 31, 0.82));
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

@media (max-width: 767px) {
    .gallery-page .gallery-card img {
        height: 230px;
    }
}
