/* Shop readability */
.shop-results-head span {
    color: #6421b7;
}
.shop-results-head h2 {
    color: #14091b;
}
.shop-filters,
.product-card {
    box-shadow: 0 16px 45px rgba(34, 17, 47, .07);
}

/* Product page layout */
.product-single {
    padding-top: 28px;
    background: #f7f5f8;
}
.product-single .page-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    margin: 0 0 22px;
    color: #6c5d74;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}
.product-single .page-breadcrumbs a {
    color: #512087;
    text-decoration: none;
}
.product-single .page-breadcrumbs > span:last-child {
    overflow: hidden;
    color: #5f5365;
    text-overflow: ellipsis;
}
.product-page-stack {
    display: grid;
    gap: 18px;
}
.product-title-block {
    padding: clamp(26px, 3.4vw, 42px);
    border: 1px solid #ddd5e2;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 22px 65px rgba(34, 17, 47, .08);
}
.product-title-block h1 {
    max-width: 22ch;
    margin: 14px 0 10px;
    color: #100c12;
    font-size: clamp(2.35rem, 4.2vw, 4.25rem);
    line-height: .98;
    letter-spacing: -.05em;
}
.product-title-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 18px;
}
.product-gallery,
.product-summary {
    overflow: hidden;
    min-height: 0;
    border: 1px solid #ddd5e2;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 22px 65px rgba(34, 17, 47, .08);
}
.product-gallery {
    display: flex;
    flex-direction: column;
}
.product-gallery-main {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
    background: #f8f8f8;
}
.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 16px;
    border-top: 1px solid #e3dde6;
    background: #fff;
}
.product-gallery-thumb {
    flex: 0 0 clamp(96px, 10vw, 124px);
    overflow: hidden;
    aspect-ratio: 1.25 / 1;
    padding: 0;
    border: 2px solid #ded8e2;
    border-radius: 11px;
    background: #f8f8f8;
    cursor: pointer;
    opacity: .78;
    transition: border-color .18s ease, opacity .18s ease, transform .18s ease;
}
.product-gallery-thumb:hover,
.product-gallery-thumb.is-active {
    border-color: #aaff32;
    opacity: 1;
    transform: translateY(-2px);
}
.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-summary {
    padding: clamp(28px, 3.5vw, 46px);
}
.product-summary h2 {
    margin: 0 0 18px;
    color: #100c12;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    letter-spacing: -.04em;
}
.product-summary h1 {
    max-width: 13ch;
    margin: 24px 0 18px;
    color: #100c12;
    font-size: clamp(2.5rem, 3.8vw, 4.6rem);
    line-height: .93;
    letter-spacing: -.06em;
    overflow-wrap: normal;
}
.product-lead {
    max-width: 780px;
    color: #665b6b;
    font-size: 1.02rem;
    line-height: 1.55;
}
.product-price-large {
    margin: 0;
    padding: 0;
    border: 0;
}
.product-price-large strong {
    color: #160a1e;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.product-spec-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    margin: 0;
    border-top: 0;
}
.product-spec-list div {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid #e8e2eb;
}
.product-spec-list span,
.product-spec-list strong {
    display: block;
}
.product-spec-list span {
    margin-bottom: 4px;
    color: #796d80;
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .08em;
}
.product-spec-list strong {
    color: #1c1320;
    font-size: .87rem;
    line-height: 1.4;
}
.product-enquire {
    width: min(100%, 420px);
    min-height: 58px;
    margin: 0;
    background: #aaff32 !important;
    color: #11150b !important;
    font-size: .92rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(170, 255, 50, .16);
}
.product-enquire:hover { background: #bcff5f !important; color: #11150b !important; }
.product-summary > small {
    margin: 15px 0 0;
    color: #756a7b;
    line-height: 1.5;
}
.product-assurance {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 25px;
}
.product-assurance div {
    padding: 14px;
    border-radius: 14px;
    background: #f3eef6;
}
.product-assurance strong,
.product-assurance span {
    display: block;
}
.product-assurance strong {
    color: #34104f;
    font-size: .73rem;
}
.product-assurance span {
    margin-top: 4px;
    color: #77687f;
    font-size: .66rem;
    line-height: 1.35;
}

/* Product details */
.product-description {
    max-width: none;
    margin: 0;
    padding: clamp(28px, 3.5vw, 46px);
    border: 1px solid #ddd5e2;
    border-radius: 28px;
    background: #fff;
    color: #211925;
    box-shadow: 0 22px 65px rgba(34, 17, 47, .08);
}
.product-description-copy {
    max-width: 940px;
    color: #514758;
    font-size: 1rem;
    line-height: 1.72;
}
.product-description-copy h2 {
    margin: 0 0 14px;
    color: #171019;
    font-size: clamp(1.4rem, 2vw, 2rem);
    letter-spacing: -.03em;
}
.product-description-copy h2:not(:first-child) {
    margin-top: 28px;
}
.product-description-copy p {
    margin: 0 0 20px;
}
.product-description-copy ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.product-description-copy li {
    position: relative;
    padding: 8px 0 8px 24px;
    border: 0;
    border-bottom: 1px solid #ece7ee;
    border-radius: 0;
    background: transparent;
    line-height: 1.45;
}
.product-description-copy li::before {
    position: absolute;
    top: 8px;
    left: 0;
    color: #5f1cb2;
    content: "✓";
    font-weight: 900;
}
.product-description-copy li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}
.product-back {
    margin: 22px 0 0;
}
.product-back a {
    color: #57208d;
}

@media (max-width: 1050px) {
    .product-gallery-main { aspect-ratio: 4 / 3; height: auto; }
}
@media (max-width: 720px) {
    .product-single { padding-top: 18px; }
    .product-single .container { width: min(calc(100% - 24px), var(--content)); }
    .product-gallery,
    .product-summary,
    .product-title-block,
    .product-description { border-radius: 20px; }
    .product-gallery-main { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
    .product-gallery-thumbs { display: flex; padding: 12px; }
    .product-gallery-thumb { flex-basis: 88px; }
    .product-summary { padding: 27px 22px; }
    .product-title-block { padding: 25px 22px; }
    .product-title-block h1 { max-width: none; font-size: clamp(2rem, 10vw, 3.25rem); }
    .product-title-actions { align-items: stretch; flex-direction: column; }
    .product-enquire { width: 100%; }
    .product-spec-list { grid-template-columns: 1fr; }
    .product-assurance { grid-template-columns: 1fr; }
    .product-description { grid-template-columns: 1fr; padding: 34px 24px; }
    .product-description-copy ul { grid-template-columns: 1fr; }
    .product-description-copy li:last-child:nth-child(odd) { grid-column: auto; }
}

[data-theme="dark"] .shop-results-head h2 { color: #fff; }
[data-theme="dark"] .shop-results-head span { color: #b47cff; }
[data-theme="dark"] .product-single { background: #0d0910; }
[data-theme="dark"] .product-single .page-breadcrumbs,
[data-theme="dark"] .product-single .page-breadcrumbs > span:last-child { color: #bcaec4; }
[data-theme="dark"] .product-single .page-breadcrumbs a { color: #c69aff; }
[data-theme="dark"] .product-gallery,
[data-theme="dark"] .product-summary,
[data-theme="dark"] .product-title-block,
[data-theme="dark"] .product-description { border-color: #3b2d43; background: #18131b; }
[data-theme="dark"] .product-gallery-main,
[data-theme="dark"] .product-gallery-thumb { background: #f8f8f8; }
[data-theme="dark"] .product-gallery-thumbs { border-color: #ddd5e2; background: #fff; }
[data-theme="dark"] .product-summary h1,
[data-theme="dark"] .product-summary h2,
[data-theme="dark"] .product-title-block h1,
[data-theme="dark"] .product-description-copy h2,
[data-theme="dark"] .product-price-large strong,
[data-theme="dark"] .product-spec-list strong { color: #fff; }
[data-theme="dark"] .product-lead,
[data-theme="dark"] .product-description-copy,
[data-theme="dark"] .product-summary > small { color: #c2b7c8; }
[data-theme="dark"] .product-description-copy li { border-color: #3b3040; }
[data-theme="dark"] .product-description-copy li::before { color: #aaff32; }
[data-theme="dark"] .product-spec-list div,
[data-theme="dark"] .product-price-large { border-color: #3b3040; }
[data-theme="dark"] .product-assurance div { background: #251b2a; }
[data-theme="dark"] .product-assurance strong { color: #dec4f2; }

/* The catalogue intentionally stays light in both theme modes. */
.shop-layout,
[data-theme="dark"] .shop-layout {
    color: #160d1b;
}
.shop-results-head h2,
[data-theme="dark"] .shop-results-head h2 {
    color: #14091b;
}
.shop-results-head span,
[data-theme="dark"] .shop-results-head span {
    color: #6421b7;
}
.shop-filters,
.shop-filters strong,
.shop-filters label,
.shop-filters select,
.shop-filters input,
.product-card,
.product-card h3,
.product-card h3 a,
.product-card dd,
[data-theme="dark"] .shop-filters,
[data-theme="dark"] .shop-filters strong,
[data-theme="dark"] .shop-filters label,
[data-theme="dark"] .shop-filters select,
[data-theme="dark"] .shop-filters input,
[data-theme="dark"] .product-card,
[data-theme="dark"] .product-card h3,
[data-theme="dark"] .product-card h3 a,
[data-theme="dark"] .product-card dd {
    color: #18101d;
}
.shop-filters select,
.shop-filters input,
[data-theme="dark"] .shop-filters select,
[data-theme="dark"] .shop-filters input {
    border-color: #d9d0df;
    background: #fff;
}
.product-card p,
[data-theme="dark"] .product-card p {
    color: #655a6b;
}
