/** Heritage Signature Cam Tuner product page (product 229). */
:root {
    --htc-carbon: #1f1f1f;
    --htc-parchment: #f4f1ec;
    --htc-paper: #fbf8f2;
    --htc-graphite: #3a3a3a;
    --htc-charcoal-brown: #32322c;
    --htc-line: rgba(31, 31, 31, 0.13);
    --htc-line-light: rgba(244, 241, 236, 0.18);
    --htc-muted: rgba(31, 31, 31, 0.68);
    --htc-muted-light: rgba(244, 241, 236, 0.72);
    --htc-gold: #a8864c;
    --htc-aged-brass: #8a6d38;
    --htc-radius: 8px;
    --htc-radius-lg: 22px;
    --htc-shadow: 0 24px 70px rgba(31, 31, 31, 0.13);
    --htc-shadow-soft: 0 18px 50px rgba(31, 31, 31, 0.08);
}

.htc-cam-product-page {
    background: var(--htc-parchment);
    color: var(--htc-carbon);
}

.htc-cam-product-page *,
.htc-cam-product-page *::before,
.htc-cam-product-page *::after { box-sizing: border-box; }

.htc-cam-container,
.htc-cam-notices {
    margin-inline: auto;
    width: min(1180px, calc(100% - 64px));
}

.htc-cam-section { padding-block: clamp(76px, 8vw, 116px); }
.htc-cam-section:first-of-type { padding-top: clamp(46px, 5vw, 76px); }
.htc-cam-notices { margin-top: 28px; }

.htc-cam-product-page h1,
.htc-cam-product-page h2,
.htc-cam-product-page h3,
.htc-cam-product-page h4,
.htc-cam-product-page h5,
.htc-cam-product-page p { margin-top: 0; }

.htc-cam-product-page h1,
.htc-cam-product-page h2,
.htc-cam-product-page h3 { max-width: 840px; }
.htc-cam-product-page h1,
.htc-cam-product-page h2 {
    text-wrap: balance;
    white-space: normal !important;
}

.htc-cam-product-page h1,
.htc-cam-product-page h2,
.htc-cam-product-page h3,
.htc-cam-product-page h4,
.htc-cam-product-page h5,
.htc-cam-product-page p {
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal !important;
}

.htc-cam-eyebrow {
    color: var(--htc-graphite);
    letter-spacing: 0.12em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.htc-cam-lead,
.htc-cam-copy p { color: var(--htc-muted); }
.htc-cam-lead,
.htc-cam-copy,
.htc-cam-copy p { max-width: 700px; }
.htc-cam-copy p:last-child { margin-bottom: 0; }

.htc-cam-hero {
    display: block !important;
    min-height: auto !important;
    padding-bottom: clamp(86px, 8vw, 126px) !important;
    padding-top: clamp(46px, 5vw, 76px) !important;
}

.htc-cam-hero-grid {
    align-items: start !important;
    display: grid;
    gap: clamp(56px, 8vw, 110px);
    grid-template-columns: minmax(0, 0.95fr) minmax(410px, 0.76fr);
}

.htc-cam-hero-copy { max-width: 760px; min-width: 0; padding-top: clamp(34px, 4vw, 64px); }
.htc-cam-gallery { display: grid; gap: 14px; margin-top: 36px; }
.htc-cam-main-image,
.htc-cam-thumb {
    background: rgba(31, 31, 31, 0.08);
    border-radius: var(--htc-radius);
    overflow: hidden;
    position: relative;
}

.htc-cam-main-image { aspect-ratio: 1.32 / 1; box-shadow: var(--htc-shadow); }
.htc-cam-thumbs { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.htc-cam-thumb { aspect-ratio: 1.38 / 1; border: 1px solid var(--htc-line); box-shadow: var(--htc-shadow-soft); }
.htc-cam-main-image img,
.htc-cam-thumb img,
.htc-cam-dark-image img { display: block; height: 100%; object-fit: cover; width: 100%; }

.htc-cam-purchase-column { margin-left: auto; max-width: 460px; min-width: 0; width: 100%; }
.htc-cam-purchase-card {
    background: #fff;
    border: 1px solid var(--htc-line);
    border-radius: var(--htc-radius);
    box-shadow: 0 18px 46px rgba(31, 31, 31, 0.11);
    max-width: 100%;
    overflow: hidden;
}

.htc-cam-purchase-upper {
    padding: 28px 30px 30px;
}

.htc-cam-purchase-rule {
    background: var(--htc-aged-brass);
    height: 3px;
    margin: -28px -30px 25px;
}

.htc-cam-price__label {
    color: var(--htc-muted);
    display: block;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.35;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.htc-cam-price {
    color: var(--htc-carbon);
    line-height: 1.2;
    margin: 0;
    text-align: center;
}

.htc-cam-price__retail {
    margin-bottom: 12px;
}

.htc-cam-purchase-card:not(.htc-cam-purchase-card--presale-active) .htc-cam-price__retail {
    display: none !important;
}

.htc-cam-price__regular {
    color: rgba(31, 31, 31, 0.46);
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(31, 31, 31, 0.38);
}

.htc-cam-price__current {
    color: var(--htc-carbon);
    display: block;
    font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4.5vw, 48px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

.htc-cam-purchase-note,
.htc-cam-after-cart-note { color: var(--htc-muted); line-height: 1.55; }
.htc-cam-purchase-note { margin-bottom: 18px; }
.htc-cam-after-cart-note { border-top: 1px solid var(--htc-line); margin: 0 30px; padding: 18px 0 22px; }
.htc-cam-after-cart-note p:last-child { margin-bottom: 0; }

.htc-cam-native-cart {
    display: flex;
    flex-direction: column;
}

.htc-cam-native-cart form.cart {
    margin-bottom: 0;
}
.htc-cam-native-cart table.variations { border: 0; margin-bottom: 14px; width: 100%; }
.htc-cam-native-cart table.variations tbody,
.htc-cam-native-cart table.variations tr,
.htc-cam-native-cart table.variations th,
.htc-cam-native-cart table.variations td { border: 0; display: block; padding: 0; text-align: left; width: 100%; }
.htc-cam-native-cart table.variations label { color: var(--htc-carbon); display: block; letter-spacing: 0.08em; margin-bottom: 8px; text-transform: uppercase; }
.htc-cam-native-cart table.variations select {
    background-color: #fff;
    border: 1px solid rgba(31, 31, 31, 0.18);
    border-radius: 6px;
    height: 46px;
    max-width: 100%;
    min-height: 46px;
    padding: 0 36px 0 12px;
    width: 100%;
}

.htc-cam-native-cart table.variations select:focus { border-color: rgba(31, 31, 31, 0.45); }
.htc-cam-native-cart table.variations select:focus-visible {
    border-color: var(--htc-aged-brass);
    box-shadow: 0 0 0 3px rgba(168, 134, 76, 0.22);
    outline: 2px solid var(--htc-aged-brass);
    outline-offset: 2px;
}
.htc-cam-native-cart .single_variation_wrap { margin-top: 14px; }
.htc-cam-js-price-ready .woocommerce-variation-price { display: none; }
.htc-cam-native-cart .woocommerce-variation-description,
.htc-cam-native-cart .woocommerce-variation-availability { margin-bottom: 12px; }
.htc-cam-native-cart .quantity { align-items: center; display: inline-flex !important; gap: 6px; margin-bottom: 14px; margin-right: 0; }
.htc-cam-native-cart .quantity input.qty {
    background: #fff;
    border: 1px solid rgba(31, 31, 31, 0.18) !important;
    border-radius: 999px !important;
    height: 42px !important;
    min-height: 42px !important;
    text-align: center;
    width: 48px !important;
}

.htc-cam-native-cart .quantity input.plus,
.htc-cam-native-cart .quantity input.minus,
.htc-cam-native-cart .quantity button.plus,
.htc-cam-native-cart .quantity button.minus {
    background: #fff !important;
    border: 1px solid rgba(31, 31, 31, 0.14) !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    color: var(--htc-carbon) !important;
    height: 34px !important;
    min-height: 34px !important;
    width: 34px !important;
}

.htc-cam-native-cart .single_add_to_cart_button {
    background-color: var(--htc-gold) !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: 0 10px 24px rgba(168, 134, 76, 0.24) !important;
    color: #fff !important;
    display: block;
    height: 50px;
    letter-spacing: 0.08em;
    margin-top: 6px;
    max-width: 100%;
    padding-left: 12px !important;
    padding-right: 12px !important;
    text-transform: uppercase;
    width: 100%;
}

.htc-cam-native-cart .single_add_to_cart_button:hover { background-color: var(--htc-aged-brass) !important; }
.htc-cam-native-cart .single_add_to_cart_button:focus-visible {
    outline: 2px solid var(--htc-carbon);
    outline-offset: 3px;
}
.htc-cam-native-cart .single_add_to_cart_button.disabled,
.htc-cam-native-cart .single_add_to_cart_button:disabled { background-color: rgba(31, 31, 31, 0.36) !important; color: rgba(255, 255, 255, 0.82) !important; cursor: not-allowed; opacity: 1 !important; }
.htc-cam-native-cart .reset_variations { color: var(--htc-muted); display: inline-block; margin-top: 8px; }

.htc-cam-dark-section { background: var(--htc-carbon); color: var(--htc-paper); }
.htc-cam-charcoal-section { background: var(--htc-charcoal-brown); color: var(--htc-paper); }
.htc-cam-dark-section h2,
.htc-cam-dark-section h3,
.htc-cam-charcoal-section h2,
.htc-cam-charcoal-section h3,
.htc-cam-final-cta h2 { color: var(--htc-paper) !important; }
.htc-cam-dark-section .htc-cam-eyebrow,
.htc-cam-charcoal-section .htc-cam-eyebrow,
.htc-cam-final-cta .htc-cam-eyebrow { color: var(--htc-muted-light) !important; }
.htc-cam-dark-section p,
.htc-cam-charcoal-section p,
.htc-cam-final-cta p { color: var(--htc-muted-light); }

.htc-cam-split-grid { align-items: center; display: grid; gap: clamp(48px, 7vw, 88px); grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr); }
.htc-cam-dark-image { aspect-ratio: 1.1 / 1; border: 1px solid var(--htc-line-light); border-radius: var(--htc-radius); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28); overflow: hidden; }
.htc-cam-points { display: grid; gap: 9px; list-style: none; margin: 28px 0 0; padding: 0; }
.htc-cam-points li { color: var(--htc-muted-light); padding-left: 22px; position: relative; }
.htc-cam-points li::before { color: var(--htc-gold); content: "•"; left: 0; position: absolute; }

.htc-cam-card-grid,
.htc-cam-spec-grid { display: grid; gap: 18px; margin-top: 40px; }
.htc-cam-spec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.htc-cam-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.htc-cam-card { background: var(--htc-paper); border: 1px solid var(--htc-line); border-radius: 14px; box-shadow: 0 10px 30px rgba(31, 31, 31, 0.035); min-height: 178px; padding: clamp(22px, 3vw, 28px); }
.htc-cam-card h3 { margin-bottom: 10px; }
.htc-cam-card p { color: var(--htc-muted); margin-bottom: 0; }
.htc-cam-card .htc-cam-copy p + p { margin-top: 16px; }
.htc-cam-card-label { color: var(--htc-gold); letter-spacing: 0.12em; margin-bottom: 12px; text-transform: uppercase; }

.htc-cam-faq-grid { align-items: start; display: grid; gap: clamp(36px, 6vw, 72px); grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); }
.htc-cam-faq-list { display: grid; gap: 12px; }
.htc-cam-faq-item { background: var(--htc-paper); border: 1px solid var(--htc-line); border-radius: 12px; overflow: hidden; }
.htc-cam-faq-item summary { cursor: pointer; list-style: none; padding: 20px 22px; }
.htc-cam-faq-item summary::-webkit-details-marker { display: none; }
.htc-cam-faq-item summary::after { color: var(--htc-gold); content: "+"; float: right; font-weight: 700; margin-left: 16px; }
.htc-cam-faq-item[open] summary::after { content: "−"; }
.htc-cam-faq-answer { border-top: 1px solid var(--htc-line); color: var(--htc-muted); padding: 20px 22px; }
.htc-cam-faq-answer p:last-child { margin-bottom: 0; }

.htc-cam-final-cta { background: var(--htc-carbon); border-radius: var(--htc-radius-lg); box-shadow: var(--htc-shadow); color: var(--htc-paper); padding: clamp(42px, 6vw, 72px); text-align: center; }
.htc-cam-final-cta h2,
.htc-cam-final-cta .htc-cam-copy,
.htc-cam-final-cta .htc-cam-copy p,
.htc-cam-final-cta h5 { margin-left: auto; margin-right: auto; }
.htc-cam-final-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center !important; margin-top: 32px; }
.htc-cam-final-actions .nectar-button { min-width: 150px; text-align: center; }
.htc-cam-secondary-button { background: transparent !important; border: 1px solid var(--htc-paper) !important; box-shadow: none !important; color: var(--htc-paper) !important; margin-left: 0 !important; }
.htc-cam-secondary-button span { color: var(--htc-paper) !important; }

@media (max-width: 1100px) {
    .htc-cam-hero-grid { grid-template-columns: 1fr; }
    .htc-cam-purchase-column { margin-left: 0; max-width: 620px; }
    .htc-cam-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .htc-cam-container,
    .htc-cam-notices { width: min(100% - 40px, 680px); }
    .htc-cam-split-grid,
    .htc-cam-faq-grid,
    .htc-cam-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    body .container-wrap .htc-cam-product-page .htc-cam-container,
    body .container-wrap .htc-cam-product-page .htc-cam-notices,
    .htc-cam-container,
    .htc-cam-notices {
        max-width: calc(100vw - 32px) !important;
        min-width: 0 !important;
        width: calc(100vw - 32px) !important;
    }
    .htc-cam-section { padding-block: 64px; }
    .htc-cam-hero { padding-bottom: 70px !important; padding-top: 34px !important; }
    .htc-cam-hero-grid {
        gap: 42px;
        grid-template-columns: minmax(0, 1fr) !important;
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }
    .htc-cam-hero-copy { padding-top: 0; }
    .htc-cam-product-page h1 {
        font-size: clamp(31px, 8.8vw, 38px);
        line-height: 1.12;
        max-width: 100% !important;
        overflow-wrap: normal !important;
        text-wrap: wrap;
        word-break: normal !important;
    }
    .htc-cam-container,
    .htc-cam-notices {
        margin-left: 16px;
        margin-right: 16px;
    }
    .htc-cam-purchase-column,
    .htc-cam-purchase-card,
    .htc-cam-native-cart,
    .htc-cam-native-cart form.cart {
        max-width: 100% !important;
        min-width: 0;
        width: 100%;
    }
    .htc-cam-lead { max-width: 100%; }
    .htc-cam-thumbs,
    .htc-cam-spec-grid { grid-template-columns: 1fr; }
    .htc-cam-purchase-upper { padding: 22px; }
    .htc-cam-purchase-rule { margin: -22px -22px 22px; }
    .htc-cam-after-cart-note { margin-inline: 22px; }
}

@media (max-width: 640px) {
    body .container-wrap .htc-cam-product-page .htc-cam-container,
    body .container-wrap .htc-cam-product-page .htc-cam-notices,
    .htc-cam-product-page .htc-cam-container,
    .htc-cam-product-page .htc-cam-notices {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: calc(100% - 32px) !important;
        width: calc(100% - 32px) !important;
    }
}
