section#tab-description {
    font-size: 15px;
    line-height: 45px;
}

span.accordion-text {
    font-size: 30px;
}

.product-tabs {
    position: sticky;
    top: 0;
    background: #f5f5f5;
    z-index: 99;
    display: flex;
    gap: 20px;
    padding: 20px 10px 0 0;
    border-bottom: 1px solid #eee;
    justify-content: center;
	z-index: 0;
	transition: top 0.25s ease, opacity 0.25s ease;
}

.tab-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.tab-link.active {
  border-bottom: 2px solid #000;
  font-weight: 600;
}


.spec-row {
  display: flex;
  padding: 10px 16px;
}

/* Label (left side) */
.spec-row span:first-child {
  width: 50%;
  font-weight: 500;
}

/* Value (right side but aligned left) */
.spec-row span:last-child {
  width: 50%;
  text-align: left;
}

.spec-row.odd { background: #fff; }
.spec-row.even { background: #f5f5f5; }




/* Accordion base */
.accordion-content {
  display: none;
  overflow: hidden;
}

/* Active state */
.accordion-item.active .accordion-content {
  display: block;
}



/* Accordion title layout */
.accordion-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
}

/* Icon styling */
.accordion-icon {
  display: flex;
  transition: transform 0.3s ease;
}

/* Rotate when active */
.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}


.accordion-item {
    border: 1px solid;
    border-color: #D5D8DC;
    padding: 10px;
}

/*product tab styling*/

.product-tabs a.tab-link {
    display: inline-block;
    padding-bottom: 12px;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
	font-family: "Rajdhani", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    font-style: normal;
    line-height: 1em;
	cursor: pointer;
	color: #686D77
}

.tab-link.active{
	    display: inline-block;
    padding-bottom: 12px;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
	    font-family: "Rajdhani", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    font-style: normal;
    line-height: 1em;
	cursor: pointer;
	    color: #f4c542 !important;
    border-bottom: 3px solid #f4c542 !important;
}


/* Section title */
.download-section-title {
  font-weight: 600;
  margin: 70px 0 10px;
}

/* List */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Item */
.download-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
}

.download-text {
	color: #686D77;
}
/* Hover */
.download-item:hover {
  background: #f9f9f9;
  border-color: #ddd;
}

/* Icon */
.download-icon img,
.download-icon svg {
  width: 18px;
  height: 18px;
}

/* Text */
.download-text {
  font-size: 14px;
  font-weight: 600;
}


p.download-section-title {
    color: #333;
    font-weight: 700;
    font-size: 30px;
    font-family: 'Rajdhani';
	border-bottom: 1px solid #eaeaea;
	padding-bottom: 10px;
}

.ast-article-single figure,
.ast-article-single img:not(figure img) {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
}

/* If only one spec row exists */
.accordion-content .spec-row:only-child {
  background: #f5f5f5;
}

h2.tech-spec-heading {
    padding-top: 40px;
}

.download-icon img {
	width: 25px;
    filter: invert(44%) sepia(13%) saturate(350%) hue-rotate(183deg) brightness(91%) contrast(88%);
}


.text-section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.text-content {
  line-height: 1.6;
}

.text-tab-section {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 16px;
  background: #fff;
  margin-top: 30px;
}

.text-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.text-content ul li {
  padding: 10px 14px;
}

/* Odd */
.text-content ul li:nth-child(odd) {
  background: #ffffff;
}

/* Even */
.text-content ul li:nth-child(even) {
  background: #f5f5f5;
}

p.accordion-disclaimer {
    margin: 15px 4px 4px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card container */
.category-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: all .25s ease;
}


.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

/* Image wrapper (like astra-shop-thumbnail-wrap) */
.category-image {
  height: 230px;
  /* padding: 15px; */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category-image img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* Title */
.category-card h3 {
  padding: 16px;
  font-size: 16px !important;
  text-align: center;
  margin: 0;
  background-color: #f5f5f5;
}



/*Filter Section*/

.product-layout {
    display: flex;
    gap: 50px;
}

.product-filter {
    width: 27%;
}


.product-filter {
    position: sticky;
    top: 80px; /* adjust based on your header height */
    
    background: #fff;
    border: 1px solid #e9e8e8;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    background-color: #08345B;
	max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.wpc-filter-header .wpc-filter-title button{
	color: white !important;
}

.product-filter h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.product-filter .fe-filter {
  margin-bottom: 20px;
}


/*TABLE*/

.tech-table {
    width: 100%;
    border-collapse: collapse;
}

.tech-table th {
    background: radial-gradient(circle at 50% 0%, #0f1a35 0%, #081124 100%);
    color: #fff;
    padding: 10px;
    font-size: 14px;
}

.tech-table td {
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 13px;
}

.tech-table tr:nth-child(even) {
    background: #f5f5f5;
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
	margin-top: 40px;
}

.tech-table th,
.tech-table td {
    border: 1px solid #e5e5e5;
    padding: 10px;
    text-align: center;
}

.accordion-content {
    overflow-x: auto; /* important for table */
}

.tech-table td[colspan] {
    text-align: center;
    font-weight: 500;
}

a:focus {
    outline: none;
}


.text-content:has(> :only-child:not(ul):not(ol)) {
    background: #f5f5f5;
    padding: 16px;
    border-radius: 8px;
}

.text-content p {
    margin: 0 !important;
}

.text-content {
    margin: 0;
    padding: 0;
}

.text-content p:last-child {
    margin-bottom: 0;
}

.category-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
	width: 100% !important;
	margin: 0 auto;
}

.elementor-widget-shortcode:has(.category-grid) .e-con-inner {
    justify-content: center;
}

/* Tablet */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

.astra-shop-summary-wrap {
    align-items: center;
}

.woocommerce-js ul.products li.product a.ast-loop-product__link {

    text-align: center;
}

/*Custom WooCommerce Gallery*/
/* ── Thumbnail strip ─────────────────────────────── */
.flex-control-thumbs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px;
    overflow: hidden;
}

.flex-control-thumbs li {
    flex: 0 0 auto;
    position: relative;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
}

/* Hide all thumbnails beyond cap — no grid blowout */




/*New Css*/

/* Quantity Wrapper */
.single-product .quantity {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 12px;
    padding: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
	z-index: 0;
}

/* Buttons (+ -) */
.single-product .quantity button,
.single-product .quantity .minus,
.single-product .quantity .plus {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.25s ease;
}


/* Input field */
.single-product .quantity input {
    width: 50px;
    height: 38px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    background: transparent;
    outline: none;
}



.nemaledDownload{
	z-index: -10;
}

p.category-desc {
    color: #828181;
    text-align: center;
    background-color: #f5f5f5;
    margin: 0 !important;
    padding: 0 0 20px 0;
}
svg.e-font-icon-svg.e-fab-linkedin {
    fill: #08345B;
}


/*Mail*/

/* Layout */
.cf7-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

/* Force proper column sizing */
.cf7-col {
    flex: 1 1 50%;
}

.cf7-col.full {
    flex: 1 1 100%;
}

/* Fix CF7 wrapper */
.wpcf7-form-control-wrap {
    width: 100%;
    display: block;
}

.cf7-col select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 24 24' width='20'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;

    padding-right: 40px;
    cursor: pointer;
}

/* Inputs */
.cf7-col input,
.cf7-col select,
.cf7-col textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    transition: 0.3s;
}

.cf7-col textarea {
    height: 140px;
    resize: none;
}

.cf7-col input:focus,
.cf7-col select:focus,
.cf7-col textarea:focus {
    border-color: #000;
    outline: none;
}

/* Button */
input[type="submit"] {
    background: #000;
    color: #fff;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
	width: 29%;
}

input[type="submit"]:hover {
    background: #333;
}

/* Mobile */
@media (max-width: 768px) {
    .cf7-row {
        flex-direction: column;
    }
}

.cf7-col select {
    background-color: #fff !important;
}

.cf7-col select {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;

    /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* Custom arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,<svg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;

    cursor: pointer;
}

.cf7-label {
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wpcf7-list-item {
    margin: 0;
}

.wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 1px dashed #ccc;
    background: #fafafa;
    cursor: pointer;
    border-radius: 6px;
}


@media (max-width: 768px) {

    .product-tabs {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        gap: 10px;
        padding-bottom: 10px;

        /* smooth scroll feel */
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .product-tabs::-webkit-scrollbar {
        display: none; /* hide scrollbar */
    }

    .product-tabs .tab-link {
        flex: 0 0 auto;
        padding: 10px 16px;
        font-size: 14px;
        background: #f5f5f5;
    }

	
	.accordion-item{
		margin: 20px 0;
	}
	
	.product-layout {
	flex-direction: column;
	padding: 20px;
	}
	
	.product-filter{
		padding: 20px;
		position: relative;
		top: 0;
		width: 100%;
	}
	

.wpc-filters-open-button-container a.wpc-open-close-filters-button {

    border: 1px solid #fff !important;
    color: white !important;
	border-radius: 8px !important;
	margin-bottom: 0;
}

a.wpc-open-close-filters-button.wpc-show-counts-yes.wpc-opened{
	margin-bottom: 20px;
}

.wpc-icon-html-wrapper span {
    background: #fff !important;
}
}


@media (min-width: 768px) and (max-width: 1024px){
	
	.nemaFollowBtn span.elementor-button-text{
    text-align: start;
}
.product-filter {
    width: 35%;
	padding: 19px;
}

#products-container {
      padding: 0 15px 0 0;
}

.product-layout {
    gap: 19px;
}

 .product-tabs {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        gap: 10px;
        padding-bottom: 10px;

        /* smooth scroll feel */
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .product-tabs::-webkit-scrollbar {
        display: none; /* hide scrollbar */
    }

    .product-tabs .tab-link {
        flex: 0 0 auto;
        padding: 10px 16px;
        font-size: 14px;
        background: #f5f5f5;
    }
}


.accordion-item {
    margin: 25px 0;
}

/******************************************/




div#nema-variant-images {
    background-color: #fff;
    display: flex;
    flex-direction: row;
	box-shadow: none;
}

img.nema-featured-img {
    width: 100%;
    object-fit: contain;
    height: 100%;
}

.nema-variant-gallery {
    width: 50%;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}



/* =========================
   PRODUCT SERIES LABEL
   Replicates your Elementor text editor styling
========================= */
.nema-product-series-wrapper {
    display: inline-block;
    background-color: #F5BA19;
    padding: 3px 40px 3px 24px;
    -webkit-mask-image: url('https://nemaled.ssquarestech.com/wp-content/plugins/elementor/assets/mask-shapes/parallelogram-right.svg');
    -webkit-mask-size: 123%;
    -webkit-mask-position: bottom left;
    -webkit-mask-repeat: no-repeat;
    max-width: 80%;
}

.nema-product-series-text {
    font-family: "Rajdhani", sans-serif;
    font-size: 24px;
    font-weight: 700;
    font-style: normal;
    color: var(--e-global-color-cb71a98);
    display: block;
}


/* =========================
   FILE DOWNLOAD BUTTONS
   Spec sheet + IES files
========================= */
.nema-file-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #ffffff;
    color: #686D77;
    font-family: "Rajdhani", sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease, transform 0.15s ease;
    letter-spacing: 0.03em;
}


.nema-file-btn:hover svg {
    stroke: #1a1a1a;
}

.nema-file-btn-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nema-file-btn-icon svg {
    stroke: currentColor;
    transition: stroke 0.2s ease;
}

.nema-file-btn-text {
    white-space: nowrap;
}


/**************/






/* Target both the raw select and the Select2 container */
select#nema-variant-switch, 
.woocommerce .select2-container--default .select2-selection--single {
    width: 55% !important;
    height: auto !important;
    margin-top: 3px;
    padding: 12px 15px !important;
    border-radius: 12px !important;
    border: 2px solid #e1e8ed !important; /* Subtle light grey border */
    background-color: #ffffff !important;
    color: #08345B !important; /* Your Brand Dark Blue */
    font-weight: 500;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(8, 52, 91, 0.05); /* Very subtle blue-tinted shadow */
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}

/* Hover State */
select#nema-variant-switch:hover,
.woocommerce .select2-container--default .select2-selection--single:hover {
    border-color: #08345B !important;
    box-shadow: 0 6px 15px rgba(8, 52, 91, 0.1);
}

/* Focus / Active State */
select#nema-variant-switch:focus,
.woocommerce .select2-container--default.select2-container--open .select2-selection--single {
    outline: none !important;
    border-color: #F5BA19 !important; /* Your Brand Gold */
    box-shadow: 0 0 0 4px rgba(245, 186, 25, 0.15); /* Soft gold glow */
}

/* Styling the Arrow (The SVG) */
select#nema-variant-switch, 
.select2-container .select2-selection--single {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2308345B' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 12px !important;
}

/* Adjusting Select2 specific internal height/alignment */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.2 !important;
    color: #08345B !important;
    padding-left: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none !important; /* Hide the default tiny arrow */
}




span.nema-file-btn-icon {
    width: 25px;
    filter: invert(44%) sepia(13%) saturate(350%) hue-rotate(183deg) brightness(91%) contrast(88%);
}

a#nema-spec-sheet-btn,
a#nema-ies-btn {
    border-bottom: 1px solid #f5f5f5;
    border-radius: 0;
    padding: 0 45px 8px 0;
    margin-left: 10px;
}



/* ============================================================
   GALLERY THUMBNAILS
   ============================================================ */

.nema-variant-gallery {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nema-variant-gallery .nema-gallery-thumb {
    position: relative;
    display: block;
    flex: 1 1 auto;
    overflow: hidden;
    border-radius: 4px;
    line-height: 0;
    cursor: pointer;
}

.nema-variant-gallery .nema-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nema-variant-gallery .nema-gallery-thumb.gcap-hidden {
    display: none !important;
}

.nema-variant-gallery .gcap-overlay-thumb::after {
    content: attr(data-remaining);
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    pointer-events: none;
    transition: background 0.2s ease;
}

.nema-variant-gallery .gcap-overlay-thumb:hover::after {
    background: rgba(0, 0, 0, 0.72);
}


/* ============================================================
   LIGHTBOX
   ============================================================ */

#gcap-lightbox {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999 !important;
    background: rgba(10, 10, 10, 0.95) !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-sizing: border-box !important;
}

#gcap-lightbox.gcap-active {
    display: flex !important;
}

/* Main image wrap */
#gcap-lightbox .gcap-lb-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80vw;
    max-height: 65vh;
    overflow: hidden;
}

#gcap-lightbox .gcap-lb-img {
    max-width: 80vw;
    max-height: 65vh;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    transition: opacity 0.15s ease;
	background-color: #fff;
	padding: 20px;
}

/* Counter */
#gcap-lb-counter {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-top: 14px;
    text-align: center;
    width: 100%;
    line-height: 1;
}

/* Prev / Next arrows — div elements */
#gcap-lb-prev,
#gcap-lb-next {
    position: fixed !important;
    top: 50vh !important;
    transform: translateY(-50%) !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 24px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000001 !important;
    user-select: none;
    transition: background 0.2s ease;
    box-sizing: border-box;
    line-height: 1;
}

#gcap-lb-prev { left: 20px; right: auto; }
#gcap-lb-next { right: 20px; left: auto; }

#gcap-lb-prev:hover,
#gcap-lb-next:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Close button — div element */
#gcap-lb-close {
    position: fixed !important;
    top: 20px !important;
    right: 24px !important;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 18px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000001 !important;
    user-select: none;
    transition: background 0.2s ease;
    box-sizing: border-box;
    line-height: 1;
}

#gcap-lb-close:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* Thumbnail strip */
#gcap-lb-thumbs {
    display: flex !important;
    flex-direction: row;
    gap: 8px;
    margin-top: 16px;
    max-width: 80vw;
    overflow-x: auto;
    padding-bottom: 4px;
    justify-content: center;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
    box-sizing: border-box;
}

#gcap-lb-thumbs::-webkit-scrollbar       { height: 3px; }
#gcap-lb-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.25); border-radius: 2px; }

#gcap-lb-thumbs img.gcap-lb-thumb {
    width: 56px !important;
    height: 56px !important;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.38;
    border: 2px solid transparent;
    flex-shrink: 0;
    display: block !important;
    transition: opacity 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
}

#gcap-lb-thumbs img.gcap-lb-thumb:hover          { opacity: 0.78; }
#gcap-lb-thumbs img.gcap-lb-thumb.gcap-lb-thumb-active {
    opacity: 1;
    border-color: #fff;
}

/*Featured Image*/

.nema-variant-featured-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
a#nema-spec-sheet-btn:hover{
	color: #686D77;
}

/* Single thumb — fixed small size, don't stretch */
.nema-variant-gallery:has(.nema-gallery-thumb:only-child) {
    max-height: 100px !important;
    justify-content: flex-start !important;
}

.nema-variant-gallery .nema-gallery-thumb:only-child {
    flex: 0 0 80px !important;
    height: 80px !important;
    max-height: 80px !important;
}

/* No gallery at all — featured takes full width */
.nema-variant-gallery:empty {
    display: none !important;
}