     

        /* 2. Style Definitions for the Detail Page and Modal */
        :root {
            /* --bg: #ffffff;
            --text: #111111;
            --muted: #6b7280;
            --border: #e5e7eb; */
            --shadow: 0 12px 30px rgba(0, 0, 0, .08);
            --muted: #6b7280;
            --border: #e5e7eb; 

        }

        
.btn {
    appearance: none;
    border: 1px solid #0b243a;
    background: #0b243a;
    color: #fff;
    border-radius: 999px;
    padding: 5px 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .5s ease-in-out;
}

.btn:hover {
    background: transparent;
    color: #0b243a;
    border-color: #0b243a;
    transition: all .5s ease-in-out;

}

.btn.ghost {
    background: transparent;
    color: #0b243a;
    border-color: #0b243a;
}

        /* Breadcrumb */
        .crumbs {
                display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    color: #dab870;
    font-size: 42px;
    margin: 16px 0;
    letter-spacing: 4px;
    font-family: 'Quicksilver';
        }

        .crumbs a {
            color: #323232;
            text-decoration: none
        }
        .inner h2{
            font-size: 22px;
            font-family: Duplet;
            font-weight: 600;
        }
        /* Details layout */
        .details {
            display: grid;
            grid-template-columns: 1.2fr .8fr;
            gap: 24px;
            padding-top: 50px;
        }
        #relatedSection{
            margin-bottom: 50px;
        }
        @media(max-width:1100px) {
            .details {
                grid-template-columns: 1fr
            }
        }

        /* Gallery */
        .gallery {
            border: 1px solid var(--border);
            border-radius: 22px;
            background: #fff;
            box-shadow: var(--shadow);
            padding: 14px
        }

        .hero {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid var(--border);
            background: #fff
        }

        .hero .image {
            aspect-ratio: 4/3;
            position: relative;
            /* Placeholder pattern - this will be overwritten by background-image property */
            background: linear-gradient(135deg, #f4f4f4 25%, transparent 25%) -16px 0/ 32px 32px, linear-gradient(225deg, #f4f4f4 25%, transparent 25%) -16px 0/ 32px 32px, linear-gradient(315deg, #f4f4f4 25%, transparent 25%) 0px 0/ 32px 32px, linear-gradient(45deg, #f4f4f4 25%, transparent 25%) 0px 0/ 32px 32px, #fff;
            background-size: cover;
            background-position: center;
        }

        .badge-size {
            position: absolute;
            right: 10px;
            bottom: 10px;
            background: #111;
            color: #fff;
            font-size: 12px;
            padding: 6px 8px;
            border-radius: 999px
        }

        .ribbon {
            position: absolute;
            top: 12px;
            left: -40px;
            transform: rotate(-45deg);
            background: #111;
            color: #fff;
            font-size: 12px;
            padding: 6px 48px;
            letter-spacing: .06em
        }

        .thumbs {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 10px;
            margin-top: 10px
        }

        @media(max-width:560px) {
            .thumbs {
                grid-template-columns: repeat(4, 1fr)
            }
        }

        .thumb {
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            cursor: pointer
        }

        .thumb .image {
            aspect-ratio: 1/1;
            background: repeating-linear-gradient(45deg, #f3f3f3, #f3f3f3 14px, #fff 14px, #fff 28px);
            background-size: cover;
            background-position: center;
        }

        .thumb[aria-selected="true"] {
            outline: 2px solid #111;
            outline-offset: 2px
        }

        /* Summary side */
        .summary {
            position: relative
        }

        .panel {
            border: 1px solid var(--border);
            border-radius: 22px;
            background: #fff;
            box-shadow: var(--shadow)
        }

        .panel .inner {
            padding: 18px
        }

        .sticky {
            position: sticky;
            top: 96px
        }

     

        .muted {
            color: var(--muted)
        }

        .pills {
            display: grid;
            flex-wrap: wrap;
            gap: 8px;
            margin: 12px 0;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px 20px;
            font-size: 18px;
        }
        #description{
            font-size: 18px;
        }
        .pill {
            border: 1px dashed var(--border);
            padding: 6px 10px;
            border-radius: 999px;
            background: #fff
        }

        .ctas {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 12px
        }

        /* Info sections */
        .sections {
            margin-top: 18px;
            display: grid;
            gap: 18px
        }

        .section {
            border: 1px solid var(--border);
            border-radius: 20px;
            background: #fff;
            box-shadow: var(--shadow)
        }

        .section .head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 18px;
            border-bottom: 1px solid var(--border);
                font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;

        }

        .section .body {
            padding: 14px 18px
        }

        /* Specs grid */
        .specs {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px
        }

        @media(max-width:560px) {
            .specs {
                grid-template-columns: 1fr
            }
        }

        .kv {
            display: flex;
            justify-content: space-between;
            gap: 10px;
            padding: 10px 12px;
            border: 1px dashed var(--border);
            border-radius: 12px;
            font-size: 18px;
            letter-spacing: 1px;
        }

        .kv .k {
            color: #000
        }

        /* Related */
        .related-grid {
            display: grid;
            gap: 14px;
            grid-template-columns: repeat(4, 1fr)
        }

        @media(max-width:980px) {
            .related-grid {
                grid-template-columns: repeat(3, 1fr)
            }
        }

        @media(max-width:720px) {
            .related-grid {
                grid-template-columns: repeat(2, 1fr)
            }
        }

        @media(max-width:480px) {
            .related-grid {
                grid-template-columns: 1fr
            }
        }

        .card {
            position: relative;
            background: linear-gradient(180deg, #fff, #fafafa);
            border: 1px solid var(--border);
            border-radius: 18px;
            overflow: hidden;
            box-shadow: var(--shadow)
        }

        .card .media {
            aspect-ratio: 4/3;
            position: relative;
            /* Placeholder background */
            background: linear-gradient(135deg, #f4f4f4 25%, transparent 25%) -16px 0/ 32px 32px, linear-gradient(225deg, #f4f4f4 25%, transparent 25%) -16px 0/ 32px 32px, linear-gradient(315deg, #f4f4f4 25%, transparent 25%) 0px 0/ 32px 32px, linear-gradient(45deg, #f4f4f4 25%, transparent 25%) 0px 0/ 32px 32px, #fff;
            background-size: cover;
            background-position: center;
        }

        .card .ribbon {
            position: absolute;
            top: 10px;
            left: -36px;
            transform: rotate(-45deg);
            font-size: 11px;
            padding: 5px 42px
        }

        .card .size {
            position: absolute;
            right: 8px;
            bottom: 8px;
            background: #111;
            color: #fff;
            font-size: 11px;
            padding: 5px 8px;
            border-radius: 999px
        }

        .card .body {
            padding: 12px
        }

        .card .title {
            font-weight: 800
        }

        /* 3D VIEWER MODAL STYLES */
        .btn.toggle[aria-pressed="true"] {
            background: #0b243a;
            color: #fff;
        }

        .btn.toggle[aria-pressed="false"] {
            background: #fff;
            color: #0b243a;
        }

        .modal[open] {
            position: fixed;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0, 0, 0, .55);
            padding: 24px;
            z-index: 9999;
        }

        .modal:not([open]) {
            display: none;
        }

        .modalCard {
            width: 90vw;
            max-width: 1280px;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 20px;
            box-shadow: var(--shadow);
            overflow: hidden;
        }

        .modal-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 14px;
            border-bottom: 1px solid var(--border);
        }

        .modal-body {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 0;
            min-height: 620px;
        }

        .modal-controls {
            border-left: 1px solid var(--border);
            padding: 12px 14px;
            display: grid;
            gap: 14px;
            background: #fff;
        }
  .related-grid .card .title{
            font-size: 18px;
            letter-spacing: 1px;
        }