/* ==========================================================================
   Hallmark · macrostructure: Workbench · genre: modern-minimal · theme: custom
   Jashmine Unitech Pvt. Ltd. — WooCommerce Single Product Premium Design
   All rules strictly scoped under .custom-product-layout to prevent conflicts.
   ========================================================================== */

/* ---- Hallmark Cleanroom Design Tokens ---- */
.custom-product-layout {
    --deep: #062B49;
    --navy: #073B5C;
    --blue: #06748F;
    --blue-dark: #066584;
    --cyan: #00A8E8;
    --sea: #13A6A6;
    --ice: #EAF7FA;
    --light: #F0F4F8;
    --text: #102A43;
    --muted: #486581;
    --muted-light: #6B839A;
    --border: #D9E7EC;
    --white: #FFFFFF;
    --success: #10B981;
    --success-bg: #EEFCF5;
    --success-text: #0B6B45;
    --success-border: #B6EDD5;
    --shadow-sm: 0 2px 8px rgba(7, 59, 92, 0.04);
    --shadow-md: 0 10px 30px -5px rgba(7, 59, 92, 0.07);
    --shadow-lg: 0 20px 40px -10px rgba(8, 126, 164, 0.15);
    --max: 1200px;
    --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.65;
    background-color: transparent;
}

.custom-product-layout h1,
.custom-product-layout h2,
.custom-product-layout h3,
.custom-product-layout h4,
.custom-product-layout .btn,
.custom-product-layout .kicker,
.custom-product-layout .eyebrow,
.custom-product-layout .trust-item b {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    font-style: normal;
}

.custom-product-layout *,
.custom-product-layout *::before,
.custom-product-layout *::after {
    box-sizing: border-box;
}

.custom-product-layout a {
    color: inherit;
    text-decoration: none;
}

.custom-product-layout img {
    display: block;
    max-width: 100%;
}

/* ---- Container ---- */
.custom-product-layout .container {
    width: min(var(--max), calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

/* ---- Breadcrumb ---- */
.custom-product-layout .breadcrumb {
    padding: 24px 0 16px;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 500;
}

.custom-product-layout .breadcrumb a {
    color: var(--muted);
    transition: color 0.2s ease;
}

.custom-product-layout .breadcrumb a:hover {
    color: var(--blue);
}

/* ---- Hero Section: 2-Column Split ---- */
.custom-product-layout .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr);
    gap: 56px;
    align-items: start;
    padding: 16px 0 64px;
}

/* ---- Gallery Component ---- */
.custom-product-layout .gallery-wrapper {
    position: sticky;
    top: 100px;
}

.custom-product-layout .gallery {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
}

.custom-product-layout .thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-product-layout .thumb {
    height: 80px;
    width: 80px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--light);
    padding: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-product-layout .thumb.active,
.custom-product-layout .thumb:hover {
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(8, 126, 164, 0.2);
    transform: translateY(-2px);
}

.custom-product-layout .thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.custom-product-layout .main-image {
    position: relative;
    background: linear-gradient(135deg, var(--white) 0%, var(--ice) 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.custom-product-layout .main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.15s ease;
}

.custom-product-layout .main-image:hover img {
    transform: scale(1.04);
}

.custom-product-layout .status-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    color: var(--navy);
    border: 1px solid rgba(8, 126, 164, 0.25);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(7, 59, 92, 0.06);
    z-index: 2;
}

.custom-product-layout .zoom {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    cursor: pointer;
    display: grid;
    place-items: center;
    color: var(--text);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(6, 43, 73, 0.08);
    z-index: 2;
}

.custom-product-layout .zoom:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    transform: scale(1.08);
}

/* ---- Product Summary Details ---- */
.custom-product-layout .header-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.custom-product-layout .eyebrow {
    display: inline-block;
    background: var(--ice);
    color: var(--blue);
    border: 1px solid rgba(8, 126, 164, 0.2);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.custom-product-layout .status-beacon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid var(--success-border);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 750;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.custom-product-layout .beacon-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
    animation: pulse-beacon 2s infinite;
}

@keyframes pulse-beacon {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.75; }
}

.custom-product-layout .product-title {
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 12px 0 16px;
    color: var(--text);
    font-weight: 800;
}

.custom-product-layout .lead {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.custom-product-layout .meta-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.custom-product-layout .pill {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
}

.custom-product-layout .pill-sku code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12.5px;
    color: var(--blue);
    font-weight: 750;
    letter-spacing: 0.5px;
}

/* ---- WooCommerce Native Price & Cart Form ---- */
.custom-product-layout .wc-native-price {
    margin: 8px 0 16px;
}

.custom-product-layout .wc-native-price .price {
    font-size: 24px;
    font-weight: 800;
    color: var(--blue);
}

.custom-product-layout .woo-native-cart {
    margin: 24px 0 32px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.custom-product-layout .woo-native-cart form.cart {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.custom-product-layout .woo-native-cart form.cart .quantity input.qty {
    width: 68px;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    background: var(--light);
    color: var(--text);
}

.custom-product-layout .woo-native-cart form.cart button.single_add_to_cart_button {
    background-color: var(--blue) !important;
    color: var(--white) !important;
    border: 1px solid var(--blue) !important;
    border-radius: 8px !important;
    padding: 13px 28px !important;
    font-size: 15px !important;
    font-weight: 750 !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 14px rgba(8, 126, 164, 0.3) !important;
}

.custom-product-layout .woo-native-cart form.cart button.single_add_to_cart_button:hover {
    background-color: var(--blue-dark) !important;
    border-color: var(--blue-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(8, 126, 164, 0.4) !important;
}

/* ---- Cleanroom Trust & Credibility Grid ---- */
.custom-product-layout .trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.custom-product-layout .trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.custom-product-layout .trust-item:hover {
    background: var(--ice);
    border-color: rgba(8, 126, 164, 0.3);
    transform: translateY(-2px);
}

.custom-product-layout .trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(8, 126, 164, 0.2);
    display: grid;
    place-items: center;
    color: var(--blue);
    flex-shrink: 0;
}

.custom-product-layout .trust-item b {
    display: block;
    font-size: 13px;
    font-weight: 750;
    color: var(--navy);
    line-height: 1.25;
}

.custom-product-layout .trust-item span {
    font-size: 11.5px;
    color: var(--muted);
    display: block;
    line-height: 1.2;
}

/* ---- Dynamic Feature Strip ---- */
.custom-product-layout .feature-strip {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 20px 0 60px;
    box-shadow: var(--shadow-sm);
}

.custom-product-layout .feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-right: 16px;
    border-right: 1px solid var(--border);
}

.custom-product-layout .feature:last-child {
    border-right: none;
    padding-right: 0;
}

.custom-product-layout .feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--ice);
    border: 1px solid rgba(8, 126, 164, 0.2);
    display: grid;
    place-items: center;
    color: var(--blue);
    font-size: 18px;
    flex-shrink: 0;
}

.custom-product-layout .feature h3 {
    font-size: 14.5px;
    font-weight: 750;
    margin: 0 0 4px;
    color: var(--text);
}

.custom-product-layout .feature p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

/* ---- Modular Sections & Headers ---- */
.custom-product-layout .section {
    padding: 64px 0;
}

.custom-product-layout .alt {
    background: radial-gradient(circle at 50% 10%, rgba(234, 247, 250, 0.7) 0%, #FFFFFF 70%);
}

.custom-product-layout .section-head {
    margin-bottom: 32px;
}

.custom-product-layout .kicker {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 6px;
}

.custom-product-layout .section h2 {
    font-size: clamp(24px, 2.5vw, 34px);
    line-height: 1.2;
    margin: 0 0 12px;
    color: var(--text);
    font-weight: 800;
}

.custom-product-layout .accent {
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 100%);
    border-radius: 3px;
}

/* ---- Long Description & Content Styling (Tables, Lists, Headings) ---- */
.custom-product-layout .product-long-description {
    font-size: 16px;
    color: var(--text);
    line-height: 1.8;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 36px 40px;
    box-shadow: var(--shadow-sm);
}

.custom-product-layout .product-long-description h2 {
    color: var(--navy);
    font-size: 22px;
    font-weight: 800;
    margin-top: 32px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.custom-product-layout .product-long-description h3 {
    color: var(--navy);
    font-size: 18px;
    font-weight: 750;
    margin-top: 24px;
    margin-bottom: 10px;
}

.custom-product-layout .product-long-description h4 {
    color: var(--blue);
    font-size: 15px;
    font-weight: 700;
    margin-top: 18px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-product-layout .product-long-description p {
    color: var(--muted);
    margin-bottom: 16px;
}

/* Lists in Description */
.custom-product-layout .product-long-description ul,
.custom-product-layout .product-long-description ol {
    padding-left: 20px;
    margin: 16px 0 24px 0;
    color: var(--muted);
}

.custom-product-layout .product-long-description li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.custom-product-layout .product-long-description ul li::marker {
    color: var(--blue);
}

/* Description Tables & Size Charts (Cleanroom Precision & Mobile Scroll) */
.custom-product-layout .product-long-description table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 24px 0 32px;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    font-size: 14px;
    display: table;
}

/* Responsive wrapper for wide tables/size charts */
.custom-product-layout .product-long-description figure.wp-block-table,
.custom-product-layout .product-long-description .table-responsive {
    overflow-x: auto;
    margin: 24px 0 32px;
    border-radius: 12px;
    border: 1px solid var(--border);
    -webkit-overflow-scrolling: touch;
}

.custom-product-layout .product-long-description figure.wp-block-table table {
    margin: 0;
    border: none;
    border-radius: 0;
}

.custom-product-layout .product-long-description table th,
.custom-product-layout .product-long-description table td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: left;
    vertical-align: middle;
}

.custom-product-layout .product-long-description table th:last-child,
.custom-product-layout .product-long-description table td:last-child {
    border-right: none;
}

.custom-product-layout .product-long-description table tr:last-child td {
    border-bottom: none;
}

.custom-product-layout .product-long-description table th {
    background: var(--light);
    color: var(--navy);
    font-weight: 750;
    font-family: var(--font-display);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.custom-product-layout .product-long-description table td {
    color: var(--muted);
    font-feature-settings: "tnum" 1;
}

.custom-product-layout .product-long-description table tr:nth-child(even) td {
    background: rgba(234, 247, 250, 0.35);
}

.custom-product-layout .product-long-description table tr:hover td {
    background: var(--ice);
    color: var(--text);
}

/* Blockquotes / Callout Notes */
.custom-product-layout .product-long-description blockquote,
.custom-product-layout .product-long-description .wp-block-quote {
    border-left: 4px solid var(--blue);
    background: var(--ice);
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    margin: 20px 0;
    color: var(--navy);
    font-style: normal;
}


/* ---- Specifications Table ---- */
.custom-product-layout .custom-specs-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.custom-product-layout .custom-specs-wrapper table.woocommerce-product-attributes {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14.5px;
}

.custom-product-layout .custom-specs-wrapper table.woocommerce-product-attributes th,
.custom-product-layout .custom-specs-wrapper table.woocommerce-product-attributes td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.custom-product-layout .custom-specs-wrapper table.woocommerce-product-attributes tr:last-child th,
.custom-product-layout .custom-specs-wrapper table.woocommerce-product-attributes tr:last-child td {
    border-bottom: 0;
}

.custom-product-layout .custom-specs-wrapper table.woocommerce-product-attributes th {
    font-weight: 750;
    width: 32%;
    background: var(--light);
    color: var(--text);
    font-family: var(--font-display);
}

.custom-product-layout .custom-specs-wrapper table.woocommerce-product-attributes td {
    color: var(--muted);
}

.custom-product-layout .custom-specs-wrapper table.woocommerce-product-attributes tr:hover th,
.custom-product-layout .custom-specs-wrapper table.woocommerce-product-attributes tr:hover td {
    background: var(--ice);
}

/* ---- Applications Grid ---- */
.custom-product-layout .apps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.custom-product-layout .app {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 24px;
    background: var(--white);
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-product-layout .app::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
    transition: background 0.2s ease;
}

.custom-product-layout .app:hover {
    transform: translateY(-3px);
    border-color: rgba(8, 126, 164, 0.4);
    box-shadow: var(--shadow-md);
}

.custom-product-layout .app:hover::before {
    background: var(--blue);
}

.custom-product-layout .app .icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--ice);
    display: grid;
    place-items: center;
    font-size: 22px;
    color: var(--blue);
    flex-shrink: 0;
}

.custom-product-layout .app h3 {
    font-size: 15px;
    font-weight: 750;
    margin: 0;
    color: var(--text);
    line-height: 1.4;
}

/* ---- FAQ (Fluid CSS Grid Accordion) ---- */
.custom-product-layout .faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 900px;
}

.custom-product-layout .faq-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.custom-product-layout .faq-item.open {
    border-color: rgba(8, 126, 164, 0.4);
    box-shadow: var(--shadow-md);
}

.custom-product-layout .faq-q {
    width: 100%;
    background: none;
    border: 0;
    text-align: left;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 750;
    font-family: var(--font-display);
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.2s ease;
}

.custom-product-layout .faq-q:hover {
    color: var(--blue);
}

.custom-product-layout .faq-icon {
    font-size: 20px;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
}

.custom-product-layout .faq-a-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-product-layout .faq-item.open .faq-a-wrapper {
    grid-template-rows: 1fr;
}

.custom-product-layout .faq-a-inner {
    overflow: hidden;
}

.custom-product-layout .faq-a-inner p {
    margin: 0;
    padding: 0 24px 22px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ---- Related Products Section ---- */
.custom-product-layout .related-wrapper ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.custom-product-layout .related-wrapper ul.products li.product {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    transition: all 0.25s ease;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-product-layout .related-wrapper ul.products li.product:hover {
    transform: translateY(-4px);
    border-color: rgba(8, 126, 164, 0.4);
    box-shadow: var(--shadow-md);
}

.custom-product-layout .related-wrapper ul.products li.product img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--light);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.custom-product-layout .related-wrapper ul.products li.product:hover img {
    transform: scale(1.04);
}

.custom-product-layout .related-wrapper ul.products li.product h2 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px;
    padding: 0;
    line-height: 1.4;
}

.custom-product-layout .related-wrapper ul.products li.product .price {
    font-size: 15px;
    font-weight: 750;
    color: var(--blue);
    margin-top: auto;
    margin-bottom: 0;
    display: block;
}

/* ---- Global CTA Section ---- */
.custom-product-layout .cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--deep) 100%);
    color: var(--white);
    border-radius: 20px;
    padding: 44px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    margin: 60px auto;
    box-shadow: 0 16px 40px rgba(7, 59, 92, 0.2);
    position: relative;
    overflow: hidden;
}

.custom-product-layout .cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(0, 168, 232, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.custom-product-layout .cta h2 {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 26px;
    font-weight: 800;
}

.custom-product-layout .cta p {
    margin: 0;
    color: var(--border);
    font-size: 15.5px;
    max-width: 600px;
    line-height: 1.6;
}

.custom-product-layout .cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.custom-product-layout .btn {
    border: 0;
    border-radius: 8px;
    padding: 13px 24px;
    font-weight: 750;
    font-size: 14.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.custom-product-layout .btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(8, 126, 164, 0.35);
}

.custom-product-layout .btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(8, 126, 164, 0.45);
}

.custom-product-layout .btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.custom-product-layout .btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

/* ---- Scroll Reveal ---- */
.custom-product-layout .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.custom-product-layout .reveal.show {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    .custom-product-layout .hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .custom-product-layout .gallery-wrapper {
        position: relative;
        top: 0;
    }

    .custom-product-layout .feature-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .custom-product-layout .feature:nth-child(2) {
        border-right: none;
    }

    .custom-product-layout .related-wrapper ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .custom-product-layout .container {
        width: calc(100% - 32px);
    }

    .custom-product-layout .gallery {
        grid-template-columns: 64px 1fr;
        gap: 12px;
    }

    .custom-product-layout .thumb {
        height: 64px;
        width: 64px;
    }

    .custom-product-layout .trust-grid {
        grid-template-columns: 1fr;
    }

    .custom-product-layout .feature-strip {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .custom-product-layout .feature {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-bottom: 16px;
    }

    .custom-product-layout .feature:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .custom-product-layout .cta {
        padding: 32px 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .custom-product-layout .related-wrapper ul.products {
        grid-template-columns: 1fr;
    }

    .custom-product-layout .custom-specs-wrapper table.woocommerce-product-attributes th {
        width: 40%;
        padding: 12px 16px;
    }

    .custom-product-layout .custom-specs-wrapper table.woocommerce-product-attributes td {
        padding: 12px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .custom-product-layout * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
